1 2014-07-02 Florian Weimer <fweimer@redhat.com>
4 * locale/findlocale.c (name_present, valid_locale_name): New
6 (_nl_find_locale): Use the loc_name variable to store name
7 candidates. Call name_present and valid_locale_name to check and
8 validate locale names. Return an error if the locale is invalid.
10 2014-07-02 Florian Weimer <fweimer@redhat.com>
12 * locale/setlocale.c (setlocale): Use strdup for allocating
15 2014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
18 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
19 [!_LIBC && ENABLE_NLS]: Include gettext.h.
20 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
22 [USE_UNLOCKED_IO]: Include unlocked-io.h.
23 [!_LIBC]: Include code for Windows and Cygwin.
24 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
25 Include prototype for int strerror_r.
26 [!_LIBC] (is_open): New function.
27 (flush_stdout): New function.
28 (print_errno_message): Use it.
30 (error_at_line): Likewise.
31 (error_tail) Add function attribute macros. Use
34 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
36 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
38 * io/ftw.c: Include sys/param.h unconditionally.
40 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
43 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
45 (freecache): New function to free CACHE on exit.
47 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
50 2014-07-09 David S. Miller <davem@davemloft.net>
52 * sysdeps/sparc/fpu/libm-test-ulps: Update.
54 * sysdeps/sparc/nptl/internaltypes.h: Delete.
55 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
56 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
57 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
58 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
59 * sysdeps/sparc/nptl/sem_init.c: Likewise.
60 * sysdeps/sparc/nptl/sem_post.c: Likewise.
61 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
62 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
63 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
64 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
65 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
66 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
68 2014-07-09 Andreas Schwab <schwab@suse.de>
70 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
72 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
75 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
77 2014-07-09 Will Newton <will.newton@linaro.org>
79 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
80 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
81 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
82 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
83 * sysdeps/hppa/start.S (_start): Likewise.
85 2014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
87 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
89 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
92 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
94 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
95 after checking that it is non-NULL.
97 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
99 2014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
101 * sysdeps/powerpc/memmove.c: Remove file.
102 * sysdeps/powerpc/powerpc32/power4/memcopy.h
103 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
104 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
105 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
106 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
107 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
108 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
109 string memmove instead of removed powerpc one.
111 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
112 [weak_alias]: Fix compiler warning due trailing data.
113 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
114 [weak_alias]: Likewise.
115 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
116 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
118 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
119 (__libc_ifunc_impl_list): Add memmove functions.
121 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
123 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
125 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
127 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
129 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
131 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
133 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
135 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
137 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
139 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
141 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
143 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
145 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
147 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
149 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
151 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
153 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
155 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
158 2014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
160 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
161 to avoid alignment traps in non-cacheable memory.
162 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
164 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
166 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
167 file: multiarch power7 memmove.
168 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
169 multiarch default memmove.
170 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
171 multiarch memove for powerpc32/power4.
173 * string/bcopy.c: Use full path to include memmove.c.
174 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
176 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
178 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
180 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
181 and memmove implementations.
182 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
183 optimized multiarch memmove for POWER7/powerpc64.
184 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
185 default multiarch memmove for powerpc64.
186 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
187 multiarch for powerpc64.
188 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
189 for POWER7/powerpc64.
190 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
191 memmove for POWER7/powerpc64.
193 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
196 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
197 __ELF_NATIVE_CLASS equal to 64.
199 2014-07-07 Roland McGrath <roland@hack.frob.com>
201 * sysdeps/nptl/lowlevellock.h: File removed.
203 * NEWS: NPTL is no longer an add-on!
204 * nptl/internaltypes.h: Moved ...
205 * sysdeps/nptl/internaltypes.h: ... here.
206 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
207 * sysdeps/nptl/fork.c: Likewise.
208 * sysdeps/nptl/gai_misc.h: Likewise.
209 * sysdeps/nptl/librt-cancellation.c: Likewise.
210 * sysdeps/nptl/jmp-unwind.c: Likewise.
211 * sysdeps/nptl/setxid.h: Likewise.
212 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
213 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
214 * sysdeps/unix/sysv/linux/arm/Implies: New file.
215 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
216 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
217 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
218 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
219 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
220 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
221 * sysdeps/unix/sysv/linux/mips/Implies: New file.
222 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
223 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
224 * sysdeps/unix/sysv/linux/sh/Implies: New file.
225 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
226 * sysdeps/unix/sysv/linux/tile/Implies: New file.
227 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
228 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
229 * nptl/Makeconfig: Moved ...
230 * sysdeps/nptl/Makeconfig: ... here.
231 * nptl/configure: File removed.
232 * nptl/ANNOUNCE: File removed.
233 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
234 * sysdeps/unix/sysv/linux/configure: Regenerated.
236 * nptl/Makefile (routines): Add libc_pthread_init,
237 libc_multiple_threads, register-atfork and unregister-atfork.
238 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
239 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
240 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
241 pthread-pi-defines.sym, structsem.sym.
242 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
243 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
244 [$(subdir) = nptl] (tests): Add tst-setgetname.
245 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
246 * sysdeps/unix/sysv/linux/sigaction.c: Just include
247 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
248 [!LIBC_SIGACTION]: Remove aliases.
249 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
250 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
251 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
252 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
253 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
254 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
255 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
256 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
257 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
258 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
259 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
260 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
261 __libc_allocate_rtsig_private.
262 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
263 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
264 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
265 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
266 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
267 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
268 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
269 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
270 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
271 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
272 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
273 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
274 * nptl/internaltypes.h: ... here.
275 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
276 * sysdeps/nptl/jmp-unwind.c: ... here.
277 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
278 * nptl/libc-lowlevellock.c: ... here.
279 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
280 * nptl/libc_multiple_threads.c: ... here.
281 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
282 * nptl/libc_pthread_init.c: ... here.
283 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
284 * nptl/lowlevelbarrier.sym: ... here.
285 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
286 * nptl/lowlevelcond.sym: ... here.
287 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
288 * nptl/lowlevellock.c: ... here.
289 * nptl/lowlevellock.h: Moved ...
290 * sysdeps/nptl/lowlevellock.h: ... here.
291 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
292 * nptl/lowlevelrobustlock.c: ... here.
293 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
294 * nptl/lowlevelrobustlock.sym: ... here.
295 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
296 * nptl/lowlevelrwlock.sym: ... here.
297 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
298 * nptl/pt-fork.c: ... here.
299 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
300 * nptl/pthread-pi-defines.sym: ... here.
301 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
302 * nptl/pthread_attr_getaffinity.c: ... here.
303 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
304 * nptl/pthread_attr_setaffinity.c: ... here.
305 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
306 * nptl/pthread_mutex_cond_lock.c: ... here.
307 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
309 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
310 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
311 * nptl/pthread_once.c: ... here, replacing old file.
312 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
313 * nptl/pthread_yield.c: ... here.
314 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
315 * nptl/register-atfork.c: ... here.
316 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
317 * nptl/sem_post.c: ... here.
318 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
319 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
320 * nptl/sem_timedwait.c: ... here.
321 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
322 * nptl/sem_trywait.c: ... here.
323 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
324 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
325 * nptl/sem_wait.c: ... here.
326 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
327 * nptl/structsem.sym: ... here.
328 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
329 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
330 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
331 * nptl/unregister-atfork.c: ... here.
332 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
333 * nptl/unwindbuf.sym: ... here.
334 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
335 * sysdeps/nptl/fork.c: ... here.
336 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
337 * sysdeps/nptl/fork.h: ... here.
338 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
339 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
340 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
341 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
342 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
343 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
344 * sysdeps/unix/sysv/linux/getpid.c: ... here.
345 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
346 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
347 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
348 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
349 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
350 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
351 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
352 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
353 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
354 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
355 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
356 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
357 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
358 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
359 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
360 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
361 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
362 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
363 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
364 * sysdeps/unix/sysv/linux/raise.c: ... here.
365 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
366 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
367 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
368 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
369 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
370 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
371 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
372 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
373 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
374 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
375 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
376 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
377 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
378 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
379 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
381 2014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
383 * sysdeps/generic/memcopy.h: Add comment for
384 MEMCPY_OK_FOR_FWD_MEMMOVE.
386 2014-07-04 Will Newton <will.newton@linaro.org>
388 * string/memchr.c: Merge from gnulib.
389 [_LIBC]: Remove conditionals.
390 (__ptr_t): Remove define.
391 (LONG_MAX_32_BITS): Likewise.
392 (LONG_MAX): Likewise.
393 (MEMCHR): Use ANSI prototype and optimize algorithm.
395 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
397 2014-07-03 Roland McGrath <roland@hack.frob.com>
399 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
400 (lll_futex_timed_wait_bitset): Fix syscall argument count.
402 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
403 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
404 in a bare environment with no <stdlib.h> installed.
405 * sysdeps/nptl/configure: Regenerated.
407 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
409 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
410 AC_EGREP_CPP for kernel header checks, so they only succeed if
411 including <linux/version.h> actually works right.
412 * sysdeps/unix/sysv/linux/configure: Regenerated.
414 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
415 value so it's not diagnosed as unused.
417 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
418 thing) with "ifeq ($(subdir),rt)".
420 2014-07-03 Richard Henderson <rth@redhat.com>
422 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
423 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
424 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
426 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
427 (math_force_eval): New.
429 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
430 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
432 * sysdeps/alpha/fpu/s_round.c: Remove file.
433 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
435 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
436 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
437 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
438 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
439 (_dl_start, print_statistics): Likewise.
440 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
441 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
443 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
444 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
445 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
446 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
447 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
448 (HP_SMALL_TIMING_AVAIL): Define.
449 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
450 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
451 (HP_SMALL_TIMING_AVAIL): Define.
452 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
453 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
455 * sysdeps/aarch64/hp-timing.h: New file.
457 * sysdeps/generic/hp-timing.h: Remove dead comment.
458 * sysdeps/generic/hp-timing-common.h: New file.
459 * sysdeps/alpha/hp-timing.h: Include it.
460 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
461 * sysdeps/i386/i686/hp-timing.h: Likewise.
462 * sysdeps/ia64/hp-timing.h: Likewise.
463 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
464 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
465 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
466 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
467 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
468 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
471 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
472 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
473 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
474 * elf/rtld.c (_dl_start_final): Likewise.
475 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
476 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
477 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
478 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
479 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
480 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
481 (HP_TIMING_DIFF_INIT): Remove.
482 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
483 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
484 (HP_TIMING_DIFF_INIT): Remove.
485 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
486 * sysdeps/i386/i686/hp-timing.c: Remove file.
487 * sysdeps/x86_64/hp-timing.c: Remove file.
488 * sysdeps/ia64/hp-timing.c: Remove file.
489 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
490 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
491 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
492 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
494 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
495 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
496 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
497 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
498 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
499 (HP_TIMING_ACCUM): Remove.
500 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
501 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
502 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
504 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
505 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
506 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
507 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
508 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
509 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
510 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
511 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
513 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
515 2014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
517 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
519 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
521 Sync up with gettext.
522 * intl/loadmsgcat.c: Define O_BINARY if not defined.
523 [_MSC_VER]: Include malloc.h
524 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
525 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
526 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
527 TEMP_FAILURE_RETRY. Cast return of alloca.
528 [!_LIBC] Call gl_rwlock_init.
529 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
531 2014-07-02 Roland McGrath <roland@hack.frob.com>
533 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
534 before checking its value.
536 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
538 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
540 * debug/memcpy_chk.c: Don't include pagecopy.h.
541 * debug/mempcpy_chk.c: Likewise.
542 * string/memcpy.c: Likewise.
543 * string/memmove.c: Likewise.
544 * sysdeps/powerpc/memmove.c: Likewise.
545 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
546 definition of PAGE_COPY_FWD_MAYBE here...
547 * sysdeps/generic/pagecopy.h: ... from here.
548 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
550 2014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
551 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
553 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
554 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
556 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
557 (__libc_ifunc_impl_list): Likewise.
558 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
559 multiarch strcat for PPC64.
560 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
561 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
563 2014-07-02 Roland McGrath <roland@hack.frob.com>
565 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
567 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
569 * intl/loadmsgcat.c: Remove declaration of
570 get_sysdep_segment_value.
571 (get_sysdep_segment_value): Use ISO C style.
572 (_nl_load_domain): Use ISO C style. Get rid of redundant
573 semicolon. Fix typo and formatting in comment.
574 (_nl_unload_domain): Use ISO C style.
576 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
578 2014-07-02 Will Newton <will.newton@linaro.org>
580 * malloc/obstack.c: Merge from gnulib master.
581 [HAVE_CONFIG_H]: Remove conditional code.
582 [!_LIBC]: Include config.h.
583 [!ELIDE_CODE]: Don't include inttypes.h, include
584 stdint.h unconditionally.
585 (print_and_abort): Mark as _Noreturn.
586 (_obstack_allocated_p): Mark as __attribute_pure__.
587 (obstack_free): Rename to __obstack_free.
588 [!__attribute__]: Remove conditional code.
589 * malloc/obstack.h: Merge from gnulib master.
590 [__cplusplus]: Move conditional down.
591 [!__attribute_pure__]: Define __attribute_pure__ here
592 if it is not already defined.
593 (_obstack_memory_used): Mark as __attribute_pure__.
594 [!__obstack_free]: Define as obstack_free.
595 [__GNUC__]: Remove check for ancient NeXT gcc.
597 2014-07-02 Will Newton <will.newton@linaro.org>
598 Paul Eggert <eggert@cs.ucla.edu>
600 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
602 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
604 * resolv/gethnamaddr.c: Add comment warning that the file is
607 2014-07-01 Carlos O'Donell <carlos@redhat.com>
609 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
612 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
613 entry for aio_cancel and aio_cancel64.
614 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
615 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
616 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
617 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
618 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
619 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
620 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
621 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
622 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
623 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
624 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
625 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
626 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
628 2014-07-01 Roland McGrath <roland@hack.frob.com>
630 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
631 * nptl/pthread_mutex_lock.c: Likewise.
632 * nptl/pthread_mutex_timedlock.c: Likewise.
633 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
635 2014-07-01 Richard henderson <rth@redhat.com>
637 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
638 (__isnan, __isnanl): Remove.
639 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
641 * sysdeps/alpha/fpu/libm-test-ulps: Update.
643 2014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
645 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
647 2014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
649 * resolv/nss_dns/dns-host.c (getanswer_r)
650 [MULTI_PTRS_ARE_ALIASES]: Remove code.
652 2014-07-01 Joseph Myers <joseph@codesourcery.com>
654 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
655 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
657 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
658 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
660 2014-07-01 Roland McGrath <roland@hack.frob.com>
662 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
663 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
665 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
666 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
668 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
669 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
671 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
672 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
674 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
675 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
676 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
677 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
679 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
680 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
681 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
682 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
683 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
685 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
687 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
688 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
689 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
690 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
691 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
692 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
693 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
694 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
695 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
696 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
697 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
698 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
699 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
700 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
701 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
702 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
703 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
704 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
705 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
706 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
708 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
709 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
710 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
711 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
712 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
713 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
714 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
715 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
717 2014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
719 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
720 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
721 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
724 2014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
726 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
728 2014-06-30 Joseph Myers <joseph@codesourcery.com>
730 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
731 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
733 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
735 * sysdeps/arm/libm-test-ulps: Regenerated.
737 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
738 Roland McGrath <roland@hack.frob.com>
740 * test-skeleton.c (signal_handler): Kill the whole process group
741 before killing the child individually.
742 (main): Report any failure on `setpgid'.
744 2014-06-30 Roland McGrath <roland@hack.frob.com>
746 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
747 from _TLS_H to _ARM_NPTL_TLS_H.
748 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
749 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
751 2014-06-30 Joseph Myers <joseph@codesourcery.com>
754 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
755 (__expm1l): Return argument unchanged when small but not
758 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
760 (_FP_UNPACK_RAW_1_P): Likewise.
761 (_FP_PACK_RAW_1): Likewise.
762 (_FP_PACK_RAW_1_P): Likewise.
763 (_FP_MUL_MEAT_1_wide): Likewise.
764 (_FP_MUL_MEAT_DW_1_hard): Likewise.
765 (_FP_MUL_MEAT_1_hard): Likewise.
766 (_FP_DIV_MEAT_1_imm): Likewise.
767 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
768 (_FP_DIV_MEAT_1_udiv): Likewise.
769 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
770 (_FP_UNPACK_RAW_2): Likewise.
771 (_FP_UNPACK_RAW_2_P): Likewise.
772 (_FP_PACK_RAW_2): Likewise.
773 (_FP_PACK_RAW_2_P): Likewise.
774 (_FP_MUL_MEAT_DW_2_wide): Likewise.
775 (_FP_MUL_MEAT_2_wide): Likewise.
776 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
777 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
778 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
779 (_FP_MUL_MEAT_2_gmp): Likewise.
780 (_FP_DIV_MEAT_2_udiv): Likewise.
781 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
782 (_FP_FRAC_SRL_4): Likewise.
783 (_FP_FRAC_SRST_4): Likewise.
784 (_FP_FRAC_SRS_4): Likewise.
785 (_FP_UNPACK_RAW_4): Likewise.
786 (_FP_UNPACK_RAW_4_P): Likewise.
787 (_FP_PACK_RAW_4): Likewise.
788 (_FP_PACK_RAW_4_P): Likewise.
789 (_FP_MUL_MEAT_DW_4_wide): Likewise.
790 (_FP_MUL_MEAT_4_wide): Likewise.
791 (_FP_MUL_MEAT_4_gmp): Likewise.
792 (umul_ppppmnnn): Likewise.
793 (_FP_DIV_MEAT_4_udiv): Likewise.
794 (__FP_FRAC_ADD_4): Likewise.
795 (__FP_FRAC_SUB_3): Likewise.
796 (__FP_FRAC_SUB_4): Likewise.
797 (__FP_FRAC_DEC_3): Likewise.
798 (__FP_FRAC_DEC_4): Likewise.
799 (__FP_FRAC_ADDI_4): Likewise.
800 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
801 (_FP_FRAC_SRL_8): Likewise.
802 (_FP_FRAC_SRS_8): Likewise.
804 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
806 (FP_UNPACK_RAW_EP): Likewise.
807 (FP_PACK_RAW_E): Likewise.
808 (FP_PACK_RAW_EP): Likewise.
809 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
810 (_FP_ISSIGNAN): Likewise.
811 (_FP_ADD_INTERNAL): Likewise.
814 (_FP_SQRT): Likewise.
815 (_FP_TO_INT): Likewise.
816 (_FP_FROM_INT): Likewise.
817 (FP_EXTEND): Likewise.
818 (_FP_DIV_MEAT_N_loop): Likewise.
820 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
822 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
825 2014-06-29 Joseph Myers <joseph@codesourcery.com>
828 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
829 result with correct sign in case of exponents that produce
830 overflow except for X very close to 1.
832 2014-06-28 Paul Eggert <eggert@cs.ucla.edu>
834 mktime: merge #if/#ifdef usage from glibc
835 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
836 as that works with both Glibc's and Gnulib's style.
837 See thread starting at Siddhesh Poyarekar's bug report at:
838 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
840 2014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
842 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
843 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
844 * sysdeps/tile/tilegx/memmove.c: Remove file.
846 2014-06-27 Joseph Myers <joseph@codesourcery.com>
848 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
850 * scripts/soversions.awk: Do not handle or generate ABI lines.
851 * shlib-versions: Remove ABI entries.
852 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
853 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
855 2014-06-27 Roland McGrath <roland@hack.frob.com>
857 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
858 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
859 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
860 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
861 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
862 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
863 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
865 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
867 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
868 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
869 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
870 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
871 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
872 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
873 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
874 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
875 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
876 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
877 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
878 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
879 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
881 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
882 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
883 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
884 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
885 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
886 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
888 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
889 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
891 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
892 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
893 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
894 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
896 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
897 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
898 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
899 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
900 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
901 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
902 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
903 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
905 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
906 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
907 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
908 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
910 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
911 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
913 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
914 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
915 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
916 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
918 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
920 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
921 Identical file removed.
922 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
924 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
925 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
926 Identical file removed.
927 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
928 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
929 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
931 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
932 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
933 Identical file removed.
934 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
935 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
936 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
937 Identical file removed.
938 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
939 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
940 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
941 Identical file removed.
942 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
943 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
944 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
945 Identical file removed.
946 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
948 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
949 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
950 Identical file removed.
951 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
953 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
954 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
955 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
956 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
957 Identical file removed.
958 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
960 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
962 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
963 Identical file removed.
964 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
966 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
967 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
968 Identical file removed.
969 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
971 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
972 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
973 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
974 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
975 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
976 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
978 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
979 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
980 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
982 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
983 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
984 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
985 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
986 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
988 2014-06-27 Arjun Shankar <arjun.is@lostca.se>
991 * nscd/nscd.c (monitor_child): Return exit status of child
992 instead of return value from wait syscall.
994 2014-06-27 Joseph Myers <joseph@codesourcery.com>
996 * configure.ac (libc_commonpagesize): Remove variable.
997 (libc_relro_required): Likewise.
998 (libc_cv_z_relro): Remove configure test.
999 * configure: Regenerated.
1000 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
1002 (libc_relro_required): Likewise.
1003 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
1004 (libc_relro_required): Likewise.
1005 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
1006 (libc_relro_required): Likewise.
1007 * sysdeps/arm/preconfigure: Regenerated.
1008 * sysdeps/ia64/preconfigure: Remove file.
1009 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
1011 (libc_relro_required): Likewise.
1015 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
1016 (__ieee754_yn): Set FE_TONEAREST mode internally and then
1017 recompute overflowing results in original rounding mode.
1018 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
1019 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
1020 recompute overflowing results in original rounding mode.
1021 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
1022 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
1023 recompute overflowing results in original rounding mode.
1024 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
1025 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
1026 recompute overflowing results in original rounding mode.
1027 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
1028 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
1029 recompute overflowing results in original rounding mode.
1030 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
1031 (libc_feholdsetround_ctx): New macro.
1032 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
1033 * sysdeps/i386/fpu/libm-test-ulps: Update.
1034 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
1036 2014-06-26 Joseph Myers <joseph@codesourcery.com>
1038 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
1039 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
1040 corresponding .cpsetup call.
1042 2014-06-26 Roland McGrath <roland@hack.frob.com>
1044 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
1045 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
1046 * sysdeps/arm/Makefile [$(subdir) = csu]
1047 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
1048 (static-only-routines): Add aeabi_read_tp here.
1049 (shared-only-routines): Add libc-aeabi_read_tp here.
1050 (CFLAGS-libc-start.c): Add -fexceptions here.
1051 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
1052 (sysdep_routines, static-only-routines, shared-only-routines):
1053 Don't add to these here.
1054 (CFLAGS-libc-start.c): Likewise.
1056 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
1057 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
1058 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
1059 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
1060 * sysdeps/arm/Makefile [$(subdir) = rt]
1061 (librt-sysdep_routines, librt-shared-only-routines):
1062 Append rt-aeabi_unwind_cpp_pr1 here.
1063 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
1064 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
1065 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
1066 (libpthread-sysdep_routines, libpthread-shared-only-routines):
1067 Append nptl-aeabi_unwind_cpp_pr1 here.
1068 (tests): Filter out tst-cleanupx4 here.
1069 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
1070 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
1071 Don't do those here.
1073 2014-06-26 Joseph Myers <joseph@codesourcery.com>
1075 * scripts/list-sources.sh: Do not handle ports specially.
1077 2014-06-26 Roland McGrath <roland@hack.frob.com>
1079 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
1080 * sysdeps/arm/feupdateenv.c: Likewise.
1082 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
1084 2014-06-26 Joseph Myers <joseph@codesourcery.com>
1086 * manual/texinfo.tex: Update to version 2014-05-05.10 with
1087 trailing whitespace removed.
1088 * scripts/config.guess: Update to version 2014-03-23.
1089 * scripts/config.sub: Update to version 2014-05-01
1090 * scripts/install-sh: Update to version 2013-12-25.23.
1091 * scripts/move-if-change: Update from gnulib.
1093 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1095 * debug/memmove_chk.c: Remove pagecopy.h include.
1097 2014-06-26 Paul Eggert <eggert@cs.ucla.edu>
1099 * time/mktime.c (leapyear): Remove inline keyword. The code is now
1100 identical to gnulib mktime.
1102 2014-06-26 Joseph Myers <joseph@codesourcery.com>
1104 * configure.ac: Do not test for machine being rs6000. Do not test
1106 * configure: Regenerated.
1108 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
1110 * configure: Regenerated.
1111 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
1112 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
1113 Remove configure test.
1114 * sysdeps/arm/configure: Regenerated.
1115 * sysdeps/nptl/configure.ac: Do not check
1116 libc_cv_asm_cfi_directives.
1117 * sysdeps/nptl/configure: Regenerated.
1118 * sysdeps/x86_64/nptl/configure.ac: Remove file.
1119 * sysdeps/x86_64/nptl/configure: Remove generated file.
1120 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
1122 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
1124 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1126 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
1127 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
1128 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
1131 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
1132 instead of whether it is defined.
1133 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
1134 * sysdeps/hppa/dl-machine.h: Likewise.
1135 * sysdeps/ia64/dl-machine.h: Likewise.
1136 * sysdeps/m68k/dl-machine.h: Likewise.
1137 * sysdeps/microblaze/dl-machine.h: Likewise.
1138 * sysdeps/mips/dl-machine.: Likewise.
1139 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
1140 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
1141 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
1142 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
1143 * sysdeps/sh/dl-machine.h: Likewise.
1144 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
1145 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
1146 * sysdeps/tile/dl-machine.h: Likewise.
1147 * sysdeps/x86_64/dl-machine.h: Likewise.
1149 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
1151 (verify_persistent_db): Likewise.
1153 2014-06-26 Roland McGrath <roland@hack.frob.com>
1155 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
1156 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
1157 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
1158 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
1159 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
1161 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
1163 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
1164 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
1165 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
1166 Identical file removed.
1167 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
1168 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
1169 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
1170 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
1171 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
1172 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
1173 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
1174 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
1175 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
1176 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
1177 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
1179 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
1180 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
1181 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
1182 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
1183 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
1184 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
1186 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
1187 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
1188 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
1189 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
1190 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
1191 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
1192 Identical file removed.
1193 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
1194 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
1195 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
1196 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
1197 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
1199 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
1201 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
1202 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
1203 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
1204 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
1205 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
1206 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
1207 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
1208 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
1209 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
1210 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
1211 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
1213 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
1214 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
1216 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
1217 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
1218 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
1219 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
1221 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
1222 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
1223 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
1225 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
1227 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
1228 * sysdeps/unix/sysv/linux/s390/Versions
1229 (libpthread: GLIBC_2.19): New version set.
1230 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
1231 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
1232 (librt: GLIBC_2.3.3): New version set.
1233 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
1234 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
1235 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
1236 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
1237 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
1238 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
1239 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
1240 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
1241 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
1242 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
1243 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
1244 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
1245 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
1246 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
1247 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
1248 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
1249 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
1250 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
1251 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
1252 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
1253 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
1254 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
1255 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
1256 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
1257 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
1258 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
1259 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
1260 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
1261 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
1262 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
1263 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
1264 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
1265 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
1266 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
1267 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
1268 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
1269 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
1270 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
1271 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
1272 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
1273 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
1274 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
1275 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
1276 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
1277 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
1279 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
1280 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
1281 (__libc_vfork): Define the function under this name.
1282 [!NOT_IN_libc] (__vfork): Make this an alias.
1283 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
1284 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
1285 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
1286 (__libc_vfork): Define the function under this name.
1287 [!NOT_IN_libc] (__vfork): Make this an alias.
1288 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
1289 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
1290 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
1291 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
1292 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
1293 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
1295 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
1296 code that was previously under [RESET_PID].
1297 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
1298 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
1299 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
1301 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
1302 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
1303 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
1304 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
1305 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
1306 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
1307 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
1308 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
1309 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
1310 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
1311 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
1313 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
1314 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
1315 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
1316 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
1317 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
1318 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
1319 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
1320 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
1321 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
1322 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
1323 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
1324 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
1325 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
1326 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
1327 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
1328 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
1329 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
1330 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
1331 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
1332 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
1333 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
1334 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
1335 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
1336 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
1337 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
1338 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
1339 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
1340 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
1341 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
1343 2014-06-25 Roland McGrath <roland@hack.frob.com>
1345 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
1346 that was previously under [RESET_PID].
1347 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
1349 2014-06-25 Joseph Myers <joseph@codesourcery.com>
1351 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
1352 not undefine and redefine.
1353 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
1354 [O_CLOEXEC]: Make code unconditional.
1355 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
1356 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
1357 <kernel-features.h>.
1358 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
1359 conditional variable definition.
1360 (shm_open) [O_CLOEXEC]: Make code unconditional.
1361 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
1364 * configure.ac (USE_REGPARMS): Don't define here.
1365 * configure: Regenerated.
1366 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
1367 * sysdeps/i386/configure: Regenerated.
1369 * nptl/createthread.c: Don't include kernel-features.h.
1370 * nptl/pthread_cancel.c: Likewise.
1371 * nptl/pthread_condattr_setclock.c: Likewise.
1372 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
1373 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
1374 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
1375 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
1376 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
1377 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
1378 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
1379 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
1380 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
1381 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
1382 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
1383 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
1384 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
1385 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
1386 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
1387 * nscd/gai.c: Likewise.
1388 * nss/nss_db/db-open.c: Likewise.
1389 * sysdeps/generic/ldsodefs.h: Likewise.
1390 * sysdeps/sh/nptl/tls.h: Likewise.
1391 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
1392 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
1393 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
1394 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
1395 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
1396 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
1397 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
1398 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
1399 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
1400 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
1401 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
1402 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
1403 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
1404 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
1405 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
1406 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
1407 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
1408 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
1409 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
1410 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
1411 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
1412 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
1413 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
1414 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
1415 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
1416 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
1417 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
1418 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
1419 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
1420 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
1421 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
1422 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
1423 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
1424 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
1425 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
1426 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
1427 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
1428 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
1429 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
1430 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
1431 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
1432 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
1433 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
1434 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
1435 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
1436 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
1437 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
1438 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
1439 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
1440 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
1441 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
1442 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
1443 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
1444 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
1445 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
1446 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
1447 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
1448 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
1449 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
1450 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
1451 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
1452 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
1453 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
1454 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
1455 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
1456 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
1457 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
1458 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
1459 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
1460 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
1461 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
1462 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
1463 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
1464 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
1465 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
1466 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
1467 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
1468 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
1469 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
1470 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
1471 * sysdeps/unix/sysv/linux/pread.c: Likewise.
1472 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
1473 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
1474 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
1475 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
1476 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
1477 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
1478 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
1479 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
1480 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
1481 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
1482 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
1483 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
1484 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
1485 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
1486 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
1487 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
1488 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
1489 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
1490 * sysdeps/unix/sysv/linux/system.c: Likewise.
1491 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
1492 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
1493 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
1494 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
1495 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
1496 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
1497 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
1499 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
1500 * configure: Regenerated.
1501 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
1503 * configure.ac (base_machine): Do not set specially for particular
1505 * configure: Regenerated.
1506 * sysdeps/powerpc/preconfigure: Move machine and base_machine
1507 settings from configure.ac.
1508 * sysdeps/i386/preconfigure: New file.
1509 * sysdeps/s390/preconfigure: Likewise.
1510 * sysdeps/sh/preconfigure: Likewise.
1511 * sysdeps/sparc/preconfigure: Likewise.
1513 2014-06-25 Roland McGrath <roland@hack.frob.com>
1515 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
1516 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
1517 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
1518 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
1519 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
1520 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
1521 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
1522 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
1523 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
1524 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
1525 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
1526 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
1527 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
1528 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
1529 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
1530 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
1531 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
1532 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
1533 * sysdeps/sparc/sparc64/Makefile: ... appended here.
1535 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
1536 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
1537 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
1538 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
1539 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
1540 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
1541 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
1542 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
1543 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
1544 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
1545 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
1546 * sysdeps/sparc/sparc32/sem_post.c: ... here.
1547 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
1548 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
1549 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
1550 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
1551 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
1552 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
1553 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
1554 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
1555 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
1556 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
1557 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
1558 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
1559 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
1560 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
1561 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
1562 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
1563 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
1564 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
1565 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
1566 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
1567 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
1568 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
1569 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
1570 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
1571 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
1572 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
1574 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
1575 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
1576 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
1577 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
1578 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
1580 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
1582 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
1583 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
1584 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
1585 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
1586 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
1588 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
1589 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
1590 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
1591 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
1592 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
1593 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
1594 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
1595 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
1597 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
1598 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
1600 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
1601 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
1602 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
1603 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
1605 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
1606 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
1607 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
1608 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
1609 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
1610 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
1611 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
1612 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
1613 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
1614 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
1616 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
1618 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
1619 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
1620 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
1621 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
1622 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
1624 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
1625 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
1626 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
1627 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
1628 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
1629 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
1630 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
1631 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
1633 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
1634 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
1636 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
1637 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
1638 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
1639 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
1641 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
1642 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
1643 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
1644 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
1645 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
1647 2014-06-25 Joseph Myers <joseph@codesourcery.com>
1649 * timezone/checktab.awk: Update from tzcode 2014e.
1650 * timezone/private.h: Likewise.
1651 * timezone/tzfile.h: Likewise.
1652 * timezone/zdump.c: Likewise.
1653 * timezone/zic.c: Likewise.
1655 * sysdeps/unix/sysv/linux/kernel-features.h
1656 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
1657 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
1658 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
1659 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
1660 Remove conditional code.
1662 2014-06-25 Will Newton <will.newton@linaro.org>
1664 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
1665 (_dl_arm_cap_flags): Add HWCAP2 values.
1666 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
1667 (_DL_HWCAP_COUNT): Increase to 37.
1668 (_DL_HWCAP_LAST): New define.
1669 (_DL_HWCAP2_LAST): New define.
1670 (_dl_procinfo): Add support for printing
1672 (_dl_string_hwcap): Use _dl_hwcap_string.
1674 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1676 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1678 2014-06-25 Joseph Myers <joseph@codesourcery.com>
1680 * README: Do not mention ports directory.
1682 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
1684 * sysdeps/unix/sysv/linux/futimes.c: Do not include
1685 <kernel-features.h>.
1686 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
1687 conditional variable definition.
1688 (__futimes): Update comment.
1689 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
1690 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
1693 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
1694 arguments close to 0.
1695 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
1697 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
1699 * math/auto-libm-test-in: Add more tests of exp10.
1700 * math/auto-libm-test-out: Regenerated.
1701 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1703 * sysdeps/unix/sysv/linux/kernel-features.h
1704 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
1705 * sysdeps/unix/sysv/linux/readv.c: Do not include
1706 <kernel-features.h>.
1707 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
1708 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
1709 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
1711 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
1713 * sysdeps/unix/sysv/linux/writev.c: Do not include
1714 <kernel-features.h>.
1715 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
1716 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
1717 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
1719 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
1722 2014-06-25 Will Newton <will.newton@linaro.org>
1724 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
1725 comment changes throughout the file. Remove checks
1726 for HAVE_*_H definitions that are not required.
1727 (__gen_tempname): Call abort if an unknown kind value is
1730 2014-06-25 Andreas Schwab <schwab@suse.de>
1733 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
1734 scalbln, scalblnf, scalblnl in libc.
1736 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
1739 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
1740 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
1741 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
1743 2014-06-24 Roland McGrath <roland@hack.frob.com>
1745 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
1746 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
1747 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
1748 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
1750 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
1751 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
1753 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
1754 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
1755 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
1756 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
1757 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
1758 * sysdeps/x86/bits/pthreadtypes.h: ... here.
1759 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
1760 * sysdeps/x86/bits/semaphore.h: ... here.
1761 * sysdeps/x86/nptl/elide.h: Moved ...
1762 * sysdeps/x86/elide.h: ... here.
1763 * sysdeps/x86_64/nptl/Implies: File removed.
1764 * sysdeps/i386/nptl/Implies: File removed.
1766 2014-06-24 Joseph Myers <joseph@codesourcery.com>
1769 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
1770 return the argument for normal arguments with exponent below -64.
1771 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
1773 * math/auto-libm-test-in: Add another test of expm1.
1774 * math/auto-libm-test-out: Regenerated.
1777 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
1778 calling __erfcl for arguments at least 16.
1779 * math/auto-libm-test-in: Add more tests of erf.
1780 * math/auto-libm-test-out: Regenerated.
1782 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
1783 individual architectures.
1784 * sysdeps/unix/sysv/linux/configure: Regenerated.
1785 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
1786 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
1787 * sysdeps/unix/sysv/linux/powerpc/configure.ac
1788 (ldd_rewrite_script): Define variable.
1789 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
1790 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
1792 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
1794 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
1795 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
1796 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
1797 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
1798 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
1799 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
1800 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
1801 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
1803 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
1806 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
1807 Rename member __data.d to __data.__elision_data.
1809 2014-06-24 Wilco <wdijkstr@arm.com>
1811 * NEWS: Add 16918 to fixed bug list.
1813 2014-06-24 Wilco <wdijkstr@arm.com>
1815 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
1817 2014-06-24 Wilco <wdijkstr@arm.com>
1819 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
1820 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
1821 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
1822 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
1823 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
1824 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
1825 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
1828 2014-06-24 Wilco <wdijkstr@arm.com>
1830 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
1832 2014-06-24 Wilco <wdijkstr@arm.com>
1834 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
1835 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
1836 * sysdeps/arm/fesetround.c (fesetround): Remove space.
1837 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
1839 2014-06-24 Wilco <wdijkstr@arm.com>
1842 * sysdeps/arm/feupdateenv.c (feupdateenv):
1843 Rewrite to reduce FPSCR accesses and fix return value.
1845 2014-06-24 Wilco <wdijkstr@arm.com>
1847 * sysdeps/arm/fclrexcpt.c (feclearexcept):
1848 Optimize to avoid unnecessary FPSCR writes.
1849 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
1850 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
1851 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
1852 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
1854 2014-06-24 Wilco <wdijkstr@arm.com>
1856 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
1857 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
1858 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
1859 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
1860 Call libc_fetestexcept_vfp.
1861 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
1862 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
1863 __SOFTFP__ ifdef so that they can be built for softfp.
1865 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
1867 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
1868 argument type signed char.
1870 * Makerules (check-abi): Dump diff of symlist if the test
1873 2014-06-23 Roland McGrath <roland@hack.frob.com>
1875 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
1878 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
1879 Remove unused variable ST.
1881 2014-06-23 Joseph Myers <joseph@codesourcery.com>
1885 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
1886 small arguments before calling __expm1.
1887 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
1888 small arguments before calling __expm1f.
1889 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
1890 small arguments before calling __expm1l.
1891 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
1893 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
1894 * math/auto-libm-test-in: Add more cosh tests. Do not allow
1895 spurious underflow for some cosh tests.
1896 * math/auto-libm-test-out: Regenerated.
1897 * sysdeps/i386/fpu/libm-test-ulps: Update.
1900 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
1901 (__ieee754_y1): Set errno if return value overflows.
1902 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
1903 (__ieee754_y1f): Set errno if return value overflows.
1904 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
1905 (__ieee754_y1l): Set errno if return value overflows.
1906 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
1907 (__ieee754_y1l): Set errno if return value overflows.
1908 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
1909 * math/auto-libm-test-out: Regenerated.
1911 * math/gen-auto-libm-tests.c: Document use of
1912 ignore-zero-inf-sign.
1913 (input_flag_type): Add value flag_ignore_zero_inf_sign.
1914 (input_flags): Add ignore-zero-inf-sign.
1915 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
1916 * math/gen-libm-test.pl (generate_testfile): Handle
1917 ignore-zero-inf-sign.
1918 * math/auto-libm-test-in: Mark some cpow tests with
1919 ignore-zero-inf-sign and some with xfail-rounding.
1920 * math/auto-libm-test-out: Regenerated.
1921 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
1922 * sysdeps/i386/fpu/libm-test-ulps: Update.
1923 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1926 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
1927 overflowing or underflowing operations take place with sign of
1929 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
1930 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
1931 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
1932 (__ieee754_pow): Recompute overflowing and underflowing results in
1933 original rounding mode.
1934 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
1935 (__powl_helper): Allow negative argument X and scale negated value
1936 as needed. Avoid passing value outside [-1, 1] to f2xm1.
1937 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
1938 overflowing or underflowing operations take place with sign of
1940 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
1942 * math/auto-libm-test-in: Add more tests of pow.
1943 * math/auto-libm-test-out: Regenerated.
1944 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
1945 (pow_tonearest_test_data): Remove.
1946 (pow_test_tonearest): Likewise.
1947 (pow_towardzero_test_data): Likewise.
1948 (pow_test_towardzero): Likewise.
1949 (pow_downward_test_data): Likewise.
1950 (pow_test_downward): Likewise.
1951 (pow_upward_test_data): Likewise.
1952 (pow_test_upward): Likewise.
1953 (main): Don't call removed functions.
1954 * sysdeps/i386/fpu/libm-test-ulps: Update.
1955 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1957 2014-06-23 Roland McGrath <roland@hack.frob.com>
1959 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
1961 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
1962 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1964 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
1965 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
1967 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
1968 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
1970 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
1971 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
1973 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
1975 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
1977 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
1979 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
1981 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
1983 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
1985 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
1987 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
1989 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
1991 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
1993 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
1995 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
1997 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
1998 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
2000 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
2002 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
2004 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
2005 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
2007 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
2008 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
2010 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
2011 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
2013 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
2014 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
2016 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
2017 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
2019 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
2020 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
2022 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
2023 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
2024 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
2026 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
2028 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
2029 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
2031 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
2033 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
2035 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2037 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
2039 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
2041 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
2043 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
2044 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
2046 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
2047 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
2048 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
2049 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
2051 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
2053 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
2055 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
2057 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
2059 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
2060 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
2062 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
2063 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
2065 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
2066 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2068 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
2069 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
2071 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
2073 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
2075 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
2076 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
2078 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
2079 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
2081 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
2082 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
2084 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
2085 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
2086 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
2087 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
2089 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
2090 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
2092 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
2093 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
2095 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
2097 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
2099 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
2101 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
2103 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
2105 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
2107 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
2108 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
2110 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
2111 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
2113 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
2114 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
2116 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
2118 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
2120 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
2122 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
2124 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
2126 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
2128 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
2129 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
2131 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
2133 2014-06-23 Will Newton <will.newton@linaro.org>
2134 Wilco <wdijkstr@arm.com>
2136 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
2137 implementation. Include get-rounding-mode.h.
2138 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
2139 [!libc_feholdsetround_noex_ctx]: Define
2140 libc_feholdsetround_noex_ctx.
2141 [!libc_feholdsetround_noexf_ctx]: Define
2142 libc_feholdsetround_noexf_ctx.
2143 [!libc_feholdsetround_noexl_ctx]: Define
2144 libc_feholdsetround_noexl_ctx.
2145 (libc_feholdsetround_ctx): New function.
2146 (libc_feresetround_ctx): New function.
2147 (libc_feholdsetround_noex_ctx): New function.
2148 (libc_feresetround_noex_ctx): New function.
2150 2014-06-23 Roland McGrath <roland@hack.frob.com>
2152 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
2153 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
2154 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
2155 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
2156 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
2157 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
2159 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
2160 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
2161 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
2162 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
2163 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
2164 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
2165 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
2166 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
2167 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
2168 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
2169 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
2171 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
2173 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
2174 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
2175 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
2176 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
2177 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
2179 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
2180 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
2181 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
2182 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
2183 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
2184 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
2185 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
2186 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
2188 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
2189 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
2191 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
2192 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
2193 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
2194 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
2196 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
2197 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
2198 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
2199 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
2200 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
2201 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
2202 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
2203 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
2204 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
2205 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
2207 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
2209 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
2210 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
2211 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
2212 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
2213 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
2214 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
2215 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
2216 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
2217 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
2218 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
2219 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
2220 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
2221 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
2223 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
2224 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
2225 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
2226 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
2227 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
2228 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
2230 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
2231 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
2232 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
2233 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
2234 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
2236 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
2237 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
2238 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
2239 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
2240 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
2241 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
2242 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
2243 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
2244 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
2245 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
2246 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
2247 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
2248 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
2249 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
2250 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
2251 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
2252 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
2253 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
2254 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
2255 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
2256 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
2257 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
2258 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
2259 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
2260 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
2261 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
2262 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
2263 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
2265 2014-06-23 Joseph Myers <joseph@codesourcery.com>
2267 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
2268 (FALLOC_FL_COLLAPSE_RANGE): New macro.
2269 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
2270 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
2271 (IPV6_PMTUDISC_INTERFACE): Likewise.
2272 (IPV6_PMTUDISC_OMIT): Likewise.
2274 2014-06-23 Andreas Schwab <schwab@suse.de>
2276 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
2277 Remove unused errout label.
2279 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2281 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
2282 macro: hardware supports Vector Crypto instructions.
2284 2014-06-23 Will Newton <will.newton@linaro.org>
2286 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
2287 rather than __builtin_expect.
2289 * elf/dl-lookup.c (undefined_msg): Remove variable.
2290 (_dl_lookup_symbol_x): Replace undefined_msg with string
2293 * elf/dl-lookup.c (do_lookup_unique): New function.
2294 (do_lookup_x): Move STB_GNU_UNIQUE handling code
2295 to a separate function.
2297 2014-06-23 Andreas Schwab <schwab@suse.de>
2300 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
2301 before reading the next line.
2303 2014-06-23 Will Newton <will.newton@linaro.org>
2305 * test-skeleton.c (signal_handler): Use printf and %m
2306 rather than perror. Use printf rather than fprintf to
2307 stderr. Use puts rather than fputs to stderr.
2310 2014-06-22 Ludovic Courtès <ludo@gnu.org>
2312 * nscd/nscd.c (thread_info_t): Remove typedef.
2313 (thread_info): Remove variable.
2315 2014-06-21 Allan McRae <allan@archlinux.org>
2317 * NEWS: Mention CVE-2014-4043.
2319 2014-06-20 Roland McGrath <roland@hack.frob.com>
2321 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
2322 * nptl/smp.h: ... here.
2324 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
2326 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
2327 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
2328 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
2329 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
2331 * nptl/allocatestack.c: Include <stack-aliasing.h>.
2332 * nptl/stack-aliasing.h: New file.
2333 * sysdeps/i386/i686/stack-aliasing.h: New file.
2334 * sysdeps/i386/i686/nptl/Makefile: File removed.
2335 * sysdeps/x86_64/stack-aliasing.h: New file.
2336 * sysdeps/x86_64/nptl/Makefile
2337 (CFLAGS-pthread_create.c): Variable removed.
2339 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
2340 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
2342 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
2343 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
2346 2014-06-21 Joseph Myers <joseph@codesourcery.com>
2348 * sysdeps/unix/sysv/linux/arm/kernel-features.h
2349 (__ASSUME_SIGFRAME_V2): Remove macro.
2350 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
2351 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
2352 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
2353 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
2354 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
2355 Declare as function. Remove conditional macro definitions.
2356 (__default_rt_sa_restorer): Likewise.
2357 (__default_sa_restorer_v1): Remove declaration.
2358 (__default_sa_restorer_v2): Likewise.
2359 (__default_rt_sa_restorer_v1): Likewise.
2360 (__default_rt_sa_restorer_v2): Likewise.
2361 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
2362 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
2363 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
2365 2014-06-20 Roland McGrath <roland@hack.frob.com>
2367 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
2368 (libpthread-routines): Add sysdep.
2369 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
2370 * sysdeps/unix/sysv/linux/sparc/Versions
2371 (libpthread: GLIBC_2.3.3): New version set.
2372 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
2373 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
2374 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
2375 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
2376 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
2377 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
2379 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
2380 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
2381 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
2382 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
2383 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
2384 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
2385 * sysdeps/sparc/nptl/sem_init.c: ... here.
2386 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
2387 * sysdeps/sparc/nptl/sem_post.c: ... here.
2388 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
2389 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
2390 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
2391 * sysdeps/sparc/nptl/sem_wait.c: ... here.
2392 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
2393 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
2394 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
2395 (libpthread-routines): Add cpu_relax.
2396 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
2398 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
2399 (librt: GLIBC_2.3.3): New version set.
2400 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
2401 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
2402 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
2403 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
2404 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
2405 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
2406 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
2407 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
2409 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
2410 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
2411 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
2412 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
2413 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
2414 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
2415 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
2416 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
2417 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
2418 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
2420 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
2422 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
2424 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
2426 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
2428 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
2430 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
2432 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
2434 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
2436 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
2438 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
2440 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
2442 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
2443 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
2444 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
2445 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
2446 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
2447 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
2448 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
2449 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
2450 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
2451 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
2452 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
2454 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
2455 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
2456 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
2457 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
2458 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
2460 2014-06-20 Joseph Myers <joseph@codesourcery.com>
2462 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
2463 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
2464 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
2465 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
2466 * nscd/nscd.c: Likewise.
2467 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
2468 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
2469 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
2470 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
2472 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
2473 <kernel-features.h>.
2474 (init_mq_netlink): Remove conditional have_sock_cloexec
2475 definitions. Remove code conditional on have_sock_cloexec < 0.
2476 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
2477 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
2478 * sysdeps/unix/sysv/linux/opensock.c: Do not include
2479 <kernel-features.h>.
2480 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
2481 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
2483 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
2485 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
2486 Add tests for memset_chk and memset.
2488 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
2491 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
2494 * elf/tst-dl-iter-static.c: New file.
2495 * elf/Makefile (tests-static): Add tst-dl-iter-static.
2497 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
2500 2014-06-20 Joseph Myers <joseph@codesourcery.com>
2502 * sysdeps/unix/sysv/linux/kernel-features.h
2503 (__ASSUME_F_GETOWN_EX): Remove macro.
2504 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
2505 <kernel-features.h>.
2506 (miss_F_GETOWN_EX): Remove variable or macro.
2507 (do_fcntl): Do not check miss_F_GETOWN_EX.
2508 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
2510 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
2512 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
2513 [!__ASSUME_AT_RANDOM]: Remove conditional code.
2514 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
2516 * sysdeps/unix/sysv/linux/kernel-features.h
2517 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
2518 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
2519 [ADJ_OFFSET_SS_READ]: Make code unconditional.
2520 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
2522 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
2525 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
2526 Fix calculation of the symbol's value.
2527 * sysdeps/arm/tst-armtlsdescloc.c: New file.
2528 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
2529 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
2530 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
2531 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
2532 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
2533 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
2534 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
2535 (modules-names): Add `tst-armtlsdescmod',
2536 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
2537 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
2538 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
2539 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
2540 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
2541 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
2542 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
2543 ($(objpfx)tst-armtlsdescloc): New dependency.
2544 ($(objpfx)tst-armtlsdescextnow): Likewise.
2545 ($(objpfx)tst-armtlsdescextlazy): Likewise.
2546 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
2548 * sysdeps/arm/configure: Regenerate.
2550 2014-06-20 Joseph Myers <joseph@codesourcery.com>
2552 * include/fcntl.h (__atfct_seterrno): Remove prototype.
2553 (__atfct_seterrno_2): Likewise.
2554 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
2555 <kernel-features.h>.
2556 (__ASSUME_ATFCTS): Do not undefine and redefine.
2557 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
2558 (__have_atfcts): Remove conditional definition.
2559 (__fxstatat([__NR_fstatat64]: Make code unconditional.
2560 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
2561 unreachable if [__ASSUME_ATFCTS].
2562 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
2563 not undefine and redefine.
2564 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
2565 <kernel-features.h>.
2566 (faccessat) [__NR_faccessat]: Make code unconditional.
2567 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
2568 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
2569 <kernel-features.h>.
2570 (fchmodat) [__NR_fchmodat]: Make code unconditional.
2571 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
2572 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
2573 <kernel-features.h>.
2574 (fchownat) [__NR_fchownat]: Make code unconditional.
2575 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
2576 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
2577 <kernel-features.h>.
2578 (futimesat) [__NR_futimesat]: Make code unconditional.
2579 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
2580 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
2581 <kernel-features.h>.
2582 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
2583 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
2584 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
2585 <kernel-features.h>.
2586 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
2587 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
2588 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
2589 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
2590 <kernel-features.h>.
2591 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
2592 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
2593 * sysdeps/unix/sysv/linux/linkat.c: Do not include
2594 <kernel-features.h>.
2595 (linkat) [__NR_linkat]: Make code unconditional.
2596 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
2597 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
2598 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
2599 <kernel-features.h>.
2600 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
2601 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
2602 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
2603 <kernel-features.h>.
2604 (mkdirat) [__NR_mkdirat]: Make code unconditional.
2605 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
2606 * sysdeps/unix/sysv/linux/openat.c: Do not include
2607 <kernel-features.h>.
2608 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
2609 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
2610 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
2611 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
2612 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
2613 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
2614 <kernel-features.h>.
2615 (readlinkat) [__NR_readlinkat]: Make code unconditional.
2616 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
2617 result of INLINE_SYSCALL directly, not via int variable.
2618 * sysdeps/unix/sysv/linux/renameat.c: Do not include
2619 <kernel-features.h>.
2620 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
2621 (renameat) [__NR_renameat]: Make code unconditional.
2622 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
2623 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
2624 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
2625 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
2626 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
2627 (__ASSUME_ATFCTS): Do not undefine and redefine.
2628 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
2629 <kernel-features.h>.
2630 (symlinkat) [__NR_symlinkat]: Make code unconditional.
2631 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
2632 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
2633 <kernel-features.h>.
2634 (unlinkat) [__NR_unlinkat]: Make code unconditional.
2635 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
2636 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
2637 (__ASSUME_ATFCTS): Do not undefine and redefine.
2638 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
2639 <kernel-features.h>.
2640 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
2641 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
2642 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
2643 <kernel-features.h>.
2644 (__xmknodat) [__NR_mknodat]: Make code unconditional.
2645 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
2647 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
2649 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
2651 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
2654 * posix/regcomp.c (parse_reg_exp): Deallocate partially
2655 constructed tree before returning error.
2656 * posix/bug-regexp36.c: Expand test case.
2658 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
2661 * math/libm-test.inc (scalbln_test_date):
2662 Add errno expectations.
2663 * math/w_scalblnf.c: New File.
2664 Add wrapper which checks for setting errno to ERANGE.
2665 Add weak_alias for corresponding scalbln function.
2666 * math/w_scalbln.c: Likewise.
2667 * math/w_scalblnl.c: Likewise.
2668 * math/Makefile (libm-calls): Add w_scalbln.
2669 * sysdeps/ieee754/flt-32/s_scalblnf.c:
2670 Remove weak_alias for corresponding scalbln function.
2671 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
2672 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
2673 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
2674 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
2675 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
2676 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
2677 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
2678 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
2679 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
2680 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
2681 Remove long_double_symbol for scalblnl function in libm, libc.
2682 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
2683 Add wrapper which checks for setting errno to ERANGE.
2684 Add long_double_symbol for scalblnl function in libm, libc.
2685 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
2686 Remove long_double_symbol for scalblnl in libm.
2687 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
2688 Add wrapper which checks for setting errno to ERANGE.
2689 Add long_double_symbol for scalblnl function in libm.
2690 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
2691 Do not use wrapper because of own implementation.
2693 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
2695 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
2696 3 bytes for __pad1 for x32.
2697 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
2699 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
2700 H.J. Lu <hongjiu.lu@intel.com>
2702 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
2703 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
2704 * sysdeps/x86_64/multiarch/memset.S: Likewise.
2705 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
2706 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
2708 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
2711 * posix/regcomp.c (parse_expression): Deallocate partially
2712 constructed tree before returning error.
2713 * posix/Makefile.c (tests): Add bug-regex36.
2714 (generated): Add bug-regex36.mtrace.
2715 (tests-special): Add $(objpfx)bug-regex36-mem.out
2716 (bug-regex36-ENV): New variable.
2717 ($(objpfx)bug-regex36-mem.out): New rule.
2718 * posix/bug-regex36.c: New file.
2720 2014-06-19 Will Newton <will.newton@linaro.org>
2722 * malloc/malloc.c (systrim): If extra is zero then return
2725 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
2727 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
2729 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
2731 * sysdeps/aarch64/strchr.S: New file.
2733 2014-06-18 Joseph Myers <joseph@codesourcery.com>
2736 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
2737 from arguments -2 or below.
2738 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
2739 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
2741 2014-06-18 Andreas Schwab <schwab@suse.de>
2744 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
2745 of a bracket expr not to run off the end of the string.
2746 * posix/Makefile (tests): Add tst-fnmatch3.
2747 * posix/tst-fnmatch3.c: New file.
2749 2014-06-18 Joseph Myers <joseph@codesourcery.com>
2751 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
2752 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
2753 [$(cross-compiling) = no]: Likewise.
2754 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
2755 [$(cross-compiling) = no]: Likewise.
2757 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2760 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
2761 double, adjusted for any remainder from the high double.
2762 * math/libm-test.inc (nearbyint): Add tests.
2765 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2767 * nptl/sysdeps/powerpc/Makefile: Moved ...
2768 * sysdeps/powerpc/nptl/Makefile: ... here.
2769 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
2770 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
2771 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
2772 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
2773 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
2774 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
2775 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
2776 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
2777 * nptl/sysdeps/powerpc/tls.h: Moved ...
2778 * sysdeps/powerpc/nptl/tls.h: ... here.
2780 2014-06-16 Joseph Myers <joseph@codesourcery.com>
2783 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
2784 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
2785 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
2786 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
2787 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
2788 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
2789 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
2790 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
2791 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
2793 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
2795 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
2797 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
2799 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
2802 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
2805 2014-06-16 Florian Weimer <fweimer@redhat.com>
2808 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
2809 non-executed part of the test.
2811 2014-06-16 Andreas Schwab <schwab@suse.de>
2813 * string/bits/string2.h (strdup, strndup): Update feature guard.
2815 2014-06-14 David S. Miller <davem@davemloft.net>
2817 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2819 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
2821 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
2822 that was previously under [RESET_PID].
2823 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
2825 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
2826 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
2827 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
2828 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
2829 (__libc_vfork): New strong alias.
2830 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
2832 2014-06-14 Andi Kleen <ak@linux.intel.com>
2834 * sysdeps/generic/elide.h: New file.
2836 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
2838 * Makefile (installed-headers): Adjust path of pthread.h header.
2840 2014-06-13 Roland McGrath <roland@hack.frob.com>
2842 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
2843 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
2844 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
2845 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
2847 * nptl/sysdeps/s390/Makefile: Moved ...
2848 * sysdeps/s390/nptl/Makefile: ... here.
2849 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
2850 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
2851 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
2852 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
2853 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
2854 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
2855 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
2856 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
2857 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
2858 * sysdeps/s390/nptl/pthreaddef.h: ... here.
2859 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
2860 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
2861 * nptl/sysdeps/s390/tls.h: Moved ...
2862 * sysdeps/s390/nptl/tls.h: ... here.
2864 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
2865 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
2867 2014-06-13 David S. Miller <davem@davemloft.net>
2869 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
2870 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
2871 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
2872 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
2873 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
2874 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
2875 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
2876 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
2877 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
2878 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
2879 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
2880 Remove RESET_PID cpp guards.
2881 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
2882 Remove RESET_PID cpp guards.
2883 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
2885 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
2887 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
2890 2014-06-13 Andi Kleen <ak@linux.intel.com>
2892 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
2893 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
2894 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
2895 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
2896 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
2897 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
2898 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
2899 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
2900 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
2901 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
2902 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
2903 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
2904 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
2905 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
2906 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
2907 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
2908 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
2909 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
2910 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
2911 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
2913 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
2914 (pthread_rwlock_rdlock): Add elision.
2915 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
2916 (pthread_rwlock_wrlock): Add elision.
2917 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
2918 (pthread_rwlock_trywrlock): Add elision.
2919 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
2920 (pthread_rwlock_tryrdlock): Add elision.
2921 * nptl/pthread_rwlock_unlock.c: Include elide.h.
2922 (pthread_rwlock_tryrdlock): Add elision unlock.
2923 * nptl/sysdeps/pthread/pthread.h:
2924 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
2925 (PTHREAD_RWLOCK_INITIALIZER,
2926 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
2927 Handle new elision field.
2928 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
2929 * sysdeps/arm/nptl/bits/pthreadtypes.h
2930 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2931 * sysdeps/sh/nptl/bits/pthreadtypes.h
2932 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2933 * sysdeps/tile/nptl/bits/pthreadtypes.h
2934 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2935 * sysdeps/a/nptl/bits/pthreadtypes.h
2936 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2937 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
2938 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2939 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
2940 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2941 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
2942 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2943 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
2944 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2945 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
2946 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2947 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
2948 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2949 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
2950 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2951 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
2952 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2953 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
2954 (elision_init): Set try_xbegin to zero when no RTM.
2955 * sysdeps/x86/nptl/bits/pthreadtypes.h
2956 (pthread_rwlock_t): Change __pad1 to __rwelision.
2957 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2959 2014-06-13 Andi Kleen <ak@linux.intel.com>
2961 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
2962 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
2963 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
2964 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
2966 2014-06-13 Meador Inge <meadori@codesourcery.com>
2969 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
2970 that the cached result has been set before returning it.
2972 2014-06-12 Roland McGrath <roland@hack.frob.com>
2974 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
2975 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
2976 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
2977 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
2978 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
2979 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
2981 * nptl/sysdeps/sparc/Makefile: Moved ...
2982 * sysdeps/sparc/nptl/Makefile: ... here.
2983 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
2984 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
2985 * nptl/sysdeps/sparc/tls.h: Moved ...
2986 * sysdeps/sparc/nptl/tls.h: ... here.
2987 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
2988 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
2989 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
2990 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
2991 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
2992 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
2993 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
2994 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
2995 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
2996 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
2997 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
2998 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
2999 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
3000 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
3001 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
3002 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
3003 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
3004 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
3006 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
3007 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
3009 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
3010 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
3012 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
3013 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
3016 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
3018 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
3019 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
3021 * sysdeps/pthread/posix-timer.h: Include <list.h>.
3022 (struct list_links): Type removed.
3023 (struct thread_node, struct timer_node): Replace struct list_links
3024 with struct list_head.
3025 (list_unlink_ip): Likewise.
3026 * sysdeps/pthread/timer_routines.c
3027 (timer_free_list, thread_free_list, thread_active_list): Likewise.
3028 (list_append, list_insbefore): Likewise.
3029 (list_init): Function removed.
3030 (thread_init, init_module): Use INIT_LIST_HEAD instead.
3031 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
3032 * sysdeps/pthread/Makefile: ... here, new file.
3034 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
3035 * sysdeps/nptl/Implies: ... here.
3036 * sysdeps/unix/sysv/linux/Implies: Add nptl.
3037 * nptl/sysdeps/pthread/list.h: Moved ...
3038 * include/list.h: ... here.
3039 * nptl/sysdeps/pthread/createthread.c: Moved ...
3040 * nptl/createthread.c: ... here.
3041 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
3042 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
3043 * nptl/pt-longjmp.c: ... here.
3044 * nptl/sysdeps/pthread/Makefile: Moved ...
3045 * sysdeps/nptl/Makefile: ... here.
3046 * nptl/sysdeps/pthread/Subdirs: Moved ...
3047 * sysdeps/nptl/Subdirs: ... here.
3048 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
3049 * sysdeps/nptl/aio_misc.h: ... here.
3050 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
3051 * sysdeps/nptl/bits/libc-lock.h: ... here.
3052 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
3053 * sysdeps/nptl/bits/libc-lockP.h: ... here.
3054 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
3055 * sysdeps/nptl/bits/stdio-lock.h: ... here.
3056 * nptl/sysdeps/pthread/configure: Moved ...
3057 * sysdeps/nptl/configure: ... here.
3058 * nptl/sysdeps/pthread/configure.ac: Moved ...
3059 * sysdeps/nptl/configure.ac: ... here.
3060 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
3061 * sysdeps/nptl/gai_misc.h: ... here.
3062 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
3063 * sysdeps/nptl/librt-cancellation.c: ... here.
3064 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
3065 * sysdeps/nptl/malloc-machine.h: ... here.
3066 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
3067 * sysdeps/nptl/pthread-functions.h: ... here.
3068 * nptl/sysdeps/pthread/pthread.h: Moved ...
3069 * sysdeps/nptl/pthread.h: ... here.
3070 * nptl/sysdeps/pthread/setxid.h: Moved ...
3071 * sysdeps/nptl/setxid.h: ... here.
3072 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
3073 * sysdeps/nptl/sigfillset.c: ... here.
3074 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
3075 * sysdeps/nptl/tcb-offsets.h: ... here.
3076 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
3077 * sysdeps/nptl/tst-mqueue8x.c: ... here.
3078 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
3079 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
3080 * nptl/sysdeps/pthread/allocalim.h: Moved ...
3081 * sysdeps/pthread/allocalim.h: ... here.
3082 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
3083 * sysdeps/pthread/bits/sigthread.h: ... here.
3084 * nptl/sysdeps/pthread/flockfile.c: Moved ...
3085 * sysdeps/pthread/flockfile.c: ... here.
3086 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
3087 * sysdeps/pthread/ftrylockfile.c: ... here.
3088 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
3089 * sysdeps/pthread/funlockfile.c: ... here.
3090 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
3091 * sysdeps/pthread/posix-timer.h: ... here.
3092 * nptl/sysdeps/pthread/timer_create.c: Moved ...
3093 * sysdeps/pthread/timer_create.c: ... here.
3094 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
3095 * sysdeps/pthread/timer_delete.c: ... here.
3096 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
3097 * sysdeps/pthread/timer_getoverr.c: ... here.
3098 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
3099 * sysdeps/pthread/timer_gettime.c: ... here.
3100 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
3101 * sysdeps/pthread/timer_routines.c: ... here.
3102 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
3103 * sysdeps/pthread/timer_settime.c: ... here.
3104 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
3105 * sysdeps/pthread/tst-timer.c: ... here.
3106 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
3107 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
3109 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
3110 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
3112 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
3113 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
3114 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
3115 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
3116 Update #include target.
3117 * nptl/sysdeps/i386/i686/Makefile: Moved ...
3118 * sysdeps/i386/i686/nptl/Makefile: ... here.
3119 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
3120 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
3121 Update #include target.
3122 * nptl/sysdeps/i386/i686/tls.h: Moved ...
3123 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
3124 * nptl/sysdeps/i386/Makefile: Moved ...
3125 * sysdeps/i386/nptl/Makefile: ... here.
3126 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
3127 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
3128 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
3129 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
3130 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
3131 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
3132 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
3133 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
3134 * sysdeps/i386/nptl/pthreaddef.h: ... here.
3135 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
3136 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
3137 * nptl/sysdeps/i386/tls.h: Moved ...
3138 * sysdeps/i386/nptl/tls.h: ... here.
3140 * sysdeps/sh/Makefile [$(subdir) = csu]
3141 (gen-as-const-headers): Add tcb-offsets.sym.
3142 * nptl/sysdeps/sh/Makefile: File removed.
3143 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
3144 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
3145 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
3146 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
3147 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
3148 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
3149 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
3150 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
3151 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
3152 * sysdeps/sh/nptl/pthreaddef.h: ... here.
3153 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
3154 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
3155 * nptl/sysdeps/sh/tls.h: Moved ...
3156 * sysdeps/sh/nptl/tls.h: ... here.
3157 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
3158 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
3159 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
3160 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
3161 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
3162 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
3163 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
3164 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
3165 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
3166 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
3167 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
3168 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
3169 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
3170 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
3171 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
3172 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
3173 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
3174 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
3175 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
3176 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
3177 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
3178 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
3179 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
3180 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
3181 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
3183 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
3184 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
3186 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
3187 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
3188 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
3189 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
3190 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
3191 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
3192 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
3193 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
3194 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
3195 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
3196 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
3197 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
3198 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
3199 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
3200 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
3201 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
3202 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
3203 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
3204 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
3206 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
3208 * posix/spawn_faction_addopen.c: Include string.h.
3210 2014-06-11 Roland McGrath <roland@hack.frob.com>
3212 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
3213 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
3214 * nptl/sysdeps/x86_64/Makefile: Moved ...
3215 * sysdeps/x86_64/nptl/Makefile: ... here.
3216 * nptl/sysdeps/x86_64/configure: Moved ...
3217 * sysdeps/x86_64/nptl/configure: ... here.
3218 * nptl/sysdeps/x86_64/configure.ac: Moved ...
3219 * sysdeps/x86_64/nptl/configure.ac: ... here.
3220 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
3221 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
3222 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
3223 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
3224 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
3225 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
3226 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
3227 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
3228 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
3229 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
3230 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
3231 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
3232 * nptl/sysdeps/x86_64/tls.h: Moved ...
3233 * sysdeps/x86_64/nptl/tls.h: ... here.
3234 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
3235 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
3236 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
3237 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
3239 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
3241 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3243 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3245 2014-06-11 Joseph Myers <joseph@codesourcery.com>
3247 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
3249 [POSIX] (off_t): Likewise.
3250 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
3251 [POSIX] (S_ISBLK): Require macro.
3252 [POSIX] (S_ISCHR): Likewise.
3253 [POSIX] (S_ISDIR): Likewise.
3254 [POSIX] (S_ISFIFO): Likewise.
3255 [POSIX] (S_ISREG): Likewise.
3256 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
3258 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
3260 [POSIX] (time_t): Likewise.
3261 [POSIX] (timer_t): Likewise.
3263 2014-06-11 Florian Weimer <fweimer@redhat.com>
3266 * posix/spawn_int.h (struct __spawn_action): Make the path string
3267 non-const to support deallocation.
3268 * posix/spawn_faction_addopen.c
3269 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
3270 * posix/spawn_faction_destroy.c
3271 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
3272 path in all spawn_do_open actions.
3273 * posix/tst-spawn.c (do_test): Exercise the copy operation in
3274 posix_spawn_file_actions_addopen.
3276 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
3278 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
3279 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
3280 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
3281 conditional code always true.
3282 (__libc_vfork): New alias.
3284 2014-06-11 Roland McGrath <roland@hack.frob.com>
3286 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3287 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
3289 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
3291 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3292 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
3294 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
3295 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
3297 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3298 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
3300 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
3302 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
3303 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
3304 multiarch strcmp for PPC64.
3305 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
3306 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
3307 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
3308 multiarch optimizations.
3309 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3310 (__libc_ifunc_impl_list): Likewise.
3312 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3314 * benchtests/scripts/validate_benchout.py: New script.
3315 * benchtests/Makefile (bench-func): Call it.
3316 * benchtests/scripts/benchout.schema.json: New file.
3318 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
3320 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
3321 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
3322 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
3323 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
3324 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
3325 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
3326 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
3327 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
3328 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
3329 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
3330 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
3331 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
3332 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
3333 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
3334 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
3335 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
3336 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
3338 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
3340 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
3342 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
3343 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
3345 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
3347 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
3349 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
3351 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
3353 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
3354 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
3356 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
3358 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
3360 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
3362 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
3364 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
3365 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
3367 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
3369 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
3371 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
3373 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
3375 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
3377 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
3379 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
3380 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
3382 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
3384 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
3386 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
3388 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
3390 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
3392 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
3394 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
3395 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
3397 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
3399 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
3401 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
3403 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
3405 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
3406 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
3408 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
3410 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
3412 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
3413 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
3415 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
3416 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
3418 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
3420 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
3422 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
3424 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
3426 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
3428 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
3430 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
3431 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
3433 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
3435 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
3437 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
3439 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
3440 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
3441 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
3442 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
3443 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
3445 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
3447 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
3448 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
3449 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
3450 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
3451 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
3452 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
3453 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
3454 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
3455 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
3456 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
3457 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
3458 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
3459 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
3461 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
3462 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
3464 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
3465 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
3466 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
3467 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
3469 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
3470 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
3471 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
3472 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
3473 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
3474 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
3475 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
3477 2014-06-10 Wilco <wdijkstr@arm.com>
3479 * math/test-fenv-return.c: New file.
3480 * math/Makefile: Add new test test-fenv-return.
3482 2014-06-10 Joseph Myers <joseph@codesourcery.com>
3485 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
3487 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
3488 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
3489 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
3490 0.0L for an argument of 1.0L.
3491 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
3493 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
3494 value when x - 1 is zero.
3495 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
3496 * sysdeps/i386/fpu/libm-test-ulps: Update.
3497 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3499 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
3502 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
3504 2014-06-09 Roland McGrath <roland@hack.frob.com>
3506 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
3507 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
3509 2014-06-09 Roland McGrath <roland@hack.frob.com>
3511 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3512 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
3514 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3515 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
3517 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3518 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
3520 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3521 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
3523 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
3524 if not already defined.
3525 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
3526 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
3527 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
3528 (TLS_INIT_TP): Use it.
3529 (TLS_DEFINE_INIT_TP): New macro.
3530 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
3532 2014-06-09 Joseph Myers <joseph@codesourcery.com>
3534 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
3536 [POSIX] (IXANY): Likewise.
3537 [POSIX] (OLCUC): Likewise.
3538 [POSIX || POSIX2008] (CBAUD): Do not allow.
3539 [POSIX || POSIX2008] (DEFECHO): Likewise.
3540 [POSIX || POSIX2008] (ECHOCTL): Likewise.
3541 [POSIX || POSIX2008] (ECHOKE): Likewise.
3542 [POSIX || POSIX2008] (ECHOPRT): Likewise.
3543 [POSIX || POSIX2008] (EXTA): Likewise.
3544 [POSIX || POSIX2008] (EXTB): Likewise.
3545 [POSIX || POSIX2008] (FLUSHO): Likewise.
3546 [POSIX || POSIX2008] (LOBLK): Likewise.
3547 [POSIX || POSIX2008] (PENDIN): Likewise.
3548 [POSIX || POSIX2008] (SWTCH): Likewise.
3549 [POSIX || POSIX2008] (VDISCARD): Likewise.
3550 [POSIX || POSIX2008] (VDSUSP): Likewise.
3551 [POSIX || POSIX2008] (VLNEXT): Likewise.
3552 [POSIX || POSIX2008] (VREPRINT): Likewise.
3553 [POSIX || POSIX2008] (VSTATUS): Likewise.
3554 [POSIX || POSIX2008] (VWERASE): Likewise.
3555 (B*): Change to B[0123456789]*.
3556 * conform/data/time.h-data [POSIX || UNIX98]
3557 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
3558 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
3559 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
3560 [POSIX] (tm_*): Do not allow.
3562 2014-06-07 Joseph Myers <joseph@codesourcery.com>
3564 * Makefile (install): Don't set LANGUAGE.
3565 * Makefile.in (install): Likewise.
3566 * assert/Makefile (test-assert-ENV): Remove variable.
3567 (test-assert-perr-ENV): Likewise.
3568 * elf/Makefile (neededtest4-ENV): Likewise.
3569 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
3570 [$(cross-compiling) = no]: Don't set LANGUAGE.
3571 * io/ftwtest-sh (LANG): Remove variable.
3572 * libio/Makefile (tst-widetext-ENV): Likewise.
3573 * manual/install.texi (Running make install): Don't refer to
3574 environment settings for make install.
3575 * INSTALL: Regenerated.
3576 * nptl/tst-tls6.sh: Don't set LANG.
3577 * posix/globtest.sh (LANG): Remove variable.
3578 * string/Makefile (tester-ENV): Likewise.
3579 (inl-tester-ENV): Likewise.
3580 (noinl-tester-ENV): Likewise.
3581 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
3582 [$(cross-compiling) = no]: Don't set LANGUAGE.
3583 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
3584 without explicit environment settings.
3586 2014-06-06 Roland McGrath <roland@hack.frob.com>
3588 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
3589 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
3590 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
3591 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
3593 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
3595 * crypt/crypt-private.h [DOS]: Add some includes taken from the
3596 other files in the crypt directory.
3597 * crypt/crypt.c: Remove duplicate includes.
3598 * crypt/crypt-entry.c: Likewise.
3599 * crypt/crypt_util.c: Likewise.
3601 2014-06-06 Joseph Myers <joseph@codesourcery.com>
3603 * Makeconfig (run-program-env): New variable.
3604 (run-program-prefix-before-env): Likewise.
3605 (run-program-prefix-after-env): Likewise.
3606 (run-program-prefix): Define in terms of new variables.
3607 (built-program-cmd-before-env): New variable.
3608 (built-program-cmd-after-env): Likewise.
3609 (built-program-cmd): Define in terms of new variables.
3610 (test-program-prefix-before-env): New variable.
3611 (test-program-prefix-after-env): Likewise.
3612 (test-program-prefix): Define in terms of new variables.
3613 (test-program-cmd-before-env): New variable.
3614 (test-program-cmd-after-env): Likewise.
3615 (test-program-cmd): Define in terms of new variables.
3616 * Rules (make-test-out): Use $(run-program-env).
3617 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
3618 (help): Do not mention environment variables. Mention
3619 --timeoutfactor option.
3620 (timeoutfactor): New variable.
3621 (blacklist_exports): Remove function.
3622 (exports): Remove variable.
3623 (command): Do not include ${exports}.
3624 * manual/install.texi (Configuring and compiling): Do not mention
3625 test wrappers preserving environment variables. Mention that last
3626 assignment to a variable must take precedence.
3627 * INSTALL: Regenerated.
3628 * benchtests/Makefile (run-bench): Use $(run-program-env).
3629 * catgets/Makefile ($(objpfx)test1.cat): Use
3630 $(built-program-cmd-before-env), $(run-program-env) and
3631 $(built-program-cmd-after-env).
3632 ($(objpfx)test2.cat): Do not specify environment variables
3634 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
3635 $(run-program-env) and $(built-program-cmd-after-env).
3636 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
3637 $(run-program-env) and $(test-program-cmd-after-env).
3638 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
3640 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
3641 run_program_env and test_program_cmd_after_env arguments.
3642 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
3643 * elf/tst-pathopt.sh: Use run_program_env argument.
3644 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
3645 $(test-wrapper-env) and $(run-program-env).
3646 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
3647 run_program_env arguments.
3648 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
3649 * intl/Makefile ($(objpfx)tst-gettext.out): Use
3650 $(test-program-prefix-before-env), $(run-program-env) and
3651 $(test-program-prefix-after-env).
3652 ($(objpfx)tst-gettext2.out): Likewise.
3653 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
3654 run_program_env and test_program_prefix_after_env arguments.
3655 * intl/tst-gettext2.sh: Likewise.
3656 * intl/tst-gettext4.sh: Do not set environment variables
3658 * intl/tst-gettext6.sh: Likewise.
3659 * intl/tst-translit.sh: Likewise.
3660 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
3661 $(test-program-prefix-before-env), $(run-program-env) and
3662 $(test-program-prefix-after-env).
3663 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
3664 run_program_env and test_program_prefix_after_env arguments.
3665 * math/Makefile (run-regen-ulps): Use $(run-program-env).
3666 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
3667 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
3668 explicitly with each use of ${test_wrapper_env}.
3669 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
3670 $(test-program-prefix-before-env), $(run-program-env) and
3671 $(test-program-prefix-after-env).
3672 * posix/tst-getconf.sh: Do not set environment variables
3674 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
3675 run_program_env and test_program_prefix_after_env arguments.
3676 * stdio-common/tst-printf.sh: Do not set environment variables
3678 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
3679 $(test-program-prefix-before-env), $(run-program-env) and
3680 $(test-program-prefix-after-env).
3681 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
3682 run_program_env and test_program_prefix_after_env arguments.
3683 Split $test calls into $test_pre and $test.
3684 * timezone/Makefile (build-testdata): Use
3685 $(built-program-cmd-before-env), $(run-program-env) and
3686 $(built-program-cmd-after-env).
3688 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3690 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
3691 strlen for non SHARED builds.
3693 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
3695 * nptl/allocatestack.c (check_list): Inlined function...
3696 (__reclaim_stacks): ... here.
3698 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
3701 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
3704 2014-06-05 Joseph Myers <joseph@codesourcery.com>
3706 * Rules (make-test-out): Include
3707 LOCPATH=$(common-objpfx)localedata in default environment.
3708 * debug/Makefile (tst-chk1-ENV): Remove variable.
3709 (tst-chk2-ENV): Likewise.
3710 (tst-chk3-ENV): Likewise.
3711 (tst-chk4-ENV): Likewise.
3712 (tst-chk5-ENV): Likewise.
3713 (tst-chk6-ENV): Likewise.
3714 (tst-lfschk1-ENV): Likewise.
3715 (tst-lfschk2-ENV): Likewise.
3716 (tst-lfschk3-ENV): Likewise.
3717 (tst-lfschk4-ENV): Likewise.
3718 (tst-lfschk5-ENV): Likewise.
3719 (tst-lfschk6-ENV): Likewise.
3720 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
3721 (tst-iconv7-ENV): Likewise.
3722 * intl/Makefile (LOCPATH-ENV): Likewise.
3723 (tst-codeset-ENV): Likewise.
3724 (tst-gettext3-ENV): Likewise.
3725 (tst-gettext5-ENV): Likewise.
3726 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
3727 (tst-fopenloc-ENV): Likewise.
3728 (tst-fgetws-ENV): Remove variable.
3729 (tst-ungetwc1-ENV): Likewise.
3730 (tst-ungetwc2-ENV): Likewise.
3731 (bug-ungetwc2-ENV): Likewise.
3732 (tst-swscanf-ENV): Likewise.
3733 (bug-ftell-ENV): Likewise.
3734 (tst-fgetwc-ENV): Likewise.
3735 (tst-fseek-ENV): Likewise.
3736 (tst-ftell-partial-wide-ENV): Likewise.
3737 (tst-ftell-active-handler-ENV): Likewise.
3738 (tst-ftell-append-ENV): Likewise.
3739 * posix/Makefile (tst-fnmatch-ENV): Likewise.
3740 (tst-regexloc-ENV): Likewise.
3741 (bug-regex1-ENV): Likewise.
3742 (tst-regex-ENV): Likewise.
3743 (tst-regex2-ENV): Likewise.
3744 (bug-regex5-ENV): Likewise.
3745 (bug-regex6-ENV): Likewise.
3746 (bug-regex17-ENV): Likewise.
3747 (bug-regex18-ENV): Likewise.
3748 (bug-regex19-ENV): Likewise.
3749 (bug-regex20-ENV): Likewise.
3750 (bug-regex22-ENV): Likewise.
3751 (bug-regex23-ENV): Likewise.
3752 (bug-regex25-ENV): Likewise.
3753 (bug-regex26-ENV): Likewise.
3754 (bug-regex30-ENV): Likewise.
3755 (bug-regex32-ENV): Likewise.
3756 (bug-regex33-ENV): Likewise.
3757 (bug-regex34-ENV): Likewise.
3758 (bug-regex35-ENV): Likewise.
3759 (tst-rxspencer-ENV): Likewise.
3760 (tst-rxspencer-no-utf8-ENV): Likewise.
3761 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
3762 (tst-sscanf-ENV): Likewise.
3763 (tst-swprintf-ENV): Likewise.
3764 (tst-swscanf-ENV): Likewise.
3765 (test-vfprintf-ENV): Likewise.
3766 (scanf13-ENV): Likewise.
3767 (bug14-ENV): Likewise.
3768 (tst-grouping-ENV): Likewise.
3769 * stdlib/Makefile (tst-strtod-ENV): Likewise.
3770 (tst-strtod3-ENV): Likewise.
3771 (tst-strtod4-ENV): Likewise.
3772 (tst-strtod5-ENV): Likewise.
3773 (testmb2-ENV): Likewise./
3774 * string/Makefile (tst-strxfrm-ENV): Likewise.
3775 (tst-strxfrm2-ENV): Likewise.
3776 (bug-strcoll1-ENV): Likewise.
3777 (test-strcasecmp-ENV): Likewise.
3778 (test-strncasecmp-ENV): Likewise.
3779 * time/Makefile (tst-strptime-ENV): Likewise.
3780 (tst-ftime_l-ENV): Likewise.
3781 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
3782 (tst-mbrtowc-ENV): Likewise.
3783 (tst-wcrtomb-ENV): Likewise.
3784 (tst-mbrtowc2-ENV): Likewise.
3785 (tst-c16c32-1-ENV): Likewise.
3786 (tst-mbsnrtowcs-ENV): Likewise.
3788 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
3790 * manual/resource.texi (How to get information about the memory
3791 subsystem?): Fix typo.
3792 Reported by Peon de la Parra Ivan <peon@keba.com>
3794 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
3797 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
3798 (pthread_spin_lock): Branch out of spin loop to proper location.
3799 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
3800 (pthread_spin_lock): Likewise.
3802 * nptl/tst-spin4.c: New test.
3803 * nptl/Makefile (tests): Add tst-spin4.
3805 2014-06-03 Andreas Schwab <schwab@suse.de>
3808 * resolv/res_send.c (send_dg): Reload file descriptor after
3811 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
3813 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
3815 2014-06-03 Richard Henderson <rth@redhat.com>
3817 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
3818 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
3819 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
3820 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
3821 in the SAVE_PID block.
3822 (__libc_vfork): New alias.
3823 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
3825 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
3826 child in registers, not on the stack. Remove RESET_PID conditionals.
3827 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
3829 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
3831 * sysdeps/aarch64/libm-test-ulps: Regenerate.
3833 2014-06-03 Wilco <wdijkstr@arm.com>
3835 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
3836 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
3837 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
3838 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
3839 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
3842 2014-06-03 Wilco <wdijkstr@arm.com>
3844 * sysdeps/aarch64/fpu/math_private.h
3845 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
3846 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
3847 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
3848 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
3851 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
3853 * crypt/crypt-private.h: Include ufc-crypt.h.
3854 (__b64_from_24bit): Declare extern.
3855 * crypt/crypt_util.c(__b64_from_24bit): New function.
3856 (b64t): New static const variable.
3857 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
3858 (b64t): Remove variable.
3859 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
3860 * crypt/sha256-crypt.c: Include crypt-private.h.
3861 (b64t): Remove variable.
3862 (__sha256_crypt_r): Remove b64_from_24bit and replace
3863 with __b64_from_24bit.
3864 * crypt/sha512-crypt.c: Likewise.
3866 2014-06-02 Roland McGrath <roland@hack.frob.com>
3868 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
3869 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
3870 Label the code __libc_vfork rather than __vfork.
3871 [!NOT_IN_libc] (vfork): Define as weak alias.
3872 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
3873 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
3874 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
3876 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
3878 * malloc/malloc.c (malloc_info): Fix format specifier for
3881 2014-06-02 Wilco <wdijkstr@arm.com>
3883 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
3886 2014-06-02 Wilco <wdijkstr@arm.com>
3889 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
3890 Rewrite to reduce FPCR/FPSR accesses.
3892 2014-06-01 David S. Miller <davem@davemloft.net>
3894 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3896 2014-05-31 David S. Miller <davem@davemloft.net>
3898 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
3899 to occur in round to nearest mode when |x| >= 2.0
3901 2014-05-30 Richard Henderson <rth@twiddle.net>
3903 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
3904 (PSEUDO_RET_NOERRNO): Remove.
3905 (ret): Don't redefine.
3906 (ret_NOERRNO): Define in terms of ret.
3907 (ret_ERRVAL): Likewise.
3909 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
3910 use of PSEUDO_RET; perform the error check directly.
3912 2014-05-30 Marko Myllynen <myllynen@redhat.com>
3914 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
3917 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3919 * malloc/malloc (malloc_info): Fix formatting.
3921 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3922 Roland McGrath <roland@hack.frob.com>
3924 * malloc/malloc (malloc_info): Also print mmapped statistics.
3926 2014-05-30 Roland McGrath <roland@hack.frob.com>
3928 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
3929 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
3931 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
3933 * malloc/malloc.c (malloc_info): Inline mi_arena.
3935 2014-05-29 Richard Henderson <rth@twiddle.net>
3937 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
3938 Remove comma before expanding ASM_ARGS_##nr.
3939 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
3940 Make _x0 a strict output; make _x8 a strict input; adjust expansion
3942 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
3943 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
3944 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
3945 (ASM_ARGS_1): Add leading comma.
3947 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
3948 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
3949 to __errno_location.
3950 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
3951 Remove the expected plt for __errno_location.
3953 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
3954 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
3957 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
3958 Always allocate 64 bytes of stack frame. Use ldp/stp to create
3959 it and break it down.
3960 (DOCARGS_0, DOCARGS_1): Do nothing.
3961 (DOCARGS_2): Update to store into the new stack frame.
3962 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
3963 (UNDOCARGS_1): Update to restore from the new stack frame.
3964 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
3965 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
3967 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
3968 (SINGLE_THREAD_P): New parameter for result regno.
3969 (PSEUDO): Update to match; use cbz instead of beq.
3971 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
3972 Use ENTRY to define the _nocancel entry point. Share the syscall
3973 and syscall error check paths with the cancel path.
3976 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
3977 whitespace; tabs before and after asm mnemonics.
3979 2014-05-29 Eric Wong <normalperson@yhbt.net>
3982 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
3983 Call fstat64 or stat64 internally, depending on arguments passed.
3984 Replace stat buffer argument with file descriptor argument.
3985 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
3986 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
3987 Pass fd to __internal_statvfs instead of calling fstat64.
3988 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
3989 Pass fd to __internal_statvfs64 instead of calling fstat64.
3990 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
3991 Pass -1 to __internal_statvfs instead of calling stat64.
3992 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
3993 Pass -1 to __internal_statvfs64 instead of calling stat64.
3995 2014-05-28 Roland McGrath <roland@hack.frob.com>
3997 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
3998 that was previously under [RESET_PID].
3999 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
4001 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
4002 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
4004 2014-05-27 Roland McGrath <roland@hack.frob.com>
4006 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
4008 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
4009 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
4011 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
4013 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
4015 2014-05-27 Andreas Schwab <schwab@suse.de>
4017 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
4019 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
4020 * elf/rtld.c (init_tls, dl_main): Likewise.
4021 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
4022 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
4023 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
4024 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
4025 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
4026 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
4027 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
4028 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
4029 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
4030 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
4031 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
4032 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
4033 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
4034 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
4035 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
4036 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
4037 * sysdeps/generic/tls.h: Update description.
4039 2014-05-27 Will Newton <will.newton@linaro.org>
4042 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
4043 and restore r2 rather than just restoring.
4045 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4048 * libio/tst-ftell-append.c: New test case.
4049 * libio/Makefile (tests): Add test case.
4050 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
4052 * libio/wfileops.c (do_ftell_wide): Likewise.
4054 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4056 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4058 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
4060 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
4061 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
4062 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
4063 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
4064 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
4065 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
4066 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
4067 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
4068 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
4070 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
4071 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
4073 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
4074 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
4075 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
4076 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
4077 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
4078 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
4080 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
4081 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
4083 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
4085 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
4087 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
4088 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
4089 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
4091 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
4092 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
4093 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
4094 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
4096 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
4098 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
4099 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
4101 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
4102 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
4104 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
4105 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
4107 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
4109 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
4111 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
4112 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
4114 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
4116 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
4117 conditional [RESET_PID].
4118 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
4119 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
4121 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
4124 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
4126 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
4127 (__libc_vfork): New strong alias.
4128 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
4130 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
4133 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
4135 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
4136 (__libc_vfork): New strong alias.
4137 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
4139 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
4142 2014-05-26 Carlos O'Donell <carlos@redhat.com>
4144 * malloc/malloc.c (mi_arena): New function.
4145 (malloc_info): Remove nested function mi_arena. Call non-nosted
4148 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4150 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
4152 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
4153 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
4154 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
4155 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
4156 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
4157 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
4158 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
4160 2014-05-26 Andreas Schwab <schwab@suse.de>
4163 * locale/programs/repertoire.c (repertoire_read): Add slash
4164 between I18NPATH element and file name.
4165 * locale/programs/locfile.c (locfile_read): Likewise.
4167 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
4169 * nptl/pthread_mutexattr_settype.c
4170 (__pthread_mutexattr_settype):
4171 Disable lock elision for PTHREAD_MUTEX_NORMAL.
4173 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
4175 * nptl/tst-mutex5 (do_test):
4176 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
4178 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4180 * benchtests/README: Document 'init' directive.
4181 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
4183 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
4184 (parse_file): Recognize 'init' directive.
4186 2014-05-26 Kyle McMartin <kyle@redhat.com>
4189 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
4190 alignment of struct pthread.
4192 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4195 * nscd/netgroupcache.c (addgetnetgrentX): Look for
4196 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
4197 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
4198 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
4200 2014-05-25 Richard Henderson <rth@twiddle.net>
4202 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
4203 (SINGLE_THREAD_P_PIC): Remove.
4204 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
4205 (SINGLE_THREAD_P_PIC): Remove.
4207 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
4208 branch to syscall error ...
4210 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
4211 from __local_syscall_error to .Lsyscall_error.
4212 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
4213 (SYSCALL_ERROR): Update label name.
4215 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
4216 Do not use DOARGS/UNDOARGS.
4217 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
4218 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
4219 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
4220 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
4221 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
4223 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
4226 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
4227 define if !NOT_IN_libc.
4228 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
4229 define with non-default symbol versions.
4231 2014-05-23 Richard Henderson <rth@twiddle.net>
4233 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
4234 (vfork, __vfork): Define via compat_symbol.
4236 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
4237 [!HAVE_IFUNC] (vfork_compat): Remove.
4238 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
4240 2014-05-23 Joseph Myers <joseph@codesourcery.com>
4243 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
4244 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
4247 2014-05-23 Richard Henderson <rth@twiddle.net>
4249 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
4250 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
4251 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
4252 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
4254 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
4255 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
4256 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
4257 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
4258 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
4259 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
4260 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
4261 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
4262 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
4263 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
4264 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
4265 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
4266 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
4267 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
4268 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
4269 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
4270 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
4271 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
4272 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
4273 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
4274 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
4275 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
4276 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
4277 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
4278 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
4279 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
4280 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
4281 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
4282 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
4283 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
4284 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
4285 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
4286 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
4287 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
4288 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
4289 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
4290 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
4291 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
4292 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
4293 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
4294 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
4295 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
4296 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
4297 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
4298 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
4299 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
4300 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
4301 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
4302 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
4303 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
4304 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
4305 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
4306 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
4307 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
4308 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
4309 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
4311 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
4312 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
4313 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
4314 before exiting on error.
4315 (__libc_vfork): New strong alias.
4316 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
4317 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
4319 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
4320 that was previously under [RESET_PID].
4321 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
4323 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
4325 2014-05-23 Joseph Myers <joseph@codesourcery.com>
4328 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
4329 value when x - 1 is zero.
4330 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
4331 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
4332 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
4333 0.0L for an argument of 1.0L.
4334 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
4336 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
4337 value when x - 1 is zero.
4338 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
4339 * sysdeps/i386/fpu/libm-test-ulps: Update.
4340 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4342 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
4344 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
4345 alphasort and versionsort.
4347 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4349 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
4351 [copysignf]: Likewise.
4353 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
4355 * crypt/md5-crypt.c: Fix formatting.
4357 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
4359 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
4360 (b64_from_24bit): New function.
4362 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4364 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
4365 libc_hidden_builtin_def to ifunc.
4366 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
4367 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
4369 2014-05-21 Roland McGrath <roland@hack.frob.com>
4371 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
4372 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
4374 2014-05-21 Joseph Myers <joseph@codesourcery.com>
4376 * nscd/Depend (linuxthreads): Remove.
4378 * resolv/Depend (linuxthreads): Remove.
4379 * rt/Depend (linuxthreads): Remove.
4381 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
4382 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
4383 $(common-objpfx)elf/.
4384 (link-libc-before-gnulib): Likewise.
4385 (elfobjdir): Remove variable.
4386 * Makefile (install): Use $(elf-objpfx) instead of
4387 $(common-objpfx)elf/.
4388 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
4390 (link-libc-deps): Likewise.
4391 ($(common-objpfx)libc.so): Likewise.
4392 ($(common-objpfx)linkobj/libc.so): Likewise.
4393 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
4394 instead of $(common-objpfx)elf/.
4395 (symbolic-link-list): Likewise.
4396 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
4397 [$(cross-compiling) = no]: Likewise.
4398 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
4400 (static-gnulib-arch): Likewise.
4401 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
4402 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
4403 $(common-objpfx)elf/.
4405 2014-05-21 Richard Henderson <rth@redhat.com>
4407 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
4408 (SINGLE_THREAD_P): Use the correct width load. Fold
4409 into the ldr offset.
4411 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
4412 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
4414 2014-05-20 Joseph Myers <joseph@codesourcery.com>
4416 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
4417 (libgcc_s_resume): Use __attribute_used__.
4418 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
4421 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4423 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
4424 optimization when used with float constants.
4426 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4428 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
4431 * locale/nl_langinfo_l.c: Make direct reference to every
4432 _nl_current_CATEGORY symbol.
4433 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
4434 (tests-static): Add tst-langinfo-static.
4435 (tests-special): Add tst-langinfo-static.out.
4436 ($(objpfx)tst-langinfo.out): Redirect output.
4437 ($(objpfx)tst-langinfo-static.out): New.
4438 * localedata/tst-langinfo.sh: Send output to stdout.
4439 * localedata/tst-langinfo-static.c: New file.
4442 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
4443 when the shift amount is modulo the limb size.
4445 2014-05-20 Richard Henderson <rth@redhat.com>
4448 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
4449 Change type of sa_flags from unsigned int to int.
4452 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
4454 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
4456 2014-05-20 Will Newton <will.newton@linaro.org>
4458 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
4459 Test the return value of the system call in the nocancel case.
4461 2014-05-20 Will Newton <will.newton@linaro.org>
4462 Yvan Roux <yvan.roux@linaro.org>
4464 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
4465 #include of asm/ptrace.h.
4466 (PTRACE_GET_THREAD_AREA): Remove #undef.
4467 (PTRACE_GETHBPREGS): Likewise.
4468 (PTRACE_SETHBPREGS): Likewise.
4469 (struct user_regs_struct): New structure.
4470 (struct user_fpsimd_struct): New structure.
4471 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
4472 #include of asm/ptrace.h and second #include of sys/user.h.
4473 (PTRACE_GET_THREAD_AREA): Remove #undef.
4474 (PTRACE_GETHBPREGS): Likewise.
4475 (PTRACE_SETHBPREGS): Likewise.
4476 (ELF_NGREG): Use new struct user_regs_struct.
4477 (elf_fpregset_t): Use new struct user_fpsimd_struct.
4479 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4481 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
4482 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
4484 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
4487 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
4488 membar to avoid block loads/stores to overlap previous stores.
4490 2014-05-17 Richard Henderson <rth@redhat.com>
4492 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
4493 Create the __##syscall_name##_nocancel entry point.
4494 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
4495 Remove; let the sysdep-cancel.h code create it.
4497 2014-05-17 David S. Miller <davem@davemloft.net>
4499 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
4500 Protect with __USE_GNU.
4501 (TIOCSET_TEMPT): Likewise.
4502 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
4503 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
4504 these are already provided in bits/ioctl-types.h
4506 2014-05-16 Roland McGrath <roland@hack.frob.com>
4508 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
4509 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
4511 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
4512 Use wait4 regardless of [__NR_waitpid].
4514 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
4517 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
4518 (_FP_NANSIGN_Q): Set the quiet bit.
4520 2014-05-16 Joseph Myers <joseph@codesourcery.com>
4522 * benchtests/Makefile
4523 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
4524 not $(common-objpfx)math/libm.so.
4525 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
4526 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
4527 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
4528 $(common-objpfx)dlfcn/libdl.so.
4529 ($(objpfx)tst-audit8): Depend on $(libm), not
4530 $(common-objpfx)math/libm.so.
4531 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
4532 not $(common-objpfx)dlfcn/libdl.so.
4534 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
4535 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
4536 [$(build-shared) = yes].
4537 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
4538 $(common-objpfx)nptl/libpthread.so.
4539 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
4540 $(common-objpfx)math/libm.so$(libm.so-version) or
4541 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
4542 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
4543 $(common-objpfx)dlfcn/libdl.so.
4544 * setjmp/Makefile (link-libm): Remove variable.
4545 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
4546 * stdio-common/Makefile (link-libm): Remove variable.
4547 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
4548 * stdlib/Makefile (link-libm): Remove variable.
4549 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
4550 ($(objpfx)tst-strtod-round): Likewise.
4551 ($(objpfx)tst-tininess): Likewise.
4552 ($(objpfx)tst-strtod-underflow): Likewise.
4553 ($(objpfx)tst-strtod6): Likewise.
4554 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
4555 $(libdl), not $(common-objpfx)nptl/libpthread.so and
4556 $(common-objpfx)dlfcn/libdl.so.
4558 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4560 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
4561 BSD terminal modes definitions.
4563 2014-05-16 Roland McGrath <roland@hack.frob.com>
4565 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
4566 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
4568 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
4569 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
4570 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
4571 Don't do #include_next.
4572 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
4573 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
4574 Don't do #include_next.
4575 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
4576 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
4577 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
4578 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
4580 2014-05-16 Allan McRae <allan@archlinux.org>
4582 * po/sv.po: Update Swedish translation from translation project.
4584 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
4587 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
4590 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
4591 errno if the TIOCGPTN ioctl fails with an error different than
4593 * login/tst-ptsname.c: New file.
4594 * login/Makefile (tests): Add tst-ptsname.
4597 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
4600 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4603 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
4604 herrno to return EAI_AGAIN.
4606 2014-05-14 Roland McGrath <roland@hack.frob.com>
4608 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
4609 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
4610 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
4611 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
4612 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
4613 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
4614 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
4615 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
4616 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
4617 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
4618 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
4619 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
4620 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
4621 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
4622 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
4623 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
4624 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
4625 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
4626 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
4627 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
4628 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
4629 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
4630 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
4631 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
4632 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
4633 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
4634 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
4635 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
4636 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
4637 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
4638 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
4639 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
4640 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
4641 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
4642 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
4644 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
4645 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
4646 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
4647 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
4648 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
4649 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
4650 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
4651 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
4652 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
4653 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
4654 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
4655 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
4656 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
4657 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
4658 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
4659 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
4660 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
4661 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
4662 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
4663 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
4664 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
4665 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
4666 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
4667 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
4668 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
4669 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
4670 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
4671 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
4673 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
4674 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
4675 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
4676 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
4677 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
4678 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
4679 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
4680 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
4681 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
4682 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
4683 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
4684 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
4685 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
4686 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
4687 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
4688 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
4689 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
4690 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
4691 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
4692 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
4694 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
4695 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
4696 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
4698 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
4699 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
4700 (libpthread-sysdep_routines): Add elision-related stuff here instead.
4701 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
4702 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
4703 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
4704 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
4705 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
4706 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
4707 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
4708 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
4709 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
4710 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
4711 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
4712 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
4713 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
4714 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
4715 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
4716 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
4717 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
4718 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
4719 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
4720 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
4721 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
4722 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
4723 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
4724 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
4725 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
4726 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
4727 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
4728 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
4730 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
4731 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
4733 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
4734 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
4735 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
4736 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
4737 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
4738 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
4740 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
4741 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
4743 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
4744 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
4746 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
4747 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
4749 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
4750 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
4751 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
4752 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
4754 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
4755 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
4756 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
4757 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
4758 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
4759 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
4760 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
4761 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
4763 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
4764 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
4766 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
4768 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
4769 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
4770 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
4771 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
4772 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
4774 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
4776 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
4778 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
4779 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
4780 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
4781 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
4782 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
4783 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
4785 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
4786 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
4788 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
4789 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
4791 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
4792 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
4794 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
4795 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
4796 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
4797 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
4799 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
4800 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
4801 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
4802 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
4803 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
4804 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
4805 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
4806 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
4808 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
4809 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
4811 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
4813 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
4814 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
4815 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
4816 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
4817 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
4819 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
4821 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
4823 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
4824 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
4825 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
4826 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
4827 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
4828 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
4829 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
4830 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
4831 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
4832 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
4834 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
4835 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
4837 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
4838 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
4840 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
4841 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
4843 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
4844 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
4845 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
4846 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
4847 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
4848 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
4850 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
4851 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
4852 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
4853 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
4854 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
4855 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
4856 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
4857 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
4859 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
4860 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
4862 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
4864 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
4865 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
4866 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
4867 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
4868 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
4870 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
4872 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
4874 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
4875 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
4876 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
4877 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
4878 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
4879 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
4880 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
4881 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
4882 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
4883 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
4884 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
4886 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
4887 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
4889 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
4890 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
4892 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
4893 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
4894 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
4895 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
4896 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
4897 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
4898 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
4899 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
4900 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
4901 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
4902 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
4903 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
4904 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
4905 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
4906 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
4907 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
4908 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
4909 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
4911 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
4912 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
4913 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
4914 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
4916 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
4917 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
4918 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
4919 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
4920 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
4921 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
4922 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
4923 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
4925 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
4926 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
4928 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
4929 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
4930 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
4931 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
4932 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
4933 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
4934 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
4935 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
4936 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
4937 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
4938 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
4939 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
4940 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
4941 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
4942 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
4943 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
4944 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
4946 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
4947 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
4948 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
4949 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
4950 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
4952 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
4953 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
4954 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
4955 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
4956 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
4957 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
4958 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
4959 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
4960 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
4961 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
4963 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
4964 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
4966 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
4967 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
4968 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
4969 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
4970 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
4971 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
4972 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
4973 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
4974 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
4975 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
4976 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
4977 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
4978 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
4979 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
4980 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
4982 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
4984 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
4986 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
4988 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
4990 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
4992 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
4994 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
4996 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
4998 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
5000 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
5001 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
5002 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
5003 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
5004 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
5005 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
5006 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
5007 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
5008 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
5009 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
5010 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
5011 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
5012 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
5013 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
5014 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
5016 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
5017 that was previously under [RESET_PID].
5018 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
5019 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
5020 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
5022 * sysdeps/i386/nptl/Implies: New file.
5023 * sysdeps/x86_64/nptl/Implies: New file.
5024 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
5025 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
5026 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
5027 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
5029 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
5030 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
5031 (__libc_vfork): New strong alias.
5032 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
5033 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
5035 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
5036 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
5037 (__libc_vfork): New strong alias.
5038 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
5039 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
5041 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
5042 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
5043 (__libc_vfork): New strong alias.
5044 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
5045 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
5046 * nptl/pt-vfork.c: New file.
5047 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
5048 (libpthread: GLIBC_2.20): New version set (empty).
5050 2014-05-14 Will Newton <will.newton@linaro.org>
5052 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
5055 2014-05-14 Joseph Myers <joseph@codesourcery.com>
5058 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
5059 arguments with exponent 65 or above.
5060 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
5061 arguments 0x1p113L or above.
5062 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
5063 to arguments 0x1p107L or above.
5064 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
5065 positive arguments with exponent 65 or above.
5066 * math/auto-libm-test-in: Add more tests of log1p.
5067 * math/auto-libm-test-out: Regenerated.
5070 * math/s_cacos.c (__cacos): Ensure zero real part of result from
5071 non-finite arguments is +0.
5072 * math/s_cacosf.c (__cacosf): Likewise.
5073 * math/s_cacosl.c (__cacosl): Likewise.
5074 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
5075 * sysdeps/i386/fpu/libm-test-ulps: Update.
5076 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5079 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
5081 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
5082 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
5083 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
5084 for explicit high bit of mantissa when testing for argument equal
5086 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
5087 * sysdeps/i386/fpu/libm-test-ulps: Update.
5088 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5091 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
5092 (__erf): Scale by 16 instead of 8 in potentially underflowing
5093 case. Ensure exception if result actually underflows.
5094 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
5095 (__erff): Scale by 16 instead of 8 in potentially underflowing
5096 case. Ensure exception if result actually underflows.
5097 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
5098 (efx8): Remove variable.
5099 (__erfl): Scale by 16 instead of 8 in potentially underflowing
5100 case. Ensure exception if result actually underflows.
5101 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
5102 (efx8): Remove variable.
5103 (__erfl): Scale by 16 instead of 8 in potentially underflowing
5104 case. Ensure exception if result actually underflows.
5105 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
5106 (efx8): Remove variable.
5107 (__erfl): Scale by 16 instead of 8 in potentially underflowing
5108 case. Ensure exception if result actually underflows.
5109 * math/auto-libm-test-in: Add more tests of erf.
5110 * math/auto-libm-test-out: Regenerated.
5112 2014-05-14 Andreas Schwab <schwab@suse.de>
5114 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
5115 Remove code conditionalized on USE___THREAD.
5117 * config.h.in (HAVE_PT_CHOWN): Define as 0.
5118 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
5121 2014-05-14 Joseph Myers <joseph@codesourcery.com>
5123 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
5124 Define unconditionally.
5125 (__ASSUME_O_CLOEXEC): Likewise.
5126 (__ASSUME_SOCK_CLOEXEC): Likewise.
5127 (__ASSUME_IN_NONBLOCK): Likewise.
5128 (__ASSUME_PIPE2): Likewise.
5129 (__ASSUME_EVENTFD2): Likewise.
5130 (__ASSUME_SIGNALFD4): Likewise.
5131 (__ASSUME_DUP3): Likewise.
5132 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
5133 (__ASSUME_DUP3): Do not define.
5134 (__ASSUME_EVENTFD2): Likewise.
5135 (__ASSUME_IN_NONBLOCK): Likewise.
5136 (__ASSUME_O_CLOEXEC): Likewise.
5137 (__ASSUME_PIPE2): Likewise.
5138 (__ASSUME_SIGNALFD4): Likewise.
5139 (__ASSUME_SOCK_CLOEXEC): Likewise.
5140 (__ASSUME_UTIMES): Undefine.
5141 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5142 (__ASSUME_UTIMES): Do not define.
5143 (__ASSUME_O_CLOEXEC): Likewise.
5144 (__ASSUME_SOCK_CLOEXEC): Likewise.
5145 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
5146 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
5148 (__ASSUME_PIPE2): Likewise.
5149 (__ASSUME_EVENTFD2): Likewise.
5150 (__ASSUME_SIGNALFD4): Likewise.
5151 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
5152 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
5154 (__ASSUME_EVENTFD2): Likewise.
5155 (__ASSUME_SIGNALFD4): Likewise.
5156 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
5157 (__ASSUME_32BITUIDS): Likewise.
5158 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
5159 (__ASSUME_IPC64): Likewise.
5160 (__ASSUME_ST_INO_64_BIT): Likewise.
5161 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
5162 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
5163 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5164 (__ASSUME_UTIMES): Do not define.
5165 (__ASSUME_PSELECT): Likewise.
5166 (__ASSUME_PPOLL): Likewise.
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 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5175 (__ASSUME_UTIMES): Likewise.
5176 (__ASSUME_O_CLOEXEC): Likewise.
5177 (__ASSUME_SOCK_CLOEXEC): Likewise.
5178 (__ASSUME_IN_NONBLOCK): Likewise.
5179 (__ASSUME_PIPE2): Likewise.
5180 (__ASSUME_EVENTFD2): Likewise.
5181 (__ASSUME_SIGNALFD4): Likewise.
5182 (__ASSUME_DUP3): Likewise.
5183 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5184 (__ASSUME_UTIMES): Likewise.
5185 (__ASSUME_O_CLOEXEC): Likewise.
5186 (__ASSUME_SOCK_CLOEXEC): Likewise.
5187 (__ASSUME_IN_NONBLOCK): Likewise.
5188 (__ASSUME_PIPE2): Likewise.
5189 (__ASSUME_EVENTFD2): Likewise.
5190 (__ASSUME_SIGNALFD4): Likewise.
5191 (__ASSUME_DUP3): Likewise.
5192 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
5194 (__ASSUME_UTIMES): Likewise.
5195 (__ASSUME_EVENTFD2): Likewise.
5196 (__ASSUME_SIGNALFD4): Likewise.
5197 * sysdeps/unix/sysv/linux/tile/kernel-features.h
5198 (__ASSUME_O_CLOEXEC): Likewise.
5199 (__ASSUME_SOCK_CLOEXEC): Likewise.
5200 (__ASSUME_IN_NONBLOCK): Likewise.
5201 (__ASSUME_PIPE2): Likewise.
5202 (__ASSUME_EVENTFD2): Likewise.
5203 (__ASSUME_SIGNALFD4): Likewise.
5204 (__ASSUME_DUP3): Likewise.
5205 (__ASSUME_UTIMES): Undefine.
5207 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
5208 feclearexcept. Remove symbol versioning code.
5209 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
5210 symbol versioning code.
5211 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
5212 symbol versioning code.
5213 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
5214 feupdateenv. Remove symbol versioning code.
5215 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
5216 fegetexceptflag. Remove symbol versioning code.
5217 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
5218 fesetexceptflag. Remove symbol versioning code.
5219 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
5220 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
5221 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
5222 (__posix_fadvise64_l32): Remove prototype.
5223 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
5226 2014-05-13 Roland McGrath <roland@hack.frob.com>
5228 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
5229 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
5230 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
5231 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
5233 2014-05-13 Sami Kerola <kerolasa@iki.fi>
5235 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
5236 current working directory
5238 2014-05-13 Roland McGrath <roland@hack.frob.com>
5240 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
5241 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
5242 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
5243 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
5244 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
5245 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
5246 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
5247 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
5248 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
5249 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
5250 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
5251 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
5252 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
5253 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
5254 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
5255 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
5256 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
5257 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
5258 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
5259 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
5260 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
5261 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
5262 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
5263 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
5264 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
5265 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
5266 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
5267 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
5268 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
5269 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
5270 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
5271 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
5272 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
5273 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
5274 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
5275 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
5276 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
5277 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
5278 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
5279 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
5280 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
5281 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
5283 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
5284 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
5286 * sysdeps/unix/sysv/linux/arm/Makefile
5287 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
5288 Add rt-aeabi_unwind_cpp_pr1.
5289 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
5290 Add nptl-aeabi_unwind_cpp_pr1.
5291 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
5292 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
5293 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
5294 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
5295 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
5296 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
5298 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
5299 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
5300 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
5301 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
5303 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
5304 Deconditionalize the code that was previously under [RESET_PID].
5305 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
5307 * sysdeps/generic/exit-thread.h: New file.
5308 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
5309 * include/unistd.h (__exit_thread): Remove declaration.
5310 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
5311 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
5312 * csu/libc-start.c: Include <exit-thread.h>.
5313 (LIBC_START_MAIN): Pass no argument to __exit_thread.
5314 * nptl/pthread_create.c: Include <exit-thread.h>.
5315 (start_thread): Call __exit_thread in place of __exit_thread_inline.
5316 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
5317 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
5318 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
5319 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
5320 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
5321 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
5322 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
5323 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
5324 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
5325 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
5326 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
5327 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
5328 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
5329 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
5330 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
5331 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
5333 2014-05-13 Andreas Schwab <schwab@suse.de>
5335 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
5337 2014-05-12 Joseph Myers <joseph@codesourcery.com>
5339 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
5340 (__ASSUME_UTIMES): Do not condition on kernel version.
5341 (__ASSUME_PSELECT): Define unconditionally.
5342 (__ASSUME_PPOLL): Likewise.
5343 (__ASSUME_ATFCTS): Likewise.
5344 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
5345 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
5346 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
5347 (__ASSUME_UTIMENSAT): Define unconditionally.
5348 (__ASSUME_PRIVATE_FUTEX): Likewise.
5349 (__ASSUME_FALLOCATE): Likewise.
5350 (__ASSUME_O_CLOEXEC): Likewise.
5351 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
5352 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
5353 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
5354 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
5355 (__ASSUME_IN_NONBLOCK): Likewise.
5356 (__ASSUME_PIPE2): Likewise.
5357 (__ASSUME_EVENTFD2): Likewise.
5358 (__ASSUME_SIGNALFD4): Likewise.
5359 (__ASSUME_DUP3): Likewise.
5360 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
5361 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
5362 (__ASSUME_AT_RANDOM): Likewise.
5363 (__ASSUME_PREADV): Likewise.
5364 (__ASSUME_PWRITEV): Likewise.
5365 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
5366 (__ASSUME_F_GETOWN_EX): Define unconditionally.
5367 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
5368 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
5369 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
5370 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5371 (__ASSUME_O_CLOEXEC): Define unconditionally.
5372 (__ASSUME_PSELECT): Do not undefine conditionally.
5373 (__ASSUME_PPOLL): Likewise.
5374 (__ASSUME_ATFCTS): Likewise.
5375 (__ASSUME_SET_ROBUST_LIST): Likewise.
5376 (__ASSUME_UTIMENSAT): Likewise.
5377 (__ASSUME_FDATASYNC): Define unconditionally.
5378 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5379 (__ASSUME_SIGFRAME_V2): Likewise.
5380 )__ASSUME_EVENTFD2): Likewise.
5381 (__ASSUME_SIGNALFD4): Likewise.
5382 (__ASSUME_PSELECT): Do not undefine conditionally.
5383 (__ASSUME_PPOLL): Likewise.
5384 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5385 (__ASSUME_PSELECT): Define unconditionally.
5386 (__ASSUME_PPOLL): Likewise.
5387 (__ASSUME_O_CLOEXEC): Likewise.
5388 (__ASSUME_SOCK_CLOEXEC): Likewise.
5389 (__ASSUME_IN_NONBLOCK): Likewise.
5390 (__ASSUME_PIPE2): Likewise.
5391 (__ASSUME_EVENTFD2): Likewise.
5392 (__ASSUME_SIGNALFD4): Likewise.
5393 (__ASSUME_DUP3): Likewise.
5394 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5395 (__ASSUME_O_CLOEXEC): Likewise.
5396 (__ASSUME_SOCK_CLOEXEC): Likewise.
5397 (__ASSUME_IN_NONBLOCK): Likewise.
5398 (__ASSUME_PIPE2): Likewise.
5399 (__ASSUME_EVENTFD2): Likewise.
5400 (__ASSUME_SIGNALFD4): Likewise.
5401 (__ASSUME_DUP3): Likewise.
5402 * sysdeps/unix/sysv/linux/mips/kernel-features.h
5403 (__ASSUME_EVENTFD2): Likewise.
5404 (__ASSUME_SIGNALFD4): Likewise.
5405 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
5407 2014-05-12 Andreas Schwab <schwab@suse.de>
5410 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
5411 (_nss_nis_gethostbyname4_r): Return error if item length is larger
5412 than maximum RPC packet size.
5413 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
5414 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
5415 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
5416 (_nss_nis_getservbyport_r): Likewise.
5418 2014-05-12 Will Newton <will.newton@linaro.org>
5420 * malloc/Makefile (tests): Add tst-mallopt.
5421 * malloc/tst-mallopt.c: New file.
5423 2014-05-09 Roland McGrath <roland@hack.frob.com>
5425 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
5426 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
5428 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5430 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
5431 (tst-tlsmod6.so): Likewise.
5433 2014-05-09 Roland McGrath <roland@hack.frob.com>
5435 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
5437 2014-05-09 Joseph Myers <joseph@codesourcery.com>
5440 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
5441 and <dl-procinfo.h>.
5442 (__fegetenv): Save SSE state in envp->__eip if supported.
5443 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
5444 envp->__eip if supported.
5445 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
5446 and <dl-procinfo.h>.
5447 (__fesetenv): Always set __eip, __cs_selector, __opcode,
5448 __data_offset and __data_selector in environment to 0. Set SSE
5450 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
5452 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
5454 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
5456 2014-05-09 Will Newton <will.newton@linaro.org>
5458 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
5459 and libc_relro_required for ARM.
5460 * sysdeps/arm/preconfigure: Regenerate.
5462 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
5463 Stefan Liebler <stli@linux.vnet.ibm.com>
5465 * config.make.in (enable-lock-elision): New Makefile variable.
5466 * configure.ac: Likewise.
5467 * configure: Regenerate.
5468 * sysdeps/s390/configure.ac:
5469 Add check for gcc transactions support.
5470 * sysdeps/s390/configure: Regenerate.
5471 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
5472 Build elision files if enabled.
5473 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
5474 Add lock elision support for s390.
5475 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
5476 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
5477 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
5478 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
5479 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
5480 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
5481 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
5483 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
5485 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
5487 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
5489 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
5490 (__lll_timedlock_elision, __lll_lock_elision)
5491 (__lll_unlock_elision, __lll_trylock_elision)
5492 (lll_timedlock_elision, lll_lock_elision)
5493 (lll_unlock_elision, lll_trylock_elision): Add.
5494 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
5495 (pthread_mutex_t): Add lock elision support for s390.
5497 2014-05-14 Wilco <wdijkstr@arm.com>
5499 * sysdeps/arm/fclrexcpt.c: Cleanup.
5500 * sysdeps/arm/fedisblxcpt.c: Cleanup.
5501 * sysdeps/arm/feenablxcpt.c: Cleanup.
5502 * sysdeps/arm/fegetenv.c: Cleanup.
5503 * sysdeps/arm/fegetexcept.c: Cleanup.
5504 * sysdeps/arm/fegetround.c: Cleanup.
5505 * sysdeps/arm/feholdexcpt.c: Cleanup.
5506 * sysdeps/arm/fesetenv.c: Cleanup.
5507 * sysdeps/arm/fesetround.c: Cleanup.
5508 * sysdeps/arm/feupdateenv.c: Cleanup.
5509 * sysdeps/arm/fgetexcptflg.c: Cleanup.
5510 * sysdeps/arm/fraiseexcpt.c: Cleanup.
5511 * sysdeps/arm/fsetexcptflg.c: Cleanup.
5512 * sysdeps/arm/ftestexcept.c: Cleanup.
5513 * sysdeps/arm/get-rounding-mode.h: Cleanup.
5514 * sysdeps/arm/setfpucw.c: Cleanup.
5516 2014-05-09 Will Newton <will.newton@linaro.org>
5518 * sysdeps/arm/armv7/strcmp.S: New file.
5519 * NEWS: Mention addition of ARMv7 optimized strcmp.
5521 2014-05-08 Roland McGrath <roland@hack.frob.com>
5523 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
5524 look for %.ac rather than %.in.
5526 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
5527 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
5528 * sysdeps/mach/hurd/configure: Regenerated.
5529 * sysdeps/unix/sysv/linux/configure: Regenerated.
5531 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
5533 2014-05-07 Steve Ellcey <sellcey@mips.com>
5536 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
5540 2014-05-07 Andreas Schwab <schwab@suse.de>
5542 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
5543 when skipping over non-matching result from nscd.
5545 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
5548 * nptl/sockperf.c (client): Check socket return value.
5551 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
5552 nscd security class.
5554 2014-05-06 Roland McGrath <roland@hack.frob.com>
5556 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
5557 * sysdeps/arm/unwind.h: ... here.
5559 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
5562 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
5565 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
5567 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
5568 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
5569 multiarch strncpy for PPC64.
5570 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
5571 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
5572 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
5573 multiarch optimizations.
5574 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5575 (__libc_ifunc_impl_list): Likewise.
5576 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
5577 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
5578 multiarch stpncpy for PPC64.
5579 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
5580 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
5582 2014-05-06 Andreas Schwab <schwab@suse.de>
5585 * gmon/mcount.c (_MCOUNT_DECL): Use
5586 atomic_compare_and_exchange_bool_acq instead of
5587 catomic_compare_and_exchange_bool_acq.
5589 2014-05-05 Roland McGrath <roland@hack.frob.com>
5591 * elf/Makefile (others, install-bin): Remove pldd.
5592 (pldd-modules): Variable removed.
5593 ($(objpfx)pldd): Target removed.
5594 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
5595 (others, install-bin): Append pldd here.
5596 ($(objpfx)pldd): New target.
5598 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
5599 to 0, so the first #if test emitted later doesn't see it undefined.
5600 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
5601 * sysdeps/gnu/errlist.c: Regenerated.
5603 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5605 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
5606 [libc_hidden_builtin_def]: Define to empty value.
5607 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
5608 [libc_hidden_builtin_def]: Likewise.
5609 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
5610 [libc_hidden_builtin_def]: Likewise.
5611 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
5612 [libc_hidden_builtin_def]: Likewise.
5613 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
5614 __redirect_memcpy and define ifunc as default hidden symbol.
5615 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
5616 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
5618 2014-05-04 Adam Conrad <adconrad@0c3.net>
5620 * locale/iso-4217.def: Reintroduce XDR currency.
5622 2014-05-04 Allan McRae <allan@archlinux.org>
5624 * po/eo.po: Update Esperanto translation from translation project.
5626 2014-05-02 Carlos O'Donell <carlos@redhat.com>
5628 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
5629 and FEATURE_INDEX_MAX to 1.
5630 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
5632 2014-05-01 Steve Ellcey <sellcey@mips.com>
5634 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
5635 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
5636 * iconvdata/big5.c (ONE_DIRECTION): Define.
5637 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
5638 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
5639 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
5640 * iconvdata/cp932.c (ONE_DIRECTION): Define.
5641 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
5642 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
5643 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
5644 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
5645 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
5646 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
5647 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
5648 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
5649 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
5650 * iconvdata/gbk.c (ONE_DIRECTION): Define.
5651 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
5652 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
5653 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
5654 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
5655 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
5656 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
5657 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
5658 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
5659 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
5660 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
5661 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
5662 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
5663 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
5664 * iconvdata/iso646.c (ONE_DIRECTION): Define.
5665 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
5666 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
5667 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
5668 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
5669 * iconvdata/johab.c (ONE_DIRECTION): Define.
5670 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
5671 * iconvdata/sjis.c (ONE_DIRECTION): Define.
5672 * iconvdata/t.61.c (ONE_DIRECTION): Define.
5673 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
5674 * iconvdata/tscii.c (ONE_DIRECTION): Define.
5675 * iconvdata/uhc.c (ONE_DIRECTION): Define.
5676 * iconvdata/unicode.c (ONE_DIRECTION): Define.
5677 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
5678 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
5679 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
5681 2014-05-01 Roland McGrath <roland@hack.frob.com>
5683 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
5684 (_IO_JUMPS_OFFSET): Define to 0.
5686 * nptl/sysdeps/pthread/bits/libc-lock.h
5687 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
5688 (__libc_lock_define_initialized_recursive): Always define using
5689 initializer. Modern compilers treat uninitialized (implicit zero) and
5690 explicit zero initializers the same (i.e. put the datum in bss).
5692 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
5694 * nscd/nscd-client.h: Include <string.h>.
5696 2014-05-01 David S. Miller <davem@davemloft.net>
5699 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
5700 multiple zero bytes exist at the end of a string.
5701 Reported by Aurelien Jarno <aurelien@aurel32.net>
5703 * string/test-strcmp.c (check): Add explicit test for situations where
5704 there are multiple zero bytes after the first.
5706 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
5709 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
5710 when compiling wprintf.
5711 * stdio-common/tstdiomisc.c (t3): New function.
5714 2014-05-01 Steve Ellcey <sellcey@mips.com>
5716 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
5717 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
5718 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
5719 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
5721 2014-05-01 Steve Ellcey <sellcey@mips.com>
5723 * stdlib/longlong.h: Updated from GCC.
5725 2014-05-01 Will Newton <will.newton@linaro.org>
5726 Bernard Ogden <bernie.ogden@linaro.org>
5728 * NEWS: Update fixed bug list.
5731 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
5733 2014-04-30 David S. Miller <davem@davemloft.net>
5735 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
5736 (libc_feholdexcept_setround_sparc_ctx): New function.
5737 (libc_fesetenv_sparc_ctx): Likewise.
5738 (libc_feupdateenv_sparc_ctx): Likewise.
5739 (libc_feholdsetround_sparc_ctx): Likewise.
5740 (libc_feholdexcept_setround_ctx): Define.
5741 (libc_feholdexcept_setroundf_ctx): Likewise.
5742 (libc_feholdexcept_setroundl_ctx): Likewise.
5743 (libc_fesetenv_ctx): Likewise.
5744 (libc_fesetenvf_ctx): Likewise.
5745 (libc_fesetenvl_ctx): Likewise.
5746 (libc_feupdateenv_ctx): Likewise.
5747 (libc_feupdateenvf_ctx): Likewise.
5748 (libc_feupdateenvl_ctx): Likewise.
5749 (libc_feresetround_ctx): Likewise.
5750 (libc_feresetroundf_ctx): Likewise.
5751 (libc_feresetroundl_ctx): Likewise.
5752 (libc_feholdsetround_ctx): Likewise.
5753 (libc_feholdsetroundf_ctx): Likewise.
5754 (libc_feholdsetroundl_ctx): Likewise.
5756 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
5757 with __USE_GNU instead of XOPEN cpp guards.
5759 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
5762 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
5763 with XOPEN cpp guards.
5765 2014-04-30 Julian Brown <julian@codesourcery.com>
5768 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
5771 2014-04-30 Joseph Myers <joseph@codesourcery.com>
5774 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
5776 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
5777 * sysdeps/unix/sysv/linux/configure: Regenerated.
5778 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
5779 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
5780 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
5781 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
5782 * README: Update reference to required Linux kernel version.
5783 * manual/install.texi (Linux): Update reference to required Linux
5784 kernel headers version.
5785 * INSTALL: Regenerated.
5787 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
5789 [POSIX] (limits.h): Likewise.
5790 [POSIX] (math.h): Likewise.
5791 [POSIX] (sys/wait.h): Likewise.
5792 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
5794 [POSIX] (stddef.h): Do not allow header inclusion.
5796 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5798 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
5800 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
5802 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
5803 Return immediately after lll_futex_wake.
5805 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
5808 * nscd/nscd-client.h (datahead_init_common): Initialize entire
5810 (datahead_init_pos): Call datahead_init_common early.
5811 (datahead_init_neg): Likewise.
5813 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
5814 datahead_init_neg): New functions.
5815 * nscd/aicache.c (addhstaiX): Use them.
5816 * nscd/grpcache.c (cache_addgr): Likewise.
5817 * nscd/hstcache.c (cache_addhst): Likewise.
5818 * nscd/initgrcache.c (addinitgroupsX): Likewise.
5819 * nscd/netgroupcache.c (do_notfound): Likewise.
5820 (addgetnetgrentX): Likewise.
5821 (addinnetgrX): Likewise.
5822 * nscd/pwdcache.c (cache_addpw): Likewise.
5823 * nscd/servicescache.c (cache_addserv): Likewise.
5825 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
5826 Atsushi Onoe <atsushi@onoe.org>
5831 * resolv/res_query.c (__libc_res_nsearch): Return if at least
5832 one response is valid.
5833 * resolv/res_send.c (send_dg): Check for validity of other
5834 response if the current response is a referral.
5836 2014-04-29 Steve Ellcey <sellcey@mips.com>
5838 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
5840 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
5843 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
5844 Always divide by positive zero when computing -Inf result.
5845 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
5846 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
5848 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5850 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
5851 FPSCR if value do not change.
5852 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
5853 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
5854 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
5855 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
5856 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
5857 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
5860 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
5862 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
5863 * sysdeps/unix/sysv/linux/hppa: Move directory from
5864 ports/systeps/unix/sysv/linux/hppa.
5865 * README: Update listing for hppa-*-linux-gnu.
5867 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
5870 * manual/stdio.texi (Hook functions): Fix types of stream hook
5873 * socket/sys/socket.h: Fix typo in comment.
5875 2014-04-28 Wilco <wdijkstr@arm.com>
5877 * sysdeps/arm/fenv_private.h: New file.
5878 * sysdeps/arm/math_private.h: New file.
5879 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
5881 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
5883 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
5885 (La_x86_64_retval): Likewise.
5887 2014-04-24 Ian Bolton <ian.bolton@arm.com>
5889 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
5890 fpsr if value didn't change.
5891 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
5892 to fpcr if value didn't change.
5893 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
5894 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
5895 fpsr or fpcr if value didn't change.
5896 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
5897 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
5898 fpcr if value didn't change.
5899 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
5900 to fpsr if value didn't change.
5902 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
5904 * nptl/tst-sem3.c: Use test-skeleton.c
5905 (main): Rename to do_test. Use return instead of
5907 * nptl/tst-sem4.c: Use test-skeleton.c
5908 (main): Rename to do_test.
5910 2014-04-22 David S. Miller <davem@davemloft.net>
5912 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
5913 (struct sigaction): New struct member __glibc_reserved0, change
5914 type of sa_flags to int.
5916 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
5918 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
5919 (COUNT_LEADING_ZEROS_0): Define for AArch64.
5921 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
5923 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
5924 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
5926 2014-04-22 Will Newton <will.newton@linaro.org>
5927 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
5929 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
5930 (__longjmp): Add longjmp and longjmp_target SystemTap
5932 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
5933 (__sigsetjmp): Add setjmp SystemTap probe.
5935 2014-04-17 Carlos O'Donell <carlos@redhat.com>
5937 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
5940 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5942 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
5944 * sysdeps/powerpc/fpu/fenv_private.h
5945 (libc_feholdexcept_setroundl_ctx): Define to
5946 libc_feholdexcept_setround_ppc_ctx.
5947 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
5948 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
5949 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
5950 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
5952 2014-04-17 Ian Bolton <ian.bolton@arm.com>
5954 * sysdeps/aarch64/math-tests.h: New file.
5956 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
5958 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
5960 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5961 Check and set bit_AVX2_Usable.
5962 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
5964 (bit_AVX2): Likewise.
5965 (index_AVX2_Usable): Likewise.
5966 (CPUID_AVX2): Likewise.
5967 (HAS_AVX2): Likewise.
5969 2014-04-17 Will Newton <will.newton@linaro.org>
5971 * manual/setjmp.texi (System V contexts): Add note that
5972 calling setcontext on a context created by a call to a
5973 signal handler is undefined. Update text to note that
5974 setcontext from a signal handler is possible but not
5978 * stdlib/tst-setcontext.c: Include signal.h.
5979 (main): Check that the signal stack before and
5980 after swapcontext is the same.
5982 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
5983 Re-implement to restore registers in user code and avoid
5984 rt_sigreturn system call.
5986 2014-04-17 Wilco <wdijkstr@arm.com>
5988 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
5989 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
5990 * math/test-fenv.c: Skip exception trap tests on targets which only
5991 support non-stop mode.
5993 2014-04-17 Ian Bolton <ian.bolton@arm.com>
5994 Wilco Dijkstra <wilco.dijkstra@arm.com>
5996 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
5997 (libc_feholdsetround_aarch64_ctx)
5998 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
5999 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
6000 (libc_feresetround_ctx, libc_feresetroundf_ctx)
6001 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
6002 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
6003 (libc_feresetround_noexl_ctx): Define.
6005 2014-04-16 Richard Henderson <rth@redhat.com>
6007 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
6009 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
6012 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
6013 const from the non-libc, non-ldso copy.
6015 * sysdeps/alpha/libm-test-ulps: Regenerate.
6017 2014-04-16 Ian Bolton <ian.bolton@arm.com>
6018 Wilco Dijkstra <wilco.dijkstra@arm.com>
6020 * sysdeps/aarch64/fpu/math_private.h: New file.
6022 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
6024 * sysdeps/aarch64/libm-test-ulps: Regenerate.
6026 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
6028 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
6029 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
6030 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
6031 Intel MPX bound registers before _dl_profile_fixup.
6032 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
6033 registers after _dl_profile_fixup. Save and restore bound
6034 registers bnd0/bnd1 when calling _dl_call_pltexit.
6035 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
6036 (LR_BND_OFFSET): Likewise.
6037 (LRV_BND0_OFFSET): Likewise.
6038 (LRV_BND1_OFFSET): Likewise.
6040 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
6042 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
6044 * sysdeps/mach/hurd/i386/tls.h: ... here.
6045 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
6046 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
6049 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
6051 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
6053 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
6055 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
6057 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
6060 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
6061 * sysdeps/s390/configure: Regenerate.
6064 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
6065 Set round-to-nearest internally to reduce error accumulation.
6067 2014-04-16 Alan Modra <amodra@gmail.com>
6071 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
6072 * math/libm-test.inc (frexp_test_data): Add tests.
6073 * NEWS: Update fixed bug list.
6075 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6077 * benchtests/Makefile: Depend on libraries in build directory.
6078 (bench-math): Separate out math tests.
6079 (bench-pthread): Separate out pthread tests.
6080 (bench): Include math and pthread tests.
6082 2014-04-14 Carlos O'Donell <carlos@redhat.com>
6085 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
6086 _dl_debug_initialize.
6088 * configure.ac: Remove SELinux header check.
6089 * configure: Regenerate.
6090 * nscd/selinux.c (perms): Array of const char* to permission names.
6091 (nscd_request_avc_has_perm): Call security_deny_unknown to find
6092 default policy. Call string_to_security_class and string_to_av_perm to
6093 translate strings. Enforce default policy and call avs_has_perm with
6094 results of translated strings.
6096 2014-04-13 David S. Miller <davem@davemloft.net>
6098 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6100 2014-04-12 Allan McRae <allan@archlinux.org>
6103 * manual/string.texi (Collation Functions): Fix qsort argument
6105 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
6107 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
6109 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
6110 Make the test a no-op if there are no exceptions defined.
6112 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
6114 * elf/Makefile (tests): make tst-dlopen-aout conditional on
6115 enable-hardcoded-path-in-tests
6117 2014-04-11 Will Newton <will.newton@linaro.org>
6119 * benchtests/Makefile (extra-objs): Add json-lib.o.
6120 (bench-func): Tidy up JSON output.
6121 * benchtests/bench-skeleton.c: Include json-lib.h.
6122 (main): Use JSON library functions to do output of
6124 * benchtests/bench-timing-type.c (main): Output the
6125 timing type simply, leaving formatting to the user.
6126 * benchtests/json-lib.c: New file.
6127 * benchtests/json-lib.h: Likewise.
6129 2014-04-11 Torvald Riegel <triegel@redhat.com>
6132 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
6133 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
6134 memory barriers. Add comments.
6135 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
6136 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
6137 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
6138 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
6139 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
6140 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
6142 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
6144 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
6145 * sysdeps/s390/s390-64/configure.ac: ... this ...
6146 * sysdeps/s390/configure.ac: ... to here.
6147 * sysdeps/s390/s390-32/configure: Delete file.
6148 * sysdeps/s390/s390-64/configure: Delete file.
6149 * sysdeps/s390/configure: Regenerate.
6151 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
6153 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
6155 2014-04-11 Will Newton <will.newton@linaro.org>
6157 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
6158 to zero if it is not defined elsewhere. (mtrim): Test
6159 the value of MALLOC_DEBUG with #if rather than #ifdef.
6161 2014-04-10 Torvald Riegel <triegel@redhat.com>
6163 * benchtests/pthread_once-inputs: New file.
6164 * benchtests/pthread_once-source.c: New file.
6165 * benchtests/README: Update documentation.
6167 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
6168 H.J. Lu <hongjiu.lu@intel.com>
6170 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
6171 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
6172 * sysdeps/x86_64/configure: Regenerated.
6173 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
6175 (REGISTER_SAVE_RAX): Likewise.
6176 (REGISTER_SAVE_RCX): Likewise.
6177 (REGISTER_SAVE_RDX): Likewise.
6178 (REGISTER_SAVE_RSI): Likewise.
6179 (REGISTER_SAVE_RDI): Likewise.
6180 (REGISTER_SAVE_R8): Likewise.
6181 (REGISTER_SAVE_R9): Likewise.
6182 (REGISTER_SAVE_BND0): Likewise.
6183 (REGISTER_SAVE_BND1): Likewise.
6184 (REGISTER_SAVE_BND2): Likewise.
6185 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
6186 bound registers when calling _dl_fixup.
6188 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6190 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
6191 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
6193 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
6194 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
6195 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
6196 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
6197 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
6198 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
6199 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
6201 2014-04-09 Peter Brett <peter@peter-b.co.uk>
6204 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
6205 pathconf(_PC_NAME_MAX).
6207 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6209 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
6211 (__PTHREAD_SPINS): Move definition to ...
6212 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
6213 (__PTHREAD_SPINS): ... here.
6214 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
6215 (__PTHREAD_SPIN): Likewise.
6216 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
6217 (__PTHREAD_SPIN): Likewise.
6218 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
6219 (__PTHREAD_SPIN): Likewise.
6220 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
6221 (__PTHREAD_SPIN): Likewise.
6222 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
6223 (__PTHREAD_SPIN): Likewise.
6224 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
6225 (__PTHREAD_SPIN): Likewise.
6226 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
6227 (__PTHREAD_SPIN): Likewise.
6228 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
6229 (__PTHREAD_SPIN): Likewise.
6230 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
6231 (__PTHREAD_SPIN): Likewise.
6232 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
6233 (__PTHREAD_SPIN): Likewise.
6234 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
6235 (__PTHREAD_SPIN): Likewise.
6236 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
6237 (__PTHREAD_SPIN): Likewise.
6239 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
6240 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
6241 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
6242 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
6244 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
6245 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
6246 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
6247 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
6249 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
6250 strlen symbol for non multi-arch builds.
6251 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
6252 missing hidden_def and weak_alias.
6254 2014-04-08 Carlos O'Donell <carlos@redhat.com>
6256 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
6258 2014-04-07 Will Newton <will.newton@linaro.org>
6260 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
6261 and contents. [!_LIBC] Remove #ifndef and contents.
6262 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
6263 * string/memccpy.c (__memccpy): Use ANSI prototype.
6264 * string/memfrob.c (memfrob): Likewise.
6265 * string/strcoll.c (STRCOLL): Likewise.
6266 * string/strlen.c (strlen): Likewise.
6267 * string/strtok.c (STRTOK): Likewise.
6268 * string/strcat.c: Remove unused #include of memcopy.h.
6269 (strcat): Use ANSI prototype.
6270 * string/strchr.c: Remove unused #include of memcopy.h.
6271 (strchr): Use ANSI prototype.
6272 * string/strcmp.c: Remove unused #include of memcopy.h.
6273 (strcmp): Use ANSI prototype.
6274 * string/strcpy.c: Remove unused #include of memcopy.h.
6275 (strcpy): Use ANSI prototype.
6277 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6279 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
6280 * config.make.in (config-extra-cppflags): Set it from
6281 libc_extra_cppflags.
6282 * configure.ac (libc_extra_cflags): Make it accumulate over
6283 configure fragments.
6284 (libc_extra_cppflags): New flag.
6285 * configure. Regenerate.
6286 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
6287 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
6288 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
6289 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
6292 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
6293 result for FE_DOWNWARD rounding mode.
6294 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
6296 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6298 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
6300 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
6301 in function argument name.
6303 2014-04-03 David Svoboda <svoboda@cert.org>
6306 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
6309 2014-04-03 Roland McGrath <roland@hack.frob.com>
6311 * elf/dl-unmap-segments.h: New file.
6312 * sysdeps/generic/ldsodefs.h
6313 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
6314 * elf/dl-close.c: Include <dl-unmap-segments.h>.
6315 * elf/dl-fptr.c: Likewise.
6316 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
6317 * sysdeps/aarch64/tlsdesc.c: Likewise.
6318 * sysdeps/arm/tlsdesc.c: Likewise.
6319 * sysdeps/i386/tlsdesc.c: Likewise.
6320 * sysdeps/tile/dl-runtime.c: Likewise.
6321 * sysdeps/x86_64/tlsdesc.c: Likewise.
6322 * elf/dl-load.h: New file.
6323 * elf/dl-load.c: Include it.
6324 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
6325 Macros moved to dl-load.h.
6326 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
6327 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
6328 Use _dl_unmap_segments in place of __munmap.
6329 Break out segment-mapping loop into ...
6330 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
6332 2014-04-03 Will Newton <will.newton@linaro.org>
6334 * elf/dl-lookup.c (do_lookup_x): Remove comment
6335 referring to nested function and move variable
6336 declarations down to before first use.
6338 2014-04-02 Joseph Myers <joseph@codesourcery.com>
6342 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
6344 * math/s_catanf.c (__catanf): Likewise.
6345 * math/s_catanh.c (__catanh): Likewise.
6346 * math/s_catanhf.c (__catanhf): Likewise.
6347 * math/s_catanhl.c (__catanhl): Likewise.
6348 * math/s_catanl.c (__catanl): Likewise.
6349 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
6350 by positive zero when computing -Inf result.
6351 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
6352 (catanh_test): Likewise.
6353 * sysdeps/i386/fpu/libm-test-ulps: Update.
6354 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6357 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
6358 instead of using underflowing value in computing result.
6359 * math/s_clog10.c (__clog10): Likewise.
6360 * math/s_clog10f.c (__clog10f): Likewise.
6361 * math/s_clog10l.c (__clog10l): Likewise.
6362 * math/s_clogf.c (__clogf): Likewise.
6363 * math/s_clogl.c (__clogl): Likewise.
6364 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
6365 (clog10_test): Likewise.
6366 * sysdeps/i386/fpu/libm-test-ulps: Update.
6367 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6369 2014-04-02 Alan Modra <amodra@gmail.com>
6372 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
6373 output when value is near a power of two. Use int64_t for lx and
6374 remove casts. Use decimal rather than hex exponent constants.
6375 Don't use long double multiplication when double will suffice.
6376 * math/libm-test.inc (nextafter_test_data): Add tests.
6377 * NEWS: Add 16739 and 16786 to bug list.
6379 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
6381 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
6383 2014-04-01 Will Newton <will.newton@linaro.org>
6385 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
6386 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
6388 2014-04-01 Florian Weimer <fweimer@redhat.com>
6391 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
6392 * nptl/tst-setuid2.c: New file.
6393 * nptl/Makefile (xtests): Add tst-setuid2.
6395 2014-04-01 Alan Modra <amodra@gmail.com>
6398 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
6400 2014-03-31 Joseph Myers <joseph@codesourcery.com>
6404 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
6405 set errno as appropriate.
6406 * math/w_scalbf.c (__scalbf): Likewise.
6407 * math/w_scalbl.c (__scalbl): Likewise.
6408 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
6409 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
6410 * math/libm-test.inc (scalb_test_data): Add errno expectations.
6414 * math/w_atan2.c: Include <errno.h>.
6415 (__atan2): Set errno for result underflowing to zero.
6416 * math/w_atan2f.c: Include <errno.h>.
6417 (__atan2f): Set errno for result underflowing to zero.
6418 * math/w_atan2l.c: Include <errno.h>.
6419 (__atan2l): Set errno for result underflowing to zero.
6420 * math/auto-libm-test-in: Don't allow missing errno for some atan2
6422 * math/auto-libm-test-out: Regenerated.
6424 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6426 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
6427 Encode instruction correctly in little endian.
6428 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
6430 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
6432 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
6434 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
6437 2014-03-31 Joseph Myers <joseph@codesourcery.com>
6440 * sysdeps/unix/sysv/linux/kernel-features.h
6441 [__sparc__ && !__arch64__ && !__sparc_v9__]
6442 (__ASSUME_SET_ROBUST_LIST): Do not define.
6443 [__sparc__ && !__arch64__ && !__sparc_v9__]
6444 (__ASSUME_FUTEX_LOCK_PI): Likewise.
6445 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
6447 * sysdeps/unix/sysv/linux/arm/kernel-features.h
6448 (__ASSUME_FUTEX_LOCK_PI): Undefine.
6449 (__ASSUME_REQUEUE_PI): Likewise.
6450 (__ASSUME_SET_ROBUST_LIST): Likewise.
6451 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6452 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
6454 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6455 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
6457 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
6459 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
6461 * sysdeps/unix/sysv/linux/mips/kernel-features.h
6462 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
6464 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
6465 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
6469 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6470 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
6471 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
6473 2014-03-31 Will Newton <will.newton@linaro.org>
6475 * benchtests/Makefile (bench): Add ffs and ffsll to list
6477 * benchtests/ffs-inputs: New file.
6478 * benchtests/ffsll-inputs: Likewise.
6480 2014-03-29 Joseph Myers <joseph@codesourcery.com>
6483 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
6484 too large before casting to int.
6485 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
6486 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
6487 * math/libm-test.inc (scalb_test_data): Add more tests.
6489 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
6491 * benchtests/Makefile (DETAILED_OPT): New make option.
6492 (bench-func): Run benchmark program with -d if DETAILED_OPT is
6494 * benchtests/bench-skeleton.c: Include stdbool.h.
6495 (main): Store and print timings per input.
6496 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
6497 member to each argument value.
6498 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
6499 (_print_arg_data): Initialize per-input timing to 0.
6501 * benchtests/Makefile (timing-type): New binary.
6502 (bench-clean): Also remove bench-timing-type.
6503 (bench): New target for timing-type.
6504 (bench-func): Print output in JSON format.
6505 * benchtests/bench-skeleton.c (main): Print output in JSON
6507 * benchtests/bench-timing-type.c: New file.
6508 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
6509 (TIMING_PRINT_STATS): Remove.
6510 * benchtests/scripts/bench.py (_print_arg_data): Store variant
6513 * benchtests/bench-modf.c: Remove.
6514 * benchtests/modf-inputs: New inputs file.
6516 2014-03-28 Joseph Myers <joseph@codesourcery.com>
6519 * math/s_clog10.c (M_PI_LOG10E): New macro.
6520 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
6521 imaginary parts are 0.
6522 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
6523 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
6524 imaginary parts are 0.
6525 * math/s_clog10l.c (M_PI_LOG10El): New macro.
6526 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
6527 imaginary parts are 0.
6528 * math/libm-test.inc (clog10_test_data): Update expected results
6529 for when real and imaginary parts are 0.
6531 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
6533 * elf/dl-load.c: Finish conversion of __builtin_expect into
6536 2014-03-27 Joseph Myers <joseph@codesourcery.com>
6539 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
6540 1+x for argument with exponent below -67.
6541 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
6543 * math/auto-libm-test-in: Add more tests of exp.
6544 * math/auto-libm-test-out: Regenerated.
6546 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
6549 * inet/getnetgrent_r.c (get_nonempty_val): New function.
6550 (nscd_getnetgrent): Use it.
6553 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
6556 2014-03-27 Andi Kleen <ak@linux.intel.com>
6558 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
6559 (lll_robust_lock, lll_cond_lock, lll_timedlock)
6560 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
6561 (lll_robust_unlock): Remove out of line section. Use cfi
6563 (LLL_STUB_UNWIND_INFO*): Remove.
6564 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
6565 (lll_robust_lock, lll_cond_lock, lll_timedlock)
6566 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
6567 (lll_robust_unlock): Remove out of line section. Use cfi
6569 (LLL_STUB_UNWIND_INFO*): Remove.
6571 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
6574 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
6577 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
6579 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
6581 2014-03-26 Joseph Myers <joseph@codesourcery.com>
6584 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
6586 * math/test-fenv-preserve.c: New file.
6587 * math/Makefile (tests): Add test-fenv-preserve.
6589 2014-03-26 Will Newton <will.newton@linaro.org>
6591 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
6593 2014-03-25 Roland McGrath <roland@hack.frob.com>
6595 * scripts/versionlist.awk: Partition the version sets and emit all
6596 GLIBC_* (sorted) before all others (sorted).
6598 2014-03-25 Joseph Myers <joseph@codesourcery.com>
6600 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
6601 GLIBC_2.2.5 version.
6603 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6605 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
6608 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
6611 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6613 2014-03-25 Andreas Schwab <schwab@suse.de>
6615 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
6616 label to be used after in6ailist is initialized.
6618 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6620 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
6621 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
6623 2014-03-25 Joseph Myers <joseph@codesourcery.com>
6627 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
6629 (fp_formats): Update initializers.
6630 (init_fp_formats): Initialize new field.
6631 (output_for_one_input_case): Allow underflow for results up to
6633 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
6634 * math/auto-libm-test-in: Don't mark some underflows from asin and
6636 * math/auto-libm-test-out: Regenerated.
6637 * sysdeps/i386/fpu/libm-test-ulps: Update.
6638 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6640 2014-03-25 Andreas Schwab <schwab@suse.de>
6642 * libio/Makefile (tst-ftell-partial-wide-ENV)
6643 (tst-ftell-active-handler-ENV): Define.
6645 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
6647 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
6649 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
6651 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
6653 2014-03-24 Joseph Myers <joseph@codesourcery.com>
6655 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
6656 * sysdeps/x86_64/fpu/multiarch/e_exp.c
6657 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
6659 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
6662 * elf/dl-load.c (open_verify): Add mode parameter.
6663 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
6664 (open_path): Change from boolean 'secure' to complete flag 'mode'
6665 (_dl_map_object): Adjust.
6666 * elf/Makefile (tests): Add tst-dlopen-aout.
6667 * elf/tst-dlopen-aout.c: New test.
6669 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
6672 * sysdeps/unix/sysv/linux/s390/bits/stat.h
6673 (struct stat): Rename member pad0 to __glibc_reserved0.
6676 * sysdeps/s390/s390-32/bits/wordsize.h
6677 (__WORDSIZE32_SIZE_ULONG): New define.
6678 * sysdeps/s390/s390-64/bits/wordsize.h
6679 (__WORDSIZE32_SIZE_ULONG): Likewise.
6680 * sysdeps/generic/stdint.h (SIZE_MAX):
6681 Define as UL if __WORDSIZE32_SIZE_ULONG.
6684 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
6685 (__glibc_reserved0): New variable.
6686 (sa_flags): Change type to int.
6688 * posix/Makefile (before-compile): Use += before-compile instead
6691 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
6692 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
6694 2014-03-20 Andreas Schwab <schwab@suse.de>
6697 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
6698 non-matching result from nscd.
6700 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
6702 * scripts/bench.py: Moved to ...
6703 * benchtests/scripts/bench.py: ... here.
6704 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
6706 2014-03-24 Andreas Schwab <schwab@suse.de>
6709 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
6710 alloca_account and account alloca use for struct in6ailist.
6712 2014-03-24 Joseph Myers <joseph@codesourcery.com>
6715 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
6716 rounding mode to recompute results that overflow to infinity or
6718 * math/auto-libm-test-in: Don't mark tests as expected to fail for
6720 * math/auto-libm-test-out: Regenerated.
6721 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
6722 (ccosh_test): Likewise.
6723 (csin_test_data): Use plus_oflow.
6724 (csin_test): Use ALL_RM_TEST.
6725 (csinh_test_data): Use plus_oflow.
6726 (csinh_test): Use ALL_RM_TEST.
6727 * sysdeps/i386/fpu/libm-test-ulps: Update.
6728 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6730 2014-03-21 Joseph Myers <joseph@codesourcery.com>
6732 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
6733 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
6734 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
6737 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
6739 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
6740 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
6741 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
6742 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
6744 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
6745 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
6747 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
6748 * sysdeps/i386/fpu/libm-test-ulps: Update.
6749 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6751 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6753 * scripts/bench.pl: Remove file.
6754 * scripts/bench.py: New benchmark script.
6755 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
6756 * benchtests/README: Mention python dependency.
6757 * scripts/pylintrc: New file.
6758 * scripts/pylint: New file.
6760 * bits/mathdef.h: Use #ifdef instead of #if.
6761 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
6762 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
6763 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
6764 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
6765 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
6766 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
6768 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6769 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
6771 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
6772 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
6773 and strpbrk-ppc64 objects.
6774 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6775 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
6776 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
6777 multiarch strpbrk for POWER7.
6778 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
6779 multiarch strpbrk for PPC64.
6780 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
6782 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
6785 2014-03-20 Joseph Myers <joseph@codesourcery.com>
6787 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
6788 (atan_test): Likewise.
6789 (atanh_test_data): Use NO_TEST_INLINE for two tests.
6790 (atanh_test): Use ALL_RM_TEST.
6791 (atan2_test_data): Likewise.
6792 (cabs_test): Likewise.
6793 (cacosh_test): Likewise.
6794 (carg_test): Likewise.
6795 (casin_test): Likewise.
6796 (casinh_test): Likewise.
6797 (cbrt_test): Likewise.
6798 (csqrt_test): Likewise.
6799 (erf_test): Likewise.
6800 (erfc_test): Likewise.
6801 (pow10_test): Likewise.
6802 (exp2_test): Likewise.
6803 (hypot_test): Likewise.
6804 (j0_test): Likewise.
6805 (j1_test): Likewise.
6806 (lgamma_test): Likewise.
6807 (gamma_test): Likewise.
6808 (sincos_test): Likewise.
6809 (tanh_test): Likewise.
6810 (y0_test): Likewise.
6811 (y1_test): Likewise.
6812 * sysdeps/i386/fpu/libm-test-ulps: Update.
6813 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6815 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6817 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
6818 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
6819 and strcspn-ppc64 objects.
6820 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6821 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
6822 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
6823 multiarch strcspn for POWER7.
6824 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
6825 multiarch strcspn for PPC64.
6826 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
6828 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
6831 2014-03-20 Joseph Myers <joseph@codesourcery.com>
6833 * math/gen-libm-test.pl (generate_testfile): Expect only function
6834 name as argument to AUTO_TESTS_* and pass results for all rounding
6835 modes to parse_args.
6836 (parse_auto_input): Separate inputs of automatic tests from
6837 outputs before storing in %auto_tests.
6838 * math/libm-test.inc (acos_test_data): Update call to
6840 (acos_test): Use ALL_RM_TEST.
6841 (acos_tonearest_test_data): Remove.
6842 (acos_test_tonearest): Likewise.
6843 (acos_towardzero_test_data): Likewise.
6844 (acos_test_towardzero): Likewise.
6845 (acos_downward_test_data): Likewise.
6846 (acos_test_downward): Likewise.
6847 (acos_upward_test_data): Likewise.
6848 (acos_test_upward): Likewise.
6849 (acosh_test_data): Update call to AUTO_TESTS_f_f.
6850 (asin_test_data): Likewise.
6851 (asin_test): Use ALL_RM_TEST.
6852 (asin_tonearest_test_data): Remove.
6853 (asin_test_tonearest): Likewise.
6854 (asin_towardzero_test_data): Likewise.
6855 (asin_test_towardzero): Likewise.
6856 (asin_downward_test_data): Likewise.
6857 (asin_test_downward): Likewise.
6858 (asin_upward_test_data): Likewise.
6859 (asin_test_upward): Likewise.
6860 (asinh_test_data): Update call to AUTO_TESTS_f_f.
6861 (atan_test_data): Likewise.
6862 (atanh_test_data): Likewise.
6863 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
6864 (cabs_test_data): Update call to AUTO_TESTS_c_f.
6865 (carg_test_data): Likewise.
6866 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
6867 (ccos_test_data): Update call to AUTO_TESTS_c_c.
6868 (ccosh_test_data): Likewise.
6869 (cexp_test_data): Likewise.
6870 (clog_test_data): Likewise.
6871 (clog10_test_data): Likewise.
6872 (cos_test_data): Update call to AUTO_TESTS_f_f.
6873 (cos_test): Use ALL_RM_TEST.
6874 (cos_tonearest_test_data): Remove.
6875 (cos_test_tonearest): Likewise.
6876 (cos_towardzero_test_data): Likewise.
6877 (cos_test_towardzero): Likewise.
6878 (cos_downward_test_data): Likewise.
6879 (cos_test_downward): Likewise.
6880 (cos_upward_test_data): Likewise.
6881 (cos_test_upward): Likewise.
6882 (cosh_test_data): Update call to AUTO_TESTS_f_f.
6883 (cosh_test): Use ALL_RM_TEST.
6884 (cosh_tonearest_test_data): Remove.
6885 (cosh_test_tonearest): Likewise.
6886 (cosh_towardzero_test_data): Likewise.
6887 (cosh_test_towardzero): Likewise.
6888 (cosh_downward_test_data): Likewise.
6889 (cosh_test_downward): Likewise.
6890 (cosh_upward_test_data): Likewise.
6891 (cosh_test_upward): Likewise.
6892 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
6893 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
6894 (ctan_test_data): Likewise.
6895 (ctan_test): Use ALL_RM_TEST.
6896 (ctan_tonearest_test_data): Remove.
6897 (ctan_test_tonearest): Likewise.
6898 (ctan_towardzero_test_data): Likewise.
6899 (ctan_test_towardzero): Likewise.
6900 (ctan_downward_test_data): Likewise.
6901 (ctan_test_downward): Likewise.
6902 (ctan_upward_test_data): Likewise.
6903 (ctan_test_upward): Likewise.
6904 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
6905 (ctanh_test): Use ALL_RM_TEST.
6906 (ctanh_tonearest_test_data): Remove.
6907 (ctanh_test_tonearest): Likewise.
6908 (ctanh_towardzero_test_data): Likewise.
6909 (ctanh_test_towardzero): Likewise.
6910 (ctanh_downward_test_data): Likewise.
6911 (ctanh_test_downward): Likewise.
6912 (ctanh_upward_test_data): Likewise.
6913 (ctanh_test_upward): Likewise.
6914 (erf_test_data): Update call to AUTO_TESTS_f_f.
6915 (erfc_test_data): Likewise.
6916 (exp_test_data): Likewise.
6917 (exp_test): Use ALL_RM_TEST.
6918 (exp_tonearest_test_data): Remove.
6919 (exp_test_tonearest): Likewise.
6920 (exp_towardzero_test_data): Likewise.
6921 (exp_test_towardzero): Likewise.
6922 (exp_downward_test_data): Likewise.
6923 (exp_test_downward): Likewise.
6924 (exp_upward_test_data): Likewise.
6925 (exp_test_upward): Likewise.
6926 (exp10_test_data): Update call to AUTO_TESTS_f_f.
6927 (exp10_test): Use ALL_RM_TEST.
6928 (exp10_tonearest_test_data): Remove.
6929 (exp10_test_tonearest): Likewise.
6930 (exp10_towardzero_test_data): Likewise.
6931 (exp10_test_towardzero): Likewise.
6932 (exp10_downward_test_data): Likewise.
6933 (exp10_test_downward): Likewise.
6934 (exp10_upward_test_data): Likewise.
6935 (exp10_test_upward): Likewise.
6936 (exp2_test_data): Update call to AUTO_TESTS_f_f.
6937 (expm1_test_data): Likewise.
6938 (expm1_test): Use ALL_RM_TEST.
6939 (expm1_tonearest_test_data): Remove.
6940 (expm1_test_tonearest): Likewise.
6941 (expm1_towardzero_test_data): Likewise.
6942 (expm1_test_towardzero): Likewise.
6943 (expm1_downward_test_data): Likewise.
6944 (expm1_test_downward): Likewise.
6945 (expm1_upward_test_data): Likewise.
6946 (expm1_test_upward): Likewise.
6947 (fma_test_data): Update call to AUTO_TESTS_fff_f.
6948 (fma_test): Use ALL_RM_TEST.
6949 (fma_towardzero_test_data): Remove.
6950 (fma_test_towardzero): Likewise.
6951 (fma_downward_test_data): Likewise.
6952 (fma_test_downward): Likewise.
6953 (fma_upward_test_data): Likewise.
6954 (fma_test_upward): Likewise.
6955 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
6956 (j0_test_data): Update call to AUTO_TESTS_f_f.
6957 (j1_test_data): Likewise.
6958 (jn_test_data): Update call to AUTO_TESTS_if_f.
6959 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
6960 (log_test_data): Update call to AUTO_TESTS_f_f.
6961 (log10_test_data): Likewise.
6962 (log1p_test_data): Likewise.
6963 (log2_test_data): Likewise.
6964 (pow_test_data): Update call to AUTO_TESTS_ff_f.
6965 (pow_tonearest_test_data): Likewise.
6966 (sin_test_data): Update call to AUTO_TESTS_f_f.
6967 (sin_test): Use ALL_RM_TEST.
6968 (sin_tonearest_test_data): Remove.
6969 (sin_test_tonearest): Likewise.
6970 (sin_towardzero_test_data): Likewise.
6971 (sin_test_towardzero): Likewise.
6972 (sin_downward_test_data): Likewise.
6973 (sin_test_downward): Likewise.
6974 (sin_upward_test_data): Likewise.
6975 (sin_test_upward): Likewise.
6976 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
6977 (sinh_test_data): Update call to AUTO_TESTS_f_f.
6978 (sinh_test): Use ALL_RM_TEST.
6979 (sinh_tonearest_test_data): Remove.
6980 (sinh_test_tonearest): Likewise.
6981 (sinh_towardzero_test_data): Likewise.
6982 (sinh_test_towardzero): Likewise.
6983 (sinh_downward_test_data): Likewise.
6984 (sinh_test_downward): Likewise.
6985 (sinh_upward_test_data): Likewise.
6986 (sinh_test_upward): Likewise.
6987 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
6988 (sqrt_test): Use ALL_RM_TEST.
6989 (sqrt_tonearest_test_data): Remove.
6990 (sqrt_test_tonearest): Likewise.
6991 (sqrt_towardzero_test_data): Likewise.
6992 (sqrt_test_towardzero): Likewise.
6993 (sqrt_downward_test_data): Likewise.
6994 (sqrt_test_downward): Likewise.
6995 (sqrt_upward_test_data): Likewise.
6996 (sqrt_test_upward): Likewise.
6997 (tan_test_data): Update call to AUTO_TESTS_f_f.
6998 (tan_test): Use ALL_RM_TEST.
6999 (tan_tonearest_test_data): Remove.
7000 (tan_test_tonearest): Likewise.
7001 (tan_towardzero_test_data): Likewise.
7002 (tan_test_towardzero): Likewise.
7003 (tan_downward_test_data): Likewise.
7004 (tan_test_downward): Likewise.
7005 (tan_upward_test_data): Likewise.
7006 (tan_test_upward): Likewise.
7007 (tanh_test_data): Update call to AUTO_TESTS_f_f.
7008 (tgamma_test_data): Likewise.
7009 (y0_test_data): Likewise.
7010 (y1_test_data): Likewise.
7011 (yn_test_data): Update call to AUTO_TESTS_if_f.
7012 (main): Do not call removed functions.
7014 2014-03-19 Joseph Myers <joseph@codesourcery.com>
7016 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
7017 (ldexp_test_data): Remove.
7018 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
7020 (scalb_test): Use ALL_RM_TEST.
7022 2014-03-19 Andreas Schwab <schwab@suse.de>
7024 * nscd/nscd.service: Also invalidate netgroup cache on reload.
7026 2014-03-19 Joseph Myers <joseph@codesourcery.com>
7029 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7030 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
7031 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
7032 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7033 (__ASSUME_PREADV): Undefine.
7034 (__ASSUME_PWRITEV): Likewise.
7036 2014-03-18 Roland McGrath <roland@hack.frob.com>
7038 * bits/mman-linux.h: Add comment about non-Linux use.
7039 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
7040 bits/mman-linux.h resting place.
7042 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
7043 * bits/mman-linux.h: ... here.
7045 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7047 * conform/conformtest.pl: Add standard definition when calling C
7048 preprocessor on data files.
7049 (checknamespace): Remove unused variable.
7051 2014-03-18 Joseph Myers <joseph@codesourcery.com>
7053 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
7054 minus_oflow, plus_uflow and minus_uflow in expected results.
7055 * math/libm-test.inc (scalbn_test_data): Add more tests of
7056 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
7058 (scalbn_test): Use ALL_RM_TEST.
7059 (scalbln_test_data): Add more tests of negative arguments. Use
7060 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
7061 (scalbln_test): Use ALL_RM_TEST.
7063 2014-03-18 Roland McGrath <roland@hack.frob.com>
7065 * scripts/abilist.awk: Ignore symbols marked with .hidden.
7067 2014-03-18 Will Newton <will.newton@linaro.org>
7069 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
7072 2014-03-18 Joseph Myers <joseph@codesourcery.com>
7074 * Makerules [!subdir] (check-abi): Exit with error status if a
7077 2014-03-17 Joseph Myers <joseph@codesourcery.com>
7079 * math/libm-test.inc (nearbyint_test_data): Include all tests used
7080 for rint. Include results for all rounding modes.
7081 (nearbyint_test): Use ALL_RM_TEST.
7082 (rint_test_data): Include all tests used for nearbyint.
7084 2014-03-17 Will Newton <will.newton@linaro.org>
7086 * nptl/sysdeps/pthread/pthread.h: Revert previous
7089 * sysdeps/generic/ldsodefs.h: Revert previous
7092 * libio/genops.c: Revert previous change.
7093 * libio/libioP.h: Likewise.
7094 * stdio-common/vfprintf.c: Likewise.
7096 * sysdeps/generic/math_private.h: Revert previous
7099 * sysdeps/generic/math_private.h: Check whether
7100 HAVE_RM_CTX is defined with #ifdef rather
7103 * argp/argp-fmtstream.h: Check whether
7104 __STRICT_ANSI__ is defined with #ifdef rather
7106 * argp/argp.h: Likewise.
7108 * libio/genops.c: Check whether
7109 _IO_JUMPS_OFFSET is defined with #ifdef rather
7111 * libio/libioP.h: Likewise.
7112 * stdio-common/vfprintf.c: Likewise.
7114 * sysdeps/generic/ldsodefs.h: Check whether
7115 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
7118 * nptl/sysdeps/pthread/pthread.h: Check
7119 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
7122 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
7124 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
7126 * libio/tst-ftell-active-handler.c (do_append_test): Add a
7130 * libio/fileops.c (_IO_file_open): Seek to end of file but
7131 don't cache the offset.
7132 (get_file_offset): Remove function.
7133 (do_ftell): Use cached offset when available.
7134 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
7135 don't cache the offset.
7136 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
7138 (do_one_test): Call it.
7139 (do_ftell_test): Fix up expected old offset for a+ mode.
7140 * libio/wfileops.c (do_ftell_wide): Used cached offset when
7143 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
7144 up test status with function return status.
7145 (do_write_test): Likewise.
7146 (do_append_test): Likewise.
7148 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
7149 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
7152 2014-03-17 Joseph Myers <joseph@codesourcery.com>
7154 * math/gen-libm-test.pl (parse_args): Handle results specified for
7155 each rounding mode separately.
7156 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
7157 tests and results from lrint_tonearest_test_data,
7158 lrint_towardzero_test_data, lrint_downward_test_data and
7159 lrint_upward_test_data.
7160 (lrint_test): Use ALL_RM_TEST.
7161 (lrint_tonearest_test_data): Remove.
7162 (lrint_test_tonearest): Likewise.
7163 (lrint_towardzero_test_data): Likewise.
7164 (lrint_test_towardzero): Likewise.
7165 (lrint_downward_test_data): Likewise.
7166 (lrint_test_downward): Likewise.
7167 (lrint_upward_test_data): Likewise.
7168 (lrint_test_upward): Likewise.
7169 (llrint_test_data): Merge in per-rounding-mode tests and results
7170 from llrint_tonearest_test_data, llrint_towardzero_test_data,
7171 llrint_downward_test_data and llrint_upward_test_data.
7172 (llrint_test): Use ALL_RM_TEST.
7173 (llrint_tonearest_test_data): Remove.
7174 (llrint_test_tonearest): Likewise.
7175 (llrint_towardzero_test_data): Likewise.
7176 (llrint_test_towardzero): Likewise.
7177 (llrint_downward_test_data): Likewise.
7178 (llrint_test_downward): Likewise.
7179 (llrint_upward_test_data): Likewise.
7180 (llrint_test_upward): Likewise.
7181 (rint_test_data): Merge in per-rounding-mode tests and results
7182 from rint_tonearest_test_data, rint_towardzero_test_data,
7183 rint_downward_test_data and rint_upward_test_data. Add
7184 per-rounding-mode results for tests not in those arrays.
7185 (rint_test): Use ALL_RM_TEST.
7186 (rint_tonearest_test_data): Remove.
7187 (rint_test_tonearest): Likewise.
7188 (rint_towardzero_test_data): Likewise.
7189 (rint_test_towardzero): Likewise.
7190 (rint_downward_test_data): Likewise.
7191 (rint_test_downward): Likewise.
7192 (rint_upward_test_data): Likewise.
7193 (rint_test_upward): Likewise.
7194 (main): Don't call removed functions.
7196 2014-03-14 Roland McGrath <roland@hack.frob.com>
7198 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
7199 "Compiled on ..." crapola. It is anti-useful.
7201 2014-03-14 Joseph Myers <joseph@codesourcery.com>
7203 * scripts/evaluate-test.sh: Handle fourth argument to determine
7204 whether test run should stop on failure.
7205 * Makeconfig (stop-on-test-failure): New variable.
7206 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
7207 $(stop-on-test-failure).
7208 * Makefile (tests): Give a summary of results from testing and
7209 exit with failure status if they include an ERROR or FAIL.
7211 * manual/install.texi (Configuring and compiling): Mention
7212 stop-on-test-failure=y.
7213 * INSTALL: Regenerated.
7215 2014-03-14 Roland McGrath <roland@hack.frob.com>
7217 * scripts/versionlist.awk: New file.
7218 * Makerules [$(build-shared) = yes]
7219 (postclean-generated): Add Versions.def, not Versions.def.v and
7221 ($(common-objpfx)Versions.def.v.i): Target removed.
7222 ($(common-objpfx)Versions.def): New target.
7223 ($(common-objpfx)Versions.all): Depend on that rather that
7224 $(common-objpfx)Versions.def.v.
7225 * Versions.def: File removed.
7227 * Makeconfig (+gccwarn): Add -Wundef.
7228 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
7229 a dl-sysdep.h breaking its contract.
7230 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
7231 * include/stackinfo.h: New file.
7232 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
7233 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
7234 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
7235 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
7236 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
7237 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
7238 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7239 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7240 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7241 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7242 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7243 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
7244 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7245 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7246 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7248 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7251 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
7253 * math/libm-test.inc (round_test_data): Add more tests.
7256 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
7258 * math/libm-test.inc (nearbyint_test_data): Add more tests.
7261 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
7263 * math/libm-test.inc (ceil_test_data): Add more tests.
7265 * math/libm-test.inc (trunc_test_data): Add more tests related to
7268 2014-03-14 Roland McGrath <roland@hack.frob.com>
7270 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
7271 with #if rather than #ifdef.
7272 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
7274 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
7276 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
7277 first. Disable AVX-512 GCC support if assembler doesn't support
7279 * sysdeps/x86_64/configure: Regenerated.
7281 2014-03-13 Carlos O'Donell <carlos@redhat.com>
7283 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
7284 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
7285 (__old_pthread_attr_setstack): Likewise.
7286 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
7287 [!_STACK_GROWS_DOWN]: Likewise.
7289 2014-03-13 Mike Frysinger <vapier@gentoo.org>
7291 * config.make.in (have-bash2): Delete.
7292 * configure.ac (libc_cv_have_bash2): Delete.
7293 * configure: Regenerate.
7294 * elf/Makefile (common-ldd-rewrite): Rename to ...
7295 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
7296 (sh-ldd-rewrite): Delete.
7297 (bash-ldd-rewrite): Delete.
7298 (have-bash2): Delete checks.
7299 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
7302 * config.make.in (have-ksh): Delete.
7304 * configure.ac (libc_cv_have_ksh): Delete.
7305 * configure: Regenerate.
7307 * elf/Makefile: Delete $(have-ksh) check.
7308 ($(objpfx)sotruss): Change KSH to BASH.
7309 * elf/sotruss.ksh: Rename to ...
7310 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
7311 function style to match POSIX. Drop ksh vim mode setting.
7313 * manual/time.texi (Specifying the Time Zone with TZ): Change
7314 Tuesday to Thursday.
7316 * debug/tst-longjmp_chk2.c: Update header comment.
7317 (stackoverflow_handler): Add comment. Call assert on pass value.
7319 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
7321 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
7322 (HAVE_AVX512_ASM_SUPPORT): Likewise.
7323 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
7324 (La_x86_64_vector): Add zmm.
7325 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
7326 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
7327 ($(objpfx)tst-audit10): New target.
7328 ($(objpfx)tst-audit10.out): Likewise.
7329 (tst-audit10-ENV): New.
7330 (AVX512-CFLAGS): Likewise.
7331 (CFLAGS-tst-audit10.c): Likewise.
7332 (CFLAGS-tst-auditmod10a.c): Likewise.
7333 (CFLAGS-tst-auditmod10b.c): Likewise.
7334 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
7335 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
7336 * sysdeps/x86_64/configure: Regenerated.
7337 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
7338 AVX-512 zmm register support.
7339 (_dl_x86_64_save_sse): Likewise.
7340 (_dl_x86_64_restore_sse): Likewise.
7341 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
7342 size vector registers.
7343 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
7344 (ZMM_SIZE): Likewise.
7345 * sysdeps/x86_64/tst-audit10.c: New file.
7346 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
7347 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
7349 2014-03-13 Roland McGrath <roland@hack.frob.com>
7351 * configure.ac (HAVE_EHDR_START): New check.
7352 * configure: Regenerated.
7353 * config.h.in (HAVE_EHDR_START): New #undef.
7354 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
7355 assuming the lowest-addressed segment maps the start of the file.
7357 2014-03-13 Joseph Myers <joseph@codesourcery.com>
7359 * INSTALL: Regenerated.
7361 2014-03-13 Will Newton <will.newton@linaro.org>
7363 * manual/setjmp.texi (System V contexts): Improve
7364 clarity and grammar of documentation.
7366 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
7369 * elf/Makefile (tests): Add tst-pie2.
7370 (tests-pie): Add tst-pie2.
7371 * elf/tst-pie2.c: New file.
7372 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
7374 * elf/rtld.c (map_doit): Load executable as lt_executable.
7375 (dl_main): Likewise.
7377 2014-03-12 Joseph Myers <joseph@codesourcery.com>
7380 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7381 (__ASSUME_PSELECT): Undefine.
7383 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7386 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
7387 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
7389 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
7390 selector for static builds.
7392 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
7395 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
7398 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7400 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
7401 IFUNC selector for static builds.
7403 2014-03-11 Joseph Myers <joseph@codesourcery.com>
7405 * sysdeps/mips/math_private.h [__mips_hard_float]
7406 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
7407 libc_feresetround_mips_ctx.
7408 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
7409 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
7410 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
7413 * math/s_nextafter.c (__nextafter): Do not return value from
7414 overflowing computation.
7415 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
7416 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
7417 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
7419 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
7421 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
7422 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
7424 2014-03-11 Roland McGrath <roland@hack.frob.com>
7426 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
7427 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
7428 Move sfi_sp use from the load-multiple (that no longer sets sp) to
7429 the new mov targetting sp.
7431 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7434 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
7435 Define it for static builds as well.
7436 (NO_BZERO_IMPL): Likewise.
7438 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
7440 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
7441 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
7442 multiarch strspn for PPC64.
7443 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
7444 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
7445 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7446 (__libc_ifunc_impl_list): Likewise.
7447 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
7448 multiarch optimizations
7449 * string/strspn.c (strspn): Using macro to redefine symbol name.
7451 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
7452 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7454 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
7455 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
7456 multiarch strncat for PPC64.
7457 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
7458 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
7459 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7460 (__libc_ifunc_impl_list): Likewise.
7461 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
7462 multiarch optimizations
7464 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7467 * nscd/nscd.service: Make service type forking.
7469 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7471 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
7472 sign in non default rounding modes.
7473 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
7475 2014-03-08 Joseph Myers <joseph@codesourcery.com>
7477 * math/libm-test.inc (ALL_RM_TEST): New macro.
7478 (ceil_test): Use ALL_RM_TEST.
7479 (cimag_test): Likewise.
7480 (conj_test): Likewise.
7481 (copysign_test): Likewise.
7482 (cproj_test): Likewise.
7483 (creal_test): Likewise.
7484 (fabs_test): Likewise.
7485 (floor_test): Likewise.
7486 (fmax_test): Likewise.
7487 (fmin_test): Likewise.
7488 (fmod_test): Likewise.
7489 (fpclassify_test): Likewise.
7490 (frexp_test): Likewise.
7491 (ilogb_test): Likewise.
7492 (isfinite_test): Likewise.
7493 (finite_test): Likewise.
7494 (isgreater_test): Likewise.
7495 (isgreaterequal_test): Likewise.
7496 (isinf_test): Likewise.
7497 (isless_test): Likewise.
7498 (islessequal_test): Likewise.
7499 (islessgreater_test): Likewise.
7500 (isnan_test): Likewise.
7501 (isnormal_test): Likewise.
7502 (issignaling_test): Likewise.
7503 (isunordered_test): Likewise.
7504 (logb_test): Likewise.
7505 (logb_downward_test_data): Remove.
7506 (logb_test_downward): Likewise.
7507 (lround_test): Use ALL_RM_TEST.
7508 (llround_test): Likewise.
7509 (modf_test): Likewise.
7510 (nexttoward_test): Likewise.
7511 (remainder_test): Likewise.
7512 (drem_test): Likewise.
7513 (remainder_tonearest_test_data): Likewise.
7514 (remainder_test_tonearest): Likewise.
7515 (drem_test_tonearest): Likewise.
7516 (remainder_towardzero_test_data): Likewise.
7517 (remainder_test_towardzero): Likewise.
7518 (drem_test_towardzero): Likewise.
7519 (remainder_downward_test_data): Likewise.
7520 (remainder_test_downward): Likewise.
7521 (drem_test_downward): Likewise.
7522 (remainder_upward_test_data): Likewise.
7523 (remainder_test_upward): Likewise.
7524 (drem_test_upward): Likewise.
7525 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
7526 (round_test): Use ALL_RM_TEST.
7527 (signbit_test): Likewise.
7528 (trunc_test): Likewise.
7529 (significand_test): Likewise.
7530 (main): Don't call removed functions.
7532 2014-03-07 Joseph Myers <joseph@codesourcery.com>
7535 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
7537 (ILL_ILLOPN): Likewise.
7538 (ILL_ILLADR): Likewise.
7539 (ILL_ILLTRP): Likewise.
7540 (ILL_PRVOPC): Likewise.
7541 (ILL_PRVREG): Likewise.
7542 (ILL_COPROC): Likewise.
7543 (ILL_BADSTK): Likewise.
7544 (FPE_INTDIV): Likewise.
7545 (FPE_INTOVF): Likewise.
7546 (FPE_FLTDIV): Likewise.
7547 (FPE_FLTOVF): Likewise.
7548 (FPE_FLTUND): Likewise.
7549 (FPE_FLTRES): Likewise.
7550 (FPE_FLTINV): Likewise.
7551 (FPE_FLTSUB): Likewise.
7552 (SEGV_MAPERR): Likewise.
7553 (SEGV_ACCERR): Likewise.
7554 (BUS_ADRALN): Likewise.
7555 (BUS_ADRERR): Likewise.
7556 (BUS_OBJERR): Likewise.
7557 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7558 (TRAP_TRACE): Likewise.
7559 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7561 (CLD_KILLED): Likewise.
7562 (CLD_DUMPED): Likewise.
7563 (CLD_TRAPPED): Likewise.
7564 (CLD_STOPPED): Likewise.
7565 (CLD_CONTINUED): Likewise.
7566 (POLL_IN): Likewise.
7567 (POLL_OUT): Likewise.
7568 (POLL_MSG): Likewise.
7569 (POLL_ERR): Likewise.
7570 (POLL_PRI): Likewise.
7571 (POLL_HUP): Likewise.
7572 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
7574 (ILL_ILLOPN): Likewise.
7575 (ILL_ILLADR): Likewise.
7576 (ILL_ILLTRP): Likewise.
7577 (ILL_PRVOPC): Likewise.
7578 (ILL_PRVREG): Likewise.
7579 (ILL_COPROC): Likewise.
7580 (ILL_BADSTK): Likewise.
7581 (FPE_INTDIV): Likewise.
7582 (FPE_INTOVF): Likewise.
7583 (FPE_FLTDIV): Likewise.
7584 (FPE_FLTOVF): Likewise.
7585 (FPE_FLTUND): Likewise.
7586 (FPE_FLTRES): Likewise.
7587 (FPE_FLTINV): Likewise.
7588 (FPE_FLTSUB): Likewise.
7589 (SEGV_MAPERR): Likewise.
7590 (SEGV_ACCERR): Likewise.
7591 (BUS_ADRALN): Likewise.
7592 (BUS_ADRERR): Likewise.
7593 (BUS_OBJERR): Likewise.
7594 (BUS_MCEERR_AR): Likewise.
7595 (BUS_MCEERR_AO): Likewise.
7596 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7597 (TRAP_TRACE): Likewise.
7598 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7600 (CLD_KILLED): Likewise.
7601 (CLD_DUMPED): Likewise.
7602 (CLD_TRAPPED): Likewise.
7603 (CLD_STOPPED): Likewise.
7604 (CLD_CONTINUED): Likewise.
7605 (POLL_IN): Likewise.
7606 (POLL_OUT): Likewise.
7607 (POLL_MSG): Likewise.
7608 (POLL_ERR): Likewise.
7609 (POLL_PRI): Likewise.
7610 (POLL_HUP): Likewise.
7611 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
7612 (ILL_ILLOPN): Likewise.
7613 (ILL_ILLADR): Likewise.
7614 (ILL_ILLTRP): Likewise.
7615 (ILL_PRVOPC): Likewise.
7616 (ILL_PRVREG): Likewise.
7617 (ILL_COPROC): Likewise.
7618 (ILL_BADSTK): Likewise.
7619 (FPE_INTDIV): Likewise.
7620 (FPE_INTOVF): Likewise.
7621 (FPE_FLTDIV): Likewise.
7622 (FPE_FLTOVF): Likewise.
7623 (FPE_FLTUND): Likewise.
7624 (FPE_FLTRES): Likewise.
7625 (FPE_FLTINV): Likewise.
7626 (FPE_FLTSUB): Likewise.
7627 (SEGV_MAPERR): Likewise.
7628 (SEGV_ACCERR): Likewise.
7629 (BUS_ADRALN): Likewise.
7630 (BUS_ADRERR): Likewise.
7631 (BUS_OBJERR): Likewise.
7632 (BUS_MCEERR_AR): Likewise.
7633 (BUS_MCEERR_AO): Likewise.
7634 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7635 (TRAP_TRACE): Likewise.
7636 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7638 (CLD_KILLED): Likewise.
7639 (CLD_DUMPED): Likewise.
7640 (CLD_TRAPPED): Likewise.
7641 (CLD_STOPPED): Likewise.
7642 (CLD_CONTINUED): Likewise.
7643 (POLL_IN): Likewise.
7644 (POLL_OUT): Likewise.
7645 (POLL_MSG): Likewise.
7646 (POLL_ERR): Likewise.
7647 (POLL_PRI): Likewise.
7648 (POLL_HUP): Likewise.
7649 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
7651 (ILL_ILLOPN): Likewise.
7652 (ILL_ILLADR): Likewise.
7653 (ILL_ILLTRP): Likewise.
7654 (ILL_PRVOPC): Likewise.
7655 (ILL_PRVREG): Likewise.
7656 (ILL_COPROC): Likewise.
7657 (ILL_BADSTK): Likewise.
7658 (ILL_BADIADDR): Likewise.
7659 (ILL_BREAK): Likewise.
7660 (FPE_INTDIV): Likewise.
7661 (FPE_INTOVF): Likewise.
7662 (FPE_FLTDIV): Likewise.
7663 (FPE_FLTOVF): Likewise.
7664 (FPE_FLTUND): Likewise.
7665 (FPE_FLTRES): Likewise.
7666 (FPE_FLTINV): Likewise.
7667 (FPE_FLTSUB): Likewise.
7668 (FPE_DECOVF): Likewise.
7669 (FPE_DECDIV): Likewise.
7670 (FPE_DECERR): Likewise.
7671 (FPE_INVASC): Likewise.
7672 (FPE_INVDEC): Likewise.
7673 (SEGV_MAPERR): Likewise.
7674 (SEGV_ACCERR): Likewise.
7675 (SEGV_PSTKOVF): Likewise.
7676 (BUS_ADRALN): Likewise.
7677 (BUS_ADRERR): Likewise.
7678 (BUS_OBJERR): Likewise.
7679 (BUS_MCEERR_AR): Likewise.
7680 (BUS_MCEERR_AO): Likewise.
7681 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7682 (TRAP_TRACE): Likewise.
7683 (TRAP_BRANCH): Likewise.
7684 (TRAP_HWBKPT): Likewise.
7685 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7687 (CLD_KILLED): Likewise.
7688 (CLD_DUMPED): Likewise.
7689 (CLD_TRAPPED): Likewise.
7690 (CLD_STOPPED): Likewise.
7691 (CLD_CONTINUED): Likewise.
7692 (POLL_IN): Likewise.
7693 (POLL_OUT): Likewise.
7694 (POLL_MSG): Likewise.
7695 (POLL_ERR): Likewise.
7696 (POLL_PRI): Likewise.
7697 (POLL_HUP): Likewise.
7698 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
7699 (ILL_ILLOPN): Likewise.
7700 (ILL_ILLADR): Likewise.
7701 (ILL_ILLTRP): Likewise.
7702 (ILL_PRVOPC): Likewise.
7703 (ILL_PRVREG): Likewise.
7704 (ILL_COPROC): Likewise.
7705 (ILL_BADSTK): Likewise.
7706 (FPE_INTDIV): Likewise.
7707 (FPE_INTOVF): Likewise.
7708 (FPE_FLTDIV): Likewise.
7709 (FPE_FLTOVF): Likewise.
7710 (FPE_FLTUND): Likewise.
7711 (FPE_FLTRES): Likewise.
7712 (FPE_FLTINV): Likewise.
7713 (FPE_FLTSUB): Likewise.
7714 (SEGV_MAPERR): Likewise.
7715 (SEGV_ACCERR): Likewise.
7716 (BUS_ADRALN): Likewise.
7717 (BUS_ADRERR): Likewise.
7718 (BUS_OBJERR): Likewise.
7719 (BUS_MCEERR_AR): Likewise.
7720 (BUS_MCEERR_AO): Likewise.
7721 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7722 (TRAP_TRACE): Likewise.
7723 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7725 (CLD_KILLED): Likewise.
7726 (CLD_DUMPED): Likewise.
7727 (CLD_TRAPPED): Likewise.
7728 (CLD_STOPPED): Likewise.
7729 (CLD_CONTINUED): Likewise.
7730 (POLL_IN): Likewise.
7731 (POLL_OUT): Likewise.
7732 (POLL_MSG): Likewise.
7733 (POLL_ERR): Likewise.
7734 (POLL_PRI): Likewise.
7735 (POLL_HUP): Likewise.
7736 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
7737 (ILL_ILLOPN): Likewise.
7738 (ILL_ILLADR): Likewise.
7739 (ILL_ILLTRP): Likewise.
7740 (ILL_PRVOPC): Likewise.
7741 (ILL_PRVREG): Likewise.
7742 (ILL_COPROC): Likewise.
7743 (ILL_BADSTK): Likewise.
7744 (FPE_INTDIV): Likewise.
7745 (FPE_INTOVF): Likewise.
7746 (FPE_FLTDIV): Likewise.
7747 (FPE_FLTOVF): Likewise.
7748 (FPE_FLTUND): Likewise.
7749 (FPE_FLTRES): Likewise.
7750 (FPE_FLTINV): Likewise.
7751 (FPE_FLTSUB): Likewise.
7752 (SEGV_MAPERR): Likewise.
7753 (SEGV_ACCERR): Likewise.
7754 (BUS_ADRALN): Likewise.
7755 (BUS_ADRERR): Likewise.
7756 (BUS_OBJERR): Likewise.
7757 (BUS_MCEERR_AR): Likewise.
7758 (BUS_MCEERR_AO): Likewise.
7759 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7760 (TRAP_TRACE): Likewise.
7761 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7763 (CLD_KILLED): Likewise.
7764 (CLD_DUMPED): Likewise.
7765 (CLD_TRAPPED): Likewise.
7766 (CLD_STOPPED): Likewise.
7767 (CLD_CONTINUED): Likewise.
7768 (POLL_IN): Likewise.
7769 (POLL_OUT): Likewise.
7770 (POLL_MSG): Likewise.
7771 (POLL_ERR): Likewise.
7772 (POLL_PRI): Likewise.
7773 (POLL_HUP): Likewise.
7774 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
7775 (ILL_ILLOPN): Likewise.
7776 (ILL_ILLADR): Likewise.
7777 (ILL_ILLTRP): Likewise.
7778 (ILL_PRVOPC): Likewise.
7779 (ILL_PRVREG): Likewise.
7780 (ILL_COPROC): Likewise.
7781 (ILL_BADSTK): Likewise.
7782 (FPE_INTDIV): Likewise.
7783 (FPE_INTOVF): Likewise.
7784 (FPE_FLTDIV): Likewise.
7785 (FPE_FLTOVF): Likewise.
7786 (FPE_FLTUND): Likewise.
7787 (FPE_FLTRES): Likewise.
7788 (FPE_FLTINV): Likewise.
7789 (FPE_FLTSUB): Likewise.
7790 (SEGV_MAPERR): Likewise.
7791 (SEGV_ACCERR): Likewise.
7792 (BUS_ADRALN): Likewise.
7793 (BUS_ADRERR): Likewise.
7794 (BUS_OBJERR): Likewise.
7795 (BUS_MCEERR_AR): Likewise.
7796 (BUS_MCEERR_AO): Likewise.
7797 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7798 (TRAP_TRACE): Likewise.
7799 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7801 (CLD_KILLED): Likewise.
7802 (CLD_DUMPED): Likewise.
7803 (CLD_TRAPPED): Likewise.
7804 (CLD_STOPPED): Likewise.
7805 (CLD_CONTINUED): Likewise.
7806 (POLL_IN): Likewise.
7807 (POLL_OUT): Likewise.
7808 (POLL_MSG): Likewise.
7809 (POLL_ERR): Likewise.
7810 (POLL_PRI): Likewise.
7811 (POLL_HUP): Likewise.
7812 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
7813 (ILL_ILLOPN): Likewise.
7814 (ILL_ILLADR): Likewise.
7815 (ILL_ILLTRP): Likewise.
7816 (ILL_PRVOPC): Likewise.
7817 (ILL_PRVREG): Likewise.
7818 (ILL_COPROC): Likewise.
7819 (ILL_BADSTK): Likewise.
7820 (ILL_DBLFLT): Likewise.
7821 (ILL_HARDWALL): Likewise.
7822 (FPE_INTDIV): Likewise.
7823 (FPE_INTOVF): Likewise.
7824 (FPE_FLTDIV): Likewise.
7825 (FPE_FLTOVF): Likewise.
7826 (FPE_FLTUND): Likewise.
7827 (FPE_FLTRES): Likewise.
7828 (FPE_FLTINV): Likewise.
7829 (FPE_FLTSUB): Likewise.
7830 (SEGV_MAPERR): Likewise.
7831 (SEGV_ACCERR): Likewise.
7832 (BUS_ADRALN): Likewise.
7833 (BUS_ADRERR): Likewise.
7834 (BUS_OBJERR): Likewise.
7835 (BUS_MCEERR_AR): Likewise.
7836 (BUS_MCEERR_AO): Likewise.
7837 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7838 (TRAP_TRACE): Likewise.
7839 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7841 (CLD_KILLED): Likewise.
7842 (CLD_DUMPED): Likewise.
7843 (CLD_TRAPPED): Likewise.
7844 (CLD_STOPPED): Likewise.
7845 (CLD_CONTINUED): Likewise.
7846 (POLL_IN): Likewise.
7847 (POLL_OUT): Likewise.
7848 (POLL_MSG): Likewise.
7849 (POLL_ERR): Likewise.
7850 (POLL_PRI): Likewise.
7851 (POLL_HUP): Likewise.
7852 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
7853 (ILL_ILLOPN): Likewise.
7854 (ILL_ILLADR): Likewise.
7855 (ILL_ILLTRP): Likewise.
7856 (ILL_PRVOPC): Likewise.
7857 (ILL_PRVREG): Likewise.
7858 (ILL_COPROC): Likewise.
7859 (ILL_BADSTK): Likewise.
7860 (FPE_INTDIV): Likewise.
7861 (FPE_INTOVF): Likewise.
7862 (FPE_FLTDIV): Likewise.
7863 (FPE_FLTOVF): Likewise.
7864 (FPE_FLTUND): Likewise.
7865 (FPE_FLTRES): Likewise.
7866 (FPE_FLTINV): Likewise.
7867 (FPE_FLTSUB): Likewise.
7868 (SEGV_MAPERR): Likewise.
7869 (SEGV_ACCERR): Likewise.
7870 (BUS_ADRALN): Likewise.
7871 (BUS_ADRERR): Likewise.
7872 (BUS_OBJERR): Likewise.
7873 (BUS_MCEERR_AR): Likewise.
7874 (BUS_MCEERR_AO): Likewise.
7875 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7876 (TRAP_TRACE): Likewise.
7877 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7879 (CLD_KILLED): Likewise.
7880 (CLD_DUMPED): Likewise.
7881 (CLD_TRAPPED): Likewise.
7882 (CLD_STOPPED): Likewise.
7883 (CLD_CONTINUED): Likewise.
7884 (POLL_IN): Likewise.
7885 (POLL_OUT): Likewise.
7886 (POLL_MSG): Likewise.
7887 (POLL_ERR): Likewise.
7888 (POLL_PRI): Likewise.
7889 (POLL_HUP): Likewise.
7890 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
7891 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
7894 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
7895 before #include of <time.h>.
7896 [!__USE_XOPEN2K] (__need_timespec): Likewise.
7897 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
7898 (test-xfail-UNIX98/sched.h/conform): Likewise.
7900 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
7902 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
7903 error absence of trapping exception support.
7904 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
7906 2014-03-07 Joseph Myers <joseph@codesourcery.com>
7908 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
7909 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
7910 * timezone/Makefile (testdata): Move definition above include of
7912 (test-zones): New variable.
7913 (tests-special): Add zone files.
7914 (build-testdata): Use $(evaluate-test).
7916 * elf/Makefile (tests-special): Rename tests to end with .out.
7917 ($(objpfx)noload-mem): Likewise.
7918 ($(objpfx)tst-leaks1-mem): Likewise.
7919 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
7920 * iconv/Makefile (xtests-special): Change test-iconvconfig to
7921 $(objpfx)test-iconvconfig.out.
7922 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
7923 set -e inside subshell and redirect output to file.
7924 * iconvdata/Makefile (generated): Rename tests to end with .out.
7926 (tests-special): Rename tests to end with .out.
7927 ($(objpfx)mtrace-tst-loading): Likewise.
7928 * intl/Makefile (generated): Likewise.
7929 (tests-special): Likewise.
7930 ($(objpfx)mtrace-tst-gettext): Likewise.
7931 * misc/Makefile (generated): Likewise.
7932 (tests-special): Likewise.
7933 ($(objpfx)tst-error1-mem): Likewise.
7934 * nptl/Makefile (tests-special): Likewise.
7935 ($(objpfx)tst-stack3-mem): Likewise.
7936 (generated): Likewise.
7937 * posix/Makefile (generated): Likewise.
7938 (tests-special): Likewise.
7939 (xtests-special): Likewise.
7940 ($(objpfx)tst-fnmatch-mem): Likewise.
7941 ($(objpfx)bug-regex2-mem): Likewise.
7942 ($(objpfx)bug-regex14-mem): Likewise.
7943 ($(objpfx)bug-regex21-mem): Likewise.
7944 ($(objpfx)bug-regex31-mem): Likewise.
7945 ($(objpfx)tst-vfork3-mem): Likewise.
7946 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
7947 ($(objpfx)tst-pcre-mem): Likewise.
7948 ($(objpfx)tst-boost-mem): Likewise.
7949 ($(objpfx)bug-ga2-mem): Likewise.
7950 ($(objpfx)bug-glob2-mem): Likewise.
7951 * resolv/Makefile (generate): Likewise.
7952 (tests-special): Likewise.
7953 (xtests-special): Likewise.
7954 (generated): Likewise.
7955 ($(objpfx)mtrace-tst-leaks): Likewise.
7956 ($(objpfx)mtrace-tst-leaks2): Likewise.
7958 * scripts/merge-test-results.sh: New file.
7959 * Makefile (tests-special-notdir): New variable.
7960 (tests): Run merge-test-results.sh.
7962 * Rules (tests-special-notdir): New variable.
7963 (xtests-special-notdir): Likewise.
7964 (tests): Run merge-test-results.sh
7967 * Makeconfig (test-xfail-name): New variable.
7968 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
7969 compute variable name for expected failures.
7970 * conform/Makefile (conformtest-headers-data): New variable.
7971 (conformtest-standards): Likewise.
7972 (conformtest-headers-ISO): Likewise.
7973 (conformtest-headers-ISO99): Likewise.
7974 (conformtest-headers-ISO11): Likewise.
7975 (conformtest-headers-POSIX): Likewise.
7976 (conformtest-headers-XPG3): Likewise.
7977 (conformtest-headers-XPG4): Likewise.
7978 (conformtest-headers-UNIX98): Likewise.
7979 (conformtest-headers-XOPEN2K): Likewise.
7980 (conformtest-headers-POSIX2008): Likewise.
7981 (conformtest-headers-XOPEN2K8): Likewise.
7982 (conformtest-header-list-base): Likewise.
7983 (conformtest-header-list-tests): Likewise.
7984 (conformtest-header-base): Likewise.
7985 (conformtest-header-tests): Likewise.
7986 (tests-special): Add $(conformtest-header-list-tests). If
7987 [$(fast-check) && !$(cross-compiling)], add
7988 $(conformtest-header-tests) instead of
7989 $(objpfx)run-conformtest.out.
7990 (generated): Add $(conformtest-header-list-base). If
7991 [$(fast-check) && !$(cross-compiling)], add
7992 $(conformtest-header-base). Remove previous setting.
7993 ($(conformtest-header-list-tests)): New target.
7994 (test-xfail-run-conformtest): Remove variable.
7995 ($(objpfx)run-conformtest.out): Remove target.
7996 (test-xfail-ISO11/complex.h/conform): New variable.
7997 (test-xfail-ISO11/stdalign.h/conform): Likewise.
7998 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
7999 (test-xfail-XPG3/varargs.h/conform): Likewise.
8000 (test-xfail-XPG4/varargs.h/conform): Likewise.
8001 (test-xfail-UNIX98/varargs.h/conform): Likewise.
8002 (test-xfail-XPG4/ndbm.h/conform): Likewise.
8003 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
8004 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
8005 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
8006 (test-xfail-XPG3/fcntl.h/conform): Likewise.
8007 (test-xfail-XPG3/ftw.h/conform): Likewise.
8008 (test-xfail-XPG3/grp.h/conform): Likewise.
8009 (test-xfail-XPG3/langinfo.h/conform): Likewise.
8010 (test-xfail-XPG3/limits.h/conform): Likewise.
8011 (test-xfail-XPG3/pwd.h/conform): Likewise.
8012 (test-xfail-XPG3/search.h/conform): Likewise.
8013 (test-xfail-XPG3/signal.h/conform): Likewise.
8014 (test-xfail-XPG3/stdio.h/conform): Likewise.
8015 (test-xfail-XPG3/stdlib.h/conform): Likewise.
8016 (test-xfail-XPG3/string.h/conform): Likewise.
8017 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
8018 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
8019 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
8020 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
8021 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
8022 (test-xfail-XPG3/sys/types.h/conform): Likewise.
8023 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
8024 (test-xfail-XPG3/termios.h/conform): Likewise.
8025 (test-xfail-XPG3/time.h/conform): Likewise.
8026 (test-xfail-XPG3/unistd.h/conform): Likewise.
8027 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
8028 (test-xfail-XPG4/fcntl.h/conform): Likewise.
8029 (test-xfail-XPG4/langinfo.h/conform): Likewise.
8030 (test-xfail-XPG4/netdb.h/conform): Likewise.
8031 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
8032 (test-xfail-XPG4/signal.h/conform): Likewise.
8033 (test-xfail-XPG4/stdio.h/conform): Likewise.
8034 (test-xfail-XPG4/stdlib.h/conform): Likewise.
8035 (test-xfail-XPG4/stropts.h/conform): Likewise.
8036 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
8037 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
8038 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
8039 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
8040 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
8041 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
8042 (test-xfail-XPG4/sys/time.h/conform): Likewise.
8043 (test-xfail-XPG4/sys/types.h/conform): Likewise.
8044 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
8045 (test-xfail-XPG4/termios.h/conform): Likewise.
8046 (test-xfail-XPG4/ucontext.h/conform): Likewise.
8047 (test-xfail-XPG4/unistd.h/conform): Likewise.
8048 (test-xfail-XPG4/utmpx.h/conform): Likewise.
8049 (test-xfail-POSIX/sched.h/conform): Likewise.
8050 (test-xfail-POSIX/signal.h/conform): Likewise.
8051 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
8052 (test-xfail-POSIX/tar.h/conform): Likewise.
8053 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
8054 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
8055 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
8056 (test-xfail-UNIX98/netdb.h/conform): Likewise.
8057 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
8058 (test-xfail-UNIX98/sched.h/conform): Likewise.
8059 (test-xfail-UNIX98/signal.h/conform): Likewise.
8060 (test-xfail-UNIX98/stdio.h/conform): Likewise.
8061 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
8062 (test-xfail-UNIX98/stropts.h/conform): Likewise.
8063 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
8064 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
8065 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
8066 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
8067 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
8068 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
8069 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
8070 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
8071 (test-xfail-UNIX98/unistd.h/conform): Likewise.
8072 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
8073 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
8074 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
8075 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
8076 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
8077 (test-xfail-XOPEN2K/math.h/conform): Likewise.
8078 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
8079 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
8080 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
8081 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
8082 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
8083 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
8084 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
8085 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
8086 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
8087 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
8088 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
8089 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
8090 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
8091 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
8092 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
8093 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
8094 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
8095 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
8096 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
8097 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
8098 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
8099 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
8100 (test-xfail-POSIX2008/signal.h/conform): Likewise.
8101 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
8102 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
8103 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
8104 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
8105 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
8106 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
8107 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
8108 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
8109 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
8110 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
8111 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
8112 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
8113 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
8114 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
8115 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
8116 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
8117 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
8118 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
8119 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
8120 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
8121 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
8122 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
8123 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
8124 (conformtest-cc-flags): Likewise.
8125 ($(conformtest-header-tests): New target.
8126 * conform/check-header-lists.sh: New file.
8127 * conform/run-conformtest.sh: Remove.
8129 * conform/conformtest.pl: Allow ' and \ in values given for
8131 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
8133 [POSIX] (sys/types.h): Likewise.
8134 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
8136 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
8138 * conform/data/signal.h-data (SIGIO): Remove expectation.
8139 [XPG3] (SIGBUS): Do not expect.
8140 [POSIX || XPG3] (SIGPOLL): Likewise.
8141 [POSIX || XPG3] (SIGPROF): Likewise.
8142 [POSIX || XPG3] (SIGSYS): Likewise.
8143 [XPG3] (SIGTRAP): Likewise.
8144 [POSIX || XPG3] (SIGURG): Likewise.
8145 [POSIX || XPG3] (SIGVTALRM): Likewise.
8146 [POSIX || XPG3] (SIGXCPU): Likewise.
8147 [POSIX || XPG3] (SIGXFSZ): Likewise.
8148 [POSIX] (SA_SIGINFO): Expect.
8149 [XPG3] (siginfo_t): Do not expect type or contents.
8150 [POSIX] (si_pid): Do not expect element.
8151 [POSIX] (si_uid): Likewise.
8152 [POSIX] (si_addr): Likewise.
8153 [POSIX] (si_status): Likewise.
8154 [POSIX] (si_band): Likewise.
8155 [XPG4] (si_value): Likewise.
8156 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
8157 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
8158 [POSIX || XPG3] (ILL_ILLADR): Likewise.
8159 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
8160 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
8161 [POSIX || XPG3] (ILL_PRVREG): Likewise.
8162 [POSIX || XPG3] (ILL_COPROC): Likewise.
8163 [POSIX || XPG3] (ILL_BADSTK): Likewise.
8164 [POSIX || XPG3] (FPE_INTDIV): Likewise.
8165 [POSIX || XPG3] (FPE_INTOVF): Likewise.
8166 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
8167 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
8168 [POSIX || XPG3] (FPE_FLTUND): Likewise.
8169 [POSIX || XPG3] (FPE_FLTRES): Likewise.
8170 [POSIX || XPG3] (FPE_FLTINV): Likewise.
8171 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
8172 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
8173 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
8174 [POSIX || XPG3] (BUS_ADRALN): Likewise.
8175 [POSIX || XPG3] (BUS_ADRERR): Likewise.
8176 [POSIX || XPG3] (BUS_OBJERR): Likewise.
8177 [POSIX || XPG3] (CLD_EXITED): Likewise.
8178 [POSIX || XPG3] (CLD_KILLED): Likewise.
8179 [POSIX || XPG3] (CLD_DUMPED): Likewise.
8180 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
8181 [POSIX || XPG3] (CLD_STOPPED): Likewise.
8182 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
8183 [POSIX || XPG3] (POLL_IN): Likewise.
8184 [POSIX || XPG3] (POLL_OUT): Likewise.
8185 [POSIX || XPG3] (POLL_MSG): Likewise.
8186 [POSIX || XPG3] (POLL_ERR): Likewise.
8187 [POSIX || XPG3] (POLL_PRI): Likewise.
8188 [POSIX || XPG3] (POLL_HUP): Likewise.
8189 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
8190 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
8191 (SIG*): Do not allow.
8192 [XPG3] (si_*): Likewise.
8193 [XPG3] (SI_*): Likewise.
8194 [XPG3 || XPG4] (sigev_*): Likewise.
8195 [XPG3 || XPG4] (SIGEV_*): Likewise.
8196 [XPG3 || XPG4] (sival_*): Likewise.
8197 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
8198 [POSIX || XPG3] (BUS_*): Likewise.
8199 [POSIX || XPG3] (CLD_*): Likewise.
8200 [POSIX || XPG3] (FPE_*): Likewise.
8201 [POSIX || XPG3] (ILL_*): Likewise.
8202 [POSIX || XPG3] (POLL_*): Likewise.
8203 [POSIX || XPG3] (SEGV_*): Likewise.
8204 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
8205 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
8206 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
8207 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
8208 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
8209 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
8210 Specify type and value.
8211 (TVERSLEN): Likewise.
8212 (REGTYPE): Likewise.
8213 (AREGTYPE): Likewise.
8214 (LNKTYPE): Likewise.
8215 (SYMTYPE): Likewise.
8216 (CHRTYPE): Likewise.
8217 (BLKTYPE): Likewise.
8218 (DIRTYPE): Likewise.
8219 (FIFOTYPE): Likewise.
8220 (CONTTYPE): Likewise.
8225 (TUWRITE): Likewise.
8228 (TGWRITE): Likewise.
8231 (TOWRITE): Likewise.
8233 [POSIX] (TSVTX): Expect constant.
8235 2014-03-06 Joseph Myers <joseph@codesourcery.com>
8237 * Makefile (tests): Change dependencies to ....
8238 (tests-special): ... additions to this variable.
8239 (tests): Depend on $(tests-special).
8240 * Makerules (check-abi-list): New variable.
8241 (check-abi): Depend on $(check-abi-list).
8242 [$(subdir) = elf] (tests-special): Add
8243 $(objpfx)check-abi-libc.out.
8244 [$(build-shared) = yes && subdir] (tests-special): Add
8246 [$(build-shared) = yes && subdir] (tests): Do not depend on
8248 * Rules (tests): Depend on $(tests-special).
8249 (xtests): Depend on $(xtests-special).
8250 * catgets/Makefile (tests): Change dependencies to ....
8251 (tests-special): ... additions to this variable.
8252 * conform/Makefile (tests): Change dependencies to ....
8253 (tests-special): ... additions to this variable.
8254 * elf/Makefile (tests): Change dependencies to ....
8255 (tests-special): ... additions to this variable.
8256 * grp/Makefile (tests): Change dependencies to ....
8257 (tests-special): ... additions to this variable.
8258 * iconv/Makefile (xtests): Change dependencies to ....
8259 (xtests-special): ... additions to this variable.
8260 * iconvdata/Makefile (tests): Change dependencies to ....
8261 (tests-special): ... additions to this variable.
8262 * intl/Makefile (tests): Change dependencies to ....
8263 (tests-special): ... additions to this variable. Also add
8264 $(objpfx)tst-gettext.out.
8265 * io/Makefile (tests): Change dependencies to ....
8266 (tests-special): ... additions to this variable.
8267 * libio/Makefile (tests): Change dependencies to ....
8268 (tests-special): ... additions to this variable.
8269 * malloc/Makefile (tests): Change dependencies to ....
8270 (tests-special): ... additions to this variable.
8271 * misc/Makefile (tests): Change dependencies to ....
8272 (tests-special): ... additions to this variable.
8273 * nptl/Makefile (tests): Change dependencies to ....
8274 (tests-special): ... additions to this variable.
8275 * nptl_db/Makefile (tests): Change dependencies to ....
8276 (tests-special): ... additions to this variable.
8277 * posix/Makefile (tests): Change dependencies to ....
8278 (tests-special): ... additions to this variable.
8279 (xtests): Change dependencies to ....
8280 (xtests-special): ... additions to this variable.
8281 * resolv/Makefile (tests): Change dependencies to ....
8282 (tests-special): ... additions to this variable.
8283 (xtests): Change dependencies to ....
8284 (xtests-special): ... additions to this variable.
8285 * stdio-common/Makefile (tests): Change dependencies to ....
8286 (tests-special): ... additions to this variable.
8287 (do-tst-unbputc): Remove target.
8288 (do-tst-printf): Likewise.
8289 * stdlib/Makefile (tests): Change dependencies to ....
8290 (tests-special): ... additions to this variable.
8291 * string/Makefile (tests): Change dependencies to ....
8292 (tests-special): ... additions to this variable.
8293 * sysdeps/x86/Makefile (tests): Change dependencies to ....
8294 (tests-special): ... additions to this variable.
8296 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
8298 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
8300 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
8301 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
8303 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
8304 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
8305 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
8306 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
8307 * conform/data/libgen.h-data [XPG3]: Likewise.
8308 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
8309 * conform/data/ndbm.h-data [XPG3]: Likewise.
8310 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
8311 * conform/data/netdb.h-data [XPG3]: Likewise.
8312 * conform/data/netinet/in.h-data [XPG3]: Likewise.
8313 * conform/data/poll.h-data [XPG3]: Likewise.
8314 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
8315 * conform/data/strings.h-data [XPG3]: Likewise.
8316 * conform/data/stropts.h-data [XPG3]: Likewise.
8317 * conform/data/sys/mman.h-data [XPG3]: Likewise.
8318 * conform/data/sys/resource.h-data [XPG3]: Likewise.
8319 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
8321 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
8322 * conform/data/sys/time.h-data [XPG3]: Likewise.
8323 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
8324 * conform/data/sys/uio.h-data [XPG3]: Likewise.
8325 * conform/data/sys/un.h-data [XPG3]: Likewise.
8326 * conform/data/syslog.h-data [XPG3]: Likewise.
8327 * conform/data/ucontext.h-data [XPG3]: Likewise.
8328 * conform/data/utmpx.h-data [XPG3]: Likewise.
8329 * conform/data/varargs.h-data [UNIX98]: Enable file.
8331 * manual/Makefile (INSTALL_INFO): Remove variable setting.
8333 * math/libm-test.inc (struct test_f_f_data): Move expected results
8334 into structure for each rounding mode.
8335 (struct test_ff_f_data): Likewise.
8336 (struct test_ff_f_data_nexttoward): Likewise.
8337 (struct test_fi_f_data): Likewise.
8338 (struct test_fl_f_data): Likewise.
8339 (struct test_if_f_data): Likewise.
8340 (struct test_fff_f_data): Likewise.
8341 (struct test_c_f_data): Likewise.
8342 (struct test_f_f1_data): Likewise.
8343 (struct test_fF_f1_data): Likewise.
8344 (struct test_ffI_f1_data): Likewise.
8345 (struct test_c_c_data): Likewise.
8346 (struct test_cc_c_data): Likewise.
8347 (struct test_f_i_data): Likewise.
8348 (struct test_ff_i_data): Likewise.
8349 (struct test_f_l_data): Likewise.
8350 (struct test_f_L_data): Likewise.
8351 (struct test_fFF_11_data): Likewise.
8353 (RM_FE_DOWNWARD): Likewise.
8354 (RM_FE_TONEAREST): Likewise.
8355 (RM_FE_TOWARDZERO): Likewise.
8356 (RM_FE_UPWARD): Likewise.
8357 (RUN_TEST_LOOP_f_f): Update references to expected results.
8358 (RUN_TEST_LOOP_2_f): Likewise.
8359 (RUN_TEST_LOOP_fff_f): Likewise.
8360 (RUN_TEST_LOOP_c_f): Likewise.
8361 (RUN_TEST_LOOP_f_f1): Likewise.
8362 (RUN_TEST_LOOP_fF_f1): Likewise.
8363 (RUN_TEST_LOOP_fI_f1): Likewise.
8364 (RUN_TEST_LOOP_ffI_f1): Likewise.
8365 (RUN_TEST_LOOP_c_c): Likewise.
8366 (RUN_TEST_LOOP_cc_c): Likewise.
8367 (RUN_TEST_LOOP_f_i): Likewise.
8368 (RUN_TEST_LOOP_f_i_tg): Likewise.
8369 (RUN_TEST_LOOP_ff_i_tg): Likewise.
8370 (RUN_TEST_LOOP_f_b): Likewise.
8371 (RUN_TEST_LOOP_f_b_tg): Likewise.
8372 (RUN_TEST_LOOP_f_l): Likewise.
8373 (RUN_TEST_LOOP_f_L): Likewise.
8374 (RUN_TEST_LOOP_fFF_11): Likewise.
8375 * math/gen-libm-test.pl (parse_args): Output four copies of
8376 expected results for each test.
8378 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
8379 (__ASSUME_UTIMES): Remove.
8380 * sysdeps/unix/sysv/linux/tile/kernel-features.h
8381 (__ASSUME_UTIMES): Likewise.
8383 * math/gen-auto-libm-tests.c: Update comment on output format.
8384 (output_for_one_input_case): Generate before-rounding and
8385 after-rounding information as conditions on output flags not
8386 floating-point format.
8387 * math/auto-libm-test-out: Regenerated.
8388 * math/gen-libm-test.pl (cond_value): New function.
8389 (or_cond_value): Use cond_value.
8390 (generate_testfile): Handle conditional exceptions.
8392 2014-03-05 Joseph Myers <joseph@codesourcery.com>
8394 * math/libm-test.inc (max_valid_error): New variable.
8395 (init_max_error): Take new argument specifying whether function
8396 results are exactly determined. Set max_valid_error and bound
8397 other variables for errors based on this argument.
8398 (set_max_error): Do not record results above max_valid_error.
8399 (check_float_internal): Only accept errors of up to 0.5ulps if
8400 also at most max_valid_error.
8401 (START): Take new argument EXACT and pass it to init_max_error.
8402 (acos_test): Update call to START.
8403 (acos_test_tonearest): Likewise.
8404 (acos_test_towardzero): Likewise.
8405 (acos_test_downward): Likewise.
8406 (acos_test_upward): Likewise.
8407 (acosh_test): Likewise.
8408 (asin_test): Likewise.
8409 (asin_test_tonearest): Likewise.
8410 (asin_test_towardzero): Likewise.
8411 (asin_test_downward): Likewise.
8412 (asin_test_upward): Likewise.
8413 (asinh_test): Likewise.
8414 (atan_test): Likewise.
8415 (atanh_test): Likewise.
8416 (atan2_test): Likewise.
8417 (cabs_test): Likewise.
8418 (cacos_test): Likewise.
8419 (cacosh_test): Likewise.
8420 (carg_test): Likewise.
8421 (casin_test): Likewise.
8422 (casinh_test): Likewise.
8423 (catan_test): Likewise.
8424 (catanh_test): Likewise.
8425 (cbrt_test): Likewise.
8426 (ccos_test): Likewise.
8427 (ccosh_test): Likewise.
8428 (ceil_test): Likewise.
8429 (cexp_test): Likewise.
8430 (cimag_test): Likewise.
8431 (clog_test): Likewise.
8432 (clog10_test): Likewise.
8433 (conj_test): Likewise.
8434 (copysign_test): Likewise.
8435 (cos_test): Likewise.
8436 (cos_test_tonearest): Likewise.
8437 (cos_test_towardzero): Likewise.
8438 (cos_test_downward): Likewise.
8439 (cos_test_upward): Likewise.
8440 (cosh_test): Likewise.
8441 (cosh_test_tonearest): Likewise.
8442 (cosh_test_towardzero): Likewise.
8443 (cosh_test_downward): Likewise.
8444 (cosh_test_upward): Likewise.
8445 (cpow_test): Likewise.
8446 (cproj_test): Likewise.
8447 (creal_test): Likewise.
8448 (csin_test): Likewise.
8449 (csinh_test): Likewise.
8450 (csqrt_test): Likewise.
8451 (ctan_test): Likewise.
8452 (ctan_test_tonearest): Likewise.
8453 (ctan_test_towardzero): Likewise.
8454 (ctan_test_downward): Likewise.
8455 (ctan_test_upward): Likewise.
8456 (ctanh_test): Likewise.
8457 (ctanh_test_tonearest): Likewise.
8458 (ctanh_test_towardzero): Likewise.
8459 (ctanh_test_downward): Likewise.
8460 (ctanh_test_upward): Likewise.
8461 (erf_test): Likewise.
8462 (erfc_test): Likewise.
8463 (exp_test): Likewise.
8464 (exp_test_tonearest): Likewise.
8465 (exp_test_towardzero): Likewise.
8466 (exp_test_downward): Likewise.
8467 (exp_test_upward): Likewise.
8468 (exp10_test): Likewise.
8469 (exp10_test_tonearest): Likewise.
8470 (exp10_test_towardzero): Likewise.
8471 (exp10_test_downward): Likewise.
8472 (exp10_test_upward): Likewise.
8473 (pow10_test): Likewise.
8474 (exp2_test): Likewise.
8475 (expm1_test): Likewise.
8476 (expm1_test_tonearest): Likewise.
8477 (expm1_test_towardzero): Likewise.
8478 (expm1_test_downward): Likewise.
8479 (expm1_test_upward): Likewise.
8480 (fabs_test): Likewise.
8481 (fdim_test): Likewise.
8482 (floor_test): Likewise.
8483 (fma_test): Likewise.
8484 (fma_test_towardzero): Likewise.
8485 (fma_test_downward): Likewise.
8486 (fma_test_upward): Likewise.
8487 (fmax_test): Likewise.
8488 (fmin_test): Likewise.
8489 (fmod_test): Likewise.
8490 (fpclassify_test): Likewise.
8491 (frexp_test): Likewise.
8492 (hypot_test): Likewise.
8493 (ilogb_test): Likewise.
8494 (isfinite_test): Likewise.
8495 (finite_test): Likewise.
8496 (isgreater_test): Likewise.
8497 (isgreaterequal_test): Likewise.
8498 (isinf_test): Likewise.
8499 (isless_test): Likewise.
8500 (islessequal_test): Likewise.
8501 (islessgreater_test): Likewise.
8502 (isnan_test): Likewise.
8503 (isnormal_test): Likewise.
8504 (issignaling_test): Likewise.
8505 (isunordered_test): Likewise.
8506 (j0_test): Likewise.
8507 (j1_test): Likewise.
8508 (jn_test): Likewise.
8509 (ldexp_test): Likewise.
8510 (lgamma_test): Likewise.
8511 (gamma_test): Likewise.
8512 (lrint_test): Likewise.
8513 (lrint_test_tonearest): Likewise.
8514 (lrint_test_towardzero): Likewise.
8515 (lrint_test_downward): Likewise.
8516 (lrint_test_upward): Likewise.
8517 (llrint_test): Likewise.
8518 (llrint_test_tonearest): Likewise.
8519 (llrint_test_towardzero): Likewise.
8520 (llrint_test_downward): Likewise.
8521 (llrint_test_upward): Likewise.
8522 (log_test): Likewise.
8523 (log10_test): Likewise.
8524 (log1p_test): Likewise.
8525 (log2_test): Likewise.
8526 (logb_test): Likewise.
8527 (logb_test_downward): Likewise.
8528 (lround_test): Likewise.
8529 (llround_test): Likewise.
8530 (modf_test): Likewise.
8531 (nearbyint_test): Likewise.
8532 (nextafter_test): Likewise.
8533 (nexttoward_test): Likewise.
8534 (pow_test): Likewise.
8535 (pow_test_tonearest): Likewise.
8536 (pow_test_towardzero): Likewise.
8537 (pow_test_downward): Likewise.
8538 (pow_test_upward): Likewise.
8539 (remainder_test): Likewise.
8540 (drem_test): Likewise.
8541 (remainder_test_tonearest): Likewise.
8542 (drem_test_tonearest): Likewise.
8543 (remainder_test_towardzero): Likewise.
8544 (drem_test_towardzero): Likewise.
8545 (remainder_test_downward): Likewise.
8546 (drem_test_downward): Likewise.
8547 (remainder_test_upward): Likewise.
8548 (drem_test_upward): Likewise.
8549 (remquo_test): Likewise.
8550 (rint_test): Likewise.
8551 (rint_test_tonearest): Likewise.
8552 (rint_test_towardzero): Likewise.
8553 (rint_test_downward): Likewise.
8554 (rint_test_upward): Likewise.
8555 (round_test): Likewise.
8556 (scalb_test): Likewise.
8557 (scalbn_test): Likewise.
8558 (scalbln_test): Likewise.
8559 (signbit_test): Likewise.
8560 (sin_test): Likewise.
8561 (sin_test_tonearest): Likewise.
8562 (sin_test_towardzero): Likewise.
8563 (sin_test_downward): Likewise.
8564 (sin_test_upward): Likewise.
8565 (sincos_test): Likewise.
8566 (sinh_test): Likewise.
8567 (sinh_test_tonearest): Likewise.
8568 (sinh_test_towardzero): Likewise.
8569 (sinh_test_downward): Likewise.
8570 (sinh_test_upward): Likewise.
8571 (sqrt_test): Likewise.
8572 (sqrt_test_tonearest): Likewise.
8573 (sqrt_test_towardzero): Likewise.
8574 (sqrt_test_downward): Likewise.
8575 (sqrt_test_upward): Likewise.
8576 (tan_test): Likewise.
8577 (tan_test_tonearest): Likewise.
8578 (tan_test_towardzero): Likewise.
8579 (tan_test_downward): Likewise.
8580 (tan_test_upward): Likewise.
8581 (tanh_test): Likewise.
8582 (tgamma_test): Likewise.
8583 (trunc_test): Likewise.
8584 (y0_test): Likewise.
8585 (y1_test): Likewise.
8586 (yn_test): Likewise.
8587 (significand_test): Likewise.
8589 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
8590 individual tests in comment.
8591 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
8592 (prev_max_error): New variable.
8593 (prev_real_max_error): Likewise.
8594 (prev_imag_max_error): Likewise.
8595 (compare_ulp_data): Don't refer to test names in comment.
8596 (find_test_ulps): Remove function.
8597 (find_function_ulps): Likewise.
8598 (find_complex_function_ulps): Likewise.
8599 (init_max_error): Take function name as argument. Look up ulps
8601 (print_ulps): Remove function.
8602 (print_max_error): Use prev_max_error instead of calling
8604 (print_complex_max_error): Use prev_real_max_error and
8605 prev_imag_max_error instead of calling find_complex_function_ulps.
8606 (check_float_internal): Take max_ulp parameter instead of calling
8607 find_test_ulps. Don't call print_ulps.
8608 (check_float): Update call to check_float_internal.
8609 (check_complex): Update calls to check_float_internal.
8610 (START): Pass argument to init_max_error.
8611 * math/gen-libm-test.pl (%results): Don't include "kind"
8613 (parse_ulps): Don't handle ulps of individual tests.
8614 (print_ulps_file): Likewise.
8615 (output_ulps): Likewise.
8616 * math/README.libm-test: Update.
8617 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
8619 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
8620 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
8621 * sysdeps/arm/libm-test-ulps: Likewise.
8622 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
8623 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
8624 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
8625 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
8626 * sysdeps/microblaze/libm-test-ulps: Likewise.
8627 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
8628 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
8629 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8630 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
8631 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
8632 * sysdeps/sh/libm-test-ulps: Likewise.
8633 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
8634 * sysdeps/tile/libm-test-ulps: Likewise.
8635 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8637 2014-03-04 Joseph Myers <joseph@codesourcery.com>
8639 * math/libm-test.inc (print_complex_max_error): Check separately
8640 whether real and imaginary errors are within allowed range and
8641 pass 0 to print_complex_function_ulps instead of value within
8644 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
8646 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
8648 (get_handles_fopen): Likewise.
8649 (do_write_test): Likewise.
8651 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
8653 * libio/fileops.c (do_ftell): Use cached offset when
8655 * libio/iofwide.c (do_ftell_wide): Likewise.
8656 * libio/iofdopen.c (_IO_new_fdopen): Don't use
8658 * libio/wfileops.c (_IO_fwide): Don't cache offset.
8661 * libio/libioP.h (get_file_offset): New function.
8662 * libio/fileops.c (get_file_offset): Likewise.
8663 (do_ftell): Likewise.
8664 (_IO_new_file_seekoff): Split out ftell logic.
8665 * libio/wfileops.c (do_ftell_wide): Likewise.
8666 (_IO_wfile_seekoff): Split out ftell logic.
8667 * libio/tst-ftell-active-handler.c: New test case.
8668 * libio/Makefile (tests): Add it.
8670 2014-03-03 Roland McGrath <roland@hack.frob.com>
8672 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
8673 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
8675 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
8678 * nscd/connections.c (nscd_init): Call do_exit.
8679 (start_threads): Call do_exit and notify_parent.
8680 (begin_drop_privileges): Call do_exit.
8681 (finish_drop_privileges): Likewise.
8682 * nscd/selinux.c (preserve_capabilities): Likewise.
8683 (install_real_capabilities): Likewise.
8684 (nscd_selinux_enabled): Likewise.
8685 (avc_create_thread): Likewise.
8686 (avc_alloc_lock): Likewise.
8687 (nscd_avc_init): Likewise.
8688 * nscd/nscd.c (parent_fd): New static variable.
8689 (main): Create a pipe between parent and child processes.
8690 Skip closing parent_fd.
8691 (monitor_child): New function.
8692 (do_exit): Likewise.
8693 (notify_parent): Likewise.
8694 * nscd/nscd.h (notify_parent): Likewise.
8695 (do_exit): Likewise.
8697 2014-03-03 Carlos O'Donell <carlos@redhat.com>
8699 * malloc/malloc.c (__libc_calloc): Revert last change.
8701 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8703 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8705 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8707 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
8708 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
8710 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8711 (__libc_ifunc_impl_list): Likewise.
8712 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
8713 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
8714 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
8715 * string/strrchr.c: Define STRRCHR.
8717 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
8719 * benchtest/bench-strtok.c (simple_strtok): Delete.
8720 (strtok_string): Use as benchmark.
8721 * string/strtok (STRTOK): New macro.
8723 2014-02-28 Carlos O'Donell <carlos@redhat.com>
8725 * manual/threads.texi: Add header and standard comments to all
8728 * elf/dl-lookup.c (check_match): New function.
8729 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
8730 (do_lookup_x): Remove nested function check_match. Use non-nested
8731 function check_match.
8733 2014-02-28 Roland McGrath <roland@hack.frob.com>
8735 * csu/Makefile (generated, before-compile): Use += rather than =.
8736 * catgets/Makefile (generated, generated-dirs): Likewise.
8737 * debug/Makefile (generated): Likewise.
8738 * dlfcn/Makefile (generated): Likewise.
8739 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
8740 * iconvdata/Makefile (before-compile, generated): Likewise.
8741 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
8742 * libio/Makefile (generated): Likewise.
8743 * malloc/Makefile (generated): Likewise.
8744 * manual/Makefile (generated, generated-dirs): Likewise.
8745 * misc/Makefile (generated): Likewise.
8746 * posix/Makefile (generated): Likewise.
8747 * resolv/Makefile (generated): Likewise.
8748 * sunrpc/Makefile (generated, generated-dirs): Likewise.
8749 * timezone/Makefile (generated, generated-dirs): Likewise.
8751 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
8753 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8755 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
8756 power8 implementation.
8757 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
8758 file: POWER8 llround ifunc implementation.
8759 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
8760 (__lllround): Add POWER8 implementation.
8761 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
8762 POWER8 llround implementation.
8764 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
8765 power8 implementation.
8766 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
8767 file: POWER8 llrint ifunc implementation.
8768 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
8769 Add POWER8 implementation.
8770 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
8771 POWER8 llrint implementation.
8773 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
8774 power8 implementation.
8775 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
8776 file: POWER8 finite ifunc implementation.
8777 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
8778 Add POWER8 implementation.
8779 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
8781 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
8782 POWER8 finite implementation.
8783 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
8785 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
8786 power8 implementation.
8787 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
8788 file: POWER8 isinf ifunc implementation.
8789 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
8790 POWER8 implementation.
8791 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
8793 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
8794 isinf implementation.
8795 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
8797 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
8798 (INIT_ARCH): Add hwcap2 initialization.
8799 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
8800 power8 implementation.
8801 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
8802 file: POWER8 isnan ifunc implementation.
8803 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
8804 POWER8 implementation.
8805 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
8807 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
8808 isnan implementation.
8809 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
8811 2014-02-27 Joey Ye <joey.ye@arm.com>
8813 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
8814 (_FP_NANFRAC_Q): Set to zero.
8816 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
8819 * math/auto-libm-test-in: New test inputs.
8820 * math/auto-libm-test-out: Regenerate.
8821 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
8824 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
8826 2014-02-27 Joseph Myers <joseph@codesourcery.com>
8828 * scripts/evaluate-test.sh: Take new argument indicating whether
8829 failure is expected.
8830 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
8831 indicating whether failure is expected.
8832 * conform/Makefile (test-xfail-run-conformtest): New variable.
8833 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
8835 * posix/Makefile (test-xfail-annexc): New variable.
8836 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
8838 2014-02-26 Joseph Myers <joseph@codesourcery.com>
8840 * argp/Makefile: Include Makeconfig immediately after defining
8842 * assert/Makefile: Likewise.
8843 * benchtests/Makefile: Likewise.
8844 * catgets/Makefile: Likewise.
8845 * conform/Makefile: Likewise.
8846 * crypt/Makefile: Likewise.
8847 * csu/Makefile: Likewise.
8848 (all): Remove target.
8849 * ctype/Makefile: Include Makeconfig immediately after defining
8851 * debug/Makefile: Likewise.
8852 * dirent/Makefile: Likewise.
8853 * dlfcn/Makefile: Likewise.
8854 * gmon/Makefile: Likewise.
8855 * gnulib/Makefile: Likewise.
8856 * grp/Makefile: Likewise.
8857 * gshadow/Makefile: Likewise.
8858 * hesiod/Makefile: Likewise.
8859 * hurd/Makefile: Likewise.
8860 (all): Remove target.
8861 * iconvdata/Makefile: Include Makeconfig immediately after
8863 * inet/Makefile: Likewise.
8864 * intl/Makefile: Likewise.
8865 * io/Makefile: Likewise.
8866 * libio/Makefile: Likewise.
8867 (all): Remove target.
8868 * locale/Makefile: Include Makeconfig immediately after defining
8870 * login/Makefile: Likewise.
8871 * mach/Makefile: Likewise.
8872 (all): Remove target.
8873 * malloc/Makefile: Include Makeconfig immediately after defining
8875 (all): Remove target.
8876 * manual/Makefile: Include Makeconfig immediately after defining
8878 * math/Makefile: Likewise.
8879 * misc/Makefile: Likewise.
8880 * nis/Makefile: Likewise.
8881 * nss/Makefile: Likewise.
8882 * po/Makefile: Likewise.
8883 (all): Remove target.
8884 * posix/Makefile: Include Makeconfig immediately after defining
8886 * pwd/Makefile: Likewise.
8887 * resolv/Makefile: Likewise.
8888 * resource/Makefile: Likewise.
8889 * rt/Makefile: Likewise.
8890 * setjmp/Makefile: Likewise.
8891 * shadow/Makefile: Likewise.
8892 * signal/Makefile: Likewise.
8893 * socket/Makefile: Likewise.
8894 * soft-fp/Makefile: Likewise.
8895 * stdio-common/Makefile: Likewise.
8896 * stdlib/Makefile: Likewise.
8897 * streams/Makefile: Likewise.
8898 * string/Makefile: Likewise.
8899 * sunrpc/Makefile: Likewise.
8900 (all): Remove target.
8901 * sysvipc/Makefile: Include Makeconfig immediately after defining
8903 * termios/Makefile: Likewise.
8904 * time/Makefile: Likewise.
8905 * timezone/Makefile: Likewise.
8906 (all): Remove target.
8907 * wcsmbs/Makefile: Include Makeconfig immediately after defining
8909 * wctype/Makefile: Likewise.
8911 2014-02-26 Steve Ellcey <sellcey@mips.com>
8913 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
8914 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
8915 (libc_feholdexcept_setround_mips): Ditto.
8916 (libc_feholdsetround): New.
8917 (libc_feholdsetroundf): New.
8918 (libc_feholdsetroundl): New.
8919 (libc_feupdateenv_test_mips): New.
8920 (libc_feupdateenv_test): New.
8921 (libc_feupdateenv_testf): New.
8922 (libc_feupdateenv_testl): New.
8923 (libc_feresetround): New.
8924 (libc_feresetroundf): New.
8925 (libc_feresetroundl): New.
8926 (libc_fetestexcept_mips): New.
8927 (libc_fetestexcept): New.
8928 (libc_fetestexceptf): New.
8929 (libc_fetestexceptl): New.
8931 (libc_feholdexcept_setround_mips_ctx): New.
8932 (libc_feholdexcept_setround_ctx): New.
8933 (libc_feholdexcept_setroundf_ctx): New.
8934 (libc_feholdexcept_setroundl_ctx): New.
8935 (libc_fesetenv_mips_ctx): New.
8936 (libc_fesetenv_ctx): New.
8937 (libc_fesetenv_ctxf): New.
8938 (libc_fesetenv_ctxl): New.
8939 (libc_feupdateenv_mips_ctx): New.
8940 (libc_feupdateenv_ctx): New.
8941 (libc_feupdateenvf_ctx): New.
8942 (libc_feupdateenvl_ctx): New.
8943 (libc_feholdsetround_mips_ctx): New.
8944 (libc_feholdsetround_ctx): New.
8945 (libc_feholdsetroundf_ctx): New.
8946 (libc_feholdsetroundl_ctx): New.
8947 (libc_feresetround_mips_ctx): New.
8948 (libc_feresetround_ctx): New.
8949 (libc_feresetroundf_ctx): New.
8950 (libc_feresetroundl_ctx): New.
8952 2014-02-26 Carlos O'Donell <carlos@redhat.com>
8954 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
8956 * manual/ipc.texi: New file.
8957 * manual/Makefile (chapters): Add ipc.
8958 * manual/job.texi: Add "Inter-Process Communication" to next.
8959 * manual/process.texi: Add "Inter-Process Communication" to prev.
8961 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8963 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8965 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
8967 * malloc/malloc.c (__libc_calloc): Simplify implementation.
8969 * manual/arith.texi: Fix spaces after sentences.
8970 * manual/charset.texi: Likewise.
8971 * manual/errno.texi: Likewise.
8972 * manual/install.texi: Likewise.
8973 * manual/llio.texi: Likewise.
8974 * manual/locale.texi: Likewise.
8975 * manual/maint.texi: Likewise.
8976 * manual/math.texi: Likewise.
8977 * manual/memory.texi: Likewise.
8978 * manual/message.texi: Likewise.
8979 * manual/probes.texi: Likewise.
8980 * manual/resource.texi: Likewise.
8981 * manual/signal.texi: Likewise.
8982 * manual/socket.texi: Likewise.
8983 * manual/stdio.texi: Likewise.
8984 * manual/string.texi: Likewise.
8985 * manual/time.texi: Likewise.
8986 * manual/users.texi: Likewise.
8988 2014-02-25 Carlos O'Donell <carlos@redhat.com>
8991 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
8992 _DEFAULT_SOURCE is defined.
8994 2014-02-25 Ulrich Drepper <drepper@gmail.com>
8995 Carlos O'Donell <carlos@redhat.com>
8998 * elf/dl-tls.c (_dl_count_modids): New function.
8999 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
9000 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
9001 audit library and increment generation counter.
9002 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
9003 * elf/tst-audit9.c: New file.
9004 * elf/tst-auditmod9a.c: New file.
9005 * elf/tst-auditmod9b.c: New file.
9006 * elf/Makefile: Add rules to build and run tst-audit9.
9008 2014-02-25 Florian Weimer <fweimer@redhat.com>
9011 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
9013 2014-02-25 Will Newton <will.newton@linaro.org>
9015 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
9016 (__longjmp): Restore sp and lr before restoring callee
9017 saved registers. Add longjmp and longjmp_target
9018 SystemTap probe point.
9019 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
9020 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
9021 Define to zero to match jmpbuf layout.
9022 * sysdeps/arm/setjmp.S: Include stap-probe.h.
9023 (__sigsetjmp): Save sp and lr before saving callee
9024 saved registers. Add setjmp SystemTap probe point.
9026 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
9028 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
9030 2014-02-24 Andreas Schwab <schwab@suse.de>
9033 * elf/pldd.c (wait_for_ptrace_stop): New function.
9034 (main): Call it after attaching.
9036 2014-02-22 Roland McGrath <roland@hack.frob.com>
9038 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
9039 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
9040 Versions files is now verboten.
9041 * hurd/Versions (libc: GLIBC_2.0):
9042 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
9043 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
9044 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
9045 * mach/Versions: Likewise.
9047 * csu/Versions: Remove unused %include.
9048 * resolv/Versions: Likewise.
9050 2014-02-21 Joseph Myers <joseph@codesourcery.com>
9052 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
9053 ($(objpfx)check-local-headers.out): Likewise.
9054 ($(objpfx)begin-end-check.out): Likewise.
9055 * Makerules (check-abi-%.out): Likewise.
9056 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
9057 ($(objpfx)test2.cat): Likewise.
9058 ($(objpfx)de/libc.cat): Likewise.
9059 ($(objpfx)test-gencat.out): Likewise.
9060 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
9061 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
9062 ($(objpfx)noload-mem): Likewise.
9063 ($(objpfx)tst-pathopt.out): Likewise.
9064 ($(objpfx)tst-rtld-load-self.out): Likewise.
9065 ($(objpfx)tst-array1-cmp.out): Likewise.
9066 ($(objpfx)tst-array1-static-cmp.out): Likewise.
9067 ($(objpfx)tst-array2-cmp.out): Likewise.
9068 ($(objpfx)tst-array3-cmp.out): Likewise.
9069 ($(objpfx)tst-array4-cmp.out): Likewise.
9070 ($(objpfx)tst-array5-cmp.out): Likewise.
9071 ($(objpfx)tst-array5-static-cmp.out): Likewise.
9072 ($(objpfx)check-textrel.out): Likewise.
9073 ($(objpfx)check-execstack.out): Likewise.
9074 ($(objpfx)check-localplt.out): Likewise.
9075 ($(objpfx)order2-cmp.out): Likewise.
9076 ($(objpfx)tst-leaks1-mem): Likewise.
9077 ($(objpfx)tst-leaks1-static-mem): Likewise.
9078 ($(objpfx)tst-initorder-cmp.out): Likewise.
9079 ($(objpfx)tst-initorder2-cmp.out): Likewise.
9080 ($(objpfx)tst-unused-dep.out): Likewise.
9081 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
9082 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
9083 * iconv/Makefile (test-iconvconfig): Likewise.
9084 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
9085 ($(objpfx)iconv-test.out): Likewise.
9086 ($(objpfx)tst-tables.out): Likewise.
9087 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
9088 ($(objpfx)tst-gettext.out): Likewise.
9089 ($(objpfx)tst-translit.out): Likewise.
9090 ($(objpfx)tst-gettext2.out): Likewise.
9091 ($(objpfx)tst-gettext4.out): Likewise.
9092 ($(objpfx)tst-gettext6.out): Likewise.
9093 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
9094 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
9095 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
9096 ($(objpfx)tst-fopenloc-mem.out): Likewise.
9097 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
9098 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
9099 * posix/Makefile ($(objpfx)globtest.out): Likewise.
9100 ($(objpfx)wordexp-tst.out): Likewise.
9101 ($(objpfx)annexc.out): Likewise.
9102 ($(objpfx)tst-fnmatch-mem): Likewise.
9103 ($(objpfx)bug-regex2-mem): Likewise.
9104 ($(objpfx)bug-regex14-mem): Likewise.
9105 ($(objpfx)bug-regex21-mem): Likewise.
9106 ($(objpfx)bug-regex31-mem): Likewise.
9107 ($(objpfx)tst-vfork3-mem): Likewise.
9108 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
9109 ($(objpfx)tst-pcre-mem): Likewise.
9110 ($(objpfx)tst-boost-mem): Likewise.
9111 ($(objpfx)tst-getconf.out): Likewise.
9112 ($(objpfx)bug-ga2-mem): Likewise.
9113 ($(objpfx)bug-glob2-mem): Likewise.
9114 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
9115 ($(objpfx)mtrace-tst-leaks2): Likewise.
9116 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
9117 ($(objpfx)tst-printf.out): Likewise.
9118 ($(objpfx)tst-setvbuf1.out): Likewise.
9119 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
9120 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
9121 ($(objpfx)tst-fmtmsg.out): Likewise.
9122 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
9123 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
9125 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
9126 * bits/sigaction.h [__USE_MISC]: Likewise.
9127 * bits/waitstatus.h: Update #endif comments.
9128 * ctype/ctype.h: Likewise.
9129 * dirent/dirent.h: Likewise.
9130 [__USE_MISC]: Remove redundant conditionals.
9131 * grp/grp.h: Update #endif comments.
9132 [__USE_GNU]: Remove redundant conditionals.
9133 [__USE_MISC]: Likewise.
9134 * inet/netinet/in.h [__USE_GNU]: Likewise.
9135 * io/sys/stat.h [__USE_MISC]: Likewise.
9136 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
9137 * libio/bits/stdio.h: Update #endif comments.
9138 [__USE_MISC]: Remove redundant conditionals.
9139 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
9140 * libio/stdio.h: Update #endif comments.
9141 [__USE_MISC]: Remove redundant conditionals.
9142 * math/bits/math-finite.h [__USE_MISC]: Likewise.
9143 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
9144 * math/math.h: Update #else and #endif comments.
9145 [__USE_MISC]: Remove redundant conditionals.
9146 * misc/sys/uio.h: Update #endif comments.
9147 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
9148 * posix/glob.h [__USE_MISC]: Likewise.
9149 * posix/sys/types.h: Update #endif comments.
9150 [__USE_MISC]: Remove redundant conditionals.
9151 * posix/sys/wait.h: Update #endif comments.
9152 [__USE_MISC]: Remove redundant conditionals.
9153 * posix/unistd.h: Update #endif comments.
9154 [__USE_MISC]: Remove redundant conditionals.
9155 * pwd/pwd.h [__USE_GNU]: Likewise.
9156 [__USE_MISC]: Likewise.
9157 * resolv/netdb.h [__USE_GNU]: Likewise.
9158 * signal/signal.h: Update #endif comments.
9159 [__USE_MISC]: Remove redundant conditionals.
9160 * stdlib/stdlib.h: Update #else and #endif comments.
9161 [__USE_MISC]: Remove redundant conditionals.
9162 [__USE_GNU]: Likewise.
9163 * string/bits/string2.h [__USE_MISC]: Likewise.
9164 * string/string.h: Update #endif comments.
9165 [__USE_MISC]: Remove redundant conditionals.
9166 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
9168 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
9169 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
9170 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
9172 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
9174 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
9176 [__USE_MISC]: Remove redundant conditionals.
9177 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
9178 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
9179 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
9180 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
9181 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
9183 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
9184 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
9186 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
9187 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
9189 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
9191 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
9192 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
9194 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
9196 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
9197 * sysdeps/x86/bits/string.h: Update #endif comments.
9198 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
9200 * time/sys/time.h: Update #endif comments.
9201 * time/time.h: Likewise.
9202 [__USE_MISC]: Remove redundant conditionals.
9204 2014-02-21 Yury Gribov <y.gribov@samsung.com>
9207 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
9209 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
9211 * Versions.def (librt): Add GLIBC_2.17.
9213 2014-02-21 Adam Conrad <adconrad@0c3.net>
9215 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
9216 synonym for _SYS_AUXV_H to allow direct inclusion.
9217 * sysdeps/sparc/bits/hwcap.h: Likewise.
9218 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
9219 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
9220 * sysdeps/sparc/sysdep.h: Likewise.
9222 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
9224 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
9226 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9228 * benchtests/bench-strrchr.c: Print length instead of position.
9230 2014-02-20 Joseph Myers <joseph@codesourcery.com>
9233 * sysdeps/unix/sysv/linux/kernel-features.h
9234 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
9235 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
9236 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
9237 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
9239 [__i386__ || __powerpc__ || __sh__ || __sparc__]
9240 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
9241 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
9242 (__ASSUME_SENDMMSG): Define instead of using previous
9243 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
9244 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
9245 (__ASSUME_SENDMMSG_SYSCALL): Define.
9246 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9247 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
9249 * sysdeps/unix/sysv/linux/arm/kernel-features.h
9250 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
9252 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
9253 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
9255 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
9256 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
9257 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
9258 [__ASSUME_SENDMMSG]: Change conditionals to
9259 [__ASSUME_SENDMMSG_SOCKETCALL].
9260 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9261 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
9263 * sysdeps/unix/sysv/linux/mips/kernel-features.h
9264 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
9266 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
9267 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
9268 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
9269 [!__ASSUME_SENDMMSG]: Change conditional to
9270 [!__ASSUME_SENDMMSG_SOCKETCALL].
9271 * sysdeps/unix/sysv/linux/tile/kernel-features.h
9272 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
9276 * sysdeps/unix/sysv/linux/kernel-features.h
9277 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
9278 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
9279 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
9280 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
9281 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
9282 [__i386__ || __sparc__]
9283 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
9284 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
9285 (__ASSUME_RECVMMSG): Define instead of using previous
9286 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
9287 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
9288 (__ASSUME_RECVMMSG_SYSCALL): Define.
9289 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9290 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9292 * sysdeps/unix/sysv/linux/arm/kernel-features.h
9293 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9295 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
9296 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9298 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
9299 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
9300 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
9301 [__ASSUME_RECVMMSG]: Change condition to
9302 [__ASSUME_RECVMMSG_SOCKETCALL].
9303 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9304 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9306 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
9307 * sysdeps/unix/sysv/linux/mips/kernel-features.h
9308 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9310 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
9311 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
9312 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
9313 [!__ASSUME_RECVMMSG]: Change condition to
9314 [!__ASSUME_RECVMMSG_SOCKETCALL].
9315 * sysdeps/unix/sysv/linux/tile/kernel-features.h
9316 (__ASSUME_RECVMMSG_SYSCALL): Define.
9319 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
9320 __powerpc__ || __s390__ || __sh__ || __sparc__]
9321 (__ASSUME_SOCKETCALL): Define.
9322 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
9323 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
9324 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
9325 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
9326 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
9327 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
9328 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
9329 (__ASSUME_ACCEPT4): Define instead of using previous
9330 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
9331 __powerpc__ || __sparc__ || __s390__)] condition.
9332 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
9333 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
9334 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
9335 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
9336 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
9337 [!__ASSUME_ACCEPT4]: Change condition to
9338 [!__ASSUME_ACCEPT4_SOCKETCALL].
9339 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9340 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
9341 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
9342 * sysdeps/unix/sysv/linux/arm/kernel-features.h
9343 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
9344 __ASSUME_ACCEPT4_SYSCALL.
9345 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
9346 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
9347 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
9348 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
9349 __ASSUME_ACCEPT4_SYSCALL.
9350 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
9351 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
9352 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
9353 [__ASSUME_ACCEPT4]: Change condition to
9354 [__ASSUME_ACCEPT4_SOCKETCALL].
9355 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
9356 (__ASSUME_SOCKETCALL): Define.
9357 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
9358 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9359 (__ASSUME_SOCKETCALL): Define.
9360 (__ASSUME_ACCEPT4): Remove.
9361 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
9363 * sysdeps/unix/sysv/linux/mips/kernel-features.h
9364 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
9366 * sysdeps/unix/sysv/linux/tile/kernel-features.h
9367 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
9369 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
9371 (HWCAP_ARM_LPAE): Likewise.
9372 (HWCAP_ARM_EVTSTRM): Likewise.
9373 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
9374 Add vpfd32, lpae and evtstrm.
9375 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
9378 2014-02-19 Joseph Myers <joseph@codesourcery.com>
9380 * math/auto-libm-test-in: Add tests of clog10.
9381 * math/auto-libm-test-out: Regenerated.
9382 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
9383 * sysdeps/i386/fpu/libm-test-ulps: Update.
9384 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9386 2014-02-18 Andreas Schwab <schwab@suse.de>
9389 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
9390 Store non-zero if the second buffer was newly allocated.
9391 (send_dg): Likewise.
9392 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
9393 to send_vc and send_dg.
9394 (res_nsend): Pass NULL for ansp2_malloced.
9395 * resolv/res_query.c (__libc_res_nquery): Add parameter
9396 answerp2_malloced and pass it down to __libc_res_nsend.
9397 (res_nquery): Pass additional NULL to __libc_res_nquery.
9398 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
9399 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
9400 second answer buffer if answerp2_malloced was set.
9401 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
9402 (__libc_res_nquerydomain): Add parameter
9403 answerp2_malloced and pass it down to __libc_res_nquery.
9404 (res_nquerydomain): Pass additional NULL to
9405 __libc_res_nquerydomain.
9406 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
9407 additional NULL to __libc_res_nsend and __libc_res_nquery.
9408 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
9409 additional NULL to __libc_res_nsearch.
9410 (_nss_dns_gethostbyname4_r): Revert last change. Use new
9411 parameter of __libc_res_nsearch to check for separately allocated
9413 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
9415 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
9416 additional NULL to __libc_res_nquery.
9417 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
9419 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
9420 * include/resolv.h: Update prototypes of __libc_res_nquery,
9421 __libc_res_nsearch, __libc_res_nsend.
9423 2014-02-18 Joseph Myers <joseph@codesourcery.com>
9425 * math/auto-libm-test-in: Add tests of fma.
9426 * math/auto-libm-test-out: Regenerated.
9427 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
9428 (fma_towardzero_test_data): Likewise.
9429 (fma_downward_test_data): Likewise.
9430 (fma_upward_test_data): Likewise.
9431 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
9433 (rounding_modes): Add values for new field.
9434 (func_calc_method): Add value mpfr_fff_f.
9435 (func_calc_desc): Add mpfr_fff_f union field.
9436 (test_function): Add field exact_args.
9437 (FUNC): Add macro argument EXACT_ARGS.
9438 (FUNC_mpfr_f_f): Update call to FUNC.
9439 (FUNC_mpfr_f_f): Likewise.
9440 (FUNC_mpfr_ff_f): Likewise.
9441 (FUNC_mpfr_if_f): Likewise.
9442 (FUNC_mpc_c_f): Likewise.
9443 (FUNC_mpc_c_c): Likewise.
9444 (test_functions): Add fma. Update calls to FUNC.
9445 (handle_input_arg): Add argument exact_args.
9446 (add_test): Update call to handle_input_arg.
9447 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
9448 (output_for_one_input_case): Update call to calc_generic_results.
9449 Recalculate exact zero results in each rounding mode.
9451 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
9452 non-negative before setting low bit.
9453 * math/auto-libm-test-in: Mark one asin test possibly having
9455 * math/auto-libm-test-out: Regenerated.
9456 * sysdeps/i386/fpu/libm-test-ulps: Update.
9457 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9459 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
9461 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
9462 * sysdeps/unix/sysv/linux/microblaze: Move directory from
9463 ports/sysdeps/unix/sysv/linux/microblaze.
9464 * README: Add missing listing for microblaze*-*-linux-gnu.
9466 2014-02-16 Mike Frysinger <vapier@gentoo.org>
9468 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
9469 * sysdeps/unix/sysv/linux/ia64: Move directory from
9470 ports/sysdeps/unix/sysv/linux/ia64.
9471 * README: Update listing for ia64-*-linux-gnu.
9473 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
9474 Joseph Myers <joseph@codesourcery.com>
9476 * Makeconfig (test-name): New variable.
9477 (evaluate-test): Likewise.
9478 * Makerules (do-test-clean): Remove .test-result files.
9479 (common-mostlyclean): Likewise.
9480 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
9481 * scripts/evaluate-test.sh: New file.
9483 2014-02-14 Joseph Myers <joseph@codesourcery.com>
9485 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
9486 separate $(objpfx)tst-fopenloc-cmp.out and
9487 $(objpfx)tst-fopenloc-mem.out targets.
9488 (tests): Update dependencies.
9489 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
9490 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
9491 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
9492 (tst-rxspencer-no-utf8-ARGS): New variable.
9493 (tst-rxspencer-no-utf8-ENV): Likewise.
9494 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
9495 instead of $(objpfx)tst-rxspencer-mem.
9496 ($(objpfx)tst-rxspencer-mem): Change target to
9497 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
9498 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
9499 * posix/tst-rxspencer-no-utf8.c: New file.
9501 * elf/Makefile ($(objpfx)order.out): Remove rule.
9502 [$(run-built-tests) = yes] (tests): Depend on
9503 $(objpfx)order-cmp.out.
9504 ($(objpfx)order-cmp.out): New rule.
9505 [$(run-built-tests) = yes] (tests): Depend on
9506 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
9507 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
9508 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
9509 $(objpfx)tst-array5-static-cmp.out.
9510 ($(objpfx)tst-array1.out): Remove rule.
9511 ($(objpfx)tst-array1-cmp.out): New rule.
9512 ($(objpfx)tst-array1-static.out): Remove rule.
9513 ($(objpfx)tst-array1-static-cmp.out): New rule.
9514 ($(objpfx)tst-array2.out): Remove rule.
9515 ($(objpfx)tst-array2-cmp.out): New rule.
9516 ($(objpfx)tst-array3.out): Remove rule.
9517 ($(objpfx)tst-array3-cmp.out): New rule.
9518 ($(objpfx)tst-array4.out): Remove rule.
9519 ($(objpfx)tst-array4-cmp.out): New rule.
9520 ($(objpfx)tst-array5.out): Remove rule.
9521 ($(objpfx)tst-array5-cmp.out): New rule.
9522 ($(objpfx)tst-array5-static.out): Remove rule.
9523 ($(objpfx)tst-array5-static-cmp.out): New rule.
9524 [$(run-built-tests) = yes] (tests): Depend on
9525 $(objpfx)order2-cmp.out.
9526 ($(objpfx)order2.out): Remove rule.
9527 ($(objpfx)order2-cmp.out): New rule.
9528 ($(objpfx)tst-initorder.out): Remove rule.
9529 [$(run-built-tests) = yes] (tests): Depend on
9530 $(objpfx)tst-initorder-cmp.out.
9531 ($(objpfx)tst-initorder-cmp.out): New rule.
9532 ($(objpfx)tst-initorder2.out): Remove rule.
9533 [$(run-built-tests) = yes] (tests): Depend on
9534 $(objpfx)tst-initorder2-cmp.out.
9535 ($(objpfx)tst-initorder2-cmp.out): New rule.
9536 [$(run-built-tests) = yes] (tests): Depend on
9537 $(objpfx)tst-unused-dep-cmp.out.
9538 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
9539 ($(objpfx)tst-unused-dep-cmp.out): New rule.
9540 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
9541 on $(objpfx)tst-setvbuf1-cmp.out.
9542 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
9543 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
9544 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
9545 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
9546 ($(objpfx)tst-svc.out): Remove rule.
9547 ($(objpfx)tst-svc-cmp.out): New rule.
9549 2014-02-13 Joseph Myers <joseph@codesourcery.com>
9551 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
9552 * ctype/ctype.h [__USE_MISC]: Likewise.
9553 * dirent/dirent.h [__USE_MISC]: Likewise.
9554 * grp/grp.h [__USE_MISC]: Likewise.
9555 * io/fcntl.h [__USE_MISC]: Likewise.
9556 * io/sys/stat.h [__USE_MISC]: Likewise.
9557 * libio/stdio.h [__USE_MISC]: Likewise.
9558 * posix/unistd.h [__USE_MISC]: Likewise.
9559 * pwd/pwd.h [__USE_MISC]: Likewise.
9560 * stdlib.h [__USE_MISC]: Likewise.
9561 * string/bits/string2.h [__USE_MISC]: Likewise.
9562 * string/string.h [__USE_MISC]: Likewise.
9563 * time/time.h [__USE_MISC]: Likewise.
9565 2014-02-13 Andreas Schwab <schwab@suse.de>
9568 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
9569 second answer buffer if it was separately allocated.
9571 2014-02-12 Joseph Myers <joseph@codesourcery.com>
9573 * sysdeps/mips/math-tests.h: Include <features.h>.
9574 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
9575 (ROUNDING_TESTS_long_double): Do not define.
9576 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
9577 (EXCEPTION_TESTS_long_double): Likewise.
9578 * sysdeps/mips/mips64/libm-test-ulps: Update.
9580 * include/features.h (__USE_BSD): Remove macro definitions.
9581 (__USE_SVID): Likewise.
9582 (_BSD_SOURCE): Likewise.
9583 (_SVID_SOURCE): Likewise.
9584 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
9585 from definition of _DEFAULT_SOURCE.
9586 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
9588 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
9589 * bits/mman.h [__USE_BSD]: Likewise.
9590 * bits/termios.h [__USE_BSD]: Likewise.
9591 * bits/waitstatus.h [__USE_BSD]: Likewise.
9592 * ctype/ctype.h [__USE_SVID]: Likewise.
9593 * dirent/dirent.h [__USE_BSD]: Likewise.
9594 * grp/grp.h [__USE_SVID]: Likewise.
9595 [__USE_BSD]: Likewise.
9596 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
9597 * io/fcntl.h [__USE_BSD]: Likewise.
9598 * io/ftw.h [__USE_BSD]: Likewise.
9599 * io/sys/stat.h [__USE_BSD]: Likewise.
9600 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
9601 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
9602 * libio/stdio.h [__USE_SVID]: Likewise.
9603 [__USE_BSD]: Likewise.
9604 * math/math.h [__USE_SVID]: Likewise.
9605 [__USE_BSD]: Likewise.
9606 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
9607 * misc/bits/syslog.h [__USE_BSD]: Likewise.
9608 * misc/search.h [__USE_SVID]: Likewise.
9609 * misc/sys/mman.h [__USE_BSD]: Likewise.
9610 * misc/sys/syslog.h [__USE_BSD]: Likewise.
9611 * misc/sys/uio.h [__USE_BSD]: Likewise.
9612 * posix/bits/unistd.h [__USE_BSD]: Likewise.
9613 * posix/glob.h [__USE_BSD]: Likewise.
9614 * posix/regex.h [__USE_BSD]: Likewise.
9615 * posix/sys/types.h [__USE_BSD]: Likewise.
9616 [__USE_SVID]: Likewise.
9617 * posix/sys/utsname.h [__USE_SVID]: Likewise.
9618 * posix/sys/wait.h [__USE_BSD]: Likewise.
9619 [__USE_SVID]: Likewise.
9620 * posix/unistd.h [__USE_BSD]: Likewise.
9621 [__USE_SVID]: Likewise.
9622 * pwd/pwd.h [__USE_SVID]: Likewise.
9623 * resolv/netdb.h [__USE_BSD]: Likewise.
9624 * setjmp/setjmp.h [__USE_BSD]: Likewise.
9625 * signal/signal.h [__USE_BSD]: Likewise.
9626 [__USE_SVID]: Likewise.
9627 * socket/sys/socket.h [__USE_BSD]: Likewise.
9628 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
9629 * stdlib/stdlib.h [__USE_BSD]: Likewise.
9630 [__USE_SVID]: Likewise.
9631 * string/bits/string2.h [__USE_BSD]: Likewise.
9632 [__USE_SVID]: Likewise.
9633 * string/bits/string3.h [__USE_BSD]: Likewise.
9634 * string/endian.h [__USE_BSD]: Likewise.
9635 * string/string.h [__USE_SVID]: Likewise.
9636 [__USE_BSD]: Likewise.
9637 * string/strings.h [__USE_BSD]: Likewise.
9638 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
9639 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
9640 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
9641 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
9642 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
9643 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
9645 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
9647 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
9648 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
9650 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
9651 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
9653 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
9655 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
9656 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
9657 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
9659 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
9661 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
9662 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
9663 * termios/termios.h [__USE_BSD]: Likewise.
9664 * time/sys/time.h [__USE_BSD]: Likewise.
9665 * time/time.h [__USE_BSD]: Likewise.
9666 [__USE_SVID]: Likewise.
9668 * Makefile (subdir_targets): Remove subdir_lint.out.
9670 * stdio-common/Makefile (do-tst-unbputc): Remove target.
9671 (do-tst-printf): Likewise.
9672 (tests): Depend directly on $(objpfx)tst-unbputc.out and
9673 $(objpfx)tst-printf.out.
9675 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
9677 * Makerules (check-abi-%): Change target to
9678 $(objpfx)check-abi-%.out.
9679 (check-abi target): Update dependencies.
9680 (check-abi-pattern variable): Redirect output of diff to $@.
9681 (check-abi variable): Likewise.
9682 * elf/Makefile (check-abi): Update dependencies.
9684 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
9686 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
9687 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
9689 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
9690 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
9691 value has largest subnormal exponent.
9692 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
9693 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
9694 * sysdeps/aarch64/soft-fp/sfp-machine.h
9695 (_FP_TININESS_AFTER_ROUNDING): New macro.
9696 * sysdeps/alpha/soft-fp/sfp-machine.h
9697 (_FP_TININESS_AFTER_ROUNDING): Likewise.
9698 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
9700 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
9701 (_FP_TININESS_AFTER_ROUNDING): Likewise.
9702 * sysdeps/mips/soft-fp/sfp-machine.h
9703 (_FP_TININESS_AFTER_ROUNDING): Likewise.
9704 * sysdeps/powerpc/soft-fp/sfp-machine.h
9705 (_FP_TININESS_AFTER_ROUNDING): Likewise.
9706 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
9708 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
9709 (_FP_TININESS_AFTER_ROUNDING): Likewise.
9710 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
9711 (_FP_TININESS_AFTER_ROUNDING): Likewise.
9712 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
9715 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
9718 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
9721 2014-02-12 Richard Henderson <rth@redhat.com>
9723 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
9724 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
9725 * sysdeps/unix/sysv/linux/alpha: Move directory from
9726 ports/sysdeps/unix/sysv/linux/alpha.
9727 * README: Update listing for alpha-*-linux-gnu.
9729 2014-02-11 Joseph Myers <joseph@codesourcery.com>
9731 * include/features.h: Update comment documenting feature test
9733 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
9735 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
9736 (_SVID_SOURCE): Likewise.
9737 (_DEFAULT_SOURCE): Update description of default features.
9738 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
9740 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
9741 (S_ISVTX): Likewise.
9742 * manual/math.texi (Mathematical Constants): Likewise.
9743 * manual/signal.texi (Interrupted Primitives): Likewise.
9744 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
9745 * math/test-matherr.c (_SVID_SOURCE): Do not define.
9746 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
9747 Don't refer to _SVID_SOURCE in warning text.
9749 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9751 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
9753 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
9754 * sysdeps/mips/dl-lookup.c: Remove.
9755 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
9757 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
9760 * math/auto-libm-test-in: Add testcase for expl.
9761 * math/auto-libm-test-out: Regenerate.
9762 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
9763 calculation of unsafe.
9764 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
9766 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
9768 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
9769 * sysdeps/unix/sysv/linux/aarch64: Move directory from
9770 ports/sysdeps/unix/sysv/linux/aarch64.
9771 * README: Update listing for aarch64*-*-linux-gnu.
9773 2014-02-11 Will Newton <will.newton@linaro.org>
9775 * manual/probes.texi (Mathematical Function Probes): Use
9776 "triggered" instead of "hit".
9778 * manual/probes.texi (Internal Probes): Add documentation
9779 of setjmp, longjmp and longjmp_target probes.
9781 * include/stap-probe.h: Add comment about probe argument
9784 * malloc/mtrace.c (attribute_hidden): Remove unused macro
9785 definition. (tr_where, tr_freehook, tr_mallochook,
9786 tr_reallochook, tr_memalignhook): Use ANSI protoype.
9788 2014-02-11 David S. Miller <davem@davemloft.net>
9790 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
9791 processing int_tests.
9793 2014-02-10 Joseph Myers <joseph@codesourcery.com>
9795 * sysdeps/mips: Move directory from ports/sysdeps/mips.
9796 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
9797 * sysdeps/unix/sysv/linux/mips: Move directory from
9798 ports/sysdeps/unix/sysv/linux/mips.
9799 * README: Update listing for mips-*-linux-gnu and
9802 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
9804 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
9805 * sysdeps/unix/sysv/linux/m68k: Move directory from
9806 ports/sysdeps/unix/sysv/linux/m68k.
9807 * README: Update listing for m68k-*-linux-gnu.
9809 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
9811 * sysdeps/tile: Move directory from ports/sysdeps/tile.
9812 * sysdeps/unix/sysv/linux/generic: Move directory from
9813 ports/sysdeps/unix/sysv/linux/generic.
9814 * sysdeps/unix/sysv/linux/tile: Move directory from
9815 ports/sysdeps/unix/sysv/linux/tile.
9816 * README: Update listing for tile*-*-linux-gnu.
9818 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
9820 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
9822 * benchtests/bench-memmem.c (simple_memmem): Likewise.
9823 * catgets/open_catalog.c (__open_catalog): Likewise.
9824 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
9825 * debug/confstr_chk.c: Likewise.
9826 * debug/fread_chk.c (__fread_chk): Likewise.
9827 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
9828 * debug/getgroups_chk.c: Likewise.
9829 * debug/mbsnrtowcs_chk.c: Likewise.
9830 * debug/mbsrtowcs_chk.c: Likewise.
9831 * debug/mbstowcs_chk.c: Likewise.
9832 * debug/memcpy_chk.c: Likewise.
9833 * debug/memmove_chk.c: Likewise.
9834 * debug/mempcpy_chk.c: Likewise.
9835 * debug/memset_chk.c: Likewise.
9836 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
9837 * debug/strcat_chk.c (__strcat_chk): Likewise.
9838 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
9839 * debug/strncat_chk.c (__strncat_chk): Likewise.
9840 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
9841 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
9842 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
9843 * debug/wcpncpy_chk.c: Likewise.
9844 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
9845 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
9846 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
9847 * debug/wcsncpy_chk.c: Likewise.
9848 * debug/wcsnrtombs_chk.c: Likewise.
9849 * debug/wcsrtombs_chk.c: Likewise.
9850 * debug/wcstombs_chk.c: Likewise.
9851 * debug/wmemcpy_chk.c: Likewise.
9852 * debug/wmemmove_chk.c: Likewise.
9853 * debug/wmempcpy_chk.c: Likewise.
9854 * debug/wmemset_chk.c: Likewise.
9855 * dirent/scandirat.c (SCANDIRAT): Likewise.
9856 * dlfcn/dladdr1.c (dladdr1): Likewise.
9857 * dlfcn/dladdr.c (dladdr): Likewise.
9858 * dlfcn/dlclose.c (dlclose_doit): Likewise.
9859 * dlfcn/dlerror.c (__dlerror): Likewise.
9860 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
9861 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
9862 * dlfcn/dlopen.c (dlopen_doit): Likewise.
9863 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
9864 * dlfcn/dlsym.c (dlsym_doit): Likewise.
9865 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
9866 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
9867 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
9869 * elf/dl-conflict.c: Likewise.
9870 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
9871 * elf/dl-dst.h: Likewise.
9872 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
9873 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
9874 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
9875 * elf/dl-init.c (call_init, _dl_init): Likewise.
9876 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
9877 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
9878 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
9880 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
9882 * elf/dl-minimal.c (__libc_memalign): Likewise.
9883 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
9884 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
9885 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
9886 * elf/dl-sym.c (do_sym): Likewise.
9887 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
9888 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
9889 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
9890 * elf/dl-writev.h (_dl_writev): Likewise.
9891 * elf/ldconfig.c (search_dir): Likewise.
9892 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
9893 (dl_main): Likewise.
9894 * elf/setup-vdso.h (setup_vdso): Likewise.
9895 * grp/compat-initgroups.c (compat_call): Likewise.
9896 * grp/fgetgrent.c (fgetgrent): Likewise.
9897 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
9898 * grp/putgrent.c (putgrent): Likewise.
9899 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
9901 * hurd/hurdinit.c: Likewise.
9902 * iconvdata/8bit-gap.c (struct): Likewise.
9903 * iconvdata/ansi_x3.110.c : Likewise.
9904 * iconvdata/big5.c : Likewise.
9905 * iconvdata/big5hkscs.c : Likewise.
9906 * iconvdata/cp1255.c: Likewise.
9907 * iconvdata/cp1258.c : Likewise.
9908 * iconvdata/cp932.c : Likewise.
9909 * iconvdata/euc-cn.c: Likewise.
9910 * iconvdata/euc-jisx0213.c : Likewise.
9911 * iconvdata/euc-jp.c: Likewise.
9912 * iconvdata/euc-jp-ms.c : Likewise.
9913 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
9914 * iconvdata/gb18030.c : Likewise.
9915 * iconvdata/gbbig5.c (const): Likewise.
9916 * iconvdata/gbgbk.c: Likewise.
9917 * iconvdata/gbk.c : Likewise.
9918 * iconvdata/ibm1364.c : Likewise.
9919 * iconvdata/ibm930.c : Likewise.
9920 * iconvdata/ibm932.c: Likewise.
9921 * iconvdata/ibm933.c : Likewise.
9922 * iconvdata/ibm935.c : Likewise.
9923 * iconvdata/ibm937.c : Likewise.
9924 * iconvdata/ibm939.c : Likewise.
9925 * iconvdata/ibm943.c: Likewise.
9926 * iconvdata/iso_11548-1.c: Likewise.
9927 * iconvdata/iso-2022-cn.c : Likewise.
9928 * iconvdata/iso-2022-cn-ext.c : Likewise.
9929 * iconvdata/iso-2022-jp-3.c: Likewise.
9930 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
9931 * iconvdata/iso-2022-kr.c : Likewise.
9932 * iconvdata/iso646.c (gconv_end): Likewise.
9933 * iconvdata/iso_6937-2.c : Likewise.
9934 * iconvdata/iso_6937.c : Likewise.
9935 * iconvdata/iso8859-1.c: Likewise.
9936 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
9937 * iconvdata/shift_jisx0213.c : Likewise.
9938 * iconvdata/sjis.c : Likewise.
9939 * iconvdata/t.61.c : Likewise.
9940 * iconvdata/tcvn5712-1.c : Likewise.
9941 * iconvdata/tscii.c: Likewise.
9942 * iconvdata/uhc.c : Likewise.
9943 * iconvdata/unicode.c (gconv_end): Likewise.
9944 * iconvdata/utf-16.c (gconv_end): Likewise.
9945 * iconvdata/utf-32.c (gconv_end): Likewise.
9946 * iconvdata/utf-7.c (base64): Likewise.
9947 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
9948 * iconv/gconv_close.c (__gconv_close): Likewise.
9949 * iconv/gconv_open.c (__gconv_open): Likewise.
9950 * iconv/gconv_simple.c (internal_ucs4_loop_single)
9951 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
9952 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
9953 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
9954 (ucs4le_internal_loop_single): Likewise.
9955 * iconv/iconv.c (iconv): Likewise.
9956 * iconv/iconv_close.c: Likewise.
9957 * iconv/loop.c (SINGLE): Likewise.
9958 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
9959 * include/atomic.h: Likewise.
9960 * inet/inet6_option.c (option_alloc): Likewise.
9961 * intl/bindtextdom.c (set_binding_values): Likewise.
9962 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
9963 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
9964 * intl/localealias.c (read_alias_file): Likewise.
9965 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
9966 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
9967 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
9968 * libio/fmemopen.c (fmemopen): Likewise.
9969 * libio/iofgets.c (_IO_fgets): Likewise.
9970 * libio/iofgets_u.c (fgets_unlocked): Likewise.
9971 * libio/iofgetws.c (fgetws): Likewise.
9972 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
9973 * libio/iogetdelim.c (_IO_getdelim): Likewise.
9974 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
9975 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
9976 * locale/findlocale.c (_nl_find_locale): Likewise.
9977 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
9978 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
9980 * locale/setlocale.c (setlocale): Likewise.
9981 * login/programs/pt_chown.c (main): Likewise.
9982 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
9983 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
9984 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
9985 (mmap, mmap64, mremap, munmap): Likewise.
9986 * math/e_exp2l.c: Likewise.
9987 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
9988 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
9989 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
9990 * math/s_catan.c (__catan): Likewise.
9991 * math/s_catanf.c (__catanf): Likewise.
9992 * math/s_catanh.c (__catanh): Likewise.
9993 * math/s_catanhf.c (__catanhf): Likewise.
9994 * math/s_catanhl.c (__catanhl): Likewise.
9995 * math/s_catanl.c (__catanl): Likewise.
9996 * math/s_ccosh.c (__ccosh): Likewise.
9997 * math/s_ccoshf.c (__ccoshf): Likewise.
9998 * math/s_ccoshl.c (__ccoshl): Likewise.
9999 * math/s_cexp.c (__cexp): Likewise.
10000 * math/s_cexpf.c (__cexpf): Likewise.
10001 * math/s_cexpl.c (__cexpl): Likewise.
10002 * math/s_clog10.c (__clog10): Likewise.
10003 * math/s_clog10f.c (__clog10f): Likewise.
10004 * math/s_clog10l.c (__clog10l): Likewise.
10005 * math/s_clog.c (__clog): Likewise.
10006 * math/s_clogf.c (__clogf): Likewise.
10007 * math/s_clogl.c (__clogl): Likewise.
10008 * math/s_csin.c (__csin): Likewise.
10009 * math/s_csinf.c (__csinf): Likewise.
10010 * math/s_csinh.c (__csinh): Likewise.
10011 * math/s_csinhf.c (__csinhf): Likewise.
10012 * math/s_csinhl.c (__csinhl): Likewise.
10013 * math/s_csinl.c (__csinl): Likewise.
10014 * math/s_csqrt.c (__csqrt): Likewise.
10015 * math/s_csqrtf.c (__csqrtf): Likewise.
10016 * math/s_csqrtl.c (__csqrtl): Likewise.
10017 * math/s_ctan.c (__ctan): Likewise.
10018 * math/s_ctanf.c (__ctanf): Likewise.
10019 * math/s_ctanh.c (__ctanh): Likewise.
10020 * math/s_ctanhf.c (__ctanhf): Likewise.
10021 * math/s_ctanhl.c (__ctanhl): Likewise.
10022 * math/s_ctanl.c (__ctanl): Likewise.
10023 * math/w_pow.c: Likewise.
10024 * math/w_powf.c: Likewise.
10025 * math/w_powl.c: Likewise.
10026 * math/w_scalb.c (sysv_scalb): Likewise.
10027 * math/w_scalbf.c (sysv_scalbf): Likewise.
10028 * math/w_scalbl.c (sysv_scalbl): Likewise.
10029 * misc/error.c (error_tail): Likewise.
10030 * misc/pselect.c (__pselect): Likewise.
10031 * nis/nis_callback.c (__nis_create_callback): Likewise.
10032 * nis/nis_call.c (__nisfind_server): Likewise.
10033 * nis/nis_creategroup.c (nis_creategroup): Likewise.
10034 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
10035 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
10036 * nis/nis_getservlist.c (nis_getservlist): Likewise.
10037 * nis/nis_lookup.c (nis_lookup): Likewise.
10038 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
10039 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
10040 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
10041 * nis/nis_xdr.c (xdr_endpoint): Likewise.
10042 * nis/nss_compat/compat-grp.c (getgrent_next_file)
10043 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
10044 * nis/nss_compat/compat-initgroups.c (add_group)
10045 (internal_getgrent_r): Likewise.
10046 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
10047 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
10048 * nis/nss_compat/compat-spwd.c (getspent_next_file)
10049 (internal_getspnam_r): Likewise.
10050 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
10051 (_nss_nis_getaliasbyname_r): Likewise.
10052 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
10053 (_nss_nis_getntohost_r): Likewise.
10054 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
10055 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
10056 (_nss_nis_getgrgid_r): Likewise.
10057 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
10058 (internal_nis_gethostent_r, internal_gethostbyname2_r)
10059 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
10060 (_nss_nis_gethostbyname4_r): Likewise.
10061 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
10062 (initgroups_netid): Likewise.
10063 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
10064 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
10065 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
10066 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
10067 (_nss_nis_getprotobynumber_r): Likewise.
10068 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
10069 (_nss_nis_getsecretkey): Likewise.
10070 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
10071 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
10072 (_nss_nis_getpwuid_r): Likewise.
10073 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
10074 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
10075 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
10076 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
10077 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
10078 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
10079 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
10081 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
10082 (_nss_nisplus_getntohost_r): Likewise.
10083 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
10084 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
10085 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
10086 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
10088 * nis/nss_nisplus/nisplus-initgroups.c
10089 (_nss_nisplus_initgroups_dyn): Likewise.
10090 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
10091 (_nss_nisplus_getnetbyaddr_r): Likewise.
10092 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
10093 (_nss_nisplus_getprotobynumber_r): Likewise.
10094 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
10095 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
10096 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
10098 * nis/nss_nisplus/nisplus-service.c
10099 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
10100 (_nss_nisplus_getservbyport_r): Likewise.
10101 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
10102 (_nss_nisplus_getspnam_r): Likewise.
10103 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
10105 * nscd/aicache.c (addhstaiX): Likewise.
10106 * nscd/cache.c (cache_search, prune_cache): Likewise.
10107 * nscd/connections.c (register_traced_file, send_ro_fd)
10108 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
10109 (main_loop_epoll): Likewise.
10110 * nscd/grpcache.c (addgrbyX): Likewise.
10111 * nscd/hstcache.c (addhstbyX): Likewise.
10112 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10113 * nscd/mem.c (gc, mempool_alloc): Likewise.
10114 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
10115 (addinnetgrX): Likewise.
10116 * nscd/nscd-client.h (__nscd_acquire_maplock)
10117 (__nscd_drop_map_ref): Likewise.
10118 * nscd/nscd_getai.c (__nscd_getai): Likewise.
10119 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
10120 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
10122 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
10123 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
10124 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
10125 (__nscd_get_map_ref): Likewise.
10126 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
10127 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
10129 * nscd/pwdcache.c (addpwbyX): Likewise.
10130 * nscd/selinux.c (preserve_capabilities): Likewise.
10131 * nscd/servicescache.c (addservbyX): Likewise.
10132 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
10133 * posix/fnmatch.c (fnmatch): Likewise.
10134 * posix/getopt.c (_getopt_internal_r): Likewise.
10135 * posix/glob.c (glob, glob_in_dir): Likewise.
10136 * posix/wordexp.c (exec_comm_child): Likewise.
10137 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
10138 (getanswer_r, gaih_getanswer_slice): Likewise.
10139 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
10140 * resolv/res_init.c: Likewise.
10141 * resolv/res_mkquery.c (res_nmkquery): Likewise.
10142 * resolv/res_query.c (__libc_res_nquery): Likewise.
10143 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
10145 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
10146 * stdio-common/perror.c (perror): Likewise.
10147 * stdio-common/printf_fp.c (___printf_fp): Likewise.
10148 * stdio-common/tmpnam.c (tmpnam): Likewise.
10149 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
10150 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
10151 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
10153 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
10154 * stdlib/putenv.c (putenv): Likewise.
10155 * stdlib/setenv.c (__add_to_environ): Likewise.
10156 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
10157 * stdlib/strtol_l.c (INTERNAL): Likewise.
10158 * string/memmem.c (memmem): Likewise.
10159 * string/strerror.c (strerror): Likewise.
10160 * string/strnlen.c (__strnlen): Likewise.
10161 * string/test-memmem.c (simple_memmem): Likewise.
10162 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
10163 * sunrpc/pm_getport.c (__get_socket): Likewise.
10164 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
10165 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
10166 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
10167 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
10169 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
10170 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
10171 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
10172 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
10173 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
10174 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
10176 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
10178 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
10179 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
10180 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
10181 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
10182 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
10183 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
10184 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
10185 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
10186 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
10187 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
10188 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
10189 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
10191 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
10193 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
10195 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
10196 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
10197 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
10198 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
10199 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
10200 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
10201 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
10202 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
10203 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
10204 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
10205 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
10206 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
10207 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
10208 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
10209 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10210 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
10212 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
10214 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
10216 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
10218 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
10219 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10220 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
10222 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
10223 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
10224 * sysdeps/posix/opendir.c (__opendirat): Likewise.
10225 * sysdeps/posix/sleep.c: Likewise.
10226 * sysdeps/posix/tempname.c: Likewise.
10227 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
10228 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
10230 * sysdeps/powerpc/powerpc32/dl-machine.h
10231 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
10232 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
10233 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
10234 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
10235 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
10237 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
10238 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
10239 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
10240 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
10241 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
10242 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
10243 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
10244 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
10245 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
10246 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
10247 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
10248 (elf_machine_lazy_rel): Likewise.
10249 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
10250 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
10251 (elf_machine_lazy_rel): Likewise.
10252 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
10253 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
10254 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
10255 * sysdeps/unix/grantpt.c (grantpt): Likewise.
10256 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
10257 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
10258 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
10259 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
10261 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
10262 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
10263 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
10264 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
10265 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
10266 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
10267 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
10268 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
10269 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
10270 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
10271 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
10273 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
10274 (__posix_fallocate64_l64): Likewise.
10275 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
10276 (posix_fallocate): Likewise.
10277 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
10279 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
10280 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
10281 (getifaddrs_internal): Likewise.
10282 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
10283 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
10284 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
10285 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
10286 * sysdeps/unix/sysv/linux/posix_fallocate64.c
10287 (__posix_fallocate64_l64): Likewise.
10288 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
10290 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
10291 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
10292 (__get_clockfreq): Likewise.
10293 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
10294 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
10295 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
10296 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
10297 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
10298 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
10299 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
10300 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
10302 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
10303 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
10304 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
10305 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
10306 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
10307 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
10308 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
10310 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
10311 (posix_fallocate): Likewise.
10312 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
10313 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
10314 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
10315 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
10316 (elf_machine_rela, elf_machine_rela_relative)
10317 (elf_machine_lazy_rel): Likewise.
10318 * time/asctime.c (asctime_internal): Likewise.
10319 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
10320 * time/tzset.c (__tzset_parse_tz): Likewise.
10321 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
10322 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
10323 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
10324 * wcsmbs/wcsmbsload.h: Likewise.
10327 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
10329 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
10330 (arena_get2): Remove THREAD_STATS conditionals.
10331 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
10332 (__malloc_stats, int): Likewise.
10334 2014-02-08 Mike Frysinger <vapier@gentoo.org>
10336 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
10337 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
10339 * manual/setjmp.texi: Fix typos/grammar errors.
10341 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
10342 Only return early when n is <= 0. Delete unused return statement.
10344 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
10345 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
10346 * debug/tst-longjmp_chk3.c: New file.
10348 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
10349 (test_main): Replace code with set_fortify_handler call.
10350 * debug/test-strcpy_chk.c: Likewise.
10351 * debug/tst-chk1.c: Likewise.
10352 * debug/tst-longjmp_chk.c: Likewise.
10353 * test-skeleton.c: Include fcntl.h & paths.h
10354 (set_fortify_handler): Define.
10356 * debug/tst-longjmp_chk.c: Add header comment and include
10357 ../test-skeleton.c.
10358 (do_test): Mark static.
10359 (TEST_FUNCTION): Define.
10361 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
10362 (IP_PMTUDISC_INTERFACE): Likewise.
10363 (IP_MULTICAST_IF): Likewise.
10364 (IP_MULTICAST_TTL): Likewise.
10365 (IP_MULTICAST_LOOP): Likewise.
10366 (IP_ADD_MEMBERSHIP): Likewise.
10367 (IP_DROP_MEMBERSHIP): Likewise.
10368 (IP_UNBLOCK_SOURCE): Likewise.
10369 (IP_BLOCK_SOURCE): Likewise.
10370 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
10371 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
10372 (IP_MSFILTER): Likewise.
10373 (MCAST_JOIN_GROUP): Likewise.
10374 (MCAST_BLOCK_SOURCE): Likewise.
10375 (MCAST_UNBLOCK_SOURCE): Likewise.
10376 (MCAST_LEAVE_GROUP): Likewise.
10377 (MCAST_JOIN_SOURCE_GROUP): Likewise.
10378 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
10379 (MCAST_MSFILTER): Likewise.
10380 (IP_MULTICAST_ALL): Likewise.
10381 (IP_UNICAST_IF): Likewise.
10383 * timezone/Makefile: Delete $(have-ksh) check.
10384 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
10385 * timezone/tzselect.ksh: Add +x mode bits.
10387 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
10388 (ANON_INODE_FS_MAGIC): Likewise.
10389 (BDEVFS_MAGIC): Likewise.
10390 (BINFMTFS_MAGIC): Likewise.
10391 (BTRFS_TEST_MAGIC): Likewise.
10392 (CRAMFS_MAGIC_WEND): Likewise.
10393 (DEBUGFS_MAGIC): Likewise.
10394 (ECRYPTFS_SUPER_MAGIC): Likewise.
10395 (EXT3_SUPER_MAGIC): Likewise.
10396 (EXT4_SUPER_MAGIC): Likewise.
10397 (FUTEXFS_SUPER_MAGIC): Likewise.
10398 (HOSTFS_SUPER_MAGIC): Likewise.
10399 (HUGETLBFS_MAGIC): Likewise.
10400 (MINIX3_SUPER_MAGIC): Likewise.
10401 (MTD_INODE_FS_MAGIC): Likewise.
10402 (NILFS_SUPER_MAGIC): Likewise.
10403 (OPENPROM_SUPER_MAGIC): Likewise.
10404 (PIPEFS_MAGIC): Likewise.
10405 (PSTOREFS_MAGIC): Likewise.
10406 (QNX6_SUPER_MAGIC): Likewise.
10407 (RAMFS_MAGIC): Likewise.
10408 (REISERFS_SUPER_MAGIC_STRING): Likewise.
10409 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
10410 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
10411 (SECURITYFS_MAGIC): Likewise.
10412 (SELINUX_MAGIC): Likewise.
10413 (SMACK_MAGIC): Likewise.
10414 (SOCKFS_MAGIC): Likewise.
10415 (SQUASHFS_MAGIC): Likewise.
10416 (STACK_END_MAGIC): Likewise.
10417 (TMPFS_MAGIC): Likewise.
10418 (USBDEVICE_SUPER_MAGIC): Likewise.
10419 (V9FS_MAGIC): Likewise.
10420 (XENFS_SUPER_MAGIC): Likewise.
10421 (CRAMFS_MAGIC): Fix typo in comment.
10422 (EXT2_SUPER_MAGIC): Update comment.
10423 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
10425 2014-02-08 Joseph Myers <joseph@codesourcery.com>
10427 * sysdeps/arm: Move directory from ports/sysdeps/arm.
10428 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
10429 * sysdeps/unix/sysv/linux/arm: Move directory from
10430 ports/sysdeps/unix/sysv/linux/arm.
10431 * README: Update listing for arm-*-linux-gnueabi.
10433 * README: Remove mention of am33.
10435 2014-02-07 Roland McGrath <roland@hack.frob.com>
10437 * bits/sigset.h (__sigemptyset): Use a statement expression rather
10438 than the comma operator, to avoid "rhs of comma has no effect"
10440 (__sigfillset, __sigandset, __sigorset): Likewise.
10441 * include/signal.h (__sigemptyset): Likewise.
10442 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
10444 2014-02-07 Allan McRae <allan@archlinux.org>
10446 * version.h (RELEASE): Set to "development".
10447 (VERSION): Set to "2.19.90"
10448 * NEWS: Add 2.20 section.
10450 2014-02-06 Carlos O'Donell <carlos@redhat.com>
10453 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
10455 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
10457 * manual/contrib.texi: Update entry for Carlos O'Donell,
10458 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
10460 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
10462 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
10464 * sysdeps/unix/sysv/linux/kernel-features.h
10465 [__LINUX_KERNEL_VERSION >= 0x020621]
10466 (__ASSUME_PROC_PID_TASK_COMM): Define.
10468 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
10471 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
10472 conversion when destination buffer does not have enough space.
10473 * libio/tst-ftell-partial-wide.c: New test case.
10474 * libio/Makefile (tests): Add tst-ftell-partial-wide.
10476 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
10477 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
10478 Leonard and Allan McRae.
10480 2014-02-04 David S. Miller <davem@davemloft.net>
10482 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
10485 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10487 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
10489 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
10491 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
10493 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
10495 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
10497 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
10499 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
10501 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
10503 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
10505 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
10507 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
10509 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
10511 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
10514 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10516 * nptl/shlib-versions: Change powerpc*le start to 2.17.
10517 * shlib-versions: Likewise.
10519 2014-02-04 Roland McGrath <roland@hack.frob.com>
10520 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10522 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
10523 (abilist-pattern): New variable, set to %-le.abilist.
10525 * Makerules (abilist-pattern): New variable.
10526 (vpath): Use $(abilist-pattern) in place of %.abilist.
10527 (check-abi-% pattern rule): Likewise.
10528 (check-abi, update-abi): Likewise.
10530 2014-02-04 Eric Wong <normalperson@yhbt.net>
10532 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10534 2014-02-03 Carlos O'Donell <carlos@redhat.com>
10536 * manual/startup.texi: Add next, previous, and top entries for
10537 the `Program Arguments' and `Environment Variables' nodes.
10539 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
10541 * manual/macros.texi: Add comments before MTASC-safety macros.
10543 * manual/users.texi: Document MTASC-safety properties.
10545 * manual/threads.texi (pthread_key_create, pthread_key_delete)
10546 (pthread_getspecific, pthread_setspecific): Format with
10547 @deftypefun, and add @safety note.
10548 * manual/signal.texi: Move comments that analyze the above
10549 functions to their home place.
10551 2014-02-03 Allan McRae <allan@archlinux.org>
10553 * po/sl.po: Update Slovenian translation from translation project.
10555 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
10557 * manual/time.texi (timegm): Add missing blank after @c.
10558 Reported by Joseph Myers <joseph@codesourcery.com>.
10560 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
10562 * manual/check-safety.sh: New.
10563 * manual/Makefile ($(objpfx)stamp-summary): Run it.
10565 * manual/terminal.texi: Document MTASC-safety properties.
10567 * manual/filesys.texi: Document MTASC-safety properties.
10569 * manual/errno.texi: Document MTASC-safety properties.
10571 * manual/intro.texi: Document safety identifiers and
10574 * manual/string.texi (wcstok): Fix prototype.
10575 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
10577 * manual/time.texi: Document MTASC-safety properties.
10579 * manual/string.texi: Document MTASC-safety properties.
10581 * manual/threads.texi: Document MTASC-safety properties.
10583 * manual/stdio.texi: Document MTASC-safety properties.
10585 * manual/syslog.texi: Document MTASC-safety properties.
10587 * manual/sysinfo.texi: Document MTASC-safety properties.
10589 * manual/startup.texi: Document MTASC-safety properties.
10591 * manual/socket.texi: Document MTASC-safety properties.
10593 * manual/signal.texi: Document MTASC-safety properties.
10595 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
10597 * manual/setjmp.texi: Document MTASC-safety properties.
10599 * manual/search.texi: Document MTASC-safety properties.
10601 * manual/resource.texi: Document MTASC-safety properties.
10603 * manual/process.texi: Document MTASC-safety properties.
10605 * manual/platform.texi: Document MTASC-safety properties.
10607 * manual/pipe.texi: Document MTASC-safety properties.
10609 * manual/pattern.texi: Document MTASC-safety properties.
10611 * manual/message.texi: Document MTASC-safety properties.
10614 * manual/memory.texi: Document MTASC-safety properties.
10616 * manual/math.texi: Document MTASC-safety properties.
10618 * manual/locale.texi: Document MTASC-safety properties.
10620 * manual/llio.texi: Document MTASC-safety properties.
10622 * manual/libdl.texi: New.
10624 * manual/lang.texi: Document MTASC-safety properties.
10626 * manual/job.texi: Document MTASC-safety properties.
10628 * manual/getopt.texi: Document MTASC-safety properties.
10630 * manual/ctype.texi: Document MTASC-safety properties.
10632 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
10635 * csu/libc-tls.c (static_map): Remove variable.
10636 (__libc_setup_tls): Use main executable's link map for TLS data.
10637 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
10638 casing for LM_ID_BASE and GL(dl_nns).
10639 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
10640 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
10641 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
10642 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
10643 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
10645 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
10648 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
10650 * manual/debug.texi: Document MTASC-safety properties.
10652 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
10655 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
10656 of __x86_64__ when disabling x87 inline functions.
10658 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
10660 * manual/charset.texi: Document MTASC-safety properties.
10662 * manual/crypt.texi: Document MTASC-safety properties.
10664 * manual/conf.texi: Document MTASC-safety properties.
10666 * manual/arith.texi: Document MTASC-safety properties.
10668 * manual/argp.texi: Document MTASC-safety properties.
10670 * manual/macros.texi: Introduce macros to document multi
10671 thread, asynchronous signal and asynchronous cancellation
10673 * manual/intro.texi: Introduce the properties themselves.
10675 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10677 * sysdeps/sh/sh4/Makefile: New file.
10679 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
10681 * math/gen-libm-test.pl ($srcdir): New variable.
10682 ($auto_input): Use it.
10684 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
10687 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
10688 access beyond array bounds when parsing netgroups file.
10690 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
10691 the old buffer before realloc.
10693 2014-01-27 Allan McRae <allan@archlinux.org>
10695 * po/fr.po: Update French translation from translation project.
10697 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10699 * sysdeps/sh/libm-test-ulps: Regenerate.
10701 2014-01-24 David S. Miller <davem@davemloft.net>
10703 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
10705 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10707 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
10708 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
10710 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
10713 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
10714 string pointers after reallocation.
10716 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10718 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
10719 __SH4A__ instead of __SH_FPU_ANY__.
10721 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10723 * sysdeps/sh/fpu_control.h: New file.
10724 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
10725 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
10726 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
10727 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
10728 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
10729 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
10730 * sysdeps/sh/sys/ucontext.h: Remove.
10731 * sysdeps/sh/sys: Remove directory.
10733 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10735 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
10736 s390/sys/ucontext.h.
10737 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
10738 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
10740 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
10743 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
10745 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10748 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
10749 Adjust the vDSO correctly for internal calls.
10750 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
10752 2014-01-20 Allan McRae <allan@archlinux.org>
10754 * po/ca.po: Update Catalan translation from translation project.
10756 2014-01-16 Mike Frysinger <vapier@gentoo.org>
10758 * sysdeps/s390/sotruss-lib.c: New file.
10760 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10763 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
10764 (__GI___gettimeofday): Alias for a different internal symbol to avoid
10765 local calls issues by not having a PLT stub required for IFUNC calls.
10766 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
10768 2014-01-16 Joseph Myers <joseph@codesourcery.com>
10770 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
10771 * math/test-fpucw-static.c: Likewise.
10773 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
10776 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
10778 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10780 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
10781 implementation for powerpc.
10783 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
10786 * sysdeps/posix/system.c (__libc_system): Do not enable
10787 asynchronous cancellation.
10789 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10792 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
10793 handling only for numbers special also in the IEEE case.
10795 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10797 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
10799 2014-01-11 Allan McRae <allan@archlinux.org>
10801 * po/bg.po: Update Bulgarian translation from translation project.
10803 * po/de.po: Update German translation from translation project.
10805 2014-01-10 Roland McGrath <roland@hack.frob.com>
10807 * sysdeps/generic/gcc-compat.h: New file.
10809 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
10811 * benchtests/asin-inputs: Correct slow inputs.
10812 * benchtests/acos-inputs: Likewise.
10814 2014-01-10 Allan McRae <allan@archlinux.org>
10816 * po:sv.po: Update Swedish translation from translation project.
10818 * po/vi.po: Update Vietnamese translation from translation project.
10820 * po/eo.po: Update Esperanto translation from translation project.
10822 * po/cs.po: Update Czech translation from translation project.
10824 * po/nl.po: Update Dutch translation from translation project.
10826 * po/pl.po: Update Polish translation from translation project.
10828 * po/ru.po: Update Russian translation from translation project.
10830 * po/uk.po: Update Ukrainian translation from translation project.
10832 2014-01-08 Brooks Moses <bmoses@google.com>
10834 * elf/dl-load.c: Fix comment typo.
10836 2014-01-08 Carlos O'Donell <carlos@redhat.com>
10838 * po/header.pot: Rename to...
10839 * po/pot.header: ... this.
10840 * po/Makefile: Use pot.header.
10842 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
10843 Maxim Kuvyrkov <maxim@kugelworks.com>
10846 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
10847 SRC and DEST against LEN.
10849 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10852 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
10854 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
10856 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10858 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10860 2014-01-08 Joseph Myers <joseph@codesourcery.com>
10863 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
10864 for large positive arguments.
10866 2014-01-07 Joseph Myers <joseph@codesourcery.com>
10868 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
10870 * math/auto-libm-test-in: Mark various tests with
10871 xfail-rounding:ldbl-128ibm.
10872 * math/auto-libm-test-out: Regenerated.
10875 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
10876 Increase overflow threshold.
10878 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
10881 * stdio-common/vfprintf.c: Check for integer overflow.
10883 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10885 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
10886 the first argument and return value of __tls_get_addr_internal.
10888 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10890 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
10891 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
10893 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10895 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
10896 * sysdeps/s390/rtld-global-offsets.sym: New file.
10897 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
10899 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
10900 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
10901 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
10903 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
10904 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
10906 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
10908 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
10910 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
10911 halfs of GPRs for high_gprs contexts.
10912 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
10913 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
10915 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
10917 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
10919 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
10920 for high GPRs (uc_high_gprs) and for future extensions
10922 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
10923 for future extensions (__reserved).
10924 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
10926 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
10927 SC_HIGHGPRS offset definition.
10928 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
10929 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
10931 * Versions.def: Add GLIBC_2.19 for libpthread.
10932 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
10933 siglongjmp for libpthread with GLIBC_2.19 symver.
10934 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
10935 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
10936 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
10937 * sysdeps/s390/__longjmp.c: New file.
10938 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
10939 * sysdeps/s390/longjmp.c: New file.
10940 * sysdeps/s390/setjmp.S: New file.
10941 * sysdeps/s390/sigjmp.S: New file.
10942 * sysdeps/s390/v1-longjmp.c: New file.
10943 * sysdeps/s390/v1-setjmp.h: New file.
10944 * sysdeps/s390/v1-sigjmp.c: New file.
10945 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
10946 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
10947 GLIBC_2.19 version.
10948 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
10949 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
10950 versioned symbols for ____longjmp_chk.
10951 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
10953 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
10955 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
10957 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
10959 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
10961 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
10962 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
10963 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
10964 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
10965 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
10966 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
10967 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
10968 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
10969 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
10970 * sysdeps/s390/rtld-__longjmp.c: New file.
10971 * sysdeps/s390/rtld-setjmp.S: New file.
10973 2014-01-06 Joseph Myers <joseph@codesourcery.com>
10976 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
10977 Return -__logl (x) for small positive arguments without evaluating
10980 2014-01-06 Mike Frysinger <vapier@gentoo.org>
10982 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
10984 (__ptrace_peeksiginfo_args): ... this.
10985 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
10986 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
10987 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
10989 2014-01-06 Allan McRae <allan@archlinux.org>
10991 * inet/netinet/in.h: Fix typo in comment.
10993 2014-01-05 Andreas Jaeger <aj@suse.de>
10995 * sysdeps/i386/fpu/libm-test-ulps: Update.
10997 2014-01-05 Allan McRae <allan@archlinux.org>
10999 * po/libc.pot: Regenerated.
11001 * malloc/memusagestat.c: Fix gettext call formatting.
11003 2014-01-04 Sami Kerola <kerolasa@iki.fi>
11005 * nscd/nscd.c: Improve usage() output.
11007 2014-01-04 Mike Frysinger <vapier@gentoo.org>
11009 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
11010 * sysdeps/unix/sysv/linux/configure: Regenerated.
11011 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
11012 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
11014 2014-01-03 Joseph Myers <joseph@codesourcery.com>
11017 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
11018 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
11020 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11022 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
11023 extra tokens at end of #undef directive.
11024 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
11025 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
11026 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
11028 2014-01-03 Joseph Myers <joseph@codesourcery.com>
11030 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
11032 * math/auto-libm-test-in: Mark various tests with
11033 xfail-rounding:ldbl-128ibm.
11034 * math/auto-libm-test-out: Regenerated.
11036 2014-01-02 Joseph Myers <joseph@codesourcery.com>
11039 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
11040 numbers with subnormal high part when calculating exponent.
11043 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
11047 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
11049 (__ieee754_acoshl): Use __log1pl not __log1p.
11051 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
11053 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
11054 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
11055 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
11056 (grow_heap, heap_trim, _int_new_arena, get_free_list)
11057 (reused_arena, arena_get2): Convert to GNU style.
11058 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
11059 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
11060 (memalign_check, __malloc_set_state): Likewise.
11061 * malloc/mallocbug.c (main): Likewise.
11062 * malloc/malloc.c (__malloc_assert, malloc_init_state)
11063 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
11064 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
11065 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
11066 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
11067 (__posix_memalign, malloc_info): Likewise.
11068 * malloc/malloc.h: Likewise.
11069 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
11070 (mallochook, memalignhook, reallochook, mabort): Likewise.
11071 * malloc/mcheck.h: Likewise.
11072 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
11073 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
11074 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
11075 * malloc/morecore.c (__default_morecore): Likewise.
11076 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
11077 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
11078 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
11079 (print_and_abort): Likewise.
11080 * malloc/obstack.h: Likewise.
11081 * malloc/set-freeres.c (__libc_freeres): Likewise.
11082 * malloc/tst-mallocstate.c (main): Likewise.
11083 * malloc/tst-mtrace.c (main): Likewise.
11084 * malloc/tst-realloc.c (do_test): Likewise.
11086 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
11089 * nscd/netgroupcache.c (do_notfound): New function.
11090 (addgetnetgrentX): Use it.
11093 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
11094 NSS_STATUS_NOTFOUND.
11096 2014-01-01 Joseph Myers <joseph@codesourcery.com>
11098 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
11099 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11101 2014-01-01 Allan McRae <allan@archlinux.org>
11103 * scripts/update-copyrights: Update configure input file suffix.
11105 * NEWS: Update copyright year.
11106 * catgets/gencat.c: Likewise.
11107 * csu/version.c: Likewise.
11108 * debug/catchsegv.sh: Likewise.
11109 * debug/pcprofiledump.c: Likewise.
11110 * debug/xtrace.sh: Likewise.
11111 * elf/ldconfig.c: Likewise.
11112 * elf/ldd.bash.in: Likewise.
11113 * elf/pldd.c: Likewise.
11114 * elf/sotruss.ksh: Likewise.
11115 * elf/sprof.c: Likewise.
11116 * iconv/iconv_prog.c: Likewise.
11117 * iconv/iconvconfig.c: Likewise.
11118 * locale/programs/locale.c: Likewise.
11119 * locale/programs/localedef.c: Likewise.
11120 * login/programs/pt_chown.c: Likewise.
11121 * malloc/memusage.sh: Likewise.
11122 * malloc/memusagestat.c: Likewise.
11123 * malloc/mtrace.pl: Likewise.
11124 * manual/libc.texinfo: Likewise.
11125 * nscd/nscd.c: Likewise.
11126 * nss/getent.c: Likewise.
11127 * nss/makedb.c: Likewise.
11128 * posix/getconf.c: Likewise.
11129 * scripts/test-installation.pl: Likewise.
11131 * All files with FSF copyright notices: Update copyright dates
11132 using scripts/update-copyrights.
11133 * intl/plural.c: Regenerated.
11134 * locale/programs/charmap-kw.h: Likewise.
11135 * locale/programs/locfile-kw.h: Likewise.
11137 2013-12-31 Mike Frysinger <vapier@gentoo.org>
11139 * sysdeps/unix/sysv/linux/configure: Regenerated.
11140 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
11141 the linux/fanotify.h header.
11142 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
11143 HAVE_LINUX_FANOTIFY_H is defined.
11145 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
11147 * benchtests/cos-inputs: New inputs.
11148 * benchtests/sin-inputs: Likewise.
11150 * benchtests/atan-inputs: New inputs. Fix name of multiple
11151 precision fallback inputs.
11153 * benchtests/atanh-inputs: New inputs.
11154 * benchtests/tanh-inputs: Likewise.
11156 * benchtests/acosh-inputs: New inputs.
11157 * benchtests/asinh-inputs: Likewise.
11159 * benchtests/cosh-inputs: New inputs.
11160 * benchtests/sinh-inputs: Likewise.
11162 * benchtests/acos-inputs: Add more inputs.
11163 * benchtests/asin-inputs: Likewise.
11165 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
11168 * manual/arith.texi: Fix spelling.
11169 * manual/charset.texi: Likewise.
11170 * manual/errno.texi: Likewise.
11171 * manual/filesys.texi: Likewise.
11172 * manual/lang.texi: Likewise.
11173 * manual/llio.texi: Likewise.
11174 * manual/locale.texi: Likewise.
11175 * manual/message.texi: Likewise.
11176 * manual/resource.texi: Likewise.
11177 * manual/search.texi: Likewise.
11178 * manual/setjmp.texi: Likewise.
11179 * manual/stdio.texi: Likewise.
11180 * manual/string.texi: Likewise.
11181 * manual/sysinfo.texi: Likewise.
11182 * manual/time.texi: Likewise.
11184 2013-12-27 Carlos O'Donell <carlos@redhat.com>
11186 * po/sl.po: New file.
11188 2013-12-27 Mike Frysinger <vapier@gentoo.org>
11190 * .gitignore: Add core/.gdbinit/.gdb_history.
11192 2013-12-27 Allan McRae <allan@archlinux.org>
11195 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
11196 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
11198 2013-12-24 Brooks Moses <bmoses@google.com>
11200 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
11201 all compilers that claim C++98 compliance, not just GCC.
11202 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
11205 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
11207 * NEWS: Restore accidentally deleted bug-fix entries.
11209 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
11210 Ondřej Bílka <neleai@seznam.cz>
11213 * malloc/malloc.c (_int_free): Perform sanity check only if we
11216 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
11219 * manual/stdio.texi (String Input Conversions): Clarify that character
11220 classes are not supported.
11222 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11224 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11226 2013-12-22 Joseph Myers <joseph@codesourcery.com>
11229 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
11230 Calculate results for small negative arguments directly rather
11231 than using reflection formula with special underflow handling.
11233 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
11234 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
11235 sysdeps/unix/bsd/bsd4.4/syscalls.list.
11236 (fchflags): Likewise.
11237 (revoke): Likewise.
11238 (setlogin): Likewise.
11239 (sigaltstack): Likewise.
11241 (sigblock): Remove.
11242 (sigsetmask): Likewise.
11244 (waitpid): Likewise.
11245 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
11246 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
11248 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
11249 * sysdeps/unix/bsd/Makefile: ... here.
11250 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
11251 * sysdeps/unix/bsd/Versions: ... here.
11252 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
11253 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
11254 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
11255 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
11256 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
11257 * sysdeps/unix/bsd/sigblock.c: ... here.
11258 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
11259 * sysdeps/unix/bsd/sigsetmask.c: ... here.
11260 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
11261 * sysdeps/unix/bsd/sigvec.c: ... here.
11262 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
11263 * sysdeps/unix/bsd/tcdrain.c: ... here.
11264 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
11265 * sysdeps/unix/bsd/tcgetattr.c: ... here.
11266 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
11267 * sysdeps/unix/bsd/tcsetattr.c: ... here.
11268 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
11269 * sysdeps/unix/bsd/wait.c: ... here.
11270 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
11271 * sysdeps/unix/bsd/wait3.c: ... here.
11272 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
11273 * sysdeps/unix/bsd/waitpid.c: ... here.
11275 2013-12-21 Joseph Myers <joseph@codesourcery.com>
11278 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
11279 round-to-nearest for [!USE_AS_EXPM1L].
11280 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
11281 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
11282 more tests of exp and exp10. Expect some exp10 tests to miss
11283 exceptions or fail in directed rounding modes.
11284 * math/auto-libm-test-out: Regenerated.
11285 * math/libm-test.inc (exp10_tonearest_test_data): New array.
11286 (exp10_test_tonearest): New function.
11287 (exp10_towardzero_test_data): New array.
11288 (exp10_test_towardzero): New function.
11289 (exp10_downward_test_data): New array.
11290 (exp10_test_downward): New function.
11291 (exp10_upward_test_data): New array.
11292 (exp10_test_upward): New function.
11293 (main): Call the new functions.
11294 * sysdeps/i386/fpu/libm-test-ulps: Update.
11295 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11297 2013-12-20 Joseph Myers <joseph@codesourcery.com>
11299 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
11300 asinh, atan, atan2, atanh, cbrt, cos and cosh.
11301 * math/auto-libm-test-out: Regenerated.
11302 * math/libm-test.inc (acosh_test_data): Add more tests.
11303 (atanh_test_data): Likewise.
11304 (ceil_test_data): Likewise.
11305 (copysign_test_data): Likewise.
11306 * sysdeps/i386/fpu/libm-test-ulps: Update.
11307 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11309 * timezone/checktab.awk: Update from tzcode 2013i.
11310 * timezone/private.h: Likewise.
11311 * timezone/scheck.c: Likewise.
11312 * timezone/tzfile.h: Likewise.
11313 * timezone/tzselect.ksh: Likewise.
11314 * timezone/zdump.c: Likewise.
11315 * timezone/zic.c: Likewise.
11317 * math/auto-libm-test-in: Add tests of cpow.
11318 * math/auto-libm-test-out: Regenerated.
11319 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
11320 * math/gen-auto-libm-tests.c (func_calc_method): Add value
11322 (func_calc_desc): Add mpc_cc_c union field.
11323 (test_functions): Add cpow.
11324 (special_fill_2pi): New function.
11325 (special_real_inputs): Add 2pi.
11326 (calc_generic_results): Handle mpc_cc_c.
11327 * sysdeps/i386/fpu/libm-test-ulps: Update.
11328 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11330 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
11331 csqrt, ctan and ctanh.
11332 * math/auto-libm-test-out: Regenerated.
11333 * math/libm-test.inc (TEST_COND_x86_64): New macro.
11334 (TEST_COND_x86): Likewise.
11335 (ccos_test_data): Use AUTO_TESTS_c_c.
11336 (ccosh_test_data): Likewise.
11337 (cexp_test_data): Likewise.
11338 (clog_test_data): Likewise.
11339 (csqrt_test_data): Likewise.
11340 (ctan_test_data): Likewise.
11341 (ctan_tonearest_test_data): Likewise.
11342 (ctan_towardzero_test_data): Likewise.
11343 (ctan_downward_test_data): Likewise.
11344 (ctan_upward_test_data): Likewise.
11345 (ctanh_test_data): Likewise.
11346 (ctanh_tonearest_test_data): Likewise.
11347 (ctanh_towardzero_test_data): Likewise.
11348 (ctanh_downward_test_data): Likewise.
11349 (ctanh_upward_test_data): Likewise.
11350 * math/gen-auto-libm-tests.c (func_calc_method): Add value
11352 (func_calc_desc): Add mpc_c_c union field.
11353 (FUNC_mpc_c_c): New macro.
11354 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
11355 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
11357 (special_fill_min_subnorm_p120): New function.
11358 (special_real_inputs): Add min_subnorm_p120.
11359 (calc_generic_results): Handle mpc_c_c.
11360 * sysdeps/i386/fpu/libm-test-ulps: Update.
11361 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11363 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
11365 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
11366 (do_sin_slow): New functions.
11367 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
11368 (cslow2, csloww1, csloww2): Use the new functions.
11370 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
11371 Use M to change sign of result instead of X. Assume X is
11373 (csloww1): Likewise.
11377 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
11378 arguments A and DA.
11382 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
11384 (sloww1): Don't adjust sign of DX.
11385 (csloww1): Likewise.
11386 (sloww2): Use X directly and don't adjust sign of DX.
11387 (csloww2): Likewise.
11389 2013-12-19 Joseph Myers <joseph@codesourcery.com>
11391 * math/auto-libm-test-in: Add tests of cabs and carg.
11392 * math/auto-libm-test-out: Regenerated.
11393 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
11394 (carg_test_data): Likewise.
11395 * math/gen-auto-libm-tests.c (func_calc_method): Add value
11397 (func_calc_desc): Add mpc_c_f union field.
11398 (test_functions): Add cabs and carg.
11399 (calc_generic_results): Handle mpc_c_f.
11401 * sysdeps/powerpc/powerpc32/libgcc-compat.S
11402 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
11403 as a macro and a compat symbol.
11404 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
11405 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
11406 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
11407 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
11408 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
11409 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
11411 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
11413 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
11415 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
11417 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
11419 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
11421 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
11422 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
11425 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11427 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11429 2013-12-19 Joseph Myers <joseph@codesourcery.com>
11431 * manual/texinfo.tex: Update to version 2013-11-26.10 with
11432 trailing whitespace removed.
11433 * scripts/config.guess: Update to version 2013-11-29.
11434 * scripts/config.sub: Update to version 2013-10-01.
11436 * math/auto-libm-test-in: Add tests of sincos.
11437 * math/auto-libm-test-out: Regenerated.
11438 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
11439 * math/gen-auto-libm-tests.c (func_calc_method): Add value
11441 (func_calc_desc): Add mpfr_f_11 union field.
11442 (test_functions): Add sincos.
11443 (calc_generic_results): Handle mpfr_f_11.
11444 * sysdeps/i386/fpu/libm-test-ulps: Update.
11445 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11447 2013-12-19 Andreas Schwab <schwab@suse.de>
11449 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
11451 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
11452 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
11453 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
11455 2013-12-19 Joseph Myers <joseph@codesourcery.com>
11457 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
11458 * sysdeps/i386/fpu/libm-test-ulps: Update.
11459 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11462 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
11463 round-to-nearest mode when using frndint.
11464 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
11465 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
11466 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
11468 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
11470 * math/auto-libm-test-out: Regenerated.
11471 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
11472 (TEST_COND_x86): Likewise.
11473 (expm1_tonearest_test_data): New array.
11474 (expm1_test_tonearest): New function.
11475 (expm1_towardzero_test_data): New array.
11476 (expm1_test_towardzero): New function.
11477 (expm1_downward_test_data): New array.
11478 (expm1_test_downward): New function.
11479 (expm1_upward_test_data): New array.
11480 (expm1_test_upward): New function.
11481 (main): Run the new test functions.
11482 * sysdeps/i386/fpu/libm-test-ulps: Update.
11483 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11485 * include/features.h: Update comment documenting feature test
11486 macros. Mention _DEFAULT_SOURCE in comment.
11487 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
11488 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
11489 _BSD_SOURCE and _SVID_SOURCE.
11490 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
11491 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
11492 !_SVID_SOURCE]: Likewise.
11493 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
11494 (__USE_POSIX_IMPLICITLY): Define.
11495 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
11496 (_POSIX_SOURCE): Undefine and redefine.
11497 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
11498 (_POSIX_C_SOURCE): Likewise.
11499 * manual/creature.texi (_DEFAULT_SOURCE): Document.
11500 (Feature Test Macros): Update documentation of default features.
11502 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11504 * benchtests/Makefile: Add bench-strtok.
11505 * benchtests/bench-strtok.c: New file: strtok benchtest.
11507 2013-12-19 Allan McRae <allan@archlinux.org>
11509 * manual/install.texi: Suppress menu for plain text output.
11510 * INSTALL: Regenerated.
11512 2013-12-18 Brooks Moses <bmoses@google.com>
11515 * misc/getauxval.c: Include errno.h.
11516 (__getauxval): Set errno to ENOENT if the requested type is not
11518 * misc/sys/auxv.h (getauxval): Document that it may set errno;
11519 don't declare with __attribute_const__.
11520 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
11521 * manual/startup.texi: Document that getauxval sets errno.
11523 2013-12-18 Joseph Myers <joseph@codesourcery.com>
11525 * math/auto-libm-test-in: Add tests of jn and yn.
11526 * math/auto-libm-test-out: Regenerated.
11527 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
11528 (yn_test_data): Likewise.
11529 * math/gen-auto-libm-tests.c (func_calc_method): Add value
11531 (func_calc_desc): Add mpfr_if_f union field.
11532 (FUNC_mpfr_if_f): New macro.
11533 (test_functions): Add jn and yn.
11534 (calc_generic_results): Assert type of second input for
11535 mpfr_ff_f. Handle mpfr_if_f.
11536 (output_for_one_input_case): Disable all checking for arguments
11537 fitting floating-point types in case of an integer argument.
11538 * sysdeps/i386/fpu/libm-test-ulps: Update.
11539 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11541 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
11542 Don't expect fegetround reference in libm.so.
11544 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11546 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
11547 $(config-cflags-nofma).
11549 2013-12-18 Joseph Myers <joseph@codesourcery.com>
11551 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
11552 * math/auto-libm-test-out: Regenerated.
11555 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
11556 to determine exponent and adjust argument to have exponent of -1.
11557 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
11559 * math/auto-libm-test-out: Regenerated.
11560 * sysdeps/i386/fpu/libm-test-ulps: Update.
11561 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11563 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
11565 * manual/probes.texi: Remove cases when per-thread arenas are
11568 2013-12-18 Andreas Schwab <schwab@suse.de>
11570 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
11571 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
11572 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
11573 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
11574 * sysdeps/i386/i686/multiarch/Makefile: Update.
11575 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
11577 2013-12-17 Joseph Myers <joseph@codesourcery.com>
11579 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
11580 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
11582 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
11585 Support TZ transition times < 00:00:00.
11586 This is needed for version-3 tz-format files; it supports time
11587 stamps past 2037 for America/Godthab (the only entry in the tz
11588 database for which this change is relevant).
11589 * manual/time.texi (TZ Variable): Document transition times
11590 from -167:59:59 through -00:00:01.
11591 * time/tzset.c (tz_rule): Time of day is now signed.
11592 (__tzset_parse_tz): Parse negative time of day.
11594 Document TZ transition times >= 25:00:00.
11595 * manual/time.texi (TZ Variable): Document transition times from
11596 25:00:00 through 167:59:59. These are already supported, and this
11597 support will help with version-3 tz-format files.
11599 * manual/time.texi (TZ Variable): Modernize North America example
11600 to reflect current (i.e., 2007-and-later) daylight saving rules.
11602 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
11604 2013-12-17 Joseph Myers <joseph@codesourcery.com>
11606 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
11607 * sysdeps/unix/bsd/bits/stat.h: Likewise.
11608 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
11609 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
11610 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
11611 * sysdeps/unix/bsd/bsdstat.h: Likewise.
11612 * sysdeps/unix/bsd/clock.c: Likewise.
11613 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
11614 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
11615 * sysdeps/unix/bsd/init-posix.c: Likewise.
11616 * sysdeps/unix/bsd/poll.c: Likewise.
11617 * sysdeps/unix/bsd/ptsname.c: Likewise.
11618 * sysdeps/unix/bsd/seekdir.c: Likewise.
11619 * sysdeps/unix/bsd/setegid.c: Likewise.
11620 * sysdeps/unix/bsd/seteuid.c: Likewise.
11621 * sysdeps/unix/bsd/setgid.c: Likewise.
11622 * sysdeps/unix/bsd/setrgid.c: Likewise.
11623 * sysdeps/unix/bsd/setruid.c: Likewise.
11624 * sysdeps/unix/bsd/setsid.c: Likewise.
11625 * sysdeps/unix/bsd/setuid.c: Likewise.
11626 * sysdeps/unix/bsd/sigaction.c: Likewise.
11627 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
11628 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
11629 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
11630 * sysdeps/unix/bsd/telldir.c: Likewise.
11631 * sysdeps/unix/bsd/times.c: Likewise.
11632 * sysdeps/unix/bsd/usleep.c: Likewise.
11634 * misc/Makefile (install-lib): Remove libbsd-compat.a.
11635 ($(objpfx)libbsd-compat.a): Remove rule.
11637 * include/features.h (__FAVOR_BSD): Do not define.
11638 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
11639 features conflicting with POSIX.
11640 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
11641 (_BSD_SOURCE): Remove description of not being a subset of other
11642 feature test macros.
11643 * manual/job.texi (getpgrp): Do not document BSD version.
11644 (getpgid): Do not document by reference to BSD getpgrp.
11645 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
11646 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
11647 * signal/signal.h [__FAVOR_BSD]: Likewise.
11648 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
11649 instead of making contents conditional on [__FAVOR_BSD].
11650 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
11652 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11654 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11656 2013-12-17 Joseph Myers <joseph@codesourcery.com>
11659 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
11660 values below 2**-450, not 2**-500.
11661 * math/auto-libm-test-in: Don't allow spurious underflow from
11663 * math/auto-libm-test-out: Regenerated.
11667 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
11668 values of ha and hb and sort them after adjusting subnormal
11670 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
11672 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
11673 values of ea and eb and sort them after adjusting subnormal
11675 * math/auto-libm-test-in: Do not expect some hypot tests of
11676 subnormals to fail. Add more hypot tests.
11677 * math/auto-libm-test-out: Regenerated.
11679 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11682 * sysdeps/sh/s_fma.c: New file.
11683 * sysdeps/sh/s_fmaf.c: New file.
11684 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
11686 * sysdeps/sh/Implies: Add sh/soft-fp.
11688 2013-12-16 Roland McGrath <roland@hack.frob.com>
11690 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
11691 level of indirection to members `objname', `errstring', `malloced'.
11692 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
11693 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
11694 it as the __longjmp argument (just pass 1 instead).
11695 (_dl_catch_error): Initialize C with argument pointers and address of
11696 volatile local ERRCODE rather than copying values out of C at return.
11698 2013-12-16 Joseph Myers <joseph@codesourcery.com>
11700 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
11701 * math/auto-libm-test-out: Regenerated.
11702 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
11703 (hypot_test_data): Likewise.
11704 (pow_test_data): Likewise.
11705 (pow_tonearest_test_data): Likewise.
11706 * math/gen-auto-libm-tests.c (func_calc_method): Add value
11708 (func_calc_desc): Add mpfr_ff_f union field.
11709 (FUNC_mpfr_ff_f): New macro.
11710 (test_functions): Add atan2, hypot and pow.
11711 (special_fill_min): New function.
11712 (special_fill_minus_min): Likewise.
11713 (special_fill_min_subnorm): Likewise.
11714 (special_fill_minus_min_subnorm): Likewise.
11715 (special_real_inputs): Add min, -min, min_subnorm and
11717 (calc_generic_results): Handle mpfr_ff_f.
11718 * sysdeps/i386/fpu/libm-test-ulps: Update.
11719 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11721 2013-12-16 Will Newton <will.newton@linaro.org>
11723 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
11724 (Aligned Memory Blocks): Add documentation for aligned_alloc
11725 and suggest it as an alternative to posix_memalign.
11726 (Hooks for Malloc): Document __memalign_hook is also called
11727 for aligned_alloc. (Summary of Malloc): Add summary for
11728 aligned alloc. Document __memalign_hook is also called
11731 2013-12-16 Will Newton <will.newton@linaro.org>
11733 * manual/memory.texi (Malloc Examples): Clarify default
11734 alignment documentation. Suggest posix_memalign rather
11735 than memalign or valloc.
11736 (Aligned Memory Blocks): Remove suggestion to use memalign
11737 or valloc. Remove obsolete comment about BSD.
11738 Document memalign errno values and mark the function obsolete.
11739 Document posix_memalign returned error codes. Mark valloc
11740 as obsolete. (Hooks for Malloc): __memalign_hook is also
11741 called for posix_memalign and valloc.
11742 (Summary of Malloc): Add posix_memalign to function summary.
11743 __memalign_hook is also called for posix_memalign and valloc.
11745 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
11747 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
11751 (sloww): Use mynumber union. Expand ternary operator into
11752 if-else statements.
11753 (cslow): use mynumber union.
11755 2013-12-16 Allan McRae <allan@archlinux.org>
11757 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
11758 * configure: Regenerated.
11760 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
11763 * configure.ac: Added --enable-maintainer-mode. Check for
11764 autoconf when enabled.
11765 * configure: Regenerated.
11767 * nscd/nscd.service: New file.
11768 * nscd/nscd.tmpfiles: New file.
11770 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
11773 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
11774 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
11775 * sysdeps/x86_64/multiarch/strstr.c: ... here.
11776 (strstr): Add __strstr_sse2_unaligned ifunc.
11777 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
11778 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
11779 (strcasestr): Remove __strcasestr_sse42 ifunc.
11780 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
11781 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
11782 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
11784 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11786 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
11787 * sysdeps/sh/bits/fenv.h: ... here.
11788 * sysdeps/sh/sh4/fpu/bits: Remove directory.
11790 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11792 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
11794 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
11795 hypotf multiarch implementations.
11796 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
11797 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
11798 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
11799 multiarch hypot for PPC64.
11800 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
11801 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
11802 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
11803 multiarch hypotf for PPC64.
11805 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
11806 modff multiarch implementations.
11807 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
11808 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
11809 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
11810 multiarch modf for PPC64.
11811 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
11812 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
11813 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
11814 multiarch modff for PPC64.
11816 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
11817 and logl multiarch implementations.
11818 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
11819 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
11820 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
11821 multiarch logb for PPC64.
11822 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
11823 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
11824 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
11825 multiarch logb for PPC64.
11826 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
11827 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
11828 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
11829 multiarch logb for PPC64.
11831 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
11832 isinff multiarch implementation.
11833 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
11835 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
11836 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
11837 multiarch isinf for PPC64.
11838 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
11840 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
11841 multiarch isinff for PPC64.
11843 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
11844 finitef multiarch implementation.
11845 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
11847 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
11848 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
11849 multiarch finite for PPC64.
11850 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
11852 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
11853 multiarch finitef for PPC64.
11855 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
11856 lrint multiarch implementation.
11857 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
11859 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
11860 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
11861 multiarch llrint for PPC64.
11862 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
11863 multiarch lrint for PPC64.
11865 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
11866 copysignf multiarch implementation.
11867 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
11869 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
11871 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
11872 multiarch copysign for PPC64.
11873 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
11874 multiarch copysignf for PPC64.
11876 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
11877 multiarch implementation.
11878 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
11880 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
11882 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
11884 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
11886 multiarch llround for PPC64.
11887 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
11888 multiarch trunc for PPC64.
11889 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
11890 multiarch truncf for PPC64.
11892 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
11893 multiarch implementation.
11894 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
11896 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
11898 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
11900 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
11902 multiarch llround for PPC64.
11903 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
11904 multiarch round for PPC64.
11905 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
11906 multiarch roundf for PPC64.
11908 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
11909 multiarch implementation.
11910 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
11912 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
11914 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
11916 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
11918 multiarch llround for PPC64.
11919 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
11920 multiarch floor for PPC64.
11921 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
11922 multiarch floorf for PPC64.
11924 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
11925 multiarch implementation.
11926 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
11928 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
11930 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
11932 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
11934 multiarch llround for PPC64.
11935 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
11936 multiarch ceil for PPC64.
11937 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
11938 multiarch ceilf for PPC64.
11940 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
11941 multiarch implementation.
11942 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
11944 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
11946 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
11948 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
11949 multiarch llround for PPC64.
11950 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
11951 multiarch lround for PPC64.
11953 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
11954 multiarch implementation.
11955 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
11956 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
11957 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
11959 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
11960 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
11961 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
11962 multiarch isnan for PPC64.
11963 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
11964 multiarch isnanf for PPC64.
11966 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
11967 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
11968 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
11969 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
11970 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
11971 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
11973 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
11974 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
11975 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
11976 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
11978 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
11979 multiarch implementations.
11980 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11981 (__libc_ifunc_impl_list): Likewise.
11982 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
11983 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
11984 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
11985 multiarch stpcpy for PPC64.
11987 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
11988 multiarch implementations.
11989 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11990 (__libc_ifunc_impl_list): Likewise.
11991 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
11992 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
11993 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
11994 multiarch strcpy for PPC64.
11996 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
11997 redefine function name.
11998 (_wordcopy_fwd_dest_aligned): Likewise.
11999 (_wordcopy_bwd_aligned): Likewise.
12000 (_wordcopy_bwd_dest_aligned): Likewise.
12001 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
12002 multiarch implementations.
12003 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12004 (__libc_ifunc_impl_list): Likewise.
12005 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
12006 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
12007 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
12008 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
12009 multiarch wcscpy for PPC64.
12011 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
12012 multiarch implementations.
12013 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12014 (__libc_ifunc_impl_list): Likewise.
12015 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
12016 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
12017 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
12018 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
12019 multiarch wcscpy for PPC64.
12021 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
12022 multiarch implementations.
12023 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12024 (__libc_ifunc_impl_list): Likewise.
12025 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
12026 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
12027 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
12028 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
12029 multiarch wcsrchr for PPC64.
12031 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
12032 multiarch implementations.
12033 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12034 (__libc_ifunc_impl_list): Likewise.
12035 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
12036 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
12037 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
12038 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
12039 multiarch wcschr for PPC64.
12041 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
12042 multiarch implementations.
12043 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12044 (__libc_ifunc_impl_list): Likewise.
12045 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
12046 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
12047 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
12048 multiarch strchrnul for PPC64.
12050 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
12052 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12053 (__libc_ifunc_impl_list): Likewise.
12054 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
12055 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
12056 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
12057 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
12060 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
12062 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12063 (__libc_ifunc_impl_list): Likewise.
12064 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
12065 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
12066 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
12067 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
12070 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
12071 multiarch implementations.
12072 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12073 (__libc_ifunc_impl_list): Likewise.
12074 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
12075 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
12076 strncasecmp for PPC64.
12077 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
12078 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
12079 multiarch strncasecmp_l for PPC64.
12081 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
12082 multiarch implementations.
12083 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12084 (__libc_ifunc_impl_list): Likewise.
12085 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
12086 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
12087 multiarch strcasecmp for PPC64.
12088 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
12090 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
12091 multiarch strcasecmp_l for PPC64.
12093 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
12095 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12096 (__libc_ifunc_impl_list): Likewise.
12097 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
12098 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
12099 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
12102 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
12104 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12105 (__libc_ifunc_impl_list): Likewise.
12106 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
12107 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
12108 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
12111 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
12113 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12114 (__libc_ifunc_impl_list): Likewise.
12115 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
12116 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
12117 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
12118 rawmemrchr for PPC64.
12120 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
12122 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12123 (__libc_ifunc_impl_list): Likewise.
12124 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
12125 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
12126 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
12129 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
12131 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12132 (__libc_ifunc_impl_list): Likewise.
12133 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
12134 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
12135 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
12138 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
12140 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12141 (__libc_ifunc_impl_list): Likewise.
12142 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
12143 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
12144 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
12147 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
12148 avoid cretion of __bzero symbol.
12149 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
12151 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
12153 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
12155 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
12156 multiarch implementations.
12157 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12158 (__libc_ifunc_impl_list): Likewise.
12159 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
12160 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
12161 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
12162 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
12164 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
12165 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
12166 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
12167 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
12168 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
12170 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
12172 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
12173 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
12175 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12176 (__libc_ifunc_impl_list): Likewise.
12177 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
12178 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
12179 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
12180 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
12183 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
12184 multiarch for POWER/PPC64.
12185 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
12186 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
12187 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
12188 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
12189 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
12190 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
12191 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
12192 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
12193 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
12196 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
12197 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
12198 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
12199 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
12200 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
12201 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
12202 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
12203 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
12204 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
12205 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
12206 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
12207 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
12208 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
12209 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
12210 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
12211 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
12212 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
12213 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
12214 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
12215 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
12216 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
12217 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
12219 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12221 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
12223 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
12225 * benchtests/Makefile (bench): Add exp2 and log2.
12226 (LDLIBS-bench-exp2): Add -lm.
12227 (LDLIBS-bench-log2): Likewise.
12228 * benchtests/exp2-inputs: New inputs file.
12229 * benchtests/log2-inputs: New inputs file.
12230 * benchtests/log-inputs: Add new inputs.
12231 * benchtests/tan-inputs: Likewise.
12233 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12235 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
12237 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
12238 (csloww2): ... from here.
12240 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
12241 instead of structures.
12242 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
12243 (POLYNOMIAL): Likewise.
12244 (TAYLOR_SLOW): Likewise.
12250 (sloww1); Likewise.
12251 (sloww2): Likewise.
12252 (bsloww1): Likewise.
12253 (bsloww2): Likewise.
12254 (cslow2): Likewise.
12255 (csloww): Likewise.
12256 (csloww1): Likewise.
12257 (csloww2): Likewise.
12259 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
12261 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
12262 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
12263 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
12264 * malloc/hooks.c (realloc_check): Likewise.
12266 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
12267 * malloc/arena.c: Remove PER_THREAD conditional.
12268 [!PER_THREAD]: Remove code.
12269 (ptmalloc_unlock_all2): Likewise.
12270 (ptmalloc_init): Likewise.
12271 (_int_new_arena): Likewise.
12272 (arena_get2): Likewise.
12273 * malloc/hooks.c (__malloc_get_state): Likewise.
12274 (__malloc_set_state): Likewise.
12275 * malloc/malloc.c: Likewise.
12276 (struct malloc_state): Likewise.
12277 (struct malloc_par): Likewise.
12278 (__libc_realloc): Likewise.
12279 (__libc_mallopt): Likewise.
12281 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12283 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
12285 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
12287 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
12288 macro to a function. Check for zero perturb_byte.
12289 (_int_malloc, _int_free): Remove zero perturb_byte checks.
12291 * malloc/malloc.c: (force_reg): Remove.
12292 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
12293 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
12294 force_reg by atomic_forced_read.
12295 * malloc/arena.c (ptmalloc_init): Likewise.
12296 * malloc/hooks.c (top_check): Likewise.
12298 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12300 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12302 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
12304 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12306 2013-12-08 Joseph Myers <joseph@codesourcery.com>
12308 * math/auto-libm-test-in: Add tests of lgamma.
12309 * math/auto-libm-test-out: Regenerated.
12310 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
12311 (M_LOG_2_SQRT_PIl): Likewise.
12312 (lgamma_test_data): Use AUTO_TESTS_f_f1.
12313 * math/gen-auto-libm-tests.c (func_calc_method): Add value
12315 (func_calc_desc): Add mpfr_f_f1 union field.
12316 (ARGS1): New macro.
12324 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
12325 (test_functions): Add lgamma.
12326 (calc_generic_results): Handle mpfr_f_f1.
12327 * sysdeps/i386/fpu/libm-test-ulps: Update.
12328 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12330 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12332 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
12333 __mpn_add_n for PowerPC64/POWER7.
12334 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
12335 __mpn_sub_n for PowerPC64/POWER7.
12337 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
12338 __mpn_addmul_1 for PowerPC64.
12339 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
12340 __mpn_submul_1 for PowerPC64.
12341 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
12343 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
12346 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
12349 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
12351 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12353 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
12355 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
12356 add multiarch folders.
12357 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
12358 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
12359 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
12360 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
12361 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
12362 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
12363 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
12364 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
12365 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
12366 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
12367 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
12368 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
12369 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
12370 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
12371 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
12372 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
12373 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
12375 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
12376 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
12377 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
12379 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
12381 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
12382 multiarch __ieee754_hypot for PowerPC32.
12383 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
12385 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
12387 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
12388 multiarch __ieee754_hypotf for PowerPC32.
12390 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
12391 long_double_symbol only if __logbl is defined.
12392 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
12393 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
12394 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
12395 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
12396 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
12397 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
12398 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
12399 path for implementation.
12400 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
12401 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
12402 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
12403 logb, and logbl multiarch implementations for PowerPC32.
12404 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
12406 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
12408 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
12409 multiarch logb for PowerPC32.
12410 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
12412 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
12414 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
12415 multiarch logbf for PowerPC32.
12416 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
12417 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
12419 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
12420 multiarch logbl implementation for PowerPC32.
12422 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
12423 and modff multiarch implementations.
12424 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
12426 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
12428 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
12429 multiarch modf for PowerPC32.
12430 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
12432 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
12434 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
12435 multiarch modff for PowerPC32.
12437 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
12438 and lrintf multiarch implementations.
12439 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
12441 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
12443 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
12444 multiarch lrint for PowerPC32.
12445 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
12446 file: multiarch lrintf for PowerPC32.
12448 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
12449 and lroundf multiarch implementations.
12450 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
12452 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
12454 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
12456 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
12457 multiarch lround for PowerPC32.
12458 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
12459 file: multiarch lroundf for PowerPC32.
12461 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
12462 copysign and copysignf multiarch implementations.
12463 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
12465 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
12467 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
12468 file: multiarch copysign for PowerPC32.
12469 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
12470 file: multiarch copysignf for PowerPC32.
12472 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
12473 and truncf multiarch implementations.
12474 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
12476 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
12478 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
12479 multiarch trunc for PowerPC32.
12480 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
12482 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
12484 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
12485 multiarch truncf for PowerPC32.
12487 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
12488 and roundf multiarch implementations.
12489 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
12491 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
12493 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
12494 multiarch round for PowerPC32.
12495 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
12497 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
12499 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
12500 multiarch roundf for PowerPC32.
12502 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
12503 and floorf multiarch implementations.
12504 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
12506 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
12508 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
12509 multiarch floor for PowerPC32.
12510 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
12512 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
12514 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
12515 multiarch floorf for PowerPC32.
12517 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
12518 and ceilf multiarch implementations.
12519 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
12521 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
12523 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
12524 multiarch ceil for PowerPC32.
12525 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
12527 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
12529 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
12530 multiarch ceilf for PowerPC32.
12532 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
12534 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
12535 FINITEF is defined.
12536 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
12537 and finitef multiarch implementations.
12538 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
12540 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
12542 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
12543 multiarch finite for PowerPC32.
12544 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
12546 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
12547 file: multiarch finitef for PowerPC32.
12549 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
12550 and isinff multiarch implementations.
12551 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
12553 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
12555 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
12556 multiarch isinf for PowerPC32.
12557 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
12559 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
12560 multiarch isinff for PowerPC32.
12562 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
12563 alias when __isnan is defined.
12564 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
12565 and isnanf multiarch implementations.
12566 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
12568 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
12570 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
12572 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
12574 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
12575 multiarch isnan for PowerPC32.
12576 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
12578 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
12580 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
12581 multiarch isnanf for PowerPC32.
12583 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
12584 and sqrtf multiarch implementations.
12585 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
12587 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
12589 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
12590 multiarch sqrt for PowerPC32.
12591 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
12593 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
12595 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
12596 multiarch sqrtf for PowerPC32.
12598 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
12599 and llroundf multiarch implementations.
12600 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
12602 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
12604 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
12606 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
12607 file: multiarch llround for PowerPC32.
12608 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
12609 file: multiarch llroundf for PowerPC32.
12611 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
12612 multiarch PowerPC32 fpu implementations.
12613 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
12615 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
12617 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
12618 multiarch llrint for PowerPC32.
12619 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
12621 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
12623 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
12626 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
12628 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
12630 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
12632 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
12634 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
12635 multiarch wordcopy for PPC32.
12636 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
12638 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12639 (__libc_ifunc_impl_list): Likewise.
12640 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
12641 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
12642 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
12643 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
12644 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
12645 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
12647 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
12648 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
12650 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
12652 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
12654 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
12655 multiarch wcscpy for PPC32.
12656 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
12658 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12659 (__libc_ifunc_impl_list): Likewise.
12660 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
12661 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
12662 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
12663 sysdeps/powerpc/power6/wcscpy.c.
12665 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
12666 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
12668 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
12670 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
12672 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
12673 multiarch wcsrchr for PPC32.
12674 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
12676 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12677 (__libc_ifunc_impl_list): Likewise.
12678 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
12679 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
12680 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
12681 sysdeps/powerpc/power6/wcsrchr.c.
12683 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
12685 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
12687 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
12688 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
12689 multiarch wcschr for PPc32.
12690 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
12692 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12693 (__libc_ifunc_impl_list): Likewise.
12694 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
12695 * sysdeps/powerpc/power6/wcschr.c: ... to here.
12696 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
12697 sysdeps/powerpc/power6/wcschr.c.
12699 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
12700 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
12702 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
12703 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
12704 file: multiarch strchr for PPC32.
12705 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
12707 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12708 (__libc_ifunc_impl_list): Likewise.
12710 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
12712 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
12714 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
12716 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
12717 multiarch strchrnul for PPC32.
12718 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
12720 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12721 (__libc_ifunc_impl_list): Likewise.
12723 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
12725 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
12726 multiarch strncasecmp for PPC32.
12727 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
12729 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
12730 multiarch strncasecmp_l for PPC32.
12731 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
12732 strncasecmp multiarch objects.
12733 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12734 (__libc_ifunc_impl_list): Likewise.
12736 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
12738 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
12739 multiarch strncasecmp for PPC32.
12740 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
12742 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
12743 multiarch strcasecmp_l for PPC32.
12744 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
12746 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12747 (__libc_ifunc_impl_list): Likewise.
12749 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
12751 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
12753 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
12754 multiarch strncmp for PPC32.
12755 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
12757 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12758 (__libc_ifunc_impl_list): Likewise.
12760 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
12761 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
12763 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
12764 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
12765 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
12767 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12768 (__libc_ifunc_impl_list): Likewise.
12770 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
12772 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
12774 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
12775 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
12777 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12778 (__libc_ifunc_impl_list): Likewise.
12780 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
12782 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
12784 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
12785 multiarch rawmemchr for PPC32.
12786 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
12788 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12789 (__libc_ifunc_impl_list): Likewise.
12791 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
12793 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
12795 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
12796 file: memrchr multiarch for PPC32.
12797 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
12799 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12800 (__libc_ifunc_impl_list): Likewise.
12802 * string/memchr.c (__memchr): Using macro to redefine symbol name.
12803 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
12805 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
12806 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
12807 multiarch memchr for PPC32.
12808 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
12810 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12811 (__libc_ifunc_impl_list): Likewise.
12813 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
12814 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
12816 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
12818 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
12819 file: multiarch mempcpy for PPC32.
12820 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
12822 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12823 (__libc_ifunc_impl_list): Likewise.
12825 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
12826 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
12827 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
12828 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
12829 multiarch bzero for PPC32.
12830 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
12832 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
12834 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
12835 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
12836 file: multiarch memset for PPC32.
12837 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
12838 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
12839 memset multiarch objects.
12840 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12841 (__libc_ifunc_impl_list): Likewise.
12843 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
12845 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
12846 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
12848 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
12849 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
12851 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12852 (__libc_ifunc_impl_list): Likewise.
12854 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
12855 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
12856 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
12858 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
12860 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
12862 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
12863 multiarch memcpy for PPC32.
12864 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
12866 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12867 (__libc_ifunc_impl_list): Likewise.
12869 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
12870 support multiarch for POWER/PPC32.
12871 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
12873 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
12874 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
12875 Implies file to make multiarch folder appers before the fpu and
12876 default folder for power4 configuration.
12878 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
12880 * scripts/bench.pl: Append volatile keyword to type.
12882 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12884 * sysdeps/sh/sotruss-lib.c: New file.
12885 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
12887 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12889 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12891 2013-12-05 Joseph Myers <joseph@codesourcery.com>
12894 * math/w_tgamma.c: Include <errno.h>.
12895 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
12896 * math/w_tgammaf.c: Include <errno.h>.
12897 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
12898 * math/w_tgammal.c: Include <errno.h>.
12899 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
12900 * math/auto-libm-test-in: Do not allow missing errno on tgamma
12901 underflow. Add more tgamma tests.
12902 * math/auto-libm-test-out: Regenerated.
12903 * sysdeps/i386/fpu/libm-test-ulps: Update.
12904 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12906 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
12907 sin, sinh, tan, tanh, tgamma, y0 and y1.
12908 * math/auto-libm-test-out: Regenerated.
12909 * math/libm-test.inc (TEST_COND_x86_64): New macro.
12910 (TEST_COND_x86): Likewise.
12911 (M_E2l): Remove macro.
12913 (M_2_SQRT_PIl): Likewise.
12914 (M_SQRT_PIl): Likewise.
12915 (M_1_DIV_El): Likewise.
12916 (log_test_data): Use AUTO_TESTS_f_f.
12917 (log10_test_data): Likewise.
12918 (log1p_test_data): Likewise.
12919 (log2_test_data): Likewise.
12920 (sin_test_data): Likewise.
12921 (sin_tonearest_test_data): Likewise.
12922 (sin_towardzero_test_data): Likewise.
12923 (sin_downward_test_data): Likewise.
12924 (sin_upward_test_data): Likewise.
12925 (sinh_test_data): Likewise.
12926 (sinh_tonearest_test_data): Likewise.
12927 (sinh_towardzero_test_data): Likewise.
12928 (sinh_downward_test_data): Likewise.
12929 (sinh_upward_test_data): Likewise.
12930 (tan_test_data): Likewise.
12931 (tan_tonearest_test_data): Likewise.
12932 (tan_towardzero_test_data): Likewise.
12933 (tan_downward_test_data): Likewise.
12934 (tan_upward_test_data): Likewise.
12935 (tanh_test_data): Likewise.
12936 (tgamma_test_data): Likewise.
12937 (y0_test_data): Likewise.
12938 (y1_test_data): Likewise.
12939 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
12940 (special_real_inputs): Add pi/4.
12941 * sysdeps/i386/fpu/libm-test-ulps: Update.
12942 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12944 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12946 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
12947 "longjmp_target" static probes.
12948 (__longjmp): Rename to __longjmp_symbol.
12949 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
12950 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
12951 on which longjmp to generate.
12952 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
12953 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
12955 (__sigsetjmp): Rename to __sigsetjmp_symbol.
12956 (__sigjmp_save): Rename to __sigjmp_save_symbol.
12957 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
12958 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
12959 and __sigjmp_save_symbol based on which sigsetjmp to generated.
12960 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
12961 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
12962 __longjmp_symbol based on which __longjmp to generate.
12963 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
12965 (setjmp): Rename to setjmp_symbol.
12966 (__sigsetjmp): Rename to __sigsetjmp_symbol.
12967 (_setjmp): Rename to _setjmp_symbol.
12968 (__sigsetjmp): Rename to __sigsetjmp_symbol.
12969 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
12970 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
12971 which setjmp to generate.
12972 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
12973 "longjmp_target" static probes.
12975 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
12977 * benchtests/README: Add note about output arguments.
12978 * benchtests/bench-sincos.c: Remove file.
12979 * benchtests/sincos-inputs: New file.
12980 * scripts/bench.pl: Identify output arguments and define
12981 static variables for them.
12983 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
12986 * Makefile (INSTALL): Add install-plain.texi as the primary
12988 * manual/install-plain.texi: New file.
12989 * manual/install.texi: Include node directive only for
12990 non-plaintext output.
12992 2013-12-04 Joseph Myers <joseph@codesourcery.com>
12994 * stdlib/longlong.h: Update from GCC.
12998 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
12999 * math/w_j0f.c (y0f): Likewise.
13000 * math/w_j0l.c (__y0l): Likewise.
13001 * math/w_j1.c (y1): Likewise.
13002 * math/w_j1f.c (y1f): Likewise.
13003 * math/w_j1l.c (__y1l): Likewise
13004 * math/w_jn.c (yn): Likewise.
13005 * math/w_jnf.c (ynf): Likewise.
13006 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
13007 Bessel function pole errors in _POSIX_ mode. Use NAN as return
13008 value for Bessel function domain errors outside _SVID_ mode.
13009 Adjust sign of return value for yn (negative integer, 0).
13010 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
13011 by zero in return for negative x and set sign appropriately for
13013 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
13014 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
13015 * math/libm-test.inc (y0_test_data): Add more tests and adjust
13016 expectations in error cases.
13017 (y1_test_data): Likewise.
13018 (yn_test_data): Likewise.
13019 * sysdeps/i386/fpu/libm-test-ulps: Update.
13020 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13022 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13024 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
13025 "64" to "64-v1". Add "64-v2".
13026 (abi-64-options): Rename to ...
13027 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
13028 (abi-64-condition): Rename to ...
13029 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
13030 (abi-64-ld-soname): Rename to ...
13031 (abi-64-v1-ld-soname): ... this.
13032 (abi-64-v2-options): Define.
13033 (abi-64-v2-condition): Likewise.
13034 (abi-64-v2-ld-soname): Likewise.
13035 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
13036 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
13037 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
13038 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
13039 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
13041 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13042 Alan Modra <amodra@gmail.com>
13044 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
13045 New versions for use with the ELFv2 ABI.
13046 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
13047 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
13049 (struct La_ppc64v2_retval): Likewise.
13050 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
13051 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
13052 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
13053 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
13054 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
13055 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
13056 Do not save or restore CR.
13057 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
13058 (_dl_profile_resolve): Do no save or restore CR. Support extended
13059 return values for ELFv2 ABI. Fix location of FPR return registers.
13060 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
13061 updated values for _CALL_ELF == 2.
13062 (La_regs, La_retval, int_retval): Likewise.
13064 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13066 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
13067 (FRAME_MIN_SIZE_PARM): Likewise.
13068 (FRAME_BACKCHAIN): Likewise.
13069 (FRAME_CR_SAVE): Likewise.
13070 (FRAME_LR_SAVE): Likewise.
13071 (FRAME_TOC_SAVE): Likewise.
13072 (FRAME_PARM_SAVE): Likewise.
13073 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
13074 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
13075 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
13076 (call_mcount_parm_offset): New macro.
13077 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
13078 (PROF): Use symbolic stack frame offsets.
13079 (TAIL_CALL_SYSCALL_ERROR): Likewise.
13080 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
13081 Redefine in terms of FRAME_MIN_SIZE.
13082 (_dl_runtime_resolve): Use symbolic stack frame offsets.
13083 (_dl_profile_resolve): Likewise. Update comment.
13084 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
13085 symbols stack frame offsets.
13086 (__sigsetjmp): Likewise.
13087 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
13088 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
13089 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
13090 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
13092 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
13093 (FRAME_BACKCHAIN): Remove.
13094 (FRAME_CR_SAVE): Likewise.
13095 (FRAME_LR_SAVE): Likewise.
13096 (FRAME_COMPILER_DW): Likewise.
13097 (FRAME_LINKER_DW): Likewise.
13098 (FRAME_TOC_SAVE): Likewise.
13099 (FRAME_PARM_SAVE): Likewise.
13100 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
13101 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
13102 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
13103 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
13104 (CHECK_SP): Use symbolic stack frame offsets.
13105 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
13106 zone" instead of caller's parameter save area for temp storage.
13107 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
13108 Likewise. Also, use symbolic stack frame offsets.
13109 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
13110 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
13111 our own stack frame instead of the caller's.
13112 (__socket): Use symbolic stack frame offsets.
13114 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13115 Alan Modra <amodra@gmail.com>
13117 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
13119 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
13120 (PPC64_LOCAL_ENTRY_OFFSET): Define.
13121 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
13123 (elf_machine_fixup_plt): Call it.
13124 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
13126 (elf_machine_rela): Update call to elf_machine_plt_conflict.
13127 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
13128 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
13129 r2 before calling target.
13131 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13132 Alan Modra <amodra@gmail.com>
13134 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
13135 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
13136 versions of macros to support ELFv2 ABI.
13137 (LOCALENTRY): New macro.
13138 (ENTRY, EALIGN): Use it.
13139 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
13140 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
13141 fall through into ENTRY entry point.
13142 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
13143 Only define if _CALL_ELF != 2.
13145 (elf_machine_matches_host): Verify ABI version matches.
13146 (RTLD_START): Use LOCALENTRY.
13147 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
13148 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
13149 (PLT_ENTRY_WORDS): New macro.
13150 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
13151 (elf_machine_runtime_setup): Support ELFv2 ABI.
13152 (elf_machine_fixup_plt): Likewise.
13153 (elf_machine_plt_conflict): Likewise.
13154 (resolve_ifunc): Likewise.
13155 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
13156 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
13158 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
13159 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
13160 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
13161 (makecontext): Support ELFv2 ABI.
13162 * elf/elf.h (EF_PPC64_ABI): Define.
13164 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13166 * sysdeps/powerpc/powerpc64/sysdep.h
13167 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
13168 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
13169 (ENTRY) [ASSEMBLER]: ... but instead here ...
13170 (EALIGN) [ASSEMBLER]: ... and here.
13171 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
13172 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
13173 (ENTRY_2) [!ASSEMBLER]: Use it.
13174 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
13175 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
13176 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
13177 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
13178 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
13179 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
13180 Use PPC64_LOAD_FUNCPTR.
13182 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
13184 2013-12-04 Alan Modra <amodra@gmail.com>
13186 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
13187 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
13188 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
13189 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
13191 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
13192 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
13193 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
13194 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
13195 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
13196 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
13198 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13200 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
13201 (__makecontext): Fix incorrect CFI when backtracing out of
13202 context created via makecontext.
13203 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
13204 (__setcontext): Fix incorrect CFI during switch to new context.
13205 (__novec_setcontext): Likewise.
13207 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
13210 * time/strptime_l.c (__strptime_internal): Allow modifiers
13212 * time/tst-strptime.c (day_tests): Add testcase.
13214 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
13216 * scripts/bench.pl: Skip over blank lines.
13218 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
13221 * manual/time.texi (Calendar Time): Clarify what timezone functions
13224 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13226 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13228 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
13230 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
13232 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
13233 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
13234 * debug/memset_chk.c (__memset_chk): Likewise.
13235 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
13236 * debug/strncpy_chk.c: Likewise.
13238 2013-12-03 Joseph Myers <joseph@codesourcery.com>
13242 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
13243 (__ieee754_exp): For possibly underflowing results, check size of
13244 result and force underflow exception if required.
13245 * math/auto-libm-test-in: Add more tests of exp.
13246 * math/auto-libm-test-out: Regenerated.
13247 * sysdeps/i386/fpu/libm-test-ulps: Update.
13248 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13251 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
13252 * math/w_exp2f.c (__exp2f): Likewise.
13253 * math/w_exp2l.c (__exp2l): Likewise.
13254 * math/auto-libm-test-in: Do not allow missing errno on exp2
13256 * math/auto-libm-test-out: Regenerated.
13258 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
13261 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
13262 handle filename validation.
13263 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
13266 2013-12-03 Joseph Myers <joseph@codesourcery.com>
13269 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
13270 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
13271 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
13273 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
13274 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
13275 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
13276 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
13277 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
13278 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
13279 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
13280 * math/auto-libm-test-in: Don't allow missing errno from erfc.
13281 Add more erfc tests.
13282 * math/auto-libm-test-out: Regenerated.
13283 * sysdeps/i386/fpu/libm-test-ulps: Update.
13284 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13286 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
13287 exp2, expm1, j0 and j1.
13288 * math/auto-libm-test-out: Regenerated.
13289 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
13290 (erfc_test_data): Likewise.
13291 (exp_test_data): Likewise.
13292 (exp_tonearest_test_data): Likewise.
13293 (exp_towardzero_test_data): Likewise.
13294 (exp_downward_test_data): Likewise.
13295 (exp_upward_test_data): Likewise.
13296 (exp10_test_data): Likewise.
13297 (exp2_test_data): Likewise.
13298 (expm1_test_data): Likewise.
13299 (j0_test_data): Likewise.
13300 (j1_test_data): Likewise.
13301 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
13302 (input_flag_type): Add flag_xfail_rounding.
13303 (input_flags): Add xfail-rounding.
13304 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
13305 (output_for_one_input_case): Handle flag_xfail_rounding.
13306 * sysdeps/i386/fpu/libm-test-ulps: Update.
13307 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13309 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
13312 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
13315 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
13318 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
13319 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
13320 (STAP_PROBE0): New macro.
13321 (STAP_PROBE1): Likewise.
13322 (STAP_PROBE2): Likewise.
13323 (STAP_PROBE3): Likewise.
13324 (STAP_PROBE4): Likewise.
13326 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
13328 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
13330 2013-12-02 Steve Ellcey <sellcey@mips.com>
13332 * benchtests/Makefile (bench): Add sqrt.
13333 (LDLIBS-bench-sqrt): New.
13334 * benchtests/sqrt-input: New.
13336 2013-12-02 Pavel Simerda <psimerda@redhat.com>
13338 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
13339 (GAIH_EAI): Likewise.
13340 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
13341 (gaih_inet): Likewise.
13342 (getaddrinfo): Don't use GAIH_EAI.
13344 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
13345 (struct gaih): Remove definition.
13347 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
13349 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
13350 Use HERRNOP directly.
13352 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13354 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13356 2013-11-30 Joseph Myers <joseph@codesourcery.com>
13358 * math/gen-auto-libm-tests.c (test_functions): Add more
13359 single-argument functions.
13360 (special_fill_pi_2): New function.
13361 (special_fill_minus_pi_2): Likewise.
13362 (special_fill_pi_6): Likewise.
13363 (special_fill_minus_pi_6): Likewise.
13364 (special_fill_pi_3): Likewise.
13365 (special_fill_2pi_3): Likewise.
13366 (special_fill_e): Likewise.
13367 (special_fill_1_e): Likewise.
13368 (special_fill_e_minus_1): Likewise.
13369 (special_real_inputs): Add more special inputs.
13370 (output_for_one_input_case): Do not require ERANGE on underflow to
13371 zero if round-to-nearest result does not underflow to zero, unless
13372 exact results required.
13373 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
13374 atan, atanh, cbrt, cos and cosh.
13375 * math/auto-libm-test-out: Regenerated.
13376 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
13377 (acos_tonearest_test_data): Likewise.
13378 (acos_towardzero_test_data): Likewise.
13379 (acos_downward_test_data): Likewise.
13380 (acos_upward_test_data): Likewise.
13381 (acosh_test_data): Likewise.
13382 (asin_test_data): Likewise.
13383 (asin_tonearest_test_data): Likewise.
13384 (asin_towardzero_test_data): Likewise.
13385 (asin_upward_test_data): Likewise.
13386 (asinh_test_data): Likewise.
13387 (atan_test_data): Likewise.
13388 (atanh_test_data): Likewise.
13389 (cbrt_test_data): Likewise.
13390 (cos_test_data): Likewise.
13391 (cos_tonearest_test_data): Likewise.
13392 (cos_towardzero_test_data): Likewise.
13393 (cos_downward_test_data): Likewise.
13394 (cos_upward_test_data): Likewise.
13395 (cosh_test_data): Likewise.
13396 (cosh_tonearest_test_data): Likewise.
13397 (cosh_towardzero_test_data): Likewise.
13398 (cosh_downward_test_data): Likewise.
13399 (cosh_upward_test_data): Likewise.
13400 * sysdeps/i386/fpu/libm-test-ulps: Update.
13401 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13403 2013-11-29 Joseph Myers <joseph@codesourcery.com>
13406 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
13407 * math/w_exp10f.c (__exp10f): Likewise.
13408 * math/w_exp10l.c (__exp10l): Likewise.
13409 * math/libm-test.inc (exp10_test_data): Add more tests and expect
13410 errno settings in existing tests.
13413 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
13414 precision control set to double precision.
13415 * sysdeps/i386/fpu/w_sqrt.c: New file.
13416 * math/auto-libm-test-in: Add more tests.
13417 * math/auto-libm-test-out: Update.
13419 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
13420 (sqrt_test_tonearest): New function.
13421 (sqrt_towardzero_test_data): New variable.
13422 (sqrt_test_towardzero): New function.
13423 (sqrt_downward_test_data): New variable.
13424 (sqrt_test_downward): New function.
13425 (sqrt_upward_test_data): New variable.
13426 (sqrt_test_upward): New function.
13427 (main): Call the new functions.
13429 * math/gen-auto-libm-tests.c: New file.
13430 * math/auto-libm-test-in: Likewise.
13431 * math/auto-libm-test-out: New generated file.
13432 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
13434 (%beautify): Add generated representations of zero.
13435 (top level): Set $auto_input and call parse_auto_input.
13436 (beautify): Remove trailing "f" from hex float constants.
13437 (parse_args): Handle XFAIL_TEST.
13438 (convert_condition): New function.
13439 (or_value): Likewise.
13440 (or_cond_value): Likewise.
13441 (generate_testfile): Handle AUTO_TESTS_* lines.
13442 (parse_auto_input): New function.
13443 * math/libm-test.inc (XFAIL_TEST): New macro.
13444 (ERRNO_UNCHANGED): Update value.
13445 (ERRNO_EDOM): Likewise.
13446 (ERRNO_ERANGE): Likewise.
13447 (IGNORE_RESULT): Likewise.
13448 (TEST_COND_flt_32): New macro.
13449 (TEST_COND_dbl_64): Likewise.
13450 (TEST_COND_ldbl_96_intel): Likewise.
13451 (TEST_COND_ldbl_96_m68k): Likewise.
13452 (TEST_COND_ldbl_128): Likewise.
13453 (TEST_COND_ldbl_128ibm): Likewise.
13454 (TEST_COND_long32): Likewise.
13455 (TEST_COND_long64): Likewise.
13456 (TEST_COND_before_rounding): Likewise.
13457 (TEST_COND_after_rounding): Likewise.
13458 (enable_test): Handle XFAIL_TEST flag.
13459 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
13460 with finite results.
13461 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
13462 auto-libm-test-out.
13464 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
13465 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13468 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
13469 __tls_get_addr_internal instead of __tls_get_offset in order to
13470 avoid GOT pointer dependency. Make rtld export
13471 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
13472 __tls_get_addr since we are a __tls_get_offset platform.
13473 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
13474 GOT pointer being set up before.
13475 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
13477 2013-11-28 Joseph Myers <joseph@codesourcery.com>
13479 * manual/math.texi (Errors in Math Functions): Document accuracy
13483 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
13484 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
13485 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
13486 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
13487 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
13488 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
13489 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
13490 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
13491 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
13492 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
13493 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
13494 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
13495 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
13496 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
13497 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
13498 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
13500 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
13501 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
13502 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
13503 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
13504 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
13506 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
13508 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
13510 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
13511 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
13512 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
13513 atomic-feupdateenv and flt-rounds.
13514 * sysdeps/powerpc/nofpu/Versions (libc): Add
13515 __atomic_feholdexcept, __atomic_feclearexcept,
13516 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
13517 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
13518 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
13519 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
13520 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
13522 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
13525 * manual/arith.texi (FP Exceptions): Document that exceptions may
13526 not be raised when matherr is used.
13527 (Math Error Reporting): Document overflow in directed rounding
13528 modes. Document that errno may not be set when finite values are
13529 returned on overflow. Document intent to set errno on underflow
13530 only for underflow to zero.
13533 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
13534 round-to-nearest then adjust result for other rounding modes.
13535 * include/fenv.h (fegetround): Use libm_hidden_proto.
13536 * math/fegetround.c (fegetround): Use libm_hidden_def.
13537 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
13538 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
13539 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
13540 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
13542 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
13543 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
13544 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
13545 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
13547 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13550 * nss/Versions (libnss_files): Add
13551 _nss_files_gethostbyname3_r.
13552 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
13554 (HOST_DB_LOOKUP): Remove macro.
13555 (_nss_files_gethostbyname_r): Implement function without the
13556 HOST_DB_LOOKUP macro.
13557 (_nss_files_gethostbyname2_r): Likewise.
13559 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
13561 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
13563 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
13565 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
13566 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
13569 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13571 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
13572 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
13573 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
13574 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
13575 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
13576 __fe_nomask_env_priv and attribute_hidden.
13577 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
13578 (libc_feupdateenv_test_ppc): Likewise.
13579 (libc_feresetround_ppc): Likewise.
13580 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
13581 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
13582 compat_symbol macro.
13583 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
13584 (__fe_nomask_env): Likewise.
13585 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
13587 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
13589 * string/Makefile: Remove ifunc tests.
13590 * string/test-string.h: Define TEST_IFUNC.
13591 * string/test-bcopy-ifunc.c: Remove.
13592 * string/test-bzero-ifunc.c: Likewise.
13593 * string/test-memccpy-ifunc.c: Likewise.
13594 * string/test-memchr-ifunc.c: Likewise.
13595 * string/test-memcmp-ifunc.c: Likewise.
13596 * string/test-memcpy-ifunc.c: Likewise.
13597 * string/test-memmem-ifunc.c: Likewise.
13598 * string/test-memmove-ifunc.c: Likewise.
13599 * string/test-mempcpy-ifunc.c: Likewise.
13600 * string/test-memrchr-ifunc.c: Likewise.
13601 * string/test-memset-ifunc.c: Likewise.
13602 * string/test-rawmemchr-ifunc.c: Likewise.
13603 * string/test-stpcpy-ifunc.c: Likewise.
13604 * string/test-stpncpy-ifunc.c: Likewise.
13605 * string/test-strcasecmp-ifunc.c: Likewise.
13606 * string/test-strcasestr-ifunc.c: Likewise.
13607 * string/test-strcat-ifunc.c: Likewise.
13608 * string/test-strchr-ifunc.c: Likewise.
13609 * string/test-strchrnul-ifunc.c: Likewise.
13610 * string/test-strcmp-ifunc.c: Likewise.
13611 * string/test-strcpy-ifunc.c: Likewise.
13612 * string/test-strcspn-ifunc.c: Likewise.
13613 * string/test-strlen-ifunc.c: Likewise.
13614 * string/test-strncasecmp-ifunc.c: Likewise.
13615 * string/test-strncat-ifunc.c: Likewise.
13616 * string/test-strncmp-ifunc.c: Likewise.
13617 * string/test-strncpy-ifunc.c: Likewise.
13618 * string/test-strnlen-ifunc.c: Likewise.
13619 * string/test-strpbrk-ifunc.c: Likewise.
13620 * string/test-strrchr-ifunc.c: Likewise.
13621 * string/test-strspn-ifunc.c: Likewise.
13622 * string/test-strstr-ifunc.c: Likewise.
13624 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
13626 * benchtests/Makefile: Remove ifunc tests.
13627 * benchtests/bench-string.h: Define TEST_IFUNC.
13628 * benchtests/bench-bcopy-ifunc.c: Remove.
13629 * benchtests/bench-bzero-ifunc.c: Likewise.
13630 * benchtests/bench-memccpy-ifunc.c: Likewise.
13631 * benchtests/bench-memchr-ifunc.c: Likewise.
13632 * benchtests/bench-memcmp-ifunc.c: Likewise.
13633 * benchtests/bench-memcpy-ifunc.c: Likewise.
13634 * benchtests/bench-memmem-ifunc.c: Likewise.
13635 * benchtests/bench-memmove-ifunc.c: Likewise.
13636 * benchtests/bench-mempcpy-ifunc.c: Likewise.
13637 * benchtests/bench-memrchr-ifunc.c: Likewise.
13638 * benchtests/bench-memset-ifunc.c: Likewise.
13639 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
13640 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
13641 * benchtests/bench-stpcpy-ifunc.c: Likewise.
13642 * benchtests/bench-stpncpy-ifunc.c: Likewise.
13643 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
13644 * benchtests/bench-strcasestr-ifunc.c: Likewise.
13645 * benchtests/bench-strcat-ifunc.c: Likewise.
13646 * benchtests/bench-strchr-ifunc.c: Likewise.
13647 * benchtests/bench-strchrnul-ifunc.c: Likewise.
13648 * benchtests/bench-strcmp-ifunc.c: Likewise.
13649 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
13650 * benchtests/bench-strcpy-ifunc.c: Likewise.
13651 * benchtests/bench-strcspn-ifunc.c: Likewise.
13652 * benchtests/bench-strlen-ifunc.c: Likewise.
13653 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
13654 * benchtests/bench-strncat-ifunc.c: Likewise.
13655 * benchtests/bench-strncmp-ifunc.c: Likewise.
13656 * benchtests/bench-strncpy-ifunc.c: Likewise.
13657 * benchtests/bench-strnlen-ifunc.c: Likewise.
13658 * benchtests/bench-strpbrk-ifunc.c: Likewise.
13659 * benchtests/bench-strrchr-ifunc.c: Likewise.
13660 * benchtests/bench-strsep-ifunc.c: Likewise.
13661 * benchtests/bench-strspn-ifunc.c: Likewise.
13662 * benchtests/bench-strstr-ifunc.c: Likewise.
13664 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
13666 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
13668 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
13670 * resolv/netdb.h: Use __glibc_reserved instead __unused.
13671 * rt/aio.h: Likewise.
13672 * sysdeps/gnu/bits/utmp.h: Likewise.
13673 * sysdeps/gnu/bits/utmpx.h: Likewise.
13674 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
13675 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
13676 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
13677 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
13678 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
13679 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
13680 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
13681 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
13682 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
13683 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
13684 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
13685 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
13686 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
13687 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
13688 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
13689 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
13690 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
13691 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
13692 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
13693 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
13694 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
13695 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
13696 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
13697 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
13698 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
13699 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
13700 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
13701 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
13702 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
13703 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
13704 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
13705 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
13706 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
13707 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
13708 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
13709 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
13710 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
13711 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
13712 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
13713 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
13714 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
13715 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
13717 2013-11-25 Carlos O'Donell <carlos@redhat.com>
13720 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
13721 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
13723 2013-11-25 Joseph Myers <joseph@codesourcery.com>
13725 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
13726 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
13729 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13731 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
13732 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
13733 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
13734 (__fesetround): Remove define.
13735 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
13736 rounding and exceptions handling.
13737 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
13738 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
13739 (__fe_nomask_env): Likewise.
13740 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
13741 __fegetround instead of fegetround.
13742 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
13743 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
13745 2013-11-21 Roland McGrath <roland@hack.frob.com>
13747 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
13750 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
13752 2013-11-21 Meador Inge <meadori@codesourcery.com>
13755 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
13756 (encrypt_r): Likewise.
13757 * malloc/obstack.h (obstack_free): Likewise.
13758 * posix/unistd.h (encrypt): Likewise.
13760 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
13762 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
13763 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
13764 DL_CALL_DT_FINI() that call the functions directly.
13765 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
13766 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
13767 * elf/dl-fini.c: Likewise.
13769 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
13771 * malloc/hooks.c (memalign_check): Add alignment rounding.
13772 * malloc/malloc.c (_mid_memalign): New function.
13773 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
13774 Implement by calling _mid_memalign.
13775 * manual/probes.texi (Memory Allocation Probes): Remove
13776 memory_valloc_retry and memory_pvalloc_retry.
13778 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
13780 * locale/programs/locarchive.c (open_archive): Add const
13781 qualifier to ARCHIVEFNAME and copy default fname to
13785 * libio/tst-widetext.input: Rename Oriya to Odia.
13786 * locale/iso-639.def: Likewise.
13788 * manual/probes.texi (Mathematical Function Probes): Add
13789 documentation for sin, cos, asin and acos probes.
13790 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
13791 (__sin32): Add slowasin probe.
13792 (__cos32): Add slowacos probe.
13793 (__mpsin): Add slowsin probe.
13794 (__mpcos): Add slowcos probe.
13796 2013-11-19 Joseph Myers <joseph@codesourcery.com>
13799 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
13800 thread-local __sim_exceptions_thread and global
13801 __sim_exceptions_global.
13802 (__sim_disabled_exceptions): Change to thread-local
13803 __sim_disabled_exceptions_thread and global
13804 __sim_disabled_exceptions_global.
13805 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
13806 and global __sim_round_mode_global.
13807 (__simulate_exceptions): Use thread-local floating-point state and
13808 set global state from it as needed.
13809 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
13810 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
13811 __sim_round_mode_thread.
13812 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
13813 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
13814 and global __sim_exceptions_global.
13815 (__sim_disabled_exceptions): Change to thread-local
13816 __sim_disabled_exceptions_thread and global
13817 __sim_disabled_exceptions_global.
13818 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
13819 and global __sim_round_mode_global.
13820 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
13821 (SIM_SET_GLOBAL): Likewise.
13822 * sysdeps/powerpc/soft-fp/sfp-machine.h
13823 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
13824 __sim_round_mode_thread.
13825 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
13826 __sim_disabled_exceptions_thread.
13827 (__sim_exceptions): Change to __sim_exceptions_thread.
13828 (__sim_disabled_exceptions): Change to
13829 __sim_disabled_exceptions_thread.
13830 (__sim_round_mode): Change to __sim_round_mode_thread.
13831 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
13832 thread-local floating-point state and set global state from it as
13834 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
13835 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
13836 (__sim_disabled_exceptions): Remove extern declaration.
13837 (feenableexcept): Use thread-local floating-point state and set
13838 global state from it as needed.
13839 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
13840 extern declaration.
13841 (__sim_disabled_exceptions): Likewise.
13842 (__sim_round_mode): Likewise.
13843 (__fegetenv): Use thread-local floating-point state.
13844 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
13845 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
13846 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
13847 floating-point state and set global state from it as needed.
13848 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
13849 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
13850 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
13852 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
13853 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
13855 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
13856 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
13857 Use __sim_round_mode_thread.
13858 * math/test-fenv-tls.c: New file.
13859 * math/Makefile (tests): Add test-fenv-tls.
13860 ($(objpfx)test-fenv-tls): Depend on
13861 $(common-objpfx)nptl/libpthread.so.
13863 2013-11-19 Andreas Schwab <schwab@suse.de>
13865 * locale/programs/locale.c (show_info): Decode wordarray elements.
13866 * locale/categories.def (LC_MONETARY): Add element for
13867 _NL_MONETARY_CRNCYSTR.
13868 * locale/C-monetary.c (conversion_rate): New variable.
13869 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
13872 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
13874 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
13875 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
13877 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
13879 * elf/Makefile (tst-auxv): New test.
13880 * elf/tst-auxv.c: New
13881 * elf/rtld.c (dl_main): Adjust AT_EXECFN
13883 2013-11-18 Joseph Myers <joseph@codesourcery.com>
13885 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
13886 (hidden_proto): Caller changed.
13887 (hidden_tls_proto): New macro.
13888 (libc_hidden_tls_proto): Likewise.
13889 (rtld_hidden_tls_proto): Likewise.
13890 (libm_hidden_tls_proto): Likewise.
13891 (libresolv_hidden_tls_proto): Likewise.
13892 (librt_hidden_tls_proto): Likewise.
13893 (libdl_hidden_tls_proto): Likewise.
13894 (libnss_files_hidden_tls_proto): Likewise.
13895 (libnsl_hidden_tls_proto): Likewise.
13896 (libnss_nisplus_hidden_tls_proto): Likewise.
13897 (libutil_hidden_tls_proto): Likewise.
13899 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
13902 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
13903 (decompose_rpath): Defer expansion to fillin_rpath.
13904 (_dl_init_paths): Pass linkmap to fillin_rpath.
13906 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13908 * benchtests/Makefile: Add strsep.
13909 * benchtests/bench-strsep.c: New file: strsep benchtest.
13910 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
13912 2013-11-18 Andreas Schwab <schwab@suse.de>
13914 * locale/programs/locale.c (show_info) [case byte]: Check for
13915 '\377' instead of '\177'.
13916 * locale/C-monetary.c (not_available): Always use "\377".
13917 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
13918 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
13919 detect unavailable sign_posn locale elements.
13920 * locale/localeconv.c (__localeconv): For grouping and
13921 mon_grouping handle "\177" and "\377" like no grouping.
13922 (INT_ELEM): New macro. Use it to set all numeric members.
13923 * locale/programs/ld-monetary.c (monetary_read)
13924 <tok_mon_grouping>: Normalize single -1 to the empty string.
13925 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
13928 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
13931 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
13932 when we match (nil).
13933 * stdio-common/tst-sscanf.c (struct test): Add testcase.
13935 2013-11-16 Joseph Myers <joseph@codesourcery.com>
13937 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
13938 (NO_TEST_INLINE): Update value.
13939 (ERRNO_UNCHANGED): Likewise.
13940 (ERRNO_EDOM): Likewise.
13941 (ERRNO_ERANGE): Likewise.
13942 (IGNORE_RESULT): Likewise.
13943 (check_float_internal): Check signs of NaN results if
13944 TEST_NAN_SIGN used.
13945 (check_complex): Pass TEST_NAN_SIGN flag through to second
13946 check_float_internal call.
13947 (copysign_test_data): Add tests with quiet NaNs as second
13948 argument. Use TEST_NAN_SIGN.
13949 (fabs_test_data): Add test of negative quiet NaN argument. Use
13951 (signbit_test_data): Add tests of quiet NaN argument.
13952 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
13954 * math/gen-libm-test.pl (show_exceptions): Take extra argument
13956 (parse_args): Handle function results specified as IGNORE.
13957 * math/libm-test.inc (IGNORE_RESULT): New macro.
13958 (check_float_internal): Do not check numerical result if flag
13960 (check_complex): Pass through IGNORE_RESULT to second
13961 check_float_internal call.
13962 (check_int): Do not check numerical result if flag IGNORE_RESULT
13964 (check_long): Likewise.
13965 (check_bool): Likewise.
13966 (check_longlong): Likewise.
13967 (lrint_test_data): Add tests of infinite and NaN arguments.
13968 (lrint_tonearest_test_data): Likewise.
13969 (lrint_towardzero_test_data): Likewise.
13970 (lrint_downward_test_data): Likewise.
13971 (lrint_upward_test_data): Likewise.
13972 (llrint_test_data): Likewise.
13973 (llrint_tonearest_test_data): Likewise.
13974 (llrint_towardzero_test_data): Likewise.
13975 (llrint_downward_test_data): Likewise.
13976 (llrint_upward_test_data): Likewise.
13977 (lround_test_data): Likewise.
13978 (llround_test_data): Likewise.
13980 * math/libm-test.inc (NO_TEST_INLINE): New macro.
13981 (ERRNO_UNCHANGED): Update value.
13982 (ERRNO_EDOM): Likewise.
13983 (ERRNO_ERANGE): Likewise.
13984 (NO_TEST_INLINE_FLOAT): New macro.
13985 (NO_TEST_INLINE_DOUBLE): Likewise.
13986 (enable_test): New function.
13987 (RUN_TEST_f_f): Check enable_test before running test.
13988 (RUN_TEST_2_f): Likewise.
13989 (RUN_TEST_fff_f): Likewise.
13990 (RUN_TEST_c_f): Likewise.
13991 (RUN_TEST_f_f1): Likewise.
13992 (RUN_TEST_fF_f1): Likewise.
13993 (RUN_TEST_fI_f1): Likewise.
13994 (RUN_TEST_ffI_f1): Likewise.
13995 (RUN_TEST_c_c): Likewise.
13996 (RUN_TEST_cc_c): Likewise.
13997 (RUN_TEST_f_i): Likewise.
13998 (RUN_TEST_f_i_tg): Likewise.
13999 (RUN_TEST_ff_i_tg): Likewise.
14000 (RUN_TEST_f_b): Likewise.
14001 (RUN_TEST_f_b_tg): Likewise.
14002 (RUN_TEST_f_l): Likewise.
14003 (RUN_TEST_f_L): Likewise.
14004 (RUN_TEST_fFF_11): Likewise.
14005 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
14007 (cosh_test_data): Likewise.
14008 (exp_test_data): Likewise.
14009 (expm1_test_data): Likewise.
14010 (hypot_test_data): Likewise.
14011 (pow_test_data): Likewise.
14012 (sinh_test_data): Likewise.
14013 (tanh_test_data): Likewise.
14014 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
14017 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
14018 tests with quiet NaN input and output.
14019 (acosh_test_data): Likewise.
14020 (asin_test_data): Likewise.
14021 (asinh_test_data): Likewise.
14022 (atan_test_data): Likewise.
14023 (atanh_test_data): Likewise.
14024 (atan2_test_data): Likewise.
14025 (cbrt_test_data): Likewise.
14026 (cos_test_data): Likewise.
14027 (cosh_test_data): Likewise.
14028 (erf_test_data): Likewise.
14029 (erfc_test_data): Likewise.
14030 (exp_test_data): Likewise.
14031 (exp10_test_data): Likewise.
14032 (exp2_test_data): Likewise.
14033 (expm1_test_data): Likewise.
14034 (hypot_test_data): Likewise.
14035 (j0_test_data): Likewise.
14036 (j1_test_data): Likewise.
14037 (jn_test_data): Likewise.
14038 (lgamma_test_data): Likewise.
14039 (log_test_data): Likewise.
14040 (log10_test_data): Likewise.
14041 (log1p_test_data): Likewise.
14042 (log2_test_data): Likewise.
14043 (pow_test_data): Likewise.
14044 (scalb_test_data): Likewise.
14045 (sin_test_data): Likewise.
14046 (sincos_test_data): Likewise.
14047 (sinh_test_data): Likewise.
14048 (tan_test_data): Likewise.
14049 (tanh_test_data): Likewise.
14050 (tgamma_test_data): Likewise.
14051 (y0_test_data): Likewise.
14052 (y1_test_data): Likewise.
14053 (yn_test_data): Likewise.
14056 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
14057 argument being NaN and avoid computations with second argument in
14059 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
14060 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
14061 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
14063 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
14065 * locale/iso-639.def: Add Chitwani Tharu (the).
14067 2013-11-14 Andreas Schwab <schwab@suse.de>
14069 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
14070 word instead of empty string.
14072 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14074 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
14075 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
14076 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
14077 (__fe_nomask_env): Likewise.
14079 2013-11-13 Steve Ellcey <sellcey@mips.com>
14081 * benchtests/bench-timing.h: Include time.h.
14083 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
14086 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
14088 * sysdeps/unix/sysv/linux/configure: Regenerated.
14090 2013-11-13 Joseph Myers <joseph@codesourcery.com>
14093 * stdlib/strtod_l.c (round_and_return): Do not consider
14094 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
14095 exponent one less than half the least subnormal exponent.
14096 * stdlib/test-strtod-round-data: Add more tests.
14097 * stdlib/tst-strtod-round.c (tests): Regenerated.
14099 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14102 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
14103 (__fe_mask_env): Likewise.
14104 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
14105 libm_hidden_proto and add function prototype.
14106 (__fe_mask_env): Add function prototype.
14107 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
14108 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
14109 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
14110 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
14111 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
14112 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
14114 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14116 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
14117 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
14119 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14121 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
14122 of htab_find_slot().
14124 2013-11-11 David S. Miller <davem@davemloft.net>
14127 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
14128 symbol in the non-vis3 case in static builds.
14129 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
14130 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
14131 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
14132 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
14134 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
14137 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
14140 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14142 * benchtests/Makefile: Add bench-strtod.
14143 * benchtests/bench-strtod.c: New file: strtod benchtest
14145 2013-11-11 Andreas Schwab <schwab@suse.de>
14148 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
14149 terminating NUL in key length.
14151 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14153 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
14154 Add artificial ODP entry for vDSO symbol for PPC64.
14155 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
14156 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
14158 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
14161 * nss/getent.c (services_keys): Recognize services starting with digit.
14163 2013-11-06 David S. Miller <davem@davemloft.net>
14166 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
14167 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
14169 2013-11-06 Will Newton <will.newton@linaro.org>
14171 * manual/memory.texi (Malloc Examples): Remove register
14172 keyword from examples.
14174 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
14176 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
14178 2013-11-04 Joseph Myers <joseph@codesourcery.com>
14181 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
14182 depending on [__GCC_IEC_559 > 0].
14183 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
14184 depending on [__GCC_IEC_559_COMPLEX > 0].
14186 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
14188 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
14191 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
14193 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
14195 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
14198 * malloc/malloc (malloc_info): Do not handle first bin as
14201 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
14203 * locale/iso-639.def: Add Central Nahuatl (nhn).
14205 2013-11-01 Bruno Haible <bruno@clisp.org>
14208 * manual/math.texi (BSD Random): Specify range upper bound as
14211 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
14213 * locale/iso-639.def: Add Meadow Mari (mhr).
14215 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
14217 [BZ #14752], [BZ #15763]
14218 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
14220 * rt/tst_shm.c: Add test for escaping directory.
14222 2013-10-31 Andreas Schwab <schwab@suse.de>
14225 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
14226 followed by 'x' as part of digit sequence.
14227 * stdio-common/tst-sscanf.c (double_tests2): New tests.
14229 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
14232 * configure.ac: allow GNU Make 4.0 and greater.
14233 * configure: Regenerated.
14235 2013-10-30 Will Newton <will.newton@linaro.org>
14238 * malloc/hooks.c (memalign_check): Limit alignment to the
14239 maximum representable power of two.
14240 * malloc/malloc.c (__libc_memalign): Likewise.
14241 * malloc/tst-memalign.c (do_test): Add test for very
14242 large alignment values.
14243 * malloc/tst-posix_memalign.c (do_test): Likewise.
14245 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
14248 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
14249 (munmap_chunk): Likewise.
14250 (mremap_chunk): Likewise.
14252 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
14255 * stdlib/div.c (div): Remove obsolete code.
14256 * stdlib/ldiv.c (ldiv): Likewise.
14257 * stdlib/lldiv.c (lldiv): Likewise.
14259 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
14262 * nss/nss_files/files-XXX.c (get_contents_ret): New
14264 (get_contents): New function.
14265 (internal_getent): Use it. Expand size of LINEBUFLEN.
14267 2013-10-30 Mike Frysinger <vapier@gentoo.org>
14269 * configure.in: Moved to ...
14270 * configure.ac: ... here. Change reference to configure.in
14272 * sysdeps/arm/preconfigure.ac: ... here.
14273 configure.in to configure.ac.
14274 * sysdeps/gnu/configure.in: Moved to ...
14275 * sysdeps/gnu/configure.ac: ... here.
14276 * sysdeps/i386/configure.in: Moved to ...
14277 * sysdeps/i386/configure.ac: ... here.
14278 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
14279 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
14280 * sysdeps/mach/configure.in: Moved to ...
14281 * sysdeps/mach/configure.ac: ... here.
14282 * sysdeps/mach/hurd/configure.in: Moved to ...
14283 * sysdeps/mach/hurd/configure.ac: ... here.
14284 * sysdeps/powerpc/configure.in: Moved to ...
14285 * sysdeps/powerpc/configure.ac: ... here.
14286 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
14287 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
14288 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
14289 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
14290 * sysdeps/s390/s390-32/configure.in: Moved to ...
14291 * sysdeps/s390/s390-32/configure.ac: ... here.
14292 * sysdeps/s390/s390-64/configure.in: Moved to ...
14293 * sysdeps/s390/s390-64/configure.ac: ... here.
14294 * sysdeps/sh/configure.in: Moved to ...
14295 * sysdeps/sh/configure.ac: ... here.
14296 * sysdeps/sparc/configure.in: Moved to ...
14297 * sysdeps/sparc/configure.ac: ... here.
14298 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
14299 * sysdeps/unix/sysv/linux/configure.ac: ... here.
14300 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
14301 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
14302 * sysdeps/x86_64/configure.in: Moved to ...
14303 * sysdeps/x86_64/configure.ac: ... here.
14304 * sysdeps/x86_64/preconfigure.in: Moved to ...
14305 * sysdeps/x86_64/preconfigure.ac: ... here.
14306 * aclocal.m4: Change reference to configure.in to configure.ac.
14307 * config.h.in: Likewise.
14308 * manual/install.texi: Likewise.
14309 * manual/maint.texi: Likewise.
14310 * Makefile: Likewise.
14311 * malloc/Makefile: Likewise.
14312 * nscd/Makefile: Likewise.
14313 * Makeconfig: Change reference to configure.in and
14314 preconfigure.in to configure.ac and preconfigure.ac
14316 * INSTALL: Regenerated.
14317 * configure: Likewise.
14318 * sysdeps/gnu/configure: Likewise.
14319 * sysdeps/i386/configure: Likewise.
14320 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
14321 * sysdeps/mach/configure: Likewise.
14322 * sysdeps/mach/hurd/configure: Likewise.
14323 * sysdeps/powerpc/configure: Likewise.
14324 * sysdeps/powerpc/powerpc32/configure: Likewise.
14325 * sysdeps/powerpc/powerpc64/configure: Likewise.
14326 * sysdeps/s390/s390-32/configure: Likewise.
14327 * sysdeps/s390/s390-64/configure: Likewise.
14328 * sysdeps/sh/configure: Likewise.
14329 * sysdeps/sparc/configure: Likewise.
14330 * sysdeps/unix/sysv/linux/configure: Likewise.
14331 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
14332 * sysdeps/x86_64/configure: Likewise.
14333 * sysdeps/x86_64/preconfigure: Likewise.
14335 2013-10-29 Andreas Schwab <schwab@suse.de>
14337 * stdio-common/Makefile (tst-swscanf-ENV): Define.
14339 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14341 * benchtests/pow-inputs: Add new inputs.
14343 * benchtests/exp-inputs: Add new inputs.
14345 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
14346 conditional check for return value.
14347 (__cos32): Likewise.
14349 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14351 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
14352 to provide a boost for large inputs with word alignment.
14353 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
14354 implementation based on optimized PPC64 strcpy.
14355 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
14356 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
14357 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
14358 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
14360 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
14363 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
14365 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
14368 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
14369 * time/tst-strptime.c (day_tests): Add testcase.
14371 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
14374 * manual/pattern.texi: Acknowledge that fnmatch can fail.
14376 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
14379 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
14380 MAP_FAILED on error.
14382 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
14385 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
14386 heap for large requests.
14388 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
14391 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
14392 result if the result has no associated interface.
14393 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
14394 interface for all 127.X.Y.Z addresses.
14396 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
14398 * locale/iso-639.def: Add Ligurian (lij)
14400 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
14403 * sunrpc/rpc_main.c: Document rpcgen -5.
14405 2013-10-19 Michael Stahl <mstahl@redhat.com>
14407 * elf/rtld.c (do_preload): Print the reason why preloading failed.
14409 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
14412 * posix/glob.c: Match only directories when trailing slash is present.
14413 * posix/tst-gnuglob.c (my_opendir): Do not open files.
14414 (main): Add testcase.
14416 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
14419 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
14421 2013-10-18 Carlos O'Donell <carlos@redhat.com>
14423 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
14424 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
14425 AUTH_DES and cindex for FIPS 140-2.
14426 (DES Encryption): Add cindex FIPS 46-3.
14428 * locale/locarchive.h (struct locarhandle): Add fname.
14429 * locale/programs/localedef.c (main): Pass ARGV[remaining]
14430 if an optional argument was specified to --list-archive,
14432 * locale/programs/locarchive.c (show_archive_content): Take new
14433 argument fname and pass it via ah.fname to open_archive.
14434 * locale/programs/localedef.h: Update decl.
14435 (open_archive): If AH->fname is non-null, open that file
14436 rather than the default file name, and don't ignore ENOENT.
14437 (create_archive): Set AH.fname to NULL.
14438 (delete_locales_from_archive): Likewise.
14439 (add_locales_to_archive): Likewise.
14440 * locale/programs/locfile.c (write_all_categories): Likewise.
14442 2013-10-18 Joseph Myers <joseph@codesourcery.com>
14443 Aldy Hernandez <aldyh@redhat.com>
14445 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
14446 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
14447 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
14448 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
14449 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
14450 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
14451 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
14452 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
14453 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
14454 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
14455 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
14456 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
14457 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
14458 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
14459 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
14461 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
14463 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
14465 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
14467 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
14468 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
14470 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
14471 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
14472 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
14473 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
14475 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
14476 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
14477 * sysdeps/powerpc/preconfigure: Likewise.
14478 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
14480 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
14481 Replace contents of file by #include of <fenv_libc.h>.
14482 * sysdeps/powerpc/soft-fp/sfp-machine.h
14483 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
14485 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
14486 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
14487 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
14488 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
14489 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
14490 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
14491 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
14492 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
14493 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
14494 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
14495 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
14496 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
14497 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
14498 Allow copysignl PLT reference to be missing.
14500 2013-10-18 Richard Sandiford <richard@codesourcery.com>
14501 Joseph Myers <joseph@codesourcery.com
14504 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
14506 (add_to_tablewc): Assert sequence of wide characters is nonempty.
14508 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
14510 * elf/tst-tls-dlinfo.c: Don't include tls.h.
14511 * elf/tst-tls1.c: Likewise.
14512 * elf/tst-tls10.h: Likewise.
14513 * elf/tst-tls14.c: Likewise.
14514 * elf/tst-tls2.c: Likewise.
14515 * elf/tst-tls3.c: Likewise.
14516 * elf/tst-tls4.c: Likewise.
14517 * elf/tst-tls5.c: Likewise.
14518 * elf/tst-tls6.c: Likewise.
14519 * elf/tst-tls7.c: Likewise.
14520 * elf/tst-tls8.c: Likewise.
14521 * elf/tst-tls9.c: Likewise.
14522 * elf/tst-tlsmod1.c: Likewise.
14523 * elf/tst-tlsmod13.c: Likewise.
14524 * elf/tst-tlsmod13a.c: Likewise.
14525 * elf/tst-tlsmod14a.c: Likewise.
14526 * elf/tst-tlsmod16a.c: Likewise.
14527 * elf/tst-tlsmod16b.c: Likewise.
14528 * elf/tst-tlsmod2.c: Likewise.
14529 * elf/tst-tlsmod3.c: Likewise.
14530 * elf/tst-tlsmod4.c: Likewise.
14531 * elf/tst-tlsmod5.c: Likewise.
14532 * elf/tst-tlsmod6.c: Likewise.
14534 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
14537 * malloc/malloc.c: remove checks for statistics.
14539 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
14542 * inet/inet_net.c (inet_network): Detect additional invalid strings.
14543 * inet/tst-network.c: Add testcase.
14545 2013-10-17 Andreas Schwab <schwab@suse.de>
14548 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
14549 to determine canonical name.
14551 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
14553 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
14554 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
14555 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14556 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
14557 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14558 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
14559 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
14560 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
14561 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
14562 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
14563 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
14564 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
14565 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
14566 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
14567 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
14568 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
14569 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14570 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
14571 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
14572 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
14573 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
14574 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14575 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
14576 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
14577 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
14578 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
14579 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
14580 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
14581 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
14582 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
14583 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
14584 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14585 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
14586 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
14587 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
14588 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
14589 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
14590 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
14591 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
14592 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
14593 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
14594 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
14595 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
14596 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
14597 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
14598 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
14599 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
14600 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
14601 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
14602 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
14603 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
14604 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
14605 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
14606 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
14607 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
14608 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
14609 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14610 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
14612 2013-10-17 Joseph Myers <joseph@codesourcery.com>
14615 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
14616 make result into a quiet NaN.
14618 2013-10-16 Joseph Myers <joseph@codesourcery.com>
14620 * soft-fp/adddf3.c: Fix horizontal whitespace.
14621 * soft-fp/addsf3.c: Likewise.
14622 * soft-fp/addtf3.c: Likewise.
14623 * soft-fp/divdf3.c: Likewise.
14624 * soft-fp/divsf3.c: Likewise.
14625 * soft-fp/divtf3.c: Likewise.
14626 * soft-fp/double.h: Likewise.
14627 * soft-fp/eqdf2.c: Likewise.
14628 * soft-fp/eqsf2.c: Likewise.
14629 * soft-fp/eqtf2.c: Likewise.
14630 * soft-fp/extenddftf2.c: Likewise.
14631 * soft-fp/extended.h: Likewise.
14632 * soft-fp/extendsfdf2.c: Likewise.
14633 * soft-fp/extendsftf2.c: Likewise.
14634 * soft-fp/extendxftf2.c: Likewise.
14635 * soft-fp/fixdfdi.c: Likewise.
14636 * soft-fp/fixdfsi.c: Likewise.
14637 * soft-fp/fixdfti.c: Likewise.
14638 * soft-fp/fixsfdi.c: Likewise.
14639 * soft-fp/fixsfsi.c: Likewise.
14640 * soft-fp/fixsfti.c: Likewise.
14641 * soft-fp/fixtfdi.c: Likewise.
14642 * soft-fp/fixtfsi.c: Likewise.
14643 * soft-fp/fixtfti.c: Likewise.
14644 * soft-fp/fixunsdfdi.c: Likewise.
14645 * soft-fp/fixunsdfsi.c: Likewise.
14646 * soft-fp/fixunsdfti.c: Likewise.
14647 * soft-fp/fixunssfdi.c: Likewise.
14648 * soft-fp/fixunssfsi.c: Likewise.
14649 * soft-fp/fixunssfti.c: Likewise.
14650 * soft-fp/fixunstfdi.c: Likewise.
14651 * soft-fp/fixunstfsi.c: Likewise.
14652 * soft-fp/fixunstfti.c: Likewise.
14653 * soft-fp/floatdidf.c: Likewise.
14654 * soft-fp/floatdisf.c: Likewise.
14655 * soft-fp/floatditf.c: Likewise.
14656 * soft-fp/floatsidf.c: Likewise.
14657 * soft-fp/floatsisf.c: Likewise.
14658 * soft-fp/floatsitf.c: Likewise.
14659 * soft-fp/floattidf.c: Likewise.
14660 * soft-fp/floattisf.c: Likewise.
14661 * soft-fp/floattitf.c: Likewise.
14662 * soft-fp/floatundidf.c: Likewise.
14663 * soft-fp/floatundisf.c: Likewise.
14664 * soft-fp/floatunditf.c: Likewise.
14665 * soft-fp/floatunsidf.c: Likewise.
14666 * soft-fp/floatunsisf.c: Likewise.
14667 * soft-fp/floatunsitf.c: Likewise.
14668 * soft-fp/floatuntidf.c: Likewise.
14669 * soft-fp/floatuntisf.c: Likewise.
14670 * soft-fp/floatuntitf.c: Likewise.
14671 * soft-fp/fmadf4.c: Likewise.
14672 * soft-fp/fmasf4.c: Likewise.
14673 * soft-fp/fmatf4.c: Likewise.
14674 * soft-fp/gedf2.c: Likewise.
14675 * soft-fp/gesf2.c: Likewise.
14676 * soft-fp/getf2.c: Likewise.
14677 * soft-fp/ledf2.c: Likewise.
14678 * soft-fp/lesf2.c: Likewise.
14679 * soft-fp/letf2.c: Likewise.
14680 * soft-fp/muldf3.c: Likewise.
14681 * soft-fp/mulsf3.c: Likewise.
14682 * soft-fp/multf3.c: Likewise.
14683 * soft-fp/negdf2.c: Likewise.
14684 * soft-fp/negsf2.c: Likewise.
14685 * soft-fp/negtf2.c: Likewise.
14686 * soft-fp/op-1.h: Likewise.
14687 * soft-fp/op-2.h: Likewise.
14688 * soft-fp/op-4.h: Likewise.
14689 * soft-fp/op-8.h: Likewise.
14690 * soft-fp/op-common.h: Likewise.
14691 * soft-fp/quad.h: Likewise.
14692 * soft-fp/single.h: Likewise.
14693 * soft-fp/soft-fp.h: Likewise.
14694 * soft-fp/sqrtdf2.c: Likewise.
14695 * soft-fp/sqrtsf2.c: Likewise.
14696 * soft-fp/sqrttf2.c: Likewise.
14697 * soft-fp/subdf3.c: Likewise.
14698 * soft-fp/subsf3.c: Likewise.
14699 * soft-fp/subtf3.c: Likewise.
14700 * soft-fp/truncdfsf2.c: Likewise.
14701 * soft-fp/trunctfdf2.c: Likewise.
14702 * soft-fp/trunctfsf2.c: Likewise.
14703 * soft-fp/trunctfxf2.c: Likewise.
14704 * soft-fp/unorddf2.c: Likewise.
14705 * soft-fp/unordsf2.c: Likewise.
14706 * soft-fp/unordtf2.c: Likewise.
14708 2013-10-15 Joseph Myers <joseph@codesourcery.com>
14710 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
14711 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
14713 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
14715 * elf/dl-libc.c: Clear initfini list after freeing.
14717 2013-10-14 Joseph Myers <joseph@codesourcery.com>
14719 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
14720 * soft-fp/addsf3.c: Likewise.
14721 * soft-fp/addtf3.c: Likewise.
14722 * soft-fp/divdf3.c: Likewise.
14723 * soft-fp/divsf3.c: Likewise.
14724 * soft-fp/divtf3.c: Likewise.
14725 * soft-fp/double.h: Likewise.
14726 * soft-fp/eqdf2.c: Likewise.
14727 * soft-fp/eqsf2.c: Likewise.
14728 * soft-fp/eqtf2.c: Likewise.
14729 * soft-fp/extenddftf2.c: Likewise.
14730 * soft-fp/extended.h: Likewise.
14731 * soft-fp/extendsfdf2.c: Likewise.
14732 * soft-fp/extendsftf2.c: Likewise.
14733 * soft-fp/extendxftf2.c: Likewise.
14734 * soft-fp/fixdfdi.c: Likewise.
14735 * soft-fp/fixdfsi.c: Likewise.
14736 * soft-fp/fixdfti.c: Likewise.
14737 * soft-fp/fixsfdi.c: Likewise.
14738 * soft-fp/fixsfsi.c: Likewise.
14739 * soft-fp/fixsfti.c: Likewise.
14740 * soft-fp/fixtfdi.c: Likewise.
14741 * soft-fp/fixtfsi.c: Likewise.
14742 * soft-fp/fixtfti.c: Likewise.
14743 * soft-fp/fixunsdfdi.c: Likewise.
14744 * soft-fp/fixunsdfsi.c: Likewise.
14745 * soft-fp/fixunsdfti.c: Likewise.
14746 * soft-fp/fixunssfdi.c: Likewise.
14747 * soft-fp/fixunssfsi.c: Likewise.
14748 * soft-fp/fixunssfti.c: Likewise.
14749 * soft-fp/fixunstfdi.c: Likewise.
14750 * soft-fp/fixunstfsi.c: Likewise.
14751 * soft-fp/fixunstfti.c: Likewise.
14752 * soft-fp/floatdidf.c: Likewise.
14753 * soft-fp/floatdisf.c: Likewise.
14754 * soft-fp/floatditf.c: Likewise.
14755 * soft-fp/floatsidf.c: Likewise.
14756 * soft-fp/floatsisf.c: Likewise.
14757 * soft-fp/floatsitf.c: Likewise.
14758 * soft-fp/floattidf.c: Likewise.
14759 * soft-fp/floattisf.c: Likewise.
14760 * soft-fp/floattitf.c: Likewise.
14761 * soft-fp/floatundidf.c: Likewise.
14762 * soft-fp/floatundisf.c: Likewise.
14763 * soft-fp/floatunsidf.c: Likewise.
14764 * soft-fp/floatunsisf.c: Likewise.
14765 * soft-fp/floatuntidf.c: Likewise.
14766 * soft-fp/floatuntisf.c: Likewise.
14767 * soft-fp/floatuntitf.c: Likewise.
14768 * soft-fp/fmadf4.c: Likewise.
14769 * soft-fp/fmasf4.c: Likewise.
14770 * soft-fp/fmatf4.c: Likewise.
14771 * soft-fp/gedf2.c: Likewise.
14772 * soft-fp/gesf2.c: Likewise.
14773 * soft-fp/getf2.c: Likewise.
14774 * soft-fp/ledf2.c: Likewise.
14775 * soft-fp/lesf2.c: Likewise.
14776 * soft-fp/letf2.c: Likewise.
14777 * soft-fp/muldf3.c: Likewise.
14778 * soft-fp/mulsf3.c: Likewise.
14779 * soft-fp/multf3.c: Likewise.
14780 * soft-fp/negdf2.c: Likewise.
14781 * soft-fp/negsf2.c: Likewise.
14782 * soft-fp/negtf2.c: Likewise.
14783 * soft-fp/op-1.h: Likewise.
14784 * soft-fp/op-2.h: Likewise.
14785 * soft-fp/op-4.h: Likewise.
14786 * soft-fp/op-8.h: Likewise.
14787 * soft-fp/op-common.h: Likewise.
14788 * soft-fp/quad.h: Likewise.
14789 * soft-fp/single.h: Likewise.
14790 * soft-fp/soft-fp.h: Likewise.
14791 * soft-fp/sqrtdf2.c: Likewise.
14792 * soft-fp/sqrtsf2.c: Likewise.
14793 * soft-fp/sqrttf2.c: Likewise.
14794 * soft-fp/subdf3.c: Likewise.
14795 * soft-fp/subsf3.c: Likewise.
14796 * soft-fp/subtf3.c: Likewise.
14797 * soft-fp/truncdfsf2.c: Likewise.
14798 * soft-fp/trunctfdf2.c: Likewise.
14799 * soft-fp/trunctfsf2.c: Likewise.
14800 * soft-fp/trunctfxf2.c: Likewise.
14801 * soft-fp/unorddf2.c: Likewise.
14802 * soft-fp/unordsf2.c: Likewise.
14803 * soft-fp/unordtf2.c: Likewise.
14805 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
14808 * misc/error.c (error_tail): Fix possible buffer overflow.
14810 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
14813 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
14816 2013-10-14 P. J. McDermott <pj@pehjota.net>
14819 * elf/ldd.bash.in (try_trace): New function. Delete previous code
14820 testing pipefail option.
14822 2013-10-12 Joseph Myers <joseph@codesourcery.com>
14824 * soft-fp/double.h: Indent preprocessor directives inside #if.
14825 * soft-fp/extended.h: Likewise.
14826 * soft-fp/op-2.h: Likewise.
14827 * soft-fp/op-4.h: Likewise.
14828 * soft-fp/op-common.h: Likewise.
14829 * soft-fp/quad.h: Likewise.
14830 * soft-fp/single.h: Likewise.
14831 * soft-fp/soft-fp.h: Likewise.
14833 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
14835 * iconv/iconv_prog.c: Fix typos.
14836 * stdio-common/psiginfo-data.h: Likewise.
14838 2013-10-12 Reuben Thomas <rrt@sc3d.org>
14841 * locale/setlocale.c: Fix typo.
14843 2013-10-12 Joseph Myers <joseph@codesourcery.com>
14846 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
14847 signaling NaN arguments.
14848 * soft-fp/unordsf2.c (__unordsf2): Likewise.
14849 * soft-fp/unordtf2.c (__unordtf2): Likewise.
14852 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
14853 unordered operands.
14854 * soft-fp/gesf2.c (__gesf2): Likewise.
14855 * soft-fp/getf2.c (__getf2): Likewise.
14856 * soft-fp/ledf2.c (__ledf2): Likewise.
14857 * soft-fp/lesf2.c (__lesf2): Likewise.
14858 * soft-fp/letf2.c (__letf2): Likewise.
14860 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
14861 * soft-fp/eqsf2.c (__eqsf2): Likewise.
14862 * soft-fp/eqtf2.c (__eqtf2): Likewise.
14863 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
14864 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
14865 * soft-fp/fixdfti.c (__fixdfti): Likewise.
14866 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
14867 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
14868 * soft-fp/fixsfti.c (__fixsfti): Likewise.
14869 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
14870 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
14871 * soft-fp/fixtfti.c (__fixtfti): Likewise.
14872 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
14873 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
14874 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
14875 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
14876 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
14877 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
14878 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
14879 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
14880 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
14881 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
14882 * soft-fp/floatdisf.c (__floatdisf): Likewise.
14883 * soft-fp/floatsisf.c (__floatsisf): Likewise.
14884 * soft-fp/floattidf.c (__floattidf): Likewise.
14885 * soft-fp/floattisf.c (__floattisf): Likewise.
14886 * soft-fp/floattitf.c (__floattitf): Likewise.
14887 * soft-fp/floatundidf.c (__floatundidf): Likewise.
14888 * soft-fp/floatundisf.c (__floatundisf): Likewise.
14889 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
14890 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
14891 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
14892 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
14893 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
14894 * soft-fp/gesf2.c (__gesf2): Likewise.
14895 * soft-fp/getf2.c (__getf2): Likewise.
14896 * soft-fp/ledf2.c (__ledf2): Likewise.
14897 * soft-fp/lesf2.c (__lesf2): Likewise.
14898 * soft-fp/letf2.c (__letf2): Likewise.
14900 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
14901 Undefine and redefine.
14902 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
14903 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
14904 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
14905 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
14906 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14907 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
14908 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14909 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
14910 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14911 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
14912 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14913 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
14914 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14915 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
14916 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14919 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
14920 without decrementing exponent if mantissa >= that for the
14921 denominator, not >.
14922 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
14923 denominator, not >. Decrement exponent in < case instead of
14924 incrementing in >= case.
14925 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
14926 without decrementing exponent if mantissa >= that for the
14927 denominator, not >.
14929 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
14930 computing saturated result for unsigned overflow.
14932 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
14933 Jeff Law <law@redhat.com>
14935 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
14936 (atan2Mp): Add systemtap probe marker.
14937 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
14938 (__ieee754_log): Add systemtap probe marker.
14939 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
14940 (atanMp): Add systemtap probe marker.
14941 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
14942 (tanMp): Add systemtap probe marker.
14943 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
14944 (__slowexp): Add systemtap probe marker.
14945 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
14946 (__slowpow): Add systemtap probe marker.
14947 * manual/probes.texi: Document probes.
14949 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
14952 * libio/fileops.c (_IO_new_file_write): Return count of bytes
14954 (_IO_new_file_xsputn): Don't return EOF if nothing has been
14956 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
14957 written to buffer but not flushed.
14958 * libio/iofwrite_u.c: Likewise.
14959 * libio/iopadn.c: Return bytes returned even if EOF was
14961 * libio/iowpadn.c: Likewise.
14962 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
14963 if _IO_padn does not write the whole buffer.
14964 [!COMPILE_WPRINTF] (PAD): Likewise.
14966 2013-10-10 David S. Miller <davem@davemloft.net>
14968 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
14971 2013-10-10 Joseph Myers <joseph@codesourcery.com>
14973 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
14974 instead of FSF address.
14975 * soft-fp/fixdfti.c: Likewise.
14976 * soft-fp/fixsfti.c: Likewise.
14977 * soft-fp/fixtfti.c: Likewise.
14978 * soft-fp/fixunsdfti.c: Likewise.
14979 * soft-fp/fixunssfti.c: Likewise.
14980 * soft-fp/fixunstfti.c: Likewise.
14981 * soft-fp/floattidf.c: Likewise.
14982 * soft-fp/floattisf.c: Likewise.
14983 * soft-fp/floattitf.c: Likewise.
14984 * soft-fp/floatuntidf.c: Likewise.
14985 * soft-fp/floatuntisf.c: Likewise.
14986 * soft-fp/floatuntitf.c: Likewise.
14987 * soft-fp/trunctfxf2.c: Likewise.
14989 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
14990 * soft-fp/fixdfti.c: Likewise.
14991 * soft-fp/fixsfti.c: Likewise.
14992 * soft-fp/fixtfti.c: Likewise.
14993 * soft-fp/fixunsdfti.c: Likewise.
14994 * soft-fp/fixunssfti.c: Likewise.
14995 * soft-fp/fixunstfti.c: Likewise.
14996 * soft-fp/floattidf.c: Likewise.
14997 * soft-fp/floattisf.c: Likewise.
14998 * soft-fp/floattitf.c: Likewise.
14999 * soft-fp/floatuntidf.c: Likewise.
15000 * soft-fp/floatuntisf.c: Likewise.
15001 * soft-fp/floatuntitf.c: Likewise.
15002 * soft-fp/trunctfxf2.c: Likewise.
15004 2013-10-10 David S. Miller <davem@davemloft.net>
15006 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15008 2013-10-10 Joseph Myers <joseph@codsourcery.com>
15010 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
15011 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
15012 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
15013 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
15014 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
15015 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
15016 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
15018 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
15019 for NaNs before doing comparisons on argument.
15020 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
15023 2013-10-10 Will Newton <will.newton@linaro.org>
15025 * malloc/hooks.c (memalign_check): Ensure the value of bytes
15026 passed to _int_memalign does not overflow.
15028 2013-10-10 Torvald Riegel <triegel@redhat.com>
15030 * scripts/bench.pl: Add include-sources directive.
15031 * benchtests/README: Update documentation.
15033 2013-10-10 Joseph Myers <joseph@codesourcery.com>
15035 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
15036 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
15037 instead of FP_INIT_ROUNDMODE.
15038 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
15039 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
15042 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
15043 copy class of input value.
15044 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
15045 not handle exceptions.
15046 * soft-fp/negsf2.c (__negsf2): Likewise.
15047 * soft-fp/negtf2.c (__negtf2): Likewise.
15048 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
15050 2013-10-09 Joseph Myers <joseph@codesourcery.com>
15052 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
15053 semicolon. From Linux kernel.
15055 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
15057 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
15059 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
15062 * manual/socket.texi: Added statement about buffer
15063 for gethostbyname2_r.
15065 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
15067 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
15068 Use .p2align directive instead, throughout.
15069 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
15070 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
15071 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
15072 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
15073 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
15074 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
15075 * sysdeps/x86_64/strchr.S: Likewise.
15076 * sysdeps/x86_64/strrchr.S: Likewise.
15078 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
15080 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
15082 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
15084 * sysdeps/generic/math_private.h (__mpsin1): Remove
15086 (__mpcos1): Likewise.
15087 (__mpsin): New argument __range_reduce.
15088 (__mpcos): Likewise.
15089 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
15090 (slow): Use __mpsin and __mpcos.
15094 (sloww1): Likewise.
15095 (sloww2): Likewise.
15096 (bsloww): Likewise.
15097 (bsloww1): Likewise.
15098 (bsloww2): Likewise.
15099 (cslow2): Likewise.
15100 (csloww): Likewise.
15101 (csloww1): Likewise.
15102 (csloww2): Likewise.
15103 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
15104 range_reduce. Merge in __mpsin1.
15105 (__mpcos): Likewise.
15106 (__mpsin1): Remove.
15107 (__mpcos1): Likewise.
15109 2013-10-07 Joseph Myers <joseph@codesourcery.com>
15111 * locale/loadlocale.c (_nl_intern_locale_data): Use
15113 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
15114 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
15115 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
15116 obstack data is appropriately aligned.
15117 (obstack_int32_grow_fast): Likewise.
15118 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
15119 * locale/programs/locfile.c (add_locale_uint32): Likewise.
15120 (add_locale_uint32_array): Likewise.
15122 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
15124 * benchtests/Makefile: Remove ARGLIST and RET variables.
15125 ($(objpfx)bench-%.c): Pass only function name to the script.
15126 * benchtests/README: Update documentation.
15127 * benchtests/acos-inputs: Add new directives.
15128 * benchtests/acosh-inputs: Likewise.
15129 * benchtests/asin-inputs: Likewise.
15130 * benchtests/asinh-inputs: Likewise.
15131 * benchtests/atan-inputs: Likewise.
15132 * benchtests/atanh-inputs: Likewise.
15133 * benchtests/cos-inputs: Likewise.
15134 * benchtests/cosh-inputs: Likewise.
15135 * benchtests/exp-inputs: Likewise.
15136 * benchtests/log-inputs: Likewise.
15137 * benchtests/pow-inputs: Likewise.
15138 * benchtests/rint-inputs: Likewise.
15139 * benchtests/sin-inputs: Likewise.
15140 * benchtests/sinh-inputs: Likewise.
15141 * benchtests/tan-inputs: Likewise.
15142 * benchtests/tanh-inputs: Likewise.
15143 * scripts/bench.pl: Add support for new directives.
15145 2013-10-07 Alan Modra <amodra@gmail.com>
15147 * README: Fix careless merge.
15149 2013-10-05 Alan Modra <amodra@gmail.com>
15151 * NEWS: Mention powerpc64le support and bugs fixed.
15152 * README: Both big-endian and little-endian powerpc64 supported.
15154 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
15156 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
15157 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
15158 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
15159 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
15161 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
15163 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
15166 2013-10-04 Joseph Myers <joseph@codesourcery.com>
15168 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
15169 Move -mhard-float appending from
15170 ports/sysdeps/powerpc/powerpc32/Makefile.
15171 [$(with-fp) = yes] (ASFLAGS): Likewise.
15172 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
15173 * sysdeps/powerpc/nofpu: Move directory from
15174 ports/sysdeps/powerpc/nofpu.
15175 * sysdeps/powerpc/soft-fp: Move directory from
15176 ports/sysdeps/powerpc/soft-fp.
15177 * sysdeps/powerpc/powerpc32/405: Move directory from
15178 ports/sysdeps/powerpc/powerpc32/405.
15179 * sysdeps/powerpc/powerpc32/440: Move directory from
15180 ports/sysdeps/powerpc/powerpc32/440.
15181 * sysdeps/powerpc/powerpc32/464: Move directory from
15182 ports/sysdeps/powerpc/powerpc32/464.
15183 * sysdeps/powerpc/powerpc32/476: Move directory from
15184 ports/sysdeps/powerpc/powerpc32/476.
15185 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
15186 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
15187 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
15188 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
15189 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
15190 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
15191 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
15192 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
15193 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
15194 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
15195 * README: Update for powerpc-*-linux-gnu software floating point
15198 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
15199 case to powerpc/powerpc32*.
15200 * sysdeps/unix/sysv/linux/configure: Regenerated.
15202 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
15203 (_FPU_MASK_OM): Define as 0x04.
15204 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
15205 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
15207 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
15209 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
15211 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
15212 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
15214 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
15215 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
15217 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
15218 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
15219 and setcontext_e500.
15221 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
15223 * locale/iso-3166.def: Update iso-1366.def and related occurrences
15225 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
15227 * manual/threads.texi (Default Thread Attributes): Fix typo.
15229 2013-10-04 Will Newton <will.newton@linaro.org>
15231 * malloc/Makefile: Add tst-memalign.
15232 * malloc/tst-memalign.c: New file.
15234 * malloc/tst-posix_memalign.c: Add comments.
15235 (do_test): Add comments and call free on all potentially
15236 allocated pointers. Add space after cast.
15238 * malloc/tst-pvalloc.c: Add comments.
15239 (do_test): Add comments and call free on all potentially
15240 allocated pointers. Remove duplicate check for NULL pointer.
15241 Add space after cast.
15243 * malloc/tst-valloc.c: Add comments.
15244 (do_test): Add comments and call free on all potentially
15245 allocated pointers. Remove duplicate check for NULL pointer.
15246 Add space after cast.
15248 2013-10-04 Alan Modra <amodra@gmail.com>
15250 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
15251 Use stdint types in rather than __attribute__((mode())).
15252 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
15254 2013-10-04 Alan Modra <amodra@gmail.com>
15256 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
15257 Correct handling of unaligned relocs for little-endian.
15258 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
15260 2013-10-04 Alan Modra <amodra@gmail.com>
15262 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
15263 * configure: Regenerate.
15264 * nptl/shlib-versions: Powerpc*le starts at 2.18.
15265 * shlib-versions: Likewise.
15267 2013-10-04 Alan Modra <amodra@gmail.com>
15269 * string/tester.c (test_memrchr): Increment reported test cycle.
15271 2013-10-04 Alan Modra <amodra@gmail.com>
15273 * string/test-memcpy.c (do_one_test): When reporting errors, print
15274 string address and don't overrun end of string.
15276 2013-10-04 Alan Modra <amodra@gmail.com>
15278 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
15279 insrdi. Make better use of reg selection to speed exit slightly.
15280 Schedule entry path a little better. Remove useless "are we done"
15281 checks on entry to main loop. Handle wrapping around zero address.
15282 Correct main loop count. Handle single left-over word from main
15283 loop inline rather than by using loop_small. Remove extra word
15284 case in loop_small caused by wrong loop count. Add little-endian
15286 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
15287 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
15289 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
15290 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
15291 support. Avoid rlwimi.
15292 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
15294 2013-10-04 Alan Modra <amodra@gmail.com>
15296 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
15297 insrdi. Formatting.
15298 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
15299 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
15300 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
15301 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
15302 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
15303 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
15305 2013-10-04 Alan Modra <amodra@gmail.com>
15307 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
15308 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
15309 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
15310 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
15311 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
15312 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
15313 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
15314 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
15315 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
15316 use of regs. Use power7 mtocrf. Tidy function tails.
15318 2013-10-04 Alan Modra <amodra@gmail.com>
15320 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
15321 Formatting. Consistently use rXXX register defines or rN defines.
15322 Use early exit labels that avoid restoring unused non-volatile regs.
15323 Make cr field use more consistent with rWORDn compares. Rename
15324 regs used as shift registers for unaligned loop, using rN defines
15325 for short lifetime/multiple use regs.
15326 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
15327 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
15328 addi 1,1,64 to pop stack frame. Simplify return value code.
15329 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
15331 2013-10-04 Alan Modra <amodra@gmail.com>
15333 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
15334 support. Correct typos, formatting. Optimize tail. Use insrdi
15335 rather than rlwimi.
15336 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
15337 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
15338 little-endian support. Correct typos.
15339 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
15340 rather than rlwimi.
15341 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
15342 in loop and entry code to keep "and." results.
15343 (strchr): Add little-endian support. Comment. Move cntlzd
15345 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
15347 2013-10-04 Alan Modra <amodra@gmail.com>
15349 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
15350 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
15351 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
15352 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
15354 2013-10-04 Alan Modra <amodra@gmail.com>
15356 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
15357 (rTMP): Define as r11.
15358 (strcmp): Add little-endian support. Optimise tail.
15359 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
15360 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
15361 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
15362 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
15363 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
15364 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
15365 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
15367 2013-10-04 Alan Modra <amodra@gmail.com>
15369 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
15370 little-endian support. Remove unnecessary "are we done" tests.
15371 Handle "s" wrapping around zero and extremely large "size".
15372 Correct main loop count. Handle single left-over word from main
15373 loop inline rather than by using small_loop. Correct comments.
15374 Delete "zero" tail, use "end_max" instead.
15375 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
15377 2013-10-04 Alan Modra <amodra@gmail.com>
15379 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
15380 support. Don't branch over align.
15381 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
15382 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
15383 support. Rearrange tmp reg use to suit. Comment.
15384 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
15386 2013-10-04 Alan Modra <amodra@gmail.com>
15388 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
15390 2013-10-04 Alan Modra <amodra@gmail.com>
15392 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
15393 conditional form of branch and link when obtaining pc.
15394 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
15396 2013-10-04 Alan Modra <amodra@gmail.com>
15398 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
15400 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
15401 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
15403 2013-10-04 Alan Modra <amodra@gmail.com>
15405 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
15406 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
15407 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
15408 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
15409 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
15410 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
15411 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
15412 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
15413 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
15414 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
15416 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
15417 Alistair Popple <alistair@ozlabs.au.ibm.com>
15418 Alan Modra <amodra@gmail.com>
15421 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
15422 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
15423 _dl_hwcap access for little-endian.
15424 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
15425 destroy vmx regs when saving unaligned.
15426 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
15427 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
15428 destroy vmx regs when saving unaligned.
15430 2013-10-04 Alan Modra <amodra@gmail.com>
15432 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
15433 Don't use a union to pack hi/low value.
15435 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
15437 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
15439 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
15440 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
15441 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
15442 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
15443 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
15445 2013-10-04 Alan Modra <amodra@gmail.com>
15447 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
15448 constants to usual value for .cst8 section, and remove redundant
15450 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
15451 constant for 0x1p52. Load little-endian words of double from
15452 correct stack offsets.
15454 2013-10-04 Alan Modra <amodra@gmail.com>
15456 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
15457 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
15458 words of double from correct stack offsets.
15459 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
15460 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
15461 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
15462 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
15463 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
15464 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
15465 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
15466 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
15467 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
15468 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
15469 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
15470 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
15471 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
15472 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
15473 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
15474 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
15475 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
15477 2013-10-04 Alan Modra <amodra@gmail.com>
15479 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
15480 64-bit int/double union.
15481 (_FPU_SETCW): Likewise.
15482 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
15483 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
15485 2013-10-04 Alan Modra <amodra@gmail.com>
15487 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
15488 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
15490 2013-10-04 Alan Modra <amodra@gmail.com>
15492 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
15493 use vector int constants.
15494 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
15496 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
15498 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
15499 array with long long.
15500 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
15501 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
15502 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
15503 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
15504 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
15505 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
15506 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
15507 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
15508 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
15509 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
15510 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
15511 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
15512 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
15514 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
15516 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
15517 (__signbit): Likewise. Correct for little-endian.
15518 (__signbitl): Call __signbit.
15519 (lrint): Correct for little-endian.
15520 (lrintf): Call lrint.
15522 2013-10-04 Alan Modra <amodra@gmail.com>
15524 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
15525 union 32-bit int array member with 64-bit int array.
15526 (t515, tm256): Double rather than long double.
15527 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
15529 2013-10-04 Alan Modra <amodra@gmail.com>
15531 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
15533 (IEEE854_LONG_DOUBLE_BIAS): Delete.
15534 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
15535 version of math_ldbl.h.
15537 2013-10-04 Alan Modra <amodra@gmail.com>
15539 [BZ #15734], [BZ #15735]
15540 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
15541 all uses of ieee875 long double macros and unions. Simplify test
15542 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
15543 ldbl_extract_mantissa value for ix,iy exponents. Properly
15544 normalize after ldbl_extract_mantissa, and don't add hidden bit
15545 already handled. Don't treat low word of ieee854 mantissa like
15546 low word of IBM long double and mask off bit when testing for
15548 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
15549 all uses of ieee875 long double macros and unions. Simplify tests
15550 for 0.0L and inf. Correct double adjustment of k. Delete dead code
15551 adjusting ha,hb. Simplify code setting kld. Delete two600 and
15552 two1022, instead use their values. Recognise that tests for large
15553 "a" and small "b" are mutually exclusive. Rename vars. Comment.
15554 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
15555 Rewrite all uses of ieee875 long double macros and unions. Simplify
15556 test for 0.0L and nan. Correct negation.
15557 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
15558 ieee875 long double macros and unions. Correct output for large
15559 magnitude x. Correct absolute value calculation.
15560 (__erfcl): Likewise.
15561 * math/libm-test.inc: Add tests for errors discovered in IBM long
15562 double versions of fmodl, remainderl, erfl and erfcl.
15564 2013-10-04 Alan Modra <amodra@gmail.com>
15566 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
15567 all uses of ieee854 long double macros and unions. Simplify tests
15568 for long doubles that are fully specified by the high double.
15569 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
15571 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
15572 Remove dead code too.
15573 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
15574 (__ieee754_ynl): Likewise.
15575 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
15576 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
15577 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
15578 Remove dead code too.
15579 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
15580 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
15581 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
15582 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
15584 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
15586 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
15587 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
15588 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
15589 Comment on variable precision.
15590 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
15591 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
15593 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
15594 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
15595 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
15596 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
15597 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
15599 2013-10-04 Alan Modra <amodra@gmail.com>
15601 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
15602 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
15603 all uses of ieee854 long double macros and unions.
15604 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
15605 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
15606 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
15607 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
15608 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
15609 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
15611 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
15612 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
15613 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
15614 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
15615 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
15616 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
15617 Simplify sign and nan test too.
15618 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
15619 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
15620 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
15621 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
15623 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
15624 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
15626 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
15627 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
15628 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
15629 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
15630 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
15631 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
15633 2013-10-04 Alan Modra <amodra@gmail.com>
15635 * stdio-common/printf_size.c (__printf_size): Don't use
15636 union ieee854_long_double in fpnum union.
15637 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
15638 signbit macro to retrieve sign from long double.
15639 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
15640 retrieve sign from long double.
15641 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
15642 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
15643 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
15644 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
15645 * math/test-misc.c (main): Don't use union ieee854_long_double.
15647 2013-10-04 Alan Modra <amodra@gmail.com>
15650 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
15651 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
15652 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
15653 calculation. Remove unnecessary test for denormal exponent.
15654 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
15655 Correct handling of denormals. Avoid undefined shift behaviour.
15656 Correct normalisation of low mantissa when low double is denormal.
15657 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
15658 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
15659 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
15660 Correct normalisation of low mantissa. Test for overflow of high
15661 mantissa and normalise.
15662 (ldbl_nearbyint): Use more readable constant for two52.
15663 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
15664 (__mpn_construct_long_double): Fix test for overflow of high
15665 mantissa and correct normalisation. Avoid undefined shift.
15667 2013-10-04 Alan Modra <amodra@gmail.com>
15669 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
15670 (union ibm_extended_long_double): Define as an array of ieee754_double.
15671 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
15672 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
15673 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
15674 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
15675 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
15676 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
15677 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
15678 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
15679 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
15680 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
15681 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
15683 2013-10-03 Joseph Myers <joseph@codesourcery.com>
15685 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
15686 page size instead of calling getpagesize.
15688 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
15689 (LOCFILE_ALIGN_MASK): Likewise.
15690 (LOCFILE_ALIGN_UP): Likewise.
15691 (LOCFILE_ALIGNED_P): Likewise.
15692 * locale/programs/ld-collate.c (collate_output): Use the new
15693 macros instead of __alignof__ (int32_t).
15694 * locale/weight.h (findidx): Likewise.
15696 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
15699 * manual/string.texi: Fix strncat and wcsncat.
15701 2013-10-03 Brooks Moses <bmoses@google.com>
15704 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
15705 * Makerules: ...here, and adjust associated comments.
15707 2013-10-02 Will Newton <will.newton@linaro.org>
15709 * malloc/Makefile: Add tst-pvalloc.
15710 * malloc/tst-pvalloc.c: New file.
15712 2013-10-02 Will Newton <will.newton@linaro.org>
15714 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
15715 improve test coverage.
15717 2013-10-02 Will Newton <will.newton@linaro.org>
15719 * malloc/Makefile: Add tst-posix_memalign.
15720 * malloc/tst-posix_memalign.c: New file.
15722 2013-10-01 Eric Blake <eblake@redhat.com>
15724 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
15725 Use __THROWNL rather than __THROW on static functions.
15727 2013-09-30 Petr Machata <pmachata@redhat.com>
15729 * elf/elf.h (R_AARCH64_ABS16): New macro.
15730 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
15731 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
15732 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
15733 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
15734 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
15735 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
15736 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
15737 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
15738 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
15739 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
15740 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
15741 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
15742 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
15743 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
15744 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
15745 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
15746 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
15747 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
15748 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
15749 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
15750 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
15751 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
15752 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
15753 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
15754 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
15755 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
15756 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
15757 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
15758 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
15759 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
15760 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
15761 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
15762 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
15763 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
15764 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
15765 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
15766 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
15767 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
15768 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
15769 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
15770 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
15771 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
15772 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
15773 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
15774 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
15775 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
15776 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
15777 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
15778 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
15779 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
15780 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
15781 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
15782 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
15783 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
15784 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
15785 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
15786 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
15787 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
15788 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
15789 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
15790 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
15791 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
15792 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
15793 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
15794 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
15795 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
15796 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
15797 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
15798 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
15799 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
15800 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
15801 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
15802 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
15803 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
15804 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
15805 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
15806 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
15807 (R_AARCH64_TLSDESC_LDR): Likewise.
15808 (R_AARCH64_TLSDESC_ADD): Likewise.
15809 (R_AARCH64_TLSDESC_CALL): Likewise.
15811 2013-09-30 Andreas Schwab <schwab@suse.de>
15814 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
15815 the nss database lookup.
15816 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15817 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
15819 2013-09-28 Mike Frysinger <vapier@gentoo.org>
15821 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
15823 2013-09-28 P. J. McDermott <pj@pehjota.net>
15825 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
15826 ${Bash-specific parameter/pattern/string} parameter expansion.
15827 * sysdeps/unix/make-syscalls.sh: Likewise.
15829 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15831 * sysdeps/sh/stackguard-macros.h: New file.
15833 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
15835 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
15836 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
15837 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
15838 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
15839 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
15840 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
15842 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15844 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
15845 Fix thread ID register.
15847 2013-09-25 Joseph Myers <joseph@codesourcery.com>
15849 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
15850 [POSIX || UNIX98]: Require rather than permitting all symbols from
15852 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
15853 element of struct sched_param.
15854 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
15855 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
15856 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
15857 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
15860 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
15862 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
15863 argument calculation.
15865 2013-09-24 Joseph Myers <joseph@codesourcery.com>
15867 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
15869 [POSIX] (pthread_attr_t): Do not require type.
15870 [POSIX] (pthread_cond_t): Likewise.
15871 [POSIX] (pthread_condattr_t): Likewise.
15872 [POSIX] (pthread_key_t): Likewise.
15873 [POSIX] (pthread_mutex_t): Likewise.
15874 [POSIX] (pthread_mutexattr_t): Likewise.
15875 [POSIX] (pthread_once_t): Likewise.
15876 [POSIX] (pthread_t): Likewise.
15877 [POSIX-based standards] (pthread_atfork): Expect function.
15879 2013-09-24 Joseph Myers <joseph@codesourcery.com>
15880 Richard Sandiford <richard@codesourcery.com>
15882 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
15883 (swap_endianness_p): New extern variable.
15884 (set_big_endian): New inline function.
15885 (maybe_swap_uint32): Likewise.
15886 (maybe_swap_uint32_array): Likewise.
15887 (maybe_swap_uint32_obstack): Likewise.
15888 * locale/programs/locfile.c: Include <stdbool.h>.
15889 (swap_endianness_p): New variable.
15890 (add_locale_uint32): Call maybe_swap_uint32.
15891 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
15892 (write_locale_data): Call maybe_swap_uint32_array.
15893 * locale/programs/ld-collate.c (obstack_int32_grow): Call
15895 (obstack_int32_grow_fast): Likewise.
15896 (output_weightwc): Call maybe_swap_uint32_obstack.
15897 (collate_output): Likewise.
15898 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
15899 (OPT_LITTLE_ENDIAN): Likewise.
15900 (options): Add --little-endian and --big-endian options.
15901 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
15902 * locale/programs/locarchive.c: Include "locfile.h".
15906 (create_archive): Use the new macros to access fields of
15907 structures directly mapped from or written to locale archives.
15908 (oldlocrecentcmp): Likewise.
15909 (enlarge_archive): Likewise.
15910 (insert_name): Likewise.
15911 (add_alias): Likewise.
15912 (add_locale): Likewise.
15913 (delete_locales_from_archive): Likewise.
15914 (show_archive_content): Likewise.
15915 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
15918 2013-09-24 Roland McGrath <roland@hack.frob.com>
15920 * manual/freemanuals.texi: Updated from (newly) canonical copy at
15921 http://www.gnu.org/doc/freemanuals.texi.
15922 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
15924 2013-09-24 Will Newton <will.newton@linaro.org>
15926 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
15929 2013-09-23 Joseph Myers <joseph@codesourcery.com>
15931 * locale/hashval.h (compute_hashval): Interpret bytes of key as
15934 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
15936 * manual/threads.texi (POSIX Threads): Fix a typo.
15938 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
15941 * string/tst-strcoll-overflow.c: New test case.
15942 * string/Makefile (xtests): Add tst-strcoll-overflow.
15943 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
15944 cache if string sizes may cause integer overflow.
15947 * string/strcoll_l.c (coll_seq): New members rule, idx,
15948 save_idx and back_us.
15949 (get_next_seq_nocache): New function.
15950 (do_compare_nocache): New function.
15951 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
15954 2013-09-23 Carlos O'Donell <carlos@redhat.com>
15957 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
15958 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
15959 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
15962 * elf/Makefile (tests): Add tst-ptrguard1.
15963 (tests-static): Add tst-ptrguard1-static.
15964 (tst-ptrguard1-ARGS): Define.
15965 (tst-ptrguard1-static-ARGS): Define.
15966 * elf/tst-ptrguard1.c: New file.
15967 * elf/tst-ptrguard1-static.c: New file.
15968 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
15969 * sysdeps/i386/stackguard-macros.h: Likewise.
15970 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
15971 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
15972 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
15973 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
15974 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
15975 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
15977 2013-09-23 Hector Marco <hecmargi@upv.es>
15978 Ismael Ripoll <iripoll@disca.upv.es>
15979 Carlos O'Donell <carlos@redhat.com>
15982 * sysdeps/generic/stackguard-macros.h: Define
15983 __pointer_chk_guard_local and POINTER_CHK_GUARD.
15984 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
15985 Define __pointer_chk_guard_local.
15986 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
15987 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
15989 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
15992 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
15994 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
15996 * include/string.h (__ffs): Declare as hidden.
15997 * string/ffs.c (__ffs): Define as hidden.
15998 * sysdeps/i386/ffs.c (__ffs): Likewise.
15999 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
16000 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
16001 * sysdeps/s390/ffs.c (__ffs): Likewise.
16002 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
16004 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
16006 * NEWS: Mention malloc probes.
16008 * malloc/arena.c (new_heap): New memory_heap_new probe.
16009 (grow_heap): New memory_heap_more probe.
16010 (shrink_heap): New memory_heap_less probe.
16011 (heap_trim): New memory_heap_free probe.
16012 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
16013 (systrim): New memory_sbrk_less probe.
16014 * manual/probes.texi: Document them.
16016 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
16017 * manual/probes.texi: Document it.
16019 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
16020 (__libc_realloc): Add memory_realloc_retry probe.
16021 (__libc_memalign): Add memory_memalign_retry probe.
16022 (__libc_valloc): Add memory_valloc_retry probe.
16023 (__libc_pvalloc): Add memory_pvalloc_retry probe.
16024 (__libc_calloc): Add memory_calloc_retry probe.
16025 * manual/probes.texi: Document them.
16027 * malloc/arena.c (get_free_list): Add probe
16028 memory_arena_reuse_free_list.
16029 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
16030 and memory_arena_reuse.
16031 (arena_get2) [!PER_THREAD]: Likewise.
16032 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
16033 memory_arena_reuse_realloc.
16034 * manual/probes.texi: Document them.
16036 * malloc/malloc.c (__libc_free): Add
16037 memory_mallopt_free_dyn_thresholds probe.
16038 (__libc_mallopt): Add multiple memory_mallopt probes.
16039 * manual/probes.texi: Document them.
16041 * malloc/malloc.c: Include stap-probe.h.
16042 (__libc_mallopt): Add memory_mallopt probe.
16043 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
16044 * manual/probes.texi: New.
16045 * manual/Makefile (chapters): Add probes.
16046 * manual/threads.texi: Set next node.
16048 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
16050 [BZ #15963, #13985]
16051 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
16052 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
16053 Add `Chinese' to `nan' entry name.
16055 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
16057 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
16058 (POLYNOMIAL): Likewise.
16059 (TAYLOR_SINCOS): Likewise.
16060 (TAYLOR_SLOW): Likewise.
16061 (__sin): Use TAYLOR_SINCOS.
16063 (slow): Use TAYLOR_SLOW.
16065 (bsloww): Likewise.
16066 (csloww): Likewise.
16068 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16070 * stdlib/strtod_l.c: Fix buffer overrun.
16072 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
16074 * benchtests/Makefile (bench): Add sincos.
16075 * benchtests/bench-sincos.c: New file.
16077 * math/libm-test.inc (cos_test_data): New test inputs.
16078 (sin_test_data): Likewise.
16080 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
16086 (sloww1): Likewise.
16087 (sloww2): Likewise.
16088 (bsloww1): Likewise.
16089 (bsloww2): Likewise.
16090 (cslow2): Likewise.
16091 (csloww1): Likewise.
16092 (csloww2): Likewise.
16094 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
16099 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
16103 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
16105 * config.h.in (HAVE_MIPS_NAN2008): New macro.
16106 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
16107 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
16108 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
16109 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
16110 * elf/cache.c (print_entry): Handle the new cache flags.
16112 2013-09-18 Joseph Myers <joseph@codesourcery.com>
16113 Aldy Hernandez <aldyh@redhat.com>
16115 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
16116 Change condition to [_SOFT_FLOAT].
16117 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
16118 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
16119 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
16120 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
16121 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
16122 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
16123 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
16124 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
16125 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
16126 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
16127 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
16128 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
16129 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
16130 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
16131 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
16132 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
16135 2013-09-18 Joseph Myers <joseph@codesourcery.com>
16137 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
16138 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
16139 (__longjmp): Use LOAD_GP to load saved GPRs.
16140 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
16141 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
16142 (__sigsetjmp): Use SAVE_GP to save GPRs.
16144 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
16145 Do not append -msoft-float.
16146 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
16148 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
16150 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
16152 2013-09-17 Joseph Myers <joseph@codesourcery.com>
16155 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
16156 (_FPU_GETCW): Use initial "__" on variable and field names but not
16157 on macro parameter name.
16158 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
16159 parentheses around reference to macro parameter.
16161 2013-09-13 Richard Sandiford <richard@codesourcery.com>
16163 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
16165 (ctype_startup): Use uint32_t in cast and sizeof for
16168 2013-09-11 Jia Liu <proljc@gmail.com>
16170 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
16172 [__FreeBSD__]: Likewise.
16174 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
16176 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
16177 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
16178 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
16179 (strchr): Remove __strchr_sse42 ifunc selection.
16180 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
16181 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
16183 2013-09-11 Will Newton <will.newton@linaro.org>
16185 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
16186 parameter to RES. Remove hardcoded 1000 value.
16187 * benchtests/bench-skeleton.c (main): Pass RES parameter
16188 to TIMING_INIT and multiply result by 1000.
16190 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16192 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16194 2013-09-11 Andreas Schwab <schwab@suse.de>
16196 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
16198 (O_TMPFILE) [__USE_GNU]: Define.
16199 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
16202 2013-09-11 Will Newton <will.newton@linaro.org>
16205 * malloc/malloc.c (__libc_memalign): Check the value of bytes
16208 2013-09-11 Will Newton <will.newton@linaro.org>
16211 * malloc/malloc.c (__libc_valloc): Check the value of bytes
16214 2013-09-11 Will Newton <will.newton@linaro.org>
16217 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
16220 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
16222 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
16223 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
16224 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
16225 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
16226 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
16228 2013-09-10 Allan McRae <allan@archlinux.org>
16231 * manual/arith.texi (Parsing of Floats): Clarify
16235 * manual/install.texi (Running make install): Mention
16237 * INSTALL: Regenerated.
16239 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
16241 * csu/init-first.c (_init): Remove the !SHARED condition around
16242 FPU control word initialization.
16243 * elf/dl-support.c (_dl_fpu_control): New variable.
16244 (_dl_aux_init) <AT_FPUCW>: Initialize it.
16245 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
16246 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
16247 * math/test-fpucw-static.c: New file.
16248 * math/test-fpucw-ieee.c: New file.
16249 * math/test-fpucw-ieee-static.c: New file.
16250 * math/Makefile (tests): Add `test-fpucw-ieee' and
16252 (tests-static): New variable.
16253 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
16255 [($(build-shared),yes)]
16256 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
16258 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
16261 2013-09-09 Allan McRae <allan@archlinux.org>
16264 * manual/string.texi (Collation Functions): Fix typo in
16266 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
16269 * stdlib/isomac.c (get_null_defines): Fix memory leak.
16272 * libio/memstream.c (open_memstream): Fix memory leak.
16273 * libio/wmemstream.c (open_wmemstream): Likewise.
16276 * nscd/netgroupcache.c: Fix nesting of ifdefs.
16278 2013-09-09 Will Newton <will.newton@linaro.org>
16280 * malloc/Makefile: Add tst-realloc to tests.
16281 * malloc/tst-realloc.c: New file.
16283 2013-09-09 Allan McRae <allan@archlinux.org>
16286 * COPYING: Update from GNU website to fix FSF address.
16287 * COPYING.LIB: Likewise.
16289 2013-09-06 David S. Miller <davem@davemloft.net>
16291 * po/zh_TW.po: Update Chinese (traditional) translation from
16292 translation project.
16294 2013-09-06 Richard Sandiford <richard@codesourcery.com>
16295 Joseph Myers <joseph@codesourcery.com>
16297 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
16299 (obstack_chunk_alloc): New macro.
16300 (obstack_chunk_free): Likewise.
16301 (record_offset): New function.
16302 (init_locale_data): Likewise.
16303 (align_locale_data): Likewise.
16304 (add_locale_empty): Likewise.
16305 (add_locale_raw_data): Likewise.
16306 (add_locale_raw_obstack): Likewise.
16307 (add_locale_string): Likewise.
16308 (add_locale_wstring): Likewise.
16309 (add_locale_uint32): Likewise.
16310 (add_locale_uint32_array): Likewise.
16311 (add_locale_char): Likewise.
16312 (start_locale_structure): Likewise.
16313 (end_locale_structure): Likewise.
16314 (start_locale_prelude): Likewise.
16315 (end_locale_prelude): Likewise.
16316 (write_locale_data): Take locale_file structure rather than an
16318 * locale/programs/locfile.h: Include "obstack.h".
16319 (struct locale_file): Change to store locale file contents instead
16321 (init_locale_data): New prototype.
16322 (align_locale_data): Likewise.
16323 (add_locale_empty): Likewise.
16324 (add_locale_raw_data): Likewise.
16325 (add_locale_raw_obstack): Likewise.
16326 (add_locale_string): Likewise.
16327 (add_locale_wstring): Likewise.
16328 (add_locale_uint32): Likewise.
16329 (add_locale_uint32_array): Likewise.
16330 (add_locale_char): Likewise.
16331 (start_locale_structure): Likewise.
16332 (end_locale_structure): Likewise.
16333 (start_locale_prelude): Likewise.
16334 (end_locale_prelude): Likewise.
16335 (write_locale_data): Update prototype.
16336 * locale/programs/3level.h (struct TABLE): Remove result field.
16337 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
16338 Use new locale_file interface.
16339 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
16340 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
16341 * locale/programs/ld-address.c (address_output): Use new
16342 locale_file interface.
16343 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
16345 (collate_finish): Don't call collseq_table_finalize.
16346 (collate_output): Use new locale_file interface.
16347 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
16349 (NO_FINALIZE): Change to NO_ADD_LOCALE.
16350 (TABLE): Move defines earlier in file.
16351 (ELEMENT): Likewise.
16352 (DEFAULT): Likewise.
16353 (wctrans_table_add): Move macro and inline function earlier in
16355 (struct wctype_table): Move type earlier in file.
16356 (add_locale_wctype_table): New static prototype.
16357 (struct locale_ctype_t): Use logical types instead of struct iovec
16358 pointers for members.
16359 (ctype_output): Use new locale_file interface.
16360 (wctype_table_finalize): Change to add_locale_wctype_table. Use
16361 new locale_file interface.
16362 (allocate_arrays): Update for use of new locale_file interface.
16363 * locale/programs/ld-identification.c (identification_output): Use
16364 new locale_file interface.
16365 * locale/programs/ld-measurement.c (measurement_output): Likewise.
16366 * locale/programs/ld-messages.c (messages_output): Likewise.
16367 * locale/programs/ld-monetary.c (monetary_output): Likewise.
16368 * locale/programs/ld-name.c (name_output): Likewise.
16369 * locale/programs/ld-numeric.c (numeric_output): Likewise.
16370 * locale/programs/ld-paper.c (paper_output): Likewise.
16371 * locale/programs/ld-telephone.c (telephone_output): Likewise.
16372 * locale/programs/ld-time.c (time_output): Likewise.
16374 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16376 * benchtests/Makefile: Add memrchr benchmark.
16377 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
16378 benchmark as memrchr.
16379 * benchtests/bench-memrchr-ifunc.c: New file.
16380 * benchtests/bench-memrchr.c: New file.
16382 2013-09-06 Will Newton <will.newton@linaro.org>
16384 * benchtests/Makefile (string-bench): Add memcpy.
16386 2013-09-05 Carlos O'Donell <carlos@redhat.com>
16387 Cong Wang <amwang@redhat.com>
16390 * sysdeps/unix/sysv/linux/bits/in.h
16391 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
16392 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
16393 before __USE_KERNEL_IPV6_DEFS uses.
16394 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
16396 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
16397 sockaddr_in6, or ipv6_mreq.
16399 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16401 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
16402 memory access for final bytes in some large inputs.
16403 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
16405 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16407 * string/test-memrchr.c: New file.
16408 * string/test-memrchr-ifunc.c: New file.
16409 * string/Makefile: Add new memrchr testcase.
16411 2013-09-05 Mike Frysinger <vapier@gentoo.org>
16413 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
16414 fanotify_init returns EPERM.
16416 2013-09-04 Joseph Myers <joseph@codesourcery.com>
16418 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
16420 (top level): Treat second token from macro or constant entries for
16421 allowed headers as allowed.
16422 * include/complex.h: Condition internal declarations on
16424 * include/fenv.h: Condition include of <stdbool.h> and internal
16425 declarations on [!_ISOMAC].
16427 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
16430 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
16432 2013-09-04 Joseph Myers <joseph@codesourcery.com>
16434 * configure.in (--enable-versioning): Remove configure option.
16435 (libc_cv_asm_symver_directive): Remove configure test.
16436 (libc_cv_ld_version_script_option): Likewise.
16437 (VERSIONING): Remove variable and AC_SUBST.
16438 (DO_VERSIONING): Remove AC_DEFINE.
16439 * configure: Regenerated.
16440 * config.h.in (DO_VERSIONING): Remove macro.
16441 * Makerules [$(versioning) = yes]: Change conditionals to
16442 [$(build-shared) = yes].
16443 * config.make.in (versioning): Remove variable.
16444 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
16445 [$(build-shared) = yes].
16446 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
16447 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
16448 * elf/Makefile [$(versioning) = yes]: Change conditionals to
16449 [$(build-shared) = yes].
16450 * extra-lib.mk [$(versioning) = yes]: Likewise.
16451 * hurd/Makefile [$(versioning) = yes]: Likewise.
16452 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
16454 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
16456 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
16457 [SHARED && !NO_HIDDEN].
16458 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
16460 [SHARED && DO_VERSIONING]: Likewise..
16461 * libio/Makefile [$(versioning) = yes]: Change conditionals to
16462 [$(build-shared) = yes].
16463 * manual/install.texi (--disable-versioning): Remove
16465 * INSTALL: Regenerated.
16466 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
16468 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
16469 [$(build-shared) = yes].
16470 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
16471 * sysdeps/i386/i686/multiarch/strstr-c.c
16472 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
16473 [SHARED && !NO_HIDDEN].
16474 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
16475 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
16476 * sysdeps/powerpc/powerpc32/dl-machine.c
16477 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
16478 * sysdeps/powerpc/powerpc32/sysdep.h
16479 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
16480 to [SHARED && PIC && !NO_HIDDEN].
16481 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
16482 conditional to [SHARED].
16484 2013-09-04 Will Newton <will.newton@linaro.org>
16486 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
16487 * benchtests/bench-string.h: Include bench-timing.h instead
16488 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
16489 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
16490 call to HP_TIMING_DIFF_INIT.
16491 * benchtests/bench-memccpy.c: Use bench-timing.h macros
16492 instead of hp-timing.h macros.
16493 * benchtests/bench-memchr.c: Likewise.
16494 * benchtests/bench-memcmp.c: Likewise.
16495 * benchtests/bench-memcpy.c: Likewise.
16496 * benchtests/bench-memmem.c: Likewise.
16497 * benchtests/bench-memmove.c: Likewise.
16498 * benchtests/bench-memset.c: Likewise.
16499 * benchtests/bench-rawmemchr.c: Likewise.
16500 * benchtests/bench-strcasecmp.c: Likewise.
16501 * benchtests/bench-strcasestr.c: Likewise.
16502 * benchtests/bench-strcat.c: Likewise.
16503 * benchtests/bench-strchr.c: Likewise.
16504 * benchtests/bench-strcmp.c: Likewise.
16505 * benchtests/bench-strcpy.c: Likewise.
16506 * benchtests/bench-strcpy_chk.c: Likewise.
16507 * benchtests/bench-strlen.c: Likewise.
16508 * benchtests/bench-strncasecmp.c: Likewise.
16509 * benchtests/bench-strncat.c: Likewise.
16510 * benchtests/bench-strncmp.c: Likewise.
16511 * benchtests/bench-strncpy.c: Likewise.
16512 * benchtests/bench-strnlen.c: Likewise.
16513 * benchtests/bench-strpbrk.c: Likewise.
16514 * benchtests/bench-strrchr.c: Likewise.
16515 * benchtests/bench-strspn.c: Likewise.
16516 * benchtests/bench-strstr.c: Likewise.
16518 2013-09-04 Will Newton <will.newton@linaro.org>
16520 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
16522 2013-09-03 Joseph Myers <joseph@codesourcery.com>
16525 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
16526 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
16527 * math/libm-test.inc (lgamma_test_data): Add more tests.
16528 * sysdeps/i386/fpu/libm-test-ulps: Update.
16529 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16531 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
16533 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
16534 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
16536 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
16537 Add strcmp-sse2-unaligned
16538 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
16540 2013-09-02 Mike Frysinger <vapier@gentoo.org>
16542 * Versions.def (libc): Add GLIBC_2.19.
16544 2013-09-02 Mike Frysinger <vapier@gentoo.org>
16546 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
16547 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
16549 2013-09-02 Joseph Myers <joseph@codesourcery.com>
16552 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
16553 intermediate calculations in recurrence.
16554 (__ieee754_ynf): Likewise.
16555 * math/libm-test.inc (jn_test_data): Do not allow spurious
16556 underflow exception. Add more tests.
16557 (yn_test_data): Add more tests.
16558 * sysdeps/i386/fpu/libm-test-ulps: Update.
16559 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16561 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
16563 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
16565 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
16567 * csu/init-first.c: Fix then/than typos.
16568 * locale/programs/ld-collate.c: Likewise.
16569 * locale/programs/linereader.h: Likewise.
16570 * manual/charset.texi: Likewise.
16571 * manual/filesys.texi: Likewise.
16572 * manual/stdio.texi: Likewise.
16573 * manual/string.texi: Likewise.
16574 * stdlib/fmtmsg.c: Likewise.
16575 * sysdeps/i386/stpncpy.S: Likewise.
16576 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
16577 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
16578 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
16579 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
16581 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
16583 * elf/dl-open.c: Fix typos.
16584 * iconvdata/gbbig5.c: Likewise.
16585 * iconvdata/iso-2022-jp.c: Likewise.
16586 * iconv/gconv_int.h: Likewise.
16587 * iconv/loop.c: Likewise.
16588 * nis/rpcsvc/nis.h: Likewise.
16589 * resolv/ns_name.c: Likewise.
16590 * stdio-common/vfscanf.c: Likewise.
16591 * streams/stropts.h: Likewise.
16592 * sunrpc/rpc_thread.c: Likewise.
16593 * sysdeps/i386/strpbrk.S: Likewise.
16594 * sysdeps/ieee754/k_standard.c: Likewise.
16595 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
16596 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
16597 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
16598 * sysdeps/mach/hurd/profil.c: Likewise.
16599 * sysdeps/s390/dl-procinfo.h: Likewise.
16600 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
16601 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
16602 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
16603 * sysdeps/x86_64/dl-trampoline.S: Likewise.
16604 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
16606 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
16608 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
16609 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
16611 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
16613 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
16614 aix specific files.
16615 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
16616 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
16617 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
16618 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
16619 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
16620 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
16621 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
16622 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
16624 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
16625 Roland McGrath <roland@hack.frob.com>
16627 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
16628 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
16630 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
16632 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
16633 __executable_start symbol instead of _start.
16635 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
16637 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
16638 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
16640 * sysdeps/gnu/ldsodefs.h: ... this new file.
16642 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
16643 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
16644 instead of ELFOSABI_LINUX.
16646 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
16647 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
16648 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
16649 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
16651 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
16652 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
16653 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
16655 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
16656 (ibm_extended_long_double): Add ieee_nan member.
16657 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
16658 (do_test): New function.
16660 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
16662 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
16663 functions, renamed from truncdfsf_test, trunctfsf_test,
16665 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
16667 (do_test): Run all these.
16669 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
16671 * argp/argp-help.c: Fix typos.
16672 * argp/argp-parse.c: Likewise.
16673 * debug/backtracesyms.c: Likewise.
16674 * elf/elf.h: Likewise.
16675 * malloc/malloc.c: Likewise.
16676 * nis/nis_print.c: Likewise.
16677 * resolv/res_comp.c: Likewise.
16678 * stdlib/stdlib.h: Likewise.
16679 * sunrpc/clnt_tcp.c: Likewise.
16680 * sunrpc/clnt_udp.c: Likewise.
16681 * sunrpc/clnt_unix.c: Likewise.
16682 * sysdeps/unix/bsd/ptsname.c: Likewise.
16683 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
16684 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
16685 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
16687 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
16689 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
16691 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
16693 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16695 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
16696 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
16698 2013-08-27 Mike Frysinger <vapier@gentoo.org>
16701 * dlfcn/Makefile (tests): Add bug-dl-leaf.
16702 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
16703 ($(objpfx)bug-dl-leaf): New rule.
16704 ($(objpfx)bug-dl-leaf.so): Likewise.
16705 ($(objpfx)bug-dl-leaf.out): Likewise.
16706 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
16707 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
16708 * dlfcn/bug-dl-leaf.c: New test.
16709 * dlfcn/bug-dl-leaf-lib.c: Likewise.
16710 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
16711 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
16712 (dlclose): Likewise.
16713 (dlmopen): Likewise.
16715 2013-08-27 Roland McGrath <roland@hack.frob.com>
16717 * include/netdb.h [!_ISOMAC]:
16718 Don't include <tls.h>.
16719 (h_errno, __libc_h_errno): Move declaration and macros out of
16722 * include/resolv.h [_RESOLV_H_]:
16723 Don't include <tls.h>.
16724 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
16725 * resolv/res_libc.c: Don't include <tls.h>.
16726 (_res): Use __attribute__ ((nocommon)) in place of
16727 __attribute__ ((section (".bss"))).
16729 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
16730 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
16732 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
16734 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
16735 only under [SIOCGIFCONF && SIOCGIFNETMASK].
16737 * resolv/res_mkquery.c: Include <sys/time.h>.
16739 * inet/ifreq.c: Moved to ...
16740 * sysdeps/unix/ifreq.c: ... here.
16741 * inet/ifreq.c: New file, true stub version.
16743 * socket/sa_len.c: New file.
16744 * socket/Makefile (aux): Add it.
16745 * sysdeps/unix/sysv/linux/Makefile
16746 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
16747 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
16748 and #include <socket/sa_len.c>.
16749 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
16750 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
16752 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
16753 * bits/socket.h: ... here.
16755 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
16756 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
16757 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
16759 2013-08-27 Andreas Schwab <schwab@suse.de>
16762 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
16763 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
16764 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
16765 * string/test-strcasecmp.c (test_main): Run tests in several
16767 * string/test-strncasecmp.c (test_main): Likewise.
16769 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
16770 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
16771 to __strcasecmp_nonascii and __strncasecmp_nonascii.
16772 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
16773 (__strncasecmp_ssse3) [PIC]: Likewise.
16775 2013-08-26 Roland McGrath <roland@hack.frob.com>
16777 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
16779 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
16780 instead of explicitly declaring xdecrypt.
16781 * nis/nss_nis/nis-publickey.c: Likewise.
16783 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16786 * nscd/aicache.c: Include res_hconf.h.
16787 (addhstaiX): Initialize res_hconf.
16789 2013-08-26 Andreas Schwab <schwab@suse.de>
16791 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
16792 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
16794 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16796 * nscd/aicache.c (addhstaiX): Fix indentation.
16798 2013-08-25 Mike Frysinger <vapier@gentoo.org>
16800 * configure.ac: Quote $build_pt_chown test.
16801 * configure: Regenerated.
16803 2013-08-23 Joseph Myers <joseph@codesourcery.com>
16806 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
16807 * math/s_cexpf.c (__cexpf): Likewise.
16808 * math/s_cexpl.c (__cexpl): Likewise.
16809 * math/libm-test.inc (cexp_test_data): Correct expected return
16810 value for NaN + i0. Add another test.
16812 2013-08-22 David S. Miller <davem@davemloft.net>
16814 * po/ca.po: Update Catalan translation from translation project.
16815 * po/uk.po: Add Ukrainian translations from translation project.
16817 2013-08-21 Joseph Myers <joseph@codesourcery.com>
16820 * math/s_fdim.c (__fdim): Check for infinite arguments if result
16821 is infinite, not alongside NaN test.
16822 * math/s_fdimf.c (__fdimf): Likewise.
16823 * math/s_fdiml.c (__fdiml): Likewise.
16824 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
16825 errno is unchanged.
16827 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
16829 * argp/argp-help.c: Fix typos.
16830 * crypt/speeds.c: Likewise.
16831 * csu/check_fds.c: Likewise.
16832 * elf/dl-load.c: Likewise.
16833 * elf/dl-open.c: Likewise.
16834 * elf/reldep3.c: Likewise.
16835 * elf/reldep.c: Likewise.
16836 * elf/sprof.c: Likewise.
16837 * iconv/iconv_charmap.c: Likewise.
16838 * iconv/skeleton.c: Likewise.
16839 * iconv/strtab.c: Likewise.
16840 * io/lockf64.c: Likewise.
16841 * libio/libioP.h: Likewise.
16842 * resolv/gai_notify.c: Likewise.
16843 * resolv/ns_name.c: Likewise.
16844 * resolv/ns_samedomain.c: Likewise.
16845 * resolv/res_send.c: Likewise.
16846 * stdlib/random.c: Likewise.
16847 * sunrpc/rpc/xdr.h: Likewise.
16848 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
16849 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
16850 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
16851 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
16852 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
16853 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
16854 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
16855 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
16856 * sysdeps/mach/hurd/check_fds.c: Likewise.
16857 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
16858 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
16859 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
16860 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
16861 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
16862 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
16863 * sysdeps/pthread/aio_notify.c: Likewise.
16864 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
16865 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
16866 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
16867 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
16868 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
16870 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16872 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
16873 version if bit_Slow_SSE4_2 is set.
16874 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
16875 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
16877 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16880 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
16881 trampoline stack frame information.
16882 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
16883 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
16884 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
16885 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
16886 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
16887 * sysdeps/unix/sysv/linux/powerpc/init-first.c
16888 (_libc_vdso_platform_setup): Initialize the signal trampolines.
16889 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
16891 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
16892 interrupting a syscall and set with option SA_SIGINFO.
16894 2013-08-20 Joseph Myers <joseph@codesourcery.com>
16897 * math/s_cproj.c (__cproj): Only return an infinity if one part of
16898 argument is infinite.
16899 * math/s_cprojf.c (__cprojf): Likewise.
16900 * math/s_cprojl.c (__cprojl): Likewise.
16901 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
16902 * math/libm-test.inc (cproj_test_data): Add more tests.
16904 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
16906 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
16907 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
16908 size. Use __ffs to determine corresponding shift.
16910 2013-08-20 Joseph Myers <joseph@codesourcery.com>
16911 Roland McGrath <roland@hack.frob.com>
16913 * Makefile (INSTALL): Remove trailing blank lines from output of
16916 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16918 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
16919 Align 32 bit compat elf_greg to 8 bytes.
16921 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
16923 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
16925 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
16927 * string/strcoll_l.c (coll_seq): New structure.
16928 (get_next_seq_cached): New function.
16929 (get_next_seq): New function.
16930 (do_compare): New function.
16931 (STRCOLL): Use GNU style definition. Simplify implementation
16932 by using get_next_seq, get_next_seq_cached and do_compare.
16934 2013-08-16 Florian Weimer <fweimer@redhat.com>
16938 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
16940 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
16942 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
16943 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
16944 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
16946 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
16947 GETDENTS_64BIT_ALIGNED.
16948 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
16949 * manual/filesys.texi (Reading/Closing Directory): Document
16950 ENAMETOOLONG return value of readdir_r. Recommend readdir more
16952 * manual/conf.texi (Limits for Files): Add portability note to
16953 NAME_MAX, PATH_MAX.
16954 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
16956 2013-08-13 Andreas Schwab <schwab@suse.de>
16959 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
16961 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
16962 LDBL_MAX_EXP >= 16384]: Add tests for it.
16964 2013-08-12 David S. Miller <davem@davemloft.net>
16966 * version.h (RELEASE): Set to "development".
16967 (VERSION): Set to "2.18.90".
16968 * NEWS: Add 2.19 section.
16970 2013-08-03 David S. Miller <davem@davemloft.net>
16972 * po/ko.po: Update Korean translation from translation project.
16974 2013-08-01 David S. Miller <davem@davemloft.net>
16976 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
16977 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
16980 2013-07-30 David S. Miller <davem@davemloft.net>
16982 * po/fr.po: Update French translation from translation project.
16984 2013-07-28 David S. Miller <davem@davemloft.net>
16986 * po/cs.po: Update Czech translation from translation project.
16988 * po/sv.po: Update Swedish translation from translation project.
16990 2013-07-27 David S. Miller <davem@davemloft.net>
16992 * po/eo.po: Update Esperanto translation from translation project.
16994 * po/vi.po: Update Vietnamese translation from translation project.
16996 * po/de.po: Update German translation from translation project.
16998 2013-07-26 David S. Miller <davem@davemloft.net>
17000 * po/bg.po: Update Bulgarian translation from translation project.
17002 * po/nl.po: Update Dutch translation from translation project.
17003 * po/pl.po: Update Polish translation from translation project.
17004 * po/ru.po: Update Russian translation from translation project.
17006 2013-07-24 David S. Miller <davem@davemloft.net>
17008 * po/libc.pot: Update.
17010 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17012 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
17013 variable page size.
17014 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
17015 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
17016 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
17018 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17020 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
17022 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17023 Andreas Schwab <schwab@suse.de>
17024 Roland McGrath <roland@hack.frob.com>
17025 Joseph Myers <joseph@codesourcery.com>
17026 Carlos O'Donell <carlos@redhat.com>
17029 * config.h.in: Define HAVE_PT_CHOWN.
17030 * config.make.in (build-pt-chown): New variable.
17031 * configure.in (--enable-pt_chown): New configure option.
17032 * configure: Regenerate.
17033 * login/Makefile: Include Makeconfig. Build pt_chown only if
17034 build-pt-chown is enabled.
17035 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
17036 pt_chown to fix pty ownership.
17037 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
17039 * manual/install.texi (Configuring and compiling): Mention
17040 --enable-pt_chown. Add @findex for grantpt.
17041 * INSTALL: Regenerate.
17043 2013-07-20 David S. Miller <davem@davemloft.net>
17045 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
17046 difference between 32-bit and 64-bit.
17048 2013-07-15 Carlos O'Donell <carlos@redhat.com>
17051 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
17052 Avoid system header dependency with -ffreestanding.
17053 ($(objpfx)bits/syscall%d): Likewise.
17055 2013-07-13 David S. Miller <davem@davemloft.net>
17057 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
17058 underflows from atanl/atan2l due to bug 15319.
17059 (casinh_test_data): Likewise.
17061 2013-07-07 David S. Miller <davem@davemloft.net>
17063 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
17065 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
17067 * sysdeps/i386/fpu/libm-test-ulps: Update.
17068 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17070 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
17072 * configure.in (--enable-lock-elision): Fix message text.
17073 * INSTALL: Regenerate.
17074 * configure: Regenerate.
17076 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17078 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17080 2013-07-03 Andreas Jaeger <aj@suse.de>
17082 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
17084 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
17085 (ptrace_peeksiginfo_args): Add.
17086 (__ptrace_peeksiginfo_flags): Add.
17087 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
17088 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
17089 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
17091 2013-07-03 Allan McRae <allan@archlinux.org>
17093 * sysdeps/i386/fpu/libm-test-ulps: Update.
17095 2013-07-02 David S. Miller <davem@davemloft.net>
17097 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17099 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
17101 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17103 2013-07-02 Joseph Myers <joseph@codesourcery.com>
17105 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
17106 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17108 2013-07-02 Andi Kleen <ak@linux.intel.com>
17110 * config.h.in (ENABLE_LOCK_ELISION): Add.
17111 * configure.in (--enable-lock-elision): Add option.
17112 * manual/install.texi: Document --enable lock elision.
17113 * configure: Regenerate
17114 * INSTALL: Regenerate.
17116 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
17118 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
17119 SSE4.2 strcasecmp for libc.a.
17120 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
17122 2013-07-02 Joseph Myers <joseph@codesourcery.com>
17125 * soft-fp/op-common.h (_FP_FMA): New macro.
17126 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
17127 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
17128 (_FP_MUL_MEAT_1_imm): ... here.
17129 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
17130 (_FP_MUL_MEAT_1_wide): ... here.
17131 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
17132 (_FP_MUL_MEAT_1_hard): ... here.
17133 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
17134 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
17135 (_FP_MUL_MEAT_2_wide): ... here.
17136 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
17137 (_FP_MUL_MEAT_2_wide_3mul): ... here.
17138 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
17139 (_FP_MUL_MEAT_2_gmp): ... here.
17140 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
17141 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
17142 (_FP_MUL_MEAT_4_wide): ... here.
17143 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
17144 (_FP_MUL_MEAT_4_gmp): ... here.
17145 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
17146 (_FP_WFRACBITS_DW_S): Likewise.
17147 (_FP_WFRACXBITS_DW_S): Likewise.
17148 (_FP_HIGHBIT_DW_S): Likewise.
17149 (FP_FMA_S): Likewise.
17150 (_FP_FRAC_HIGH_DW_S): Likewise.
17151 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
17152 (_FP_WFRACBITS_DW_D): Likewise.
17153 (_FP_WFRACXBITS_DW_D): Likewise.
17154 (_FP_HIGHBIT_DW_D): Likewise.
17155 (FP_FMA_D): Likewise.
17156 (_FP_FRAC_HIGH_DW_D): Likewise.
17157 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
17158 (_FP_WFRACBITS_DW_E): Likewise.
17159 (_FP_WFRACXBITS_DW_E): Likewise.
17160 (_FP_HIGHBIT_DW_E): Likewise.
17161 (FP_FMA_E): Likewise.
17162 (_FP_FRAC_HIGH_DW_E): Likewise.
17163 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
17164 (_FP_WFRACBITS_DW_Q): Likewise.
17165 (_FP_WFRACXBITS_DW_Q): Likewise.
17166 (_FP_HIGHBIT_DW_Q): Likewise.
17167 (FP_FMA_Q): Likewise.
17168 (_FP_FRAC_HIGH_DW_Q): Likewise.
17169 * soft-fp/fmasf4.c: New file.
17170 * soft-fp/fmadf4.c: Likewise.
17171 * soft-fp/fmatf4.c: Likewise.
17173 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17175 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
17176 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
17178 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
17180 (index_Slow_SSE4_2): Likewise.
17181 (index_Prefer_PMINUB_for_stringop): Likewise.
17182 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
17183 bit_Slow_SSE4_2 is set.
17184 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
17185 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
17187 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17189 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
17190 rtld_global._dl_hwcap2.
17191 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
17193 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
17194 POWER8 feature descriptions defined in _dl_hwcap2.
17195 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
17196 string handling for POWER8 feature bits.
17197 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
17198 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
17199 _dl_powerpc_cap_flags.
17200 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
17201 * sysdeps/powerpc/rtld-global-offsets.sym
17202 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
17203 _dl_hwcap2 in the rtld_global_ro structure.
17205 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17207 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
17208 hardware capabilities in support of AT_HWCAP2.
17209 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
17210 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
17212 (_dl_show_auxv): Add support for calling _dl_procinfo to display
17213 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
17214 explicitly the unknown a_type display mechanism is used.
17215 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
17216 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
17218 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
17219 to macro prototype for AT_HWCAP2 support.
17220 * sysdeps/i386/dl-procinfo.h: Likewise.
17221 * sysdeps/s390/dl-procinfo.h: Likewise.
17222 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
17223 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
17224 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
17225 return -1 for unknown a_type display fallback.
17226 * sysdeps/sparc/dl-procinfo.h: Likewise.
17227 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
17228 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
17230 2013-06-28 Joseph Myers <joseph@codesourcery.com>
17232 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
17233 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
17235 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
17238 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
17239 mprotect making __stack_prot writable.
17241 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
17242 Joseph Myers <joseph@codesourcery.com>
17244 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
17245 as being properly aligned.
17247 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
17249 * dlfcn/modstatic5.c: New file.
17250 * dlfcn/tststatic5.c: New file.
17251 * dlfcn/Makefile (tests): Add tststatic5.
17252 (tests-static): Likewise.
17253 (modules-names): Add modstatic5.
17254 (tststatic5-ENV): New variable.
17255 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
17258 * elf/dl-support.c (_dl_main_map): New variable.
17259 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
17260 (_dl_nns, _dl_load_adds): Set to 1.
17261 (_dl_initial_searchlist): Refer to _dl_main_map.
17262 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
17263 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
17264 call to _dl_get_origin.
17265 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
17267 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
17268 * dlfcn/modstatic3.c: New file.
17269 * dlfcn/tststatic3.c: New file.
17270 * dlfcn/tststatic4.c: New file.
17271 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
17272 (tests-static): Likewise.
17273 (modules-names): Add modstatic3.
17274 (tststatic3-ENV, tststatic4-ENV): New variables.
17275 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
17276 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
17278 2013-06-26 Joseph Myers <joseph@codesourcery.com>
17280 * configure.in (CC): Require GCC version 4.4 or later.
17281 * configure: Regenerated.
17282 * manual/install.texi (Tools for Compilation): Update GCC version
17284 * INSTALL: Regenerated.
17286 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17289 * string/test-memcmp.c (check2): New.
17290 (main): Call check2.
17292 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
17294 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
17297 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
17299 (dl_open_worker) [!SHARED]: ... here.
17301 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17303 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
17305 2013-06-25 Richard Henderson <rth@redhat.com>
17307 * locale/programs/locarchive.c: Include <libc-internal.h>
17309 2013-06-25 Joseph Myers <joseph@codesourcery.com>
17311 * manual/texinfo.tex: Update to version 2013-06-21.17, with
17312 trailing whitespace removed.
17314 2013-06-24 Mike Frysinger <vapier@gentoo.org>
17317 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
17318 * locale/programs/locarchive.c: Include libc-mmap.h.
17319 (prepare_address_space): Take two new outputs (the mmap base and len).
17320 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
17322 (create_archive): Declare new mmap base and len values for
17323 prepare_address_space, and store the result in ah.
17324 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
17325 (enlarge_archive): If ah->mmap_base is not NULL, use that and
17326 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
17327 Declare new mmap base and len values for
17328 prepare_address_space, and store the result in new_ah.
17329 (open_archive): Declare new mmap base and len values for
17330 prepare_address_space, and store the result in ah.
17331 (close_archive): If ah->mmap_base is not NULL, use that and
17332 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
17333 * sysdeps/generic/libc-mmap.h: New file.
17335 2013-06-24 Mike Frysinger <vapier@gentoo.org>
17337 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
17338 (ALIGN_UP): Likewise.
17339 (PTR_ALIGN_DOWN): Likewise.
17340 (PTR_ALIGN_UP): Likewise.
17342 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17344 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
17345 entry mapped to PPC_PLATFORM_POWER8.
17346 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
17348 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
17349 (_dl_string_platform): Add case for exporting platform position for
17351 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
17352 search path to sysdeps/powerpc/powerpc32/power8 directory.
17353 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
17354 search path to sysdeps/powerpc/powerpc64/power8 directory.
17355 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
17356 power7 directories.
17357 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
17358 power7 directories.
17360 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
17362 * INSTALL: Regenerate.
17364 * nscd/connections.c (nscd_init): Fix comment.
17366 2013-06-22 Joseph Myers <joseph@codesourcery.com>
17368 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
17371 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
17372 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
17374 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
17376 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
17378 (DL_DST_REQ_STATIC): Remove macro.
17380 2013-06-21 Joseph Myers <joseph@codesourcery.com>
17383 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
17384 with a shift of 0 bits.
17386 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
17388 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
17391 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17394 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
17396 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17398 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
17399 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
17400 accepts -fno-tree-loop-distribute-patterns.
17401 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
17402 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
17404 * string/memset.c (memset): Likewise.
17405 * string/test-memmove.c (simple_memmove): Disable loop transformation
17407 * string/test-memset.c (simple_memset): Likewise.
17408 * benchtests/bench-memmove.c (simple_memmove): Likewise.
17409 * benchtests/bench-memset.c (simple_memset): Likewise.
17410 * configure: Regenerated.
17412 2013-06-20 Joseph Myers <joseph@codesourcery.com>
17414 * math/test-misc.c (main): Ignore fesetround failure when failures
17415 of subsequent rounding tests would be ignored.
17418 * math/fedisblxcpt.c (fedisableexcept): Return 0.
17419 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
17420 * math/fegetenv.c (__fegetenv): Return 0.
17421 * math/fegetexcept.c (fegetexcept): Return 0.
17422 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
17424 * math/feholdexcpt.c (feholdexcept): Return 0.
17425 * math/fesetenv.c (__fesetenv): Return 0.
17426 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
17427 argument FE_TONEAREST.
17428 * math/feupdateenv.c (__feupdateenv): Return 0.
17429 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
17431 2013-06-18 Roland McGrath <roland@hack.frob.com>
17433 * elf/rtld-Rules (rtld-compile-command.S): New variable.
17434 (rtld-compile-command.s, rtld-compile-command.c): New variables.
17435 ($(objpfx)rtld-%.os rules): Use them.
17437 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17439 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
17442 2013-06-17 Roland McGrath <roland@hack.frob.com>
17444 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
17445 length of target pattern, then descending length of dependency pattern.
17446 * configure.in (AWK): Require gawk 3.1.2 or newer.
17447 * manual/install.texi (Tools for Compilation): Say that we do.
17448 * configure: Regenerated.
17450 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
17451 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
17452 * scripts/sysd-rules.awk: ... this new script.
17453 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
17454 than a glob-style pattern.
17456 2013-06-17 Joseph Myers <joseph@codesourcery.com>
17458 * math/test-misc.c (main): Do not treat incorrectly rounded
17459 conversions as failure unless ROUNDING_TESTS passes.
17461 2013-06-15 Joseph Myers <joseph@codesourcery.com>
17464 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
17465 restore exception state around main square root computation, then
17466 check for inexactness explicitly.
17468 * math/libm-test.inc (fma_test_data): Add another test.
17470 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
17472 * manual/threads.texi (Non-POSIX Extensions): New document
17473 node. Document pthread_getattr_default_np and
17474 pthread_setattr_default_np.
17476 * Versions.def (libpthread): Add GLIBC_2.18.
17477 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
17478 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
17480 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
17482 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
17484 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
17486 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
17488 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
17490 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
17492 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
17494 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
17497 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17499 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17500 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
17502 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
17503 H.J. Lu <hjl.tools@gmail.com>
17506 * sysdeps/x86_64/rtld-memset.c: Remove file.
17507 * sysdeps/x86_64/rtld-memset.S: New file.
17509 2013-06-14 Joseph Myers <joseph@codesourcery.com>
17511 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
17512 (test_in_one_mode): Take arguments for whether the rounding mode
17513 is supported for each floating-point type.
17514 (do_test): Pass new arguments to test_in_one_mode using
17517 2013-06-13 Roland McGrath <roland@hack.frob.com>
17519 * posix/tst-waitid.c (do_test): Distinguish different instances of
17520 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
17521 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
17522 before entering the kernel for waitpid.
17524 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
17526 * NEWS: Fix note on clock function precision. Text by Roland
17529 2013-06-13 Roland McGrath <roland@hack.frob.com>
17531 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
17532 it into place only when and if the sanity check passes.
17534 2013-06-13 Joseph Myers <joseph@codesourcery.com>
17536 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
17537 output for whether conversion result is exact. Take argument
17538 indicating whether type is IBM long double.
17539 (round_for_all): Change need_exact field to ibm_ld.
17540 * stdlib/tst-strtod-round.c (struct exactness): New type.
17541 (struct test): Change bool ld_ok field to struct exactness exact.
17542 (TEST): Update all definitions for change to field.
17543 (tests): Regenerate array contents.
17544 (test_in_one_mode): Take pointer to new field instead of old ld_ok
17545 field value. Check for IBM long double here.
17546 (do_test): Update calls to test_in_one_mode.
17548 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
17551 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
17552 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
17554 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17557 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
17558 generated by the compiler on loop optimizations.
17559 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
17560 general definitions.
17562 2013-06-12 Joseph Myers <joseph@codesourcery.com>
17564 * math/bug-nextafter.c: Include <math-tests.h>.
17565 (main): Only test for exceptions if EXCEPTION_TESTS is true for
17567 * math/bug-nexttoward.c: Include <math-tests.h>.
17568 (main): Only test for exceptions if EXCEPTION_TESTS is true for
17570 * math/test-misc.c: Include <math-tests.h>.
17571 (main): Only test for exceptions if EXCEPTION_TESTS is true for
17574 2013-06-12 Andreas Jaeger <aj@suse.de>
17576 * po/ia.po: Update Interlingua translation from translation
17579 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
17581 * include/fenv.h: Include stdbool.h.
17582 (struct rm_ctx): New structure.
17583 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
17585 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
17586 (SET_RESTORE_ROUNDF): Likewise.
17587 (SET_RESTORE_ROUNDL): Likewise.
17588 (SET_RESTORE_ROUND_NOEX): Likewise.
17589 (SET_RESTORE_ROUND_NOEXF): Likewise.
17590 (SET_RESTORE_ROUND_NOEXL): Likewise.
17591 (SET_RESTORE_ROUND_53BIT): Likewise.
17592 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
17593 (libc_feresetround_noexf_ctx): Likewise.
17594 (libc_feresetround_noexl_ctx): Likewise.
17595 (libc_feholdsetround_53bit_ctx): Likewise.
17596 (libc_feresetround_53bit_ctx): Likewise.
17597 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
17598 (libc_feholdexcept_setround_sse_ctx): New function.
17599 (libc_fesetenv_sse_ctx): Likewise.
17600 (libc_feupdateenv_sse_ctx): Likewise.
17601 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
17602 (libc_feholdexcept_setround_387_ctx): Likewise.
17603 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
17604 (libc_feholdsetround_387_prec_ctx): Likewise.
17605 (libc_feholdsetround_387_ctx): Likewise.
17606 (libc_feholdsetround_387_53bit_ctx): Likewise.
17607 (libc_feholdsetround_sse_ctx): Likewise.
17608 (libc_feresetround_sse_ctx): Likewise.
17609 (libc_feresetround_387_ctx): Likewise.
17610 (libc_feupdateenv_387_ctx): Likewise.
17611 (libc_feholdexcept_setroundf_ctx): Define macro.
17612 (libc_fesetenvf_ctx): Likewise.
17613 (libc_feupdateenvf_ctx): Likewise.
17614 (libc_feholdsetroundf_ctx): Likewise.
17615 (libc_feresetroundf_ctx): Likewise.
17616 (libc_feholdexcept_setround_ctx): Likewise.
17617 (libc_fesetenv_ctx): Likewise.
17618 (libc_feupdateenv_ctx): Likewise.
17619 (libc_feholdsetround_ctx): Likewise.
17620 (libc_feresetround_ctx): Likewise.
17621 (libc_feholdexcept_setroundl_ctx): Likewise.
17622 (libc_feupdateenvl_ctx): Likewise.
17623 (libc_feholdsetroundl_ctx): Likewise.
17624 (libc_feresetroundl_ctx): Likewise.
17625 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
17626 (libc_feresetround_53bit_ctx): Likewise.
17628 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
17630 * locale/iso-639.def: Convert to UTF-8.
17632 2013-06-11 Joseph Myers <joseph@codesourcery.com>
17634 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
17635 (EXCEPTION_TESTS_double): Likewise.
17636 (EXCEPTION_TESTS_long_double): Likewise.
17637 (EXCEPTION_TESTS): Likewise.
17638 * math/libm-test.inc (test_exceptions): Only test exceptions if
17639 EXCEPTION_TESTS (FLOAT).
17641 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
17643 * benchtests/Makefile (string-bench): Add strcpy_chk and
17645 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
17646 * benchtests/bench-stpcpy_chk.c: New file.
17647 * benchtests/bench-strcpy_chk-ifunc.c: New file.
17648 * benchtests/bench-strcpy_chk.c: New file.
17649 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
17651 (do_test): Likewise.
17653 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17655 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
17656 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
17657 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
17658 with tabs where appropriate.
17659 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
17661 [PPC_PLATFORM_PPC440]: Likewise.
17662 [PPC_PLATFORM_PPC464]: Likewise.
17663 [PPC_PLATFORM_PPC476]: Likewise.
17664 (_dl_string_platform): Add support for detecting ppc405, ppc440,
17665 ppc464, and ppc476 platform strings merging from ports/
17668 2013-06-11 Andreas Schwab <schwab@suse.de>
17671 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
17672 (from_ucs4_idx): Regenerate.
17673 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
17674 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
17675 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
17676 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
17677 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
17678 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
17679 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
17680 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
17681 from FROM_LOOP and TO_LOOP specific macros.
17682 (BODY): Handle combining characters.
17683 * iconvdata/BIG5HKSCS.irreversible: Update.
17684 * iconvdata/BIG5HKSCS.precomposed: New file.
17685 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
17687 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
17689 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
17691 * include/sys/time.h: Fix indentation and add copyright header.
17693 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
17694 (do_test): Likewise.
17695 * string/test-memchr.c (do_one_test): Likewise.
17696 (do_test): Likewise.
17697 * string/test-memcmp.c (do_one_test): Likewise.
17698 (do_test): Likewise.
17699 * string/test-memcpy.c (do_one_test): Likewise.
17700 (do_test): Likewise.
17701 * string/test-memmem.c (do_one_test): Likewise.
17702 (do_test): Likewise.
17703 (do_random_tests): Likewise.
17704 * string/test-memmove.c (do_one_test): Likewise.
17705 (do_test): Likewise.
17706 * string/test-memset.c (do_one_test): Likewise.
17707 (do_test): Likewise.
17708 * string/test-rawmemchr.c (do_one_test): Likewise.
17709 (do_test): Likewise.
17710 * string/test-strcasecmp.c (do_one_test): Likewise.
17711 (do_test): Likewise.
17712 * string/test-strcasestr.c (do_one_test): Likewise.
17713 (do_test): Likewise.
17714 * string/test-strcat.c (do_one_test): Likewise.
17715 (do_test): Likewise.
17716 * string/test-strchr.c (do_one_test): Likewise.
17717 (do_test): Likewise.
17718 * string/test-strcmp.c (do_one_test): Likewise.
17719 (do_test): Likewise.
17720 * string/test-strcpy.c (do_one_test): Likewise.
17721 (do_test): Likewise.
17722 * string/test-string.h: Likewise.
17723 (test_init): Likewise.
17724 * string/test-strlen.c (do_one_test): Likewise.
17725 (do_test): Likewise.
17726 * string/test-strncasecmp.c (do_one_test): Likewise.
17727 (do_test): Likewise.
17728 * string/test-strncat.c (do_one_test): Likewise.
17729 (do_test): Likewise.
17730 * string/test-strncmp.c (do_one_test): Likewise.
17731 (do_test_limit): Likewise.
17732 (do_test): Likewise.
17733 * string/test-strncpy.c (do_one_test): Likewise.
17734 (do_test): Likewise.
17735 * string/test-strnlen.c (do_one_test): Likewise.
17736 (do_test): Likewise.
17737 * string/test-strpbrk.c (do_one_test): Likewise.
17738 (do_test): Likewise.
17739 * string/test-strrchr.c (do_one_test): Likewise.
17740 (do_test): Likewise.
17741 * string/test-strspn.c (do_one_test): Likewise.
17742 (do_test): Likewise.
17743 * string/test-strstr.c (do_one_test): Likewise.
17744 (do_test): Likewise.
17746 * benchtests/Makefile (string-bench): Add string benchmarks.
17747 * benchtests/bench-bcopy-ifunc.c: New file.
17748 * benchtests/bench-bcopy.c: New file.
17749 * benchtests/bench-bzero-ifunc.c: New file.
17750 * benchtests/bench-bzero.c: New file.
17751 * benchtests/bench-memccpy-ifunc.c: New file.
17752 * benchtests/bench-memccpy.c: New file.
17753 * benchtests/bench-memchr-ifunc.c: New file.
17754 * benchtests/bench-memchr.c: New file.
17755 * benchtests/bench-memcmp-ifunc.c: New file.
17756 * benchtests/bench-memcmp.c: New file.
17757 * benchtests/bench-memmem-ifunc.c: New file.
17758 * benchtests/bench-memmem.c: New file.
17759 * benchtests/bench-memmove-ifunc.c: New file.
17760 * benchtests/bench-memmove.c: New file.
17761 * benchtests/bench-mempcpy-ifunc.c: New file.
17762 * benchtests/bench-mempcpy.c: New file.
17763 * benchtests/bench-memset-ifunc.c: New file.
17764 * benchtests/bench-memset.c: New file.
17765 * benchtests/bench-rawmemchr-ifunc.c: New file.
17766 * benchtests/bench-rawmemchr.c: New file.
17767 * benchtests/bench-stpcpy-ifunc.c: New file.
17768 * benchtests/bench-stpcpy.c: New file.
17769 * benchtests/bench-stpncpy-ifunc.c: New file.
17770 * benchtests/bench-stpncpy.c: New file.
17771 * benchtests/bench-strcasecmp-ifunc.c: New file.
17772 * benchtests/bench-strcasecmp.c: New file.
17773 * benchtests/bench-strcasestr-ifunc.c: New file.
17774 * benchtests/bench-strcasestr.c: New file.
17775 * benchtests/bench-strcat-ifunc.c: New file.
17776 * benchtests/bench-strcat.c: New file.
17777 * benchtests/bench-strchr-ifunc.c: New file.
17778 * benchtests/bench-strchr.c: New file.
17779 * benchtests/bench-strchrnul-ifunc.c: New file.
17780 * benchtests/bench-strchrnul.c: New file.
17781 * benchtests/bench-strcmp-ifunc.c: New file.
17782 * benchtests/bench-strcmp.c: New file.
17783 * benchtests/bench-strcpy-ifunc.c: New file.
17784 * benchtests/bench-strcpy.c: New file.
17785 * benchtests/bench-strcspn-ifunc.c: New file.
17786 * benchtests/bench-strcspn.c: New file.
17787 * benchtests/bench-strlen-ifunc.c: New file.
17788 * benchtests/bench-strlen.c: New file.
17789 * benchtests/bench-strncasecmp-ifunc.c: New file.
17790 * benchtests/bench-strncasecmp.c: New file.
17791 * benchtests/bench-strncat-ifunc.c: New file.
17792 * benchtests/bench-strncat.c: New file.
17793 * benchtests/bench-strncmp-ifunc.c: New file.
17794 * benchtests/bench-strncmp.c: New file.
17795 * benchtests/bench-strncpy-ifunc.c: New file.
17796 * benchtests/bench-strncpy.c: New file.
17797 * benchtests/bench-strnlen-ifunc.c: New file.
17798 * benchtests/bench-strnlen.c: New file.
17799 * benchtests/bench-strpbrk-ifunc.c: New file.
17800 * benchtests/bench-strpbrk.c: New file.
17801 * benchtests/bench-strrchr-ifunc.c: New file.
17802 * benchtests/bench-strrchr.c: New file.
17803 * benchtests/bench-strspn-ifunc.c: New file.
17804 * benchtests/bench-strspn.c: New file.
17805 * benchtests/bench-strstr-ifunc.c: New file.
17806 * benchtests/bench-strstr.c: New file.
17808 * benchtests/Makefile: Disable parallel execution of targets.
17809 (string-bench): Add memcpy.
17810 (benchset): New variable to store a list of benchmark sets.
17811 (bench-func): Renamed from bench.
17812 (bench-set): New target.
17813 (bench): Depend on bench-func and bench-set.
17814 * benchtests/README: Add section on benchmark sets.
17815 * benchtests/bench-memcpy-ifunc.c: New file.
17816 * benchtests/bench-memcpy.c: New file.
17817 * benchtests/bench-string.h: New file.
17819 2013-06-11 Andreas Schwab <schwab@suse.de>
17822 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
17823 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
17824 values in the triple.
17825 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
17826 terminator in the group key.
17828 2013-06-11 Andreas Jaeger <aj@suse.de>
17830 * po/zh_TW.po: Update Chinese (traditional) translation from
17831 translation project.
17833 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
17835 * include/time.h (__clock_gettime): Add libc_hidden_proto.
17836 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
17837 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
17838 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
17839 (clock_getcpuclockid): Likewise.
17840 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
17841 Add weak_alias and libc_hidden_def.
17842 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
17843 * rt/clock_gettime.c (clock_gettime): Rename to
17844 __clock_gettime. Add weak_alias and libc_hidden_def.
17845 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
17846 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
17847 __clock_nanosleep. Add weak_alias and libc_hidden_def.
17848 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
17849 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
17851 * rt/clock_settime.c (clock_settime): Rename to
17852 __clock_settime. Add weak_alias and libc_hidden_def.
17853 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
17855 2013-06-10 Joseph Myers <joseph@codesourcery.com>
17857 * mach/err_boot.sub: Remove trailing whitespace.
17858 * mach/err_ipc.sub: Likewise.
17859 * mach/err_mach.sub: Likewise.
17861 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
17862 (ROUNDING_TESTS_double): Likewise.
17863 (ROUNDING_TESTS_long_double): Likewise.
17864 (ROUNDING_TESTS): Likewise.
17865 * math/libm-test.inc: Include <math-tests.h>.
17866 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
17867 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
17868 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
17869 (IF_ROUND_INIT_FE_UPWARD): Likewise.
17871 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
17873 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
17876 2013-06-08 Joseph Myers <joseph@codesourcery.com>
17878 * sysdeps/gnu/errlist.awk: Do not generate space at end of
17879 otherwise empty TRANS lines.
17880 * sysdeps/gnu/errlist.c: Regenerated.
17882 * catgets/gencat.c (error_print): Use (void) in function
17884 * crypt/crypt_util.c (__init_des): Likewise.
17885 * crypt/speeds.c (Stop): Likewise.
17887 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
17888 * inet/ruserpass.c (token): Likewise.
17889 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
17890 * intl/localealias.c (extend_alias_table): Likewise.
17891 * intl/plural-exp.c (init_germanic_plural): Likewise.
17892 * libio/fcloseall.c (__fcloseall): Likewise.
17893 * libio/genops.c (_IO_flush_all): Likewise.
17894 (_IO_flush_all_linebuffered): Likewise.
17895 (_IO_cleanup): Likewise.
17896 (_IO_iter_begin): Likewise.
17897 (_IO_iter_end): Likewise.
17898 (_IO_list_lock): Likewise.
17899 (_IO_list_unlock): Likewise.
17900 (_IO_list_resetlock): Likewise.
17901 * libio/getchar.c (getchar): Likewise.
17902 * libio/getchar_u.c (getchar_unlocked): Likewise.
17903 * libio/getwchar.c (getwchar): Likewise.
17904 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
17905 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
17906 * login/getpt.c (__getpt): Likewise.
17907 * login/tst-utmp.c (main): Likewise.
17908 * malloc/hooks.c (__malloc_check_init): Likewise.
17909 * malloc/malloc.c (__malloc_stats): Likewise.
17910 * malloc/mtrace.c (tr_break): Likewise.
17911 (mtrace): Likewise.
17912 (muntrace): Likewise.
17913 * misc/fstab.c (endfsent): Likewise.
17914 * misc/getclktck.c (__getclktck): Likewise.
17915 * misc/getdtsz.c (__getdtablesize): Likewise.
17916 * misc/gethostid.c (gethostid): Likewise.
17917 * misc/getpagesize.c (__getpagesize): Likewise.
17918 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
17919 (__get_nprocs): Likewise.
17920 (__get_phys_pages): Likewise.
17921 (__get_avphys_pages): Likewise.
17922 * misc/getttyent.c (getttyent): Likewise.
17923 (setttyent): Likewise.
17924 (endttyent): Likewise.
17925 * misc/getusershell.c (getusershell): Likewise.
17926 (endusershell): Likewise.
17927 (setusershell): Likewise.
17928 (initshells): Likewise.
17929 * misc/hsearch.c (__hdestroy): Likewise.
17930 * misc/sync.c (sync): Likewise.
17931 * misc/syslog.c (closelog_internal): Likewise.
17932 (closelog): Likewise.
17933 * misc/ttyslot.c (ttyslot): Likewise.
17934 * misc/vhangup.c (vhangup): Likewise.
17935 * posix/fork.c (__fork): Likewise.
17936 * posix/getegid.c (__getegid): Likewise.
17937 * posix/geteuid.c (__geteuid): Likewise.
17938 * posix/getgid.c (__getgid): Likewise.
17939 * posix/getpid.c (__getpid): Likewise.
17940 * posix/getppid.c (__getppid): Likewise.
17941 * posix/getuid.c (__getuid): Likewise.
17942 * posix/pause.c (pause): Likewise.
17943 * posix/setpgrp.c (setpgrp): Likewise.
17944 * posix/setsid.c (__setsid): Likewise.
17945 * posix/test-vfork.c (noop): Likewise.
17946 * resolv/gethnamaddr.c (_endhtent): Likewise.
17947 (_gethtent): Likewise.
17948 (ht_endhostent): Likewise.
17949 (gethostent): Likewise.
17950 (dns_service): Likewise.
17951 * stdlib/drand48.c (drand48): Likewise.
17952 * stdlib/lrand48.c (lrand48): Likewise.
17953 * stdlib/mrand48.c (mrand48): Likewise.
17954 * stdlib/rand.c (rand): Likewise.
17955 * stdlib/random.c (__random): Likewise.
17956 * stdlib/setenv.c (clearenv): Likewise.
17957 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
17958 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
17959 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
17960 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
17961 (__get_nprocs): Likewise.
17962 (__get_phys_pages): Likewise.
17963 (__get_avphys_pages): Likewise.
17964 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
17965 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
17966 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
17967 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
17968 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
17969 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
17970 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
17971 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
17972 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
17973 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
17974 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
17975 * sysdeps/mach/hurd/sync.c (sync): Likewise.
17976 * sysdeps/posix/clock.c (clock): Likewise.
17977 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
17978 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
17979 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
17980 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
17981 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
17982 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
17983 (__get_nprocs_conf): Likewise.
17984 (__get_phys_pages): Likewise.
17985 (__get_avphys_pages): Likewise.
17986 * time/clock.c (clock): Likewise.
17987 * time/tzset.c (__tzname_max): Likewise.
17989 2013-06-07 Joseph Myers <joseph@codesourcery.com>
17991 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
17992 (__bswap_32): Do not use "register".
17993 * crypt/crypt.c (_ufc_doit_r): Likewise.
17994 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
17995 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
17996 * gmon/gmon.c (__monstartup): Likewise.
17997 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
17998 * hurd/hurdmalloc.c (more_memory): Likewise.
17999 (malloc): Likewise.
18001 (realloc): Likewise.
18002 (malloc_fork_prepare): Likewise.
18003 (malloc_fork_parent): Likewise.
18004 (malloc_fork_child): Likewise.
18005 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
18006 (_svcauth_des): Likewise.
18007 * inet/inet_lnaof.c (inet_lnaof): Likewise.
18008 * inet/inet_net.c (inet_network): Likewise.
18009 * inet/inet_netof.c (inet_netof): Likewise.
18010 * inet/rcmd.c (__validuser2_sa): Likewise.
18011 * io/fts.c (fts_open): Likewise.
18012 (fts_load): Likewise.
18013 (fts_close): Likewise.
18014 (fts_read): Likewise.
18015 (fts_children): Likewise.
18016 (fts_build): Likewise.
18017 (fts_stat): Likewise.
18018 (fts_sort): Likewise.
18019 (fts_alloc): Likewise.
18020 (fts_lfree): Likewise.
18021 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
18022 (_IO_file_xsgetn): Likewise.
18023 (_IO_file_xsgetn_mmap): Likewise.
18024 * libio/iofopncook.c (_IO_cookie_read): Likewise.
18025 (_IO_cookie_write): Likewise.
18026 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
18027 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
18028 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
18029 * malloc/obstack.c (_obstack_begin): Likewise.
18030 (_obstack_begin_1): Likewise.
18031 (_obstack_newchunk): Likewise.
18032 (_obstack_allocated_p): Likewise.
18033 (obstack_free): Likewise.
18034 (_obstack_memory_used): Likewise.
18035 * misc/getttyent.c (getttynam): Likewise.
18036 (getttyent): Likewise.
18039 * misc/getusershell.c (initshells): Likewise.
18040 * misc/syslog.c (__vsyslog_chk): Likewise.
18041 * misc/ttyslot.c (ttyslot): Likewise.
18042 * nis/nis_hash.c (__nis_hash): Likewise.
18043 * posix/fnmatch_loop.c (FCT): Likewise.
18044 * posix/getconf.c (print_all): Likewise.
18046 * posix/getopt.c (exchange): Likewise.
18047 * posix/glob.c (globfree): Likewise.
18048 (prefix_array): Likewise.
18049 (__glob_pattern_type): Likewise.
18050 * resolv/arpa/nameser.h (NS_GET16): Likewise.
18051 (NS_GET32): Likewise.
18052 (NS_PUT16): Likewise.
18053 (NS_PUT32): Likewise.
18054 * resolv/gethnamaddr.c (getanswer): Likewise.
18055 (gethostbyname2): Likewise.
18056 (gethostbyaddr): Likewise.
18057 (_gethtent): Likewise.
18058 (_gethtbyname2): Likewise.
18059 (_gethtbyaddr): Likewise.
18060 * resolv/ns_print.c (dst_s_get_int16): Likewise.
18061 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
18062 * resolv/res_init.c (__res_vinit): Likewise.
18063 (net_mask): Likewise.
18064 * resolv/res_mkquery.c (outchar): Likewise.
18066 * stdio-common/printf_fp.c (outchar): Likewise.
18068 * stdio-common/printf_fphex.c (outchar): Likewise.
18070 * stdio-common/printf_size.c (outchar): Likewise.
18072 * stdio-common/test_rdwr.c (main): Likewise.
18073 * stdio-common/tfformat.c (matches): Likewise.
18074 * stdio-common/vfprintf.c (outchar): Likewise.
18075 (printf_unknown): Likewise.
18076 (buffered_vfprintf): Likewise.
18077 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
18078 * stdio-common/xbug.c (AppendToBuffer): Likewise.
18079 (ReadFile): Likewise.
18080 * stdlib/qsort.c (SWAP): Likewise.
18081 (_quicksort): Likewise.
18082 * stdlib/setenv.c (__add_to_environ): Likewise.
18083 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
18084 * stdlib/strtol_l.c (__strtol_l): Likewise.
18085 * stdlib/tst-strtod.c (main): Likewise.
18086 * stdlib/tst-strtol.c (main): Likewise.
18087 * stdlib/tst-strtoll.c (main): Likewise.
18088 * string/bits/string2.h (__strcmp_cc): Likewise.
18089 (__strcmp_cg): Likewise.
18090 (__strcspn_c1): Likewise.
18091 (__strcspn_c2): Likewise.
18092 (__strcspn_c3): Likewise.
18093 (__strspn_c1): Likewise.
18094 (__strspn_c2): Likewise.
18095 (__strspn_c3): Likewise.
18096 (__strsep_1c): Likewise.
18097 (__strsep_2c): Likewise.
18098 (__strsep_3c): Likewise.
18099 * string/memccpy.c (__memccpy): Likewise.
18100 * string/stpcpy.c (__stpcpy): Likewise.
18101 * string/strcmp.c (strcmp): Likewise.
18102 * string/strrchr.c (strrchr): Likewise.
18103 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
18105 * sysdeps/mach/hurd/getcwd.c
18106 (_hurd_canonicalize_directory_name_internal): Likewise.
18107 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
18108 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
18109 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
18110 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
18111 Likewise, in both definitions.
18112 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
18114 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
18115 64] (__bswap_64): Likewise.
18116 * time/test_time.c (main): Likewise.
18117 * time/tzfile.c (__tzfile_read): Likewise.
18118 (__tzfile_compute): Likewise.
18119 * time/tzset.c (__tzset_parse_tz): Likewise.
18120 (tzset_internal): Likewise.
18121 (compute_change): Likewise.
18122 * wcsmbs/wcscat.c (__wcscat): Likewise.
18123 * wcsmbs/wcschr.c (wcschr): Likewise.
18124 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
18125 * wcsmbs/wcscspn.c (wcscspn): Likewise.
18126 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
18127 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
18128 * wcsmbs/wcsspn.c (wcsspn): Likewise.
18129 * wcsmbs/wcsstr.c (wcsstr): Likewise.
18130 * wcsmbs/wmemchr.c (wmemchr): Likewise.
18131 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
18132 * wcsmbs/wmemset.c (wmemset): Likewise.
18134 2013-06-06 Joseph Myers <joseph@codesourcery.com>
18136 * scripts/config.guess: Update to version 2013-05-16.
18137 * scripts/config.sub: Update to version 2013-04-24.
18138 * scripts/install-sh: Update to version 2011-11-20.07.
18139 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
18140 * scripts/move-if-change: Update to version 2012-01-06 07:23.
18142 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
18144 * debug/fgetws_u_chk.c: Fix leading whitespaces.
18145 * elf/sln.c: Likewise.
18146 * hurd/hurd/ioctl.h: Likewise.
18147 * hurd/hurdmalloc.c: Likewise.
18148 * hurd/xattr.c: Likewise.
18149 * include/shlib-compat.h: Likewise.
18150 * inet/ruserpass.c: Likewise.
18151 * libio/iofgets_u.c: Likewise.
18152 * libio/iofgetws_u.c: Likewise.
18153 * locale/programs/ld-identification.c: Likewise.
18154 * locale/programs/ld-time.c: Likewise.
18155 * mach/msg-destroy.c: Likewise.
18156 * nss/nss_files/files-netgrp.c: Likewise.
18157 * resolv/res_data.c: Likewise.
18158 * soft-fp/op-1.h: Likewise.
18159 * soft-fp/op-2.h: Likewise.
18160 * soft-fp/op-4.h: Likewise.
18161 * soft-fp/op-common.h: Likewise.
18162 * stdio-common/printf_fphex.c: Likewise.
18163 * stdlib/strtod_l.c: Likewise.
18164 * sunrpc/rpc/clnt.h: Likewise.
18165 * sysdeps/generic/framestate.c: Likewise.
18166 * sysdeps/i386/bsd-_setjmp.S: Likewise.
18167 * sysdeps/i386/bsd-setjmp.S: Likewise.
18168 * sysdeps/i386/__longjmp.S: Likewise.
18169 * sysdeps/i386/setjmp.S: Likewise.
18170 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
18171 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
18172 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
18173 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
18174 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
18175 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
18176 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
18177 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
18178 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
18179 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
18180 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
18181 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
18182 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
18183 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
18184 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
18185 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
18186 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
18187 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
18188 * sysdeps/ieee754/support.c: Likewise.
18189 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
18190 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
18191 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
18192 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
18193 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
18194 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
18195 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
18196 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
18197 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
18198 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
18199 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
18200 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
18201 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
18202 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
18203 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
18204 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
18205 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
18206 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
18208 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
18210 * posix/transbug.c: Remove executable mode.
18212 2013-06-05 Joseph Myers <joseph@codesourcery.com>
18214 * crypt/speeds.c: Remove trailing whitespace.
18215 * dlfcn/default.c: Likewise.
18216 * elf/ifuncdep2.c: Likewise.
18217 * elf/ifuncmain1.c: Likewise.
18218 * elf/ifuncmain1vis.c: Likewise.
18219 * elf/testobj.h: Likewise.
18220 * elf/tst-stackguard1.c: Likewise.
18221 * gmon/sys/gmon.h: Likewise.
18222 * hurd/hurdmsg.c: Likewise.
18223 * hurd/new-fd.c: Likewise.
18224 * hurd/ports-get.c: Likewise.
18225 * iconvdata/ibm1008_420.c: Likewise.
18226 * inet/tst-getni1.c: Likewise.
18227 * inet/tst-getni2.c: Likewise.
18228 * libio/ioungetc.c: Likewise.
18229 * libio/wfiledoalloc.c: Likewise.
18230 * manual/libm-err-tab.pl: Likewise.
18231 * math/w_dremf.c: Likewise.
18232 * misc/ftruncate.c: Likewise.
18233 * posix/bug-glob2.c: Likewise.
18234 * posix/tst-pcre.c: Likewise.
18235 * posix/wait4.c: Likewise.
18236 * resolv/README: Likewise.
18237 * resolv/res_debug.h: Likewise.
18238 * resolv/tst-inet_ntop.c: Likewise.
18239 * setjmp/bug269-setjmp.c: Likewise.
18240 * soft-fp/extended.h: Likewise.
18241 * soft-fp/op-1.h: Likewise.
18242 * soft-fp/op-2.h: Likewise.
18243 * soft-fp/op-4.h: Likewise.
18244 * soft-fp/op-8.h: Likewise.
18245 * soft-fp/testit.c: Likewise.
18246 * stdio-common/bug16.c: Likewise.
18247 * stdlib/random.c: Likewise.
18248 * sunrpc/rpcsvc/rquota.x: Likewise.
18249 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
18250 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
18251 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
18252 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
18253 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
18254 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
18255 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
18256 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
18257 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
18258 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
18259 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
18260 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
18261 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
18262 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
18263 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
18264 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
18265 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
18266 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
18267 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
18268 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
18269 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
18270 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
18271 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
18272 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
18273 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
18274 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
18275 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
18276 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
18277 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
18278 * sysdeps/ieee754/s_lib_version.c: Likewise.
18279 * sysdeps/mach/hurd/check_fds.c: Likewise.
18280 * sysdeps/mach/hurd/getsockname.c: Likewise.
18281 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
18282 * sysdeps/mach/hurd/recvfrom.c: Likewise.
18283 * sysdeps/powerpc/bits/link.h: Likewise.
18284 * sysdeps/powerpc/dl-procinfo.c: Likewise.
18285 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
18286 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
18287 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
18288 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
18289 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
18290 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
18291 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
18292 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
18293 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
18294 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
18295 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
18296 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
18297 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
18298 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
18299 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
18300 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
18301 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
18302 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
18303 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
18304 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
18305 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
18306 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
18307 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
18308 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
18309 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
18310 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
18311 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
18312 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
18313 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
18314 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
18315 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
18316 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
18317 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
18318 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
18319 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
18320 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
18321 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
18322 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
18323 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
18324 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
18325 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
18326 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
18327 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
18328 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
18329 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
18330 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
18331 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
18332 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
18333 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
18334 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
18335 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
18336 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
18337 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
18338 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
18339 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
18340 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
18341 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
18342 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
18343 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
18344 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
18345 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
18346 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
18347 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
18348 * sysdeps/powerpc/sysdep.h: Likewise.
18349 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
18350 * sysdeps/s390/s390-64/sub_n.S: Likewise.
18351 * sysdeps/sh/dl-trampoline.S: Likewise.
18352 * sysdeps/sh/memset.S: Likewise.
18353 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
18354 * sysdeps/sh/strlen.S: Likewise.
18355 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
18356 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
18357 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
18358 * sysdeps/sparc/sparc32/rem.S: Likewise.
18359 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
18360 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
18361 * sysdeps/sparc/sparc32/strchr.S: Likewise.
18362 * sysdeps/sparc/sparc32/udiv.S: Likewise.
18363 * sysdeps/sparc/sparc32/urem.S: Likewise.
18364 * sysdeps/sparc/sparc64/add_n.S: Likewise.
18365 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
18366 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
18367 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
18368 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
18369 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
18370 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
18371 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
18372 * sysdeps/unix/bsd/times.c: Likewise.
18373 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
18374 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
18375 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
18376 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
18377 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
18378 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
18379 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
18380 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
18381 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
18382 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
18383 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
18384 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
18385 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
18386 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
18387 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
18388 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
18389 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
18390 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
18391 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
18392 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
18393 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
18394 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
18395 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
18396 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
18397 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
18398 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
18399 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
18400 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
18401 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
18402 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
18403 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
18404 * sysdeps/x86_64/strcspn.S: Likewise.
18406 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
18408 * locale/C-translit.h: Revert #include <stdint.h> because this is a
18409 generated file. Regenerate properly from gen-translit.pl.
18410 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
18411 locale/C-translit.h.
18413 2013-06-05 Andreas Schwab <schwab@suse.de>
18416 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
18417 week as 6 instead of -1.
18418 * time/tst-strptime.c (day_tests): Add test case.
18420 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
18422 * sysdeps/generic/math_private.h
18423 (libc_feholdexcept_setround_53bit): Replace with
18424 libc_feholdsetround_53bit.
18425 (libc_feupdateenv_53bit): Replace with
18426 libc_feresetround_53bit.
18427 (SET_RESTORE_ROUND_53BIT): Adjust.
18429 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
18431 * string/test-strchrnul.c: Add copyright header.
18433 * posix/tst-getaddrinfo4.c: Increase test timeout.
18435 2013-06-03 Carlos O'Donell <carlos@redhat.com>
18438 * math/libm-test.inc (MAX_EXP): Remove
18440 (ulp): Use MIN_EXP - MANT_DIG.
18441 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
18443 2013-05-31 Carlos O'Donell <carlos@redhat.com>
18445 * po/be.po: Revert last change.
18446 * po/zh_CN.po: Likewise.
18447 * po/header.pot: Likewise.
18449 2013-05-31 Joseph Myers <joseph@codesourcery.com>
18451 * Makefile ($(common-objpfx)linkobj/libc.so): Define
18452 link-libc-deps to empty as target-specific variable.
18453 * Makerules (link-libc-args): New variable.
18454 (libc-for-link): Likewise.
18455 (link-libc-deps): Likewise.
18456 (lib%.so): Depend on $(link-libc-deps). Link with
18458 (build-module): Link with $(link-libc-args).
18459 (build-module-asneeded): Likewise.
18460 (build-module-helper-objlist): Filter out $(link-libc-deps) from
18462 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
18463 target-specific variable.
18464 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
18465 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
18466 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
18468 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
18470 ($(objpfx)libpcprofile.so): Likewise.
18471 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
18473 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
18474 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
18475 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
18477 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
18478 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
18479 * login/Makefile ($(objpfx)libutil.so): Likewise.
18480 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
18481 * math/Makefile ($(objpfx)libm.so): Likewise.
18482 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
18483 $(objpfx)libnsl.so): Define libc-for-link as target-specific
18484 variable instead of depending directly on libc.
18485 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
18486 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
18488 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
18490 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
18491 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
18492 ($(objpfx)libanl.so): Likewise.
18493 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
18495 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
18497 * sysdeps/i386/fpu/Makefile: Remove file.
18498 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
18499 ($(objpfx)libm.so): Remove dependency on ld.so.
18501 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
18504 * nis/yp_xdr.c (XDRMAXNAME): Define.
18505 (XDRMAXRECORD): Define.
18506 (xdr_domainname): Use XDRMAXNAME.
18507 (xdr_mapname): Likewise.
18508 (xdr_peername): Likewise.
18509 (xdr_keydat): Use XDRMAXRECORD.
18510 (xdr_valdat): Likewise.
18512 2013-05-30 Jeff Law <law@redhat.com>
18515 * manual/errno.texi (ESTALE): Update to account for more than
18516 just NFS file systems.
18517 * sysdeps/gnu/errlist.c: Regenerated.
18519 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
18522 * elf/Makefile (tests): Add tst-null-argv.
18523 (modules-names): Add tst-null-argv-lib.
18524 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
18525 (tst-null-argv-ENV): Set environment for tst-null-argv.
18526 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
18527 (RTLD_PROGNAME): New macro.
18528 * elf/tst-null-argv.c: New test case.
18529 * elf/tst-null-argv-lib.c: Library for test case.
18530 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
18531 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
18532 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
18533 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
18534 * elf/dl-init.c (call_init): Likewise.
18535 (_dl_init): Likewise.
18536 * elf/dl-load.c (print_search_path): Likewise.
18537 (_dl_map_object): Likewise.
18538 * elf/dl-lookup.c (do_lookup_x): Likewise.
18539 (add_dependency): Likewise.
18540 (_dl_lookup_symbol_x): Likewise.
18541 (_dl_debug_bindings): Likewise.
18542 * elf/dl-open.c (_dl_show_scope): Likewise.
18543 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
18544 * elf/dl-version.c (match_symbol): Likewise.
18545 (_dl_check_map_versions): Likewise.
18546 * elf/rtld.c (dl_main): Likewise.
18547 (print_unresolved): Use RTLD_PROGNAME.
18548 (print_missing_version): Likewise.
18549 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
18550 (elf_machine_rela): Likewise.
18551 * sysdeps/powerpc/powerpc32/dl-machine.c
18552 (__process_machine_rela): Likewise.
18553 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
18555 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
18557 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
18559 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
18560 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
18562 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
18564 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
18566 2013-05-28 Carlos O'Donell <carlos@redhat.com>
18568 * po/be.po: Add descriptive title.
18569 * po/zh_CN.po: Likewise.
18570 * po/header.pot: Likewise.
18572 2013-05-28 Mike Frysinger <vapier@gentoo.org>
18574 * locale/programs/locarchive.c (create_archive): Inlucde fname in
18576 (enlarge_archive): Likewise.
18578 2013-05-28 Ben North <ben@redfrontdoor.org>
18580 * manual/arith.texi (frexp): It is the magnitude of the return
18581 value which lies in [0.5, 1), not the return value itself.
18583 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18585 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18587 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
18589 * stdio-common/bug26.c (main): Correct fscanf template.
18591 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
18592 declare _dl_skip_args.
18594 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
18597 * manual/platform.texi: Add missing @end deftypefun.
18599 2013-05-24 Joseph Myers <joseph@codesourcery.com>
18602 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
18603 bit of mantissa of 2^16382.
18604 * math/libm-test.inc (hypot_test_data): Add more tests.
18606 * math/libm-test.inc: Add drem and pow10 to list of tested
18608 (pow10_test): New function.
18609 (drem_test): Likewise.
18610 (drem_test_tonearest): Likewise.
18611 (drem_test_towardzero): Likewise.
18612 (drem_test_downward): Likewise.
18613 (drem_test_upward): Likewise.
18614 (main): Call the new functions.
18616 * math/libm-test.inc (finite_test_data): Remove.
18617 (finite_test): Run tests from isfinite_test_data.
18618 (gamma_test_data): Remove.
18619 (gamma_test): Run tests from lgamma_test_data.
18620 * sysdeps/i386/fpu/libm-test-ulps: Update.
18621 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18623 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18625 * manual/platform.texi: Add PowerPC PPR function set documentation.
18626 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
18629 2013-05-24 Carlos O'Donell <carlos@redhat.com>
18631 * math/libm-test.inc (MAX_EXP): Define.
18633 (ulp): New function.
18634 (check_float_internal): Use ULPDIFF.
18635 (cpow_test): Disable failing test.
18636 (check_ulp): Test ulp() implemetnation.
18637 (main): Call check_ulp before starting tests.
18639 2013-05-24 Joseph Myers <joseph@codesourcery.com>
18641 * math/gen-libm-test.pl (generate_testfile): Do not handle
18642 START_DATA and END_DATA.
18643 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
18645 (acos_tonearest_test_data): Likewise.
18646 (acos_towardzero_test_data): Likewise.
18647 (acos_downward_test_data): Likewise.
18648 (acos_upward_test_data): Likewise.
18649 (acosh_test_data): Likewise.
18650 (asin_test_data): Likewise.
18651 (asin_tonearest_test_data): Likewise.
18652 (asin_towardzero_test_data): Likewise.
18653 (asin_downward_test_data): Likewise.
18654 (asin_upward_test_data): Likewise.
18655 (asinh_test_data): Likewise.
18656 (atan_test_data): Likewise.
18657 (atanh_test_data): Likewise.
18658 (atan2_test_data): Likewise.
18659 (cabs_test_data): Likewise.
18660 (cacos_test_data): Likewise.
18661 (cacosh_test_data): Likewise.
18662 (carg_test_data): Likewise.
18663 (casin_test_data): Likewise.
18664 (casinh_test_data): Likewise.
18665 (catan_test_data): Likewise.
18666 (catanh_test_data): Likewise.
18667 (cbrt_test_data): Likewise.
18668 (ccos_test_data): Likewise.
18669 (ccosh_test_data): Likewise.
18670 (ceil_test_data): Likewise.
18671 (cexp_test_data): Likewise.
18672 (cimag_test_data): Likewise.
18673 (clog_test_data): Likewise.
18674 (clog10_test_data): Likewise.
18675 (conj_test_data): Likewise.
18676 (copysign_test_data): Likewise.
18677 (cos_test_data): Likewise.
18678 (cos_tonearest_test_data): Likewise.
18679 (cos_towardzero_test_data): Likewise.
18680 (cos_downward_test_data): Likewise.
18681 (cos_upward_test_data): Likewise.
18682 (cosh_test_data): Likewise.
18683 (cosh_tonearest_test_data): Likewise.
18684 (cosh_towardzero_test_data): Likewise.
18685 (cosh_downward_test_data): Likewise.
18686 (cosh_upward_test_data): Likewise.
18687 (cpow_test_data): Likewise.
18688 (cproj_test_data): Likewise.
18689 (creal_test_data): Likewise.
18690 (csin_test_data): Likewise.
18691 (csinh_test_data): Likewise.
18692 (csqrt_test_data): Likewise.
18693 (ctan_test_data): Likewise.
18694 (ctan_tonearest_test_data): Likewise.
18695 (ctan_towardzero_test_data): Likewise.
18696 (ctan_downward_test_data): Likewise.
18697 (ctan_upward_test_data): Likewise.
18698 (ctanh_test_data): Likewise.
18699 (ctanh_tonearest_test_data): Likewise.
18700 (ctanh_towardzero_test_data): Likewise.
18701 (ctanh_downward_test_data): Likewise.
18702 (ctanh_upward_test_data): Likewise.
18703 (erf_test_data): Likewise.
18704 (erfc_test_data): Likewise.
18705 (exp_test_data): Likewise.
18706 (exp_tonearest_test_data): Likewise.
18707 (exp_towardzero_test_data): Likewise.
18708 (exp_downward_test_data): Likewise.
18709 (exp_upward_test_data): Likewise.
18710 (exp10_test_data): Likewise.
18711 (exp2_test_data): Likewise.
18712 (expm1_test_data): Likewise.
18713 (fabs_test_data): Likewise.
18714 (fdim_test_data): Likewise.
18715 (finite_test_data): Likewise.
18716 (floor_test_data): Likewise.
18717 (fma_test_data): Likewise.
18718 (fma_towardzero_test_data): Likewise.
18719 (fma_downward_test_data): Likewise.
18720 (fma_upward_test_data): Likewise.
18721 (fmax_test_data): Likewise.
18722 (fmin_test_data): Likewise.
18723 (fmod_test_data): Likewise.
18724 (fpclassify_test_data): Likewise.
18725 (frexp_test_data): Likewise.
18726 (gamma_test_data): Likewise.
18727 (hypot_test_data): Likewise.
18728 (ilogb_test_data): Likewise.
18729 (isfinite_test_data): Likewise.
18730 (isgreater_test_data): Likewise.
18731 (isgreaterequal_test_data): Likewise.
18732 (isinf_test_data): Likewise.
18733 (isless_test_data): Likewise.
18734 (islessequal_test_data): Likewise.
18735 (islessgreater_test_data): Likewise.
18736 (isnan_test_data): Likewise.
18737 (isnormal_test_data): Likewise.
18738 (issignaling_test_data): Likewise.
18739 (isunordered_test_data): Likewise.
18740 (j0_test_data): Likewise.
18741 (j1_test_data): Likewise.
18742 (jn_test_data): Likewise.
18743 (ldexp_test_data): Likewise.
18744 (lgamma_test_data): Likewise.
18745 (lrint_test_data): Likewise.
18746 (lrint_tonearest_test_data): Likewise.
18747 (lrint_towardzero_test_data): Likewise.
18748 (lrint_downward_test_data): Likewise.
18749 (lrint_upward_test_data): Likewise.
18750 (llrint_test_data): Likewise.
18751 (llrint_tonearest_test_data): Likewise.
18752 (llrint_towardzero_test_data): Likewise.
18753 (llrint_downward_test_data): Likewise.
18754 (llrint_upward_test_data): Likewise.
18755 (log_test_data): Likewise.
18756 (log10_test_data): Likewise.
18757 (log1p_test_data): Likewise.
18758 (log2_test_data): Likewise.
18759 (logb_test_data): Likewise.
18760 (logb_downward_test_data): Likewise.
18761 (lround_test_data): Likewise.
18762 (llround_test_data): Likewise.
18763 (modf_test_data): Likewise.
18764 (nearbyint_test_data): Likewise.
18765 (nextafter_test_data): Likewise.
18766 (nexttoward_test_data): Likewise.
18767 (pow_test_data): Likewise.
18768 (pow_tonearest_test_data): Likewise.
18769 (pow_towardzero_test_data): Likewise.
18770 (pow_downward_test_data): Likewise.
18771 (pow_upward_test_data): Likewise.
18772 (remainder_test_data): Likewise.
18773 (remainder_tonearest_test_data): Likewise.
18774 (remainder_towardzero_test_data): Likewise.
18775 (remainder_downward_test_data): Likewise.
18776 (remainder_upward_test_data): Likewise.
18777 (remquo_test_data): Likewise.
18778 (rint_test_data): Likewise.
18779 (rint_tonearest_test_data): Likewise.
18780 (rint_towardzero_test_data): Likewise.
18781 (rint_downward_test_data): Likewise.
18782 (rint_upward_test_data): Likewise.
18783 (round_test_data): Likewise.
18784 (scalb_test_data): Likewise.
18785 (scalbn_test_data): Likewise.
18786 (scalbln_test_data): Likewise.
18787 (signbit_test_data): Likewise.
18788 (sin_test_data): Likewise.
18789 (sin_tonearest_test_data): Likewise.
18790 (sin_towardzero_test_data): Likewise.
18791 (sin_downward_test_data): Likewise.
18792 (sin_upward_test_data): Likewise.
18793 (sincos_test_data): Likewise.
18794 (sinh_test_data): Likewise.
18795 (sinh_tonearest_test_data): Likewise.
18796 (sinh_towardzero_test_data): Likewise.
18797 (sinh_downward_test_data): Likewise.
18798 (sinh_upward_test_data): Likewise.
18799 (sqrt_test_data): Likewise.
18800 (tan_test_data): Likewise.
18801 (tan_tonearest_test_data): Likewise.
18802 (tan_towardzero_test_data): Likewise.
18803 (tan_downward_test_data): Likewise.
18804 (tan_upward_test_data): Likewise.
18805 (tanh_test_data): Likewise.
18806 (tgamma_test_data): Likewise.
18807 (trunc_test_data): Likewise.
18808 (y0_test_data): Likewise.
18809 (y1_test_data): Likewise.
18810 (yn_test_data): Likewise.
18811 (significand_test_data): Likewise.
18813 * math/gen-libm-test.pl (@functions): Remove variable.
18814 (generate_testfile): Don't handle START and END lines.
18815 * math/libm-test.inc (START): New macro.
18817 (END_COMPLEX): Likewise.
18818 (acos_test): Use END macro without arguments.
18819 (acos_test_tonearest): Likewise.
18820 (acos_test_towardzero): Likewise.
18821 (acos_test_downward): Likewise.
18822 (acos_test_upward): Likewise.
18823 (acosh_test): Likewise.
18824 (asin_test): Likewise.
18825 (asin_test_tonearest): Likewise.
18826 (asin_test_towardzero): Likewise.
18827 (asin_test_downward): Likewise.
18828 (asin_test_upward): Likewise.
18829 (asinh_test): Likewise.
18830 (atan_test): Likewise.
18831 (atanh_test): Likewise.
18832 (atan2_test): Likewise.
18833 (cabs_test): Likewise.
18834 (cacos_test): Use END_COMPLEX macro without arguments.
18835 (cacosh_test): Likewise.
18836 (carg_test): Use END macro without arguments.
18837 (casin_test): Use END_COMPLEX macro without arguments.
18838 (casinh_test): Likewise.
18839 (catan_test): Likewise.
18840 (catanh_test): Likewise.
18841 (cbrt_test): Use END macro without arguments.
18842 (ccos_test): Use END_COMPLEX macro without arguments.
18843 (ccosh_test): Likewise.
18844 (ceil_test): Use END macro without arguments.
18845 (cexp_test): Use END_COMPLEX macro without arguments.
18846 (cimag_test): Use END macro without arguments.
18847 (clog_test): Use END_COMPLEX macro without arguments.
18848 (clog10_test): Likewise.
18849 (conj_test): Likewise.
18850 (copysign_test): Use END macro without arguments.
18851 (cos_test): Likewise.
18852 (cos_test_tonearest): Likewise.
18853 (cos_test_towardzero): Likewise.
18854 (cos_test_downward): Likewise.
18855 (cos_test_upward): Likewise.
18856 (cosh_test): Likewise.
18857 (cosh_test_tonearest): Likewise.
18858 (cosh_test_towardzero): Likewise.
18859 (cosh_test_downward): Likewise.
18860 (cosh_test_upward): Likewise.
18861 (cpow_test): Use END_COMPLEX macro without arguments.
18862 (cproj_test): Likewise.
18863 (creal_test): Use END macro without arguments.
18864 (csin_test): Use END_COMPLEX macro without arguments.
18865 (csinh_test): Likewise.
18866 (csqrt_test): Likewise.
18867 (ctan_test): Likewise.
18868 (ctan_test_tonearest): Likewise.
18869 (ctan_test_towardzero): Likewise.
18870 (ctan_test_downward): Likewise.
18871 (ctan_test_upward): Likewise.
18872 (ctanh_test): Likewise.
18873 (ctanh_test_tonearest): Likewise.
18874 (ctanh_test_towardzero): Likewise.
18875 (ctanh_test_downward): Likewise.
18876 (ctanh_test_upward): Likewise.
18877 (erf_test): Use END macro without arguments.
18878 (erfc_test): Likewise.
18879 (exp_test): Likewise.
18880 (exp_test_tonearest): Likewise.
18881 (exp_test_towardzero): Likewise.
18882 (exp_test_downward): Likewise.
18883 (exp_test_upward): Likewise.
18884 (exp10_test): Likewise.
18885 (exp2_test): Likewise.
18886 (expm1_test): Likewise.
18887 (fabs_test): Likewise.
18888 (fdim_test): Likewise.
18889 (finite_test): Likewise.
18890 (floor_test): Likewise.
18891 (fma_test): Likewise.
18892 (fma_test_towardzero): Likewise.
18893 (fma_test_downward): Likewise.
18894 (fma_test_upward): Likewise.
18895 (fmax_test): Likewise.
18896 (fmin_test): Likewise.
18897 (fmod_test): Likewise.
18898 (fpclassify_test): Likewise.
18899 (frexp_test): Likewise.
18900 (gamma_test): Likewise.
18901 (hypot_test): Likewise.
18902 (ilogb_test): Likewise.
18903 (isfinite_test): Likewise.
18904 (isgreater_test): Likewise.
18905 (isgreaterequal_test): Likewise.
18906 (isinf_test): Likewise.
18907 (isless_test): Likewise.
18908 (islessequal_test): Likewise.
18909 (islessgreater_test): Likewise.
18910 (isnan_test): Likewise.
18911 (isnormal_test): Likewise.
18912 (issignaling_test): Likewise.
18913 (isunordered_test): Likewise.
18914 (j0_test): Likewise.
18915 (j1_test): Likewise.
18916 (jn_test): Likewise.
18917 (ldexp_test): Likewise.
18918 (lgamma_test): Likewise.
18919 (lrint_test): Likewise.
18920 (lrint_test_tonearest): Likewise.
18921 (lrint_test_towardzero): Likewise.
18922 (lrint_test_downward): Likewise.
18923 (lrint_test_upward): Likewise.
18924 (llrint_test): Likewise.
18925 (llrint_test_tonearest): Likewise.
18926 (llrint_test_towardzero): Likewise.
18927 (llrint_test_downward): Likewise.
18928 (llrint_test_upward): Likewise.
18929 (log_test): Likewise.
18930 (log10_test): Likewise.
18931 (log1p_test): Likewise.
18932 (log2_test): Likewise.
18933 (logb_test): Likewise.
18934 (logb_test_downward): Likewise.
18935 (lround_test): Likewise.
18936 (llround_test): Likewise.
18937 (modf_test): Likewise.
18938 (nearbyint_test): Likewise.
18939 (nextafter_test): Likewise.
18940 (nexttoward_test): Likewise.
18941 (pow_test): Likewise.
18942 (pow_test_tonearest): Likewise.
18943 (pow_test_towardzero): Likewise.
18944 (pow_test_downward): Likewise.
18945 (pow_test_upward): Likewise.
18946 (remainder_test): Likewise.
18947 (remainder_test_tonearest): Likewise.
18948 (remainder_test_towardzero): Likewise.
18949 (remainder_test_downward): Likewise.
18950 (remainder_test_upward): Likewise.
18951 (remquo_test): Likewise.
18952 (rint_test): Likewise.
18953 (rint_test_tonearest): Likewise.
18954 (rint_test_towardzero): Likewise.
18955 (rint_test_downward): Likewise.
18956 (rint_test_upward): Likewise.
18957 (round_test): Likewise.
18958 (scalb_test): Likewise.
18959 (scalbn_test): Likewise.
18960 (scalbln_test): Likewise.
18961 (signbit_test): Likewise.
18962 (sin_test): Likewise.
18963 (sin_test_tonearest): Likewise.
18964 (sin_test_towardzero): Likewise.
18965 (sin_test_downward): Likewise.
18966 (sin_test_upward): Likewise.
18967 (sincos_test): Likewise.
18968 (sinh_test): Likewise.
18969 (sinh_test_tonearest): Likewise.
18970 (sinh_test_towardzero): Likewise.
18971 (sinh_test_downward): Likewise.
18972 (sinh_test_upward): Likewise.
18973 (sqrt_test): Likewise.
18974 (tan_test): Likewise.
18975 (tan_test_tonearest): Likewise.
18976 (tan_test_towardzero): Likewise.
18977 (tan_test_downward): Likewise.
18978 (tan_test_upward): Likewise.
18979 (tanh_test): Likewise.
18980 (tgamma_test): Likewise.
18981 (trunc_test): Likewise.
18982 (y0_test): Likewise.
18983 (y1_test): Likewise.
18984 (yn_test): Likewise.
18985 (significand_test): Likewise.
18987 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
18990 * libio/genops.c (_IO_no_init): Initialize wide struct info.
18992 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
18995 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
18996 __ppc_mdoio and __ppc_mdoom.
18997 * manual/platform.texi: Document new functions __ppc_yield,
18998 __ppc_mdoio and __ppc_mdoom.
19000 2013-05-22 Carlos O'Donell <carlos@redhat.com>
19002 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
19003 (main): Mention "tls" pseudo-hwcap is legacy.
19004 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
19006 2013-05-22 Joseph Myers <joseph@codesourcery.com>
19008 * math/gen-libm-test.pl (parse_args): Output only string of
19009 arguments as text for test name, not full call or descriptions of
19010 tests for extra outputs.
19011 (generate_testfile): Do not pass function name to parse_args.
19012 Generate this_func variable from START.
19013 * math/libm-test.inc (struct test_f_f_data): Rename test_name
19015 (struct test_ff_f_data): Likewise.
19016 (test_ff_f_data_nexttoward): Likewise.
19017 (struct test_fi_f_data): Likewise.
19018 (struct test_fl_f_data): Likewise.
19019 (struct test_if_f_data): Likewise.
19020 (struct test_fff_f_data): Likewise.
19021 (struct test_c_f_data): Likewise.
19022 (struct test_f_f1_data): Likewise. Remove field extra_name.
19023 (struct test_fF_f1_data): Likewise.
19024 (struct test_ffI_f1_data): Likewise.
19025 (struct test_c_c_data): Rename test_name field to arg_str.
19026 (struct test_cc_c_data): Likewise.
19027 (struct test_f_i_data): Likewise.
19028 (struct test_ff_i_data): Likewise.
19029 (struct test_f_l_data): Likewise.
19030 (struct test_f_L_data): Likewise.
19031 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
19033 (COMMON_TEST_SETUP): New macro.
19034 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
19035 (COMMON_TEST_CLEANUP): Likewise.
19036 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
19037 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
19039 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
19040 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
19042 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
19043 (RUN_TEST_fff_f): Take argument string. Call new setup and
19045 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
19046 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
19048 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
19049 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
19051 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
19052 (RUN_TEST_fF_f1): Take argument string. Call new setup and
19054 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
19055 (RUN_TEST_fI_f1): Take argument string. Call new setup and
19057 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
19058 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
19060 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
19061 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
19063 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
19064 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
19066 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
19067 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
19069 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
19070 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
19072 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
19073 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
19075 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
19076 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
19078 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
19079 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
19081 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
19082 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
19084 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
19085 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
19087 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
19088 (RUN_TEST_fFF_11): Take argument string. Call new setup and
19090 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
19092 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
19094 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
19095 to _sifields.sigfault.
19096 (si_addr_lsb): Define new macro.
19097 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
19098 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
19099 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
19101 2013-05-03 Carlos O'Donell <carlos at redhat.com>
19104 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
19106 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
19108 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
19109 loading the domain.
19111 2013-05-22 Joseph Myers <joseph@codesourcery.com>
19113 * math/gen-libm-test.pl (parse_args): Do not include expected
19114 result in test name.
19115 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
19116 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
19117 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
19118 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
19119 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
19120 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19122 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
19124 * benchtests/Makefile: Sort function entries.
19126 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
19127 tanh, asinh, acosh, atanh.
19128 * benchtests/acos-inputs: New file.
19129 * benchtests/acosh-inputs: New file.
19130 * benchtests/asin-inputs: New file.
19131 * benchtests/asinh-inputs: New file.
19132 * benchtests/atanh-inputs: New file.
19133 * benchtests/cosh-inputs: New file.
19134 * benchtests/log-inputs: New file.
19135 * benchtests/sinh-inputs: New file.
19136 * benchtests/tanh-inputs: New file.
19138 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
19141 * posix/tst-getaddrinfo4.c: New test.
19142 * posix/Makefile (tests): Add it.
19144 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
19147 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
19148 when no services were used.
19149 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
19150 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
19152 2013-05-21 Andreas Schwab <schwab@suse.de>
19155 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
19156 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
19158 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
19159 redundant variable declarations and reallocation of buffer when
19160 parsing as IPv6 address. Always set NSS status when called from
19161 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
19162 buffer too small. Correct computation of needed size.
19163 * nss/Makefile (tests): Add test-digits-dots.
19164 * nss/test-digits-dots.c: New test.
19166 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
19168 * benchtests/Makefile: Remove instructions for adding
19170 * benchtests/README: New file to explain how to execute and
19171 enhance the benchmark tests.
19173 2013-05-21 Andreas Schwab <schwab@suse.de>
19176 * setjmp/Makefile (tests): Add tst-sigsetjmp.
19177 * setjmp/tst-sigsetjmp.c: New test.
19179 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
19181 * sysdeps/x86_64/memset.S (memset): New implementation.
19182 (__bzero): Likewise.
19183 (__memset_tail): New function.
19185 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
19187 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
19188 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
19189 __memcpy_sse2_unaligned ifunc selection.
19190 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
19191 Add memcpy-sse2-unaligned.S.
19192 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
19193 Add: __memcpy_sse2_unaligned.
19195 2013-05-19 Joseph Myers <joseph@codesourcery.com>
19198 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
19199 math_force_eval before restoring floating-point envrionment.
19200 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
19201 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
19203 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
19205 (__nearbyintl): Use math_force_eval before restoring
19206 floating-point environment.
19207 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
19209 * math/gen-libm-test.pl (special_functions): Remove.
19210 (parse_args): Don't handle TEST_extra. Handle functions with no
19212 * math/libm-test.inc (struct test_sincos_data): Replace with
19213 struct test_fFF_11_data.
19214 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
19215 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
19216 (sincos_test_data): Change element type to struct
19217 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
19218 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
19219 RUN_TEST_LOOP_sincos.
19220 * math/README.libm-test: Don't mention special handling of
19221 individual functions.
19222 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
19223 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
19224 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
19225 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
19226 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
19227 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19229 * math/gen-libm-test.pl (get_variable): Remove function.
19230 (parse_args): Don't show pointer parameters to call in test
19231 names. Use "extra output N" in test names for extra outputs
19232 rather than naming variables.
19234 2013-05-18 Joseph Myers <joseph@codesourcery.com>
19237 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
19238 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
19239 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
19241 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
19243 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
19246 * math/gen-libm-test.pl (@tests): Remove variable.
19247 ($count): Likewise.
19248 (new_test): Remove function.
19249 (show_exceptions): New function.
19250 (special_functions): Use show_exceptions instead of new_test.
19251 (parse_args): Likewise.
19252 (generate_testfile): Pass only function name in generated call to
19253 print_max_error or print_complex_max_error.
19254 (get_ulps): Do not handle complex tests specially.
19255 (output_test): Rename to ...
19256 (get_all_ulps_for_test): ... this. Return a string rather than
19257 printing to a file. Require ulps to be present.
19258 (output_ulps): Generate arrays rather than #defines.
19259 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
19260 (struct ulp_data): New type.
19261 (BUILD_COMPLEX_ULP): Remove macro.
19262 (compare_ulp_data): New function.
19263 (find_ulps): Likewise.
19264 (find_test_ulps): Likewise.
19265 (find_function_ulps): Likewise.
19266 (find_complex_function_ulps): Likewise.
19267 (print_max_error): Determine allowed ulps using
19268 find_function_ulps.
19269 (print_complex_max_error): Determine allowed ulps using
19270 find_complex_function_ulps.
19271 (check_float_internal): Determine max ulps using find_test_ulps.
19272 (check_float): Do not take max_ulp parameter. Update call to
19273 check_float_internal.
19274 (check_complex): Likewise.
19275 (check_int): Do not take max_ulp parameter.
19276 (check_long): Likewise.
19277 (check_bool): Likewise.
19278 (check_longlong): Likewise.
19279 (struct test_f_f_data): Remove max_ulp field.
19280 (struct test_ff_f_data): Likewise.
19281 (struct test_ff_f_data_nexttoward): Likewise.
19282 (struct test_fi_f_data): Likewise.
19283 (struct test_fl_f_data): Likewise.
19284 (struct test_if_f_data): Likewise.
19285 (struct test_fff_f_data): Likewise.
19286 (struct test_c_f_data): Likewise.
19287 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
19288 (struct test_fF_f1_data): Likewise.
19289 (struct test_ffI_f1_data): Likewise.
19290 (struct test_c_c_data): Remove max_ulp field.
19291 (struct test_cc_c_data): Likewise.
19292 (struct test_f_i_data): Likewise.
19293 (struct test_ff_i_data): Likewise.
19294 (struct test_f_l_data): Likewise.
19295 (struct test_f_L_data): Likewise.
19296 (struct test_sincos_data): Likewise.
19297 (RUN_TEST_f_f): Do not handle ulps.
19298 (RUN_TEST_LOOP_f_f): Likewise.
19299 (RUN_TEST_2_f): Likewise.
19300 (RUN_TEST_LOOP_2_f): Likewise.
19301 (RUN_TEST_fff_f): Likewise.
19302 (RUN_TEST_LOOP_fff_f): Likewise.
19303 (RUN_TEST_c_f): Likewise.
19304 (RUN_TEST_LOOP_c_f): Likewise.
19305 (RUN_TEST_f_f1): Likewise.
19306 (RUN_TEST_LOOP_f_f1): Likewise.
19307 (RUN_TEST_fF_f1): Likewise.
19308 (RUN_TEST_LOOP_fF_f1): Likewise.
19309 (RUN_TEST_fI_f1): Likewise.
19310 (RUN_TEST_LOOP_fI_f1): Likewise.
19311 (RUN_TEST_ffI_f1): Likewise.
19312 (RUN_TEST_LOOP_ffI_f1): Likewise.
19313 (RUN_TEST_c_c): Likewise.
19314 (RUN_TEST_LOOP_c_c): Likewise.
19315 (RUN_TEST_cc_c): Likewise.
19316 (RUN_TEST_LOOP_cc_c): Likewise.
19317 (RUN_TEST_f_i): Likewise.
19318 (RUN_TEST_LOOP_f_i): Likewise.
19319 (RUN_TEST_f_i_tg): Likewise.
19320 (RUN_TEST_LOOP_f_i_tg): Likewise.
19321 (RUN_TEST_ff_i_tg): Likewise.
19322 (RUN_TEST_LOOP_ff_i_tg): Likewise.
19323 (RUN_TEST_f_b): Likewise.
19324 (RUN_TEST_LOOP_f_b): Likewise.
19325 (RUN_TEST_f_b_tg): Likewise.
19326 (RUN_TEST_LOOP_f_b_tg): Likewise.
19327 (RUN_TEST_f_l): Likewise.
19328 (RUN_TEST_LOOP_f_l): Likewise.
19329 (RUN_TEST_f_L): Likewise.
19330 (RUN_TEST_LOOP_f_L): Likewise.
19331 (RUN_TEST_sincos): Likewise.
19332 (RUN_TEST_LOOP_sincos): Likewise.
19334 2013-05-17 Joseph Myers <joseph@codesourcery.com>
19338 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
19339 main case of finite arguments, set rounding mode to FE_TONEAREST
19340 and discard exceptions.
19341 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
19343 (remainder_tonearest_test_data): New variable.
19344 (remainder_test_tonearest): New function.
19345 (remainder_towardzero_test_data): New variable.
19346 (remainder_test_towardzero): New function.
19347 (remainder_downward_test_data): New variable.
19348 (remainder_test_downward): New function.
19349 (remainder_upward_test_data): New variable.
19350 (remainder_test_upward): New function.
19351 (main): Call the new test functions.
19353 * math/libm-test.inc (struct test_f_f1_data): Remove field
19355 (struct test_fF_f1_data): Likewise.
19356 (struct test_ffI_f1_data): Likewise.
19357 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
19358 based on value of EXTRA_EXPECTED.
19359 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
19360 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
19361 EXTRA_VAR based on value of EXTRA_EXPECTED.
19362 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
19363 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
19364 EXTRA_VAR based on value of EXTRA_EXPECTED.
19365 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
19366 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
19367 EXTRA_VAR based on value of EXTRA_EXPECTED.
19368 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
19369 * math/gen-libm-test.pl (parse_args): Don't output initializers
19370 for extra output values.
19372 * math/libm-test.inc (check_int): Expect result to be exactly
19373 equal to expected value and do not handle ulps.
19374 (check_long): Likewise.
19375 (check_longlong): Likewise.
19377 * math/libm-test.inc (ceil_test_data): Test for "inexact"
19379 (cimag_test_data): Likewise.
19380 (conj_test_data): Likewise.
19381 (copysign_test_data): Likewise.
19382 (cproj_test_data): Likewise.
19383 (creal_test_data): Likewise.
19384 (fabs_test_data): Likewise.
19385 (fdim_test_data): Likewise.
19386 (finite_test_data): Likewise.
19387 (floor_test_data): Likewise.
19388 (fmax_test_data): Likewise.
19389 (fmin_test_data): Likewise.
19390 (fmod_test_data): Likewise.
19391 (fpclassify_test_data): Likewise.
19392 (frexp_test_data): Likewise.
19393 (ilogb_test_data): Likewise.
19394 (isfinite_test_data): Likewise.
19395 (isgreater_test_data): Likewise.
19396 (isgreaterequal_test_data): Likewise.
19397 (isinf_test_data): Likewise.
19398 (isless_test_data): Likewise.
19399 (islessequal_test_data): Likewise.
19400 (islessgreater_test_data): Likewise.
19401 (isnan_test_data): Likewise.
19402 (isnormal_test_data): Likewise.
19403 (issignaling_test_data): Likewise.
19404 (isunordered_test_data): Likewise.
19405 (ldexp_test_data): Likewise.
19406 (lrint_test_data): Likewise.
19407 (lrint_test_data) [TEST_FLOAT]: Disable one test.
19408 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
19409 (lrint_tonearest_test_data): Test for "inexact" exceptions.
19410 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
19411 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
19412 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
19414 (lrint_towardzero_test_data): Test for "inexact" exceptions.
19415 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
19416 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
19417 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
19419 (lrint_downward_test_data): Test for "inexact" exceptions.
19420 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
19421 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
19422 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
19424 (lrint_upward_test_data): Test for "inexact" exceptions.
19425 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
19427 (llrint_test_data): Test for "inexact" exceptions.
19428 (llrint_test_data) [TEST_FLOAT]: Disable one test.
19429 (llrint_tonearest_test_data): Test for "inexact" exceptions.
19430 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
19431 (llrint_towardzero_test_data): Test for "inexact" exceptions.
19432 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
19433 (llrint_downward_test_data): Test for "inexact" exceptions.
19434 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
19435 (llrint_upward_test_data): Test for "inexact" exceptions.
19436 (logb_test_data): Likewise.
19437 (logb_downward_test_data): Likewise.
19438 (nextafter_test_data): Likewise.
19439 (nexttoward_test_data): Likewise.
19440 (remainder_test_data): Likewise.
19441 (remquo_test_data): Likewise.
19442 (scalbn_test_data): Likewise.
19443 (scalbln_test_data): Likewise.
19444 (signbit_test_data): Likewise.
19445 (sqrt_test_data): Likewise.
19446 (significand_test_data): Likewise.
19448 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
19451 * benchtests/bench-modf.c (struct args): Mark arg0 as
19453 * scripts/bench.pl: Mark members of struct args as volatile.
19455 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19458 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
19459 negative infinity on POWER6 or lower.
19460 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
19462 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
19465 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
19466 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
19467 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
19468 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
19469 (_FP_SETQNAN): New macro.
19470 (_FP_SETQNAN_SEMIRAW): Likewise.
19471 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
19472 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
19473 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
19474 (FP_EXTEND): Use _FP_FRAC_SNANP.
19475 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
19476 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
19478 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
19480 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
19483 2013-05-16 Joseph Myers <joseph@codesourcery.com>
19485 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
19486 with DIVIDE_BY_ZERO_EXCEPTION.
19487 (gamma_test_data): Likewise.
19488 (lgamma_test_data): Likewise.
19489 (log_test_data): Likewise.
19490 (log10_test_data): Likewise.
19491 (log2_test_data): Likewise.
19492 (tgamma_test_data): Likewise.
19494 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
19495 (acos_test_tonearest): Likewise.
19496 (acos_test_towardzero): Likewise.
19497 (acos_test_downward): Likewise.
19498 (acos_test_upward): Likewise.
19499 (acosh_test): Likewise.
19500 (asin_test): Likewise.
19501 (asin_test_tonearest): Likewise.
19502 (asin_test_towardzero): Likewise.
19503 (asin_test_downward): Likewise.
19504 (asin_test_upward): Likewise.
19505 (asinh_test): Likewise.
19506 (atan_test): Likewise.
19507 (atanh_test): Likewise.
19508 (atan2_test): Likewise.
19509 (cabs_test): Likewise.
19510 (cacos_test): Likewise.
19511 (cacosh_test): Likewise.
19512 (casin_test): Likewise.
19513 (casinh_test): Likewise.
19514 (catan_test): Likewise.
19515 (catanh_test): Likewise.
19516 (cbrt_test): Likewise.
19517 (ccos_test): Likewise.
19518 (ccosh_test): Likewise.
19519 (cexp_test): Likewise.
19520 (clog_test): Likewise.
19521 (clog10_test): Likewise.
19522 (cos_test): Likewise.
19523 (cos_test_tonearest): Likewise.
19524 (cos_test_towardzero): Likewise.
19525 (cos_test_downward): Likewise.
19526 (cos_test_upward): Likewise.
19527 (cosh_test): Likewise.
19528 (cosh_test_tonearest): Likewise.
19529 (cosh_test_towardzero): Likewise.
19530 (cosh_test_downward): Likewise.
19531 (cosh_test_upward): Likewise.
19532 (cpow_test): Likewise.
19533 (csin_test): Likewise.
19534 (csinh_test): Likewise.
19535 (csqrt_test): Likewise.
19536 (ctan_test): Likewise.
19537 (ctan_test_tonearest): Likewise.
19538 (ctan_test_towardzero): Likewise.
19539 (ctan_test_downward): Likewise.
19540 (ctan_test_upward): Likewise.
19541 (ctanh_test): Likewise.
19542 (ctanh_test_tonearest): Likewise.
19543 (ctanh_test_towardzero): Likewise.
19544 (ctanh_test_downward): Likewise.
19545 (ctanh_test_upward): Likewise.
19546 (erf_test): Likewise.
19547 (erfc_test): Likewise.
19548 (exp_test): Likewise.
19549 (exp_test_tonearest): Likewise.
19550 (exp_test_towardzero): Likewise.
19551 (exp_test_downward): Likewise.
19552 (exp_test_upward): Likewise.
19553 (exp10_test): Likewise.
19554 (exp2_test): Likewise.
19555 (expm1_test): Likewise.
19556 (fmod_test): Likewise.
19557 (gamma_test): Likewise.
19558 (hypot_test): Likewise.
19559 (j0_test): Likewise.
19560 (j1_test): Likewise.
19561 (jn_test): Likewise.
19562 (lgamma_test): Likewise.
19563 (log_test): Likewise.
19564 (log10_test): Likewise.
19565 (log1p_test): Likewise.
19566 (log2_test): Likewise.
19567 (logb_test_downward): Likewise.
19568 (pow_test): Likewise.
19569 (pow_test_tonearest): Likewise.
19570 (pow_test_towardzero): Likewise.
19571 (pow_test_downward): Likewise.
19572 (pow_test_upward): Likewise.
19573 (remainder_test): Likewise.
19574 (remquo_test): Likewise.
19575 (sin_test): Likewise.
19576 (sin_test_tonearest): Likewise.
19577 (sin_test_towardzero): Likewise.
19578 (sin_test_downward): Likewise.
19579 (sin_test_upward): Likewise.
19580 (sincos_test): Likewise.
19581 (sinh_test): Likewise.
19582 (sinh_test_tonearest): Likewise.
19583 (sinh_test_towardzero): Likewise.
19584 (sinh_test_downward): Likewise.
19585 (sinh_test_upward): Likewise.
19586 (sqrt_test): Likewise.
19587 (tan_test): Likewise.
19588 (tan_test_tonearest): Likewise.
19589 (tan_test_towardzero): Likewise.
19590 (tan_test_downward): Likewise.
19591 (tan_test_upward): Likewise.
19592 (tanh_test): Likewise.
19593 (tgamma_test): Likewise.
19594 (y0_test): Likewise.
19595 (y1_test): Likewise.
19596 (yn_test): Likewise.
19598 * math/gen-libm-test.pl (adjust_arg): Remove function.
19599 (special_function): Remove argument $in_func. Only handle
19600 generating output for tables of tests, not inside functions.
19601 (parse_args): Likewise.
19602 (generate_testfile): Remove variable $in_func. Update call to
19604 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
19605 (MINUS_ZERO_INIT): Rename macro to minus_zero.
19606 (PLUS_INFTY_INIT): Rename macro to plus_infty.
19607 (MINUS_INFTY_INIT): Rename macro to minus_infty.
19608 (QNAN_VALUE_INIT): Rename macro to qnan_value.
19609 (MAX_VALUE_INIT): Rename macro to max_value.
19610 (MIN_VALUE_INIT): Rename macro to min_value.
19611 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
19612 (plus_zero): Remove variable.
19613 (minus_zero): Likewise.
19614 (plus_infty): Likewise.
19615 (minus_infty): Likewise.
19616 (qnan_value): Likewise.
19617 (max_value): Likewise.
19618 (min_value): Likewise.
19619 (min_subnorm_value): Likewise.
19621 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
19623 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
19624 uint64_t or uint32_t usage.
19625 * crypt/sha256-block.c: Likewise.
19626 * crypt/sha256-crypt.c: Likewise.
19627 * crypt/sha256.c: Likewise.
19628 * crypt/sha512-block.c: Likewise.
19629 * crypt/sha512-crypt.c: Likewise.
19630 * crypt/sha512.c: Likewise.
19631 * debug/backtrace-tst.c: Likewise.
19632 * debug/pcprofiledump.c: Likewise.
19633 * elf/cache.c: Likewise.
19634 * elf/dl-cache.c: Likewise.
19635 * elf/dl-misc.c: Likewise.
19636 * elf/dl-profile.c: Likewise.
19637 * elf/dl-support.c: Likewise.
19638 * elf/ldconfig.c: Likewise.
19639 * elf/sprof.c: Likewise.
19640 * iconv/dummy-repertoire.c: Likewise.
19641 * iconv/iconv_charmap.c: Likewise.
19642 * iconv/skeleton.c: Likewise.
19643 * iconvdata/8bit-generic.c: Likewise.
19644 * iconvdata/cp737.h: Likewise.
19645 * iconvdata/cp775.h: Likewise.
19646 * iconvdata/ibm1008.h: Likewise.
19647 * iconvdata/ibm1025.h: Likewise.
19648 * iconvdata/ibm1046.h: Likewise.
19649 * iconvdata/ibm1097.h: Likewise.
19650 * iconvdata/ibm1112.h: Likewise.
19651 * iconvdata/ibm1122.h: Likewise.
19652 * iconvdata/ibm1123.h: Likewise.
19653 * iconvdata/ibm1124.h: Likewise.
19654 * iconvdata/ibm1129.h: Likewise.
19655 * iconvdata/ibm1130.h: Likewise.
19656 * iconvdata/ibm1132.h: Likewise.
19657 * iconvdata/ibm1133.h: Likewise.
19658 * iconvdata/ibm1137.h: Likewise.
19659 * iconvdata/ibm1140.h: Likewise.
19660 * iconvdata/ibm1141.h: Likewise.
19661 * iconvdata/ibm1142.h: Likewise.
19662 * iconvdata/ibm1143.h: Likewise.
19663 * iconvdata/ibm1144.h: Likewise.
19664 * iconvdata/ibm1145.h: Likewise.
19665 * iconvdata/ibm1146.h: Likewise.
19666 * iconvdata/ibm1147.h: Likewise.
19667 * iconvdata/ibm1148.h: Likewise.
19668 * iconvdata/ibm1149.h: Likewise.
19669 * iconvdata/ibm1153.h: Likewise.
19670 * iconvdata/ibm1154.h: Likewise.
19671 * iconvdata/ibm1155.h: Likewise.
19672 * iconvdata/ibm1156.h: Likewise.
19673 * iconvdata/ibm1157.h: Likewise.
19674 * iconvdata/ibm1158.h: Likewise.
19675 * iconvdata/ibm1160.h: Likewise.
19676 * iconvdata/ibm1161.h: Likewise.
19677 * iconvdata/ibm1162.h: Likewise.
19678 * iconvdata/ibm1163.h: Likewise.
19679 * iconvdata/ibm1164.h: Likewise.
19680 * iconvdata/ibm1166.h: Likewise.
19681 * iconvdata/ibm1167.h: Likewise.
19682 * iconvdata/ibm12712.h: Likewise.
19683 * iconvdata/ibm1390.h: Likewise.
19684 * iconvdata/ibm1399.h: Likewise.
19685 * iconvdata/ibm16804.h: Likewise.
19686 * iconvdata/ibm4517.h: Likewise.
19687 * iconvdata/ibm4899.h: Likewise.
19688 * iconvdata/ibm4909.h: Likewise.
19689 * iconvdata/ibm4971.h: Likewise.
19690 * iconvdata/ibm5347.h: Likewise.
19691 * iconvdata/ibm803.h: Likewise.
19692 * iconvdata/ibm856.h: Likewise.
19693 * iconvdata/ibm901.h: Likewise.
19694 * iconvdata/ibm902.h: Likewise.
19695 * iconvdata/ibm9030.h: Likewise.
19696 * iconvdata/ibm9066.h: Likewise.
19697 * iconvdata/ibm921.h: Likewise.
19698 * iconvdata/ibm922.h: Likewise.
19699 * iconvdata/ibm9448.h: Likewise.
19700 * iconvdata/isiri-3342.h: Likewise.
19701 * iconvdata/jis0201.h: Likewise.
19702 * include/link.h: Likewise.
19703 * include/netdb.h: Likewise.
19704 * inet/check_native.c: Likewise.
19705 * inet/check_pf.c: Likewise.
19706 * inet/getipv4sourcefilter.c: Likewise.
19707 * inet/getnameinfo.c: Likewise.
19708 * inet/getsourcefilter.c: Likewise.
19709 * inet/htonl.c: Likewise.
19710 * inet/setipv4sourcefilter.c: Likewise.
19711 * inet/setsourcefilter.c: Likewise.
19712 * inet/test-inet6_opt.c: Likewise.
19713 * inet/tst-network.c: Likewise.
19714 * locale/C-collate.c: Likewise.
19715 * locale/C-ctype.c: Likewise.
19716 * locale/C-time.c: Likewise.
19717 * locale/C-translit.h: Likewise.
19718 * locale/loadarchive.c: Likewise.
19719 * locale/programs/3level.h: Likewise.
19720 * locale/programs/charmap.c: Likewise.
19721 * locale/programs/charmap.h: Likewise.
19722 * locale/programs/ld-address.c: Likewise.
19723 * locale/programs/ld-collate.c: Likewise.
19724 * locale/programs/ld-ctype.c: Likewise.
19725 * locale/programs/ld-identification.c: Likewise.
19726 * locale/programs/ld-measurement.c: Likewise.
19727 * locale/programs/ld-messages.c: Likewise.
19728 * locale/programs/ld-monetary.c: Likewise.
19729 * locale/programs/ld-name.c: Likewise.
19730 * locale/programs/ld-numeric.c: Likewise.
19731 * locale/programs/ld-paper.c: Likewise.
19732 * locale/programs/ld-telephone.c: Likewise.
19733 * locale/programs/ld-time.c: Likewise.
19734 * locale/programs/linereader.c: Likewise.
19735 * locale/programs/locale.c: Likewise.
19736 * locale/programs/locarchive.c: Likewise.
19737 * locale/programs/locfile.h: Likewise.
19738 * locale/programs/repertoire.c: Likewise.
19739 * locale/programs/simple-hash.c: Likewise.
19740 * locale/programs/simple-hash.h: Likewise.
19741 * malloc/memusage.c: Likewise.
19742 * malloc/memusagestat.c: Likewise.
19743 * nis/nis_defaults.c: Likewise.
19744 * nis/nis_hash.c: Likewise.
19745 * nis/nis_print.c: Likewise.
19746 * nis/nis_xdr.c: Likewise.
19747 * nscd/connections.c: Likewise.
19748 * nscd/hstcache.c: Likewise.
19749 * nscd/nscd_gethst_r.c: Likewise.
19750 * nscd/nscd_getserv_r.c: Likewise.
19751 * nscd/nscd_helper.c: Likewise.
19752 * nscd/servicescache.c: Likewise.
19753 * nss/makedb.c: Likewise.
19754 * nss/nss_db/db-XXX.c: Likewise.
19755 * nss/nss_db/db-initgroups.c: Likewise.
19756 * nss/nss_db/db-netgrp.c: Likewise.
19757 * nss/nss_files/files-network.c: Likewise.
19758 * nss/nss_files/files-parse.c: Likewise.
19759 * posix/bug-regex5.c: Likewise.
19760 * posix/fnmatch_loop.c: Likewise.
19761 * posix/regcomp.c: Likewise.
19762 * posix/regexec.c: Likewise.
19763 * posix/tst-rfc3484-2.c: Likewise.
19764 * posix/tst-rfc3484-3.c: Likewise.
19765 * posix/tst-rfc3484.c: Likewise.
19766 * resolv/nss_dns/dns-canon.c: Likewise.
19767 * resolv/nss_dns/dns-network.c: Likewise.
19768 * resolv/res_init.c: Likewise.
19769 * resolv/res_mkquery.c: Likewise.
19770 * resolv/tst-aton.c: Likewise.
19771 * stdlib/cxa_atexit.c: Likewise.
19772 * stdlib/cxa_finalize.c: Likewise.
19773 * stdlib/gen-fpioconst.c: Likewise.
19774 * stdlib/strtol_l.c: Likewise.
19775 * string/tst-endian.c: Likewise.
19776 * sunrpc/auth_des.c: Likewise.
19777 * sunrpc/clnt_udp.c: Likewise.
19778 * sunrpc/rtime.c: Likewise.
19779 * sunrpc/svcauth_des.c: Likewise.
19780 * sunrpc/xdr.c: Likewise.
19781 * sunrpc/xdr_intXX_t.c: Likewise.
19782 * sunrpc/xdr_rec.c: Likewise.
19783 * sysdeps/generic/ldconfig.h: Likewise.
19784 * sysdeps/generic/ldsodefs.h: Likewise.
19785 * sysdeps/generic/memusage.h: Likewise.
19786 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
19787 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
19788 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
19789 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
19790 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
19791 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
19792 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
19793 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
19794 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
19795 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
19796 * sysdeps/posix/getaddrinfo.c: Likewise.
19797 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
19798 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
19799 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
19800 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
19801 * sysdeps/powerpc/test-gettimebase.c: Likewise.
19802 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
19803 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
19804 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
19805 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
19806 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
19807 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
19808 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
19809 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
19810 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
19811 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
19812 * sysdeps/x86_64/dl-tls.h: Likewise.
19813 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
19814 * time/alt_digit.c: Likewise.
19815 * time/era.c: Likewise.
19816 * wcsmbs/tst-c16c32-1.c: Likewise.
19818 2013-05-16 Joseph Myers <joseph@codesourcery.com>
19820 * math/libm-test.inc (struct test_sincos_data): New type.
19821 (RUN_TEST_LOOP_sincos): New macro.
19822 (sincos_test_data): New variable.
19823 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
19825 2013-05-16 Richard Henderson <rth@redhat.com>
19827 * math/atest-exp2.c (LIMB64): New macro.
19828 (CONSTSZ): New macro.
19829 (mp_exp1, mp_exp_m1, mp_log2): New variables.
19831 (print_mpn_fp): ... to function scope.
19832 (read_mpn_hex): Remove.
19833 (get_log2): Remove.
19834 (exp2_mpn): Use mp_log2.
19835 (main): Use mp_exp1.
19837 2013-05-16 Joseph Myers <joseph@codesourcery.com>
19839 * math/libm-test.inc: Remove comment about not testing "inexact"
19841 (INEXACT_EXCEPTION): New macro.
19842 (NO_INEXACT_EXCEPTION): Likewise.
19843 (INVALID_EXCEPTION_OK): Update value.
19844 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
19845 (OVERFLOW_EXCEPTION_OK): Likewise.
19846 (UNDERFLOW_EXCEPTION_OK): Likewise.
19847 (IGNORE_ZERO_INF_SIGN): Likewise.
19848 (ERRNO_UNCHANGED): Likewise.
19849 (ERRNO_EDOM): Likewise.
19850 (ERRNO_ERANGE): Likewise.
19851 (test_exceptions): Handle testing "inexact" exceptions.
19852 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
19853 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
19854 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
19855 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
19857 (rint_towardzero_test_data): Likewise.
19858 (rint_downward_test_data): Likewise.
19859 (rint_upward_test_data): Likewise.
19861 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
19862 with OVERFLOW_EXCEPTION.
19863 (exp10_test_data): Likewise.
19864 (exp2_test_data): Likewise.
19865 (expm1_test_data): Likewise.
19866 (lgamma_test_data): Likewise.
19867 (pow_test_data): Likewise.
19868 (tgamma_test_data): Likewise.
19869 (yn_test_data): Remove duplicate test of overflow.
19871 * math/libm-test.inc (struct test_cc_c_data): New type.
19872 (RUN_TEST_LOOP_cc_c): New macro.
19873 (cpow_test_data): New variable.
19874 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
19876 * math/libm-test.inc (struct test_f_L_data): New type.
19877 (RUN_TEST_LOOP_f_L): New macro.
19878 (llrint_test_data): New variable.
19879 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
19880 (llrint_tonearest_test_data): New variable.
19881 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
19882 (llrint_towardzero_test_data): New variable.
19883 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
19884 (llrint_downward_test_data): New variable.
19885 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
19886 (llrint_upward_test_data): New variable.
19887 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
19888 (llround_test_data): New variable.
19889 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
19891 2013-05-13 Peter Collingbourne <pcc@google.com>
19893 * math/atest-exp2.c (get_log2): Remove const attribute.
19895 2013-05-15 Joseph Myers <joseph@codesourcery.com>
19897 * math/libm-test.inc (struct test_f_l_data): New type.
19898 (RUN_TEST_LOOP_f_l): New macro.
19899 (lrint_test_data): New variable.
19900 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
19901 (lrint_tonearest_test_data): New variable.
19902 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
19903 (lrint_towardzero_test_data): New variable.
19904 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
19905 (lrint_downward_test_data): New variable.
19906 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
19907 (lrint_upward_test_data): New variable.
19908 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
19909 (lround_test_data): New variable.
19910 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
19912 2013-05-15 Peter Collingbourne <pcc@google.com>
19914 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
19915 (EXTRACT_WORDS64) Use where appropriate.
19916 (INSERT_WORDS64) Likewise.
19918 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
19919 constraints with x constraints.
19920 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
19922 * malloc/obstack.c (_obstack_compat): Add initializer.
19924 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
19926 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
19927 si_trapno and add si_addr_lsb to _sifields.sigfault.
19928 (si_trapno): Remove macro.
19929 (si_addr_lsb): Define new macro.
19930 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
19932 2013-05-15 Joseph Myers <joseph@codesourcery.com>
19934 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
19935 instead of TEST_f_l.
19936 (llrint_test_tonearest): Likewise.
19937 (llrint_test_towardzero): Likewise.
19938 (llrint_test_downward): Likewise.
19939 (llrint_test_upward): Likewise.
19940 (llround_test): Likewise.
19942 * math/libm-test.inc (struct test_f_i_data): Add comment.
19943 (RUN_TEST_LOOP_f_b): New macro.
19944 (RUN_TEST_LOOP_f_b_tg): Likewise.
19945 (finite_test_data): New variable.
19946 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
19947 (isfinite_test_data): New variable.
19948 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19949 (isinf_test_data): New variable.
19950 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19951 (isnan_test_data): New variable.
19952 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19953 (isnormal_test_data): New variable.
19954 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19955 (issignaling_test_data): New variable.
19956 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19957 (signbit_test_data): New variable.
19958 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19960 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
19961 with INVALID_EXCEPTION.
19962 (acosh_test_data): Likewise.
19963 (asin_test_data): Likewise.
19964 (atanh_test_data): Likewise.
19965 (fmod_test_data): Likewise.
19966 (log_test_data): Likewise.
19967 (log10_test_data): Likewise.
19968 (log2_test_data): Likewise.
19969 (pow_test_data): Likewise.
19970 (sqrt_test_data): Likewise.
19971 (y0_test_data): Likewise.
19972 (y1_test_data): Likewise.
19973 (yn_test_data): Likewise.
19975 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
19978 * math/libm-test.inc (struct test_ff_i_data): New type.
19979 (RUN_TEST_LOOP_ff_i_tg): New macro.
19980 (isgreater_test_data): New variable.
19981 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19982 (isgreaterequal_test_data): New variable.
19983 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19984 (isless_test_data): New variable.
19985 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19986 (islessequal_test_data): New variable.
19987 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19988 (islessgreater_test_data): New variable.
19989 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19990 (isunordered_test_data): New variable.
19991 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19993 2013-05-14 David S. Miller <davem@davemloft.net>
19995 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19997 2013-05-14 Joseph Myers <joseph@codesourcery.com>
19999 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
20001 * math/libm-test.inc (struct test_fF_f1_data): Change type of
20003 (struct test_f_i_data): Change type of max_ulp to int.
20005 * math/libm-test.inc (test_ffI_f1_data): New type.
20006 (RUN_TEST_LOOP_ffI_f1): New macro.
20007 (remquo_test_data): New variable.
20008 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
20010 * setjmp/tst-setjmp-fp.c: New file.
20011 * setjmp/Makefile (tests): Add tst-setjmp-fp.
20012 (link-libm): New variable.
20013 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
20015 * math/libm-test.inc (struct test_f_i_data): New type.
20016 (RUN_TEST_LOOP_f_i): New macro.
20017 (RUN_TEST_LOOP_f_i_tg): Likewise.
20018 (fpclassify_test_data): New variable.
20019 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
20020 (ilogb_test_data): New variable.
20021 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
20023 * math/libm-test.inc (scalbln_test): Correct function name in END
20026 * math/libm-test.inc (struct test_f_f1_data): Add comment.
20027 (RUN_TEST_LOOP_fI_f1): New macro.
20028 (frexp_test_data): New variable.
20029 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
20031 * math/libm-test.inc (struct test_fF_f1_data): New type.
20032 (RUN_TEST_LOOP_fF_f1): New macro.
20033 (modf_test_data): New variable.
20034 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
20036 * math/libm-test.inc (struct test_f_f1_data): New type.
20037 (RUN_TEST_LOOP_f_f1): New macro.
20038 (gamma_test_data): New variable.
20039 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
20040 (lgamma_test_data): New variable.
20041 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
20043 2013-05-13 Carlos O'Donell <carlos@redhat.com>
20045 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
20046 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
20047 (main): Comment "tls" pseudo-hwcap.
20049 2013-05-13 Joseph Myers <joseph@codesourcery.com>
20051 * math/libm-test.inc (struct test_fl_f_data): New type.
20052 (RUN_TEST_LOOP_fl_f): New variable.
20053 (scalbln_test_data): New variable.
20054 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
20056 * math/libm-test.inc (struct test_fi_f_data): New type.
20057 (RUN_TEST_LOOP_fi_f): New macro.
20058 (ldexp_test_data): New variable.
20059 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
20060 (scalbn_test_data): New variable.
20061 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
20063 * math/libm-test.inc (struct test_c_f_data): New type.
20064 (RUN_TEST_LOOP_c_f): New macro.
20065 (cabs_test_data): New variable.
20066 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
20067 (carg_test_data): New variable.
20068 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
20069 (cimag_test_data): New variable.
20070 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
20071 (creal_test_data): New variable.
20072 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
20074 * math/libm-test.inc (struct test_if_f_data): New type.
20075 (RUN_TEST_LOOP_if_f): New macro.
20076 (jn_test_data): New variable.
20077 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
20078 (yn_test_data): New variable.
20079 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
20081 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
20083 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20085 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
20086 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
20088 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
20090 * benchtests/Makefile (CPPFLAGS-nonlib): Add
20091 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
20092 (bench-deps): Add bench-timing.h.
20093 * benchtests-bench-skeleton.c: Include bench-timing.h.
20094 (main): Use TIMING_* macros instead of clock_gettime.
20095 * benchtests/bench-timing.h: New file.
20098 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
20099 Renamed from _LIB_VERSION.
20100 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
20102 2013-05-12 Joseph Myers <joseph@codesourcery.com>
20104 * math/libm-test.inc (struct test_fff_f_data): New type.
20105 (RUN_TEST_LOOP_fff_f): New macro.
20106 (fma_test_data): New variable.
20107 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
20108 (fma_towardzero_test_data): New variable.
20109 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
20110 (fma_downward_test_data): New variable.
20111 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
20112 (fma_upward_test_data): New variable.
20113 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
20115 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
20116 (struct test_c_c_data): New type.
20117 (RUN_TEST_LOOP_c_c): New macro.
20118 (cacos_test_data): New variable.
20119 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
20120 (cacosh_test_data): New variable.
20121 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
20122 (casin_test_data): New variable.
20123 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
20124 (casinh_test_data): New variable.
20125 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
20126 (catan_test_data): New variable.
20127 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
20128 (catanh_test_data): New variable.
20129 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
20130 (ccos_test_data): New variable.
20131 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
20132 (ccosh_test_data): New variable.
20133 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
20134 (cexp_test_data): New variable.
20135 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
20136 (clog_test_data): New variable.
20137 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
20138 (clog10_test_data): New variable.
20139 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
20140 (conj_test_data): New variable.
20141 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
20142 (cproj_test_data): New variable.
20143 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
20144 (csin_test_data): New variable.
20145 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
20146 (csinh_test_data): New variable.
20147 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
20148 (csqrt_test_data): New variable.
20149 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
20150 (ctan_test_data): New variable.
20151 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
20152 (ctan_tonearest_test_data): New variable.
20153 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
20154 (ctan_towardzero_test_data): New variable.
20155 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
20156 (ctan_downward_test_data): New variable.
20157 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
20158 (ctan_upward_test_data): New variable.
20159 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
20160 (ctanh_test_data): New variable.
20161 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
20162 (ctanh_tonearest_test_data): New variable.
20163 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
20164 (ctanh_towardzero_test_data): New variable.
20165 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
20166 (ctanh_downward_test_data): New variable.
20167 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
20168 (ctanh_upward_test_data): New variable.
20169 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
20170 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
20173 * math/libm-test.inc (struct test_ff_f_data): New type.
20174 (struct test_ff_f_data_nexttoward): Likewise.
20175 (RUN_TEST_LOOP_2_f): New macro.
20176 (RUN_TEST_LOOP_ff_f): Likewise.
20177 (atan2_test_data): New variable.
20178 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
20179 (copysign_test_data): New variable.
20180 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
20181 (fdim_test_data): New variable.
20182 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
20183 (fmax_test_data): New variable.
20184 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
20185 (fmin_test_data): New variable.
20186 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
20187 (fmod_test_data): New variable.
20188 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
20189 (hypot_test_data): New variable.
20190 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
20191 (nextafter_test_data): New variable.
20192 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
20193 (nexttoward_test_data): New variable.
20194 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
20195 (pow_test_data): New variable.
20196 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
20197 (pow_tonearest_test_data): New variable.
20198 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
20199 (pow_towardzero_test_data): New variable.
20200 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
20201 (pow_downward_test_data): New variable.
20202 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
20203 (pow_upward_test_data): New variable.
20204 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
20205 (remainder_test_data): New variable.
20206 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
20207 (scalb_test_data): New variable.
20208 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
20209 * sysdeps/i386/fpu/libm-test-ulps: Update.
20211 2013-05-11 Joseph Myers <joseph@codesourcery.com>
20213 * math/libm-test.inc (fma_test): Use max_value instead of local
20215 (nextafter_test): Likewise.
20217 * math/libm-test.inc (acos_towardzero_test_data): New variable.
20218 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20219 (acos_downward_test_data): New variable.
20220 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20221 (acos_upward_test_data): New variable.
20222 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20223 (acosh_test_data): New variable.
20224 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
20225 (asin_test_data): New variable.
20226 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
20227 (asin_tonearest_test_data): New variable.
20228 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20229 (asin_towardzero_test_data): New variable.
20230 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20231 (asin_downward_test_data): New variable.
20232 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20233 (asin_upward_test_data): New variable.
20234 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20235 (asinh_test_data): New variable.
20236 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
20237 (atan_test_data): New variable.
20238 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
20239 (atanh_test_data): New variable.
20240 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
20241 (cbrt_test_data): New variable.
20242 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
20243 (ceil_test_data): New variable.
20244 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
20245 (cos_test_data): New variable.
20246 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
20247 (cos_tonearest_test_data): New variable.
20248 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20249 (cos_towardzero_test_data): New variable.
20250 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20251 (cos_downward_test_data): New variable.
20252 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20253 (cos_upward_test_data): New variable.
20254 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20255 (cosh_test_data): New variable.
20256 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
20257 (cosh_tonearest_test_data): New variable.
20258 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20259 (cosh_towardzero_test_data): New variable.
20260 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20261 (cosh_downward_test_data): New variable.
20262 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20263 (cosh_upward_test_data): New variable.
20264 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20265 (erf_test_data): New variable.
20266 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
20267 (erfc_test_data): New variable.
20268 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
20269 (exp_test_data): New variable.
20270 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
20271 (exp_tonearest_test_data): New variable.
20272 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20273 (exp_towardzero_test_data): New variable.
20274 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20275 (exp_downward_test_data): New variable.
20276 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20277 (exp_upward_test_data): New variable.
20278 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20279 (exp10_test_data): New variable.
20280 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
20281 (exp2_test_data): New variable.
20282 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
20283 (expm1_test_data): New variable.
20284 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
20285 (fabs_test_data): New variable.
20286 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
20287 (floor_test_data): New variable.
20288 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
20289 (j0_test_data): New variable.
20290 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
20291 (j1_test_data): New variable.
20292 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
20293 (log_test_data): New variable.
20294 (log_test): Run tests with RUN_TEST_LOOP_f_f.
20295 (log10_test_data): New variable.
20296 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
20297 (log1p_test_data): New variable.
20298 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
20299 (log2_test_data): New variable.
20300 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
20301 (logb_test_data): New variable.
20302 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
20303 (logb_downward_test_data): New variable.
20304 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20305 (nearbyint_test_data): New variable.
20306 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
20307 (rint_test_data): New variable.
20308 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
20309 (rint_tonearest_test_data): New variable.
20310 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20311 (rint_towardzero_test_data): New variable.
20312 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20313 (rint_downward_test_data): New variable.
20314 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20315 (rint_upward_test_data): New variable.
20316 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20317 (round_test_data): New variable.
20318 (round_test): Run tests with RUN_TEST_LOOP_f_f.
20319 (sin_test_data): New variable.
20320 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
20321 (sin_tonearest_test_data): New variable.
20322 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20323 (sin_towardzero_test_data): New variable.
20324 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20325 (sin_downward_test_data): New variable.
20326 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20327 (sin_upward_test_data): New variable.
20328 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20329 (sinh_test_data): New variable.
20330 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
20331 (sinh_tonearest_test_data): New variable.
20332 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20333 (sinh_towardzero_test_data): New variable.
20334 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20335 (sinh_downward_test_data): New variable.
20336 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20337 (sinh_upward_test_data): New variable.
20338 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20339 (sqrt_test_data): New variable.
20340 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
20341 (tan_test_data): New variable.
20342 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
20343 (tan_tonearest_test_data): New variable.
20344 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20345 (tan_towardzero_test_data): New variable.
20346 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20347 (tan_downward_test_data): New variable.
20348 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20349 (tan_upward_test_data): New variable.
20350 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20351 (tanh_test_data): New variable.
20352 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
20353 (tgamma_test_data): New variable.
20354 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
20355 (trunc_test_data): New variable.
20356 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
20357 (y0_test_data): New variable.
20358 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
20359 (y1_test_data): New variable.
20360 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
20361 (significand_test_data): New variable.
20362 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
20364 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
20367 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
20369 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
20371 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
20373 2013-05-10 Andreas Jaeger <aj@suse.de>
20376 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
20377 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
20379 2013-05-10 Joseph Myers <joseph@codesourcery.com>
20381 * math/gen-libm-test.pl (adjust_arg): New function.
20382 (special_functions): Handle generating output in both functions
20384 (parse_args): Likewise.
20385 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
20386 $in_func argument to parse_args.
20387 * math/libm-test.inc (struct test_f_f_data): New type.
20388 (IF_ROUND_INIT_): New macro.
20389 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
20390 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
20391 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
20392 (IF_ROUND_INIT_FE_UPWARD): Likewise.
20393 (ROUND_RESTORE_): Likewise.
20394 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
20395 (ROUND_RESTORE_FE_TONEAREST): Likewise.
20396 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
20397 (ROUND_RESTORE_FE_UPWARD): Likewise.
20398 (RUN_TEST_LOOP_f_f): New macro.
20399 (acos_test_data): New variable.
20400 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
20401 (acos_tonearest_test_data): New variable.
20402 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20404 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
20406 * benchtests/bench-skeleton.c (startup): Fix coding style.
20408 2013-05-10 Joseph Myers <joseph@codesourcery.com>
20411 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
20412 negative infinity argument.
20413 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
20414 negative infinity argument.
20415 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
20416 negative infinity argument.
20417 * math/libm-test.inc (tgamma_test): Expect errno to be set for
20420 2013-05-10 Florian Weimer <fweimer@redhat.com>
20422 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
20423 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
20424 * iconv/iconv_prog.c (main): Likewise.
20425 * locale/programs/charmap-dir.c (charmap_readdir)
20426 (fopen_uncompressed): Likewise.
20427 * locale/programs/locfile.c (siblings_uncached)
20428 (write_locale_data): Use lstat64 instead of lstat.
20429 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
20432 2013-05-10 Andreas Jaeger <aj@suse.de>
20435 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
20437 Include <locale.h>.
20439 2013-05-09 Carlos O'Donell <carlos@redhat.com>
20441 * elf/dl-close.c (_dl_close_worker): Add comments.
20443 2013-05-09 Joseph Myers <joseph@codesourcery.com>
20446 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
20448 (__ieee754_rem_pio2l): Update comments.
20451 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
20453 (__ieee754_rem_pio2l): Update comments.
20455 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
20456 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
20458 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
20461 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
20462 (M_PI_34_LOG10El): Likewise.
20463 (M_PI2_LOG10El): Likewise.
20464 (M_PI4_LOG10El): Likewise.
20465 (M_PI_LOG10El): Likewise.
20467 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20469 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20471 2013-05-08 Joseph Myers <joseph@codesourcery.com>
20473 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
20474 (MINUS_ZERO_INIT): Likewise.
20475 (PLUS_INFTY_INIT): Likewise.
20476 (MINUS_INFTY_INIT): Likewise.
20477 (QNAN_VALUE_INIT): Likewise.
20478 (MAX_VALUE_INIT): Likewise.
20479 (MIN_VALUE_INIT): Likewise.
20480 (MIN_SUBNORM_VALUE_INIT): Likewise.
20481 (plus_zero): Initialize with PLUS_ZERO_INIT.
20482 (minus_zero): Initialize with MINUS_ZERO_INIT.
20483 (plus_infty): Initialize with PLUS_INFTY_INIT.
20484 (minus_infty): Initialize with MINUS_INFTY_INIT.
20485 (qnan_value): Initialize with QNAN_VALUE_INIT.
20486 (max_value): Initialize with MAX_VALUE_INIT.
20487 (min_value): Initialize with MIN_VALUE_INIT.
20488 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
20490 * math/libm-test.inc (RUN_TEST_if_f): New macro.
20491 (jn_test): Use TEST_if_f instead of TEST_ff_f.
20492 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
20493 (yn_test): Use TEST_if_f instead of TEST_ff_f.
20495 * math/libm-test.inc (RUN_TEST_f_f): New macro.
20496 (RUN_TEST_2_f): Likewise.
20497 (RUN_TEST_ff_f): Likewise.
20498 (RUN_TEST_fi_f): Likewise.
20499 (RUN_TEST_fl_f): Likewise.
20500 (RUN_TEST_fff_f): Likewise.
20501 (RUN_TEST_c_f): Likewise.
20502 (RUN_TEST_f_f1): Likewise.
20503 (RUN_TEST_fF_f1): Likewise.
20504 (RUN_TEST_fI_f1): Likewise.
20505 (RUN_TEST_ffI_f1): Likewise.
20506 (RUN_TEST_c_c): Likewise.
20507 (RUN_TEST_cc_c): Likewise.
20508 (RUN_TEST_f_i): Likewise.
20509 (RUN_TEST_f_i_tg): Likewise.
20510 (RUN_TEST_ff_i_tg): Likewise.
20511 (RUN_TEST_f_b): Likewise.
20512 (RUN_TEST_f_b_tg): Likewise.
20513 (RUN_TEST_f_l): Likewise.
20514 (RUN_TEST_f_L): Likewise.
20515 (RUN_TEST_sincos): Likewise.
20516 * math/gen-libm-test.pl (new_test): Take new argument to indicate
20517 whether to show exceptions. Do not include ");\n" in return
20519 (special_functions): Output call to RUN_TEST_sincos instead of
20520 check_float calls. Update calls to new_test.
20521 (parse_args): Output call to single RUN_TEST_* macro instead of
20522 check_* calls and other assignments. Update calls to new_test.
20528 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
20529 input to result for tgamma overflow.
20530 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
20531 (gamma_coeff): New variable.
20532 (NCOEFF): New macro.
20533 (gamma_positive): New function.
20534 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
20535 underflow here. Use gamma_positive instead of exp (lgamma) for
20537 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
20538 (gamma_coeff): New variable.
20539 (NCOEFF): New macro.
20540 (gammaf_positive): New function.
20541 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
20542 underflow here. Use gamma_positive instead of exp (lgamma) for
20544 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
20545 (gamma_coeff): New variable.
20546 (NCOEFF): New macro.
20547 (gammal_positive): New function.
20548 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
20549 underflow here. Use gamma_positive instead of exp (lgamma) for
20551 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
20552 (gamma_coeff): New variable.
20553 (NCOEFF): New macro.
20554 (gammal_positive): New function.
20555 (__ieee754_gammal_r): Handle positive infinity, overflow and
20556 underflow here. Handle NaN the same as positive infinity. Remove
20557 check x < 0xffffffff for negative integers. Use gamma_positive
20558 instead of exp (lgamma) for other arguments.
20559 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
20560 (gamma_coeff): New variable.
20561 (NCOEFF): New macro.
20562 (gammal_positive): New function.
20563 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
20564 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
20565 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
20566 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
20567 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
20568 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
20569 * sysdeps/generic/math_private.h (__gamma_productf): New
20571 (__gamma_product): Likewise.
20572 (__gamma_productl): Likewise.
20573 * math/Makefile (libm-calls): Add gamma_product.
20574 * math/libm-test.inc (tgamma_test): Add more tests.
20575 * sysdeps/i386/fpu/libm-test-ulps: Update.
20576 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20578 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
20580 * benchtests/bench-skeleton.c (main): Preheat CPU.
20582 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
20584 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
20586 2013-05-07 Roland McGrath <roland@hack.frob.com>
20588 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
20589 and _dl_skip_args_internal.
20591 2013-05-07 Carlos O'Donell <carlos@redhat.com>
20593 * manual/message.texi (Message Translation): Talk about users.
20594 Message to key mapping impacts design.
20596 2013-05-06 Roland McGrath <roland@hack.frob.com>
20598 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
20600 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
20602 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
20603 * sysdeps/wordsize-64/glob64.c: ... here.
20605 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
20606 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
20609 * debug/getlogin_r_chk.c: Moved to ...
20610 * login/getlogin_r_chk.c: ... here.
20611 * debug/Makefile (routines): Move getlogin_r_chk to ...
20612 * login/Makefile (routines): ... here.
20613 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
20614 * login/Versions (libc: GLIBC_2.4): ... here.
20616 * io/poll.c (__poll): Renamed from poll.
20617 Add libc_hidden_def.
20618 (poll): Define as weak alias.
20620 * debug/ptsname_r_chk.c: Moved to ...
20621 * login/ptsname_r_chk.c: ... here.
20622 * debug/Makefile (routines): Move ptsname_r_chk to ...
20623 * login/Makefile (routines): ... here.
20624 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
20625 * login/Versions (libc: GLIBC_2.4): ... here.
20627 * posix/getlogin.c: Moved to ...
20628 * login/getlogin.c: ... here.
20629 * posix/getlogin_r.c: Moved to ...
20630 * login/getlogin_r.c: ... here.
20631 * posix/getlogin_r.c: Moved to ...
20632 * login/getlogin_r.c: ... here.
20633 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
20634 * login/Makefile (routines): ... here.
20635 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
20636 * login/Versions (libc: GLIBC_2.0): ... here.
20638 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
20639 (setrlimit): Define as weak alias.
20641 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
20642 Call __ names for open, ftruncate, and close.
20643 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
20644 (truncate): Define as weak alias.
20646 2013-05-06 Joseph Myers <joseph@codesourcery.com>
20648 * math/gen-libm-test.pl (parse_args): Initialize x before each
20649 test of frexp, modf and remquo.
20651 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
20652 test signgam value.
20654 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20658 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
20660 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
20662 2013-05-06 Roland McGrath <roland@hack.frob.com>
20664 * elf/dl-writev.h: New file.
20665 * elf/dl-misc.c: Include it.
20666 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
20667 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
20669 2013-05-04 Joseph Myers <joseph@codesourcery.com>
20671 * math/libm-test.inc (noXFails): Remove variable.
20672 (noXPasses): Likewise.
20673 (BUILD_COMPLEX_INT): Remove macro.
20674 (print_screen): Remove xfail argument.
20675 (print_screen_max_error): Likewise.
20676 (update_stats): Likewise.
20677 (print_max_error): Likewise. Update calls to other affected
20679 (print_complex_max_error): Likewise.
20680 (test_single_exception): Update calls to print_screen.
20681 (test_single_errno): Likewise.
20682 (check_float_internal): Remove xfail argument. Update calls to
20683 other affected functions.
20684 (check_float): Likewise.
20685 (check_complex): Likewise.
20686 (check_int): Likewise.
20687 (check_long): Likewise.
20688 (check_bool): Likewise.
20689 (check_longlong): Likewise.
20690 (main): Don't print noXFails and noXPasses.
20691 * math/gen-libm-test.pl (top level): Don't mention expected
20692 failure handling in comment.
20693 (new_test): Don't handle expected failures.
20694 (parse_args): Don't mention expected failure handling in comment.
20695 (generate_testfile): Don't handle expected failures.
20696 (parse_ulps): Likewise.
20697 (print_ulps_file): Likewise.
20698 (get_failure): Remove function.
20699 (output_test): Don't handle expected failures.
20700 * make/README.libm-test: Don't mention expected failure handling.
20702 * math/libm-test.inc (plus_zero): Make const. Add initializer.
20703 (minus_zero): Likewise.
20704 (plus_infty): Likewise.
20705 (minus_infty): Likewise.
20706 (qnan_value): Likewise.
20707 (max_value): Likewise.
20708 (min_value): Likewise.
20709 (min_subnorm_value): Likewise.
20710 (initialize): Do not initialize those variables dynamically.
20712 2013-05-03 Roland McGrath <roland@hack.frob.com>
20714 * io/open.c (__open_2): Moved to ...
20715 * io/open_2.c: ... this new file.
20716 * io/open64.c (__open64_2): Moved to ...
20717 * io/open64_2.c: ... this new file.
20718 * io/openat.c (__openat_2): Moved to ...
20719 * io/openat_2.c: ... this new file.
20720 * io/openat64.c (__openat64_2): Moved to ...
20721 * io/openat64_2.c: ... this new file.
20722 * io/Makefile (routines): Add them.
20723 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
20724 * sysdeps/unix/sysv/linux/open_2.c: File removed.
20725 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
20726 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
20727 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
20728 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
20729 (__openat64): Add hidden_ver.
20730 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
20731 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
20733 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
20734 Separately conditionalize setting of GLRO(dl_sysinfo) so
20735 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
20736 as well, but the actual setting is only under [NEED_DL_SYSINFO].
20738 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20740 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
20741 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
20743 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
20744 * sysdeps/unix/sysv/linux/powerpc/init-first.c
20745 (_libc_vdso_platform_setup): Add __vdso_time initialization.
20746 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
20747 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
20749 2013-05-03 Joseph Myers <joseph@codesourcery.com>
20751 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
20752 test signgam value.
20754 * math/libm-test.inc (hypot_test): Do not use
20755 IGNORE_ZERO_INF_SIGN.
20757 2013-05-03 Andreas Jaeger <aj@suse.de>
20759 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
20761 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
20762 (PF_MAX): Adjust for VSOCK change.
20764 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20766 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20768 2013-05-02 Carlos O'Donell <carlos@redhat.com>
20771 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
20772 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
20773 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
20775 2013-05-02 David S. Miller <davem@davemloft.net>
20777 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20779 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
20781 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
20783 2013-05-01 Roland McGrath <roland@hack.frob.com>
20785 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
20787 2013-05-01 Richard Smith <richard@metafoo.co.uk>
20790 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
20791 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
20792 Use __attribute__ ((__gnu_inline__)).
20793 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
20794 Don't use __attribute__ ((__gnu_inline__)).
20796 2013-05-01 Joseph Myers <joseph@codesourcery.com>
20799 * math/s_catan.c (__catan): Handle small real or imaginary part of
20800 input specially to avoid spurious underflow.
20801 * math/s_catanf.c (__catanf): Likewise.
20802 * math/s_catanh.c (__catanh): Likewise.
20803 * math/s_catanhf.c (__catanhf): Likewise.
20804 * math/s_catanhl.c (__catanhl): Likewise.
20805 * math/s_catanl.c (__catanl): Likewise.
20806 * math/libm-test.inc (catan_test): Add more tests.
20807 (catanh_test): Likewise.
20808 * sysdeps/i386/fpu/libm-test-ulps: Update.
20809 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20811 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20813 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20815 2013-04-30 Joseph Myers <joseph@codesourcery.com>
20818 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
20819 accurately for denominator in atan2.
20820 * math/s_catanf.c (__catanf): Likewise.
20821 * math/s_catanh.c (__catanh): Likewise.
20822 * math/s_catanhf.c (__catanhf): Likewise.
20823 * math/s_catanhl.c (__catanhl): Likewise.
20824 * math/s_catanl.c (__catanl): Likewise.
20825 * math/libm-test.inc (catan_test): Add more tests.
20826 (catanh_test): Likewise.
20827 * sysdeps/i386/fpu/libm-test-ulps: Update.
20828 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20830 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
20832 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
20834 * benchtests/Makefile (bench): Remove slow benchmarks.
20835 * benchtests/atan-inputs: Add slow benchmark inputs.
20836 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
20837 (BENCH_FUNC): Accept variant offset.
20839 * benchtests/bench-skeleton.c (main): Run benchmark for each
20841 * benchtests/cos-inputs: Add slow benchmark inputs.
20842 * benchtests/exp-inputs: Likewise.
20843 * benchtests/pow-inputs: Likewise.
20844 * benchtests/sin-inputs: Likewise.
20845 * benchtests/slowatan-inputs: Remove.
20846 * benchtests/slowatan.c: Remove.
20847 * benchtests/slowcos-inputs: Remove.
20848 * benchtests/slowcos.c: Remove.
20849 * benchtests/slowexp-inputs: Remove.
20850 * benchtests/slowexp.c: Remove.
20851 * benchtests/slowpow-inputs: Remove.
20852 * benchtests/slowpow.c: Remove.
20853 * benchtests/slowsin-inputs: Remove.
20854 * benchtests/slowsin.c: Remove.
20855 * benchtests/slowtan-inputs: Remove.
20856 * benchtests/slowtan.c: Remove.
20857 * benchtests/tan-inputs: Add slow benchmark inputs.
20858 * scripts/bench.pl: Parse comments and directives.
20860 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
20862 ($(objpfx)bench-%.c): Remove *-ITER.
20863 * benchtests/bench-modf.c: Remove definition of ITER.
20864 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
20865 (main): Loop for DURATION seconds instead of fixed number of
20867 * scripts/bench.pl: Don't expect iterations in parameters.
20869 2013-04-29 Roland McGrath <roland@hack.frob.com>
20871 * io/fchdir.c (__fchdir): Renamed from fchdir.
20872 (fchdir): Define as weak alias.
20874 2013-04-29 Joseph Myers <joseph@codesourcery.com>
20876 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
20877 (ERRNO_EDOM): Likewise.
20878 (ERRNO_ERANGE): Likewise.
20879 (noErrnoTests): New variable.
20880 (init_max_error): Set errno to 0.
20881 (test_single_errno): New function.
20882 (test_errno): Likewise.
20883 (check_float_internal): Call test_errno. Set errno to 0.
20884 (check_complex): Refer to errno tests in comment.
20885 (check_int): Call test_errno. Set errno to 0.
20886 (check_long): Likewise.
20887 (check_bool): Likewise.
20888 (check_longlong): Likewise.
20889 (cos_test): Use ERRNO_* flags for errno tests instead of
20891 (expm1_test): Likewise.
20892 (fmod_test): Likewise.
20893 (ilogb_test): Likewise.
20894 (lgamma_test): Likewise.
20895 (pow_test): Likewise.
20896 (remainder_test): Likewise.
20897 (sin_test): Likewise.
20898 (tan_test): Likewise.
20899 (yn_test): Likewise.
20900 (initialize): Set errno to 0.
20901 (main): Print number of errno tests.
20902 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
20904 2013-04-29 Andreas Jaeger <aj@suse.de>
20907 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
20911 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
20912 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
20916 * stdlib/random.c (__initstate): Return NULL if
20920 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
20921 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
20924 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20926 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20928 2013-04-29 Joseph Myers <joseph@codesourcery.com>
20930 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
20931 of individual tests.
20932 (casin_test): Likewise.
20933 (casinh_test): Likewise.
20935 2013-04-27 Joseph Myers <joseph@codesourcery.com>
20938 * math/s_catan.c (__catan): Handle arguments with large real or
20939 imaginary part separately without squaring.
20940 * math/s_catanf.c (__catanf): Likewise.
20941 * math/s_catanh.c (__catanh): Likewise.
20942 * math/s_catanhf.c (__catanhf): Likewise.
20943 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
20945 (__catanhl): Handle arguments with large real or imaginary part
20946 separately without squaring.
20947 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
20949 (__catanl): Handle arguments with large real or imaginary part
20950 separately without squaring.
20951 * math/libm-test.inc (catan_test): Add more tests.
20952 (catanh_test): Likewise.
20953 * sysdeps/i386/fpu/libm-test-ulps: Update.
20954 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20956 2013-04-27 Andreas Jaeger <aj@suse.de>
20959 * stdlib/stdlib.h: Update guards for qecvt.
20960 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
20963 2013-04-27 Allan McRae <allan@archlinux.org>
20965 * sysdeps/i386/fpu/libm-test-ulps: Update.
20967 2013-04-26 Joseph Myers <joseph@codesourcery.com>
20970 * math/s_catan.c: Include <float.h>.
20971 (__catan): Ensure underflow exception occurs for underflowed
20973 * math/s_catanf.c: Include <float.h>.
20974 (__catanf): Ensure underflow exception occurs for underflowed
20976 * math/s_catanh.c: Include <float.h>.
20977 (__catanh): Ensure underflow exception occurs for underflowed
20979 * math/s_catanhf.c: Include <float.h>.
20980 (__catanhf): Ensure underflow exception occurs for underflowed
20982 * math/s_catanhl.c: Include <float.h>.
20983 (__catanhl): Ensure underflow exception occurs for underflowed
20985 * math/s_catanl.c: Include <float.h>.
20986 (__catanl): Ensure underflow exception occurs for underflowed
20988 * math/libm-test.inc (catan_test): Add more tests.
20989 (catanh_test): Likewise.
20992 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
20993 underflowed result.
20994 * math/s_ccoshf.c (__ccoshf): Likewise.
20995 * math/s_ccoshl.c (__ccoshl): Likewise.
20996 * math/s_csin.c (__csin): Likewise.
20997 * math/s_csinf.c (__csinf): Likewise.
20998 * math/s_csinh.c (__csinh): Likewise.
20999 * math/s_csinhf.c (__csinhf): Likewise.
21000 * math/s_csinhl.c (__csinhl): Likewise.
21001 * math/s_csinl.c (__csinl): Likewise.
21002 * math/libm-test.inc (ccos_test): Add more tests.
21003 (ccosh_test): Likewise.
21004 (csin_test): Likewise.
21005 (csinh_test): Likewise.
21007 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21009 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
21010 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
21011 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
21012 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
21013 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
21014 powerpc/power5+/fpu folders.
21015 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
21018 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
21020 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21022 2013-04-25 Joseph Myers <joseph@codesourcery.com>
21024 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
21025 additions to variable.
21026 [$(config-machine) = x86_64] (modules-names): Likewise.
21027 ($(objpfx)tst-audit3): Remove dependency.
21028 ($(objpfx)tst-audit3.out): Likewise.
21029 ($(objpfx)tst-audit4): Likewise.
21030 ($(objpfx)tst-audit4.out): Likewise.
21031 ($(objpfx)tst-audit5): Likewise.
21032 ($(objpfx)tst-audit5.out): Likewise.
21033 ($(objpfx)tst-audit6): Likewise.
21034 ($(objpfx)tst-audit6.out): Likewise.
21035 ($(objpfx)tst-audit7): Likewise.
21036 ($(objpfx)tst-audit7.out): Likewise.
21037 (tst-audit3-ENV): Remove variable.
21038 (tst-audit4-ENV): Likewise.
21039 (tst-audit5-ENV): Likewise.
21040 (tst-audit6-ENV): Likewise.
21041 (tst-audit7-ENV): Likewise.
21042 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
21043 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
21044 addition to variable.
21045 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
21046 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
21047 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
21048 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
21049 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
21050 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
21051 tst-audit3, tst-audit4 and tst-audit5.
21052 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
21053 tst-audit6 and tst-audit7.
21054 [$(subdir) = elf] (modules-names): Add audit modules for those
21056 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
21057 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
21058 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
21059 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
21060 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
21061 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
21062 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
21063 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
21064 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
21065 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
21066 [$(subdir) = elf] (tst-audit3-ENV): New variable.
21067 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
21068 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
21069 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
21070 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
21071 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
21073 [$(subdir) = elf && $(config-cflags-avx) = yes]
21074 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
21075 [$(subdir) = elf && $(config-cflags-avx) = yes]
21076 (CFLAGS-tst-auditmod4a.c): Likewise.
21077 [$(subdir) = elf && $(config-cflags-avx) = yes]
21078 (CFLAGS-tst-auditmod4b.c): Likewise.
21079 [$(subdir) = elf && $(config-cflags-avx) = yes]
21080 (CFLAGS-tst-auditmod6b.c): Likewise.
21081 [$(subdir) = elf && $(config-cflags-avx) = yes]
21082 (CFLAGS-tst-auditmod6c.c): Likewise.
21083 [$(subdir) = elf && $(config-cflags-avx) = yes]
21084 (CFLAGS-tst-auditmod7b.c): Likewise.
21085 * elf/tst-audit3.c: Move to ...
21086 * sysdeps/x86_64/tst-audit3.c: ... here.
21087 * elf/tst-audit4.c: Move to ...
21088 * sysdeps/x86_64/tst-audit4.c: ... here.
21089 * elf/tst-audit5.c: Move to ...
21090 * sysdeps/x86_64/tst-audit5.c: ... here.
21091 * elf/tst-audit6.c: Move to ...
21092 * sysdeps/x86_64/tst-audit6.c: ... here.
21093 * elf/tst-audit7.c: Move to ...
21094 * sysdeps/x86_64/tst-audit7.c: ... here.
21095 * elf/tst-auditmod3a.c: Move to ...
21096 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
21097 * elf/tst-auditmod3b.c: Move to ...
21098 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
21099 * elf/tst-auditmod4a.c: Move to ...
21100 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
21101 * elf/tst-auditmod4b.c: Move to ...
21102 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
21103 * elf/tst-auditmod5a.c: Move to ...
21104 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
21105 * elf/tst-auditmod5b.c: Move to ...
21106 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
21107 * elf/tst-auditmod6a.c: Move to ...
21108 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
21109 * elf/tst-auditmod6b.c: Move to ...
21110 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
21111 * elf/tst-auditmod6c.c: Move to ...
21112 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
21113 * elf/tst-auditmod7a.c: Move to ...
21114 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
21115 * elf/tst-auditmod7b.c: Move to ...
21116 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
21118 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
21121 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
21122 define unconditionally.
21123 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
21124 define unconditionally.
21125 (INT8_C, INT16_C, etc.): Likewise.
21127 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
21129 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
21130 __ehdr_start with hidden visibility.
21132 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
21134 2013-04-24 Carlos O'Donell <carlos@redhat.com>
21136 * math/libm-test.inc (cos_test): Use accurate hex constants.
21137 (sincost_test): Likewise.
21139 2013-04-24 Joseph Myers <joseph@codesourcery.com>
21141 * math/libm-test.inc (catan_test): Add more tests.
21142 (catanh_test): Likewise.
21144 * math/s_catanf.c (__catanf): Use suffixed floating-point
21146 * math/s_catanhf.c (__catanhf): Likewise.
21147 * math/s_catanhl.c (__catanhl): Likewise.
21148 * math/s_catanl.c (__catanl): Likewise.
21151 * math/s_catan.c (__catan): Calculate imaginary part of result
21152 with log1p not log unless computing log of number close to 0.
21153 * math/s_catanf.c (__catanf): Likewise.
21154 * math/s_catanl.c (__catanl): Likewise.
21155 * math/s_catanh.c (__catanh): Calculate real part of result with
21156 log1p not log unless computing log of number close to 0.
21157 * math/s_catanhf.c (__catanhf): Likewise.
21158 * math/s_catanhl.c (__catanhl): Likewise.
21159 * math/libm-test.inc (catan_test): Add more tests.
21160 (catanh_test): Likewise.
21161 * sysdeps/i386/fpu/libm-test-ulps: Update.
21162 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21164 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
21166 * benchtests/Makefile: Mention files in which fast and slow
21167 paths of math functions are implemented.
21169 2013-04-23 Roland McGrath <roland@hack.frob.com>
21171 * sysdeps/posix/timespec_get.c: New file.
21173 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21175 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
21177 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
21179 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
21180 powerpc/power5/fpu folders.
21181 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
21182 * benchtests/Makefile: Add modf testcase.
21183 * benchtests/bench-modf.c: New file: Benchmark test for mo
21185 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
21188 * time/Makefile (tests): Add tst-strptime-whitespace.
21189 * time/strptime_l.c (get_number): Use ISSPACE.
21190 (__strptime_internal): Likewise.
21191 * time/tst-strptime-whitespace.c: New test case.
21193 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
21195 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
21197 (_nss_files_init): Set it here.
21199 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
21201 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
21202 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
21205 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
21207 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
21209 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
21211 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
21214 2013-04-21 David S. Miller <davem@davemloft.net>
21216 * po/ru.po: Update Russion translation from translation project.
21218 2013-04-17 Adam Conrad <adconrad@0c3.net>
21220 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
21223 2013-04-17 Carlos O'Donell <carlos@redhat.com>
21225 * configure.in: Remove i386 configure warning. Remove i386 case.
21226 * configure: Regenerate.
21227 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
21228 Add example to error message.
21229 * sysdeps/i386/configure: Regenerate.
21231 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
21233 * benchtests/Makefile (bench): Add cos, tan, slowcos and
21235 * benchtests/cos-inputs: New file.
21236 * benchtests/slowcos-inputs: New file.
21237 * benchtests/slowcos.c: New file.
21238 * benchtests/slowtan-inputs: New file.
21239 * benchtests/slowtan.c: New file.
21240 * benchtests/tan-inputs: New file.
21242 2013-04-16 Roland McGrath <roland@hack.frob.com>
21244 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
21247 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
21249 * benchtests/Makefile: Include cppflags-iterator.mk to add
21250 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
21252 * Makefile.in (bench-clean): New target.
21253 * benchtests/Makefile (bench-clean): Likewise.
21255 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
21257 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
21259 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
21261 * stdio-common/tstdiomisc.c: Fix coding-style violation.
21263 2013-04-15 Andreas Schwab <schwab@suse.de>
21265 * nscd/grpcache.c (cache_addgr): Properly check for short write.
21266 * nscd/initgrcache.c (addinitgroupsX): Likewise.
21267 * nscd/pwdcache.c (cache_addpw): Likewise.
21268 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
21271 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
21273 * benchtests/Makefile (bench): Write all output to
21274 bench-out.tmp together.
21276 2013-04-15 Andreas Schwab <schwab@suse.de>
21278 * nscd/nscd.c (main): Don't fork again after closing files.
21280 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
21282 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
21284 * benchtests/Rules (bench-deps): Collect dependencies into a
21285 single variable. Add Makefile to dependencies.
21286 ($(objpfx)bench-%.c): Depend on bench-deps.
21288 2013-04-12 Roland McGrath <roland@hack.frob.com>
21289 Xavier Roche <roche+kml2@exalead.com>
21292 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
21293 just that it's a file descriptor.
21294 * manual/llio.texi (Synchronizing AIO Operations): Update description
21295 for EBADF error from aio_fsync.
21297 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
21299 * Rules (bench): Move target definition...
21300 * benchtests/Makefile: ... here.
21302 2013-04-11 Carlos O'Donell <carlos@redhat.com>
21304 * math/libm-test.inc (cos_test): Fix PI/2 test.
21305 (sincos_test): Likewise.
21306 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
21307 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
21309 2013-04-11 Andreas Schwab <schwab@suse.de>
21312 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
21313 accept exponent character only when digits were seen.
21314 * stdio-common/Makefile (tests): Add bug26.
21315 * stdio-common/bug26.c: New file.
21318 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
21321 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
21323 * Makeconfig (rtld-prefix): Define built linker prefix.
21324 * Rules (run-bench): Use it.
21325 * math/Makefile (run-regen-ulps): Likewise.
21327 * Rules (bench): Remove eval.
21329 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
21330 Roland McGrath <roland@hack.frob.com>
21331 Ondrej Bilka <neleai@seznam.cz>
21334 * time/getdate.c: Include ctype.h and alloca.h.
21335 (__getdate_r): Trim leading and trailing spaces of input.
21336 * time/tst-getdate.c (tests): Add tests with leading and
21339 2013-04-08 Roland McGrath <roland@hack.frob.com>
21342 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
21343 when computing value.
21345 2013-04-06 Carlos O'Donell <carlos@redhat.com>
21347 * math/README.libm-test (How can I generate "libm-test-ulps"?):
21348 Use testrun.sh to run libm tests.
21351 * elf/dl-open.c (dl_open_worker): memset all of seen array.
21353 2013-04-06 Marko Myllynen <myllynen@redhat.com>
21356 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
21358 2013-04-06 Carlos O'Donell <carlos@redhat.com>
21360 * Makefile.in (regen-ulps): New target.
21361 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
21362 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
21363 [ifneq (no,$(PERL)] (regen-ulps): New target.
21364 [ifeq (no,$(PERL)] (regen-ulps): New target.
21365 * math/libm-test.inc (ulps_file_name): Define.
21366 (output_dir): New variable.
21367 (options): Add "output-dir" option.
21368 (parse_opt): Handle 'o' case.
21369 (main): If output_dir is non-NULL use it as a prefix
21371 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
21373 2013-04-06 Carlos O'Donell <carlos@redhat.com>
21375 [BZ #10060, #10062]
21376 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
21377 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
21378 fail configure if __sync_val_compare_and_swap is not inlined.
21379 * sysdeps/i386/configure: Regenerate.
21380 * configure.in: Build for i686 when configured for i386.
21381 * configure: Regenerate.
21382 * README: Remove i386 reference.
21384 2013-04-06 Carlos O'Donell <carlos@redhat.com>
21386 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
21387 * sysdeps/s390/s390-64/sysdep.h: Likewise.
21389 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
21391 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
21392 (lmsnanval): New variables.
21393 (F): Add conversion tests.
21394 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
21395 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
21397 * stdio-common/tstdiomisc.c (F): Properly collect individual
21400 [BZ #14686, #15336]
21401 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
21402 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
21403 Instead, use input NaN values or generate a qNaN by arithmetic
21404 operation. Also fix bugs to comply with the standard.
21405 * math/libm-test.inc (remainder_test): Add more tests.
21407 [BZ #15335, #15342]
21408 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
21409 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
21410 input NaN values or generate a qNaN by arithmetic operation.
21412 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
21415 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
21418 2013-04-03 Joseph Myers <joseph@codesourcery.com>
21421 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
21422 underflowed result.
21423 * math/s_cexpf.c (__cexpf): Likewise.
21424 * math/s_cexpl.c (__cexpl): Likewise.
21425 * math/libm-test.inc (cexp_test): Add more tests.
21427 2013-04-03 Andreas Schwab <schwab@suse.de>
21430 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
21431 order arrays from heap if bigger than alloca cutoff.
21433 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
21435 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
21436 (SNAN_TESTS_double): Refer to GCC PR56831.
21437 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
21440 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
21442 * Rules (bench): Move bench.out after the run is complete.
21444 * Rules (bench): Echo currently running benchmark.
21446 * benchtests/Makefile (bench): Add atan and slowatan.
21447 * benchtests/atan-inputs: New file.
21448 * benchtests/slowatan-inputs: New file.
21449 * benchtests/slowatan.c: New file.
21451 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
21452 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
21456 * sysdeps/unix/sysv/linux/kernel-features.h
21457 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
21458 __ASSUME_XFS_RESTRICTED_CHOWN.
21459 * sysdeps/unix/sysv/linux/pathconf.c
21460 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
21461 Save and restore errno.
21463 2013-04-02 Joseph Myers <joseph@codesourcery.com>
21466 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
21467 arguments using __kernel_casinh.
21468 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
21469 arguments using __kernel_casinhf.
21470 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
21471 arguments using __kernel_casinhl.
21472 * math/libm-test.inc (cacosh_test): Add more tests.
21473 * sysdeps/i386/fpu/libm-test-ulps: Update.
21474 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21476 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
21478 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
21479 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
21481 * bench/Makefile (bench): Add sin and slowsin.
21482 * benchtests/sin-inputs: New file.
21483 * benchtests/slowsin-inputs: New file.
21484 * benchtests/slowsin.c: New file.
21486 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
21487 (bench): Add slowexp and slowpow.
21488 (exp-ITER): Increase iterations.
21489 (pow-ITER): Likewise.
21490 * benchtests/exp-inputs: Change input.
21491 * benchtests/pow-inputs: Likewise.
21492 * benchtests/slowexp-inputs: New file.
21493 * benchtests/slowexp.c: New file.
21494 * benchtests/slowpow-inputs: New file.
21495 * benchtests/slowpow.c: New file.
21497 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21499 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
21501 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
21502 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
21503 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
21504 * benchtests/Makefile: Add rint benchtest.
21505 * benchtests/rint-inputs: Input for rint benchtest.
21507 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
21509 * Versions.def (libm): Add GLIBC_2.18.
21510 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
21511 hidden libm prototypes.
21512 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
21513 * math/Makefile (libm-calls): Add s_issignaling.
21514 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
21515 __issignalingf, __issignalingl. Adjust all libm.abilist files.
21516 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
21518 * math/math.h [__USE_GNU] (issignaling): New macro.
21519 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
21520 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
21521 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
21522 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
21523 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
21524 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
21525 * manual/arith.texi (issignaling): New section.
21526 * manual/libm-err-tab.pl (@all_functions): Update comment.
21527 * math/gen-libm-test.pl (parse_args): Apply special handling for
21529 * math/libm-test.inc (print_float, issignaling_test): New
21531 (check_float_internal): Add issignaling checks.
21532 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
21533 default definition.
21534 * sysdeps/powerpc/math-tests.h: New file.
21535 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
21537 * math/test-snan.c (TEST_FUNC): Likewise.
21539 2013-03-30 David S. Miller <davem@davemloft.net>
21541 * po/de.po: Update from translation team.
21543 2013-03-30 Joseph Myers <joseph@codesourcery.com>
21546 * math/k_casinh.c (__kernel_casinh): Handle arguments with
21547 imaginary part less than 1.0 and real part less than 0.5
21549 * math/k_casinhf.c (__kernel_casinhf): Likewise.
21550 * math/k_casinhl.c (__kernel_casinhl): Likewise.
21551 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
21552 (cacos_test): Add more tests.
21553 (casin_test): Likewise.
21554 (casinh_test): Likewise.
21555 * sysdeps/i386/fpu/libm-test-ulps: Update.
21556 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21558 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
21560 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
21561 ONE with its value.
21563 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
21564 (__pow_mp): Replace ONE and MONE with their values.
21565 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
21566 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
21567 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
21568 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
21569 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
21570 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
21572 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
21574 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
21575 (__pow_mp): Replace ZERO and MZERO with their values.
21576 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
21577 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
21578 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
21579 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
21580 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
21581 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
21584 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
21586 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
21588 2013-03-28 Roland McGrath <roland@hack.frob.com>
21590 * include/stdlib.h [!SHARED] (__call_tls_dtors):
21591 Declare with __attribute__ ((weak)).
21592 * stdlib/exit.c (__libc_atexit) [!SHARED]:
21593 Call __call_tls_dtors only if it's not NULL.
21595 2013-03-28 Roland McGrath <roland@hack.frob.com>
21597 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
21598 didn't do it already, then set _dl_phdr and _dl_phnum based on the
21599 magic __ehdr_start linker symbol if it's defined.
21600 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
21601 them up here if it was already done.
21603 * elf/dl-support.c (_dl_phdr): Make pointer to const.
21604 (_dl_aux_init): Use const in cast when setting it.
21605 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
21606 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
21607 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
21609 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
21611 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
21612 * csu/libc-tls.c: Nor here.
21613 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
21615 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
21616 (__libc_message): Never call vsyslog.
21618 2013-03-28 Alan Modra <amodra@gmail.com>
21620 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
21622 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
21625 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21628 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
21630 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21632 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21635 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
21636 Don't add gid passed as argument.
21638 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
21640 2013-03-27 Joseph Myers <joseph@codesourcery.com>
21643 * math/k_casinh.c (__kernel_casinh): Handle arguments with
21644 imaginary part between 1.0 and 1.5 and real part less than 0.5
21646 * math/k_casinhf.c (__kernel_casinhf): Likewise.
21647 * math/k_casinhl.c (__kernel_casinhl): Likewise.
21648 * math/libm-test.inc (cacos_test): Add more tests.
21649 (casin_test): Likewise.
21650 (casinh_test): Likewise.
21651 * sysdeps/i386/fpu/libm-test-ulps: Update.
21652 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21654 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
21656 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
21659 (denorm): Likewise.
21660 (__dbl_mp): Likewise.
21661 (add_magnitudes): Likewise.
21662 (sub_magnitudes): Likewise.
21670 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
21672 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
21673 (__dubcos): Likewise.
21674 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
21675 (__ieee754_acos): Likewise.
21676 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
21677 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
21678 (__exp1): Likewise.
21679 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
21680 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
21682 (my_log2): Likewise.
21683 (checkint): Likewise.
21684 * sysdeps/ieee754/dbl-64/e_remainder.c
21685 (__ieee754_remainder): Likewise.
21686 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
21687 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
21688 (bsloww): Likewise.
21689 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
21691 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
21692 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
21693 MANTISSA_STORE_T to store computations on mantissa. Use
21694 macros for rounding and division.
21695 (denorm): Likewise.
21696 (__dbl_mp): Likewise.
21697 (add_magnitudes): Likewise.
21698 (sub_magnitudes): Likewise.
21701 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
21702 powers of two in terms of TWOPOW macro.
21703 (mp_no): Make type of mantissa as MANTISSA_T.
21704 [!RADIXI]: Define RADIXI.
21705 [!TWO52]: Define TWO52.
21706 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
21708 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21710 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
21711 llroundl symbol when building for PPC32.
21713 2013-03-24 Mark H Weaver <mhw@netris.org>
21715 * manual/arith.texi (Normalization Functions): Fix prototypes for
21716 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
21718 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21721 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
21722 high value to check if expl overflow.
21723 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
21724 to check for underflow and overflow.
21725 * math/libm-test.inc: Add exp test.
21727 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
21730 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
21733 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21735 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
21738 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
21740 * math/gen-libm-test.pl (parse_args, special_functions): Properly
21741 wrap blocks consisting of several statements.
21743 * sysdeps/generic/math-tests.h: New file.
21744 * sysdeps/i386/fpu/math-tests.h: Likewise.
21745 * math/test-snan.c: Include it.
21746 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
21748 2013-03-21 Joseph Myers <joseph@codesourcery.com>
21751 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
21752 (__ieee754_j0l): Do not improve calculations using cos of twice
21753 input for inputs above LDBL_MAX / 2.0L.
21754 (__ieee754_y0l): Likewise.
21755 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
21756 (__ieee754_j1l): Do not improve calculations using cos of twice
21757 input for inputs above LDBL_MAX / 2.0L.
21758 (__ieee754_y1l): Likewise.
21759 * math/libm-test.inc (j0_test): Add another test.
21760 (j1_test): Likewise.
21761 (y0_test): Likewise.
21762 (y1_test): Likewise.
21763 * sysdeps/i386/fpu/libm-test-ulps: Update.
21765 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
21767 * Rules ($(objpfx)bench-%.c): Include code from a C source
21770 2013-03-21 Joseph Myers <joseph@codesourcery.com>
21773 * math/k_casinh.c (__kernel_casinh): Handle arguments with
21774 imaginary part 1.0 and real part less than 0.5 specially.
21775 * math/k_casinhf.c (__kernel_casinhf): Likewise.
21776 * math/k_casinhl.c (__kernel_casinhl): Likewise.
21777 * math/libm-test.inc (cacos_test): Add more tests.
21778 (casin_test): Likewise.
21779 (casinh_test): Likewise.
21780 * sysdeps/i386/fpu/libm-test-ulps: Update.
21781 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21783 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
21785 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
21786 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
21788 2013-03-20 Joseph Myers <joseph@codesourcery.com>
21790 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
21791 * config.make.in (config-cflags-sse4): Remove variable.
21792 (config-cflags-avx): Likewise.
21793 (config-cflags-sse2avx): Likewise.
21794 (config-cflags-novzeroupper): Likewise.
21795 (config-asflags-i686): Likewise.
21796 (have-mfma4): Likewise.
21797 (have-as-vis3): Likewise.
21799 * configure.in (MIG): Do not AC_SUBST.
21800 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
21801 (libc_cv_cc_sse4): Do not AC_SUBST.
21802 (libc_cv_cc_avx): Likewise.
21803 (libc_cv_cc_sse2avx): Likewise.
21804 (libc_cv_cc_novzeroupper): Likewise.
21805 (libc_cv_cc_fma4): Likewise.
21806 (libc_cv_as_i686): Likewise.
21807 (libc_cv_sparc_as_vis3): Likewise.
21808 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
21810 (config-asflags-i686): Likewise.
21811 (config-cflags-avx): Likewise.
21812 (config-cflags-sse2avx): Likewise.
21813 (have-mfma4): Likewise.
21814 (config-cflags-novzeroupper): Likewise.
21815 * sysdeps/mach/configure.in (MIG): Likewise.
21816 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
21817 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
21819 (config-cflags-avx): Likewise.
21820 (config-cflags-sse2avx): Likewise.
21821 (have-mfma4): Likewise.
21822 (config-cflags-novzeroupper): Likewise.
21823 * configure: Regenerated.
21824 * sysdeps/i386/configure: Likewise.
21825 * sysdeps/mach/configure: Likewise.
21826 * sysdeps/sparc/configure: Likewise.
21827 * sysdeps/x86_64/configure: Likewise.
21829 2013-03-20 Roland McGrath <roland@hack.frob.com>
21832 * locale/programs/localedef.c (options): Put N_ translation marker
21833 on argument names, not just descriptions.
21835 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21837 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
21839 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
21842 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
21844 2013-03-19 Roland McGrath <roland@hack.frob.com>
21846 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
21847 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
21848 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
21849 [!BEFORE_ABORT] (before_abort): New function.
21850 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
21851 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
21852 (writev_for_fatal): New function.
21853 (WRITEV_FOR_FATAL): New macro; call that.
21854 (backtrace_and_maps): New function.
21855 (BEFORE_ABORT): New macro; call that.
21856 (struct str_list): Type removed.
21857 (__libc_message, __libc_fatal): Functions removed.
21858 Include <sysdeps/posix/libc_fatal.c> instead.
21860 2013-03-19 Joseph Myers <joseph@codesourcery.com>
21862 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
21864 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
21867 2013-03-19 Andreas Schwab <schwab@suse.de>
21869 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
21870 * sysdeps/gnu/configure: Regenerate.
21872 * configure.in: Substitute libc_cv_rtlddir.
21873 * configure: Regenerate.
21874 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
21875 * Makeconfig (rtlddir, inst_rtlddir): New variables.
21876 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
21877 * elf/Makefile (install-others, CFLAGS-interp.c)
21878 (ldso_install, common-ldd-rewrite): Likewise.
21879 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
21880 $(inst_slibdir)/$(rtld-installed-name).
21881 * scripts/rellns-sh: Add -p option.
21882 * Makerules (make-shlib-link): Use rellns-sh to get relative name
21885 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
21887 * manual/nptl.texi: Renamed to ...
21888 * manual/threads.texi: ... this.
21889 * manual/Makefile (chapters): Update.
21891 2013-03-18 Roland McGrath <roland@hack.frob.com>
21894 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
21895 on argument names, not just descriptions.
21896 * malloc/memusagestat.c (options): Likewise.
21897 * nss/getent.c (options): Likewise.
21899 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
21902 * iconv/iconv_prog.c (options): Put N_ translation marker
21903 on argument names, not just descriptions.
21904 * iconv/iconvconfig.c (options): Likewise.
21906 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
21908 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
21909 implementation which is faster on all x86_64 architectures.
21910 Tested on AMD, Intel Nehalem, SNB, IVB.
21911 * sysdeps/x86_64/strnlen.S: Likewise.
21913 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
21914 Remove all multiarch strlen and strnlen versions.
21915 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
21916 Remove strlen and strnlen related parts.
21918 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
21919 Inline strlen part.
21920 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
21922 * sysdeps/x86_64/multiarch/strlen.S: Remove.
21923 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
21924 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
21925 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
21926 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
21927 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
21929 2013-03-17 Carlos O'Donell <carlos@redhat.com>
21931 * manual/memory.texi (Malloc Tunable Parameters):
21932 Sort parameters alphabetically. Add comments for missing entries.
21934 2013-03-17 David S. Miller <davem@davemloft.net>
21936 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21938 2013-03-16 Joseph Myers <joseph@codesourcery.com>
21941 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
21942 for arguments at most half maximum finite value.
21943 * math/libm-test.inc (j0_test): Add more tests.
21944 (j1_test): Likewise.
21945 (y0_test): Likewise.
21946 (y1_test): Likewise.
21947 * sysdeps/i386/fpu/libm-test-ulps: Update.
21948 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21951 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
21952 1 / x and functions P and Q for arguments above 0x1p256L.
21953 (__ieee754_y0l): Likewise.
21954 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
21955 (__ieee754_y1l): Likewise.
21956 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
21957 (j1_test): Likewise.
21958 (y0_test): Likewise.
21959 (y1_test): Likewise.
21961 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
21963 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
21966 2013-03-15 Roland McGrath <roland@hack.frob.com>
21968 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
21969 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
21970 zero since it's initialized to EXEC_PAGESIZE.
21972 * sysdeps/unix/sysv/linux/ldsodefs.h
21973 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
21974 * sysdeps/generic/ldsodefs.h: ... here.
21976 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
21978 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
21980 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
21982 * math/test-snan.c: Renamed from
21983 sysdeps/powerpc/fpu/test-powerpc-snan.c.
21984 * math/Makefile (tests): Add test-snan.
21985 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
21988 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
21989 SUFFIX. Initialize qNaN_var with __builtin_nan family of
21991 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
21992 __builtin_nan family of functions.
21993 * math/libm-test.inc (initialize): Initialize qnan_value with
21994 __builtin_nan family of functions.
21995 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
21997 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
21999 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
22000 storage class. Initialize qNaN_var and sNaN_var with
22001 __builtin_nan and __builtin_nans families of functions,
22004 * math/libm-test.inc (acosh_test): Also test with qNaN input.
22005 (sqrt_test): Remove duplicate test with qNaN input.
22006 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
22007 (round_test, signbit_test, significand_test): Note missing +/-Inf
22008 as well as qNaN tests.
22010 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
22011 qNaN_var. Fix a few strings, too.
22012 * math/libm-test.inc (nan_value): Rename to qnan_value.
22013 * math/gen-libm-test.pl (%beautify): Adjust to that.
22014 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
22015 * math/test-misc.c (main): Likewise.
22016 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
22017 to __qnan_bytes, and __qnan_union, respectively.
22018 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
22020 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
22021 and lqnanval, respectively.
22022 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
22023 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
22024 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
22025 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
22027 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
22028 * math/test-misc.c (main) [__x86_64__]: Enable test for long
22031 * math/test-misc.c (main): Fix copy'n'pastos.
22032 * misc/tst-efgcvt.c (special): Likewise.
22034 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
22035 Remove declarations.
22037 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
22039 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
22040 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
22041 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
22042 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
22044 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22046 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
22047 macro to return vdso values correctly in IFUNC implementations.
22048 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
22049 Optimization by using IFUNC.
22051 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
22052 Richard Henderson <rth@redhat.com>
22053 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22055 * Makefile.in (bench): New target.
22056 * NEWS: Mention the benchmark framework.
22057 * Rules (bench): Likewise.
22058 (binaries-bench): Generate binaries for functions to
22060 * benchtests/Makefile: New makefile for benchmark tests.
22061 * benchtests/bench-skeleton.c: New skeleton file for benchmark
22063 * benchtests/exp-inputs: New input file for EXP function.
22064 * benchtests/pow-inputs: New input file for POW function.
22065 * scripts/bench.pl: New script to generate source files for
22066 benchmark programs.
22068 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
22070 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
22071 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
22072 computations on mantissa. Use macros for rounding and
22074 (denorm): Likewise.
22075 (__dbl_mp): Likewise.
22076 (add_magnitudes): Likewise.
22077 (sub_magnitudes): Likewise.
22080 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
22081 powers of two in terms of TWOPOW macro.
22082 (mp_no): Make type of mantissa as MANTISSA_T.
22083 [!RADIXI]: Define RADIXI.
22084 [!TWO52]: Define TWO52.
22085 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
22087 * manual/nptl.texi (cindex): Modify threads to pthreads.
22089 2013-03-15 Joseph Myers <joseph@codesourcery.com>
22091 * sysdeps/x86_64/preconfigure: Regenerated.
22093 2013-03-14 Joseph Myers <joseph@codesourcery.com>
22096 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
22098 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
22099 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
22101 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
22102 * math/libm-test.inc (j0_test): Do not allow one spurious
22103 underflow exception.
22104 (y1_test): Likewise.
22106 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
22108 * manual/Makefile (chapters): Add nptl.
22109 * manual/debug.texi (Debugging Support): Add link to Threads
22111 * manual/nptl.texi: New file.
22113 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
22115 2013-03-14 Petr Baudis <pasky@ucw.cz>
22117 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
22118 for non-NULL pointer before the memory validity test. Pointed
22119 out by Holger Brunck <holger.brunck@keymile.com>.
22121 2013-03-13 Andreas Schwab <schwab@suse.de>
22123 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
22126 2013-03-13 Joseph Myers <joseph@codesourcery.com>
22128 * timezone/zic.c: Update from tzcode 2013b.
22130 2013-03-12 Carlos O'Donell <carlos@redhat.com>
22132 * manual/install.texi (Configuring and compiling):
22133 Mention i686 and i586.
22134 * INSTALL: Regenerate.
22136 2013-03-12 Roland McGrath <roland@hack.frob.com>
22138 * sysdeps/init_array/elf-init.c: New file.
22140 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
22141 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
22143 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
22144 __gmon_start__ as global, but as static with a .preinit_array pointer.
22145 * sysdeps/init_array/gmon-start.c: New file. Use that.
22146 * sysdeps/init_array/crti.S: New file, empty except for comments.
22147 * sysdeps/init_array/crtn.S: Likewise.
22149 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
22151 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
22153 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22154 Remove Prefer_SSE_for_memop.
22155 * sysdeps/x86_64/multiarch/init-arch.h: Remove
22156 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
22157 HAS_PREFER_SSE_FOR_MEMOP.
22158 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
22160 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
22161 Remove bzero, memset ifunc support.
22162 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
22163 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
22164 * sysdeps/x86_64/multiarch/memset.S: Likewise.
22165 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
22167 2013-03-11 Andreas Schwab <schwab@suse.de>
22170 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
22172 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
22173 (GLIBC_2.16): Remove pthread_atfork.
22175 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
22177 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
22178 (ptestcases.h): Likewise.
22180 2013-03-08 Roland McGrath <roland@hack.frob.com>
22182 * Makeconfig ($(common-objpfx)config.status): Depend on
22183 sysdeps/*/preconfigure{,.in} too.
22185 2013-03-08 Joseph Myers <joseph@codesourcery.com>
22187 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
22188 (__free_hook): Use void * instead of __malloc_ptr_t.
22189 (__malloc_hook): Likewise.
22190 (__realloc_hook): Likewise.
22191 (__memalign_hook): Likewise.
22192 (__after_morecore_hook): Likewise.
22193 * malloc/arena.c (save_malloc_hook): Likewise.
22194 (save_free_hook): Likewise.
22195 * malloc/hooks.c (malloc_hook_ini): Likewise.
22196 (realloc_hook_ini): Likewise.
22197 (memalign_hook_ini): Likewise.
22198 * malloc/malloc.c (malloc_hook_ini): Likewise.
22199 (realloc_hook_ini): Likewise.
22200 (memalign_hook_ini): Likewise.
22201 (__free_hook): Likewise.
22202 (__malloc_hook): Likewise.
22203 (__realloc_hook): Likewise.
22204 (__memalign_hook): Likewise.
22205 (__libc_malloc): Likewise.
22206 (__libc_free): Likewise.
22207 (__libc_realloc): Likewise.
22208 (__libc_memalign): Likewise.
22209 (__libc_valloc): Likewise.
22210 (__libc_pvalloc): Likewise.
22211 (__libc_calloc): Likewise.
22212 (__posix_memalign): Likewise.
22213 * malloc/morecore.c (__sbrk): Likewise.
22214 (__default_morecore): Likewise.
22216 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
22218 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
22219 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
22220 __malloc_ptrdiff_t.
22222 * malloc/malloc.h (__malloc_size_t): Remove macro.
22223 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
22225 (old_memalign_hook): Likewise.
22226 (old_realloc_hook): Likewise.
22227 (struct hdr): Likewise.
22229 (mallochook): Likewise.
22230 (memalignhook): Likewise.
22231 (reallochook): Likewise.
22232 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
22233 (tr_old_realloc_hook): Likewise.
22234 (tr_old_memalign_hook): Likewise.
22235 (tr_mallochook): Likewise.
22236 (tr_reallochook): Likewise.
22237 (tr_memalignhook): Likewise.
22239 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22241 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
22242 default_ldbl_pack and using as default implementation.
22243 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
22245 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
22246 redundant definition.
22247 (ldbl_insert_mantissa): Likewise.
22248 (ldbl_canonicalize): Likewise.
22249 (ldbl_nearbyint): Likewise.
22250 (ldbl_pack): Rename to ldbl_pack_ppc.
22251 (ldbl_unpack): Rename to ldbl_unpack_ppc.
22252 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
22253 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
22255 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
22257 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
22258 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
22259 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
22260 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
22261 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
22262 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
22263 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
22264 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
22266 2013-03-07 Andreas Jaeger <aj@suse.de>
22268 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22271 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
22273 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
22274 Include mpa.h and declare __MPEXP.
22275 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
22276 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
22277 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
22278 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
22279 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
22280 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
22281 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
22283 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
22284 (__slowpow): Use long double EXPL and LOGL functions to
22286 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
22287 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
22288 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
22289 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
22290 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
22291 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
22293 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
22294 intermediate variable to calculate exponent.
22296 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
22300 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
22301 [!NO__SQR]: Define __sqr.
22302 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
22303 and NO__SQR. Remove all code except __mul and __sqr. Include
22304 sysdeps/ieee754/dbl-64/mpa.c.
22305 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
22308 * posix/Makefile (tests): Add tst-pathconf.
22309 * posix/tst-pathconf.c: New test case.
22310 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
22312 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
22314 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
22316 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
22318 2013-03-06 Andreas Jaeger <aj@suse.de>
22320 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
22321 definition via __MAP_ANONYMOUS.
22323 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
22324 it's not part of Linux headers.
22326 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
22327 (MAP_HUGE_MASK): Define.
22329 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
22331 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
22332 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
22334 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
22335 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
22337 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
22338 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
22340 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
22342 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
22343 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
22344 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
22345 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
22346 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
22347 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
22349 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
22352 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
22353 Handle f2fs and efivarfs.
22355 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
22358 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
22359 (EFIVARFS_MAGIC): Add.
22360 (F2FS_LINK_MAX): Add.
22362 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
22364 * stdio-common/vfprintf.c: Replace __builtin_expect with
22367 2013-03-06 Joseph Myers <joseph@codesourcery.com>
22370 * sysdeps/generic/bp-sym.h: Remove file.
22371 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
22372 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
22373 <bp-sym.h> and <bp-asm.h>.
22374 (__longjmp): Don't use BP_SYM.
22375 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
22377 (memcpy): Don't use BP_SYM.
22378 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
22379 <bp-sym.h> and <bp-asm.h>.
22380 (memcpy): Don't use BP_SYM.
22381 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
22383 (memcpy): Don't use BP_SYM.
22384 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
22386 (memset): Don't use BP_SYM.
22387 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
22388 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
22389 (__bzero): Don't use BP_SYM.
22390 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
22391 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
22392 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
22393 <bp-sym.h> and <bp-asm.h>.
22394 (memcmp): Don't use BP_SYM. Remove comment about bounded
22396 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
22397 <bp-sym.h> and <bp-asm.h>.
22398 (memcpy): Don't use BP_SYM.
22399 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
22400 <bp-sym.h> and <bp-asm.h>.
22401 (memset): Don't use BP_SYM.
22402 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
22403 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
22404 (__bzero): Don't use BP_SYM.
22405 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
22406 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
22407 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
22408 <bp-sym.h> and <bp-asm.h>.
22409 (strncmp): Don't use BP_SYM. Remove comment about bounded
22411 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
22412 <bp-sym.h> and <bp-asm.h>.
22413 (memcpy): Don't use BP_SYM.
22414 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
22415 <bp-sym.h> and <bp-asm.h>.
22416 (memset): Don't use BP_SYM.
22417 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
22418 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
22419 (__bzero): Don't use BP_SYM.
22420 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
22421 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
22422 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
22423 <bp-sym.h> and <bp-asm.h>.
22424 (__memchr): Don't use BP_SYM.
22425 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
22426 <bp-sym.h> and <bp-asm.h>.
22427 (memcmp): Don't use BP_SYM. Remove comment about bounded
22429 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
22430 <bp-sym.h> and <bp-asm.h>.
22431 (memcpy): Don't use BP_SYM.
22432 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
22433 <bp-sym.h> and <bp-asm.h>.
22434 (__mempcpy): Don't use BP_SYM.
22435 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
22436 <bp-sym.h> and <bp-asm.h>.
22437 (__memrchr): Don't use BP_SYM.
22438 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
22439 <bp-sym.h> and <bp-asm.h>.
22440 (memset): Don't use BP_SYM.
22441 (__bzero): Likewise.
22442 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
22443 <bp-sym.h> and <bp-asm.h>.
22444 (__rawmemchr): Don't use BP_SYM.
22445 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
22446 <bp-sym.h> and <bp-asm.h>.
22447 (__STRCMP): Don't use BP_SYM.
22448 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
22449 <bp-sym.h> and <bp-asm.h>.
22450 (strchr): Don't use BP_SYM.
22451 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
22452 <bp-sym.h> and <bp-asm.h>.
22453 (__strchrnul): Don't use BP_SYM.
22454 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
22455 <bp-sym.h> and <bp-asm.h>.
22456 (strlen): Don't use BP_SYM.
22457 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
22458 <bp-sym.h> and <bp-asm.h>.
22459 (strncmp): Don't use BP_SYM. Remove comment about bounded
22461 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
22462 <bp-sym.h> and <bp-asm.h>.
22463 (__strnlen): Don't use BP_SYM.
22464 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
22465 <bp-sym.h> and <bp-asm.h>.
22466 (__GI__setjmp): Don't use BP_SYM.
22467 (_setjmp): Likewise.
22468 (__sigsetjmp): Likewise.
22469 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
22470 (L(start_addresses)): Don't use BP_SYM.
22471 (_start): Likewise.
22472 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
22474 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
22475 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
22476 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
22477 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
22478 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
22480 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
22481 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
22482 about bounded pointers.
22483 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
22484 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
22485 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
22487 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
22488 about bounded pointers. Remove GKM FIXME comments.
22489 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
22490 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
22492 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
22493 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
22494 Remove GKM FIXME comments.
22495 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
22496 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
22497 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
22499 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
22500 about bounded pointers. Remove GKM FIXME comment.
22501 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
22503 (strncmp): Don't use BP_SYM. Remove comment about bounded
22505 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
22506 <bp-sym.h> and <bp-asm.h>.
22507 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
22508 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
22509 <bp-sym.h> and <bp-asm.h>.
22510 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
22513 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
22515 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
22518 2013-03-05 David S. Miller <davem@davemloft.net>
22520 * po/es.po: Update from translation team.
22522 2013-03-05 Andreas Jaeger <aj@suse.de>
22524 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
22525 <bits/mman-linux.h>.
22526 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
22528 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
22529 <bits/mman-linux.h> to end of file.
22530 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
22532 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
22533 <bits/mman-linux.h> to end of file.
22534 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
22536 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
22537 <bits/mman-linux.h> to end of file.
22539 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
22540 (MCL_CURRENT, MCL_FUTURE): Define here.
22542 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22545 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
22547 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
22549 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22551 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
22552 fourth parameter needed for rt_sigprocmask syscall.
22553 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
22554 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
22555 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
22556 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
22557 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
22558 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
22560 2013-03-04 Joseph Myers <joseph@codesourcery.com>
22563 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
22564 comment about bounded pointers.
22565 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
22566 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
22568 2013-03-04 Andreas Jaeger <aj@suse.de>
22570 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
22571 common definitions.
22573 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
22574 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
22575 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
22576 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
22577 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
22578 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
22580 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22583 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
22584 __ieee754_sqrl instead of __sqrl.
22586 2013-03-01 Joseph Myers <joseph@codesourcery.com>
22588 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
22589 * sysdeps/powerpc/fpu_control.h: ... here.
22590 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
22591 * sysdeps/powerpc/bits/fenvinline.h: ... here.
22592 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
22593 * sysdeps/powerpc/bits/mathinline.h: ... here.
22595 2013-03-01 Roland McGrath <roland@hack.frob.com>
22597 * elf/dl-hwcaps.c (_dl_important_hwcaps):
22598 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
22599 to just [NEED_DL_SYSINFO_DSO].
22600 * elf/dl-support.c: Likewise.
22601 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
22602 * elf/rtld.c (dl_main): Likewise.
22603 * elf/setup-vdso.h (setup_vdso): Likewise.
22604 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
22605 * sysdeps/unix/sysv/linux/dl-sysdep.c
22606 (_dl_discover_osversion): Likewise.
22608 2013-03-01 Carlos O'Donell <carlos@redhat.com>
22610 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
22611 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
22613 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
22615 * NEWS: Mention libm performance improvements and non-x86 PI
22618 * csu/libc-start.c (__pthread_initialize_minimal): Change
22619 function arguments.
22620 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
22622 2013-02-28 Joseph Myers <joseph@codesourcery.com>
22625 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
22626 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
22627 <bp-sym.h> and <bp-asm.h>.
22628 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
22629 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
22631 (memcpy): Don't use BP_SYM.
22632 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
22634 (__mpn_add_n): Don't use BP_SYM.
22635 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
22636 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
22638 (__mpn_addmul_1): Don't use BP_SYM.
22639 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22640 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
22642 (_setjmp): Don't use BP_SYM.
22643 (__novmx_setjmp): Likewise.
22644 (__GI__setjmp): Likewise.
22645 (__vmx_setjmp): Likewise.
22646 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
22648 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
22649 (__bzero): Don't use BP_SYM.
22650 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
22651 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
22652 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
22653 <bp-sym.h> and <bp-asm.h>.
22654 (memcpy): Don't use BP_SYM.
22655 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
22656 <bp-sym.h> and <bp-asm.h>.
22657 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
22658 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
22659 <bp-sym.h> and <bp-asm.h>.
22660 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
22661 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
22663 (__mpn_lshift): Don't use BP_SYM.
22664 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22665 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
22667 (memset): Don't use BP_SYM.
22668 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
22669 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
22670 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
22672 (__mpn_mul_1): Don't use BP_SYM.
22673 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22674 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
22675 <bp-sym.h> and <bp-asm.h>.
22676 (memcmp): Don't use BP_SYM.
22677 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
22678 <bp-sym.h> and <bp-asm.h>.
22679 (memcpy): Don't use BP_SYM.
22680 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
22681 <bp-sym.h> and <bp-asm.h>.
22682 (memset): Don't use BP_SYM.
22683 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
22684 <bp-sym.h> and <bp-asm.h>.
22685 (strncmp): Don't use BP_SYM.
22686 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
22687 <bp-sym.h> and <bp-asm.h>.
22688 (memcpy): Don't use BP_SYM.
22689 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
22690 <bp-sym.h> and <bp-asm.h>.
22691 (memset): Don't use BP_SYM.
22692 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
22693 <bp-sym.h> and <bp-asm.h>.
22694 (__memchr): Don't use BP_SYM.
22695 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
22696 <bp-sym.h> and <bp-asm.h>.
22697 (memcmp): Don't use BP_SYM.
22698 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
22699 <bp-sym.h> and <bp-asm.h>.
22700 (memcpy): Don't use BP_SYM.
22701 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
22702 <bp-sym.h> and <bp-asm.h>.
22703 (__mempcpy): Don't use BP_SYM.
22704 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
22705 <bp-sym.h> and <bp-asm.h>.
22706 (__memrchr): Don't use BP_SYM.
22707 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
22708 <bp-sym.h> and <bp-asm.h>.
22709 (memset): Don't use BP_SYM.
22710 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
22711 <bp-sym.h> and <bp-asm.h>.
22712 (__rawmemchr): Don't use BP_SYM.
22713 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
22714 <bp-sym.h> and <bp-asm.h>.
22715 (__STRCMP): Don't use BP_SYM.
22716 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
22717 <bp-sym.h> and <bp-asm.h>.
22718 (strchr): Don't use BP_SYM.
22719 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
22720 <bp-sym.h> and <bp-asm.h>.
22721 (__strchrnul): Don't use BP_SYM.
22722 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
22723 <bp-sym.h> and <bp-asm.h>.
22724 (strlen): Don't use BP_SYM.
22725 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
22726 <bp-sym.h> and <bp-asm.h>.
22727 (strncmp): Don't use BP_SYM.
22728 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
22729 <bp-sym.h> and <bp-asm.h>.
22730 (__strnlen): Don't use BP_SYM.
22731 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
22733 (__mpn_rshift): Don't use BP_SYM.
22734 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22735 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
22736 <bp-sym.h> and <bp-asm.h>.
22737 (__sigsetjmp): Don't use BP_SYM.
22738 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
22739 (L(start_addresses)): Don't use BP_SYM.
22740 (_start): Likewise.
22741 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
22743 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
22744 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
22745 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
22746 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
22748 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
22749 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
22750 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
22751 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
22753 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
22755 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
22756 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
22758 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
22760 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
22761 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
22762 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
22764 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
22766 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
22768 (strncmp): Don't use BP_SYM,
22769 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
22771 (__mpn_sub_n): Don't use BP_SYM.
22772 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22773 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
22775 (__mpn_submul_1): Don't use BP_SYM.
22776 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22777 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
22778 <bp-sym.h> and <bp-asm.h>.
22779 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
22780 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
22781 <bp-sym.h> and <bp-asm.h>.
22782 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
22785 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22787 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
22788 Use ZK to minimize writes to Z.
22789 (sub_magnitudes): Simplify code a bit.
22790 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
22791 Use ZK to minimize writes to Z.
22792 (sub_magnitudes): Simplify code a bit.
22794 2013-02-27 Roland McGrath <roland@hack.frob.com>
22796 * csu/gmon-start.c: Add special exception to license text.
22798 2013-02-27 Richard Henderson <rth@redhat.com>
22800 * scripts/config.guess: Update from config.git.
22801 * scripts/config.sub: Likewise.
22803 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
22805 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
22807 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
22809 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
22811 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
22813 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
22815 2013-02-26 Roland McGrath <roland@hack.frob.com>
22817 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
22818 [$(build-shared = yes].
22820 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
22822 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
22823 (__mul): Reduce iterations for calculating mantissa.
22825 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
22827 (__mpranred): Likewise.
22830 * malloc/memusagestat.c (main): Draw graphs for heap and stack
22831 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
22833 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
22835 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
22836 Define __attribute__.
22838 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
22840 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
22842 * posix/regex_internal.h (__attribute): Remove.
22843 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
22844 (re_string_context_at): Likewise.
22845 (bitset_not): Use __attribute__ and mark function as possibly
22847 (bitset_merge): Likewise.
22848 (bitset_mask): Likewise.
22849 (re_string_char_size_at): Likewise.
22850 (re_string_wchar_at): Likewise.
22851 (re_string_elem_size_at): Likewise.
22853 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
22855 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
22859 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
22863 (denorm): Likewise.
22864 (__dbl_mp): Likewise.
22865 (add_magnitudes): Likewise.
22866 (sub_magnitudes): Likewise.
22870 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
22873 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
22876 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
22879 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
22880 up changes with default code.
22881 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
22884 2013-02-24 Allan McRae <allan@archlinux.org>
22886 * manual/socket.texi (The Internet Namespace): Order menu items
22887 to match that in the file.
22889 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
22890 node listing of the info page menu.
22892 2013-02-21 Joseph Myers <joseph@codesourcery.com>
22895 * sysdeps/i386/bp-asm.h: Remove file.
22896 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
22897 (PARMS): Do not use macros from bp-asm.h.
22901 (__mpn_add_n): Do not use BP_SYM
22902 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
22904 (PARMS): Do not use macros from bp-asm.h.
22907 (__mpn_addmul_1): Do not use BP_SYM
22908 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
22910 (PARMS): Do not use macros from bp-asm.h.
22911 (SIGMSK): Likewise.
22912 (_setjmp): Likewise. Do not use BP_SYM.
22913 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
22915 (PARMS): Do not use macros from bp-asm.h.
22916 (SIGMSK): Likewise.
22917 (setjmp): Likewise. Do not use BP_SYM.
22918 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
22920 (PARMS): Do not use macros from bp-asm.h.
22921 (__frexp): Do not use BP_SYM.
22923 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
22925 (PARMS): Do not use macros from bp-asm.h.
22926 (__frexpf): Do not use BP_SYM.
22927 (frexpf): Likewise.
22928 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
22930 (PARMS): Do not use macros from bp-asm.h.
22931 (__frexpl): Do not use BP_SYM.
22932 (frexpl): Likewise.
22933 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
22935 (PARMS): Do not use macros from bp-asm.h.
22936 (__remquo): Do not use BP_SYM.
22937 (remquo): Likewise.
22938 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
22940 (PARMS): Do not use macros from bp-asm.h.
22941 (__remquof): Do not use BP_SYM.
22942 (remquof): Likewise.
22943 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
22945 (PARMS): Do not use macros from bp-asm.h.
22946 (__remquol): Do not use BP_SYM.
22947 (remquol): Likewise.
22948 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
22950 (PARMS): Do not use macros from bp-asm.h.
22953 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
22954 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
22956 (PARMS): Do not use macros from bp-asm.h.
22957 (strlen): Do not use BP_SYM.
22958 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
22960 (PARMS): Do not use macros from bp-asm.h.
22964 (__mpn_add_n): Do not use BP_SYM.
22965 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
22967 (PARMS): Do not use macros from bp-asm.h.
22970 (__mpn_addmul_1): Do not use BP_SYM.
22971 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
22974 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
22976 (PARMS): Do not use macros from bp-asm.h.
22979 (__mpn_lshift): Do not use BP_SYM.
22980 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
22982 (PARMS): Do not use macros from bp-asm.h.
22986 (memcpy): Likewise. Do not use BP_SYM.
22987 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
22988 libc_hidden_def and weak_alias.
22989 (mempcpy): Do not use BP_SYM in weak_alias.
22990 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
22992 (PARMS): Do not use macros from bp-asm.h.
22995 [!BZERO_P] (CHR): Likewise.
22996 (memset): Likewise. Do not use BP_SYM.
22997 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
22999 (PARMS): Do not use macros from bp-asm.h.
23002 (__mpn_mul_1): Do not use BP_SYM.
23003 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
23005 (PARMS): Do not use macros from bp-asm.h.
23008 (__mpn_rshift): Do not use BP_SYM.
23009 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
23011 (PARMS): Do not use macros from bp-asm.h.
23014 (strchr): Likewise. Do not use BP_SYM.
23015 (index): Do not use BP_SYM in weak_alias.
23016 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
23018 (PARMS): Do not use macros from bp-asm.h.
23021 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
23022 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
23024 (PARMS): Do not use macros from bp-asm.h.
23025 (strlen): Do not use BP_SYM.
23026 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
23028 (PARMS): Do not use macros from bp-asm.h.
23032 (__mpn_sub_n): Do not use BP_SYM.
23033 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
23035 (PARMS): Do not use macros from bp-asm.h.
23038 (__mpn_submul_1): Do not use BP_SYM.
23039 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
23041 (PARMS): Do not use macros from bp-asm.h.
23045 (__mpn_add_n): Do not use BP_SYM.
23046 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
23049 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
23051 (PARMS): Do not use macros from bp-asm.h.
23054 (memcmp): Do not use BP_SYM.
23055 (bcmp): Do not use BP_SYM in weak_alias.
23056 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
23058 (PARMS): Do not use macros from bp-asm.h.
23062 (memcpy): Likewise. Do not use BP_SYM.
23063 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
23065 (PARMS): Do not use macros from bp-asm.h.
23069 (memmove): Likewise. Do not use BP_SYM.
23070 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
23072 (PARMS): Do not use macros from bp-asm.h.
23076 (__mempcpy): Likewise. Do not use BP_SYM.
23077 (mempcpy): Do not use BP_SYM in weak_alias.
23078 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
23080 (PARMS): Do not use macros from bp-asm.h.
23083 [!BZERO_P] (CHR): Likewise.
23084 (memset): Likewise. Do not use BP_SYM.
23085 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
23087 (PARMS): Do not use macros from bp-asm.h.
23089 (strcmp): Do not use BP_SYM.
23090 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
23092 (PARMS): Do not use macros from bp-asm.h.
23095 [USE_AS_STRTOK_R] (SAVE): Likewise.
23096 (FUNCTION): Likewise. Do not use BP_SYM.
23097 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
23099 (strtok_r): Likewise.
23100 (__GI___strtok_r): Likewise.
23101 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
23102 (PARMS): Do not use macros from bp-asm.h.
23105 (__mpn_lshift): Do not use BP_SYM.
23106 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
23107 (PARMS): Do not use macros from bp-asm.h.
23110 (__memchr): Do not use BP_SYM.
23111 (memchr): Do not use BP_SYM in weak_alias.
23112 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
23113 (PARMS): Do not use macros from bp-asm.h.
23116 (memcmp): Do not use BP_SYM.
23117 (bcmp): Do not use BP_SYM in weak_alias.
23118 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
23119 (PARMS): Do not use macros from bp-asm.h.
23122 (__mpn_mul_1): Do not use BP_SYM.
23123 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
23125 (PARMS): Do not use macros from bp-asm.h.
23128 (__rawmemchr): Do not use BP_SYM.
23129 (rawmemchr): Do not use BP_SYM in weak_alias.
23130 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
23131 (PARMS): Do not use macros from bp-asm.h.
23134 (__mpn_rshift): Do not use BP_SYM.
23135 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
23136 (PARMS): Do not use macros from bp-asm.h.
23137 (SIGMSK): Likewise.
23138 (__sigsetjmp): Likewise. Do not use BP_SYM.
23139 * sysdeps/i386/start.S: Do not include "bp-sym.h".
23140 (_start): Do not use BP_SYM.
23141 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
23142 (PARMS): Do not use macros from bp-asm.h.
23145 (__stpcpy): Likewise. Do not use BP_SYM.
23146 (stpcpy): Do not use BP_SYM in weak_alias.
23147 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
23149 (PARMS): Do not use macros from bp-asm.h.
23153 (__stpncpy): Likewise. Do not use BP_SYM.
23154 (stpncpy): Do not use BP_SYM in weak_alias.
23155 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
23156 (PARMS): Do not use macros from bp-asm.h.
23159 (strchr): Likewise. Do not use BP_SYM.
23160 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
23162 (PARMS): Do not use macros from bp-asm.h.
23165 (__strchrnul): Likewise. Do not use BP_SYM.
23166 (strchrnul): Do not use BP_SYM in weak_alias.
23167 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
23169 (PARMS): Do not use macros from bp-asm.h.
23171 (strcspn): Do not use BP_SYM.
23172 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
23174 (PARMS): Do not use macros from bp-asm.h.
23177 (strpbrk): Likewise. Do not use BP_SYM.
23178 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
23180 (PARMS): Do not use macros from bp-asm.h.
23183 (strrchr): Likewise. Do not use BP_SYM.
23184 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
23185 (PARMS): Do not use macros from bp-asm.h.
23187 (strspn): Do not use BP_SYM.
23188 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
23189 (PARMS): Do not use macros from bp-asm.h.
23193 (FUNCTION): Likewise. Do not use BP_SYM.
23194 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
23196 (strtok_r): Likewise.
23197 (__GI___strtok_r): Likewise.
23198 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
23199 (PARMS): Do not use macros from bp-asm.h.
23203 (__mpn_sub_n): Do not use BP_SYM.
23204 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
23206 (PARMS): Do not use macros from bp-asm.h.
23209 (__mpn_submul_1): Do not use BP_SYM.
23210 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
23212 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
23214 (PARMS): Do not use macros from bp-asm.h.
23219 (__clone): Do not use BP_SYM.
23220 (clone): Do not use BP_SYM in weak_alias.
23221 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
23223 (PARMS): Do not use macros from bp-asm.h.
23225 (__mmap64): Do not use BP_SYM.
23226 (mmap64): Do not use BP_SYM in weak_alias.
23227 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
23228 <bp-sym.h> and <bp-asm.h>.
23229 (PARMS): Do not use macros from bp-asm.h.
23230 (__posix_fadvise64_l64): Do not use BP_SYM.
23231 * sysdeps/unix/sysv/linux/i386/semtimedop.S
23232 (PARMS): Do not use macros from bp-asm.h.
23234 (semtimedop): Do not use BP_SYM.
23235 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
23238 2013-02-21 Allan McRae <allan@archlinux.org>
23240 * manual/message.texi (Charset conversion in gettext):
23241 Move @end statement to beginning of line.
23243 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
23245 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
23247 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
23250 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
23251 (denorm): Likewise.
23252 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
23253 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
23255 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23257 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
23258 tail-call to the resolved function if pltexit isn't needed.
23260 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
23262 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
23263 or Y being zero as being unlikely.
23264 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
23267 2013-02-20 Carlos O'Donell <carlos@redhat.com>
23269 * manual/nss.texi (System Databases and Name Service Switch):
23270 Remove frobnicate @pxref.
23272 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
23274 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
23275 __attribute__ ((unused)) to __attribute__ ((__unused__)).
23277 2013-02-20 Petr Machata <pmachata@redhat.com>
23279 * elf/elf.h (R_ARM_TARGET1): New macro.
23280 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
23281 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
23282 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
23283 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
23284 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
23285 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
23286 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
23287 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
23288 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
23289 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
23290 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
23291 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
23292 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
23293 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
23294 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
23295 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
23296 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
23297 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
23298 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
23299 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
23300 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
23301 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
23302 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
23303 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
23304 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
23305 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
23306 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
23307 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
23308 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
23309 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
23310 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
23311 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
23312 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
23313 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
23314 (R_ARM_THM_GOT_BREL12): Likewise.
23315 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
23316 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
23317 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
23318 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
23319 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
23320 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
23321 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
23322 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
23323 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
23325 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
23327 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
23328 __attribute_used__ to __attribute__ ((unused)).
23330 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
23332 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
23334 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
23335 comment formatting.
23336 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
23338 2013-02-19 Joseph Myers <joseph@codesourcery.com>
23341 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
23343 (ENTER): Remove both macro definitions.
23345 (CHECK_BOUNDS_LOW): Likewise.
23346 (CHECK_BOUNDS_HIGH): Likewise.
23347 (CHECK_BOUNDS_BOTH): Likewise.
23348 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
23349 (RETURN_BOUNDED_POINTER): Likewise.
23350 (RETURN_NULL_BOUNDED_POINTER): Likewise.
23351 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
23352 (POP_ERRNO_LOCATION_RETURN): Likewise.
23353 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
23354 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23355 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
23357 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23358 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
23359 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
23360 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
23361 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
23362 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
23363 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
23364 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
23365 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
23366 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
23367 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
23368 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
23369 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23370 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
23372 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23373 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
23375 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23376 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
23377 * sysdeps/i386/i586/memset.S (memset): Likewise.
23378 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
23379 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23380 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
23382 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23383 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
23384 Change uses of L(2) to L(out).
23385 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
23386 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
23387 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
23388 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23389 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
23391 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23392 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
23394 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23395 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
23396 (RETURN): Do not use macro LEAVE.
23397 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
23398 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
23399 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
23400 * sysdeps/i386/i686/memset.S (memset): Likewise.
23401 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
23402 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
23403 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
23404 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
23406 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
23407 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
23408 L(1_2) and L(1_3) into L(1).
23409 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
23410 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
23411 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23412 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
23413 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
23414 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
23415 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
23416 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23417 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
23419 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
23420 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23421 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
23422 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
23423 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
23424 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23425 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
23426 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
23427 * sysdeps/i386/strcspn.S (strcspn): Likewise.
23428 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
23429 * sysdeps/i386/strrchr.S (strrchr): Likewise.
23430 * sysdeps/i386/strspn.S (strspn): Likewise.
23431 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
23433 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
23434 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
23435 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
23436 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
23437 L(1_3) into L(1_1).
23438 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
23439 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23440 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
23442 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23444 2013-02-19 Jakub Jelinek <jakub@redhat.com>
23446 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
23449 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
23451 * math/atest-exp.c (exp_mpn): Remove ROUND.
23452 * math/atest-exp2.c (exp_mpn): Likewise.
23453 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
23455 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
23456 * stdlib/tst-tls-atexit-lib.c: Likewise.
23457 * stdlib/tst-tls-atexit.c: Likewise.
23459 2013-02-18 Mike Frysinger <vapier@gentoo.org>
23461 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
23462 and __attribute_alloc_size__.
23464 2013-02-18 Mike Frysinger <vapier@gentoo.org>
23466 * include/programs/xmalloc.h: Change __attribute_alloc_size to
23467 __attribute_alloc_size__.
23468 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
23469 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
23471 2013-02-18 Mike Frysinger <vapier@gentoo.org>
23473 * include/programs/xmalloc.h: New file.
23474 * catgets/gencat.c: Include it.
23475 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
23476 * elf/pldd.c: Likewise.
23477 * iconv/iconv_charmap.c: Likewise.
23478 * iconv/iconvconfig.c: Likewise.
23479 * iconv/strtab.c: Likewise.
23480 * locale/programs/locale.c: Likewise.
23481 * locale/programs/localedef.h: Likewise.
23482 * locale/programs/simple-hash.c: Likewise.
23483 * nscd/nscd.h: Likewise.
23484 * nss/makedb.c: Likewise.
23485 * sysdeps/generic/ldconfig.h: Likewise.
23487 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
23489 * Versions.def: Add GLIBC_2.18.
23490 * include/link.h (struct link_map): New member l_tls_dtor_count.
23491 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
23492 (__call_tls_dtors): Likewise.
23493 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
23494 __cxa_thread_atexit_impl.
23495 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23497 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
23499 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
23501 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
23503 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
23504 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
23506 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
23508 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
23509 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
23511 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
23512 (tests): Add test case tst-tls-atexit.
23513 (modules-names): Add shared library for tst-tls-atexit.
23514 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
23515 (GLIBC_PRIVATE): Add __call_tls_dtors.
23516 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
23518 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
23519 * stdlib/tst-tls-atexit.c: New test case.
23520 * stdlib/tst-tls-atexit-lib.c: New test case.
23522 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
23524 * elf/Versions (ld): Add _dl_find_dso_for_object.
23525 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
23526 * elf/dl-open.c (_dl_find_dso_for_object): New function.
23527 (dl_open_worker): Use _dl_find_dso_for_object.
23528 * elf/dl-sym.c (do_sym): Likewise.
23529 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
23531 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23533 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
23534 Syntactic changes only.
23535 (_dl_runtime_profile): Do a tail-call to the resolved function.
23537 2013-02-17 Joseph Myers <joseph@codesourcery.com>
23540 * sysdeps/x86_64/bp-asm.h: Remove file.
23541 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
23542 <bp-sym.h> and <bp-asm.h>.
23543 (__clone): Do not use BP_SYM.
23544 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
23545 <bp-sym.h> and <bp-asm.h>.
23546 * sysdeps/unix/x86_64/sysdep.S: Likewise.
23547 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
23549 (_setjmp): Do not use BP_SYM.
23550 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
23552 (setjmp): Do not use BP_SYM.
23553 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
23555 (mempcpy): Do not use BP_SYM in weak_alias.
23556 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
23558 (strchr): Do not use BP_SYM.
23559 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
23561 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
23562 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
23563 (_start): Do not use BP_SYM.
23564 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
23566 (strcat): Do not use BP_SYM.
23567 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
23569 (STRCMP): Do not use BP_SYM.
23570 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
23572 (STRCPY): Do not use BP_SYM.
23573 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
23575 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
23577 (FUNCTION): Do not use BP_SYM.
23578 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
23580 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
23582 2013-02-17 Andreas Jaeger <aj@suse.de>
23584 * time/Versions: Sort entries.
23585 * string/Versions: Likewise.
23586 * resolv/Versions: Likewise.
23587 * posix/Versions: Likewise.
23588 * iconv/Versions: Likewise.
23589 * elf/Versions: Likewise.
23590 * wcsmbs/Versions: Likewise.
23592 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
23594 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
23595 loop termination condition.
23597 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
23598 variable to calculate EZ.
23601 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
23602 the lower precision input.
23604 2013-02-15 Joseph Myers <joseph@codesourcery.com>
23607 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
23608 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
23609 (run-via-rtld-prefix): Do not handle %-bp tests.
23610 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
23611 (all-object-suffixes): Remove .ob.
23612 (bppfx): Remove variable.
23613 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
23614 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
23615 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
23616 [$(build-bounded) = yes] (libtype.ob): Likewise.
23617 * Makerules (elide-routines.ob): Remove variable.
23618 (do-tests-clean): Do not handle *-bp.out.
23619 (common-mostlyclean): Do not handle *-bp and *-bp.out.
23620 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
23621 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
23622 (tests): Do not include $(tests-bp.out).
23623 (xtests): Do not include $(xtests-bp.out).
23624 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
23625 [$(build-bounded) = yes] ($(addprefix
23626 $(objpfx),$(binaries-bounded))): Remove rule.
23627 ($(objpfx)%-bp.out): Remove rule.
23628 * config.make.in (build-bounded): Remove variable.
23629 * crypt/Makefile [$(build-bounded) = yes]
23630 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
23631 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
23632 append to variable.
23633 [$(build-bounded) = yes] (install-lib): Likewise.
23634 [$(build-bounded) = yes] (generated): Likewise.
23635 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
23637 * intl/Makefile [$(build-bounded) = yes]
23638 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
23639 * math/Makefile [$(build-bounded) = yes]
23640 ($(tests:%=$(objpfx)%-bp): Likewise.
23641 * misc/Makefile [$(build-bounded) = yes]
23642 ($(objpfx)tst-tsearch-bp): Likewise.
23643 * nptl/Makeconfig (bounded-thread-library): Remove variable.
23644 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
23646 * string/Makefile (o-objects.ob): Remove variable.
23647 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
23648 (CFLAGS-.ob): Remove variable.
23649 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
23650 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
23651 both definitions of variable.
23652 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
23653 (ASFLAGS-.ob): Remove variable.
23655 2013-02-14 Joseph Myers <joseph@codesourcery.com>
23658 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
23659 Remove __BOUNDED_POINTERS__ from condition.
23660 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
23661 * string/bits/string2.h [!__NO_STRING_INLINES &&
23662 !__BOUNDED_POINTERS__]: Likewise.
23663 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
23665 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
23666 Remove conditional code.
23667 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
23668 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
23669 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
23673 * csu/libc-start.c: Do not include <bp-sym.h>.
23674 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
23675 * elf/dl-open.c: Do not include <bp-sym.h>.
23676 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
23677 * math/fegetenv.c: Do not include <bp-sym.h>.
23678 (fegetenv): Do not use BP_SYM in versioned symbols.
23679 * nptl/sysdeps/pthread/bits/libc-lockP.h
23680 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
23682 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23683 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
23684 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23685 (__pthread_mutex_destroy): Likewise.
23686 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23687 (__pthread_mutex_lock): Likewise.
23688 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23689 (__pthread_mutex_trylock): Likewise.
23690 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23691 (__pthread_mutex_unlock): Likewise.
23692 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23693 (__pthread_mutexattr_init): Likewise.
23694 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23695 (__pthread_mutexattr_destroy): Likewise.
23696 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23697 (__pthread_mutexattr_settype): Likewise.
23698 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23699 (__pthread_rwlock_init): Likewise.
23700 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23701 (__pthread_rwlock_destroy): Likewise.
23702 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23703 (__pthread_rwlock_rdlock): Likewise.
23704 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23705 (__pthread_rwlock_tryrdlock): Likewise.
23706 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23707 (__pthread_rwlock_wrlock): Likewise.
23708 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23709 (__pthread_rwlock_trywrlock): Likewise.
23710 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23711 (__pthread_rwlock_unlock): Likewise.
23712 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23713 (__pthread_key_create): Likewise.
23714 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23715 (__pthread_setspecific): Likewise.
23716 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23717 (__pthread_getspecific): Likewise.
23718 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
23720 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23721 (_pthread_cleanup_push_defer): Likewise.
23722 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23723 (_pthread_cleanup_pop_restore): Likewise.
23724 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23725 (pthread_setcancelstate): Likewise.
23726 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
23728 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
23729 (memchr): Do not use BP_SYM in weak_alias.
23730 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
23731 (fegetenv): Do not use BP_SYM in versioned symbols.
23732 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
23733 (fesetenv): Do not use BP_SYM in versioned symbols.
23734 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
23735 (feupdateenv): Do not use BP_SYM in versioned symbols.
23736 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
23737 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
23738 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
23739 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
23740 (open64): Do not use BP_SYM in weak_alias.
23741 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
23742 (fegetenv): Do not use BP_SYM in versioned symbols.
23743 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
23744 (fesetenv): Do not use BP_SYM in versioned symbols.
23745 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
23746 (feupdateenv): Do not use BP_SYM in versioned symbols.
23747 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
23748 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
23749 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
23750 (feraiseexcept): Do not use BP_SYM in versioned symbols.
23751 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
23752 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
23753 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
23755 (__libc_start_main): Do not use BP_SYM.
23757 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
23759 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
23760 redundant return line.
23762 (denorm): Likewise.
23763 (dbl_mp): Likewise.
23764 (sub_magnitudes): Likewise.
23770 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
23772 (denorm): Likewise.
23773 (dbl_mp): Likewise.
23774 (sub_magnitudes): Likewise.
23781 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
23783 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
23784 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
23787 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
23788 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
23789 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
23790 of __mul for squares.
23791 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
23793 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
23795 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
23796 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
23798 2013-02-13 Joseph Myers <joseph@codesourcery.com>
23801 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
23803 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
23804 prototype or function definition. Rename ubp_* variables and
23805 parameters. Remove argv definitions conditional on
23806 [__BOUNDED_POINTERS__].
23807 * debug/backtrace.c (__backtrace): Do not use __unbounded.
23808 * elf/dl-runtime.c (_dl_fixup): Likewise.
23809 * include/set-hooks.h (RUN_HOOK): Likewise.
23810 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
23812 * string/strcpy.c (strcpy): Do not use __unbounded.
23813 * sysdeps/generic/frame.h (struct layout): Likewise.
23814 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
23815 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
23816 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
23817 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
23818 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
23819 (__backtrace): Likewise.
23820 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
23822 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
23823 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
23824 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
23826 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
23827 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
23828 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
23829 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
23830 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
23831 Do not use __unbounded.
23832 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
23833 Rename __unboundedrlimits parameter to rlimits in prototype.
23834 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
23835 Do not use __unbounded.
23836 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
23837 not use __ptrvalue.
23838 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
23839 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
23840 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
23841 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
23842 __ptrvalue or __unbounded.
23843 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
23844 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
23846 (__new_msgctl): Do not use __ptrvalue.
23847 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
23849 (__libc_msgrcv): Do not use __ptrvalue.
23850 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
23851 startup_info): Do not use __unbounded.
23852 (__libc_start_main): Likewise. Rename ubp_* variables and
23853 parameters. Remove argv definitions conditional on
23854 [__BOUNDED_POINTERS__].
23855 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
23857 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
23859 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
23861 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
23863 (__new_shmctl): Do not use __ptrvalue.
23864 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
23865 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
23867 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
23868 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
23869 (__libc_sigaction): Likewise.
23870 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
23871 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
23873 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
23875 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
23877 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
23879 * string/mempcpy.c: Implement by calling memcpy.
23881 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
23883 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
23885 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
23888 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
23889 values in the mantissa.
23891 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
23892 minimize writes to Z.
23893 (sub_magnitudes): Simplify code a bit.
23895 2013-02-12 Roland McGrath <roland@hack.frob.com>
23897 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
23898 from the message. The linker prefixes all warnings with that already.
23900 2013-02-12 Andreas Schwab <schwab@suse.de>
23903 * posix/regexec.c (extend_buffers): Add parameter min_len.
23904 (check_matching): Pass minimum needed length.
23905 (clean_state_log_if_needed): Likewise.
23906 (get_subexp): Likewise.
23907 * posix/Makefile (tests): Add bug-regex34.
23908 (bug-regex34-ENV): Define.
23909 * posix/bug-regex34.c: New file.
23912 * posix/regcomp.c (parse_bracket_exp): When looking up collating
23913 elements compare against the byte sequence of it, not its name.
23914 * posix/Makefile (tests): Add bug-regex35.
23915 (bug-regex35-ENV): Define.
23916 * posix/bug-regex35.c: New file.
23918 2013-02-11 Tom de Vries <tom@codesourcery.com>
23920 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
23922 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
23923 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
23924 (CHECK_EOL): Add undef.
23926 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
23928 * bits/stdlib-bsearch.h: New file.
23929 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
23930 * stdlib/stdlib.h: Likewise.
23932 2013-02-11 Roland McGrath <roland@hack.frob.com>
23934 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
23935 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
23937 * manual/search.texi (Array Search Function): Add missing const in
23939 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
23940 declaration to use rlim_t.
23941 (Basic Scheduling Functions): Remove erroneous const from
23942 sched_getparam prototype. Remove erroneous * from
23943 sched_get_priority_max and sched_get_priority_min prototypes.
23944 (Resource Usage): Fix summary @comment on vtimes to refer to
23945 sys/vtimes.h rather than vtimes.h.
23946 Add missing *s in vtimes prototype.
23947 (Limits on Resources): Fix ulimit prototype to return long int.
23948 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
23949 prototypes to use long int rather than double.
23950 (BSD Random): Fix initstate and setstate to use char *, not void *.
23951 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
23952 prototype to make second argument 'struct aiocb64 *const[]'.
23953 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
23954 (Status of AIO Operations): Remove erroneous const in aio_return and
23955 aio_return64 prototypes.
23956 (Synchronizing I/O): Fix sync prototype to return void.
23957 * manual/startup.texi (Suboptions): Remove an erroneous const in
23958 getsubopt prototype.
23959 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
23960 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
23961 use size_t rather than int.
23962 (Scanning All Users): Likewise for getpwent_r.
23963 (Setting Groups): Add missing const to setgroups prototype.
23964 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
23965 * manual/socket.texi (Host Names): Fix gethostbyaddr and
23966 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
23967 'const void *' rather than 'const char *'.
23968 (Host Address Functions): Likewise for inet_ntop.
23969 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
23970 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
23971 ssize_t for return value.
23972 (Sending Data): Likewise for send, sendto, sendmsg.
23973 (Socket Option Functions): Add a missing const in setsockopt prototype.
23974 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
23975 use wchar_t for the argument.
23976 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
23977 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
23979 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
23980 double/float/long double for second argument.
23981 Fix return types of significand, significandf, significandl.
23982 * manual/filesys.texi (Setting Permissions): Use mode_t for second
23983 argument in fchmod prototype.
23984 (File Owner): Use uid_t and gid_t in fchown prototype.
23985 (File Times): Add const to utimes, futimes, and lutimes prototypes.
23986 (Making Special Files): Use mode_t and dev_t in mknod prototype.
23987 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
23988 use 'const struct dirent **' as argument types to CMP function pointer
23990 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
23991 (File Times): Fix summary magic @comment for struct utimbuf and utime
23992 to refer to utime.h, not time.h.
23993 * manual/string.texi (Argz Functions): Add missing const in
23994 argz_extract and argz_next prototypes.
23995 (Finding Tokens in a String): Likewise for basename.
23996 (String/Array Comparison): Fix typo in wcscasecmp prototype.
23997 (Copying and Concatenation): Fix typo in wmemmove prototype.
23998 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
23999 (Signal Stack): Remove erroneous const in sigstack prototype.
24000 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
24002 (Simple Calendar Time): Likewise for stime.
24003 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
24005 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
24006 say sys/sysctl.h instead.
24007 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
24008 and vsyslog prototypes.
24010 2013-02-11 Tom de Vries <tom@codesourcery.com>
24012 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
24015 2013-02-11 Roland McGrath <roland@hack.frob.com>
24017 * misc/sys/mman.h: Fix typo in mremap comment.
24019 2013-02-08 Roland McGrath <roland@hack.frob.com>
24021 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
24022 the '\0' terminator.
24024 2013-02-08 Joseph Myers <joseph@codesourcery.com>
24027 * debug/segfault.c: Don't include <bp-checks.h>.
24028 * sysdeps/generic/bp-checks.h: Remove file.
24029 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
24030 (__GETDENTS): Don't use CHECK_N.
24031 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
24032 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
24033 (__getgroups): Don't use CHECK_N.
24034 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
24035 (setgroups): Don't use CHECK_N.
24036 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
24037 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
24038 (__libc_msgrcv): Don't use CHECK_N.
24039 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
24040 (__libc_msgsnd): Don't use CHECK_N.
24041 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
24043 (__libc_pread): Don't use CHECK_N.
24044 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
24045 include <bp-checks.h>.
24046 (__libc_pread64): Don't use CHECK_N.
24047 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
24048 include <bp-checks.h>.
24049 (__libc_pwrite): Don't use CHECK_N.
24050 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
24051 include <bp-checks.h>.
24052 (__libc_pwrite64): Don't use CHECK_N.
24053 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
24055 (__libc_pread): Don't use CHECK_N.
24056 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
24057 include <bp-checks.h>.
24058 (__libc_pread64): Don't use CHECK_N.
24059 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
24060 include <bp-checks.h>.
24061 (__libc_pwrite): Don't use CHECK_N.
24062 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
24063 include <bp-checks.h>.
24064 (__libc_pwrite64): Don't use CHECK_N.
24065 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
24066 (do_pread): Don't use CHECK_N.
24067 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
24068 (do_pread64): Don't use CHECK_N.
24069 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
24070 (do_pwrite): Don't use CHECK_N.
24071 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
24072 (do_pwrite64): Don't use CHECK_N.
24073 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
24074 (__libc_readv): Don't use CHECK_N.
24075 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
24076 (semop): Don't use CHECK_N.
24077 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
24079 (semtimedop): Don't use CHECK_N.
24080 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
24081 (__libc_pread): Don't use CHECK_N.
24082 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
24084 (__libc_pread64): Don't use CHECK_N.
24085 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
24087 (__libc_pwrite): Don't use CHECK_N.
24088 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
24090 (__libc_pwrite64): Don't use CHECK_N.
24091 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
24093 (__libc_msgrcv): Don't use CHECK_N.
24094 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
24095 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
24096 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
24097 (__libc_writev): Don't use CHECK_N.
24099 2013-02-08 Roland McGrath <roland@hack.frob.com>
24101 * string/strcpy.c: Removed unused variable.
24103 * Makeconfig (+sysdep-includes): Define with := rather than =.
24104 Use an existing include/ subdir of each sysdeps dir before it.
24106 2013-02-08 Carlos O'Donell <carlos@redhat.com>
24108 * nscd/connection.c (register_traced_file): Comment function.
24109 [HAVE_INOTIFY] (union __inev): Define.
24110 [HAVE_INOTIFY] (inotify_check_files): New function.
24111 [HAVE_INOTIFY] (clear_db_cache): Likewise.
24112 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
24114 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
24116 2013-02-08 Carlos O'Donell <carlos@redhat.com>
24118 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
24119 loaded if not already and that a failure is permanent.
24121 2013-02-08 Carlos O'Donell <carlos@redhat.com>
24124 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
24125 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
24127 2013-02-08 Joseph Myers <joseph@codesourcery.com>
24130 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
24131 (CHECK_1_NULL_OK): Likewise.
24132 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
24133 (__fxstat): Do not use CHECK_1.
24134 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
24136 (___fxstat64): Do not use CHECK_1.
24137 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
24139 (__fxstatat): Do not use CHECK_1.
24140 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
24142 (__fxstatat64): Do not use CHECK_1.
24143 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
24145 (__fxstat): Do not use CHECK_1.
24146 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
24148 (__fxstatat): Do not use CHECK_1.
24149 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
24151 (__getresgid): Do not use CHECK_1.
24152 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
24154 (__getresuid): Do not use CHECK_1.
24155 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
24157 (__lxstat): Do not use CHECK_1.
24158 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
24160 (__old_msgctl): Do not use CHECK_1.
24161 (__new_msgctl): Likewise.
24162 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
24164 (__new_setrlimit): Do not use CHECK_1.
24165 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
24167 (__old_shmctl): Do not use CHECK_1.
24168 (__new_shmctl): Likewise.
24169 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
24171 (__xstat): Do not use CHECK_1.
24172 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
24173 (__lxstat): Do not use CHECK_1.
24174 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
24176 (___lxstat64): Do not use CHECK_1.
24177 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
24178 (__old_msgctl): Do not use CHECK_1.
24179 (__new_msgctl): Likewise.
24180 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
24182 (__gettimeofday): Do not use CHECK_1.
24183 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
24184 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
24185 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
24187 (__gettimeofday): Do not use CHECK_1.
24188 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
24189 (__old_shmctl): Do not use CHECK_1_NULL_OK.
24190 (__new_shmctl): Do not use CHECK_1.
24191 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
24193 (do_sigtimedwait): Do not use CHECK_1.
24194 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
24196 (do_sigwaitinfo): Do not use CHECK_1.
24197 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
24199 (msgctl): Do not use CHECK_1.
24200 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
24202 (shmctl): Do not use CHECK_1.
24203 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
24204 (ustat): Do not use CHECK_1.
24205 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
24207 (__fxstat): Do not use CHECK_1.
24208 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
24210 (__fxstatat): Do not use CHECK_1.
24211 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
24213 (__lxstat): Do not use CHECK_1.
24214 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
24216 (__xstat): Do not use CHECK_1.
24217 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
24218 (__xstat): Do not use CHECK_1.
24219 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
24220 (___xstat64): Do not use CHECK_1.
24223 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
24225 (CHECK_BOUNDS_HIGH): Likewise.
24226 * string/strcpy.c: Do not include <bp-checks.h>.
24227 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
24229 2013-02-07 Roland McGrath <roland@hack.frob.com>
24231 * nscd/nscd-client.h (__nscd_drop_map_ref):
24232 Add __attribute__ ((unused)).
24233 * nis/nss-nisplus.h (niserr2nss): Likewise.
24235 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
24236 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
24238 * csu/libc-tls.c (init_static_tls, init_slotinfo):
24239 Remove inline keyword.
24240 * include/rounding-mode.h (round_away): Likewise.
24241 * libio/wfileops.c (adjust_wide_data): Likewise.
24242 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
24243 (__m128i_strloadu_tolower): Likewise.
24244 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
24245 (__m128i_strloadu_tolower): Likewise.
24246 * time/mktime.c (ydhms_diff): Likewise.
24247 * locale/elem-hash.h (elem_hash): Likewise.
24248 * locale/setlocale.c (setdata): Likewise.
24249 * posix/regex_internal.h (re_string_char_size_at): Likewise.
24250 (re_string_wchar_at): Likewise.
24251 (bitset_not, bitset_merge, bitset_mask): Likewise.
24252 [!(__GNUC__ > 3)] (inline): Remove macro.
24253 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
24254 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
24255 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
24256 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
24257 * string/memcmp.c (memcmp_bytes): Likewise.
24258 * locale/programs/locarchive.c (compute_hashval): Likewise.
24259 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
24260 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
24261 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
24262 * nss/getent.c (print_rpc, print_protocols): Likewise.
24263 (print_passwd, print_group, print_aliases): Likewise.
24264 * nis/nss-nisplus.h (niserr2nss): Likewise.
24265 * nscd/connections.c (restart_p): Likewise.
24266 Change return type to bool.
24268 2013-02-05 Roland McGrath <roland@hack.frob.com>
24270 * Makeconfig (all-Depend-files): Add existing
24271 $(sorted-subdirs:=/Depend) files.
24272 (all-subdirs): Remove nss.
24273 * sysdeps/unix/inet/Subdirs: Add it here instead.
24274 * hesiod/Depend: New file.
24276 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
24277 instead of calling alloca.
24279 * io/lseek.c (__lseek): Rename to __libc_lseek.
24280 Define __lseek as an alias.
24282 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
24284 2013-02-04 Carlos O'Donell <carlos@redhat.com>
24286 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
24287 else clause and remove check for non-standard endianness.
24289 2013-02-04 David S. Miller <davem@davemloft.net>
24291 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24293 2013-02-04 Joseph Myers <joseph@codesourcery.com>
24296 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
24297 (__ubp_memchr): Remove prototype.
24298 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
24299 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
24300 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
24301 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
24302 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
24304 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
24305 (__ubp_memchr): Likewise.
24306 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
24307 (__ubp_memchr): Likewise.
24308 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
24309 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
24310 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
24311 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
24313 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
24314 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
24315 (__getcwd): Do not use CHECK_STRING.
24316 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
24318 (__real_chown): Do not use CHECK_STRING.
24319 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
24321 (fchownat): Do not use CHECK_STRING.
24322 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
24324 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
24326 (__lchown): Do not use CHECK_STRING.
24327 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
24328 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
24329 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
24330 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
24331 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
24332 include <bp-checks.h>.
24333 (truncate64): Do not use CHECK_STRING.
24334 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
24336 (__real_chown): Do not use CHECK_STRING.
24337 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
24339 (__lchown): Do not use CHECK_STRING.
24340 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
24342 (__chown): Do not use CHECK_STRING.
24343 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
24345 (truncate64): Do not use CHECK_STRING.
24346 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
24348 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
24349 (__xmknod): Do not use CHECK_STRING.
24350 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
24352 (__xmknodat): Do not use CHECK_STRING.
24353 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
24354 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
24356 2013-02-04 Andreas Schwab <schwab@suse.de>
24359 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
24360 * include/netdb.h: Likewise for h_errno.
24361 * elf/tst-stackguard1.c: Include <tls.h>.
24363 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
24365 * elf/link.h (struct link_map): Extend the l_addr comment.
24366 * include/link.h (struct link_map): Likewise.
24368 2013-02-01 Joseph Myers <joseph@codesourcery.com>
24371 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
24372 (BOUNDED_1): Remove macro.
24373 * debug/backtrace.c: Don't include <bp-checks.h>.
24374 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
24375 (__backtrace): Likewise.
24376 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
24378 (__backtrace): Don't use BOUNDED_1.
24379 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
24381 (__backtrace): Don't use BOUNDED_1.
24382 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
24383 (__backtrace): Don't use BOUNDED_1.
24384 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
24385 (shmat): Don't use BOUNDED_N.
24387 2013-01-31 Joseph Myers <joseph@codesourcery.com>
24390 * sysdeps/generic/bp-start.h: Remove file.
24391 * csu/libc-start.c: Don't include <bp-start.h>.
24392 (LIBC_START_MAIN): Set up __environ directly instead of using
24393 INIT_ARGV_and_ENVIRON.
24394 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
24398 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
24400 (CHECK_FCNTL): Likewise.
24401 (CHECK_N_PAGES): Likewise.
24404 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
24406 (CHECK_SIGSET_NULL_OK): Likewise.
24407 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
24409 (sigpending): Don't use CHECK_SIGSET.
24410 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
24412 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
24413 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
24415 (do_sigsuspend): Don't use CHECK_SIGSET.
24416 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
24418 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
24419 (do_sigwait): Don't use CHECK_SIGSET.
24420 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
24422 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
24423 include <bp-checks.h>.
24424 (sigpending): Don't use CHECK_SIGSET.
24425 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
24426 include <bp-checks.h>.
24427 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
24428 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
24430 (sigpending): Don't use CHECK_SIGSET.
24431 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
24433 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
24436 * sysdeps/generic/bp-semctl.h: Remove file.
24437 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
24438 <bp-checks.h> and <bp-semctl.h>.
24439 (__old_semctl): Don't use CHECK_SEMCTL.
24440 (__new_semctl): Likewise.
24441 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
24443 (__old_semctl): Don't use CHECK_SEMCTL.
24444 (__new_semctl): Likewise.
24445 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
24446 <bp-checks.h> and <bp-semctl.h>.
24447 (__old_semctl): Don't use CHECK_SEMCTL.
24448 (__new_semctl): Likewise.
24449 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
24450 <bp-checks.h> and <bp-semctl.h>.
24451 (semctl): Don't use CHECK_SEMCTL.
24454 * Makerules (elide-bp-thunks): Remove variable.
24455 (elide-routines.oS): Don't use $(elide-bp-thunks).
24456 (elide-routines.os): Likewise.
24457 (elide-routines.o): Likewise.
24458 (elide-routines.op): Likewise.
24459 (elide-routines.og): Likewise.
24460 (objects): Don't use $(bp-thunks).
24461 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
24463 (common-generated): Do not add s-proto-bp.d.
24464 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
24467 Do not generate makefile rules for bounded-pointer thunks.
24468 * sysdeps/generic/bp-thunks.h: Remove file.
24469 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
24470 * sysdeps/unix/s-proto-bp.S: Likewise.
24473 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
24474 parts of result separately when argument is not close to line from
24475 -i to i and one part of argument is small.
24476 * math/k_casinhf.c (__kernel_casinhf): Likewise.
24477 * math/k_casinhl.c (__kernel_casinhl): Likewise.
24478 * math/libm-test.inc (cacos_test): Add more tests.
24479 (casin_test): Likewise.
24480 (casinh_test): Likewise.
24481 * sysdeps/i386/fpu/libm-test-ulps: Update.
24482 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24484 2013-01-31 David S. Miller <davem@davemloft.net>
24486 * po/de.po: Update from translation team.
24488 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
24490 * time/tzfile.c: Include stdint.h for SIZE_MAX.
24492 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
24494 * configure.in (_AC_PROG_CC_C89): New definition.
24495 * configure: Regenerate.
24497 * configure.in (AC_PROG_CPP): New definition.
24498 * configure: Regenerate.
24500 2013-01-23 Joseph Myers <joseph@codesourcery.com>
24502 * debug/tst-backtrace.h: New file.
24503 * debug/tst-backtrace2.c: Include tst-backtrace.h.
24504 (ret): Remove variable.
24506 (FAIL): Remove macro.
24507 (NO_INLINE): Likewise.
24508 (fn1): Use match function instead of strstr.
24509 * debug/tst-backtrace3.c: Include tst-backtrace.h.
24510 (ret): Remove variable.
24512 (FAIL): Remove macro.
24513 (NO_INLINE): Likewise.
24514 (fn): Use match function instead of strstr.
24515 * debug/tst-backtrace4.c: Include tst-backtrace.h.
24516 (ret): Remove variable.
24518 (FAIL): Remove macro.
24519 (NO_INLINE): Likewise.
24520 (handle_signal): Use match function instead of strstr.
24521 * debug/tst-backtrace5.c: Include tst-backtrace.h.
24522 (ret): Remove variable.
24524 (FAIL): Remove macro.
24525 (NO_INLINE): Likewise.
24526 (handle_signal): Use match function instead of strstr.
24528 2013-01-23 Roland McGrath <roland@hack.frob.com>
24530 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
24532 2013-01-23 David S. Miller <davem@davemloft.net>
24534 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
24535 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
24536 argument of CAS if possible.
24537 * sysdeps/sparc/sparc64/bits/atomic.h
24538 (__arch_compare_and_exchange_val_32_acq): Likewise.
24539 (__arch_compare_and_exchange_val_64_acq): Likewise.
24541 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
24543 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
24544 * sysdeps/posix/ulimit.c: ... this.
24545 Include <limits.h>.
24546 * sysdeps/unix/bsd/ulimit.c: Remove file.
24548 2013-01-23 Adam Conrad <adconrad@0c3.net>
24550 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
24551 (LDFLAGS-tst-array5): Likewise.
24553 2013-01-23 Joseph Myers <joseph@codesourcery.com>
24556 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
24557 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
24558 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
24559 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
24561 2013-01-21 David S. Miller <davem@davemloft.net>
24563 * sysdeps/sparc/backtrace.c: New file.
24564 * sysdeps/sparc/sparc32/backtrace.h: New file.
24565 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
24566 * sysdeps/sparc/sparc64/backtrace.h: New file.
24567 * sysdeps/sparc/sparc64/backtrace.c: Delete.
24568 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
24571 2013-01-21 Andreas Schwab <schwab@suse.de>
24574 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
24577 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
24579 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
24581 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
24583 2013-01-18 Joseph Myers <joseph@codesourcery.com>
24584 Mark Mitchell <mark@codesourcery.com>
24585 Tom de Vries <tom@codesourcery.com>
24586 Paul Pluzhnikov <ppluzhnikov@google.com>
24588 * debug/tst-backtrace2.c: New file.
24589 * debug/tst-backtrace3.c: Likewise.
24590 * debug/tst-backtrace4.c: Likewise.
24591 * debug/tst-backtrace5.c: Likewise.
24592 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
24593 (CFLAGS-tst-backtrace3.c): Likewise.
24594 (CFLAGS-tst-backtrace4.c): Likewise.
24595 (CFLAGS-tst-backtrace5.c): Likewise.
24596 (LDFLAGS-tst-backtrace2): Likewise.
24597 (LDFLAGS-tst-backtrace3): Likewise.
24598 (LDFLAGS-tst-backtrace4): Likewise.
24599 (LDFLAGS-tst-backtrace5): Likewise.
24600 (tests): Add new tests tst-backtrace2, tst-backtrace3,
24601 tst-backtrace4 and tst-backtrace5.
24603 2013-01-18 Anton Blanchard <anton@samba.org>
24604 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
24606 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
24607 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
24608 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
24609 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
24610 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
24611 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
24612 "+r" and remove output regs list as redundant. Add explicit inline
24613 asm to specify register of return val to work around compiler codegen
24614 bug. Remove (int) cast on return value. Add return type parameter to
24615 use in macro so that this macro does not truncate return value for
24617 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
24618 pass to INTERNAL_VSYSCALL_NCS.
24619 (INLINE_VSYSCALL): Add 'long int' as return type to
24620 INTERNAL_VSYSCALL_NCS macro invocation.
24621 (INTERNAL_VSYSCALL): Add 'long int' as return type to
24622 INTERNAL_VSYSCALL_NCS macro invocation.
24623 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
24625 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
24628 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
24629 Fix application of SIMD FP exception mask.
24631 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
24632 mp_no from a power of two.
24633 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
24634 __mpexp_twomm1. Use __pow_mp.
24636 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
24639 2013-01-17 David S. Miller <davem@davemloft.net>
24641 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24643 2013-01-17 Joseph Myers <joseph@codesourcery.com>
24646 * include/complex.h: Condition contents on [!_COMPLEX_H].
24647 (__kernel_casinhf): New prototype.
24648 (__kernel_casinh): Likewise.
24649 (__kernel_casinhl): Likewise.
24650 * math/Makefile (libm_calls): Add k_casinh.
24651 * math/k_casinh.c: New file.
24652 * math/k_casinhf.c: Likewise.
24653 * math/k_casinhl.c: Likewise.
24654 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
24655 finite nonzero arguments.
24656 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
24657 finite nonzero arguments.
24658 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
24659 finite nonzero arguments.
24660 * math/s_casinh.c: Do not include <float.h>.
24661 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
24662 * math/s_casinhf.c: Do not include <float.h>.
24663 (__casinhf): Move code for finite nonzero arguments to
24665 * math/s_casinhl.c: Do not include <float.h>.
24666 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
24668 (__casinhl): Move code for finite nonzero arguments to
24670 * math/libm-test.inc (cacos_test): Add more tests.
24671 * sysdeps/i386/fpu/libm-test-ulps: Update.
24672 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24674 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
24676 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
24677 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
24678 [!HAVE_MREMAP]: Remove [defined linux] case.
24679 * malloc/arena.c: Do not include <malloc-sysdep.h>.
24681 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
24683 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
24685 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
24687 * elf/elf.h (R_386_SIZE32): New relocation.
24688 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
24690 (elf_machine_rela): Likewise.
24691 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
24692 R_X86_64_SIZE64 and R_X86_64_SIZE32.
24694 2013-01-17 Joseph Myers <joseph@codesourcery.com>
24696 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
24697 (FP_FAST_FMA): Do not define.
24698 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
24699 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
24700 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
24701 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
24702 !_SOFT_FLOAT]: Likewise.
24703 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
24704 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
24706 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
24707 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
24708 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
24709 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
24710 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
24711 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
24714 2013-01-16 Andreas Schwab <schwab@suse.de>
24717 * include/stdlib.h (__mktemp): Add declaration.
24718 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
24719 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
24721 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
24723 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
24725 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
24726 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
24727 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
24729 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
24730 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
24732 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
24734 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
24735 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
24736 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
24738 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
24739 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
24741 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
24743 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
24745 2013-01-15 David S. Miller <davem@davemloft.net>
24747 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
24748 trunc{,f} to libm-sysdep_routes.
24749 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
24750 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
24752 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
24753 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
24755 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
24757 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
24758 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
24759 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
24760 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
24761 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
24762 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
24763 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
24764 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
24766 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
24767 nearbyint{,f} to libm-sysdep_routes.
24768 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
24769 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
24771 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
24773 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
24775 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
24777 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
24778 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
24779 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
24781 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
24782 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
24784 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
24785 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
24786 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
24788 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
24789 libc_feholdexcept and libc_fesetenv.
24791 2013-01-15 Mike Frysinger <vapier@gentoo.org>
24793 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
24795 2013-01-14 David S. Miller <davem@davemloft.net>
24797 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
24798 (SPARC_ASM_VIS2_IFUNC): Likewise.
24799 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
24800 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
24801 use of 'siam' instruction.
24802 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
24804 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
24806 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
24808 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
24809 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
24810 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
24811 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
24812 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
24814 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
24816 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
24818 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
24820 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
24821 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
24822 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
24823 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
24824 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
24826 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
24827 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
24828 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
24830 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
24831 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
24832 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
24833 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
24834 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
24835 routines to libm-sysdep_routines.
24836 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
24838 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
24839 fdim/fdimf to libm-sysdep_routines.
24840 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
24842 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
24843 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
24845 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
24846 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
24847 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
24848 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
24849 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
24850 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
24851 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
24853 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
24855 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
24856 to optimize copies.
24858 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
24859 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
24860 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
24862 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
24863 local variable MPTWO.
24864 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
24867 2013-01-13 Mike Frysinger <vapier@gentoo.org>
24869 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
24872 2013-01-13 Mike Frysinger <vapier@gentoo.org>
24874 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
24876 2013-01-13 Mike Frysinger <vapier@gentoo.org>
24878 * manual/pattern.texi (glob_t): Document gl_flags.
24879 (glob64_t): Likewise.
24881 2013-01-11 David S. Miller <davem@davemloft.net>
24883 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
24884 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
24885 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
24886 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
24887 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
24888 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
24889 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
24890 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
24891 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
24892 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
24893 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
24894 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
24895 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
24897 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
24898 sparc V9 rather than using V8 code.
24899 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
24900 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
24902 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
24904 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
24907 2013-01-11 Roland McGrath <roland@hack.frob.com>
24909 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
24910 not in the main loop.
24911 * configure: Regenerated.
24913 2013-01-11 Joseph Myers <joseph@codesourcery.com>
24915 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
24916 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
24918 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
24919 [!__GLIBC_HAVE_LONG_LONG] case.
24920 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
24921 condition to just #else.
24922 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
24923 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
24924 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
24925 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
24927 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
24928 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
24929 #elif condition to just #else.
24930 * sysdeps/unix/sysv/linux/sys/sysmacros.h
24931 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
24932 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
24933 #elif condition to just #else.
24935 2013-01-11 Steve Ellcey <sellcey@mips.com>
24937 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
24938 (EF_MIPS_ARCH_64): Fix value.
24939 (EF_MIPS_ARCH_32R2): New.
24940 (EF_MIPS_ARCH_64R2): New.
24942 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
24944 * Makeconfig (+link-pie-before-libc): New.
24945 (+link-pie-after-libc): Likewise.
24946 (+link-pie-tests): Likewise.
24947 (+link-pie): Rewritten.
24948 (link-before-libc): Remove $(config-LDFLAGS).
24949 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
24950 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
24951 (config-LDFLAGS): Renamed to ...
24952 (rtld-LDFLAGS): This.
24953 (rtld-tests-LDFLAGS): New macro.
24954 (link-libc-rpath-link): Likewise.
24955 (link-libc-tests-rpath-link): Likewise.
24956 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
24957 (link-libc): Prepand $(link-libc-rpath-link).
24958 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
24959 (test-program-prefix): New macro.
24960 (test-via-rtld-prefix): Likewise.
24961 (test-program-cmd): Likewise.
24962 (host-test-program-cmd): Likewise.
24963 * Makefile ($(common-objpfx)testrun.sh): Replace
24964 $(run-program-prefix) with $(test-program-prefix).
24965 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
24967 ($(common-objpfx)shlib.lds): Likewise.
24968 (build-module-helper): Likewise.
24969 ($(common-objpfx)format.lds): Likewise.
24970 * Rules (binaries-pie-tests): New.
24971 (binaries-pie-notests): Likewise.
24972 (binaries-pie): Rewritten.
24973 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
24974 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
24975 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
24976 (make-test-out): Replace $(host-built-program-cmd) with
24977 $(host-test-program-cmd).
24978 * config.make.in (build-hardcoded-path-in-tests): New variable.
24979 * configure.in (--enable-hardcoded-path-in-tests): New configure
24981 (hardcoded_path_in_tests): New AC_SUBST.
24982 * configure: Regenerated.
24983 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
24984 $(built-program-cmd) with $(test-program-cmd).
24985 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
24986 (test_program_cmd): This.
24987 * elf/Makefile ($(objpfx)order.out): Run test with
24988 $(test-program-prefix).
24989 ($(objpfx)order2.out): Likewise.
24990 ($(objpfx)tst-initorder.out): Likewise.
24991 ($(objpfx)tst-initorder2.out): Likewise.
24992 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
24993 $(test-program-cmd).
24994 ($(objpfx)tst-array1-static.out): Likewise.
24995 ($(objpfx)tst-array2.out): Likewise.
24996 ($(objpfx)tst-array3.out): Likewise.
24997 ($(objpfx)tst-array4.out): Likewise.
24998 ($(objpfx)tst-array5.out): Likewise.
24999 ($(objpfx)tst-array5-static.out): Likewise.
25000 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
25001 $(test-program-cmd).
25002 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
25003 $(run-program-prefix) with $(test-program-prefix).
25004 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
25005 (test_program_prefix): This.
25006 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
25007 $(run-program-prefix) with $(test-program-prefix).
25008 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
25009 (test_program_prefix): This.
25010 * iconvdata/tst-tables.sh: Likewise.
25011 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
25012 $(run-program-prefix) with $(test-program-prefix).
25013 ($(objpfx)tst-translit.out): Likewise.
25014 ($(objpfx)tst-gettext2.out): Likewise.
25015 ($(objpfx)tst-gettext4.out): Likewise.
25016 ($(objpfx)tst-gettext6.out): Likewise.
25017 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
25018 (test_program_prefix): This.
25019 * intl/tst-gettext2.sh: Likewise.
25020 * intl/tst-gettext4.sh Likewise.
25021 * intl/tst-gettext6.sh: Likewise.
25022 * intl/tst-translit.sh: Likewise.
25023 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
25024 with $(test-program-cmd).
25025 * libio/Makefile ($(objpfx)test-freopen.out): Replace
25026 $(run-program-prefix) with $(test-program-prefix).
25027 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
25028 (test_program_prefix): This.
25029 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
25030 $(run-program-prefix) with $(test-program-prefix).
25031 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
25032 (test_program_prefix): This.
25033 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
25034 * posix/Makefile ($(objpfx)globtest.out): Replace
25035 $(run-via-rtld-prefix) and $(test-wrapper) with
25036 $(test-program-prefix) and $(test-via-rtld-prefix).
25037 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
25038 $(test-program-prefix).
25039 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
25040 $(host-test-program-cmd).
25041 (tst-spawn-ARGS): Likewise.
25042 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
25043 $(test-program-prefix).
25044 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
25045 (test_via_rtld_prefix): This.
25046 (test_wrapper): Renamed to ...
25047 (test_program_prefix): This.
25048 (run_program_prefix): Replaced by test_program_prefix.
25049 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
25050 (test_program_prefix): This.
25051 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
25052 with $(host-test-program-cmd).
25053 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
25054 $(run-program-prefix) with $(test-program-prefix).
25055 ($(objpfx)tst-printf.out): Likewise.
25056 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
25057 $(test-program-cmd).
25058 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
25059 (test_program_prefix): This.
25060 * stdio-common/tst-unbputc.sh: Likewise.
25061 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
25062 $(run-program-prefix) with $(test-program-prefix).
25063 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
25064 (test_program_prefix): This.
25065 * string/Makefile ($(objpfx)tst-svc.out): Replace
25066 $(built-program-cmd) with $(test-program-cmd).
25068 2013-01-11 Andreas Jaeger <aj@suse.de>
25071 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
25072 value. Sync with Linux 3.7.
25074 2013-01-10 David S. Miller <davem@davemloft.net>
25076 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
25077 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
25078 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
25080 2013-01-10 Roland McGrath <roland@hack.frob.com>
25082 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
25084 * configure: Regenerated.
25086 2013-01-10 David S. Miller <davem@davemloft.net>
25088 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
25089 sparc V9 rather than using V8 code.
25090 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
25091 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
25093 2013-01-10 Roland McGrath <roland@hack.frob.com>
25095 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
25096 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
25097 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
25098 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
25099 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
25100 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
25101 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
25102 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
25103 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
25104 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
25105 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
25106 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
25107 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
25108 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
25109 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
25110 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
25111 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
25112 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
25113 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
25114 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
25115 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
25116 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
25117 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
25118 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
25119 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
25120 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
25121 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
25123 2013-01-10 David S. Miller <davem@davemloft.net>
25125 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25127 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
25129 * posix/Makefile (tests-static): New variable.
25130 (tests): Add $(tests-static).
25131 (tst-exec-static-ARGS): New variable.
25132 (tst-spawn-static-ARGS): Likewise.
25133 * posix/tst-exec-static.c: New file.
25134 * posix/tst-spawn-static.c: Likewise.
25135 * posix/tst-exec.c: Support run directly.
25136 * posix/tst-spawn.c: Likewise.
25138 2013-01-10 Joseph Myers <joseph@codesourcery.com>
25140 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
25142 * math/bits/mathcalls.h (llrint): Likewise.
25143 (llround): Likewise.
25144 * stdlib/stdlib.h (struct drand48_data): Likewise.
25145 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
25146 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
25147 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
25149 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
25151 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
25152 (elf_greg_t): Likewise.
25153 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
25154 (__jmp_buf): Likewise.
25155 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
25157 (llrint): Likewise, for all definitions.
25158 (llrintl): Likewise.
25160 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
25161 Remove [__GNUC__] condition.
25162 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
25163 condition to just [__USE_ISOC99].
25164 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
25166 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
25169 * sysdeps/unix/sysv/linux/x86/bits/environments.h
25170 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
25172 (_POSIX_V6_ILP32_OFF32): Likewise.
25173 (_XBS5_ILP32_OFF32): Likewise.
25174 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
25175 (__ILP32_OFFBIG_LDFLAGS): Likewise.
25177 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
25179 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
25181 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
25182 doubles __mpexp_twomm1. Adjust usage.
25183 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
25186 2013-01-10 Andreas Schwab <schwab@suse.de>
25189 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
25190 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
25192 2013-01-09 David S. Miller <davem@davemloft.net>
25195 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
25196 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
25197 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
25198 (TCP_FASTOPEN): Define.
25199 (tcp_repair_opt): New structure.
25200 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
25202 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
25203 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
25204 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
25205 (tcp_cookie_transactions): New structure.
25207 2013-01-09 Anton Blanchard <anton@samba.org>
25209 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
25210 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
25211 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
25212 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
25214 2013-01-09 Joseph Myers <joseph@codesourcery.com>
25216 * include/features.h (__USE_ANSI): Remove.
25218 2013-01-09 Roland McGrath <roland@hack.frob.com>
25220 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
25222 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
25224 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
25226 * sysdeps/s390/fpu/libm-test-ulps: Update.
25228 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25230 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
25234 (denorm): Likewise.
25235 (__mp_dbl): Likewise.
25236 (__dbl_mp): Likewise.
25237 (add_magnitudes): Likewise.
25238 (sub_magnitudes): Likewise.
25244 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
25248 (denorm): Likewise.
25249 (__mp_dbl): Likewise.
25250 (__dbl_mp): Likewise.
25251 (add_magnitudes): Likewise.
25252 (sub_magnitudes): Likewise.
25258 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
25262 (denorm): Likewise.
25263 (__mp_dbl): Likewise.
25264 (__dbl_mp): Likewise.
25265 (add_magnitudes): Likewise.
25266 (sub_magnitudes): Likewise.
25273 2013-01-08 Joseph Myers <joseph@codesourcery.com>
25275 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
25276 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
25277 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
25278 2 && __USE_EXTERN_INLINES]: Likewise.
25280 2013-01-08 Andreas Jaeger <aj@suse.de>
25283 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
25285 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
25286 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
25288 2013-01-07 Anton Blanchard <anton@samba.org>
25290 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
25291 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
25292 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
25293 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
25294 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
25295 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
25296 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
25297 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
25298 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
25299 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
25300 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
25301 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
25302 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
25303 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
25304 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
25305 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
25306 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
25307 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
25308 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
25309 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
25310 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
25311 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
25312 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
25313 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
25314 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
25315 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
25316 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
25317 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
25318 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
25319 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
25320 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
25321 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
25322 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
25323 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
25324 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
25325 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
25326 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
25327 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
25328 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
25329 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
25330 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
25331 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
25332 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
25334 2013-01-07 Joseph Myers <joseph@codesourcery.com>
25336 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
25337 (__MALLOC_PMT): Likewise.
25338 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
25339 [__GNUC__], only on [_LIBC].
25340 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
25341 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
25342 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
25343 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
25344 forward declaration.
25345 (realloc_hook_ini): Likewise.
25346 (memalign_hook_ini): Likewise.
25347 (__libc_memalign): Do not use __MALLOC_PMT in variable
25349 (__libc_valloc): Likewise.
25350 (__libc_pvalloc): Likewise.
25351 (__libc_calloc): Likewise.
25352 (__posix_memalign): Likewise.
25355 * math/s_casinh.c: Include <float.h>.
25356 (__casinh): Do not do computation with squaring and square root
25357 for large arguments.
25358 * math/s_casinhf.c: Include <float.h>.
25359 (__casinhf): Do not do computation with squaring and square root
25360 for large arguments.
25361 * math/s_casinhl.c: Include <float.h>.
25362 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
25363 (__casinhl): Do not do computation with squaring and square root
25364 for large arguments.
25365 * math/libm-test.inc (casin_test): Add more tests.
25366 (casinh_test): Likewise.
25367 * sysdeps/i386/fpu/libm-test-ulps: Update.
25368 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25370 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
25372 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
25373 (__x86_64_raw_data_cache_size): Likewise.
25374 (__x86_64_data_cache_size_half): Likewise.
25375 (__x86_64_raw_data_cache_size_half): Likewise.
25376 (__x86_64_shared_cache_size): Likewise.
25377 (__x86_64_raw_shared_cache_size): Likewise.
25378 (__x86_64_shared_cache_size_half): Likewise.
25379 (__x86_64_raw_shared_cache_size_half): Likewise.
25380 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
25382 (__x86_data_cache_size): This.
25383 (__x86_64_raw_data_cache_size): Renamed to ...
25384 (__x86_raw_data_cache_size): This.
25385 (__x86_64_data_cache_size_half): Renamed to ...
25386 (__x86_data_cache_size_half): This.
25387 (__x86_64_raw_data_cache_size_half): Renamed to ...
25388 (__x86_raw_data_cache_size_half): This.
25389 (__x86_64_shared_cache_size): Renamed to ...
25390 (__x86_shared_cache_size): This.
25391 (__x86_64_raw_shared_cache_size): Renamed to ...
25392 (__x86_raw_shared_cache_size): This.
25393 (__x86_64_shared_cache_size_half): Renamed to ...
25394 (__x86_shared_cache_size_half): This.
25395 (__x86_64_raw_shared_cache_size_half): Renamed to ...
25396 (__x86_raw_shared_cache_size_half): This.
25397 * sysdeps/x86_64/memcpy.S: Updated.
25398 * sysdeps/x86_64/memset.S: Likewise.
25399 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
25400 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
25401 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
25403 2013-01-04 David S. Miller <davem@davemloft.net>
25405 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25407 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
25409 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
25410 1 to avoid redefinition warning.
25411 (__USE_GNU): Don't define.
25412 (init_signaling_nan): Protoize.
25414 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25416 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
25418 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
25419 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
25420 (__cpymn): Likewise.
25421 (norm): Remove commented code.
25422 (denorm): Likewise.
25423 (__mp_dbl): Likewise.
25425 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
25426 (__cpymn): Likewise.
25427 (norm): Remove commented code.
25428 (denorm): Likewise.
25429 (__mp_dbl): Likewise.
25432 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
25433 mp_no value for 1.0 and 2.0.
25434 (norm): Use RADIXI instead of radixi.d.
25435 (denorm): Likewise.
25436 (__mul): Use 0.0 instead of zero.d.
25437 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
25438 mp_no value for 1.0 and 2.0.
25439 (norm): Use RADIXI instead of radixi.d.
25440 (denorm): Likewise.
25441 (__mul): Use 0.0 instead of zero.d.
25443 2013-01-04 Joseph Myers <joseph@codesourcery.com>
25446 * math/s_casinh.c (__casinh): Reduce finite argument to first
25447 quadrant then set signs of results at the end.
25448 * math/s_casinhf.c (__casinhf): Likewise.
25449 * math/s_casinhl.c (__casinhl): Likewise.
25450 * math/libm-test.inc (casin_test): Add more tests.
25451 (casinh_test): Likewise.
25452 * sysdeps/i386/fpu/libm-test-ulps: Update.
25453 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25455 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
25457 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
25459 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
25461 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
25463 (denorm): Likewise.
25464 (__mp_dbl): Likewise.
25467 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
25468 and adjust the header comment.
25470 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
25471 variable name from declaration.
25473 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
25475 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25476 Initialize COMMON_CPUID_INDEX_7 element.
25477 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
25478 (CPUID_RTM): Likewise.
25479 (HAS_RTM): Likewise.
25480 (COMMON_CPUID_INDEX_7): New enum.
25482 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
25485 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
25486 size is zero, record memory as freed.
25488 2013-01-03 Andreas Jaeger <aj@suse.de>
25490 * po/ia.po: Add new Interlingua translation.
25492 2012-01-03 Allan McRae <allan@archlinux.org>
25494 * locale/programs/localedef.c: Fix description of '--posix' flag.
25496 2013-01-02 Joseph Myers <joseph@codesourcery.com>
25498 * NEWS: Update dates in second copyright notice.
25499 * README: Update copyright dates in example.
25500 * manual/libc.texinfo: Update copyright dates.
25501 * scripts/test-installation.pl: Update copyright date in --version
25504 * hurd/ctty-input.c: Fix copyright notice formatting.
25505 * hurd/ctty-output.c: Likewise.
25506 * hurd/dtable.c: Likewise.
25507 * hurd/hurd-raise.c: Likewise.
25508 * hurd/hurdprio.c: Likewise.
25509 * hurd/msgportdemux.c: Likewise.
25510 * misc/sys/file.h: Likewise.
25511 * misc/sys/ioctl.h: Likewise.
25512 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
25513 * sysdeps/mach/hurd/chdir.c: Likewise.
25514 * sysdeps/mach/hurd/fchdir.c: Likewise.
25515 * sysdeps/mach/hurd/rename.c: Likewise.
25516 * sysdeps/mach/hurd/rmdir.c: Likewise.
25517 * sysdeps/mach/hurd/seekdir.c: Likewise.
25518 * sysdeps/mach/hurd/setsid.c: Likewise.
25519 * sysdeps/posix/wait3.c: Likewise.
25521 * All files with FSF copyright notices: Update copyright dates
25522 using scripts/update-copyrights.
25523 * intl/plural.c: Regenerated.
25524 * locale/programs/charmap-kw.h: Likewise.
25525 * locale/programs/locfile-kw.h: Likewise.
25527 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
25529 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
25532 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
25533 calculation loop and add branch prediction.
25535 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
25536 check access beyond bounds of m1np.
25538 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
25540 (__inv): Remove local variable MPTWO to use the global
25542 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
25543 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
25545 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
25546 MP3HALFS static const.
25548 2013-01-01 David S. Miller <davem@davemloft.net>
25550 * po/ca.po: Update from translation team.
25552 2013-01-01 Joseph Myers <joseph@codesourcery.com>
25554 * scripts/update-copyrights: New file.
25555 * Makeconfig: Reformat copyright notice.
25556 * ctype/ctype.h: Likewise.
25557 * debug/swprintf_chk.c: Likewise.
25558 * elf/dl-cache.c: Likewise.
25559 * elf/dl-debug.c: Likewise.
25560 * elf/dl-object.c: Likewise.
25561 * grp/initgroups.c: Likewise.
25562 * hurd/Makefile: Likewise.
25563 * hurd/hurd/signal.h: Likewise.
25564 * hurd/hurdfault.c: Likewise.
25565 * hurd/hurdioctl.c: Likewise.
25566 * hurd/hurdlookup.c: Likewise.
25567 * hurd/intr-msg.c: Likewise.
25568 * iconv/gconv_open.c: Likewise.
25569 * libio/swprintf.c: Likewise.
25570 * locale/lc-ctype.c: Likewise.
25571 * locale/nl_langinfo.c: Likewise.
25572 * mach/Machrules: Likewise.
25573 * mach/Makefile: Likewise.
25574 * malloc/obstack.h: Likewise.
25575 * manual/Makefile: Likewise.
25576 * manual/tsort.awk: Likewise.
25577 * misc/bits/stab.def: Likewise.
25578 * nis/nis_print_group_entry.c: Likewise.
25579 * nis/nis_table.c: Likewise.
25580 * nis/nss_compat/compat-pwd.c: Likewise.
25581 * nis/nss_compat/compat-spwd.c: Likewise.
25582 * po/Makefile: Likewise.
25583 * posix/fnmatch.c: Likewise.
25584 * posix/regex.h: Likewise.
25585 * resolv/Makefile: Likewise.
25586 * resolv/nss_dns/dns-network.c: Likewise.
25587 * resolv/res_hconf.c: Likewise.
25588 * scripts/gen-sorted.awk: Likewise.
25589 * soft-fp/soft-fp.h: Likewise.
25590 * stdio-common/printf.h: Likewise.
25591 * stdlib/monetary.h: Likewise.
25592 * stdlib/random.c: Likewise.
25593 * stdlib/random_r.c: Likewise.
25594 * sysdeps/generic/Makefile: Likewise.
25595 * sysdeps/gnu/Makefile: Likewise.
25596 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
25597 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
25598 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
25599 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
25600 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
25601 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25602 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
25603 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
25604 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
25605 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
25606 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
25607 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
25608 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
25609 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
25610 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
25611 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
25612 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
25613 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
25614 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
25615 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
25616 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
25617 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
25618 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
25619 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
25620 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
25621 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
25622 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
25623 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
25624 * sysdeps/mach/hurd/errnos.awk: Likewise.
25625 * sysdeps/mach/hurd/fork.c: Likewise.
25626 * sysdeps/mach/hurd/getcwd.c: Likewise.
25627 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
25628 * sysdeps/mach/hurd/mmap.c: Likewise.
25629 * sysdeps/mach/hurd/utimes.c: Likewise.
25630 * sysdeps/mach/hurd/xmknod.c: Likewise.
25631 * sysdeps/posix/profil.c: Likewise.
25632 * sysdeps/posix/readdir_r.c: Likewise.
25633 * sysdeps/powerpc/bits/mathdef.h: Likewise.
25634 * sysdeps/powerpc/bits/setjmp.h: Likewise.
25635 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
25636 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
25637 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
25638 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
25639 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
25640 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
25641 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
25642 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
25643 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
25644 * sysdeps/pthread/lio_listio.c: Likewise.
25645 * sysdeps/sparc/dl-procinfo.h: Likewise.
25646 * sysdeps/unix/i386/sysdep.S: Likewise.
25647 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
25648 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
25649 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
25650 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
25651 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
25652 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
25653 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
25654 * sysdeps/unix/sysv/linux/speed.c: Likewise.
25655 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
25656 * sysdeps/wordsize-32/divdi3.c: Likewise.
25657 * time/sys/time.h: Likewise.
25658 * wcsmbs/Makefile: Likewise.
25660 2013-01-01 David S. Miller <davem@davemloft.net>
25662 * po/fr.po: Update from translation team.
25664 * catgets/gencat.c: Update copyright year.
25665 * csu/version.c: Likewise.
25666 * debug/catchsegv.sh: Likewise.
25667 * debug/pcprofiledump.c: Likewise.
25668 * debug/xtrace.sh: Likewise.
25669 * elf/ldconfig.c: Likewise.
25670 * elf/ldd.bash.in: Likewise.
25671 * elf/pldd.c: Likewise.
25672 * elf/sotruss.ksh: Likewise.
25673 * elf/sprof.c: Likewise.
25674 * iconv/iconv_prog.c: Likewise.
25675 * iconv/iconvconfig.c: Likewise.
25676 * locale/programs/locale.c: Likewise.
25677 * locale/programs/localedef.c: Likewise.
25678 * login/programs/pt_chown.c: Likewise.
25679 * malloc/memusage.sh: Likewise.
25680 * malloc/memusagestat.c: Likewise.
25681 * malloc/mtrace.pl: Likewise.
25682 * nscd/nscd.c: Likewise.
25683 * nss/getent.c: Likewise.
25684 * nss/makedb.c: Likewise.
25685 * posix/getconf.c: Likewise.
25687 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
25689 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
25692 2012-12-30 Mike Frysinger <vapier@gentoo.org>
25694 * math/bits/mathcalls.h (modf): Use __nonnull.
25696 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
25698 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
25699 (split): Use macro CN instead of the bare value.
25700 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
25702 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
25703 instead of the bare value.
25704 (power1): Likewise.
25706 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25708 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
25710 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
25712 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
25714 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
25715 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
25716 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
25717 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
25719 2012-12-28 Andreas Jaeger <aj@suse.de>
25721 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
25722 values are from Linux 3.7.
25724 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
25725 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
25727 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25729 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
25732 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
25734 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
25735 variables with preprocessor constants.
25736 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
25737 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
25738 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
25740 2012-12-27 Bruno Haible <bruno@clisp.org>
25743 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
25746 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
25748 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
25749 and use variable directly.
25750 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
25752 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
25754 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
25755 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
25757 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
25758 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
25759 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
25760 include directive. Remove local variable MPONE.
25761 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
25762 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
25763 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
25765 2012-12-25 David S. Miller <davem@davemloft.net>
25767 * version.h (RELEASE): Set to "development".
25768 (VERSION): Set to "2.17.90".
25769 * NEWS: Add 2.18 section.
25771 2012-12-21 David S. Miller <davem@davemloft.net>
25773 * po/hr.po: Update from translation team.
25775 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25777 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
25779 2012-12-19 Steve Ellcey <sellcey@mips.com>
25781 * NEWS: Mention new memcpy for MIPS.
25783 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
25785 * manual/contrib.texi (Contributors): Spelling correction.
25787 2012-12-15 David S. Miller <davem@davemloft.net>
25789 * po/ru.po: Update from translation team.
25791 2012-12-13 David S. Miller <davem@davemloft.net>
25793 * NEWS: Mention IFUNC testsuite enhancements.
25795 * po/pl.po: Update from translation team.
25796 * po/bg.po: Likewise.
25798 * manual/contrib.texi (Contributors): Update entries for Hongjiu
25799 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
25801 2012-12-11 David S. Miller <davem@davemloft.net>
25803 * po/sv.po: Update from translation team.
25805 * po/vi.po: Update from translation team.
25807 * po/cs.po: Update from translation team.
25809 * po/de.po: Update from translation team.
25810 * po/eo.po: Likewise.
25811 * po/nl.po: Likewise.
25813 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
25816 * manual/argp.texi (Argp Helper Functions): Move node to follow
25817 Argp Parsing State.
25820 * manual/conf.texi (Limits on File System Capacity): Mention if
25821 terminating null is included in the max size.
25823 2012-12-10 Andreas Jaeger <aj@suse.de>
25825 * po/cs.po: Update from translation team.
25827 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
25829 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
25830 void pointer and cast to uintptr_t.
25831 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
25833 * sysdeps/s390/s390-64/memcpy.S: Likewise.
25834 * sysdeps/s390/s390-64/memset.S: Likewise.
25836 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
25839 * menual/message.texi (Message Translation): Fix typos.
25840 (Helper programs for gettext): Likewise.
25842 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
25845 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
25848 2012-12-07 David S. Miller <davem@davemloft.net>
25850 * po/libc.pot: Update.
25852 2012-12-07 Richard Henderson <rth@redhat.com>
25855 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
25856 normal/normal case to before the switch.
25857 (_FP_DIV): Likewise.
25859 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
25860 Mike Frysinger <vapier@gentoo.org>
25862 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
25863 check for __NR_fadvise64_64.
25865 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
25867 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
25868 0, not just to plain "0" as a statement.
25869 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
25872 2012-12-06 Joseph Myers <joseph@codesourcery.com>
25874 * NEWS: Use sourceware.org in Bugzilla URL.
25876 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
25878 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
25879 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
25881 * stdio-common/tst-put-error.c (do_test): Add newline to the
25882 padded test to ensure flush.
25884 2012-12-05 Jeff Law <law@redhat.com>
25886 * sunrpc/etc.rpc (fedfs_admin): Add entry.
25888 2012-12-05 Joseph Myers <joseph@codesourcery.com>
25890 * README: Don't refer to ports add-on as distributed separately.
25891 Mention AArch64 in list of systems supported in the ports add-on.
25893 * LICENSES: Add more non-FSF copyright and license notices.
25895 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
25898 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
25900 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
25901 10000 as width of padded output.
25903 2012-12-04 Joseph Myers <joseph@codesourcery.com>
25905 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
25907 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
25908 variable LX with __attribute__ ((unused)).
25909 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
25911 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
25912 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
25913 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
25914 with __attribute__ ((unused)).
25916 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
25918 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
25920 2012-12-04 Joseph Myers <joseph@codesourcery.com>
25922 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
25923 (CFLAGS-nldbl-acos.c): New variable.
25924 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
25925 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
25926 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
25927 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
25928 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
25929 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
25930 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
25931 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
25932 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
25933 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
25934 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
25935 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
25936 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
25937 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
25938 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
25939 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
25940 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
25941 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
25942 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
25943 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
25944 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
25945 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
25946 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
25947 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
25948 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
25949 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
25950 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
25951 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
25952 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
25953 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
25954 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
25955 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
25956 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
25957 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
25958 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
25959 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
25960 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
25961 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
25962 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
25963 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
25964 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
25965 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
25966 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
25967 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
25968 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
25969 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
25970 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
25971 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
25972 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
25973 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
25974 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
25975 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
25976 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
25977 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
25978 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
25979 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
25980 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
25981 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
25982 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
25983 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
25984 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
25985 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
25986 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
25987 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
25988 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
25989 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
25990 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
25991 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
25992 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
25993 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
25994 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
25995 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
25996 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
25997 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
25998 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
25999 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
26000 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
26001 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
26002 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
26003 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
26004 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
26005 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
26006 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
26007 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
26008 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
26009 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
26010 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
26011 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
26012 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
26013 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
26014 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
26015 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
26016 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
26017 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
26018 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
26019 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
26020 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
26022 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
26023 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
26026 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
26027 whole low double instead of just low 47 bits when splitting values
26030 2012-12-03 Allan McRae <allan@archlinux.org>
26032 * manual/stdio.texi (Predefined Printf Handlers): Remove
26033 @hsep and @vsep usage.
26035 2012-12-03 Mike Frysinger <vapier@gentoo.org>
26037 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
26038 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
26040 2012-12-03 Jeff Law <law@redhat.com>
26042 * time/sys/time.h (settimeofday): Do not mark TV argument
26045 2012-12-01 Mike Frysinger <vapier@gentoo.org>
26047 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
26048 when currently writing and seek to current position when not.
26049 * libio/Makefile (tests): Remove bug-fclose1.
26050 * libio/bug-fclose1.c: Delete.
26052 2012-12-01 Joseph Myers <joseph@codesourcery.com>
26054 * manual/arith.texi (feenableexcept): Fix typo.
26055 (fedisableexcept): Likewise.
26057 2012-11-30 Roland McGrath <roland@hack.frob.com>
26059 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
26060 second, differently-typed declaration, rather than a cast.
26062 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
26064 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
26065 * include/rpc/svc.h: ... here.
26067 2012-11-30 Aurelien Jarno <aurel32@debian.org>
26070 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
26071 depending n and resplen2 to catch cases where answer
26074 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
26076 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
26077 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
26079 2012-11-29 Mike Frysinger <vapier@gentoo.org>
26081 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
26083 2012-11-29 Roland McGrath <roland@hack.frob.com>
26085 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
26087 2012-11-28 Jeff Law <law@redhat.com>
26090 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
26091 dataset_temporary. Track alloca usage into alloca_used.
26092 If dataset is large allocate and release it via malloc/free.
26094 2012-06-04 Florian Weimer <fweimer@redhat.com>
26097 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
26099 2012-11-28 David S. Miller <davem@davemloft.net>
26101 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26103 2012-11-28 Joseph Myers <joseph@codesourcery.com>
26106 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
26107 of pi/2 rounded to nearest to 64 bits.
26108 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
26109 nearest to 64 bits.
26110 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
26113 2012-11-28 Jeff Law <law@redhat.com>
26114 Martin Osvald <mosvald@redhat.com>
26117 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
26118 * sunrpc/svc.c: Include time.h.
26119 (__svc_accept_failed): New function.
26120 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
26121 any reason other than EINTR, call __svc_accept_failed.
26122 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
26123 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
26125 2012-11-28 Andreas Schwab <schwab@suse.de>
26127 * scripts/abilist.awk: Also handle indirect functions in .opd
26130 2012-11-28 Joseph Myers <joseph@codesourcery.com>
26133 * sysdeps/x86/fpu/powl_helper.c: New file.
26134 * sysdeps/x86/fpu/Makefile: Likewise.
26135 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
26137 (__ieee754_powl): Use __powl_helper for finite arguments except
26138 integer exponents below 8.
26139 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
26141 (__ieee754_powl): Use __powl_helper for finite arguments except
26142 integer exponents below 8.
26143 * math/libm-test.inc (pow_test): Add more tests and enable some
26144 previously disabled tests.
26145 * sysdeps/i386/fpu/libm-test-ulps: Update.
26146 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26148 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
26149 Carlos O'Donell <carlos_odonell@mentor.com>
26151 * nss/makedb.c (is_prime): Assert that input is odd and greater
26152 than 4. Note that fact in a comment too.
26153 (next_prime): Add 4 to input.
26155 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
26158 * libio/Makefile (tests): Add test case tst-fwrite-error.
26159 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
26160 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
26161 * libio/tst-fwrite-error.c: New test case.
26163 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
26165 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
26166 before casting to void *.
26167 * include/libc-internal.h (__pointer_type): New macro.
26168 (__integer_if_pointer_type_sub): Likewise.
26169 (__integer_if_pointer_type): Likewise.
26170 (cast_to_integer): Likewise.
26171 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
26172 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
26173 before casting to atomic64_t.
26174 (atomic_exchange_acq): Likewise.
26175 (__arch_exchange_and_add_body): Likewise.
26176 (__arch_add_body): Likewise.
26177 (atomic_add_negative): Likewise.
26178 (atomic_add_zero): Likewise.
26180 2012-11-26 Joseph Myers <joseph@codesourcery.com>
26182 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
26183 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
26184 (add_fdes): Likewise.
26185 (linear_search_fdes): Likewise.
26186 (binary_search_unencoded_fdes): Likewise.
26188 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
26190 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
26192 2012-11-24 Adam Conrad <adconrad@0c3.net>
26194 * configure.in: Autodetect C++ header directories.
26195 * configure: Regenerated.
26197 2012-11-23 Mike Frysinger <vapier@gentoo.org>
26199 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
26201 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
26203 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26205 2012-11-22 Joseph Myers <joseph@codesourcery.com>
26207 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
26208 LDBL_MANT_DIG == 106]: Disable some tests.
26209 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
26211 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
26215 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
26216 input for small inputs. Return +/- pi/2 for large inputs.
26217 * math/libm-test.inc (atan_test): Add more tests.
26219 * sysdeps/generic/unwind-dw2-fde-glibc.c
26220 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
26221 __attribute__ ((unused)).
26224 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
26225 x * y if x and y are nonzero and z is zero.
26228 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
26229 nonzero exponents with absolute value below 0x1p-117 to +/-
26233 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
26234 up arguments below 2**-450, not just those below 2**-500.
26235 * math/libm-test.inc (hypot_test): Add another test.
26238 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
26239 Return a+b for ratio over 2**120, not 2**60.
26240 * math/libm-test.inc (hypot_test): Add another test.
26242 * math/libm-test.inc (clog_test): Use
26243 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
26244 (clog10_test): Likewise.
26247 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
26249 2012-11-22 Andreas Schwab <schwab@suse.de>
26251 * sysdeps/i386/fpu/libm-test-ulps: Update.
26253 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
26255 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
26256 printf output with newline.
26258 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
26261 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
26262 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
26263 -z nodlopen, -z initfirst and -z execstack support.
26264 * configure: Regenerated.
26266 * elf/elf.h (DF_1_NODIRECT): New macro.
26267 (DF_1_IGNMULDEF): Likewise.
26268 (DF_1_NOKSYMS): Likewise.
26269 (DF_1_NOHDR): Likewise.
26270 (DF_1_EDITED): Likewise.
26271 (DF_1_NORELOC): Likewise.
26272 (DF_1_SYMINTPOSE): Likewise.
26273 (DF_1_GLOBAUDIT): Likewise.
26274 (DF_1_SINGLETON): Likewise.
26275 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
26276 DT_1_SUPPORTED_MASK bits.
26277 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
26279 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
26281 * sysdeps/unix/make-syscalls.sh: Document prefixes.
26283 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
26285 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
26288 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
26289 (sendmmsg): Move declarations...
26290 * socket/sys/socket.h: ... here.
26291 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
26292 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
26294 * socket/recvmmsg.c: ... this new file.
26295 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
26296 (sendmmsg): Rename to __sendmmsg, create weak alias and make
26297 definition of __sendmmsg hidden.
26298 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
26299 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
26300 Move ENOSYS stub into and include it from...
26301 * socket/sendmmsg.c: ... this new file.
26302 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
26303 (sysdep_routines): Move recvmmsg and sendmmsg...
26304 * socket/Makefile (routines): ... here.
26305 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
26306 (GLIBC_PRIVATE): Add __sendmmsg.
26307 * include/sys/socket.h (__sendmmsg): Add declarations.
26308 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
26311 2012-11-20 Joseph Myers <joseph@codesourcery.com>
26313 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
26314 variable I1 with __attribute__ ((unused)).
26315 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
26317 2012-11-19 Joseph Myers <joseph@codesourcery.com>
26319 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
26320 DUMMY variables with __attribute__ ((unused)).
26322 * bits/byteswap.h: Include <bits/types.h>.
26323 (__bswap_64): Use __uint64_t instead of unsigned long long int.
26325 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
26327 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
26328 string_t. Do not manually set errno.
26329 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
26330 length with __strnlen. Make sure to both set errno and return it on
26333 2012-11-19 David S. Miller <davem@davemloft.net>
26335 With help from Joseph Myers.
26336 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
26337 very large arguments properly.
26338 * math/libm-test.inc (atan_test): New tests.
26339 (atan2_test): New tests.
26340 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26341 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26343 2012-11-19 Joseph Myers <joseph@codesourcery.com>
26346 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
26349 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
26350 [POSIX] (EADDRNOTAVAIL): Likewise.
26351 [POSIX] (EAFNOSUPPORT): Likewise.
26352 [POSIX] (EALREADY): Likewise.
26353 [POSIX] (ECONNABORTED): Likewise.
26354 [POSIX] (ECONNREFUSED): Likewise.
26355 [POSIX] (ECONNRESET): Likewise.
26356 [POSIX] (EDESTADDRREQ): Likewise.
26357 [POSIX] (EDQUOT): Likewise.
26358 [POSIX] (EHOSTUNREACH): Likewise.
26359 [POSIX] (EIDRM): Likewise.
26360 [POSIX] (EISCONN): Likewise.
26361 [POSIX] (ELOOP): Likewise.
26362 [POSIX] (EMULTIHOP): Likewise.
26363 [POSIX] (ENETDOWN): Likewise.
26364 [POSIX] (ENETUNREACH): Likewise.
26365 [POSIX] (ENOBUFS): Likewise.
26366 [POSIX] (ENODATA): Likewise.
26367 [POSIX] (ENOLINK): Likewise.
26368 [POSIX] (ENOMSG): Likewise.
26369 [POSIX] (ENOPROTOOPT): Likewise.
26370 [POSIX] (ENOSR): Likewise.
26371 [POSIX] (ENOSTR): Likewise.
26372 [POSIX] (ENOTCONN): Likewise.
26373 [POSIX] (ENOTSOCK): Likewise.
26374 [POSIX] (EOPNOTSUPP): Likewise.
26375 [POSIX] (EOVERFLOW): Likewise.
26376 [POSIX] (EPROTO): Likewise.
26377 [POSIX] (EPROTONOSUPPORT): Likewise.
26378 [POSIX] (EPROTOTYPE): Likewise.
26379 [POSIX] (ESTALE): Likewise.
26380 [POSIX] (ETIME): Likewise.
26381 [POSIX] (ETXTBSY): Likewise.
26382 [POSIX] (EWOULDBLOCK): Likewise.
26383 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
26384 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
26385 [POSIX] (SEEK_CUR): Likewise.
26386 [POSIX] (SEEK_END): Likewise.
26387 [POSIX || UNIX98] (mode_t): Do not require.
26388 [POSIX] (off_t): Likewise.
26389 [POSIX] (pid_t): Likewise.
26390 [POSIX] (sys/stat.h): Do not allow header.
26391 [POSIX] (unistd.h): Likewise.
26392 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
26393 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
26394 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
26395 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
26397 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
26398 sigevent): Specify elements.
26399 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
26401 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
26402 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
26404 * conform/data/cpio.h-data [POSIX]: Disable whole file.
26405 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
26406 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
26407 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
26408 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
26409 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
26410 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
26411 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
26412 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
26413 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
26414 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
26415 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
26416 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
26417 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
26419 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
26421 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
26423 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
26425 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
26426 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
26427 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
26428 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
26429 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
26430 Specify lower bound on value.
26431 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
26432 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
26433 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
26434 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
26435 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
26436 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
26437 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
26438 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
26440 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
26442 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
26443 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
26444 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
26445 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
26446 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
26447 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
26448 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
26449 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
26450 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
26451 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
26452 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
26453 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
26454 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
26455 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
26456 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
26457 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
26459 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
26461 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
26462 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
26463 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
26464 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
26465 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
26466 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
26468 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
26469 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
26470 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
26471 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
26472 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
26473 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
26474 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
26476 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
26477 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
26478 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
26479 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
26480 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
26481 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
26482 specify as optional.
26483 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
26484 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
26485 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
26486 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
26487 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
26488 [XPG3] (NL_LANGMAX): Likewise.
26489 [POSIX || XPG3] (NL_MSGMAX): Likewise.
26490 [POSIX || XPG3] (NL_NMAX): Likewise.
26491 [POSIX || XPG3] (NL_SETMAX): Likewise.
26492 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
26493 [XPG3] (NZERO): Likewise.
26494 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
26495 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
26496 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
26497 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
26498 (REG_ERANGE): Expect.
26499 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
26501 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
26502 Use (void) in prototype.
26503 [POSIX] (*_t): Allow.
26504 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
26505 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
26506 (WRDE_BADVAL): Expect.
26508 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
26510 [XPG3 || XPG4] (O_RSYNC): Likewise.
26511 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
26513 [XPG3 || XPG4] (pthread_sigmask): Likewise.
26514 [XPG3 || XPG4] (sigqueue): Likewise.
26515 [XPG3 || XPG4] (sigtimedwait): Likewise.
26516 [XPG3 || XPG4] (sigwaitinfo): Likewise.
26517 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
26518 [XPG3 || XPG4] (vsnprintf): Likewise.
26519 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
26521 [XPG3 || XPG4] (blksize_t): Likewise.
26522 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
26524 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
26525 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
26526 [XPG3 || XPG4] (struct itimerspec): Likewise.
26527 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
26528 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
26529 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
26530 [XPG3 || XPG4] (clockid_t): Likewise.
26531 [XPG3 || XPG4] (timer_t): Likewise.
26532 [XPG3 || XPG4] (clock_getres): Likewise.
26533 [XPG3 || XPG4] (clock_gettime): Likewise.
26534 [XPG3 || XPG4] (clock_settime): Likewise.
26535 [XPG3 || XPG4] (nanosleep): Likewise.
26536 [XPG3 || XPG4] (timer_create): Likewise.
26537 [XPG3 || XPG4] (timer_delete): Likewise.
26538 [XPG3 || XPG4] (timer_gettime): Likewise.
26539 [XPG3 || XPG4] (timer_getoverrun): Likewise.
26540 [XPG3 || XPG4] (timer_settime): Likewise.
26541 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
26542 [XPG3 || XPG4] (getlogin_r): Likewise.
26543 [XPG3 || XPG4] (pread): Likewise.
26544 [XPG3 || XPG4] (pthread_atfork): Likewise.
26545 [XPG3 || XPG4] (pwrite): Likewise.
26548 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
26551 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
26553 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
26554 finalizing MALLSTREAM.
26556 * sysdeps/mach/hurd/syncfs.c: New file.
26558 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
26561 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
26562 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
26563 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
26564 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
26565 (_nss_dns_gethostbyname4_r): Likewise.
26566 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
26567 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
26569 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
26572 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
26574 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
26576 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
26577 * elf/cache.c (print_entry): Print ",AArch64" for
26580 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
26581 * elf/cache.c (print_entry): Print ",hard-float" for
26584 2012-11-18 David S. Miller <davem@davemloft.net>
26586 With help from Joseph Myers.
26587 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
26589 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
26591 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
26592 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
26594 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
26595 * math/libm-test.inc (y0_test): New tests.
26596 (y1_test): New tests.
26597 * sysdeps/i386/fpu/libm-test-ulps: Update.
26598 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26599 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26601 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
26603 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
26605 * configure: Regenerated.
26607 2012-11-17 David S. Miller <davem@davemloft.net>
26610 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
26611 nonzero exponents with absolute value below 0x1p-128 to +/-
26614 2012-11-17 Joseph Myers <joseph@codesourcery.com>
26616 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
26618 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
26620 * posix/getconf-speclist.c: New file.
26621 * posix/posix-envs.def: Likewise.
26622 * posix/confstr.c (START_ENV_GROUP): New macro.
26623 (END_ENV_GROUP): Likewise.
26624 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
26625 (KNOWN_PRESENT_ENV_STRING): Likewise.
26626 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
26627 (UNKNOWN_ENVIRONMENT): Likewise.
26628 (confstr): Include posix-envs.def instead of handling
26629 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
26630 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
26631 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
26632 (END_ENV_GROUP): Likewise.
26633 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
26634 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
26635 (UNKNOWN_ENVIRONMENT): Likewise.
26636 (__sysconf): Include posix-envs.def instead of handling associated
26637 cases directly here.
26638 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
26639 preprocessing getconf-speclist.c rather than running getconf or
26640 generating empty file.
26642 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
26644 * scripts/check-local-headers.sh: Ignore 'mach' headers.
26646 2012-11-16 Andrej Lajovic <natrij@gmail.com>
26649 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
26651 2012-11-16 David S. Miller <davem@davemloft.net>
26653 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
26654 smaller than LDBL_EPSILON/2.0L, just return xm1.
26656 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
26658 * elf/tst-array1.c (init): Set constructor priority to 1000.
26659 (fini): Set destructor priority to 1000.
26660 * elf/tst-array2dep.c: Likewise.
26662 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
26665 * libio/fileops.c (_IO_new_file_write): Correctly return error.
26666 (_IO_new_file_xsputn): Also return EOF if none of the input
26667 data was written when overflow failed.
26668 * libio/iopadn.c (_IO_padn): Likewise.
26669 * libio/iowpadn.c (_IO_wpadn): Likewise.
26670 * stdio-common/tst-put-error.c: Add copyright notice.
26671 (do_test): Add case for printing padded string.
26672 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
26673 _IO_padn returned error.
26674 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
26675 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
26678 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
26680 * libio/libioP.h: Add comment note that the references to C++
26681 bits are now obsolete.
26683 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
26685 * math/libm-test.inc (check_complex): Use asprintf.
26687 2012-11-14 Joseph Myers <joseph@codesourcery.com>
26689 * debug/pcprofiledump.c (print_version): Update copyright year.
26690 * malloc/memusagestat.c (print_version): Likewise.
26692 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
26695 * elf/Makefile (tests): Add tst-audit8.
26696 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
26697 ($(objpfx)tst-audit8.out): New target.
26698 (tst-audit8-ENV): New variable.
26699 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
26700 audit if l_reloc_result is NULL.
26701 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
26702 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
26703 * elf/tst-audit8.c: New file.
26705 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
26707 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
26708 * misc/Makefile (CFLAGS-select.c): Define.
26709 * posix/Makefile (CFLAGS-pause.c): Define.
26711 2012-11-13 David S. Miller <davem@davemloft.net>
26713 * crypt/Makefile: Move test targets after toplevel Rules
26714 inclusion. Grab any necessary sysdep routines when linking.
26715 * crypt/md5.c (md5_process_block): Remove define, we will always
26716 name it __md5_process_block.
26717 (md5_finish_ctx): Update md5_process_block call.
26718 (md5_stream): Likewise.
26719 (md5_process_bytes): Likewise.
26720 (md5_process_block): Rename to __md5_process_block and move to ...
26721 * crypt/md5-block.c: ... here.
26722 * crypt/sha256.c (sha256_process_block): Move to ...
26723 * crypt/sha256-block.c: ... here.
26724 * crypt/sha512.c (sha512_process_block): Move to ...
26725 * crypt/sha512-block.c: ... here.
26726 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
26728 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
26729 * sysdeps/sparc/sparc64/multiarch/Makefile
26730 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
26732 (localedef-aux): Add md5 crypto assembler when in locale subdir.
26733 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
26735 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
26736 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
26737 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
26738 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
26739 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
26740 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
26741 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
26742 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
26743 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
26745 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
26746 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
26748 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
26750 2012-11-13 Joseph Myers <joseph@codesourcery.com>
26752 * timezone/tzselect.ksh: Update from tzcode git revision
26753 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
26754 * timezone/zdump.c: Likewise.
26755 * timezone/zic.c: Likewise.
26756 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
26757 in TZVERSION setting, not $(PKGVERSION).
26758 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
26759 REPORT_BUGS_TO settings.
26762 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
26765 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
26767 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
26768 detection to immediately after _FP_ROUND().
26769 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
26772 2012-11-11 David S. Miller <davem@davemloft.net>
26774 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
26776 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
26777 __close rather than their public counterparts.
26779 2012-11-10 Joseph Myers <joseph@codesourcery.com>
26781 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
26783 [UNIX98] (sem_timedwait): Do not expect.
26784 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
26785 [XPG4 || UNIX98] (sockatmark): Do not expect.
26786 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
26787 (clock_getcpuclockid): Do not expect.
26788 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
26789 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
26791 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
26792 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
26793 [UNIX98] (vwscanf): Likewise.
26794 [UNIX98] (vswscanf): Likewise.
26796 2012-11-09 Joseph Myers <joseph@codesourcery.com>
26798 * timezone/version.h: Remove file.
26799 * timezone/README: Do not refer to version.h.
26800 * timezone/Makefile ($(objpfx)zic.o): New dependency on
26801 $(objpfx)version.h.
26802 ($(objpfx)zdump.o): Likewise.
26803 ($(objpfx)version.h): New target.
26805 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
26807 * timezone/README: Don't mention modification to tzselect.ksh.
26808 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
26809 work on unmodified tzselect.ksh. Substitute version numbers in
26812 * Makefile (format-me): Remove.
26813 (INSTALL): Adjust indentation. Use commands directly instead of
26814 using $(format-me).
26816 * aclocal.m4 (ACX_PKGVERSION): New macro.
26817 (ACX_BUGURL): Likewise.
26818 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
26819 (PKGVERSION): New AC_DEFINE_UNQUOTED.
26820 (REPORT_BUGS_TO): Likewise.
26821 * configure: Regenerated.
26822 * config.h.in (PKGVERSION): New macro.
26823 (REPORT_BUGS_TO): Likewise.
26824 * config.make.in (PKGVERSION): New variable.
26825 (PKGVERSION_TEXI): Likewise.
26826 (REPORT_BUGS_TO): Likewise.
26827 (REPORT_BUGS_TEXI): Likewise.
26828 * Makefile (format-me): Use -I$(common-objpfx)manual.
26829 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
26830 ($(common-objpfx)manual/%): New target.
26831 (manual/%): Remove target.
26832 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
26833 (print_version): Use PKGVERSION.
26834 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
26835 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
26836 and REPORT_BUGS_TO.
26837 ($(objpfx)xtrace): Likewise.
26838 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
26839 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
26840 (print_version): Use PKGVERSION.
26841 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
26842 (do_version): Use PKGVERSION.
26843 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
26845 (common-ldd-rewrite): Likewise.
26846 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
26847 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
26848 (print_version): Use PKGVERSION.
26849 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
26850 * elf/pldd.c (argp_program_bug_address): Remove variable.
26851 (more_help): New function.
26852 (argp): Use more_help.
26853 (print_version): Use PKGVERSION.
26854 * elf/sln.c (main): Use PKGVERSION.
26855 (usage): Use REPORT_BUGS_TO.
26856 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
26857 (top level): Use PKGVERSION.
26858 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
26859 (print_version): Use PKGVERSION.
26860 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
26861 (print_version): Use PKGVERSION.
26862 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
26863 (print_version): Use PKGVERSION.
26864 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
26865 (print_version): Use PKGVERSION.
26866 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
26867 (print_version): Use PKGVERSION.
26868 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
26869 (print_version): Use PKGVERSION.
26870 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
26872 ($(objpfx)memusage): Likewise.
26873 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
26874 (do_version): Use PKGVERSION.
26875 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
26876 (print_version): Use PKGVERSION.
26877 * malloc/mtrace.pl ($PACKAGE): Remove variable.
26878 ($PKGVERSION): New variable.
26879 ($REPORT_BUGS_TO): Likewise.
26880 (usage): Use $REPORT_BUGS_TO.
26881 (top level): Use $PKGVERSION.
26882 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
26883 ($(objpfx)pkgvers.texi): New rule.
26884 ($(objpfx)stamp-pkgvers): Likewise.
26885 * manual/install.texi: Include pkgvers.texi.
26886 (--with-pkgversion): Document new configure option.
26887 (--with-bugurl): Likewise.
26888 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
26889 than necessarily for this particular distribution. Use
26890 REPORT_BUGS_TO for where to report bugs.
26891 * INSTALL: Regenerated.
26892 * manual/libc.texinfo: Include pkgvers.texi.
26893 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
26894 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
26895 (print_version): Use PKGVERSION.
26896 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
26897 (print_version): Use PKGVERSION.
26898 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
26899 (print_version): Use PKGVERSION.
26900 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
26901 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
26903 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
26904 (print_version): Use PKGVERSION.
26905 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
26906 (print_version): Use PKGVERSION.
26907 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
26910 * timezone/checktab.awk: Update from tzcode 2012i.
26911 * timezone/ialloc.c: Likewise.
26912 * timezone/private.h: Likewise.
26913 * timezone/scheck.c: Likewise.
26914 * timezone/tzfile.h: Likewise.
26915 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
26916 (TZVERSION): Hardcode tzcode version number.
26917 * timezone/zdump.c: Update from tzcode 2012i.
26918 * timezone/zic.c: Likewise.
26919 * timezone/version.h: New file.
26920 * timezone/README: Describe version.h. Update upstream location.
26923 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
26924 (mktemp): Enable declaration.
26925 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
26926 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
26927 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
26928 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
26930 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
26932 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
26934 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
26936 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
26938 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
26942 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
26943 offset in buffer as u_int32_t not u_long. Consistently use memcpy
26944 for copies of such integer values.
26945 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
26946 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
26948 2012-11-09 Andreas Jaeger <aj@suse.de>
26950 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
26951 definitions and declarations that are provided by
26952 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
26954 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26956 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
26957 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
26958 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
26961 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
26963 * elf/elf.h: Update comment before AArch64 relocations.
26965 2012-11-07 David S. Miller <davem@davemloft.net>
26967 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
26968 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
26969 (__start_context): Declare.
26970 (__makecontext_ret): Delete.
26971 (__makecontext): Hook up __start_context instead of
26973 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
26974 (sysdep_routines): Add __start_context when in stdlib.
26976 2012-11-07 Joseph Myers <joseph@codesourcery.com>
26978 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
26979 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
26980 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
26982 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
26983 (READELF): New variable. Use it instead of hardcoded "readelf".
26985 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
26987 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
26988 * sysdeps/x86/Makefile: Here.
26989 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
26990 * sysdeps/x86/tst-xmmymm.sh: This.
26992 2012-11-07 Joseph Myers <joseph@codesourcery.com>
26994 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
26996 [UNIX98] (pthread_barrier_t): Do not expect.
26997 [UNIX98] (pthread_barrierattr_t): Likewise.
26998 [UNIX98] (pthread_spinlock_t): Likewise.
26999 [UNIX98] (pthread_barrier_destroy): Likewise.
27000 [UNIX98] (pthread_barrier_init): Likewise.
27001 [UNIX98] (pthread_barrier_wait): Likewise.
27002 [UNIX98] (pthread_barrierattr_destroy): Likewise.
27003 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
27004 [UNIX98] (pthread_barrierattr_init): Likewise.
27005 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
27006 [UNIX98] (pthread_getcpuclockid): Likewise.
27007 [UNIX98] (pthread_mutex_timedlock): Likewise.
27008 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
27009 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
27010 [UNIX98] (pthread_sigmask): Likewise.
27011 [UNIX98] (pthread_spin_destroy): Likewise.
27012 [UNIX98] (pthread_spin_init): Likewise.
27013 [UNIX98] (pthread_spin_lock): Likewise.
27014 [UNIX98] (pthread_spin_trylock): Likewise.
27015 [UNIX98] (pthread_spin_unlock): Likewise.
27016 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
27018 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
27019 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
27020 [XPG3 || XPG4] (pthread_cond_t): Likewise.
27021 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
27022 [XPG3 || XPG4] (pthread_key_t): Likewise.
27023 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
27024 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
27025 [XPG3 || XPG4] (pthread_once_t): Likewise.
27026 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
27027 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
27028 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
27029 [XPG3 || XPG4] (pthread_t): Likewise.
27031 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
27033 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
27035 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
27036 Change function return type to int.
27038 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
27039 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
27040 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
27041 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
27042 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
27043 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
27044 [!POSIX] (posix_madvise): Likewise.
27045 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
27047 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
27048 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
27049 (mode_t): Likewise.
27050 (posix_mem_offset): Likewise.
27051 (posix_typed_mem_get_info): Likewise.
27052 (posix_typed_mem_open): Likewise.
27054 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
27055 Change condition to [XOPEN2K8].
27057 * conform/conformtest.pl: Preprocess allow-header data with -x c
27058 instead of from stdin.
27059 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
27060 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
27061 [C99-based standards] (cerfc): Likewise.
27062 [C99-based standards] (cexp2): Likewise.
27063 [C99-based standards] (cexpm1): Likewise.
27064 [C99-based standards] (clog10): Likewise.
27065 [C99-based standards] (clog1p): Likewise.
27066 [C99-based standards] (clog2): Likewise.
27067 [C99-based standards] (clgamma): Likewise.
27068 [C99-based standards] (ctgamma): Likewise.
27069 [C99-based standards] (cerff): Likewise.
27070 [C99-based standards] (cerfcf): Likewise.
27071 [C99-based standards] (cexp2f): Likewise.
27072 [C99-based standards] (cexpm1f): Likewise.
27073 [C99-based standards] (clog10f): Likewise.
27074 [C99-based standards] (clog1pf): Likewise.
27075 [C99-based standards] (clog2f): Likewise.
27076 [C99-based standards] (clgammaf): Likewise.
27077 [C99-based standards] (ctgammaf): Likewise.
27078 [C99-based standards] (cerfl): Likewise.
27079 [C99-based standards] (cerfcl): Likewise.
27080 [C99-based standards] (cexp2l): Likewise.
27081 [C99-based standards] (cexpm1l): Likewise.
27082 [C99-based standards] (clog10l): Likewise.
27083 [C99-based standards] (clog1pl): Likewise.
27084 [C99-based standards] (clog2l): Likewise.
27085 [C99-based standards] (clgammal): Likewise.
27086 [C99-based standards] (ctgammal): Likewise.
27087 * conform/data/inttypes.h-data [C99-based standards]: Include
27088 stdint.h-data. Remove all expectations for stdint.h contents.
27089 [C99-based standards] (PRI*): Do not allow.
27090 [C99-based standards] (SCN*): Likewise.
27091 [C99-based standards] (*_t): Likewise.
27092 [C99-based-standards] (PRId8): Expect macro.
27093 [C99-based-standards] (PRIi8): Likewise.
27094 [C99-based-standards] (PRIo8): Likewise.
27095 [C99-based-standards] (PRIu8): Likewise.
27096 [C99-based-standards] (PRIx8): Likewise.
27097 [C99-based-standards] (PRIX8): Likewise.
27098 [C99-based-standards] (SCNd8): Likewise.
27099 [C99-based-standards] (SCNi8): Likewise.
27100 [C99-based-standards] (SCNo8): Likewise.
27101 [C99-based-standards] (SCNu8): Likewise.
27102 [C99-based-standards] (SCNx8): Likewise.
27103 [C99-based-standards] (PRIdLEAST8): Likewise.
27104 [C99-based-standards] (PRIiLEAST8): Likewise.
27105 [C99-based-standards] (PRIoLEAST8): Likewise.
27106 [C99-based-standards] (PRIuLEAST8): Likewise.
27107 [C99-based-standards] (PRIxLEAST8): Likewise.
27108 [C99-based-standards] (PRIXLEAST8): Likewise.
27109 [C99-based-standards] (SCNdLEAST8): Likewise.
27110 [C99-based-standards] (SCNiLEAST8): Likewise.
27111 [C99-based-standards] (SCNoLEAST8): Likewise.
27112 [C99-based-standards] (SCNuLEAST8): Likewise.
27113 [C99-based-standards] (SCNxLEAST8): Likewise.
27114 [C99-based-standards] (PRIdFAST8): Likewise.
27115 [C99-based-standards] (PRIiFAST8): Likewise.
27116 [C99-based-standards] (PRIoFAST8): Likewise.
27117 [C99-based-standards] (PRIuFAST8): Likewise.
27118 [C99-based-standards] (PRIxFAST8): Likewise.
27119 [C99-based-standards] (PRIXFAST8): Likewise.
27120 [C99-based-standards] (SCNdFAST8): Likewise.
27121 [C99-based-standards] (SCNiFAST8): Likewise.
27122 [C99-based-standards] (SCNoFAST8): Likewise.
27123 [C99-based-standards] (SCNuFAST8): Likewise.
27124 [C99-based-standards] (SCNxFAST8): Likewise.
27125 [C99-based-standards] (PRId16): Likewise.
27126 [C99-based-standards] (PRIi16): Likewise.
27127 [C99-based-standards] (PRIo16): Likewise.
27128 [C99-based-standards] (PRIu16): Likewise.
27129 [C99-based-standards] (PRIx16): Likewise.
27130 [C99-based-standards] (PRIX16): Likewise.
27131 [C99-based-standards] (SCNd16): Likewise.
27132 [C99-based-standards] (SCNi16): Likewise.
27133 [C99-based-standards] (SCNo16): Likewise.
27134 [C99-based-standards] (SCNu16): Likewise.
27135 [C99-based-standards] (SCNx16): Likewise.
27136 [C99-based-standards] (PRIdLEAST16): Likewise.
27137 [C99-based-standards] (PRIiLEAST16): Likewise.
27138 [C99-based-standards] (PRIoLEAST16): Likewise.
27139 [C99-based-standards] (PRIuLEAST16): Likewise.
27140 [C99-based-standards] (PRIxLEAST16): Likewise.
27141 [C99-based-standards] (PRIXLEAST16): Likewise.
27142 [C99-based-standards] (SCNdLEAST16): Likewise.
27143 [C99-based-standards] (SCNiLEAST16): Likewise.
27144 [C99-based-standards] (SCNoLEAST16): Likewise.
27145 [C99-based-standards] (SCNuLEAST16): Likewise.
27146 [C99-based-standards] (SCNxLEAST16): Likewise.
27147 [C99-based-standards] (PRIdFAST16): Likewise.
27148 [C99-based-standards] (PRIiFAST16): Likewise.
27149 [C99-based-standards] (PRIoFAST16): Likewise.
27150 [C99-based-standards] (PRIuFAST16): Likewise.
27151 [C99-based-standards] (PRIxFAST16): Likewise.
27152 [C99-based-standards] (PRIXFAST16): Likewise.
27153 [C99-based-standards] (SCNdFAST16): Likewise.
27154 [C99-based-standards] (SCNiFAST16): Likewise.
27155 [C99-based-standards] (SCNoFAST16): Likewise.
27156 [C99-based-standards] (SCNuFAST16): Likewise.
27157 [C99-based-standards] (SCNxFAST16): Likewise.
27158 [C99-based-standards] (PRId32): Likewise.
27159 [C99-based-standards] (PRIi32): Likewise.
27160 [C99-based-standards] (PRIo32): Likewise.
27161 [C99-based-standards] (PRIu32): Likewise.
27162 [C99-based-standards] (PRIx32): Likewise.
27163 [C99-based-standards] (PRIX32): Likewise.
27164 [C99-based-standards] (SCNd32): Likewise.
27165 [C99-based-standards] (SCNi32): Likewise.
27166 [C99-based-standards] (SCNo32): Likewise.
27167 [C99-based-standards] (SCNu32): Likewise.
27168 [C99-based-standards] (SCNx32): Likewise.
27169 [C99-based-standards] (PRIdLEAST32): Likewise.
27170 [C99-based-standards] (PRIiLEAST32): Likewise.
27171 [C99-based-standards] (PRIoLEAST32): Likewise.
27172 [C99-based-standards] (PRIuLEAST32): Likewise.
27173 [C99-based-standards] (PRIxLEAST32): Likewise.
27174 [C99-based-standards] (PRIXLEAST32): Likewise.
27175 [C99-based-standards] (SCNdLEAST32): Likewise.
27176 [C99-based-standards] (SCNiLEAST32): Likewise.
27177 [C99-based-standards] (SCNoLEAST32): Likewise.
27178 [C99-based-standards] (SCNuLEAST32): Likewise.
27179 [C99-based-standards] (SCNxLEAST32): Likewise.
27180 [C99-based-standards] (PRIdFAST32): Likewise.
27181 [C99-based-standards] (PRIiFAST32): Likewise.
27182 [C99-based-standards] (PRIoFAST32): Likewise.
27183 [C99-based-standards] (PRIuFAST32): Likewise.
27184 [C99-based-standards] (PRIxFAST32): Likewise.
27185 [C99-based-standards] (PRIXFAST32): Likewise.
27186 [C99-based-standards] (SCNdFAST32): Likewise.
27187 [C99-based-standards] (SCNiFAST32): Likewise.
27188 [C99-based-standards] (SCNoFAST32): Likewise.
27189 [C99-based-standards] (SCNuFAST32): Likewise.
27190 [C99-based-standards] (SCNxFAST32): Likewise.
27191 [C99-based-standards] (PRId64): Likewise.
27192 [C99-based-standards] (PRIi64): Likewise.
27193 [C99-based-standards] (PRIo64): Likewise.
27194 [C99-based-standards] (PRIu64): Likewise.
27195 [C99-based-standards] (PRIx64): Likewise.
27196 [C99-based-standards] (PRIX64): Likewise.
27197 [C99-based-standards] (SCNd64): Likewise.
27198 [C99-based-standards] (SCNi64): Likewise.
27199 [C99-based-standards] (SCNo64): Likewise.
27200 [C99-based-standards] (SCNu64): Likewise.
27201 [C99-based-standards] (SCNx64): Likewise.
27202 [C99-based-standards] (PRIdLEAST64): Likewise.
27203 [C99-based-standards] (PRIiLEAST64): Likewise.
27204 [C99-based-standards] (PRIoLEAST64): Likewise.
27205 [C99-based-standards] (PRIuLEAST64): Likewise.
27206 [C99-based-standards] (PRIxLEAST64): Likewise.
27207 [C99-based-standards] (PRIXLEAST64): Likewise.
27208 [C99-based-standards] (SCNdLEAST64): Likewise.
27209 [C99-based-standards] (SCNiLEAST64): Likewise.
27210 [C99-based-standards] (SCNoLEAST64): Likewise.
27211 [C99-based-standards] (SCNuLEAST64): Likewise.
27212 [C99-based-standards] (SCNxLEAST64): Likewise.
27213 [C99-based-standards] (PRIdFAST64): Likewise.
27214 [C99-based-standards] (PRIiFAST64): Likewise.
27215 [C99-based-standards] (PRIoFAST64): Likewise.
27216 [C99-based-standards] (PRIuFAST64): Likewise.
27217 [C99-based-standards] (PRIxFAST64): Likewise.
27218 [C99-based-standards] (PRIXFAST64): Likewise.
27219 [C99-based-standards] (SCNdFAST64): Likewise.
27220 [C99-based-standards] (SCNiFAST64): Likewise.
27221 [C99-based-standards] (SCNoFAST64): Likewise.
27222 [C99-based-standards] (SCNuFAST64): Likewise.
27223 [C99-based-standards] (SCNxFAST64): Likewise.
27224 [C99-based-standards] (PRIdMAX): Likewise.
27225 [C99-based-standards] (PRIiMAX): Likewise.
27226 [C99-based-standards] (PRIoMAX): Likewise.
27227 [C99-based-standards] (PRIuMAX): Likewise.
27228 [C99-based-standards] (PRIxMAX): Likewise.
27229 [C99-based-standards] (PRIXMAX): Likewise.
27230 [C99-based-standards] (SCNdMAX): Likewise.
27231 [C99-based-standards] (SCNiMAX): Likewise.
27232 [C99-based-standards] (SCNoMAX): Likewise.
27233 [C99-based-standards] (SCNuMAX): Likewise.
27234 [C99-based-standards] (SCNxMAX): Likewise.
27235 [C99-based-standards] (PRIdPTR): Likewise.
27236 [C99-based-standards] (PRIiPTR): Likewise.
27237 [C99-based-standards] (PRIoPTR): Likewise.
27238 [C99-based-standards] (PRIuPTR): Likewise.
27239 [C99-based-standards] (PRIxPTR): Likewise.
27240 [C99-based-standards] (PRIXPTR): Likewise.
27241 [C99-based-standards] (SCNdPTR): Likewise.
27242 [C99-based-standards] (SCNiPTR): Likewise.
27243 [C99-based-standards] (SCNoPTR): Likewise.
27244 [C99-based-standards] (SCNuPTR): Likewise.
27245 [C99-based-standards] (SCNxPTR): Likewise.
27246 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
27248 * conform/data/stdint.h-data: Update comments to clarify
27250 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
27252 [C99-based standards] (INT8_MAX): Likewise.
27253 [C99-based standards] (INT16_MIN): Likewise.
27254 [C99-based standards] (INT16_MAX): Likewise.
27255 [C99-based standards] (INT32_MIN): Likewise.
27256 [C99-based standards] (INT32_MAX): Likewise.
27257 [C99-based standards] (INT64_MIN): Likewise.
27258 [C99-based standards] (INT64_MAX): Likewise.
27259 [C99-based standards] (UINT8_MAX): Likewise.
27260 [C99-based standards] (UINT16_MAX): Likewise.
27261 [C99-based standards] (UINT32_MAX): Likewise.
27262 [C99-based standards] (UINT64_MAX): Likewise.
27263 [C99-based standards] (INT_LEAST8_MIN): Likewise.
27264 [C99-based standards] (INT_LEAST8_MAX): Likewise.
27265 [C99-based standards] (INT_LEAST16_MIN): Likewise.
27266 [C99-based standards] (INT_LEAST16_MAX): Likewise.
27267 [C99-based standards] (INT_LEAST32_MIN): Likewise.
27268 [C99-based standards] (INT_LEAST32_MAX): Likewise.
27269 [C99-based standards] (INT_LEAST64_MIN): Likewise.
27270 [C99-based standards] (INT_LEAST64_MAX): Likewise.
27271 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
27272 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
27273 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
27274 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
27275 [C99-based standards] (INT_FAST8_MIN): Likewise.
27276 [C99-based standards] (INT_FAST8_MAX): Likewise.
27277 [C99-based standards] (INT_FAST16_MIN): Likewise.
27278 [C99-based standards] (INT_FAST16_MAX): Likewise.
27279 [C99-based standards] (INT_FAST32_MIN): Likewise.
27280 [C99-based standards] (INT_FAST32_MAX): Likewise.
27281 [C99-based standards] (INT_FAST64_MIN): Likewise.
27282 [C99-based standards] (INT_FAST64_MAX): Likewise.
27283 [C99-based standards] (UINT_FAST8_MAX): Likewise.
27284 [C99-based standards] (UINT_FAST16_MAX): Likewise.
27285 [C99-based standards] (UINT_FAST32_MAX): Likewise.
27286 [C99-based standards] (UINT_FAST64_MAX): Likewise.
27287 [C99-based standards] (INTPTR_MIN): Likewise.
27288 [C99-based standards] (INTPTR_MAX): Likewise.
27289 [C99-based standards] (UINTPTR_MAX): Likewise.
27290 [C99-based standards] (INTMAX_MIN): Likewise.
27291 [C99-based standards] (INTMAX_MAX): Likewise.
27292 [C99-based standards] (UINTMAX_MAX): Likewise.
27293 [C99-based standards] (PTRDIFF_MIN): Likewise.
27294 [C99-based standards] (PTRDIFF_MAX): Likewise.
27295 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
27296 [C99-based standards] (SIZE_MAX): Likewise.
27297 [C99-based standards] (WCHAR_MAX): Likewise.
27298 [C99-based standards] (WINT_MAX): Likewise.
27299 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
27300 constraint on value.
27301 [C99-based standards] (WCHAR_MIN): Likewise.
27302 [C99-based standards] (WINT_MIN): Likewise.
27303 [C99-based standards] (*_t): Allow.
27304 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
27305 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
27306 Include math.h-data and complex.h-data. Remove all expectations
27307 of math.h and complex.h contents.
27308 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
27310 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
27311 (struct tm): Expect tag.
27312 [C99-based-standards] (wcstof): Expect function.
27313 [C99-based-standards] (wcstold): Likewise.
27314 [C99-based-standards] (wcstoll): Likewise.
27315 [C99-based-standards] (wcstoull): Likewise.
27316 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
27317 macro-int-constant. Specify type.
27318 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
27319 constraint on value.
27320 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
27322 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
27324 [ISO C standards]: Do not allow headers.
27325 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
27326 wcs[abcdefghijklmnopqrstuvwxyz]*.
27327 [ISO C standards] (*_t): Do not allow.
27328 * conform/data/wctype.h-data [C99-based standards] (iswblank):
27330 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
27331 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
27333 [ISO C standards]: Do not allow headers.
27334 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
27335 is[abcdefghijklmnopqrstuvwxyz]*.
27336 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
27337 to[abcdefghijklmnopqrstuvwxyz]*.
27338 [ISO C standards] (*_t): Do not allow.
27339 * conform/data/stdalign.h-data: New file.
27340 * conform/data/stdbool.h-data: Likewise.
27341 * conform/data/stdnoreturn.h-data: Likewise.
27343 2012-11-07 Roland McGrath <roland@hack.frob.com>
27346 * manual/filesys.texi (Directory Entries): Typo fix.
27347 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
27349 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
27351 * elf/elf.h (EM_AARCH64): New macro.
27352 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
27353 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
27354 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
27355 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
27356 (R_AARCH64_TLSDESC): Likewise.
27357 (NT_ARM_TLS): Likewise.
27358 (NT_ARM_HW_BREAK): Likewise.
27359 (NT_ARM_HW_WATCH): Likewise.
27361 2012-11-07 Joseph Myers <joseph@codesourcery.com>
27364 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
27365 (__ieee754_powl): Saturate nonzero exponents with absolute value
27366 below 0x1p-79 to +/- 0x1p-79.
27367 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
27368 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
27369 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
27370 nonzero exponents with absolute value below 0x1p-32 to +/-
27372 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
27373 (__ieee754_powl): Saturate nonzero exponents with absolute value
27374 below 0x1p-79 to +/- 0x1p-79.
27375 * math/libm-test.inc (pow_test): Add more tests.
27377 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27379 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
27380 _dl_s390_cap_flags with kernel. Increase string length.
27381 (_dl_s390_platforms): Add z196 and zEC12.
27383 2012-11-07 Joseph Myers <joseph@codesourcery.com>
27385 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
27386 Change XOPEN21K to XOPEN2K.
27388 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
27390 * string/memmove.c: Use memcpy when possible.
27392 2012-11-06 Andreas Jaeger <aj@suse.de>
27394 * po/eo.po: Update from translation team.
27396 2012-11-06 Joseph Myers <joseph@codesourcery.com>
27399 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
27400 exponent and small x and y exponents, scale x or y up. Increase
27401 by 2 the exponent used in scaling up.
27402 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27403 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27404 * math/libm-test.inc (fma_test): Add more tests.
27405 (fma_test_towardzero): Likewise.
27406 (fma_test_downward): Likewise.
27407 (fma_test_upward): Likewise.
27409 2012-11-05 Joseph Myers <joseph@codesourcery.com>
27412 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
27416 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
27417 namespace for names of struct fields.
27418 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
27420 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
27421 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
27423 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
27426 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
27428 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
27430 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
27434 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
27437 2012-11-04 Joseph Myers <joseph@codesourcery.com>
27440 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
27441 definitely overflow as x * y not x * y + z.
27442 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27443 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27444 * math/libm-test.inc (fma_test): Add more tests.
27445 (fma_test_towardzero): Likewise.
27446 (fma_test_downward): Likewise.
27447 (fma_test_upward): Likewise.
27449 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
27453 * include/stub-tag.h: Remove file.
27454 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
27456 * manual/maint.texi (Porting): Don't reference it.
27457 * Makerules ($(objpfx)stubs): Likewise.
27458 * dirent/closedir.c: Don't include <stub-tag.h>.
27459 * dirent/dirfd.c: Likewise.
27460 * dirent/fdopendir.c: Likewise.
27461 * dirent/getdents.c: Likewise.
27462 * dirent/getdents64.c: Likewise.
27463 * dirent/opendir.c: Likewise.
27464 * dirent/readdir.c: Likewise.
27465 * dirent/readdir64.c: Likewise.
27466 * dirent/readdir64_r.c: Likewise.
27467 * dirent/readdir_r.c: Likewise.
27468 * dirent/rewinddir.c: Likewise.
27469 * dirent/seekdir.c: Likewise.
27470 * dirent/telldir.c: Likewise.
27471 * gmon/profil.c: Likewise.
27472 * grp/setgroups.c: Likewise.
27473 * inet/if_index.c: Likewise.
27474 * io/access.c: Likewise.
27475 * io/chdir.c: Likewise.
27476 * io/chmod.c: Likewise.
27477 * io/chown.c: Likewise.
27478 * io/close.c: Likewise.
27479 * io/dup.c: Likewise.
27480 * io/dup2.c: Likewise.
27481 * io/dup3.c: Likewise.
27482 * io/euidaccess.c: Likewise.
27483 * io/faccessat.c: Likewise.
27484 * io/fchdir.c: Likewise.
27485 * io/fchmod.c: Likewise.
27486 * io/fchmodat.c: Likewise.
27487 * io/fchown.c: Likewise.
27488 * io/fchownat.c: Likewise.
27489 * io/fcntl.c: Likewise.
27490 * io/flock.c: Likewise.
27491 * io/fstatfs.c: Likewise.
27492 * io/fstatfs64.c: Likewise.
27493 * io/fstatvfs.c: Likewise.
27494 * io/fstatvfs64.c: Likewise.
27495 * io/futimens.c: Likewise.
27496 * io/fxstat.c: Likewise.
27497 * io/fxstat64.c: Likewise.
27498 * io/fxstatat.c: Likewise.
27499 * io/fxstatat64.c: Likewise.
27500 * io/getcwd.c: Likewise.
27501 * io/isatty.c: Likewise.
27502 * io/lchmod.c: Likewise.
27503 * io/lchown.c: Likewise.
27504 * io/link.c: Likewise.
27505 * io/linkat.c: Likewise.
27506 * io/lseek.c: Likewise.
27507 * io/lseek64.c: Likewise.
27508 * io/lxstat64.c: Likewise.
27509 * io/mkdir.c: Likewise.
27510 * io/mkdirat.c: Likewise.
27511 * io/mkfifo.c: Likewise.
27512 * io/mkfifoat.c: Likewise.
27513 * io/open.c: Likewise.
27514 * io/open64.c: Likewise.
27515 * io/openat.c: Likewise.
27516 * io/openat64.c: Likewise.
27517 * io/pipe.c: Likewise.
27518 * io/pipe2.c: Likewise.
27519 * io/poll.c: Likewise.
27520 * io/posix_fadvise.c: Likewise.
27521 * io/posix_fadvise64.c: Likewise.
27522 * io/posix_fallocate.c: Likewise.
27523 * io/posix_fallocate64.c: Likewise.
27524 * io/read.c: Likewise.
27525 * io/readlink.c: Likewise.
27526 * io/readlinkat.c: Likewise.
27527 * io/rmdir.c: Likewise.
27528 * io/sendfile.c: Likewise.
27529 * io/sendfile64.c: Likewise.
27530 * io/statfs.c: Likewise.
27531 * io/statfs64.c: Likewise.
27532 * io/statvfs.c: Likewise.
27533 * io/statvfs64.c: Likewise.
27534 * io/symlink.c: Likewise.
27535 * io/symlinkat.c: Likewise.
27536 * io/ttyname.c: Likewise.
27537 * io/ttyname_r.c: Likewise.
27538 * io/umask.c: Likewise.
27539 * io/unlink.c: Likewise.
27540 * io/unlinkat.c: Likewise.
27541 * io/utime.c: Likewise.
27542 * io/utimensat.c: Likewise.
27543 * io/write.c: Likewise.
27544 * io/xmknod.c: Likewise.
27545 * io/xmknodat.c: Likewise.
27546 * io/xstat.c: Likewise.
27547 * io/xstat64.c: Likewise.
27548 * login/getpt.c: Likewise.
27549 * login/grantpt.c: Likewise.
27550 * login/unlockpt.c: Likewise.
27551 * math/e_acoshl.c: Likewise.
27552 * math/e_acosl.c: Likewise.
27553 * math/e_asinl.c: Likewise.
27554 * math/e_atan2l.c: Likewise.
27555 * math/e_atanhl.c: Likewise.
27556 * math/e_coshl.c: Likewise.
27557 * math/e_expl.c: Likewise.
27558 * math/e_fmodl.c: Likewise.
27559 * math/e_gammal_r.c: Likewise.
27560 * math/e_hypotl.c: Likewise.
27561 * math/e_j0l.c: Likewise.
27562 * math/e_j1l.c: Likewise.
27563 * math/e_jnl.c: Likewise.
27564 * math/e_lgammal_r.c: Likewise.
27565 * math/e_log10l.c: Likewise.
27566 * math/e_log2l.c: Likewise.
27567 * math/e_logl.c: Likewise.
27568 * math/e_powl.c: Likewise.
27569 * math/e_rem_pio2l.c: Likewise.
27570 * math/e_sinhl.c: Likewise.
27571 * math/e_sqrtl.c: Likewise.
27572 * math/fclrexcpt.c: Likewise.
27573 * math/fedisblxcpt.c: Likewise.
27574 * math/feenablxcpt.c: Likewise.
27575 * math/fegetenv.c: Likewise.
27576 * math/fegetexcept.c: Likewise.
27577 * math/fegetround.c: Likewise.
27578 * math/feholdexcpt.c: Likewise.
27579 * math/fesetenv.c: Likewise.
27580 * math/fesetround.c: Likewise.
27581 * math/feupdateenv.c: Likewise.
27582 * math/fgetexcptflg.c: Likewise.
27583 * math/fraiseexcpt.c: Likewise.
27584 * math/fsetexcptflg.c: Likewise.
27585 * math/ftestexcept.c: Likewise.
27586 * math/k_cosl.c: Likewise.
27587 * math/k_rem_pio2l.c: Likewise.
27588 * math/k_sinl.c: Likewise.
27589 * math/k_tanl.c: Likewise.
27590 * math/s_asinhl.c: Likewise.
27591 * math/s_atanl.c: Likewise.
27592 * math/s_cbrtl.c: Likewise.
27593 * math/s_erfl.c: Likewise.
27594 * math/s_expm1l.c: Likewise.
27595 * math/s_log1pl.c: Likewise.
27596 * math/s_tanhl.c: Likewise.
27597 * misc/acct.c: Likewise.
27598 * misc/brk.c: Likewise.
27599 * misc/chflags.c: Likewise.
27600 * misc/chroot.c: Likewise.
27601 * misc/fchflags.c: Likewise.
27602 * misc/fgetxattr.c: Likewise.
27603 * misc/flistxattr.c: Likewise.
27604 * misc/fremovexattr.c: Likewise.
27605 * misc/fsetxattr.c: Likewise.
27606 * misc/fsync.c: Likewise.
27607 * misc/ftruncate.c: Likewise.
27608 * misc/futimes.c: Likewise.
27609 * misc/futimesat.c: Likewise.
27610 * misc/getdomain.c: Likewise.
27611 * misc/getdtsz.c: Likewise.
27612 * misc/gethostid.c: Likewise.
27613 * misc/gethostname.c: Likewise.
27614 * misc/getloadavg.c: Likewise.
27615 * misc/getpagesize.c: Likewise.
27616 * misc/getsysstats.c: Likewise.
27617 * misc/getxattr.c: Likewise.
27618 * misc/gtty.c: Likewise.
27619 * misc/ioctl.c: Likewise.
27620 * misc/lgetxattr.c: Likewise.
27621 * misc/listxattr.c: Likewise.
27622 * misc/llistxattr.c: Likewise.
27623 * misc/lremovexattr.c: Likewise.
27624 * misc/lsetxattr.c: Likewise.
27625 * misc/lutimes.c: Likewise.
27626 * misc/madvise.c: Likewise.
27627 * misc/mincore.c: Likewise.
27628 * misc/mlock.c: Likewise.
27629 * misc/mlockall.c: Likewise.
27630 * misc/mmap.c: Likewise.
27631 * misc/mprotect.c: Likewise.
27632 * misc/msync.c: Likewise.
27633 * misc/munlock.c: Likewise.
27634 * misc/munlockall.c: Likewise.
27635 * misc/munmap.c: Likewise.
27636 * misc/preadv.c: Likewise.
27637 * misc/preadv64.c: Likewise.
27638 * misc/ptrace.c: Likewise.
27639 * misc/pwritev.c: Likewise.
27640 * misc/pwritev64.c: Likewise.
27641 * misc/readv.c: Likewise.
27642 * misc/reboot.c: Likewise.
27643 * misc/remap_file_pages.c: Likewise.
27644 * misc/removexattr.c: Likewise.
27645 * misc/revoke.c: Likewise.
27646 * misc/select.c: Likewise.
27647 * misc/setdomain.c: Likewise.
27648 * misc/setegid.c: Likewise.
27649 * misc/seteuid.c: Likewise.
27650 * misc/sethostid.c: Likewise.
27651 * misc/sethostname.c: Likewise.
27652 * misc/setregid.c: Likewise.
27653 * misc/setreuid.c: Likewise.
27654 * misc/setxattr.c: Likewise.
27655 * misc/sstk.c: Likewise.
27656 * misc/stty.c: Likewise.
27657 * misc/swapoff.c: Likewise.
27658 * misc/swapon.c: Likewise.
27659 * misc/sync.c: Likewise.
27660 * misc/syncfs.c: Likewise.
27661 * misc/syscall.c: Likewise.
27662 * misc/truncate.c: Likewise.
27663 * misc/ualarm.c: Likewise.
27664 * misc/usleep.c: Likewise.
27665 * misc/ustat.c: Likewise.
27666 * misc/utimes.c: Likewise.
27667 * misc/vhangup.c: Likewise.
27668 * misc/writev.c: Likewise.
27669 * posix/_exit.c: Likewise.
27670 * posix/alarm.c: Likewise.
27671 * posix/execve.c: Likewise.
27672 * posix/fexecve.c: Likewise.
27673 * posix/fork.c: Likewise.
27674 * posix/fpathconf.c: Likewise.
27675 * posix/getaddrinfo.c: Likewise.
27676 * posix/getegid.c: Likewise.
27677 * posix/geteuid.c: Likewise.
27678 * posix/getgid.c: Likewise.
27679 * posix/getgroups.c: Likewise.
27680 * posix/getlogin.c: Likewise.
27681 * posix/getlogin_r.c: Likewise.
27682 * posix/getpgid.c: Likewise.
27683 * posix/getpid.c: Likewise.
27684 * posix/getppid.c: Likewise.
27685 * posix/getresgid.c: Likewise.
27686 * posix/getresuid.c: Likewise.
27687 * posix/getsid.c: Likewise.
27688 * posix/getuid.c: Likewise.
27689 * posix/glob64.c: Likewise.
27690 * posix/nanosleep.c: Likewise.
27691 * posix/pathconf.c: Likewise.
27692 * posix/pause.c: Likewise.
27693 * posix/posix_madvise.c: Likewise.
27694 * posix/pread.c: Likewise.
27695 * posix/pread64.c: Likewise.
27696 * posix/pwrite.c: Likewise.
27697 * posix/pwrite64.c: Likewise.
27698 * posix/sched_getaffinity.c: Likewise.
27699 * posix/sched_getp.c: Likewise.
27700 * posix/sched_gets.c: Likewise.
27701 * posix/sched_primax.c: Likewise.
27702 * posix/sched_primin.c: Likewise.
27703 * posix/sched_rr_gi.c: Likewise.
27704 * posix/sched_setaffinity.c: Likewise.
27705 * posix/sched_setp.c: Likewise.
27706 * posix/sched_sets.c: Likewise.
27707 * posix/sched_yield.c: Likewise.
27708 * posix/setgid.c: Likewise.
27709 * posix/setlogin.c: Likewise.
27710 * posix/setpgid.c: Likewise.
27711 * posix/setresgid.c: Likewise.
27712 * posix/setresuid.c: Likewise.
27713 * posix/setsid.c: Likewise.
27714 * posix/setuid.c: Likewise.
27715 * posix/sleep.c: Likewise.
27716 * posix/spawni.c: Likewise.
27717 * posix/sysconf.c: Likewise.
27718 * posix/times.c: Likewise.
27719 * posix/wait.c: Likewise.
27720 * posix/wait3.c: Likewise.
27721 * posix/wait4.c: Likewise.
27722 * posix/waitpid.c: Likewise.
27723 * resolv/gai_sigqueue.c: Likewise.
27724 * resource/getpriority.c: Likewise.
27725 * resource/getrlimit.c: Likewise.
27726 * resource/getrusage.c: Likewise.
27727 * resource/nice.c: Likewise.
27728 * resource/setpriority.c: Likewise.
27729 * resource/setrlimit.c: Likewise.
27730 * resource/ulimit.c: Likewise.
27731 * rt/aio_cancel.c: Likewise.
27732 * rt/aio_fsync.c: Likewise.
27733 * rt/aio_read.c: Likewise.
27734 * rt/aio_sigqueue.c: Likewise.
27735 * rt/aio_suspend.c: Likewise.
27736 * rt/aio_write.c: Likewise.
27737 * rt/clock_getres.c: Likewise.
27738 * rt/clock_gettime.c: Likewise.
27739 * rt/clock_nanosleep.c: Likewise.
27740 * rt/clock_settime.c: Likewise.
27741 * rt/lio_listio.c: Likewise.
27742 * rt/mq_close.c: Likewise.
27743 * rt/mq_getattr.c: Likewise.
27744 * rt/mq_notify.c: Likewise.
27745 * rt/mq_open.c: Likewise.
27746 * rt/mq_receive.c: Likewise.
27747 * rt/mq_send.c: Likewise.
27748 * rt/mq_setattr.c: Likewise.
27749 * rt/mq_timedreceive.c: Likewise.
27750 * rt/mq_timedsend.c: Likewise.
27751 * rt/mq_unlink.c: Likewise.
27752 * rt/shm_open.c: Likewise.
27753 * rt/shm_unlink.c: Likewise.
27754 * rt/timer_create.c: Likewise.
27755 * rt/timer_delete.c: Likewise.
27756 * rt/timer_getoverr.c: Likewise.
27757 * rt/timer_gettime.c: Likewise.
27758 * rt/timer_settime.c: Likewise.
27759 * setjmp/__longjmp.c: Likewise.
27760 * setjmp/setjmp.c: Likewise.
27761 * signal/kill.c: Likewise.
27762 * signal/killpg.c: Likewise.
27763 * signal/raise.c: Likewise.
27764 * signal/sigaction.c: Likewise.
27765 * signal/sigaltstack.c: Likewise.
27766 * signal/sigblock.c: Likewise.
27767 * signal/sigignore.c: Likewise.
27768 * signal/sigintr.c: Likewise.
27769 * signal/signal.c: Likewise.
27770 * signal/sigpause.c: Likewise.
27771 * signal/sigpending.c: Likewise.
27772 * signal/sigqueue.c: Likewise.
27773 * signal/sigreturn.c: Likewise.
27774 * signal/sigset.c: Likewise.
27775 * signal/sigsetmask.c: Likewise.
27776 * signal/sigstack.c: Likewise.
27777 * signal/sigsuspend.c: Likewise.
27778 * signal/sigtimedwait.c: Likewise.
27779 * signal/sigvec.c: Likewise.
27780 * signal/sigwait.c: Likewise.
27781 * signal/sigwaitinfo.c: Likewise.
27782 * signal/sysv_signal.c: Likewise.
27783 * socket/accept.c: Likewise.
27784 * socket/accept4.c: Likewise.
27785 * socket/bind.c: Likewise.
27786 * socket/connect.c: Likewise.
27787 * socket/getpeername.c: Likewise.
27788 * socket/getsockname.c: Likewise.
27789 * socket/getsockopt.c: Likewise.
27790 * socket/isfdtype.c: Likewise.
27791 * socket/listen.c: Likewise.
27792 * socket/recv.c: Likewise.
27793 * socket/recvfrom.c: Likewise.
27794 * socket/recvmsg.c: Likewise.
27795 * socket/send.c: Likewise.
27796 * socket/sendmsg.c: Likewise.
27797 * socket/sendto.c: Likewise.
27798 * socket/setsockopt.c: Likewise.
27799 * socket/shutdown.c: Likewise.
27800 * socket/sockatmark.c: Likewise.
27801 * socket/socket.c: Likewise.
27802 * socket/socketpair.c: Likewise.
27803 * stdio-common/ctermid.c: Likewise.
27804 * stdio-common/cuserid.c: Likewise.
27805 * stdio-common/remove.c: Likewise.
27806 * stdio-common/rename.c: Likewise.
27807 * stdio-common/renameat.c: Likewise.
27808 * stdio-common/tempname.c: Likewise.
27809 * stdlib/getcontext.c: Likewise.
27810 * stdlib/makecontext.c: Likewise.
27811 * stdlib/setcontext.c: Likewise.
27812 * stdlib/swapcontext.c: Likewise.
27813 * stdlib/system.c: Likewise.
27814 * streams/fattach.c: Likewise.
27815 * streams/fdetach.c: Likewise.
27816 * streams/getmsg.c: Likewise.
27817 * streams/getpmsg.c: Likewise.
27818 * streams/putmsg.c: Likewise.
27819 * streams/putpmsg.c: Likewise.
27820 * sysdeps/unix/bsd/getpt.c: Likewise.
27821 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
27822 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
27823 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
27824 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
27826 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
27827 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
27828 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
27829 * sysvipc/msgctl.c: Likewise.
27830 * sysvipc/msgget.c: Likewise.
27831 * sysvipc/msgrcv.c: Likewise.
27832 * sysvipc/msgsnd.c: Likewise.
27833 * sysvipc/semctl.c: Likewise.
27834 * sysvipc/semget.c: Likewise.
27835 * sysvipc/semop.c: Likewise.
27836 * sysvipc/semtimedop.c: Likewise.
27837 * sysvipc/shmat.c: Likewise.
27838 * sysvipc/shmctl.c: Likewise.
27839 * sysvipc/shmdt.c: Likewise.
27840 * sysvipc/shmget.c: Likewise.
27841 * termios/tcdrain.c: Likewise.
27842 * termios/tcflow.c: Likewise.
27843 * termios/tcflush.c: Likewise.
27844 * termios/tcgetattr.c: Likewise.
27845 * termios/tcgetpgrp.c: Likewise.
27846 * termios/tcsendbrk.c: Likewise.
27847 * termios/tcsetattr.c: Likewise.
27848 * termios/tcsetpgrp.c: Likewise.
27849 * time/adjtime.c: Likewise.
27850 * time/clock.c: Likewise.
27851 * time/getitimer.c: Likewise.
27852 * time/gettimeofday.c: Likewise.
27853 * time/setitimer.c: Likewise.
27854 * time/settimeofday.c: Likewise.
27855 * time/stime.c: Likewise.
27856 * time/time.c: Likewise.
27858 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
27860 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
27863 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
27865 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
27867 2012-11-03 Joseph Myers <joseph@codesourcery.com>
27870 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
27871 FE_TONEAREST before applying Dekker multiplication and Knuth
27872 addition. Clear inexact exceptions and check for exact zero
27873 results afterwards.
27874 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27875 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
27876 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27877 * math/libm-test.inc (fma_test): Add more tests.
27878 (fma_test_towardzero): Likewise.
27879 (fma_test_downward): Likewise.
27880 (fma_test_upward): Likewise.
27881 * sysdeps/generic/math_private.h (default_libc_fesetround): New
27883 (libc_fesetround): New macro.
27884 (libc_fesetroundf): Likewise.
27885 (libc_fesetroundl): Likewise.
27886 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
27888 (libc_fesetround_387): Likewise.
27889 (libc_fesetroundf): New macro.
27890 (libc_fesetround): Likewise.
27891 (libc_fesetroundl): Likewise.
27892 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
27894 (libc_fesetroundf): New macro.
27895 (libc_fesetround): Likewise.
27896 (libc_fesetroundl): Likewise.
27897 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
27898 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
27899 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
27901 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
27902 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
27904 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
27905 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
27907 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
27911 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
27912 integer constant usable in #if and use that to give value to enum
27914 (FE_DIVBYZERO): Likewise.
27915 (FE_UNDERFLOW): Likewise.
27916 (FE_OVERFLOW): Likewise.
27917 (FE_INVALID): Likewise.
27918 (FE_INVALID_SNAN): Likewise.
27919 (FE_INVALID_ISI): Likewise.
27920 (FE_INVALID_IDI): Likewise.
27921 (FE_INVALID_ZDZ): Likewise.
27922 (FE_INVALID_IMZ): Likewise.
27923 (FE_INVALID_COMPARE): Likewise.
27924 (FE_INVALID_SOFTWARE): Likewise.
27925 (FE_INVALID_SQRT): Likewise.
27926 (FE_INVALID_INTEGER_CONVERSION): Likewise.
27927 (FE_TONEAREST): Likewise.
27928 (FE_TOWARDZERO): Likewise.
27929 (FE_UPWARD): Likewise.
27930 (FE_DOWNWARD): Likewise.
27931 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
27932 (FE_DIVBYZERO): Likewise.
27933 (FE_OVERFLOW): Likewise.
27934 (FE_UNDERFLOW): Likewise.
27935 (FE_INEXACT): Likewise.
27936 (FE_TONEAREST): Likewise.
27937 (FE_DOWNWARD): Likewise.
27938 (FE_UPWARD): Likewise.
27939 (FE_TOWARDZERO): Likewise.
27940 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
27941 (FE_UNDERFLOW): Likewise.
27942 (FE_OVERFLOW): Likewise.
27943 (FE_DIVBYZERO): Likewise.
27944 (FE_INVALID): Likewise.
27945 (FE_TONEAREST): Likewise.
27946 (FE_TOWARDZERO): Likewise.
27947 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
27948 (FE_OVERFLOW): Likewise.
27949 (FE_UNDERFLOW): Likewise.
27950 (FE_DIVBYZERO): Likewise.
27951 (FE_INEXACT): Likewise.
27952 (FE_TONEAREST): Likewise.
27953 (FE_TOWARDZERO): Likewise.
27954 (FE_UPWARD): Likewise.
27955 (FE_DOWNWARD): Likewise.
27956 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
27957 (FE_DIVBYZERO): Likewise.
27958 (FE_OVERFLOW): Likewise.
27959 (FE_UNDERFLOW): Likewise.
27960 (FE_INEXACT): Likewise.
27961 (FE_TONEAREST): Likewise.
27962 (FE_DOWNWARD): Likewise.
27963 (FE_UPWARD): Likewise.
27964 (FE_TOWARDZERO): Likewise.
27966 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
27968 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
27970 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
27972 * scripts/cross-test-ssh.sh (command): Use newlines to separate
27973 commands. Quote $PWD.
27974 (blacklist_exports): Don't use remove_newlines. Replace "declare
27976 (remove_newlines): Remove.
27978 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
27980 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
27981 * stdlib/stdlib.h (atof): Moved to ...
27982 * include/bits/stdlib-float.h: Here. New file.
27983 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
27984 * stdlib/bits/stdlib-float.h: New file.
27985 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
27987 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
27990 2012-11-02 Joseph Myers <joseph@codesourcery.com>
27992 * conform/conformtest.pl (@headers): Add fenv.h.
27993 * conform/data/fenv.h-data: New file.
27994 * include/fenv.h [_ISOMAC]: Disable all contents of file except
27995 include of <math/fenv.h>.
27997 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
27998 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
27999 && !UNIX98]. Enables tests for XOPEN2K8.
28000 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
28001 POSIX2008]: Likewise.
28003 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
28004 (struct rusage): Do not expect type or its members.
28007 * math/math.h (FP_NAN): Define macro to integer constant usable in
28008 #if and use that to give value to enum constant.
28009 (FP_INFINITE): Likewise.
28010 (FP_ZERO): Likewise.
28011 (FP_SUBNORMAL): Likewise.
28012 (FP_NORMAL): Likewise.
28014 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
28016 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
28017 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
28020 2012-11-02 Roland McGrath <roland@hack.frob.com>
28022 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
28023 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
28024 autoconf-time if not.
28025 * configure.in: Remove AC_PREREQ.
28027 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28029 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
28030 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
28031 of the internal implementation.
28033 2012-11-02 Joseph Myers <joseph@codesourcery.com>
28035 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
28036 except include of <misc/sys/syslog.h>.
28038 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
28040 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
28041 function returns with a NULL context exit with zero.
28043 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28045 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
28047 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
28049 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
28050 (run_program_cmd): This.
28051 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
28052 (tst_langinfo): New variable. Use it.
28054 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
28056 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
28057 floating point opcodes.
28059 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
28061 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
28064 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
28066 * sysdeps/mach/hurd/powerpc: Remove directory.
28067 * sysdeps/mach/powerpc: Likewise.
28069 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
28071 * scripts/check-local-headers.sh: Ignore c++ headers.
28073 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
28075 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
28076 __libc_cleanup_region_start argument.
28078 2012-11-01 Joseph Myers <joseph@codesourcery.com>
28082 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
28083 x * y using scaling, not as x * y + z.
28084 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28085 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28086 * math/libm-test.inc (fma_test): Add more tests.
28087 (fma_test_towardzero): Likewise.
28088 (fma_test_downward): Likewise.
28089 (fma_test_upward): Likewise.
28091 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
28093 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
28095 2012-10-31 Joseph Myers <joseph@codesourcery.com>
28097 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
28100 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
28102 * rt/tst-shm.c (worker): Correct checking for mmap failure.
28104 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
28106 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28108 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
28111 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28113 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28114 Fix the order of the list for glibc 2.17.
28115 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
28118 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
28120 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28122 2012-10-31 Joseph Myers <joseph@codesourcery.com>
28125 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
28126 for low part of x being zero before using __atanl (y).
28127 * math/libm-test.inc (atan2_test): Add another test.
28129 * manual/install.texi (Configuring and compiling): Document
28130 general use of test-wrapper and test-wrapper-env.
28131 * INSTALL: Regenerated.
28133 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
28134 (__fma): Do not extract and scale down low bits on after-rounding
28135 systems when result rounded to normal precision would have normal
28137 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
28138 (__fmal): Do not extract and scale down low bits on after-rounding
28139 systems when result rounded to normal precision would have normal
28141 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
28142 (__fmal): Do not extract and scale down low bits on after-rounding
28143 systems when result rounded to normal precision would have normal
28145 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
28147 (fma_test): Add more tests.
28148 (fma_test_towardzero): Likewise.
28149 (fma_test_downward): Likewise.
28150 (fma_test_upward): Likewise.
28152 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
28154 * sysdeps/i386/tininess.h: Renamed to ...
28155 * sysdeps/x86/tininess.h: This.
28156 * sysdeps/x86_64/tininess.h: Removed.
28158 2012-10-30 Joseph Myers <joseph@codesourcery.com>
28160 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
28161 input. Use $(build-program-cmd).
28162 ($(objpfx)tst-array1-static.out): Likewise.
28163 ($(objpfx)tst-array2.out): Likewise.
28164 ($(objpfx)tst-array3.out): Likewise.
28165 ($(objpfx)tst-array4.out): Likewise.
28166 ($(objpfx)tst-array5.out): Likewise.
28167 ($(objpfx)tst-array5-static.out): Likewise.
28169 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
28171 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
28174 * nss/nsswitch.h (nss_interface_function): Provide new
28175 macro for use with NSS functions.
28176 * grp/initgroups.c: Use new macro.
28177 * nss/getXXbyYY.c: Likewise.
28178 * nss/getXXbyYY_r.c: Likewise.
28179 * nss/getXXent.c: Likewise.
28180 * nss/getXXent_r.c: Likewise.
28181 * sysdeps/posix/getaddrinfo.c: Likewise.
28183 2012-10-30 Andreas Jaeger <aj@suse.de>
28185 * po/ru.po: Update Russion translation from translation project.
28187 2012-10-30 Joseph Myers <joseph@codesourcery.com>
28191 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
28192 result and shift together with sticky bit instead of replicating
28193 round-to-nearest rounding.
28194 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28195 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28196 * math/libm-test.inc (fma_test): Add more tests. Do not permit
28197 missing underflow exceptions.
28198 (fma_test_towardzero): Add more tests.
28199 (fma_test_downward): Likewise.
28200 (fma_test_upward): Likewise.
28203 * sysdeps/generic/tininess.h: New file.
28204 * sysdeps/i386/tininess.h: Likewise.
28205 * sysdeps/sh/tininess.h: Likewise.
28206 * sysdeps/x86_64/tininess.h: Likewise.
28207 * stdlib/tst-strtod-underflow.c: Likewise.
28208 * stdlib/tst-tininess.c: Likewise.
28209 * stdlib/strtod_l.c: Include <tininess.h>.
28210 (round_and_return): Do not set errno for exact underflow cases.
28211 Force an underflow exception when setting errno for underflow.
28212 Determine underflow based on rounding to normal precision if
28213 TININESS_AFTER_ROUNDING.
28214 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
28215 ERANGE for exact underflow cases.
28216 * stdlib/Makefile (tests): Add tst-tininess and
28217 tst-strtod-underflow.
28218 ($(objpfx)tst-tininess): Use $(link-libm).
28219 ($(objpfx)tst-strtod-underflow): Likewise.
28221 2012-10-30 Andreas Jaeger <aj@suse.de>
28224 * elf/Makefile (tests): Remove conditional for have-initfini-array
28225 since this is now always required and the variable does not exist
28227 (tests-static): Likewise.
28228 (modules-names): Likewise.
28230 * po/eo.po: Add Esperanto translation from translation project.
28232 * elf/tst-array1.c (fini_array): Make writeable so that it can be
28233 merged with constructor/destructor.
28234 (init_array): Likewise.
28235 * elf/tst-array2dep.c (fini_array): Likewise.
28236 (init_array): Likewise.
28238 2012-10-29 Mike Frysinger <vapier@gentoo.org>
28240 * manual/message.texi: Delete @cartouche tags.
28242 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
28244 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
28246 * sysdeps/mach/hurd/fsync.c: Likewise.
28248 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
28249 [_POSIX_REALTIME_SIGNALS]: Change condition to
28250 [_POSIX_REALTIME_SIGNALS > 0].
28252 2012-10-27 Andreas Jaeger <aj@suse.de>
28254 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
28255 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
28256 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
28257 [__WORDSIZE != 64]: Likewise.
28259 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
28261 * iconvdata/tst-table.sh: Remove ${SHELL}.
28262 * iconvdata/tst-tables.sh: Likewise.
28264 2012-10-25 David S. Miller <davem@davemloft.net>
28266 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
28267 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
28270 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
28272 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
28273 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
28274 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
28277 2012-10-25 Roland McGrath <roland@hack.frob.com>
28279 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
28280 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
28283 2012-10-25 Joseph Myers <joseph@codesourcery.com>
28284 Jim Blandy <jimb@codesourcery.com>
28286 * scripts/cross-test-ssh.sh: New file.
28287 * manual/install.texi (Configuring and compiling): Document use of
28289 * INSTALL: Regenerated.
28291 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
28293 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
28296 2012-10-25 Joseph Myers <joseph@codesourcery.com>
28298 * Makeconfig (run-program-prefix): Fix comment.
28300 2012-10-24 Joseph Myers <joseph@codesourcery.com>
28301 Jim Blandy <jimb@codesourcery.com>
28303 * Makeconfig (test-wrapper): New variable,
28304 (test-wrapper-env): Likewise.
28305 [$(cross-compiling) = yes && $(test-wrapper) != ""]
28306 (run-built-tests): Define to yes.
28307 (run-program-prefix): Use $(test-wrapper).
28308 (built-program-cmd): Likewise.
28309 * Rules (make-test-out): Use $(test-wrapper-env) and
28310 $(host-built-program-cmd).
28311 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
28312 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
28314 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
28315 $(test-wrapper-env) to tst-rtld-load-self.sh.
28316 ($(objpfx)order2.out): Use $(test-wrapper).
28317 ($(objpfx)tst-initorder.out): Likewise.
28318 ($(objpfx)tst-initorder2.out): Likewise.
28319 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
28320 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
28321 (test_wrapper_env): New variable. Use it to run ld.so.
28322 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
28323 Use it to run ld.so.
28324 (test_wrapper_env): Likewise.
28325 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
28326 $(test-wrapper) to run-iconv-test.sh.
28327 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
28328 (ICONV): Use $test_wrapper.
28329 * posix/Makefile ($(objpfx)globtest.out): Pass
28330 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
28331 globtest.sh, not $(run-program-prefix).
28332 * posix/globtest.sh (run_via_rtld_prefix): New variable.
28333 (test_wrapper): Likewise.
28334 (test_wrapper_env): Likewise. Use it to run globtest with HOME
28335 set together with run_via_rtld_prefix.
28336 (run_program_prefix): Define in terms of test_wrapper and
28337 run_via_rtld_prefix.
28339 2012-10-24 Roland McGrath <roland@hack.frob.com>
28341 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
28342 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
28346 * include/time.h: Remove librt_hidden_proto (clock_gettime).
28347 Declare __clock_getres, __clock_gettime, __clock_settime,
28348 __clock_nanosleep, and __clock_getcpuclockid.
28349 * rt/clock_gettime.c: Define __clock_gettime as an alias.
28350 Remove librt_hidden_def (clock_gettime).
28351 * sysdeps/unix/clock_gettime.c: Likewise.
28352 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
28353 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
28354 * rt/clock_getres.c: Define __clock_getres as an alias.
28355 * sysdeps/posix/clock_getres.c: Likewise.
28356 * rt/clock_settime.c: Define __clock_settime as an alias.
28357 * sysdeps/unix/clock_settime.c: Likewise.
28358 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
28359 * sysdeps/unix/clock_nanosleep.c: Likewise.
28360 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
28361 * rt/clock-compat.c: New file.
28362 * rt/Makefile (librt-routines): Add clock-compat and move
28363 $(clock-routines) to ...
28364 (routines): ... here, new variable.
28365 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
28366 Don't add get_clockfreq here.
28367 * rt/Versions (libc: GLIBC_2.17): New version set.
28368 Add clock_* symbols here.
28369 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
28370 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
28371 (GLIBC_2.17): Add clock_* symbols.
28372 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
28373 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
28374 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
28375 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
28377 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28379 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
28380 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
28381 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
28382 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
28383 * NEWS: Mention the move.
28385 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
28386 Use __open, __read, __close rather than their public counterparts.
28387 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
28388 (__get_clockfreq_via_cpuinfo): Likewise.
28389 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
28390 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
28392 * config.h.in (HAVE_IFUNC): New #undef.
28393 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
28395 * configure: Regenerated.
28397 2012-10-24 Mike Frysinger <vapier@gentoo.org>
28399 * configure.in: Move READELF check to start of file.
28400 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
28401 libc_cv_asm_gnu_indirect_function in the process.
28402 * configure: Regenerated.
28404 2012-10-24 Mike Frysinger <vapier@gentoo.org>
28406 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
28407 send the output to /dev/null.
28408 (libc_cv_cc_with_libunwind): Likewise.
28409 (libc_cv_as_noexecstack): Likewise.
28410 * configure: Regenerate.
28412 2012-10-24 Joseph Myers <joseph@codesourcery.com>
28414 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
28416 * posix/globtest.sh (TMPDIR): Do not set.
28417 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
28418 (testout): Likewise.
28420 2012-10-24 Andreas Jaeger <aj@suse.de>
28422 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
28423 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
28424 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
28425 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
28426 posix_fadvise64, posix_fallocate64.
28428 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
28429 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
28430 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
28432 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
28434 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
28436 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
28437 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
28438 <bits/fcntl-linux.h>.
28439 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
28441 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
28442 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
28443 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
28444 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
28445 [__WORDSIZE != 64]: Likewise.
28447 2012-10-23 Joseph Myers <joseph@codesourcery.com>
28449 * Makeconfig (run-built-tests): New variable.
28450 * Rules [$(cross-compiling) = yes]: Change condition to
28451 [$(run-built-tests) = no].
28452 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
28453 to [$(run-built-tests) = yes].
28454 * elf/Makefile [$(cross-compiling) = no]: Likewise
28455 * grp/Makefile [$(cross-compiling) = no]: Likewise.
28456 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
28457 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
28458 * intl/Makefile [$(cross-compiling) = no]: Likewise.
28459 * io/Makefile [$(cross-compiling) = no]: Likewise.
28460 * libio/Makefile [$(cross-compiling) = no]: Likewise.
28461 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
28462 * misc/Makefile [$(cross-compiling) = no]: Likewise.
28463 * posix/Makefile [$(cross-compiling) = no]: Likewise.
28464 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
28465 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
28466 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
28467 * string/Makefile [$(cross-compiling) = no]: Likewise.
28469 * posix/Makefile ($(objpfx)globtest.out): Pass
28470 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
28471 $(rtld-installed-name).
28472 * posix/globtest.sh (elf_objpfx): Remove variable.
28473 (rtld_installed_name): Likewise.
28474 (library_path): Likewise.
28475 (run_program_prefix): New variable. Use for running globtest
28478 2012-10-23 Jim Blandy <jimb@codesourcery.com>
28479 Joseph Myers <joseph@codesourcery.com>
28481 * Makeconfig (host-built-program-cmd): New variable.
28482 * elf/Makefile (tst-stackguard1-ARGS): Use
28483 $(host-built-program-cmd).
28484 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
28485 (tst-spawn-ARGS): Likewise.
28486 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
28488 2012-10-23 Joseph Myers <joseph@codesourcery.com>
28489 Jim Blandy <jimb@codesourcery.com>
28491 * Makeconfig (run-via-rtld-prefix): New variable.
28492 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
28493 (built-program-cmd): Likewise.
28495 2012-10-22 Andreas Jaeger <aj@suse.de>
28497 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
28498 __O_RSYNC if it exists, otherwise to O_SYNC.
28500 2012-10-22 Jim Blandy <jimb@codesourcery.com>
28501 Joseph Myers <joseph@codesourcery.com>
28503 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
28505 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
28507 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
28510 2012-10-22 Andreas Jaeger <aj@suse.de>
28512 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
28514 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
28516 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28517 bits/fcntl-linux.h.
28519 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
28520 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
28522 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
28524 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
28527 2012-10-21 Jim Blandy <jimb@codesourcery.com>
28528 Joseph Myers <joseph@codesourcery.com>
28530 * config.make.in (NM): New variable.
28532 2012-10-21 Andreas Jaeger <aj@suse.de>
28534 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
28535 definitions and declarations that are provided by
28536 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
28538 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
28541 * elf/Makefile (tests-static): Add tst-leaks1-static.
28542 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
28543 ($(objpfx)tst-leaks1-static): New rule.
28544 ($(objpfx)tst-leaks1-static-mem): Likewise.
28545 (tst-leaks1-static-ENV): New macro.
28546 * elf/dl-open.c (dl_open_worker): Check the main application
28547 only if SHARED is defined.
28548 * elf/tst-leaks1-static.c: New file.
28550 2012-10-20 Andreas Jaeger <aj@suse.de>
28552 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
28553 generic values for Linux.
28554 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
28555 and declarations that are provided by <bits/fcntl-linux.h> and
28556 include <bits/fcntl-linux.h>.
28557 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
28558 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
28560 2012-10-20 Roland McGrath <roland@hack.frob.com>
28562 * io/fcntl.h: Move include of <bits/types.h> to the top and
28563 include it unconditionally.
28565 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
28567 * wcsmbs/Makefile (tests-ifunc): New variable.
28568 (tests): Add $(tests-ifunc).
28569 * wcsmbs/test-wcschr-ifunc.c: New file.
28570 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
28571 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
28572 * wcsmbs/test-wcslen-ifunc.c: Likewise.
28573 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
28574 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
28576 * string/Makefile (tests-ifunc): New variable.
28577 (tests): Add $(tests-ifunc).
28578 * string/test-memccpy.c (TEST_NAME): New macro.
28579 * string/test-memchr.c (TEST_NAME): Likewise.
28580 * string/test-memcmp.c (TEST_NAME): Likewise.
28581 * string/test-memcpy.c (TEST_NAME): Likewise.
28582 * string/test-memmem.c (TEST_NAME): Likewise.
28583 * string/test-memmove.c (TEST_NAME): Likewise.
28584 * string/test-memset.c (TEST_NAME): Likewise.
28585 * string/test-rawmemchr.c (TEST_NAME): Likewise.
28586 * string/test-stpcpy.c (TEST_NAME): Likewise.
28587 * string/test-stpncpy.c (TEST_NAME): Likewise.
28588 * string/test-strcasecmp.c (TEST_NAME): Likewise.
28589 * string/test-strcasestr.c (TEST_NAME): Likewise.
28590 * string/test-strcat.c (TEST_NAME): Likewise.
28591 * string/test-strchr.c (TEST_NAME): Likewise.
28592 * string/test-strcmp.c(TEST_NAME): Likewise.
28593 * string/test-strcpy.c (TEST_NAME): Likewise.
28594 * string/test-strcspn.c (TEST_NAME): Likewise.
28595 * string/test-strlen.c (TEST_NAME): Likewise.
28596 * string/test-strncasecmp.c (TEST_NAME): Likewise.
28597 * string/test-strncmp.c (TEST_NAME): Likewise.
28598 * string/test-strncpy.c (TEST_NAME): Likewise.
28599 * string/test-strnlen.c (TEST_NAME): Likewise.
28600 * string/test-strpbrk.c (TEST_NAME): Likewise.
28601 * string/test-strrchr.c (TEST_NAME): Likewise.
28602 * string/test-strspn.c (TEST_NAME): Likewise.
28603 * string/test-strstr.c (TEST_NAME): Likewise.
28604 * string/test-bcopy-ifunc.c: New file.
28605 * string/test-bzero-ifunc.c: Likewise.
28606 * string/test-memccpy-ifunc.c: Likewise.
28607 * string/test-memchr-ifunc.c: Likewise.
28608 * string/test-memcmp-ifunc.c: Likewise.
28609 * string/test-memcpy-ifunc.c: Likewise.
28610 * string/test-memmem-ifunc.c: Likewise.
28611 * string/test-memmove-ifunc.c: Likewise.
28612 * string/test-mempcpy-ifunc.c: Likewise.
28613 * string/test-memset-ifunc.c: Likewise.
28614 * string/test-rawmemchr-ifunc.c: Likewise.
28615 * string/test-stpcpy-ifunc.c: Likewise.
28616 * string/test-stpncpy-ifunc.c: Likewise.
28617 * string/test-strcasecmp-ifunc.c: Likewise.
28618 * string/test-strcasestr-ifunc.c: Likewise.
28619 * string/test-strcat-ifunc.c: Likewise.
28620 * string/test-strchr-ifunc.c: Likewise.
28621 * string/test-strchrnul-ifunc.c: Likewise.
28622 * string/test-strcmp-ifunc.c: Likewise.
28623 * string/test-strcpy-ifunc.c: Likewise.
28624 * string/test-strcspn-ifunc.c: Likewise.
28625 * string/test-strlen-ifunc.c: Likewise.
28626 * string/test-strncasecmp-ifunc.c: Likewise.
28627 * string/test-strncat-ifunc.c: Likewise.
28628 * string/test-strncmp-ifunc.c: Likewise.
28629 * string/test-strncpy-ifunc.c: Likewise.
28630 * string/test-strnlen-ifunc.c: Likewise.
28631 * string/test-strpbrk-ifunc.c: Likewise.
28632 * string/test-strrchr-ifunc.c: Likewise.
28633 * string/test-strspn-ifunc.c: Likewise.
28634 * string/test-strstr-ifunc.c: Likewise.
28636 * debug/Makefile (tests-ifunc): New variable.
28637 (tests): Add $(tests-ifunc).
28638 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
28639 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
28640 * debug/test-stpcpy_chk-ifunc.c: New file.
28641 * debug/test-strcpy_chk-ifunc.c: Likewise.
28643 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
28646 * elf/dl-load.c (open_verify): Retry read if the entire ELF
28647 header is not read in.
28649 2012-10-19 Joseph Myers <joseph@codesourcery.com>
28651 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
28652 script to $(SHELL) as $<. Pass $(common-objpfx) to script
28653 directly. Pass built executable to script as
28654 $(built-program-cmd).
28655 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
28656 $testprogram without using LD_LIBRARY_PATH and $ldso.
28658 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
28659 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
28660 $(rtld-installed-name).
28661 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
28662 (rtld_installed_name): Likewise.
28663 (library_path): Likewise.
28664 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
28665 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
28666 $(run-program-prefix) to tst-tables.sh.
28667 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
28668 it to run tst-table-from and tst-table-to.
28669 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
28670 Pass it to tst-table.sh.
28671 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
28672 $(run-program-prefix) to tst-gettext.sh.
28673 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
28675 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
28677 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
28678 to run tst-gettext.
28679 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
28680 to run tst-gettext2.
28681 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
28682 to run tst-translit.
28683 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
28684 $(run-program-prefix) to tst-mtrace.sh.
28685 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
28687 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
28688 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
28689 $(rtld-installed-name).
28690 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
28691 (rtld_installed_name): Likewise.
28692 (run_program_prefix): New variable. Use it to run wordexp-test.
28694 * Makeconfig (ARCH): Remove all definitions.
28695 (machine): Likewise.
28696 [ARCH]: Remove conditional code.
28697 [!objdir]: Give error.
28698 [!objdir] (objpfx): Remove.
28699 [!objdir] (common-objpfx): Likewise.
28700 [!objdir] (common-objdir): Likewise.
28701 * configure.in (config_makefile): Remove. Hardcode Makefile in
28702 AC_CONFIG_FILES call.
28703 * configure: Regenerated.
28706 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
28708 (testout): Likewise.
28710 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
28711 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
28712 $(rtld-installed-name).
28713 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
28714 (rtld_installed_name): Likwise.
28715 (runit): Remove function.
28716 (run_getconf): New variable, Use it for running getconf binary.
28718 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
28721 * string/test-memmem.c (check_result): New function.
28722 (do_one_test): Use it.
28723 (check1): New function.
28724 (test_main): Use it.
28726 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
28728 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
28730 2012-10-18 Joseph Myers <joseph@codesourcery.com>
28732 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
28733 (_G_LSEEK64): Likewise.
28734 (_G_MMAP64): Likewise.
28735 (_G_FSTAT64): Likewise.
28736 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
28737 (_G_LSEEK64): Likewise.
28738 (_G_MMAP64): Likewise.
28739 (_G_FSTAT64): Likewise.
28740 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
28741 unconditional. Call __mmap64 directly.
28742 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
28743 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
28744 __lseek64 directly.
28745 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
28746 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
28748 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
28749 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
28750 __lseek64 directly.
28751 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
28752 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
28753 __lseek64 directly.
28754 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
28755 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
28756 __lseek64 directly.
28757 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
28758 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
28759 __fxstat64 directly.
28760 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
28761 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
28763 (freopen64) [!_G_OPEN64]: Remove conditional code.
28764 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
28766 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
28767 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
28769 (ftello64) [!_G_LSEEK64]: Remove conditional code.
28770 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
28772 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
28773 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
28775 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
28776 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
28778 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
28779 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
28781 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
28782 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
28784 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
28786 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
28789 * manual/memory.texi (Malloc Tunable Parameters): Add note
28790 about free list pointers overwriting some perturb bytes.
28791 Wording suggested by Roland McGrath.
28793 2012-10-17 Joseph Myers <joseph@codesourcery.com>
28795 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
28796 (lgamma_test): Likewise.
28797 (tgamma_test): Likewise.
28799 2012-10-16 Florian Weimer <fweimer@redhat.com>
28802 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
28803 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
28805 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
28807 * NEWS: Mention BZ #14716.
28808 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
28809 when removing AVAILABLE1_USES_J macro.
28811 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
28813 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
28814 (__bswap_64): __uint64_t for unsigned 64-bit int.
28816 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
28818 * include/string.h (memmem): Declare libc hidden alias.
28819 * string/memmem.c (memmem): Define libc hidden alias.
28820 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
28821 __read, __close instead of open, read, close.
28823 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
28825 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
28826 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
28828 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
28829 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
28830 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
28832 (__rawmemchr_sse2): Likewise.
28833 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
28834 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
28835 (__strchr_sse2): Likewise.
28836 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
28837 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
28838 (__strcasecmp_sse2): Likewise.
28839 (__strncasecmp_sse2): Likewise.
28840 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
28841 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
28842 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
28843 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
28844 (__strrchr_sse2): Likewise.
28845 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
28847 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
28848 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
28849 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
28850 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
28851 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
28852 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
28853 * sysdeps/x86_64/multiarch/memset.S: Likewise.
28854 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
28855 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
28856 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
28857 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
28858 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
28859 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
28860 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
28861 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
28862 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
28863 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
28864 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
28865 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
28866 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
28867 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
28868 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
28869 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
28870 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
28871 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
28872 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
28873 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
28874 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
28875 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
28876 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
28878 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
28880 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
28881 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
28882 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
28883 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
28885 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
28887 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
28888 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
28889 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
28890 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
28892 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
28893 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
28894 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
28895 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
28896 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
28897 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
28898 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
28899 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
28900 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
28901 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
28902 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
28903 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
28904 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
28905 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
28906 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
28907 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
28908 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
28909 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
28910 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
28911 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
28912 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
28913 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
28914 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
28915 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
28916 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
28917 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
28918 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
28919 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
28920 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
28921 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
28922 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
28923 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
28924 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
28925 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
28926 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
28927 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
28928 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
28929 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
28930 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
28931 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
28932 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
28934 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
28935 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
28936 * include/ifunc-impl-list.h: New file.
28937 * misc/ifunc-impl-list.c: Likewise.
28938 * misc/Makefile (routines): Add ifunc-impl-list.
28939 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
28940 * string/test-string.h: Include <ifunc-impl-list.h>.
28941 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
28942 TEST_NAME]: New variables.
28943 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
28945 (test_init): Call __libc_ifunc_impl_list to initialize
28946 func_list if TEST_IFUNC and TEST_NAME are defined.
28948 * string/Makefile (strop-tests): Add bcopy and bzero.
28949 * string/test-bcopy.c: New file.
28950 * string/test-bzero.c: Likewise.
28951 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
28953 * string/test-memset.c: Support bzero test if TEST_BZERO is
28955 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
28957 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
28959 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
28962 2012-10-10 Joseph Myers <joseph@codesourcery.com>
28964 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
28965 * configure: Regenerated.
28967 * Makeconfig (+link-static-before-libc): Don't include
28968 $(link-static-libc).
28970 * libio/libio.h (_IO_pos_t): Remove.
28972 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
28974 * NEWS: Add note about FIPS mode. Wording suggested by Roland
28977 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
28979 * crypt/crypt-entry.c: Include fips-private.h.
28980 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
28981 * crypt/md5c-test.c (main): Tolerate disabled MD5.
28982 * sysdeps/unix/sysv/linux/fips-private.h: New file.
28983 * sysdeps/generic/fips-private.h: New file, dummy fallback.
28985 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
28987 * crypt/crypt-private.h: Include stdbool.h.
28988 (_ufc_setup_salt_r): Return bool.
28989 * crypt/crypt-entry.c: Include errno.h.
28990 (__crypt_r): Return NULL with EINVAL for bad salt.
28991 * crypt/crypt_util.c (bad_for_salt): New.
28992 (_ufc_setup_salt_r): Check that salt is long enough and within
28993 the specified alphabet.
28994 * crypt/badsalttest.c: New file.
28995 * crypt/Makefile (tests): Add it.
28996 ($(objpfx)badsalttest): New.
28998 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
29000 * NEWS: Add entry for BZ #14602.
29002 2012-10-09 Joseph Myers <joseph@codesourcery.com>
29004 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
29006 * math/libm-test.inc: Update comment listing what functions and
29008 (isgreater_test): New function.
29009 (isgreaterequal_test): Likewise.
29010 (isless_test): Likewise.
29011 (islessequal_test): Likewise.
29012 (islessgreater_test): Likewise.
29013 (isunordered_test): Likewise.
29014 (main): Call the new functions.
29016 2012-10-09 Roland McGrath <roland@hack.frob.com>
29018 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
29019 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
29020 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
29021 * sysdeps/i386/configure: Regenerated.
29022 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
29023 * sysdeps/mach/configure: Regenerated.
29024 * sysdeps/mach/hurd/configure: Regenerated.
29025 * sysdeps/powerpc/configure: Regenerated.
29026 * sysdeps/powerpc/powerpc32/configure: Regenerated.
29027 * sysdeps/powerpc/powerpc64/configure: Regenerated.
29028 * sysdeps/s390/s390-32/configure: Regenerated.
29029 * sysdeps/s390/s390-64/configure: Regenerated.
29030 * sysdeps/sh/configure: Regenerated.
29031 * sysdeps/sparc/configure: Regenerated.
29032 * sysdeps/unix/sysv/linux/configure: Regenerated.
29033 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
29034 * sysdeps/x86_64/configure: Regenerated.
29036 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
29037 defined. Don't check if MAP is NULL.
29039 2012-10-09 Joseph Myers <joseph@codesourcery.com>
29041 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
29042 (_G_stat64): Likewise.
29043 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
29044 (_G_stat64): Likewise.
29045 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
29046 instead of struct _G_stat64.
29047 * libio/fileops.c (mmap_remap_check): Likewise.
29048 (decide_maybe_mmap): Likewise.
29049 (_IO_new_file_seekoff): Likewise.
29050 (_IO_file_stat): Likewise.
29051 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
29053 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
29054 instead of struct _G_stat64.
29055 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
29057 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
29060 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
29062 (CHECK_EOL): New macro.
29063 (two_way_short_needle): Check beginning of haystack for EOL. Use
29065 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
29066 Replace with CHECK_EOL.
29067 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
29068 Replace with CHECK_EOL.
29070 2012-10-08 Joseph Myers <joseph@codesourcery.com>
29072 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
29074 * math/libm-test.inc: Update comment listing what functions and
29076 (finite_test): New function.
29077 (isinf_test): Likewise.
29078 (isnan_test): Likewise.
29079 (fpclassify_test): Test subnormal input.
29080 (isfinite_test): Likewise.
29081 (isnormal_test): Likewise.
29082 (main): Call the new functions.
29084 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
29087 * Makerules (%.dynsym): Force C locale when running
29088 $(OBJDUMP) --dynamic-syms.
29090 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
29092 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
29095 2012-10-06 David S. Miller <davem@davemloft.net>
29097 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
29098 upper 32-bits of the length value in %o2 since we use branch-on-register
29099 tests which consider the entire 64-bit register.
29101 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
29103 * string/test-strstr.c (check2): Add a test for page boundary.
29105 2012-10-05 David S. Miller <davem@davemloft.net>
29107 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
29108 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
29110 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
29112 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
29113 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
29114 and bzero when HWCAP_SPARC_CRYPTO is present.
29116 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
29119 * string/test-strstr.c (check2): New function.
29120 (test_main): Call check2.
29122 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
29124 * string/bug-strcasestr1.c (do_test): Moved to ...
29125 * string/test-strcasestr.c (check1): Here. New function.
29126 (do_one_test): Break out result checking code into ...
29127 (check_result): This. New function.
29128 (do_one_test): Call check_result.
29129 (test_main): Call check1.
29130 * string/bug-strchr1.c (do_test): Moved to ...
29131 * string/test-strchr.c (check1): Here. New function.
29132 (do_one_test): Break out result checking code into ...
29133 (check_result): This. New function.
29134 (do_one_test): Call check_result.
29135 (test_main): Call check1.
29136 * string/bug-strstr1.c (main): Moved to ...
29137 * string/test-strstr.c (check1): Here. New function.
29138 (do_one_test): Break out result checking code into ...
29139 (check_result): This. New function.
29140 (do_one_test): Call check_result.
29141 (test_main): Call check1.
29142 * string/bug-strcasestr1.c: Removed.
29143 * string/bug-strchr1.c: Likewise.
29144 * string/bug-strstr1.c: Likewise.
29146 * elf/Makefile (dl-routines): Add hwcaps.
29147 * elf/dl-support.c (_dl_important_hwcaps): Removed.
29148 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
29149 (_dl_important_hwcaps): Moved to ...
29150 * elf/dl-hwcaps.c: Here. New file.
29151 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
29154 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
29155 if IS_IN_rtld isn't defined.
29157 * elf/dl-support.c (_dl_sysinfo_map): New.
29158 Include "get-dynamic-info.h" and "setup-vdso.h".
29159 (_dl_non_dynamic_init): Call setup_vdso.
29160 * elf/dynamic-link.h: Don't include <assert.h>.
29161 (elf_get_dynamic_info): Moved to ...
29162 * elf/get-dynamic-info.h: Here. New file.
29163 * elf/dynamic-link.h: Include "get-dynamic-info.h".
29164 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
29165 * elf/setup-vdso.h: Here. New file.
29166 * elf/rtld.c: Include "setup-vdso.h".
29167 (dl_main): Call setup_vdso.
29169 2012-10-05 Joseph Myers <joseph@codesourcery.com>
29171 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
29172 creal in comment listing functions tested. List finite, isinf,
29173 isnan, isless, islessequal, isgreater, isgreaterequal,
29174 islessgreater, isunordered, lgamma_r and pow10 as functions and
29175 macros not tested. Mention which functions not tested are aliases
29176 for other functions. Fix typo. Note that signs of NaNs are not
29179 * scripts/config.guess: Update from config.git.
29180 * scripts/config.sub: Likewise.
29182 2012-10-04 Roland McGrath <roland@hack.frob.com>
29184 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
29185 * misc/madvise.c (madvise): Renamed to __madvise.
29186 Make madvise a weak alias.
29187 * include/sys/mman.h: Declare __madvise.
29188 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
29189 * sysdeps/unix/syscalls.list
29190 (madvise): Make __madvise the strong name, and madvise a weak alias.
29191 * sysdeps/unix/sysv/linux/syscalls.list
29192 (madvise, mmap): Remove redundant entries.
29193 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
29194 * malloc/malloc.c (mtrim): Likewise.
29195 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
29197 2012-10-03 Roland McGrath <roland@hack.frob.com>
29199 * sysdeps/mach/hurd/dl-cache.c: File removed.
29200 * config.h.in (USE_LDCONFIG): New #undef.
29201 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
29202 * configure: Regenerated.
29203 * elf/Makefile (dl-routines): Add dl-cache only under
29204 [$(use-ldconfig) = yes].
29205 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
29206 cache on [USE_LDCONFIG].
29207 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
29209 * elf/rtld.c (dl_main): Likewise.
29211 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
29213 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
29214 _SC_LEVEL4_CACHE_LINESIZE.
29216 2012-10-03 Roland McGrath <roland@hack.frob.com>
29218 * sysdeps/unix/bsd/confstr.h: File removed.
29220 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
29222 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
29225 2012-10-02 Roland McGrath <roland@hack.frob.com>
29227 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
29228 Make 'mapoff' field ElfW(Off) rather than off_t.
29230 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
29232 * nscd/Makefile: Remove nscd-cflags and all its users.
29233 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
29234 (CFLAGS-nonlib): Add compiler flags for nscd modules.
29237 * malloc.c (malloc_printerr): Clarify error message.
29239 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
29242 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29243 Set bit_FMA_Usable if FMA is supported.
29244 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
29246 (bit_FMA4_Usable): Updated.
29247 (index_FMA_Usable): New macro.
29248 (CPUID_FMA): Likewise
29249 (HAS_FMA): Defined with bit_FMA_Usable.
29251 2012-10-01 Roland McGrath <roland@hack.frob.com>
29253 * bits/types.h (__swblk_t): Type removed.
29254 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
29255 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
29256 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
29257 (__SWBLK_T_TYPE): Likewise.
29258 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
29259 (__SWBLK_T_TYPE): Likewise.
29260 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
29261 (__SWBLK_T_TYPE): Likewise.
29262 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
29263 (__SWBLK_T_TYPE): Likewise.
29265 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
29266 Honza Horak <hhorak@redhat.com>
29268 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
29269 (xdr_mapname): Use YPMAXMAP as maxsize.
29270 (xdr_peername): Use YPMAXPEER as maxsize.
29271 (xdr_keydat): Use YPAXRECORD as maxsize.
29272 (xdr_valdat): Use YPMAXRECORD as maxsize.
29274 2012-10-01 Roland McGrath <roland@hack.frob.com>
29276 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
29278 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
29279 * csu/init-first.c: ... here.
29280 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
29281 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
29282 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
29283 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
29284 * sysdeps/i386/init-first.c: File removed.
29285 * sysdeps/sh/init-first.c: File removed.
29287 2012-10-01 Joseph Myers <joseph@codesourcery.com>
29290 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
29291 if x * y might underflow to zero and z is zero.
29292 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29293 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29294 * math/libm-test.inc (min_subnorm_value): New variable.
29295 (fma_test): Add more tests.
29296 (fma_test_towardzero): Likewise.
29297 (fma_test_downward): Likewise
29298 (fma_test_upward): Likewise.
29299 (initialize): Set min_subnorm_value.
29301 2012-09-29 Joseph Myers <joseph@codesourcery.com>
29304 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
29306 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
29307 mode for addition resulting in exact zero.
29308 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
29309 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
29311 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
29312 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29313 * math/libm-test.inc (fma_test): Add more tests.
29314 (fma_test_towardzero): New function.
29315 (fma_test_downward): Likewise.
29316 (fma_test_upward): Likewise.
29317 (main): Call the new functions.
29319 2012-09-28 David S. Miller <davem@davemloft.net>
29321 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
29323 2012-09-28 Roland McGrath <roland@hack.frob.com>
29325 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
29326 instead of SIGALRM.
29328 * sysdeps/gnu/_G_config.h: Moved to ...
29329 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
29330 * sysdeps/mach/hurd/_G_config.h: Moved to ...
29331 * sysdeps/generic/_G_config.h: ... here.
29333 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
29335 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
29337 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
29338 Conditionalize target on [libnss_test1.so-version].
29340 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
29342 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
29343 (elfobjdir): Move out of conditionals.
29345 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
29346 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
29347 (__nss_lookup_function): Conditionalize label remove_from_tree on
29348 [!DO_STATIC_NSS || SHARED], matching its only use.
29350 2012-09-28 David S. Miller <davem@davemloft.net>
29352 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
29353 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
29355 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
29357 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
29358 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
29359 when HWCAP_SPARC_CRYPTO is present.
29361 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
29363 * io/tst-mknodat.c: Create a FIFO instead of a socket.
29365 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
29368 * stdio-common/vfprintf.c (process_string_arg): Revert
29371 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
29373 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
29375 * stdio-common/tst-sprintf.c: Include <locale.h>
29376 (main): Test sprintf's handling of incomplete multibyte
29379 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
29381 * elf/dl-runtime.c (VERSYMIDX): Removed.
29382 * elf/dl-version.c (VERSYMIDX): Likewise.
29383 * elf/do-rel.h (VERSYMIDX): Likewise.
29384 (VALIDX): Likewise.
29385 * elf/dynamic-link.h (VERSYMIDX): Likewise.
29386 * elf/rtld.c (VALIDX): Likewise.
29387 (ADDRIDX): Likewise.
29388 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
29389 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
29390 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
29391 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
29392 (VALIDX): Likewise.
29393 (ADDRIDX): Likewise.
29395 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
29397 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
29399 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
29402 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
29404 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
29405 addresses are in the same scope as 192.0.2/24.
29406 * posix/gai.conf: Document new scope table defaults.
29408 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
29411 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
29412 for ftell. Compute offsets from write pointers instead.
29413 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
29415 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
29418 * libio/Makefile (tests): New test case tst-fseek.
29419 * libio/tst-fseek.c: New test case to verify that fseek/ftell
29420 combination works in wide mode.
29421 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
29422 state when the external buffer state changes.
29424 2012-09-27 David S. Miller <davem@davemloft.net>
29427 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
29428 pass reloc->r_addend in as the 'high' argument to
29429 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
29431 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29433 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
29435 * rt/tst-aio2.c: Include <pthread.h>.
29436 * rt/tst-aio3.c: Likewise.
29438 2012-09-27 Steve Ellcey <sellcey@mips.com>
29440 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
29442 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
29444 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
29445 contents on [SHARED].
29447 2012-09-26 Marek Polacek <polacek@redhat.com>
29451 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
29452 for C++ and GCC <4.3 as well as for non GCC compilers.
29454 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
29456 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29458 2012-09-25 Roland McGrath <roland@hack.frob.com>
29460 * Makefile.in (all, install): Declare with .PHONY.
29461 Reported by Michael Hope <michael.hope@linaro.org>.
29463 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
29465 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
29466 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
29468 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
29470 (sydep_routines): Add the new and the internal functions.
29471 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
29472 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
29473 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
29474 (GLIBC_2.17): Add the new function.
29475 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
29476 (GLIBC_2.17): Likewise.
29477 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
29478 (GLIBC_2.17): Likewise.
29479 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
29480 (GLIBC_2.17): Likewise.
29481 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
29483 2012-09-25 Alan Modra <amodra@gmail.com>
29485 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
29486 Add release barrier before setting once_control to say
29487 initialisation is done. Add hints on lwarx. Use macro in
29489 (clear_once_control): Add release barrier.
29491 2012-09-25 Joseph Myers <joseph@codesourcery.com>
29494 * math/s_clog.c (__clog): Handle more values close to |z| = 1
29496 * math/s_clog10.c (__clog10): Likewise.
29497 * math/s_clog10f.c (__clog10f): Likewise.
29498 * math/s_clog10l.c (__clog10l): Likewise.
29499 * math/s_clogf.c (__clogf): Likewise.
29500 * math/s_clogl.c (__clogl): Likewise.
29501 * math/Makefile (libm-calls): Add x2y2m1.
29502 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
29503 (__x2y2m1): Likewise.
29504 (__x2y2m1l): Likewise.
29505 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
29506 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
29507 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
29508 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
29509 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
29510 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
29511 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
29512 * sysdeps/i386/fpu/libm-test-ulps: Update.
29513 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29516 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
29517 int as type of variable DEPTH.
29518 (glob): Use size_t instead of int as type of variables NEWCOUNT
29521 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29523 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
29524 Add s_sincosf-sse2.
29525 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
29526 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
29527 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
29528 macros for using routine as __sincosf_ia32.
29529 Use macro for function declaration and weak_alias.
29530 * sysdeps/i386/fpu/libm-test-ulps: Update.
29532 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
29533 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29535 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
29536 subnormal argument.
29537 * math/s_cexpf.c (__cexpf): Likewise.
29538 * math/s_csinf.c (__csinf): Likewise.
29539 * math/s_csinhf.c (__csinhf): Likewise.
29540 * math/s_ctanf.c (__ctanf): Likewise.
29541 * math/s_ctanhf.c (__ctanhf): Likewise.
29542 * math/s_ccosh.c (__ccoshf): Likewise.
29543 * math/s_cexp.c (__cexpl): Likewise.
29544 * math/s_csin.c (__csin): Likewise.
29545 * math/s_csinh.c (__csinh): Likewise.
29546 * math/s_ctan.c (__ctan): Likewise.
29547 * math/s_ctanh.c (ctanh): Likewise.
29548 * math/s_ccoshl.c (__ccoshl): Likewise.
29549 * math/s_cexpl.c (__cexpl): Likewise.
29550 * math/s_csinl.c (__csinl): Likewise.
29551 * math/s_csinhl.c (__csinhl): Likewise.
29552 * math/s_ctanl.c (__ctanl): Likewise.
29553 * math/s_ctanhl.c (__ctanhl): Likewise.
29555 2012-09-25 Joseph Myers <joseph@codesourcery.com>
29557 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
29558 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
29559 (_IO_off_t): Define to __off_t, not _G_off_t.
29560 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
29561 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
29562 (_IO_wint_t): Define to wint_t, not _G_wint_t.
29563 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
29564 type of __dummy and __dummy2 fields.
29565 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
29566 (_G_ssize_t): Likewise.
29567 (_G_off_t): Likewise.
29568 (_G_pid_t): Likewise.
29569 (_G_uid_t): Likewise.
29570 (_G_wchar_t): Likewise.
29571 (_G_wint_t): Likewise.
29572 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
29573 (_G_ssize_t): Likewise.
29574 (_G_off_t): Likewise.
29575 (_G_pid_t): Likewise.
29576 (_G_uid_t): Likewise.
29577 (_G_wchar_t): Likewise.
29578 (_G_wint_t): Likewise.
29579 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
29580 (_G_ssize_t): Likewise.
29581 (_G_off_t): Likewise.
29582 (_G_pid_t): Likewise.
29583 (_G_uid_t): Likewise.
29584 (_G_wchar_t): Likewise.
29585 (_G_wint_t): Likewise.
29587 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
29589 * malloc/arena.c: Include malloc-sysdep.h.
29590 (shrink_heap): Use check_may_shrink_heap to decide if madvise
29591 is sufficient to shrink the heap or an unmap is needed.
29592 * sysdeps/generic/malloc-sysdep.h: New file. Define
29593 new function check_may_shrink_heap.
29594 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
29595 new function check_may_shrink_heap.
29597 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
29599 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
29602 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
29604 * catgets/test-gencat.sh: Add "set -e".
29605 * elf/tst-pathopt.sh: Likewise.
29606 * grp/tst_fgetgrent.sh: Likewise.
29607 * iconvdata/run-iconv-test.sh: Likewise.
29608 * intl/tst-gettext.sh: Likewise.
29609 * intl/tst-gettext2.sh: Likewise.
29610 * intl/tst-gettext4.sh: Likewise.
29611 * intl/tst-gettext6.sh: Likewise.
29612 * intl/tst-translit.sh: Likewise.
29613 * io/ftwtest-sh: Likewise.
29614 * libio/test-freopen.sh: Likewise.
29615 * malloc/tst-mtrace.sh: Likewise.
29616 * posix/globtest.sh: Likewise.
29617 * posix/tst-getconf.sh: Likewise.
29618 * posix/wordexp-tst.sh: Likewise.
29619 * stdio-common/tst-printf.sh: Likewise.
29620 * stdio-common/tst-unbputc.sh: Likewise.
29621 * stdlib/tst-fmtmsg.sh: Likewise.
29622 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
29623 * catgets/Makefile: Do not specify -e option when running
29624 testsuite shell scripts.
29625 * elf/Makefile: Likewise.
29626 * grp/Makefile: Likewise.
29627 * iconvdata/Makefile: Likewise.
29628 * intl/Makefile: Likewise.
29629 * io/Makefile: Likewise.
29630 * libio/Makefile: Likewise.
29631 * malloc/Makefile: Likewise.
29632 * posix/Makefile: Likewise.
29633 * stdio-common/Makefile: Likewise.
29634 * stdlib/Makefile: Likewise.
29635 * sysdeps/x86_64/Makefile: Likewise.
29637 * io/ftwtest-sh: Add copyright header.
29638 * posix/globtest.sh: Likewise.
29639 * posix/tst-getconf.sh: Likewise.
29640 * posix/wordexp-tst.sh: Likewise.
29641 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
29643 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
29646 * Makeconfig (+link): Defined as $(+link-static) if
29647 $(build-shared) isn't yes.
29648 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
29650 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
29652 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
29655 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
29656 new chunk size with MALLOC_ALIGN_MASK.
29658 2012-09-24 Joseph Myers <joseph@codesourcery.com>
29661 * stdio-common/printf_fphex.c: Include <stdbool.h> and
29663 (__printf_fphex): Determine rounding using get_rounding_mode and
29665 * stdio-common/tst-printf-round.c (struct hex_test): New
29667 (hex_tests): New variable.
29668 (test_hex_in_one_mode): New function.
29669 (do_test): Also run tests for hex float output.
29671 2012-09-21 Joseph Myers <joseph@codesourcery.com>
29673 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
29674 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
29675 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
29676 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
29677 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
29678 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
29679 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
29680 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
29682 2012-09-20 Joseph Myers <joseph@codesourcery.com>
29684 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
29685 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
29686 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
29687 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
29689 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
29692 * elf/rtld.c (dl_main): Limit the check for self loading to normal
29694 * elf/tst-rtld-load-self.sh: New test.
29695 * elf/Makefile: Run it.
29697 2012-09-18 Joseph Myers <joseph@codesourcery.com>
29699 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
29700 (tst-writev-ENV): Remove.
29701 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
29703 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
29705 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
29707 2012-09-17 Joseph Myers <joseph@codesourcery.com>
29709 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
29711 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
29713 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
29714 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
29715 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
29718 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
29721 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
29722 * config.make.in (have-cpp-asm-debuginfo): Removed.
29723 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
29724 * configure: Regenerated.
29726 2012-09-14 Joseph Myers <joseph@codesourcery.com>
29729 * stdio-common/printf_fp.c: Include <stdbool.h> and
29731 (___printf_fp): Determine rounding using get_rounding_mode and
29733 * stdio-common/tst-printf-round.c: New file.
29734 * stdio-common/Makefile (tests): Add tst-printf-round.
29735 (link-libm): New variable.
29736 ($(objpfx)tst-printf-round): Depend in $(link-libm).
29738 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
29741 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
29742 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
29744 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
29747 2012-09-13 Joseph Myers <joseph@codesourcery.com>
29749 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
29750 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
29751 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
29752 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
29754 2012-09-12 Joseph Myers <joseph@codesourcery.com>
29757 * include/rounding-mode.h: New file.
29758 * sysdeps/generic/get-rounding-mode.h: Likewise.
29759 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
29760 * stdlib/strtod_l.c: Include <rounding-mode.h>.
29761 (MAX_VALUE): New macro.
29762 (MIN_VALUE): Likewise.
29763 (overflow_value): New function.
29764 (underflow_value): Likewise.
29765 (round_and_return): Use overflow_value and underflow_value to
29766 determine return values in overflow and underflow cases. Use
29767 round_away to determine rounding depending on rounding mode.
29768 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
29769 determine return values in overflow and underflow cases.
29770 * stdlib/tst-strtod-round.c: Include <fenv.h>.
29771 (struct test_results): New structure.
29772 (struct test): Use struct test_results to store expected results
29773 for all rounding modes.
29774 (TEST): Include expected results for all rounding modes.
29775 (test_in_one_mode): New function.
29776 (do_test): Use test_in_one_mode to compute and check results.
29777 Check results for all rounding modes.
29778 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
29781 2012-12-09 Allan McRae <allan@archlinux.org>
29783 * sysdeps/i386/fpu/libm-test-ulps: Update
29785 2012-09-11 Joseph Myers <joseph@codesourcery.com>
29787 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
29788 (_G_int32_t): Likewise.
29789 (_G_uint16_t): Likewise.
29790 (_G_uint32_t): Likewise.
29791 (_G_HAVE_BOOL): Likewise.
29792 (_G_HAVE_ATEXIT): Likewise.
29793 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
29794 (_G_HAVE_IO_FILE_OPEN): Likewise.
29795 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
29796 (_G_int32_t): Likewise.
29797 (_G_uint16_t): Likewise.
29798 (_G_uint32_t): Likewise.
29799 (_G_HAVE_BOOL): Likewise.
29800 (_G_HAVE_ATEXIT): Likewise.
29801 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
29802 (_G_HAVE_IO_FILE_OPEN): Likewise.
29803 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
29804 (_G_int32_t): Likewise.
29805 (_G_uint16_t): Likewise.
29806 (_G_uint32_t): Likewise.
29807 (_G_HAVE_BOOL): Likewise.
29808 (_G_HAVE_ATEXIT): Likewise.
29809 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
29810 (_G_HAVE_IO_FILE_OPEN): Likewise.
29812 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
29814 * csu/libc-tls.c: Update copyright years.
29816 2012-09-10 Joseph Myers <joseph@codesourcery.com>
29818 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
29819 [!_G_USING_THUNKS]: Remove conditional code.
29820 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
29821 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
29823 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
29824 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
29825 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
29826 (_G_VTABLE_LABEL_PREFIX): Likewise.
29827 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
29828 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
29829 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
29830 (_G_VTABLE_LABEL_PREFIX): Likewise.
29831 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
29832 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
29833 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
29834 (_G_VTABLE_LABEL_PREFIX): Likewise.
29835 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
29837 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
29839 * libio/Makefile: Include ../Makeconfig before tests.
29840 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
29841 only if $(build-shared) is yes.
29843 * iconv/gconv_db.c: Update copyright years.
29845 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29847 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
29848 unwind info if defined PIC. Fix special cases description.
29849 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
29851 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
29853 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
29855 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
29857 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
29859 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
29862 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
29863 (LDLIBS-tst-chk4): This.
29864 (LDFLAGS-tst-chk5): Renamed to ...
29865 (LDLIBS-tst-chk5): This.
29866 (LDFLAGS-tst-chk6): Renamed to ...
29867 (LDLIBS-tst-chk6): This.
29868 (LDFLAGS-tst-lfschk4): Renamed to ...
29869 (LDLIBS-tst-lfschk4): This.
29870 (LDFLAGS-tst-lfschk5): Renamed to ...
29871 (LDLIBS-tst-lfschk5): This.
29872 (LDFLAGS-tst-lfschk6): Renamed to ...
29873 (LDLIBS-tst-lfschk6): This.
29875 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
29876 on $(common-objpfx)soversions.mk.
29878 2012-09-07 Joseph Myers <joseph@codesourcery.com>
29881 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
29884 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
29886 * malloc/arena.c (arena_get_retry): New function that gets
29887 another arena for the caller to try its request on.
29888 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
29889 current arena cannot fulfill the request.
29890 (__libc_memalign): Likewise.
29891 (__libc_memalign): Likewise.
29892 (__libc_pvalloc): Likewise.
29893 (__libc_calloc): Likewise.
29895 2012-09-05 John Tobey <john.tobey@gmail.com>
29898 * manual/arith.texi (Operations on Complex): Fix description
29899 of carg branch cut.
29901 2012-09-06 Joseph Myers <joseph@codesourcery.com>
29904 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
29908 * manual/memory.texi (Memory): Make order of menu items match
29911 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
29913 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
29914 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
29915 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
29917 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
29919 * csu/libc-tls.c (static_dtv): Renamed to ...
29920 (_dl_static_dtv): This. Make it global.
29921 (_dl_initial_dtv): Removed.
29922 (__libc_setup_tls): Updated.
29923 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
29924 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
29927 2012-09-06 Petr Machata <pmachata@redhat.com>
29929 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
29930 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
29931 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
29932 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
29934 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
29937 * csu/libc-tls.c (_dl_initial_dtv): New variable.
29938 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
29941 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
29944 * Makeconfig (link-static-before-libc): Replace $(+prector)
29946 (link-static-after-libc): Replace $(+postctor) with
29948 (link-bounded): Replace $(+prector)/$(+postctor) with
29949 $(+prectorT)/$(+postctorT).
29950 (+prectorT): New macro.
29951 (+postctorT): Likewise.
29953 2012-09-06 Joseph Myers <joseph@codesourcery.com>
29955 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
29956 (round_str): Handle values above the maximum for IBM long double
29958 * stdlib/tst-strtod-round.c (tests): Regenerated.
29960 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29962 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
29964 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
29965 zarch_nohighgprs around the zarch optimized routines.
29966 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
29967 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
29968 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
29971 2012-09-05 David S. Miller <davem@davemloft.net>
29973 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29975 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
29976 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
29977 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
29978 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
29981 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
29983 * malloc/arena.c: Fold copyright years.
29984 * malloc/mcheck.c, malloc/memusage.c: Likewise.
29986 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
29988 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
29990 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
29992 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
29994 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
29996 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
29997 change internal state upon failure.
29999 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
30001 * malloc/mcheck.c (mcheck_check_all): Fix typo.
30002 * malloc/memusage.c (mmap): Likewise.
30003 (mmap64, mremap): Likewise. Adjust name in comment.
30005 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
30007 * libio/fileops.c: Fix typos in comments.
30008 * libio/oldfileops.c: Likewise.
30009 * libio/wfileops.c: Likewise.
30011 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
30014 * malloc/Makefile (tests): Add tst-malloc-usable test case.
30015 (tst-malloc-usable-ENV): Set environment for test case.
30016 * malloc/hooks.c (malloc_check_get_size): New function to get
30018 * malloc/malloc.c (musable): Use malloc_check_get_size.
30019 * malloc/tst-malloc-usable.c: New test case.
30021 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
30023 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
30025 2012-09-05 Allan McRae <allan@archlinux.org>
30028 * configure.in (CXX_SYSINCLUDES): Use compiler output to
30029 determine header location.
30030 * configure: Regenerated.
30032 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
30034 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
30036 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
30037 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
30039 (test): Regenerate.
30041 2012-09-04 David S. Miller <davem@davemloft.net>
30043 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
30044 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
30045 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
30047 2012-09-04 Florian Weimer <fweimer@redhat.com>
30049 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
30052 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
30054 2012-09-04 Joseph Myers <joseph@codesourcery.com>
30057 * libio/iogetdelim.c: Include <limits.h>.
30058 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
30059 + len + 1 would overflow.
30061 2012-09-03 Andreas Jaeger <aj@suse.de>
30063 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30064 * sysdeps/i386/fpu/libm-test-ulps: Update.
30066 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30068 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
30069 Add s_sinf-sse2, s_conf-sse2.
30071 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
30072 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
30073 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
30074 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
30076 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
30077 for using routine as __sinf_ia32.
30078 Use macro for function declaration and weak_alias.
30079 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
30080 for using routine as __cosf_ia32.
30081 Use macro for function declaration and weak_alias.
30083 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
30084 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
30086 * sysdeps/x86_64/fpu/s_sinf.S: New file.
30087 * sysdeps/x86_64/fpu/s_cosf.S: New file.
30088 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30090 * math/libm-test.inc (cos_test): Add more test cases.
30091 (sin_test): Likewise.
30092 (sincos_test): Likewise.
30094 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30096 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
30097 (IFUNC_RESOLVE): Make pointers to the specialized implementations
30099 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
30101 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
30104 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
30105 first element of the GOT.
30106 (elf_machine_load_address): Return the difference between
30107 the runtime address of _DYNAMIC and elf_machine_dynamic ().
30109 2012-09-01 Allan McRae <allan@archlinux.org>
30112 * configure.in (AWK): Require gawk version 3.0 or later.
30113 * configure: Regenerated.
30115 2012-09-01 Joseph Myers <joseph@codesourcery.com>
30117 * sysdeps/unix/sysv/linux/kernel-features.h
30118 (__ASSUME_POSIX_CPU_TIMERS): Remove.
30119 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
30120 [__NR_clock_getres]: Make code unconditional.
30121 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
30122 (clock_getcpuclockid): Remove code left unreachable by removal of
30124 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
30125 code unconditional.
30126 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
30127 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
30128 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
30129 Make code unconditional.
30130 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
30131 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
30132 * sysdeps/unix/sysv/linux/clock_settime.c
30133 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
30135 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
30136 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
30138 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
30141 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
30142 scripts/test-installation.pl.
30144 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
30145 and $ld_so_version if it is set.
30147 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
30150 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
30151 failure if reading from procfs failed.
30152 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
30154 2012-08-27 Joseph Myers <joseph@codesourcery.com>
30156 * sysdeps/unix/sysv/linux/kernel-features.h
30157 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
30158 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
30159 Remove conditional code.
30160 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30161 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
30162 Remove conditional code.
30163 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30164 * sysdeps/unix/sysv/linux/i386/fxstat.c
30165 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
30166 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30167 * sysdeps/unix/sysv/linux/i386/fxstatat.c
30168 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
30169 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30170 * sysdeps/unix/sysv/linux/i386/lxstat.c
30171 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
30172 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30173 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
30174 Remove conditional code.
30175 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30176 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
30177 Remove conditional code.
30178 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30179 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
30180 <kernel-features.h>.
30181 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
30183 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
30184 Remove conditional code.
30185 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30186 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
30187 Remove conditional.
30189 2012-08-27 Mike Frysinger <vapier@gentoo.org>
30192 * NEWS: Add fixed bug number.
30194 2012-08-27 Joseph Myers <joseph@codesourcery.com>
30197 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
30198 underflowing exponent in case of negative sign.
30199 * stdlib/tst-strtod-round-data: Add more tests.
30200 * stdlib/tst-strtod-round.c (tests): Regenerated.
30203 * stdlib/strtod_l.c (NDIG): Remove.
30204 (HEXNDIG): Likewise.
30205 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
30206 smallest representable value.
30207 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
30208 lie within an exact representation of 1/2 ulp of the result.
30209 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
30211 (TENS_P9_IDX): Define unconditionally.
30212 (TENS_P9_SIZE): Likewise.
30213 (TENS_P10_IDX): Likewise.
30214 (TENS_P10_SIZE): Likewise.
30215 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
30216 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
30217 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
30218 entries for 10^2^13 and 10^2^14.
30219 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
30220 (TENS_P13_IDX): Define.
30221 (TENS_P13_SIZE): Likewise.
30222 (TENS_P14_IDX): Likewise.
30223 (TENS_P14_SIZE): Likewise.
30224 (_fpioconst_pow10): Change array size to
30225 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
30227 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
30228 1024]: Add entries for 10^2^13 and 10^2^14.
30229 [LAST_POW10 > _LAST_POW10]: Remove #error.
30230 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
30231 (_fpioconst_pow10): Change array size to
30232 FPIOCONST_POW10_ARRAY_SIZE.
30233 * stdlib/gen-fpioconst.c: New file.
30234 * stdlib/gen-tst-strtod-round.c: Likewise.
30235 * stdlib/tst-strtod-round-data: Likewise.
30236 * stdlib/tst-strtod-round.c: Likewise.
30237 * stdlib/Makefile (tests): Add tst-strtod-round.
30240 * stdlib/strtod_l.c: Include <stdint.h>.
30241 (NDEBUG): Do not define.
30242 (round_and_return): Change EXPONENT parameter to type intmax_t.
30243 Rearrange calculations to avoid internal overflow possibilities.
30244 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
30245 Rearrange calculations to avoid internal overflow possibilities.
30246 Assert that number fits inside MPNSIZE limbs.
30247 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
30248 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
30249 calculations and add assertions to avoid internal overflow
30250 possibilities. Add casts to avoid signed/unsigned operations.
30251 * stdlib/tst-strtod-overflow.c: New file.
30252 * stdlib/Makefile (tests): Add tst-strtod-overflow.
30254 2012-08-25 Marek Polacek <polacek@redhat.com>
30256 * time/time.h: Fix some typos in comments.
30258 2012-08-23 Roland McGrath <roland@hack.frob.com>
30260 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
30261 * posix/tst-rfc3484-2.c: Likewise.
30262 * posix/tst-rfc3484-3.c: Likewise.
30264 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
30266 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
30267 (EF_ARM_ABI_FLOAT_HARD): Likewise.
30269 2012-08-23 Joseph Myers <joseph@codesourcery.com>
30271 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
30272 #include of fxstatat64.c.
30274 2012-08-22 Roland McGrath <roland@hack.frob.com>
30276 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
30277 * shadow/getspent_r.c: Likewise.
30278 * shadow/getspnam.c: Likewise.
30279 * shadow/getspnam_r.c: Likewise.
30280 * gshadow/getsgent.c: Likewise.
30281 * gshadow/getsgent_r.c: Likewise.
30282 * gshadow/getsgnam.c: Likewise.
30283 * gshadow/getsgnam_r.c: Likewise.
30284 * inet/getnetbyad.c: Likewise.
30285 * inet/getnetbyad_r.c: Likewise.
30286 * inet/getnetbynm.c: Likewise.
30287 * inet/getnetbynm_r.c: Likewise.
30288 * inet/getnetent.c: Likewise.
30289 * inet/getnetent_r.c: Likewise.
30290 * inet/getproto.c: Likewise.
30291 * inet/getproto_r.c: Likewise.
30292 * inet/getprtent.c: Likewise.
30293 * inet/getprtent_r.c: Likewise.
30294 * inet/getprtname.c: Likewise.
30295 * inet/getprtname_r.c: Likewise.
30296 * inet/getrpcbyname.c: Likewise.
30297 * inet/getrpcbyname_r.c: Likewise.
30298 * inet/getrpcbynumber.c: Likewise.
30299 * inet/getrpcbynumber_r.c: Likewise.
30300 * inet/getrpcent.c: Likewise.
30301 * inet/getrpcent_r.c: Likewise.
30302 * inet/getaliasent.c: Likewise.
30303 * inet/getaliasent_r.c: Likewise.
30304 * inet/getaliasname.c: Likewise.
30305 * inet/getaliasname_r.c: Likewise.
30306 * nscd/getgrgid_r.c: Likewise.
30307 * nscd/getgrnam_r.c: Likewise.
30308 * nscd/gethstbyad_r.c: Likewise.
30309 * nscd/gethstbynm3_r.c: Likewise.
30310 * nscd/getpwnam_r.c: Likewise.
30311 * nscd/getpwuid_r.c: Likewise.
30312 * nscd/getsrvbynm_r.c: Likewise.
30313 * nscd/getsrvbypt_r.c: Likewise.
30314 * nscd/gai.c: Likewise.
30316 * configure.in (build_nscd): New substituted variable, set
30317 by --disable-build-nscd and defaults to $use_nscd.
30318 * configure: Regenerated.
30319 * config.make.in (build-nscd): New substituted variable.
30320 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
30321 Change conditional to require [$(build-nscd) = yes] as well.
30322 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
30325 * configure.in (use_nscd): New substituted variable, set by
30326 --disable-nscd. If enabled, define USE_NSCD.
30327 * configure: Regenerated.
30328 * config.h.in: Add USE_NSCD.
30329 * config.make.in (use-nscd): New substituted variable.
30330 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
30331 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
30332 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
30333 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
30334 (CFLAGS-getgrnam_r.c): Likewise.
30335 (CFLAGS-initgroups.c): Likewise.
30336 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
30337 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
30339 * inet/getnetgrent_r.c
30340 (nscd_setnetgrent): New function, broken out of ...
30341 (setnetgrent): ... here. Call it.
30342 (innetgr): Conditionalize nscd bits on [USE_NSCD].
30343 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
30344 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
30345 * nscd/Makefile (routines, aux): Move definitions after include of
30346 Makeconfig. Conditionalize on [$(use-nscd) != no].
30347 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
30348 Conditionalize on [USE_NSCD].
30349 (is_nscd, nscd_init_cb): Likewise.
30350 (nss_load_library): Conditionalize init callback on [USE_NSCD].
30351 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
30352 * nss/nss_db/db-init.c: Likewise.
30353 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
30355 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
30356 (make_request): Use it.
30357 (cache_valid_p): New function.
30358 (__check_pf): Use it.
30359 * NEWS: Add item for --disable-nscd.
30361 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
30363 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
30364 to support sed >= 4.2.1-20-ga9bf076.
30365 * configure: Regenerated.
30367 2012-08-22 Roland McGrath <roland@hack.frob.com>
30369 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
30370 Conditionalize whole body on [IREL].
30372 2012-08-22 Jeff Law <law@redhat.com>
30375 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
30376 if the family is PF_UNSPEC.
30378 2012-08-22 Mike Frysinger <vapier@gentoo.org>
30380 * Makerules (lib-version): Rename from V.
30381 (install-lib-nosubdir): Change V to lib-version.
30383 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
30386 * powerpc32/power6/wcschr.c: New file.
30387 * powerpc32/power6/wcscpy.c: New file.
30388 * powerpc32/power6/wcsrchr.c: New file.
30389 * powerpc64/power6/wcschr.c: New file.
30390 * powerpc64/power6/wcscpy.c: New file.
30391 * powerpc64/power6/wcsrchr.c: New file.
30393 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
30395 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
30396 (two_way_short_needle): Use it.
30397 * string/strstr.c (AVAILABLE1_USES_J): Define.
30398 * string/strcasestr.c: Likewise.
30400 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
30402 * string/strcasestr.c (TOLOWER): Make side-effect safe.
30405 * NEWS: Add an entry.
30406 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
30407 define their defaults.
30408 (two_way_short_needle): Detect end-of-string on-the-fly.
30409 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
30410 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
30411 * string/bug-strcasestr1.c: New test.
30412 * string/Makefile: Run it.
30414 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
30417 * string/str-two-way.h (two_way_short_needle): Optimize matching of
30418 the first character.
30420 2012-08-21 Roland McGrath <roland@hack.frob.com>
30422 * csu/elf-init.c (__libc_csu_irel): Function removed.
30423 * csu/libc-start.c (apply_irel): New function.
30424 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
30426 2012-08-21 Joseph Myers <joseph@codesourcery.com>
30428 * sysdeps/unix/sysv/linux/kernel-features.h
30429 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
30430 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
30431 <kernel-features.h>.
30432 [__NR_fadvise64_64]: Make code unconditional.
30433 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
30434 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
30435 !__NR_fadvise64_64)]: Likewise.
30436 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
30437 !__NR_fadvise64_64))]: Likewise.
30438 [__NR_fadvise64]: Make code unconditional.
30439 [!__NR_fadvise64]: Remove conditional code.
30440 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
30441 <kernel-features.h>.
30442 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
30444 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
30446 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
30447 not include <kernel-features.h>.
30448 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
30450 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
30452 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
30453 include <kernel-features.h>.
30454 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
30456 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
30459 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
30461 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
30462 slight instruction rearrangements per scrollpipe analysis.
30463 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
30465 2012-08-20 Roland McGrath <roland@hack.frob.com>
30467 * manual/syslog.texi (syslog; vsyslog, closelog):
30468 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
30469 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
30471 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
30472 DSOCAPS to match condition on defining it.
30474 2012-08-20 Joseph Myers <joseph@codesourcery.com>
30476 * sysdeps/unix/sysv/linux/kernel-features.h
30477 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
30478 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
30479 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
30480 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
30481 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
30482 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
30483 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
30484 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
30485 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
30486 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
30488 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
30489 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
30491 * sysdeps/unix/sysv/linux/kernel-features.h
30492 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
30493 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
30495 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
30496 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
30497 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
30498 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
30499 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
30500 Make code unconditional.
30501 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
30502 (__mmap64) [!__NR_mmap2]: Likewise.
30503 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
30504 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
30505 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
30506 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
30507 [__NR_mmap2]: Make code unconditional.
30508 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
30509 (__mmap64) [!__NR_mmap2]: Likewise.
30511 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30513 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
30515 2012-08-18 Andreas Jaeger <aj@suse.de>
30517 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
30519 2012-08-18 Mike Frysinger <vapier@gentoo.org>
30521 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
30522 * include/unistd.h (__have_sock_cloexec): Likewise.
30523 (__have_pipe2): Likewise.
30524 (__have_dup3): Likewise.
30526 2012-08-18 Mike Frysinger <vapier@gentoo.org>
30529 * include/unistd.h (__have_pipe2): Change define into an extern int.
30530 (__have_dup3): Likewise.
30531 * socket/have_sock_cloexec.c: Include fcntl.h.
30532 (__have_pipe2): New variable.
30533 (__have_dup3): Likewise.
30535 2012-08-17 Mike Frysinger <vapier@gentoo.org>
30537 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
30539 2012-08-17 Marek Polacek <polacek@redhat.com>
30541 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
30542 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
30544 2012-08-17 Roland McGrath <roland@hack.frob.com>
30546 * configure.in: Add AC_SUBST for sysheaders.
30547 * configure: Regenerated.
30548 * config.make.in (sysheaders): New substituted variable.
30550 * sysdeps/unix/mkfifo.c: Moved ...
30551 * sysdeps/posix/mkfifo.c: ... here.
30552 * sysdeps/unix/mkfifoat.c: Moved ...
30553 * sysdeps/posix/mkfifoat.c: ... here.
30555 * sysdeps/unix/utime.c: Moved ...
30556 * sysdeps/posix/utime.c: ... here.
30558 * sysdeps/unix/time.c: Moved ...
30559 * sysdeps/posix/time.c: ... here.
30560 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
30561 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
30563 * sysdeps/unix/nice.c: Moved ...
30564 * sysdeps/posix/nice.c: ... here.
30566 * sysdeps/unix/alarm.c: Moved ...
30567 * sysdeps/posix/alarm.c: ... here.
30569 * intl/Makefile ($(codeset_mo)): Depend on the input file.
30571 2012-08-17 Jeff Law <law@redhat.com>
30573 * intl/Makefile (codeset_mo): New variable.
30574 ($(codeset_mo)): New target.
30575 (tst-codeset.out): Depend on that. Remove explicit rule.
30576 (tst-gettext3.out, tst-gettext5.out): Likewise.
30577 (LOCPATH-ENV, tst-codeset-ENV): New variables.
30578 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
30579 * intl/tst-codeset.sh: Remove.
30580 * intl/tst-gettext3.sh: Likewise.
30581 * intl/tst-gettext5.sh: Likewise.
30583 2012-08-17 Roland McGrath <roland@hack.frob.com>
30585 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
30586 * sysdeps/unix/syscalls.list: ... here.
30588 * sysdeps/posix/getaddrinfo.c
30589 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
30590 (gaiconf_init, gaiconf_reload): Use them.
30591 [!_STATBUF_ST_NSEC]
30592 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
30593 Define using time_t rather than struct timespec.
30595 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
30596 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
30598 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
30600 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
30601 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
30604 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
30605 __libc_cleanup_push argument.
30607 * bits/param.h: New file.
30608 * misc/sys/param.h: New file.
30609 * include/sys/param.h: New file.
30610 * misc/Makefile (headers): Add bits/param.h.
30611 * sysdeps/generic/sys/param.h: File removed.
30612 * sysdeps/unix/sysv/linux/bits/param.h: New file.
30613 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
30614 * sysdeps/mach/hurd/bits/param.h: New file.
30615 * sysdeps/mach/hurd/sys/param.h: File removed.
30617 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
30620 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
30622 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
30623 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
30626 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
30627 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
30628 rather than -D_IO_MTSAFE_IO conditionally.
30629 * stdio-common/Makefile (CPPFLAGS): Likewise.
30630 * wcsmbs/Makefile (CPPFLAGS): Likewise.
30631 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
30632 Use $(libio-mtsafe).
30633 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
30634 of -D_IO_MTSAFE_IO.
30635 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
30636 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
30637 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
30638 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
30639 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
30640 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
30641 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
30642 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
30643 (CFLAGS-fread_u_chk.c): Likewise.
30644 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
30645 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
30646 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
30647 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
30648 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
30649 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
30650 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
30651 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
30652 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
30654 * libio/Makefile: Test [$(libc-reentrant) = yes]
30655 instead of [$(filter %REENTRANT, $(defines)) nonempty].
30658 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
30659 * sysdeps/pthread/configure: File removed.
30660 * sysdeps/pthread/Makeconfig: New file.
30661 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
30662 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
30664 2012-08-16 Gary Benson <gbenson@redhat.com>
30666 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
30667 unmapping the first object in a namespace.
30669 2012-08-16 Roland McGrath <roland@hack.frob.com>
30671 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
30672 (__internal_setnetgrent): ... this. Add internal_function to
30673 definition. Add libc_hidden_def.
30674 (setnetgrent): Update caller.
30675 (internal_endnetgrent): Renamed to ...
30676 (__internal_endnetgrent): ... this. Add internal_function to
30677 definition. Add libc_hidden_def.
30678 (endnetgrent): Update caller.
30679 (internal_getnetgrent_r): Renamed to ...
30680 (__internal_getnetgrent_r): ... this. Add internal_function to
30681 definition. Add libc_hidden_def.
30682 (__getnetgrent_r): Update caller.
30683 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
30685 2012-08-16 Joseph Myers <joseph@codesourcery.com>
30687 * stdlib/longlong.h: Update from GCC.
30689 2012-08-16 Roland McGrath <roland@hack.frob.com>
30691 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
30692 on _QL, which is set by umul_ppmm but never used.
30693 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
30694 variables, which are set by GMP macros but never used.
30695 * stdio-common/_itowa.c (_itowa): Likewise.
30696 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
30697 * stdlib/mod_1.c (mpn_mod_1): Likewise.
30699 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
30701 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
30702 struct La_sh_regs is not constant.
30703 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
30704 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
30705 and struct La_sparc64_regs are not constant.
30707 2012-08-16 Joseph Myers <joseph@codesourcery.com>
30709 * sysdeps/unix/sysv/linux/kernel-features.h
30710 (__ASSUME_POSIX_TIMERS): Remove.
30711 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
30712 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
30713 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
30714 Make code unconditional.
30715 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
30716 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
30717 Make code unconditional.
30718 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
30719 * sysdeps/unix/sysv/linux/clock_nanosleep.c
30720 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
30721 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
30722 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
30723 Make code unconditional.
30724 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
30725 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
30726 (__libc_missing_posix_timers): Remove.
30728 2012-08-15 Roland McGrath <roland@hack.frob.com>
30730 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
30731 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
30733 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
30735 * elf/dl-sym.c: Include <stdlib.h>.
30737 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
30738 constants, which avoids warnings in 32-bit builds.
30740 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
30741 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
30743 * misc/lseek.c: File moved to ...
30744 * io/lseek.c: ... here.
30746 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
30748 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
30749 shifting LEN more than 31 bits at once.
30751 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30754 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
30755 segmentation fault for a case of two empty input strings.
30756 * string/test-strncasecmp.c (check1): Renamed to...
30757 (bz12205): ...this.
30758 (bz14195): Add new testcase for two empty input strings and N > 0.
30759 (test_main): Call new testcase, adapt for renamed function.
30761 2012-08-15 Andreas Jaeger <aj@suse.de>
30764 * crypt/md5test2.c: New test, based on test supplied by Serge
30765 Belyshev <belyshev@depni.sinp.msu.ru>.
30766 * crypt/Makefile (xtests): Add md5test-giant..
30767 * crypt/Makefile ($(objpfx)md5test-giant): Add.
30769 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
30772 * crypt/md5.c (md5_process_block): Don't assume the buffer
30773 length is less than 2**32.
30774 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
30775 length is less than 2**64.
30777 2012-08-15 Roland McGrath <roland@hack.frob.com>
30779 * string/str-two-way.h: Include <sys/param.h>.
30780 (MAX): Macro removed.
30782 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
30783 Move #define and #undef of memmove to just before and after
30784 including <string.h>.
30786 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
30787 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
30788 and after including <string.h>. Move declarations of
30789 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
30790 to before #include "string/memmove.c".
30792 * include/dirent.h: Declare __getdirentries.
30794 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
30795 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
30797 2012-08-14 Mike Frysinger <vapier@gentoo.org>
30799 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
30800 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
30801 * sysdeps/i386/configure: Regenerated.
30802 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
30803 STABS_CURRENT_FILE, and STABS_FUN.
30804 (END): Remove call to STABS_FUN_END.
30805 (STABS_CURRENT_FILE1): Delete.
30806 (STABS_CURRENT_FILE): Likewise.
30807 (STABS_FUN): Likewise.
30808 (STABS_FUN_END): Likewise.
30809 (STABS_FUN2): Likewise.
30810 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
30811 * sysdeps/x86_64/configure: Regenerated.
30813 2012-08-14 Roland McGrath <roland@hack.frob.com>
30815 * elf/dl-open.c: Include <atomic.h>.
30816 * elf/dl-lookup.c: Likewise.
30818 2012-08-14 Joseph Myers <joseph@codesourcery.com>
30820 * sysdeps/unix/sysv/linux/kernel-features.h
30821 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
30822 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
30824 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
30826 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
30827 condition on __ASSUME_CLONE_THREAD_FLAGS.
30829 2012-08-14 Andreas Jaeger <aj@suse.de>
30831 * sysdeps/i386/fpu/libm-test-ulps: Update.
30833 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
30835 * include/atomic.h (atomic_exchange_and_add): Split into ...
30836 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
30839 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
30841 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30843 2012-08-13 Jeff Law <law@redhat.com>
30845 * manual/stdio.texi (snprintf): Clarify handling of the trailing
30846 null byte in the output string.
30848 2012-08-10 Joseph Myers <joseph@codesourcery.com>
30850 * sysdeps/unix/sysv/linux/kernel-features.h
30851 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
30852 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
30853 (__ASSUME_ARG_MAX_STACK_BASED): Define.
30854 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
30855 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
30856 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
30857 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
30859 2012-08-09 Jeff Law <law@redhat.com>
30862 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
30863 When avoid_arena is set, don't retry in the that arena. Pick the
30864 next one, whatever it might be.
30865 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
30866 (arena_lock): Pass in new parameter to arena_get2.
30867 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
30869 (__libc_malloc): Unify retrying after main arena failure with
30870 __libc_memalign version.
30871 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
30873 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
30876 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
30877 to __redirect_strstr.
30878 (__strstr_sse42): Use typeof __redirect_strstr.
30879 (__strstr_ia32): Likewise.
30880 (__libc_strstr): New prototype.
30881 (strstr): Renamed to ...
30882 (__libc_strstr): This.
30883 (strstr): New strong alias of __libc_strstr.
30884 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
30885 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
30888 (__libc_time): New prototype.
30889 (time_ifunc): Replace time with __libc_time.
30890 (time): New strong alias and hidden definition of __libc_time.
30891 (__GI_time): Remove strong alias.
30892 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
30893 Include <stddef.h>.
30894 (memmove): Redefined to __redirect_memmove.
30895 (__memmove_sse2): Use typeof __redirect_memmove.
30896 (__memmove_ssse3): Likewise.
30897 (__memmove_ssse3_back): Likewise.
30898 (__libc_memmove): New prototype.
30899 (memmove): Renamed to ...
30900 (__libc_memmove): This.
30901 (memmove): New strong alias of __libc_memmove.
30903 2012-08-08 Mark Salter <msalter@redhat.com>
30906 (R_MN10300_TLS_GD): Define.
30907 (R_MN10300_TLS_LD): Likewise.
30908 (R_MN10300_TLS_LDO): Likewise.
30909 (R_MN10300_TLS_GOTIE): Likewise.
30910 (R_MN10300_TLS_IE): Likewise.
30911 (R_MN10300_TLS_LE): Likewise.
30912 (R_MN10300_TLS_DTPMOD): Likewise.
30913 (R_MN10300_TLS_DTPOFF): Likewise.
30914 (R_MN10300_TLS_TPOFF): Likewise.
30915 (R_MN10300_SYM_DIFF): Likewise.
30916 (R_MN10300_ALIGN): Likewise.
30917 (R_MN10300_NUM): Update.
30919 2012-08-08 Joseph Myers <joseph@codesourcery.com>
30921 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
30924 2012-08-08 Roland McGrath <roland@hack.frob.com>
30926 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
30928 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
30929 sysdeps/unix -> sysdeps/posix move.
30930 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
30932 2012-08-07 Allan McRae <allan@archlinux.org>
30935 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
30936 (SUNOS_CPP): Likewise.
30937 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
30939 (open_input): Call CPP using execvp.
30941 2012-08-07 Joseph Myers <joseph@codesourcery.com>
30943 * sysdeps/unix/sysv/linux/kernel-features.h
30944 (__ASSUME_PROT_GROWSUPDOWN): Remove.
30945 (__ASSUME_NO_CLONE_DETACHED): Likewise.
30946 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
30947 (__ASSUME_WAITID_SYSCALL): Likewise.
30948 * sysdeps/unix/sysv/linux/dl-execstack.c
30949 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
30950 code unconditional.
30951 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
30953 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
30954 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
30955 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
30957 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
30959 [__ASSUME_WAITID_SYSCALL]: Likewise.
30960 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
30962 2012-08-07 Roland McGrath <roland@hack.frob.com>
30964 * sysdeps/unix/closedir.c: Renamed to ...
30965 * sysdeps/posix/closedir.c: ... here.
30966 * sysdeps/unix/dirfd.c: Renamed to ...
30967 * sysdeps/posix/dirfd.c: ... here.
30968 * sysdeps/unix/dirstream.h: Renamed to ...
30969 * sysdeps/posix/dirstream.h: ... here.
30970 * sysdeps/unix/fdopendir.c: Renamed to ...
30971 * sysdeps/posix/fdopendir.c: ... here.
30972 * sysdeps/unix/opendir.c: Renamed to ...
30973 * sysdeps/posix/opendir.c: ... here.
30974 * sysdeps/unix/readdir.c: Renamed to ...
30975 * sysdeps/posix/readdir.c: ... here.
30976 * sysdeps/unix/readdir_r.c: Renamed to ...
30977 * sysdeps/posix/readdir_r.c: ... here.
30978 * sysdeps/unix/rewinddir.c: Renamed to ...
30979 * sysdeps/posix/rewinddir.c: ... here.
30980 * sysdeps/unix/seekdir.c: Renamed to ...
30981 * sysdeps/posix/seekdir.c: ... here.
30982 * sysdeps/unix/telldir.c: Renamed to ...
30983 * sysdeps/posix/telldir.c: ... here.
30984 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
30985 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
30986 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
30987 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
30989 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
30990 * bits/fcntl.h: ... here.
30992 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
30994 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
30995 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
30996 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
30997 (struct flock): Move l_start, l_len to the beginning.
30998 Use __pid_t for l_pid.
30999 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
31000 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
31001 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
31002 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
31003 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
31004 [__USE_LARGEFILE64] (struct flock64): New type.
31005 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
31007 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
31008 * bits/dirent.h: ... here.
31010 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
31011 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
31013 2012-08-07 Joseph Myers <joseph@codesourcery.com>
31015 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
31016 Change from 2.6.0 to 2.6.16.
31017 * sysdeps/unix/sysv/linux/configure: Regenerated.
31018 * sysdeps/unix/sysv/linux/kernel-features.h
31019 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
31020 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
31022 (__ASSUME_UTIMES): Likewise.
31023 (__ASSUME_CLONE_STOPPED): Remove.
31024 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
31025 architectures, not kernel version.
31026 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
31027 (__ASSUME_NO_CLONE_DETACHED): Likewise.
31028 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
31029 (__ASSUME_WAITID_SYSCALL): Likewise.
31030 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
31031 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
31032 * README: State 2.6.16 as minimum Linux kernel version. Do not
31033 refer to older versions.
31035 2012-08-06 Roland McGrath <roland@hack.frob.com>
31037 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
31038 Define alphasort64 as an alias.
31039 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
31040 Define versionsort64 as an alias.
31041 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
31042 Define scandir64 as an alias.
31043 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
31044 Define scandirat64 as an alias.
31045 * dirent/alphasort64.c (alphasort64):
31046 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
31047 * dirent/versionsort64.c: Likewise.
31048 * dirent/scandir64.c: Likewise.
31049 * dirent/scandirat64.c: Likewise.
31050 * sysdeps/wordsize-64/alphasort.c: File removed.
31051 * sysdeps/wordsize-64/alphasort64.c: File removed.
31052 * sysdeps/wordsize-64/scandir.c: File removed.
31053 * sysdeps/wordsize-64/scandir64.c: File removed.
31054 * sysdeps/wordsize-64/scandirat.c: File removed.
31055 * sysdeps/wordsize-64/scandirat64.c: File removed.
31056 * sysdeps/wordsize-64/versionsort.c: File removed.
31057 * sysdeps/wordsize-64/versionsort64.c: File removed.
31058 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
31059 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
31060 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
31061 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
31062 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
31063 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
31064 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
31065 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
31067 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
31068 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
31069 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
31070 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31071 [defined __arch64__ || defined __sparcv9]
31072 (__INO_T_MATCHES_INO64_T): New macro.
31073 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
31074 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
31075 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
31076 * sysdeps/unix/sysv/linux/bits/dirent.h
31077 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
31078 (_DIRENT_MATCHES_DIRENT64): New macro.
31080 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
31081 Define lockf64 as an alias.
31082 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
31083 Define fseeko64 as an alias.
31084 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
31085 Define ftello64 as an alias.
31086 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
31087 Define _IO_fgetpos64 and fgetpos64 as aliases.
31088 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
31089 Define _IO_fsetpos64 and fsetpos64 as aliases.
31090 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
31091 Conditionalize body on this.
31092 * libio/fseeko64.c: Likewise.
31093 * libio/ftello64.c: Likewise.
31094 * libio/iofgetpos64.c: Likewise.
31095 * libio/iofsetpos64.c: Likewise.
31096 * sysdeps/wordsize-64/lockf.c: File removed.
31097 * sysdeps/wordsize-64/lockf64.c: File removed.
31098 * sysdeps/wordsize-64/fseeko.c: File removed.
31099 * sysdeps/wordsize-64/fseeko64.c: File removed.
31100 * sysdeps/wordsize-64/ftello.c: File removed.
31101 * sysdeps/wordsize-64/ftello64.c: File removed.
31102 * sysdeps/wordsize-64/iofgetpos.c: File removed.
31103 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
31104 * sysdeps/wordsize-64/iofsetpos.c: File removed.
31105 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
31106 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
31107 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
31108 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
31109 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
31110 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
31111 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
31112 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
31113 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
31114 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
31115 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
31117 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
31118 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
31119 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
31120 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31121 [defined __arch64__ || defined __sparcv9]
31122 (__OFF_T_MATCHES_OFF64_T): New macro.
31123 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
31124 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
31125 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
31126 (__OFF_T_MATCHES_OFF64_T): New macro.
31128 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
31130 * stdlib/secure-getenv.c (__secure_getenv): Replace
31131 GLIBC_2_16 with GLIBC_2_17.
31133 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
31135 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
31136 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
31138 2012-08-03 David S. Miller <davem@davemloft.net>
31140 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31142 2012-08-03 Joseph Myers <joseph@codesourcery.com>
31144 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
31146 (__ASSUME_CORRECT_SI_PID): Likewise.
31147 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
31148 (__ASSUME_TMPFS_NAME): Likewise.
31149 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
31150 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
31151 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
31152 (HAVE_AUX_SECURE): Make definition unconditional.
31153 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
31154 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
31156 2012-08-03 Roland McGrath <roland@hack.frob.com>
31158 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
31159 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
31160 * sysdeps/mach/hurd/eloop-threshold.h: New file.
31161 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
31162 __eloop_threshold instead of SYMLOOP_MAX.
31164 * sysdeps/generic/eloop-threshold.h: New file.
31165 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
31167 * elf/chroot_canon.c (chroot_canon): Likewise.
31169 2012-08-03 Joseph Myers <joseph@codesourcery.com>
31172 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
31173 Change to 2.6.0 everywhere.
31174 * sysdeps/unix/sysv/linux/configure: Regenerated.
31175 * sysdeps/unix/sysv/linux/kernel-features.h
31176 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
31177 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
31179 (__ASSUME_POSIX_TIMERS): Define unconditionally.
31180 (__ASSUME_FUTEX_REQUEUE): Remove.
31181 (__ASSUME_STATFS64): Define unconditionally.
31182 (__ASSUME_AT_SECURE): Likewise.
31183 (__ASSUME_CORRECT_SI_PID): Likewise.
31184 (__ASSUME_TGKILL): Define without depending on kernel version for
31186 (__ASSUME_UTIMES): Likewise.
31187 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
31189 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
31190 (__ASSUME_TMPFS_NAME): Likewise.
31191 * README: Update reference to Linux kernel versions.
31193 2012-08-02 Marek Polacek <polacek@redhat.com>
31196 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
31197 libc_cv_asm_type_prefix with %.
31198 * configure: Regenerated.
31199 * include/libc-symbols.h: Remove comment about
31200 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
31201 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
31202 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
31203 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
31204 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
31205 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
31206 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
31207 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
31208 * elf/tst-unique2mod1.c: Likewise.
31209 * elf/tst-unique1mod2.c: Likewise.
31210 * elf/tst-unique1mod1.c: Likewise.
31211 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
31212 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
31213 Replace ASM_TYPE_DIRECTIVE with .type.
31214 * sysdeps/s390/s390-64/sysdep.h: Likewise.
31215 * sysdeps/i386/sysdep.h: Likewise.
31216 * sysdeps/x86_64/sysdep.h: Likewise.
31217 * sysdeps/sh/sysdep.h: Likewise.
31218 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
31219 Do not define ASM_TYPE_DIRECTIVE.
31220 * sysdeps/powerpc/sysdep.h: Likewise.
31221 * sysdeps/powerpc/powerpc32/sysdep.h:
31222 Replace ASM_TYPE_DIRECTIVE with .type.
31223 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
31224 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
31225 * sysdeps/i386/fpu/e_powf.S: Likewise.
31226 * sysdeps/i386/fpu/e_expl.S: Likewise.
31227 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
31228 * sysdeps/i386/fpu/e_acosh.S: Likewise.
31229 * sysdeps/i386/fpu/e_pow.S: Likewise.
31230 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
31231 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
31232 * sysdeps/i386/fpu/s_expm1.S: Likewise.
31233 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
31234 * sysdeps/i386/fpu/e_log2.S: Likewise.
31235 * sysdeps/i386/fpu/e_log2l.S: Likewise.
31236 * sysdeps/i386/fpu/e_scalb.S: Likewise.
31237 * sysdeps/i386/fpu/e_powl.S: Likewise.
31238 * sysdeps/i386/fpu/e_log10f.S: Likewise.
31239 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
31240 * sysdeps/i386/fpu/e_logl.S: Likewise.
31241 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
31242 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
31243 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
31244 * sysdeps/i386/fpu/e_log2f.S: Likewise.
31245 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
31246 * sysdeps/i386/fpu/e_log.S: Likewise.
31247 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
31248 * sysdeps/i386/fpu/e_logf.S: Likewise.
31249 * sysdeps/i386/fpu/e_log10l.S: Likewise.
31250 * sysdeps/i386/fpu/e_atanh.S: Likewise.
31251 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
31252 * sysdeps/i386/fpu/e_log10.S: Likewise.
31253 * sysdeps/i386/fpu/s_frexp.S: Likewise.
31254 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
31255 * sysdeps/i386/fpu/s_asinh.S: Likewise.
31256 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
31257 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
31258 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
31259 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
31260 * sysdeps/i386/i686/strtok.S: Likewise.
31261 * sysdeps/i386/i386-mcount.S: Likewise.
31262 * sysdeps/i386/strtok.S: Likewise.
31263 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
31264 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
31265 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
31266 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
31267 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
31268 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
31269 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
31270 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
31271 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
31272 * sysdeps/x86_64/_mcount.S: Likewise.
31273 * sysdeps/x86_64/strtok.S: Likewise.
31274 * sysdeps/sh/_mcount.S: Likewise.
31276 2012-08-01 Roland McGrath <roland@hack.frob.com>
31278 * libio/iofopen.c: Include <fcntl.h>.
31279 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
31280 (_IO_fopen64, fopen64): Define as aliases.
31281 * libio/iofopen64.c: Include <fcntl.h>.
31282 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
31283 Conditionalize body on this.
31284 * sysdeps/wordsize-64/iofopen.c: File removed.
31285 * sysdeps/wordsize-64/iofopen64.c: File removed.
31287 2012-08-01 Marek Polacek <polacek@redhat.com>
31289 * libc/Makeconfig: Use elf in place of binfmt-subdir.
31290 Use dlfcn directly instead of a variable.
31291 (binfmt-subdir): Do not define.
31294 2012-08-01 Joseph Myers <joseph@codesourcery.com>
31296 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
31297 Remove all definitions.
31298 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
31299 <kernel-features.h>.
31300 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
31301 (miss_F_GETOWN_EX): Remove all definitions.
31302 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
31304 [!__ASSUME_FCNTL64]: Remove conditional code.
31305 [__ASSUME_FCNTL64]: Make code unconditional.
31306 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
31307 <kernel-features.h>.
31308 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
31309 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
31310 (lockf64) [__NR_fcntl64]: Make code unconditional.
31311 (lockf64) [__ASSUME_FCNTL64]: Likewise.
31313 * sysdeps/unix/sysv/linux/kernel-features.h
31314 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
31315 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
31316 Make code unconditional.
31317 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
31318 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
31319 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
31320 [__NR_vfork]: Make code unconditional.
31321 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
31322 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
31323 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
31324 [__NR_vfork]: Make code unconditional.
31325 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
31326 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
31328 2012-08-01 Roland McGrath <roland@hack.frob.com>
31330 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
31331 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
31333 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
31334 Define mkstemp64 as an alias.
31335 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
31336 Define mkstemps64 as an alias.
31337 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
31338 Define mkostemp64 as an alias.
31339 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
31340 Define mkostemps64 as an alias.
31341 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
31342 Conditionalize body on this.
31343 * misc/mkostemp64.c: Likewise.
31344 * misc/mkostemps64.c: Likewise.
31345 * misc/mkstemps64.c: Likewise.
31346 * sysdeps/wordsize-64/mkstemp64.c: File removed.
31347 * sysdeps/wordsize-64/mkostemp64.c: File removed.
31348 * sysdeps/wordsize-64/mkostemp.c: File removed.
31349 * sysdeps/wordsize-64/mkstemp.c: File removed.
31350 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
31351 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
31352 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
31353 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
31356 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
31357 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
31358 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
31359 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
31361 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
31362 compat_symbol macros from <shlib-compat.h> rather than the underlying
31363 default_symbol_version and symbol_version macros, so that DEFAULT
31364 lines in shlib-versions are respected.
31365 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
31367 2012-08-01 Florian Weimer <fweimer@redhat.com>
31369 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
31370 Declare with warn_unused_result.
31371 (setgid, setregid, setegid, setresgid): Likewise.
31372 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
31374 * WUR-REPORT: Remove set*id functions.
31376 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
31378 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
31380 2012-07-31 Roland McGrath <roland@hack.frob.com>
31383 * include/sys/socket.h (__libc_accept, __libc_accept4):
31384 Add attribute_hidden.
31385 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
31387 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
31389 * inet/getnetgrent_r.c (setup): Likewise.
31391 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
31393 2012-07-31 David S. Miller <davem@davemloft.net>
31395 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31397 2012-07-31 Joseph Myers <joseph@codesourcery.com>
31400 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
31401 value between 1.0 and 2.0 and smaller part has absolute value less
31403 * math/s_clog10.c (__clog10): Likewise.
31404 * math/s_clog10f.c (__clog10f): Likewise.
31405 * math/s_clog10l.c (__clog10l): Likewise.
31406 * math/s_clogf.c (__clogf): Likewise.
31407 * math/s_clogl.c (__clogl): Likewise.
31408 * math/libm-test.inc (clog_test): Add more tests.
31409 (clog10_test): Likewise.
31410 * sysdeps/i386/fpu/libm-test-ulps: Update.
31411 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31413 2012-07-31 Florian Weimer <fweimer@redhat.com>
31415 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
31416 Exit with zero in case no suitable GID is found, and write a
31417 message to standard error.
31419 2012-07-30 Roland McGrath <roland@hack.frob.com>
31421 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
31423 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
31424 (MAXPATHLEN): Removed.
31425 (NOGROUP, NODEV): New macros.
31426 (setbit, clrbit, isset, isclr): New macros.
31427 (howmany, roundup, powerof2): New macros.
31428 (DEV_BSIZE): New macro.
31430 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
31431 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
31433 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
31434 definition on [!__NO_LONG_DOUBLE_MATH].
31436 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
31437 PTR_MANGLE and PTR_DEMANGLE.
31439 * socket/accept4.c (accept4): Rename to __libc_accept4.
31440 Define accept4 as a weak alias.
31442 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
31443 on [_DIRENT_HAVE_D_TYPE].
31444 * io/ftw.c (ftw_dir): Likewise.
31446 * io/xmknod.c (__xmknod): Don't check PATH for being null.
31448 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
31450 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
31451 Use the BSD numbers rather than the arbitrary ones we had.
31452 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
31453 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
31454 (SIGXCPU, SIGXFSZ): New macros.
31457 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
31458 initializer on [_LIBC_REENTRANT].
31460 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
31461 definitions inside [_POSIX_MAPPED_FILES].
31463 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
31465 * dirent/opendir.c: Include <fcntl.h>.
31467 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
31468 (__libc_getspecific): Likewise.
31469 (__libc_key_create): Likewise.
31471 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
31472 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
31473 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
31474 (tmpfile64): Define as alias.
31475 * sysdeps/wordsize-64/tmpfile.c: File removed.
31476 * sysdeps/wordsize-64/tmpfile64.c: File removed.
31477 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
31478 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
31480 * stdio-common/vfscanf.c: Include <stdbool.h>.
31481 * nss/makedb.c: Likewise.
31482 * stdio-common/_i18n_number.h: Likewise.
31483 * argp/argp-help.c: Likewise.
31484 * posix/wordexp.c: Likewise.
31485 * sysdeps/posix/spawni.c: Likewise.
31486 * nss/nss_files/files-initgroups.c: Likewise.
31487 * stdio-common/reg-modifier.c: Include <stdlib.h>.
31488 * nss/nss_files/files-initgroups.c: Likewise.
31489 * nss/nss_db/db-netgrp.c: Likewise.
31490 * nss/nss_db/db-initgroups.c: Likewise.
31491 * io/fchmodat.c: Include <sys/stat.h>.
31493 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
31494 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
31496 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
31499 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
31500 Add multiple inclusion protection.
31502 2012-07-27 David S. Miller <davem@davemloft.net>
31504 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31506 2012-07-27 Gary Benson <gbenson@redhat.com>
31509 * elf/rtld.c: Include <stap-probe.h>.
31510 (dl_main): Added static probes "init_start" and "init_complete".
31511 * elf/dl-load.c: Include <stap-probe.h>.
31512 (lose): Take new parameter "nsid".
31513 Added static probe "map_failed".
31514 (_dl_map_object_from_fd): Pass namespace id to lose.
31515 Added static probe "map_start".
31516 (open_verify): Pass namespace id to lose.
31517 * elf/dl-open.c: Include <stap-probe.h>.
31518 (dl_open_worker) Added static probes "map_complete", "reloc_start"
31519 and "reloc_complete".
31520 * elf/dl-close.c: Include <stap-probe.h>.
31521 (_dl_close_worker): Added static probes "unmap_start" and
31523 * elf/rtld-debugger-interface.txt: New file documenting the above.
31525 2012-07-26 Roland McGrath <roland@hack.frob.com>
31527 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
31528 rather than a string variable.
31529 * sunrpc/rpc_main.c (h_output): Likewise.
31530 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
31532 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
31534 * inet/check_native.c: New file.
31536 2012-07-26 Joseph Myers <joseph@codesourcery.com>
31539 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
31540 if larger part has absolute value 1.0.
31541 * math/s_clog10.c (__clog10): Likewise.
31542 * math/s_clog10f.c (__clog10f): Likewise.
31543 * math/s_clog10l.c (__clog10l): Likewise.
31544 * math/s_clogf.c (__clogf): Likewise.
31545 * math/s_clogl.c (__clogl): Likewise.
31546 * math/libm-test.inc (clog_test): Add more tests.
31547 (clog10_test): Likewise.
31548 * sysdeps/i386/fpu/libm-test-ulps: Update.
31549 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31551 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
31552 (pltexit): Likewise.
31553 (La_regs): Likewise.
31554 (La_retval): Likewise.
31555 (int_retval): Likewise.
31556 Update #error for removed macros to refer only to definitions in
31558 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
31560 (pltexit): Likewise.
31561 (La_regs): Likewise.
31562 (La_retval): Likewise.
31563 (int_retval): Likewise.
31564 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
31566 (pltexit): Likewise.
31567 (La_regs): Likewise.
31568 (La_retval): Likewise.
31569 (int_retval): Likewise.
31570 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
31572 (pltexit): Likewise.
31573 (La_regs): Likewise.
31574 (La_retval): Likewise.
31575 (int_retval): Likewise.
31576 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
31578 (pltexit): Likewise.
31579 (La_regs): Likewise.
31580 (La_retval): Likewise.
31581 (int_retval): Likewise.
31582 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
31584 (pltexit): Likewise.
31585 (La_regs): Likewise.
31586 (La_retval): Likewise.
31587 (int_retval): Likewise.
31588 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
31590 (pltexit): Likewise.
31591 (La_regs): Likewise.
31592 (La_retval): Likewise.
31593 (int_retval): Likewise.
31594 * sysdeps/generic/tst-audit.h: Update comment to refer only to
31595 macro definitions in tst-audit.h.
31596 * sysdeps/i386/tst-audit.h: New file.
31597 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
31598 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
31599 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
31600 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
31601 * sysdeps/sh/tst-audit.h: Likewise.
31602 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
31603 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
31604 * sysdeps/x86_64/tst-audit.h: Likewise.
31606 2012-07-26 Andreas Jaeger <aj@suse.de>
31608 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
31611 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
31612 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
31613 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
31615 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
31616 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
31617 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
31619 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
31622 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
31624 (si_call_addr, si_syscall, si_arch): Define new macro.
31625 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
31627 (si_call_addr, si_syscall, si_arch): Define new marcro.
31628 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
31630 (si_call_addr, si_syscall, si_arch): Define new macro.
31631 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
31633 (si_call_addr, si_syscall, si_arch): Define new macro.
31635 2012-07-25 Joseph Myers <joseph@codesourcery.com>
31638 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
31639 Change to 2.4.21 where previously 2.4.1.
31640 * sysdeps/unix/sysv/linux/configure: Regenerated.
31641 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
31642 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
31643 Linux kernel version.
31644 (__ASSUME_STD_AUXV): Remove.
31645 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
31647 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
31648 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
31649 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
31650 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
31651 (__ASSUME_NETLINK_SUPPORT): Likewise.
31652 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
31653 (__no_netlink_support): Remove conditional definition.
31654 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
31656 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
31657 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
31658 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
31659 (if_nameindex_ioctl): Remove.
31660 (if_nameindex_netlink): Do not handle __no_netlink_support.
31661 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
31663 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
31664 Remove conditional code.
31665 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
31667 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
31669 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
31670 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
31671 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
31673 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
31674 [!__ASSUME_STD_AUXV]: Remove conditional code.
31675 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
31676 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
31677 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
31678 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
31679 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
31680 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
31682 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
31683 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
31684 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
31685 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
31687 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
31688 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
31689 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
31691 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
31692 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
31694 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
31695 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
31696 code unconditional.
31697 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31699 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
31701 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31703 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
31704 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
31706 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31708 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
31709 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
31710 code unconditional.
31711 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31713 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
31715 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31717 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
31718 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
31719 code unconditional.
31720 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31722 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
31724 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31727 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
31729 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
31730 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
31731 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
31732 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
31733 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
31734 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
31735 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
31736 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
31737 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
31738 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
31739 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
31740 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
31741 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
31742 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
31743 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
31744 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
31745 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
31746 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
31747 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
31748 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
31749 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
31750 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
31751 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
31753 2012-07-25 Florian Weimer <fweimer@redhat.com>
31755 * Versions.def: Add GLIBC_2.17.
31756 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
31757 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
31758 Introduce __libc_secure_getenv.
31759 * stdlib/Versions (2.17): Add secure_getenv
31760 (GLIBC_PRIVATE): Add __libc_secure_getenv.
31761 * stdlib/secure-getenv.c: Rename __secure_getenv to
31762 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
31763 symbol __secure_getenv for GLIBC_2.0.
31764 * stdlib/tst-secure-getenv.c: New.
31765 * stdlib/Makefile (tests): Add testcase.
31766 * manual/startup.texi (Environment Access): Document
31768 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
31769 __libc_secure_getenv.
31770 * inet/ruserpass.c (ruserpass): Likewise.
31771 * malloc/mtrace.c (mtrace): Likewise.
31772 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
31773 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
31774 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
31775 * sysdeps/posix/tempname.c: Likewise. Evaluate
31776 HAVE_SECURE_GETENV.
31777 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
31778 __secure_getenv to __libc_secure_getenv.
31779 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
31780 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31782 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
31784 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
31785 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
31786 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
31787 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
31788 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
31789 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
31790 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
31792 2012-07-25 Joseph Myers <joseph@codesourcery.com>
31794 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
31795 (struct La_i86_retval): Likewise.
31796 (struct La_x86_64_regs): Likewise.
31797 (struct La_x86_64_retval): Likewise.
31798 (struct La_x32_regs): Likewise.
31799 (struct La_x32_retval): Likewise.
31800 (struct La_ppc32_regs): Likewise.
31801 (struct La_ppc32_retval): Likewise.
31802 (struct La_ppc64_regs): Likewise.
31803 (struct La_ppc64_retval): Likewise.
31804 (struct La_sh_regs): Likewise.
31805 (struct La_sh_retval): Likewise.
31806 (struct La_s390_32_regs): Likewise.
31807 (struct La_s390_32_retval): Likewise.
31808 (struct La_s390_64_regs): Likewise.
31809 (struct La_s390_64_retval): Likewise.
31810 (struct La_sparc32_regs): Likewise.
31811 (struct La_sparc32_retval): Likewise.
31812 (struct La_sparc64_regs): Likewise.
31813 (struct La_sparc64_retval): Likewise.
31814 (struct audit_ifaces): Remove architecture-specific pltenter and
31816 * sysdeps/i386/ldsodefs.h: New file.
31817 * sysdeps/powerpc/ldsodefs.h: Likewise.
31818 * sysdeps/s390/ldsodefs.h: Likewise.
31819 * sysdeps/sh/ldsodefs.h: Likewise.
31820 * sysdeps/sparc/ldsodefs.h: Likewise.
31821 * sysdeps/x86_64/ldsodefs.h: Likewise.
31823 2012-07-25 Marek Polacek <polacek@redhat.com>
31826 * math/libm-test.inc (yn_test): Add another test.
31827 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
31828 to ERANGE when the result is +-Inf.
31829 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
31830 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
31831 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
31832 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
31834 2012-07-24 Joseph Myers <joseph@codesourcery.com>
31836 * conform/data/time.h-data (NULL): Use macro-constant. Require
31838 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
31840 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
31842 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
31844 * configure.in <sysdeps resolving>: Correct printing
31846 * configure: Regenerate.
31848 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
31850 * math/w_ilogb.c: Include <limits.h>.
31851 * math/w_ilogbl.c: Likewise.
31853 2012-07-20 Joseph Myers <joseph@codesourcery.com>
31855 * manual/lang.texi (__va_copy): Document primarily as ISO C99
31856 va_copy. Document allowing for unavailable va_copy only as
31857 pre-C99 compatibility.
31858 * manual/string.texi (Copying and Concatenation): Use va_copy
31859 instead of __va_copy in concat example.
31861 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
31863 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
31864 (__sendto): Use create_address_port. Initialize APORT and deallocate
31867 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
31868 with O_NOLINK passed to __file_name_lookup.
31870 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
31871 with O_NOLINK passed to __file_name_lookup.
31873 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
31874 negative N or less than NGIDS.
31876 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
31877 type to string_t. Set ERANGE as errno and return it if NAME is not big
31878 enough. Use memcpy instead of strncpy.
31880 2012-07-20 Joseph Myers <joseph@codesourcery.com>
31882 * elf/Makefile (check-data): Remove.
31883 (localplt.data): New vpath directive.
31884 ($(objpfx)check-localplt.out): Use localplt.data from vpath
31885 instead of $(check-data).
31886 * scripts/data/localplt-generic.data: Move to ...
31887 * sysdeps/generic/localplt.data: ... here.
31888 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
31889 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
31890 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
31891 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
31893 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
31894 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
31896 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
31897 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
31899 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
31900 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
31902 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
31903 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
31905 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
31906 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
31909 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31911 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
31912 PPC32 and PPC64 files.
31913 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
31914 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
31916 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31918 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
31919 __makecontext_ret to ...
31920 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
31921 ... here and call exit if uc_link is NULL. New file.
31922 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
31923 __makecontext_ret.S.
31924 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
31925 __makecontext_ret to ...
31926 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
31927 ... here and call exit if uc_link is NULL. New file.
31928 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
31929 __makecontext_ret.S.
31931 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31933 * elf/elf.h (R_390_IRELATIVE): New definition.
31934 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
31935 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
31936 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
31937 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
31938 (elf_machine_lazy_rel): Likewise.
31939 * sysdeps/s390/dl-irel.h: New file.
31940 * sysdeps/s390/s390-64/memcpy.S: New asm code.
31941 * sysdeps/s390/s390-64/memset.S: New asm code.
31942 * sysdeps/s390/s390-64/memcmp.S: New asm code.
31943 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
31944 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
31945 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
31946 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
31947 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
31948 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
31949 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
31950 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
31951 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
31952 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
31953 * sysdeps/s390/s390-32/memcpy.S: New asm code.
31954 * sysdeps/s390/s390-32/memset.S: New asm code.
31955 * sysdeps/s390/s390-32/memcmp.S: New asm code.
31957 2012-07-17 Marek Polacek <polacek@redhat.com>
31960 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
31961 * sysdeps/s390/s390-64/configure.in: Likewise.
31962 * sysdeps/sparc/configure.in: Likewise.
31963 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
31964 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
31965 * sysdeps/i386/configure.in: Likewise.
31966 * sysdeps/x86_64/configure.in: Likewise.
31967 * sysdeps/sh/configure.in: Likewise.
31968 * sysdeps/s390/s390-32/configure: Regenerated.
31969 * sysdeps/s390/s390-64/configure: Likewise.
31970 * sysdeps/x86_64/configure: Likewise.
31971 * sysdeps/sh/configure: Likewise.
31972 * sysdeps/powerpc/powerpc64/configure: Likewise.
31973 * sysdeps/powerpc/powerpc32/configure: Likewise.
31974 * sysdeps/sparc/configure: Likwise.
31975 * sysdeps/i386/configure: Likewise.
31977 * elf/dl-open.c: Comment fixes.
31979 2012-07-17 Joseph Myers <joseph@codesourcery.com>
31981 * Makefile [CXX] (check-data): Remove.
31982 [CXX] (c++-types.data): New vpath directive.
31983 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
31984 vpath. Do not allow for C++ type data being missing.
31985 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
31986 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
31987 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
31988 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
31989 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
31990 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
31991 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
31992 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
31994 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
31995 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
31997 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
31998 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
32000 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
32001 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
32003 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
32004 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
32006 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
32007 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
32009 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
32010 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
32012 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
32013 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
32015 * elf/tls-macros.h (TLS_LE): Move architecture-specific
32016 definitions to architecture-specific files.
32017 (TLS_IE): Likewise.
32018 (TLS_LD): Likewise.
32019 (TLS_GD): Likewise.
32020 * sysdeps/i386/tls-macros.h: New file.
32021 * sysdeps/powerpc/tls-macros.h: Likewise.
32022 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
32023 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
32024 * sysdeps/sh/tls-macros.h: Likewise.
32025 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
32026 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
32027 * sysdeps/x86_64/tls-macros.h: Likewise.
32029 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
32031 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
32032 zero value for regular exit case.
32034 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
32035 (__start_context): Preserve zero value for regular exit case.
32037 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
32038 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32040 * manual/setjmp.texi (setcontext): Clarify normal process
32041 termination when uc_link is the null pointer.
32042 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
32045 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
32047 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
32048 preprocessor. Test for each exception mask separately.
32050 2012-07-16 Andreas Jaeger <aj@suse.de>
32052 * po/ru.po: Update from translation team.
32054 2012-07-15 Joseph Myers <joseph@codesourcery.com>
32056 * conform/data/string.h-data (NULL): Use macro-constant. Require
32058 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
32059 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
32060 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
32061 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
32062 [ISO || ISO99 || ISO11] (*_t): Do not allow.
32064 2012-07-13 Andreas Jaeger <aj@suse.de>
32066 * po/fr.po: Update from translation team.
32068 2012-07-12 Marek Polacek <polacek@redhat.com>
32071 * math/libm-test.inc (yn_test): Add test for BZ #14173.
32072 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
32075 2012-07-12 Joseph Myers <joseph@codesourcery.com>
32078 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
32079 Change to 2.4.1 where previously 2.4.0.
32080 * sysdeps/unix/sysv/linux/configure: Regenerated.
32081 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
32082 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
32084 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
32085 (__ASSUME_AT_CLKTCK): Remove.
32086 (__ASSUME_AT_PAGESIZE): Likewise.
32087 (__ASSUME_AT_XID): Likewise.
32088 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
32089 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
32090 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
32092 (HAVE_AUX_PAGESIZE): Likewise.
32093 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
32094 [__ASSUME_AT_CLKTCK]: Make code unconditional.
32095 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
32097 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
32100 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
32101 the temporary buffer used to invoke __gethostbyname2_r,
32102 __gethostbyaddr_r and gethostbyname4_r to make room for struct
32103 host_data / struct gaih_addrtuple.
32104 * resolv/nss_dns/dns-host.c (global scope): Move definition of
32105 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
32106 header file nss/nsswitch.h.
32107 * nss/nsswitch.h (global scope): Add definition of implementation
32108 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
32109 resolv/nss_dns/dns-host.c).
32111 2012-07-11 Andreas Jaeger <aj@suse.de>
32113 * po/fr.po: Update from translation team.
32115 * po/sv.po: Update from translation team
32116 * po/fr.po: Another update from translation team.
32118 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32120 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
32121 for subnormals or multiply small sinh result by itself.
32122 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
32123 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32125 2012-07-11 David S. Miller <davem@davemloft.net>
32127 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32129 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
32132 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
32133 (INTERNAL_MARK): Shift it here.
32135 2012-07-10 Marek Polacek <polacek@redhat.com>
32138 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
32139 libc_cv_asm_global_directive with .globl.
32140 * configure: Regenerated.
32141 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
32143 * sysdeps/i386/configure: Regenerated.
32144 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
32146 * sysdeps/x86_64/configure: Regenerated.
32147 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
32148 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
32149 * elf/tst-unique2mod2.c: Likewise.
32150 * elf/tst-unique2mod1.c: Likewise.
32151 * elf/tst-unique1mod2.c: Likewise.
32152 * elf/tst-unique1mod1.c: Likewise.
32153 * sysdeps/s390/s390-32/sysdep.h: Likewise.
32154 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
32155 * sysdeps/s390/s390-64/sysdep.h: Likewise.
32156 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
32157 * sysdeps/mach/sysdep.h: Likewise.
32158 * sysdeps/i386/sysdep.h: Likewise.
32159 * sysdeps/i386/i386-mcount.S: Likewise.
32160 * sysdeps/x86_64/_mcount.S: Likewise.
32161 * sysdeps/x86_64/sysdep.h: Likewise.
32162 * sysdeps/sh/_mcount.S: Likewise.
32163 * sysdeps/sh/sysdep.h: Likewise.
32164 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
32165 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
32166 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
32167 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
32168 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
32169 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
32170 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
32171 * locale/localeinfo.h: Likewise.
32172 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
32173 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
32175 2012-07-09 Roland McGrath <roland@hack.frob.com>
32178 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
32180 * manual/message.texi (The Uniforum approach): Likewise.
32181 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
32182 (glibc iconv Implementation): Likewise.
32184 2012-07-09 Joseph Myers <joseph@codesourcery.com>
32187 * math/s_clog.c (__clog): Avoid scaling a value down where that
32188 could result in underflow.
32189 * math/s_clog10.c (__clog10): Likewise.
32190 * math/s_clog10f.c (__clog10f): Likewise.
32191 * math/s_clog10l.c (__clog10l): Likewise.
32192 * math/s_clogf.c (__clogf): Likewise.
32193 * math/s_clogl.c (__clogl): Likewise.
32194 * math/libm-test.inc (clog_test): Add more tests.
32195 (clog10_test): Likewise.
32196 * sysdeps/i386/fpu/libm-test-ulps: Update.
32197 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32199 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
32202 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
32203 by 7 not 8 to examine high bit of fractional part.
32206 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
32207 for call to __mcount_internal.
32208 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
32209 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
32210 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
32212 2012-07-06 Joseph Myers <joseph@codesourcery.com>
32215 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
32216 approximation for values within 0x1p-13f of an odd multiple of
32218 * math/libm-test.inc (tan_test): Do not allow spurious underflow
32219 exception. Add more tests.
32220 * sysdeps/i386/fpu/libm-test-ulps: Update.
32223 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
32224 inputs and return -1 for them. Do not check for +Inf in case not
32225 reachable for +Inf.
32226 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
32227 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
32228 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
32229 and return -1 for them. Do not check for +Inf in case not
32230 reachable for +Inf.
32231 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
32233 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
32234 and return -1 for them. Do not check for +Inf in case not
32235 reachable for +Inf.
32236 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
32237 spurious underflow.
32238 * sysdeps/i386/fpu/libm-test-ulps: Update.
32239 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32241 2012-07-06 Mike Frysinger <vapier@gentoo.org>
32243 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
32245 2012-07-05 Joseph Myers <joseph@codesourcery.com>
32249 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
32250 could result in spurious underflow. Scale down values above
32251 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
32252 * math/s_csqrtf.c (__csqrtf): Likewise.
32253 * math/s_csqrtl.c (__csqrtl): Likewise.
32254 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
32255 spurious underflow.
32256 * sysdeps/i386/fpu/libm-test-ulps: Update.
32257 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32259 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
32261 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
32263 * catgets/xopen-msg.awk: New file.
32264 * catgets/xopen-msg.sed: Removed.
32266 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
32268 * intl/po2test.awk: New file.
32269 * intl/po2test.sed: Removed.
32271 2012-07-04 Joseph Myers <joseph@codesourcery.com>
32274 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
32275 or multiply small sinh result by itself.
32276 * math/s_ctanf.c (__ctanf): Likewise.
32277 * math/s_ctanh.c (__ctanh): Likewise.
32278 * math/s_ctanhf.c (__ctanhf): Likewise.
32279 * math/s_ctanhl.c (__ctanhl): Likewise.
32280 * math/s_ctanl.c (__ctanl): Likewise.
32281 * math/libm-test.inc (ctan_test_tonearest): New function.
32282 (ctan_test_towardzero): Likewise.
32283 (ctan_test_downward): Likewise.
32284 (ctan_test_upward): Likewise.
32285 (ctanh_test_tonearest): Likewise.
32286 (ctanh_test_towardzero): Likewise.
32287 (ctanh_test_downward): Likewise.
32288 (ctanh_test_upward): Likewise.
32289 (main): Call these new functions.
32290 * sysdeps/i386/fpu/libm-test-ulps: Update.
32291 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32293 2012-07-03 Mike Frysinger <vapier@gentoo.org>
32295 * .gitignore: Delete /ports entry.
32297 2012-07-03 Andreas Jaeger <aj@suse.de>
32299 * po/bg.po: Update from translation team.
32300 * po/cs.po: Likewise.
32301 * po/de.po: Likewise.
32302 * po/hr.po: Likewise.
32303 * po/nl.pl: Likewise.
32304 * po/pl.po: Likewise.
32305 * po/vi.po: Likewise.
32307 2012-07-03 Joseph Myers <joseph@codesourcery.com>
32309 * Makeconfig [!+link] (+link-before-libc): New variable.
32310 [!+link] (+link-after-libc): Likewise.
32311 [!+link] (+link-tests): Likewise.
32312 [!+link] (+link): Define in terms of $(+link-before-libc) and
32313 $(+link-after-libc).
32314 [!+link-static] (+link-static-before-libc): New variable.
32315 [!+link-static] (+link-static-after-libc): Likewise.
32316 [!+link-static] (+link-static-tests): Likewise.
32317 [!+link-static] (+link-static): Define in terms of
32318 $(+link-static-before-libc) and $(+link-static-after-libc).
32319 [build-shared] (link-libc-before-gnulib): New variable.
32320 [build-shared] (link-libc-tests): Likewise.
32321 [build-shared] (link-libc): Define in terms of
32322 $(link-libc-before-gnulib).
32323 [!build-shared] (link-libc-tests): New variable.
32324 (link-libc-static-tests): New variable.
32325 [!gnulib] (gnulib-arch): New variable.
32326 [!gnulib] (gnulib-tests): Likewise.
32327 [!gnulib] (static-gnulib-arch): Likewise.
32328 [!gnulib] (static-gnulib-tests): Likewise.
32329 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
32330 Define with "=" instead of ":=".
32331 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
32332 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
32333 * Rules (binaries-all-notests): New variable.
32334 (binaries-all-tests): Likewise.
32335 (binaries-static-notests): Likewise.
32336 (binaries-static-tests): Likewise.
32337 (binaries-all): Define using $(binaries-all-notests) and
32338 $(binaries-all-tests).
32339 (binaries-static): Define using $(binaries-static-notests) and
32340 $(binaries-static-tests).
32341 (binaries-shared-tests): New variable.
32342 (binaries-shared-notests): Likewise.
32343 (binaries-shared): Remove variable.
32344 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
32345 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
32346 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
32347 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
32348 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
32349 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
32350 * elf/Makefile (sln-modules): New variable.
32351 (extra-objs): Add $(sln-modules:=.o).
32352 (ldconfig-modules): Add static-stubs.
32353 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
32354 * elf/static-stubs.c: New file.
32357 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
32358 by 7 not 8 to examine high bit of fractional part. Use volatile
32359 variables when splitting into final array of floats if
32360 __FLT_EVAL_METHOD__ != 0.
32361 * math/libm-test.inc (cos_test): Add another test.
32362 (sin_test): Likewise.
32363 * sysdeps/i386/fpu/libm-test-ulps: Update.
32366 * math/libm-test.inc (cosh_test): Add more tests.
32368 * version.h (RELEASE): Set to "development".
32369 (VERSION): Set to "2.16.90".
32371 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
32373 * NEWS: Update copyright. Remove last-updated date.
32374 Mention math library bug fixes and timezone data changes.
32375 * README: Mention GNU/Hurd, x32, and HPPA support status.
32377 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
32379 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
32381 2012-06-27 Andreas Jaeger <aj@suse.de>
32383 * manual/contrib.texi (Contributors): Add Samuel Thibault.
32385 2012-06-25 Andreas Jaeger <aj@suse.de>
32387 * sysdeps/s390/fpu/libm-test-ulps: Update.
32389 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
32390 Thomas Schwinge <thomas@codesourcery.com>
32392 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
32393 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
32394 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
32397 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
32399 * sysdeps/mach/start.c: Remove file.
32400 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
32401 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
32402 * sysdeps/sh/init-first.c: Likewise.
32404 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
32405 registers for frame unwinding purposes, add CFI directives.
32406 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
32407 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
32408 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
32411 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
32412 __fortify_fail returning.
32413 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
32415 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
32416 sysdeps/sh/____longjmp_chk.S.
32417 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
32418 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
32419 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
32420 (gen-as-const-headers): Append sigaltstack-offsets.sym.
32422 * sysdeps/sh/abort-instr.h: New file.
32423 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
32424 process in case exit returns.
32426 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
32427 initialize the GOT register before use.
32429 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
32430 calculation of ARGC > 4.
32432 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
32433 meaningful names to some local labels.
32435 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
32436 Kaz Kojima <kkojima@rr.iij4u.or.jp>
32438 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
32439 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
32440 (__arch_compare_and_exchange_val_16_acq): Likewise.
32441 (__arch_compare_and_exchange_val_32_acq): Likewise.
32442 (atomic_exchange_and_add): Fix gUSA sequence.
32443 (atomic_add): Likewise.
32444 (atomic_add_negative): Likewise.
32445 (atomic_add_zero): Likewise.
32446 (atomic_bit_test_set): Likewise.
32448 2012-06-22 Andreas Schwab <schwab@redhat.com>
32451 * include/link.h (struct link_map): Add l_free_initfini.
32452 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
32454 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
32455 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
32456 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
32459 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
32461 * configure.in: Use AC_LANG_SOURCE.
32462 * configure: Regenerate.
32464 2012-06-22 Roland McGrath <roland@hack.frob.com>
32466 * configure.in (libc_cv_localstatedir): New substituted variable.
32467 * configure: Regenerated.
32468 * config.make.in (localstatedir): New variable, substituted from
32469 libc_cv_localstatedir.
32470 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
32471 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
32472 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
32473 * sysdeps/gnu/configure: Regenerated.
32475 2012-06-21 Jeff Law <law@redhat.com>
32478 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
32479 free. Simplify list management for _LIBC case.
32481 2012-06-21 Joseph Myers <joseph@codesourcery.com>
32484 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
32485 Clear sign bit of 64-bit integer value before comparing against
32488 * sysdeps/mach/configure: Regenerated.
32490 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
32493 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
32495 2012-06-21 Jeff Law <law@redhat.com>
32498 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
32499 uint16_t for elements in the "seen" array to avoid char overflows.
32500 * elf/dl-fini.c (_dl_sort_fini): Likewise.
32501 * elf/dl-open.c (dl_open_worker): Likewise.
32503 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
32505 * scripts/list-sources.sh: Scan PORTS for translations.
32506 * po/libc.pot: Regenerated.
32508 2012-06-21 Andreas Jaeger <aj@suse.de>
32511 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
32513 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
32514 * bits/byteswap-16.h (__bswap_16): Likewise.
32515 * bits/byteswap.h (__bswap_constant_16): Likewise.
32517 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
32520 * sysdeps/i386/fpu_control.h: Removed.
32521 * sysdeps/x86_64/fpu_control.h: Moved to ...
32522 * sysdeps/x86/fpu_control.h: Here.
32524 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
32525 (_FPU_SETCW): Likewise.
32527 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
32530 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
32531 * sysdeps/x86/fpu/bits/mathinline.h: This.
32532 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
32536 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
32537 functions if __x86_64__ is defined.
32539 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
32541 * string/endian.h: Add !__ASSEMBLER__ condition for including
32542 conversion interfaces.
32544 2012-06-15 Joseph Myers <joseph@codesourcery.com>
32547 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
32548 of ABS(x) in calculating zero to negative powers other than odd
32550 * math/libm-test.inc (pow_test): Add more tests.
32552 2012-06-15 Andreas Jaeger <aj@suse.de>
32554 * manual/contrib.texi (Contributors): Update entry of Liubov
32555 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
32558 2012-06-15 Cyril Hrubis <metan@ucw.cz>
32560 * string/string.h: Add __wur to GNU version of strerror_r.
32562 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
32565 * string/Makefile (tests): Add tst-strtok_r.
32566 * string/tst-strtok_r.c: New file.
32567 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
32568 RAX_LP/RDX_LP on SAVE_PTR.
32570 2012-06-14 Roland McGrath <roland@hack.frob.com>
32572 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
32574 2012-06-14 Joseph Myers <joseph@codesourcery.com>
32576 * libm_test.inc (csqrt_test): Allow more spurious underflow
32578 (j0_test): Likewise.
32579 (j1_test): Likewise.
32580 (y0_test): Likewise.
32581 (y1_test): Likewise.
32583 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
32585 * po/Makefile (libc.pot): Use UTF-8 charset.
32587 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
32590 Suppress sign-conversion warning from FD_SET.
32591 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
32592 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
32593 not unsigned long int.
32594 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
32596 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
32600 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
32601 __extern_always_inline instead of __extern_inline.
32602 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
32603 (__signbit): Likewise.
32604 (__signbitl): Support C++ namespace.
32605 (lrintf): New inline function.
32607 (llrintf): Likewise.
32608 (llrint): Likewise.
32618 (floorf): Likewise.
32619 (nearbyint): Likewise.
32620 (nearbyintf): Likewise.
32622 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
32624 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
32625 non-default versions.
32627 2012-06-11 Roland McGrath <roland@hack.frob.com>
32630 * manual/argp.texi (Argp): Reword argp_parse description slightly.
32632 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
32634 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
32635 (FE_UPWARD, FE_DOWNWARD): Don't define.
32636 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
32637 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
32639 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
32641 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
32642 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
32644 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
32646 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
32647 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
32648 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
32649 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
32651 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
32654 * sysdeps/i386/fpu/bits/fenv.h: Removed.
32655 * sysdeps/i386/fpu/Implies: New file.
32656 * sysdeps/x86_64/fpu/Implies: Likewise.
32657 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
32658 * sysdeps/x86/fpu/bits/fenv.h: This.
32660 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
32663 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
32666 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
32667 character 0xffff that matches the last element of the
32670 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32672 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
32675 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32677 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
32678 values higher than 25.6283.
32680 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32682 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
32683 subnormal exponent extraction and add some __builtin_expect.
32684 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
32685 Fix for subnormal mantissa calculation.
32687 2012-06-04 Mike Frysinger <vapier@gentoo.org>
32689 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
32690 cpu2 is -1 and errno is not ENOSYS.
32692 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
32695 * sysdeps/i386/i486/bits/string.h: Renamed to ...
32696 * sysdeps/x86/bits/string.h: This.
32697 * sysdeps/x86_64/bits/string.h: Removed.
32699 * sysdeps/i386/i486/bits/string.h: Define inline functions only
32700 if not compiling for x86-64, but compiling for >= i486.
32702 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
32703 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
32705 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
32706 New macro from Linux kernel 3.4.0.
32707 (FP_XSTATE_MAGIC2): Likewise.
32708 (FP_XSTATE_MAGIC2_SIZE): Likewise.
32709 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
32710 (struct _fpx_sw_bytes): New struct.
32711 (struct _xsave_hdr): Likewise.
32712 (struct _ymmh_state): Likewise.
32713 (struct _xstate): Likewise.
32715 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
32716 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
32717 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
32718 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
32719 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
32720 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
32722 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
32723 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
32724 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
32725 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
32726 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
32727 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
32729 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32732 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
32733 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
32734 (sysdep_headers): Include sys/platform/ppc.h.
32735 * sysdeps/powerpc/test-gettimebase.c: Test for
32736 __ppc_get_timebase() to catch future ISA opcode/insn changes.
32737 * manual/Makefile (appendices): Include platform.texi.
32738 * manual/contrib.texi (Contributors): Update @node pointers.
32739 * manual/maint.texi (Maintenance): Likewise.
32740 (Platform): New node.
32741 * manual/platform.texi: New file. Document the new features.
32743 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
32744 Jakub Jelinek <jakub@redhat.com>
32747 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
32748 where __builtin_expect is unavailable.
32750 2012-06-03 David S. Miller <davem@davemloft.net>
32752 * stdlib/longlong.h: Updated from GCC.
32754 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
32757 * sysdeps/powerpc/powerpc32/mcount.c: New file.
32758 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
32760 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
32761 (GLIBC_2.16): Likewise.
32763 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
32765 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
32767 2012-06-01 Joseph Myers <joseph@codesourcery.com>
32769 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
32770 (default-abi): New variable.
32771 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
32772 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
32774 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
32776 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
32778 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
32781 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
32782 definition. Document in comment.
32784 2012-06-01 David S. Miller <davem@davemloft.net>
32786 * stdlib/longlong.h: Updated from GCC.
32788 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
32791 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
32792 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
32793 sys/debugreg.h sys/io.h here.
32794 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
32795 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
32797 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
32798 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
32799 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
32800 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
32801 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
32802 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
32804 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
32805 Define only if __x86_64__ is defined.
32807 2012-06-01 Joseph Myers <joseph@codesourcery.com>
32810 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
32811 Use int64_t for variable i.
32812 * math/libm-test.inc (fmod_test): Add more tests.
32814 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
32815 z computation is not scheduled after fetestexcept.
32816 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
32817 Use math_force_eval instead of asm to ensure calculation scheduled
32818 before exception test.
32819 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
32820 Ensure a1 + u.d computation is not scheduled after fetestexcept.
32822 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
32824 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
32825 computation is not scheduled after fetestexcept.
32827 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
32830 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
32831 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
32833 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32835 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
32836 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
32838 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
32841 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
32843 (__WCHAR_MIN): Support __WORDSIZE == 64.
32844 (__WCHAR_MAX): Likewise.
32846 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
32847 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
32850 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
32851 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
32854 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
32855 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
32857 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
32858 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
32860 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
32861 Defined to 1 if __x86_64__ isn't defined.
32862 (_STAT_VER_LINUX_OLD): New.
32863 (st_atime): Remove duplicate.
32864 (st_mtime): Likewise.
32865 (st_ctime): Likewise.
32867 2012-05-31 David S. Miller <davem@davemloft.net>
32869 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
32872 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
32874 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
32878 * elf/dl-reloc.c: Include <_itoa.h>.
32879 (_dl_reloc_bad_type): Remove use of INTUSE.
32880 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
32881 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
32882 * stdio-common/psiginfo.c (psiginfo): Likewise.
32883 * stdio-common/psignal.c (psignal): Likewise.
32884 * string/strsignal.c (strsignal): Likewise.
32885 * include/signal.h (_sys_siglist): Declare hidden proto.
32886 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
32887 INTVARDEF with libc_hidden_data_def.
32888 * stdio-common/itoa-udigits.c: Likewise.
32889 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
32890 (_itoa_lower_digits_internal): Remove declaration.
32891 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
32892 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
32893 (_sys_sigabbrev_internal): Remove aliases.
32894 (_sys_siglist): Define hidden alias.
32896 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
32898 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32901 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
32904 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
32905 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
32907 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
32908 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
32909 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
32910 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
32911 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
32912 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
32914 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
32915 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
32916 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
32918 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
32926 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
32927 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
32928 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
32930 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
32931 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
32932 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
32933 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
32934 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
32935 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
32937 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
32938 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
32940 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
32941 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
32943 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
32944 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
32945 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
32947 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
32948 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
32950 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
32952 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
32953 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
32954 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
32956 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
32958 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
32960 2012-05-31 Joseph Myers <joseph@codesourcery.com>
32962 * math/math.h (M_El): Use two more decimal places.
32963 (M_LOG2El): Likewise.
32964 (M_LOG10El): Likewise.
32965 (M_LN2l): Likewise.
32966 (M_LN10l): Likewise.
32968 (M_PI_2l): Likewise.
32969 (M_PI_4l): Likewise.
32970 (M_1_PIl): Likewise.
32971 (M_2_PIl): Likewise.
32972 (M_2_SQRTPIl): Likewise.
32973 (M_SQRT2l): Likewise.
32974 (M_SQRT1_2l): Likewise.
32976 2012-05-31 David S. Miller <davem@davemloft.net>
32978 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
32979 values between float registers.
32980 * sysdeps/sparc/sparc64/memset.S: Likewise.
32981 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
32983 2012-05-31 Mike Frysinger <vapier@gentoo.org>
32985 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
32986 -D_FORTIFY_SOURCE=1.
32987 (CPPFLAGS-tst-longjmp_chk.c): Define.
32988 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
32989 (CPPFLAGS-tst-longjmp_chk2.c): Define.
32990 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
32991 CFLAGS-tst-wchar-h.c.
32993 2012-05-31 Marek Polacek <polacek@redhat.com>
32996 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
32997 __endmntent_internal): Remove declaration.
32998 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
32999 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
33000 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
33002 2012-05-30 David S. Miller <davem@davemloft.net>
33004 * sysdeps/sparc/sparc32/soft-fp/q_util.c
33005 (___Q_simulate_exceptions): Use real FP ops rather than writing
33007 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
33010 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
33013 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
33014 * sysdeps/x86/bits/xtitypes.h: This.
33016 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
33017 * sysdeps/x86/bits/wordsize.h: This.
33019 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
33020 * sysdeps/x86/bits/huge_vall.h: This.
33022 * sysdeps/i386/bits/select.h: Removed.
33023 * sysdeps/x86_64/bits/select.h: Renamed to ...
33024 * sysdeps/x86/bits/select.h: This.
33026 * sysdeps/i386/bits/setjmp.h: Removed.
33027 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
33028 * sysdeps/x86/bits/setjmp.h: This.
33030 * sysdeps/i386/bits/mathdef.h: Removed.
33031 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
33032 * sysdeps/x86/bits/mathdef.h: This.
33034 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
33037 * include/sys/socket.h (__connect_internal)
33038 (__libc_sa_len_internal): Remove declaration.
33039 (__connect, __libc_sa_len): Declare hidden_proto.
33040 (SA_LEN): Remove use of INTUSE.
33041 * socket/connect.c: Add libc_hidden_def.
33042 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
33043 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
33044 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
33046 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
33047 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
33048 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
33049 of adding _internal alias.
33051 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
33054 * sysdeps/i386/bits/link.h: Removed.
33055 * sysdeps/i386/bits/linkmap.h: Likewise.
33056 * sysdeps/x86_64/bits/link.h: Renamed to ...
33057 * sysdeps/x86/bits/link.h: This.
33058 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
33059 * sysdeps/x86/bits/linkmap.h: This.
33061 * sysdeps/i386/bits/endian.h: Removed.
33062 * sysdeps/x86_64/bits/endian.h: Renamed to ...
33063 * sysdeps/x86/bits/endian.h: This.
33065 * sysdeps/i386/bits/byteswap.h: Removed.
33066 * sysdeps/i386/bits/byteswap-16.h: Likewise.
33067 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
33068 * sysdeps/x86/bits/byteswap.h: This.
33069 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
33070 * sysdeps/x86/bits/byteswap-16.h: This.
33071 * sysdeps/i386/Implies: Add x86.
33072 * sysdeps/x86_64/Implies: Likewise.
33074 2012-05-30 David S. Miller <davem@davemloft.net>
33076 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
33077 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
33078 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
33079 (FP_TRAPPING_EXCEPTIONS): Define.
33080 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
33081 (FP_TRAPPING_EXCEPTIONS): Define.
33082 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
33083 subnormals only when inexact has been signalled or underflow
33084 exceptions are enabled.
33085 (_FP_PACK_CANONICAL): Likewise.
33087 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
33090 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
33091 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
33093 2012-05-30 Richard Henderson <rth@twiddle.net>
33095 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
33096 with #ifndef NOT_IN_libc.
33098 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
33099 marked to avoid plt entry.
33101 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
33104 * Makeconfig (default-abi): New macro.
33105 (abi-includes): Likewise.
33106 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
33107 $(abi-$(default-abi)-lib-soname) for soname if defined.
33108 ($(common-objpfx)gnu/lib-names.stmp): Generate from
33110 * Makefile (installed-stubs): Likewise.
33111 * include/stubs-biarch.h: Removed.
33112 * scripts/lib-names.awk: Only handle one library at a time.
33113 * scripts/soversions.awk: Remove WORDSIZE support.
33114 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
33116 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
33118 (syscall-list-default-condition): Likewise.
33119 (syscall-list-default-condition): Likewise.
33120 (syscall-list-includes): Likewise.
33121 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
33122 syscall-list-* with abi-*. Handle undefined abi-variants.
33123 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
33124 * sysdeps/unix/sysv/linux/i386/Implies: New file.
33125 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
33126 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
33127 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
33128 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
33130 (syscall-list-32-options): Likewise.
33131 (syscall-list-32-condition): Likewise.
33132 (syscall-list-64-options): Likewise.
33133 (syscall-list-64-condition): Likewise.
33134 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
33136 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
33139 (abi-64-ld-soname): New macro.
33140 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
33141 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
33144 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
33145 * sysdeps/x86_64/x32/shlib-versions: Likewise.
33147 2012-05-30 Joseph Myers <joseph@codesourcery.com>
33149 * sysdeps/unix/sysv/linux/kernel-features.h
33150 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
33151 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
33152 include <kernel-features.h>.
33153 [!__NR_ftruncate64]: Remove conditional code.
33154 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33155 [__NR_ftruncate64]: Make code unconditional.
33156 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33157 * sysdeps/unix/sysv/linux/truncate64.c: Do not
33158 include <kernel-features.h>.
33159 [!__NR_ftruncate64]: Remove conditional code.
33160 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33161 [__NR_ftruncate64]: Make code unconditional.
33162 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33163 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
33164 include <kernel-features.h>.
33165 [!__NR_ftruncate64]: Remove conditional code.
33166 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33167 [__NR_ftruncate64]: Make code unconditional.
33168 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33169 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
33170 include <kernel-features.h>.
33171 [!__NR_ftruncate64]: Remove conditional code.
33172 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33173 [__NR_ftruncate64]: Make code unconditional.
33174 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33176 * configure.in (libc_cv_fpie): Weaken to a compile test using
33177 LIBC_TRY_CC_OPTION.
33178 * configure: Regenerated.
33180 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33182 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
33183 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
33184 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
33185 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
33187 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
33188 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
33189 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
33190 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
33191 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
33192 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
33195 2012-05-27 David S. Miller <davem@davemloft.net>
33197 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
33199 (__Q_simulate_exceptions): Return void. Change to simulate
33200 exceptions by writing into the %fsr.
33201 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
33202 (__Qp_handle_exceptions): Likewise.
33204 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
33205 __Qp_handle_exceptions.
33206 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
33207 __Qp_handle_exceptions.
33208 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
33209 as unused and give dummy FP_RND_NEAREST initializer.
33210 (FP_INHIBIT_RESULTS): Define.
33211 (___Q_simulate_exceptions): Update declaration.
33212 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
33214 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
33215 as unused and give dummy FP_RND_NEAREST initializer.
33216 (__Qp_handle_exceptions): Update declaration.
33217 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
33220 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
33222 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
33223 the temporary FPU control word.
33224 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
33225 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
33226 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
33227 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
33228 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
33229 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
33230 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
33231 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
33232 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
33233 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
33234 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
33236 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
33238 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
33241 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
33243 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
33244 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
33245 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
33246 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
33248 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
33249 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
33252 2012-05-27 Ulrich Drepper <drepper@gmail.com>
33254 * po/h.po: Update from translation team.
33256 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
33258 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
33260 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
33261 handling of denormals.
33262 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
33263 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
33264 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
33265 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
33266 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
33267 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
33268 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
33271 2012-05-26 Marek Polacek <polacek@redhat.com>
33274 * math/libm-test.inc (fma_test): Don't always expect underflow
33277 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
33280 * elf/tst-execstack.c: Include stackinfo.h.
33281 (do_test): Adjust test case to ensure that pthread_getattr_np
33282 behaviour remains the same after marking stack executable.
33284 2012-05-25 Joseph Myers <joseph@codesourcery.com>
33286 * sysdeps/unix/sysv/linux/kernel-features.h
33287 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
33288 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
33290 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
33291 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
33292 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
33294 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
33295 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
33297 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
33299 * configure.in: Define the default includes to being none.
33300 * configure: Regenerated.
33302 2012-05-25 Roland McGrath <roland@hack.frob.com>
33304 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
33305 * sysdeps/x86_64/setjmp.S: Likewise.
33306 * sysdeps/i386/bsd-setjmp.S: Likewise.
33307 * sysdeps/i386/bsd-_setjmp.S: Likewise.
33308 * sysdeps/i386/setjmp.S: Likewise.
33309 * sysdeps/i386/__longjmp.S: Likewise.
33310 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
33311 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
33313 * include/stap-probe.h: New file.
33314 * configure.in: Handle --enable-systemtap.
33315 * configure: Regenerated.
33316 * config.h.in (USE_STAP_PROBE): New #undef.
33317 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
33318 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
33319 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
33321 2012-05-25 Joseph Myers <joseph@codesourcery.com>
33324 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
33325 to 2.4.0 where earlier.
33326 * sysdeps/unix/sysv/linux/configure: Regenerated.
33327 * sysdeps/unix/sysv/linux/i386/chown.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/fchown.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/fchownat.c (fchownat)
33336 [__ASSUME_32BITUIDS]: Make code unconditional.
33337 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
33338 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
33339 <kernel-features.h>.
33340 [__ASSUME_32BITUIDS]: Make code unconditional.
33341 [!__ASSUME_32BITUIDS]: Remove conditional code.
33342 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
33343 <kernel-features.h>.
33344 [__ASSUME_32BITUIDS]: Make code unconditional.
33345 [!__ASSUME_32BITUIDS]: Remove conditional code.
33346 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
33347 <kernel-features.h>.
33348 [__ASSUME_32BITUIDS]: Make code unconditional.
33349 [!__ASSUME_32BITUIDS]: Remove conditional code.
33350 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
33351 <kernel-features.h>.
33352 [__ASSUME_32BITUIDS]: Make code unconditional.
33353 [!__ASSUME_32BITUIDS]: Remove conditional code.
33354 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
33355 <kernel-features.h>.
33356 [__ASSUME_32BITUIDS]: Make code unconditional.
33357 [!__ASSUME_32BITUIDS]: Remove conditional code.
33358 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
33359 <kernel-features.h>.
33360 [__ASSUME_32BITUIDS]: Make code unconditional.
33361 [!__ASSUME_32BITUIDS]: Remove conditional code.
33362 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
33363 <kernel-features.h>.
33364 [__ASSUME_32BITUIDS]: Make code unconditional.
33365 [!__ASSUME_32BITUIDS]: Remove conditional code.
33366 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
33367 <kernel-features.h>.
33368 [__ASSUME_32BITUIDS]: Make code unconditional.
33369 [!__ASSUME_32BITUIDS]: Remove conditional code.
33370 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
33371 <kernel-features.h>.
33372 [__ASSUME_32BITUIDS]: Make code unconditional.
33373 [!__ASSUME_32BITUIDS]: Remove conditional code.
33374 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
33375 <kernel-features.h>.
33376 [__ASSUME_32BITUIDS]: Make code unconditional.
33377 [!__ASSUME_32BITUIDS]: Remove conditional code.
33378 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
33379 <kernel-features.h>.
33380 [__NR_setresgid] (__setresgid): Do not declare.
33381 [__ASSUME_32BITUIDS]: Make code unconditional.
33382 [!__ASSUME_32BITUIDS]: Remove conditional code.
33383 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
33384 <kernel-features.h>.
33385 [__NR_setresuid] (__setresuid): Do not declare.
33386 [__ASSUME_32BITUIDS]: Make code unconditional.
33387 [!__ASSUME_32BITUIDS]: Remove conditional code.
33388 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
33389 <kernel-features.h>.
33390 [__ASSUME_32BITUIDS]: Make code unconditional.
33391 [!__ASSUME_32BITUIDS]: Remove conditional code.
33392 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
33393 <kernel-features.h>.
33394 [__ASSUME_32BITUIDS]: Make code unconditional.
33395 [!__ASSUME_32BITUIDS]: Remove conditional code.
33396 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
33397 <kernel-features.h>.
33398 [__ASSUME_32BITUIDS]: Make code unconditional.
33399 [!__ASSUME_32BITUIDS]: Remove conditional code.
33400 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
33401 <kernel-features.h>.
33402 [__ASSUME_32BITUIDS]: Make code unconditional.
33403 [!__ASSUME_32BITUIDS]: Remove conditional code.
33404 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
33405 <kernel-features.h>.
33406 [__ASSUME_32BITUIDS]: Make code unconditional.
33407 [!__ASSUME_32BITUIDS]: Remove conditional code.
33408 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
33409 <kernel-features.h>.
33410 [__ASSUME_32BITUIDS]: Make code unconditional.
33411 [!__ASSUME_32BITUIDS]: Remove conditional code.
33412 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
33413 <kernel-features.h>.
33414 [__ASSUME_32BITUIDS]: Make code unconditional.
33415 [!__ASSUME_32BITUIDS]: Remove conditional code.
33416 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
33417 <kernel-features.h>.
33418 [__ASSUME_32BITUIDS]: Make code unconditional.
33419 [!__ASSUME_32BITUIDS]: Remove conditional code.
33420 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
33421 <kernel-features.h>.
33422 [__ASSUME_32BITUIDS]: Make code unconditional.
33423 [!__ASSUME_32BITUIDS]: Remove conditional code.
33424 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
33425 <kernel-features.h>.
33426 [__ASSUME_32BITUIDS]: Make code unconditional.
33427 [!__ASSUME_32BITUIDS]: Remove conditional code.
33428 * sysdeps/unix/sysv/linux/kernel-features.h
33429 (__ASSUME_SETRESUID_SYSCALL): Remove.
33430 (__ASSUME_SETRESGID_SYSCALL): Likewise.
33431 (__ASSUME_32BITUIDS): Likewise.
33432 (__ASSUME_LDT_WORKS): Likewise.
33433 (__ASSUME_O_DIRECTORY): Likewise.
33434 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
33435 architecture but not kernel version.
33436 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
33437 (__ASSUME_MMAP2_SYSCALL): Likewise.
33438 (__ASSUME_STAT64_SYSCALL): Likewise.
33439 (__ASSUME_IPC64): Likewise.
33440 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
33441 <kernel-features.h>.
33442 [__ASSUME_32BITUIDS]: Make code unconditional.
33443 [!__ASSUME_32BITUIDS]: Remove conditional code.
33444 * sysdeps/unix/sysv/linux/opendir.c: Do not include
33445 <kernel-features.h>.
33446 [__ASSUME_O_DIRECTORY]: Make code unconditional.
33447 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
33448 132096]: Remove conditional code.
33449 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
33450 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
33451 <kernel-features.h>.
33452 [__ASSUME_32BITUIDS]: Make code unconditional.
33453 [!__ASSUME_32BITUIDS]: Remove conditional code.
33454 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
33455 <kernel-features.h>.
33456 [__ASSUME_32BITUIDS]: Make code unconditional.
33457 [!__ASSUME_32BITUIDS]: Remove conditional code.
33458 * sysdeps/unix/sysv/linux/setegid.c: Do not include
33459 <kernel-features.h>.
33460 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
33462 (__setresgid): Do not declare.
33463 [__ASSUME_32BITUIDS]: Make code unconditional.
33464 [!__ASSUME_32BITUIDS]: Remove conditional code.
33465 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
33466 <kernel-features.h>.
33467 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
33469 (__setresuid): Do not declare.
33470 [__ASSUME_32BITUIDS]: Make code unconditional.
33471 [!__ASSUME_32BITUIDS]: Remove conditional code.
33472 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
33473 <kernel-features.h>.
33474 [__ASSUME_32BITUIDS]: Make code unconditional.
33475 [!__ASSUME_32BITUIDS]: Remove conditional code.
33476 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
33477 <kernel-features.h>.
33478 [__ASSUME_32BITUIDS]: Make code unconditional.
33479 [!__ASSUME_32BITUIDS]: Remove conditional code.
33481 2012-05-25 Richard Henderson <rth@twiddle.net>
33483 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
33484 dl_hwcap to ifunc resolver.
33485 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
33487 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
33488 dl_hwcap to ifunc resolver.
33489 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
33491 2012-05-24 Joseph Myers <joseph@codesourcery.com>
33494 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
33495 for |x| <= 2**-26, not 2**-57.
33496 * math/libm-test.inc (acos_test): Do not allow spurious underflow
33499 2012-05-24 Jeff Law <law@redhat.com>
33501 * stdio-common/Makefile (tests): Add bug25.
33502 * stdio-common/bug25.c: New test.
33504 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
33507 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
33508 multiple of MALLOC_ALIGNMENT in size.
33509 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
33511 2012-05-24 Joseph Myers <joseph@codesourcery.com>
33513 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
33515 (FILENAME_MAX): Use macro-int-constant.
33516 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
33517 (_IOFBF): Use macro-int-constant.
33518 (_IOLBF): Likewise.
33519 (_IONBF): Likewise.
33520 (SEEK_CUR): Likewise.
33521 (SEEK_END): Likewise.
33522 (SEEK_SET): Likewise.
33523 (TMP_MAX): Likewise.
33524 (EOF): Use macro-int-constant. Require < 0.
33525 (NULL): Use macro-constant. Require == 0.
33526 (stdin): Require type to be FILE *.
33527 (stdout): Likewise.
33528 (stderr): Likewise.
33529 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
33530 macro-int-constant.
33531 (EXIT_SUCCESS): Likewise.
33532 (NULL): Use macro-constant. Require == 0.
33533 (RAND_MAX): Use macro-int-constant.
33534 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
33535 [C99-based standards] (strtof): Require function.
33536 [C99-based standards] (strtold): Likewise.
33537 [C99-based standards] (strtoll): Likewise.
33538 [C99-based standards] (strtoull): Likewise.
33539 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
33540 [ISO || ISO99 || ISO11] (limits.h): Likewise.
33541 [ISO || ISO99 || ISO11] (math.h): Likewise.
33542 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
33543 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
33544 [ISO || ISO99 || ISO11] (*_t): Do not allow.
33546 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
33549 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
33550 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
33551 * intl/dgettext.c (DCGETTEXT): Likewise.
33552 * intl/gettext.c (DCGETTEXT): Likewise.
33553 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
33554 * posix/regex_internal.h (gettext): Likewise.
33555 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
33556 Remove declaration.
33557 * include/argz.h (__argz_count_internal)
33558 (__argz_stringify_internal): Remove declaration.
33559 (__argz_count, __argz_stringify): Declare hidden proto.
33560 * intl/dcgettext.c: Remove use of INTDEF.
33561 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
33562 * string/argz-stringify.c: Likewise.
33563 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
33564 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
33565 Declare hidden proto.
33566 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
33567 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
33568 Declare hidden proto.
33569 * include/stdio.h (__asprintf_internal): Don't declare.
33570 (__asprintf): Don't define as macro. Declare hidden proto.
33571 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
33572 (__fsetlocking): Declare hidden proto.
33573 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
33574 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
33576 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
33577 (_IO_setlinebuf): Remove use of INTUSE.
33578 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
33579 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
33580 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
33581 Remove declaration.
33582 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
33583 (_IO_do_flush): Remove use of INTUSE.
33584 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
33585 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
33586 (_IO_adjust_column, _IO_least_wmarker)
33587 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
33588 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
33589 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
33590 (_IO_default_doallocate, _IO_wdefault_doallocate)
33591 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
33592 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
33593 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
33594 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
33595 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
33596 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
33597 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
33598 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
33599 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
33600 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
33601 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
33602 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
33603 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
33605 (_IO_flush_all_internal, _IO_adjust_column_internal)
33606 (_IO_default_uflow_internal, _IO_default_finish_internal)
33607 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
33608 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
33609 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
33610 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
33611 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
33612 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
33613 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
33614 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
33615 (_IO_file_close_internal, _IO_file_close_it_internal)
33616 (_IO_file_underflow_internal, _IO_file_overflow_internal)
33617 (_IO_file_init_internal, _IO_file_attach_internal)
33618 (_IO_file_fopen_internal, _IO_file_read_internal)
33619 (_IO_file_sync_internal, _IO_file_seek_internal)
33620 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
33621 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
33622 (_IO_str_underflow_internal, _IO_str_overflow_internal)
33623 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
33624 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
33625 (_IO_list_all_internal, _IO_link_in_internal)
33626 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
33627 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
33628 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
33629 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
33630 (_IO_do_write_internal, _IO_padn_internal)
33631 (_IO_getline_info_internal, _IO_getline_internal)
33632 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
33633 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
33634 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
33635 (_IO_vfscanf_internal, _IO_vfprintf_internal)
33636 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
33637 (_IO_init_internal, _IO_un_link_internal): Don't declare.
33638 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
33639 with libc_hidden_ver, remove use of INTUSE.
33640 * libio/genops.c: Likewise.
33641 * libio/freopen.c: Likewise.
33642 * libio/freopen64.c: Likewise.
33643 * libio/iofclose.c: Likewise.
33644 * libio/iofdopen.c: Likewise.
33645 * libio/iofflush.c: Likewise.
33646 * libio/iofflush_u.c: Likewise.
33647 * libio/iofgets.c: Likewise.
33648 * libio/iofgets_u.c: Likewise.
33649 * libio/iofopen.c: Likewise.
33650 * libio/iofopncook.c: Likewise.
33651 * libio/iofread.c: Likewise.
33652 * libio/iofread_u.c: Likewise.
33653 * libio/ioftell.c: Likewise.
33654 * libio/iofwrite.c: Likewise.
33655 * libio/iogetline.c: Likewise.
33656 * libio/iogets.c: Likewise.
33657 * libio/iogetwline.c: Likewise.
33658 * libio/iopadn.c: Likewise.
33659 * libio/iopopen.c: Likewise.
33660 * libio/ioseekoff.c: Likewise.
33661 * libio/ioseekpos.c: Likewise.
33662 * libio/iosetbuffer.c: Likewise.
33663 * libio/iosetvbuf.c: Likewise.
33664 * libio/ioungetc.c: Likewise.
33665 * libio/ioungetwc.c: Likewise.
33666 * libio/iovdprintf.c: Likewise.
33667 * libio/iovsprintf.c: Likewise.
33668 * libio/iovsscanf.c: Likewise.
33669 * libio/memstream.c: Likewise.
33670 * libio/obprintf.c: Likewise.
33671 * libio/oldfileops.c: Likewise.
33672 * libio/oldiofclose.c: Likewise.
33673 * libio/oldiofdopen.c: Likewise.
33674 * libio/oldiofopen.c: Likewise.
33675 * libio/oldiopopen.c: Likewise.
33676 * libio/oldstdfiles.c: Likewise.
33677 * libio/putc.c: Likewise.
33678 * libio/setbuf.c: Likewise.
33679 * libio/setlinebuf.c: Likewise.
33680 * libio/stdfiles.c: Likewise.
33681 * libio/strops.c: Likewise.
33682 * libio/vasprintf.c: Likewise.
33683 * libio/vscanf.c: Likewise.
33684 * libio/vsnprintf.c: Likewise.
33685 * libio/vswprintf.c: Likewise.
33686 * libio/wfiledoalloc.c: Likewise.
33687 * libio/wfileops.c: Likewise.
33688 * libio/wgenops.c: Likewise.
33689 * libio/wmemstream.c: Likewise.
33690 * libio/wstrops.c: Likewise.
33691 * libio/__fpurge.c: Likewise.
33692 * libio/__fsetlocking.c: Likewise.
33693 * assert/assert.c: Likewise.
33694 * debug/fgets_chk.c: Likewise.
33695 * debug/fgets_u_chk.c: Likewise.
33696 * debug/fread_chk.c: Likewise.
33697 * debug/fread_u_chk.c: Likewise.
33698 * debug/gets_chk.c: Likewise.
33699 * debug/obprintf_chk.c: Likewise.
33700 * debug/vasprintf_chk.c: Likewise.
33701 * debug/vdprintf_chk.c: Likewise.
33702 * debug/vsnprintf_chk.c: Likewise.
33703 * debug/vsprintf_chk.c: Likewise.
33704 * malloc/mtrace.c: Likewise.
33705 * misc/error.c: Likewise.
33706 * misc/syslog.c: Likewise.
33707 * stdio-common/asprintf.c: Likewise.
33708 * stdio-common/fxprintf.c: Likewise.
33709 * stdio-common/getw.c: Likewise.
33710 * stdio-common/isoc99_fscanf.c: Likewise.
33711 * stdio-common/isoc99_scanf.c: Likewise.
33712 * stdio-common/isoc99_vfscanf.c: Likewise.
33713 * stdio-common/isoc99_vscanf.c: Likewise.
33714 * stdio-common/isoc99_vsscanf.c: Likewise.
33715 * stdio-common/printf-prs.c: Likewise.
33716 * stdio-common/printf_fp.c: Likewise.
33717 * stdio-common/printf_fphex.c: Likewise.
33718 * stdio-common/printf_size.c: Likewise.
33719 * stdio-common/putw.c: Likewise.
33720 * stdio-common/scanf.c: Likewise.
33721 * stdio-common/sprintf.c: Likewise.
33722 * stdio-common/tmpfile.c: Likewise.
33723 * stdio-common/vfprintf.c: Likewise.
33724 * stdio-common/vfscanf.c: Likewise.
33725 * stdlib/strfmon_l.c: Likewise.
33726 * sunrpc/openchild.c: Likewise.
33727 * sunrpc/xdr_stdio.c: Likewise.
33728 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
33729 * sysdeps/mach/hurd/tmpfile.c: Likewise.
33731 2012-05-24 Roland McGrath <roland@hack.frob.com>
33733 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
33735 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
33736 in the third column, to generate for the shared library an IFUNC
33737 that uses _dl_vdso_vsym.
33738 * Makerules (COMPILE.c, compile-stdin.c): New variables.
33739 * Makeconfig (object-suffixes-noshared): New variable.
33741 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
33742 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
33743 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
33744 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
33747 * include/sys/time.h (__gettimeofday): Remove macro.
33748 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
33749 * time/gettimeofday.c (__gettimeofday): Remove #undef.
33751 (__gettimeofday): Add libc_hidden_def.
33752 (gettimeofday): Add libc_hidden_weak.
33753 * sysdeps/mach/gettimeofday.c: Likewise.
33754 * sysdeps/posix/gettimeofday.c: Likewise.
33755 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
33756 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
33757 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
33758 (__gettimeofday_internal): Remove strong_alias.
33759 (__gettimeofday): Add libc_hidden_def.
33760 (gettimeofday): Add libc_hidden_weak.
33761 * sysdeps/unix/syscalls.list (gettimeofday):
33762 Remove __gettimeofday_internal alias.
33764 2012-05-24 Daniel Jacobowitz <drow@false.org>
33765 H.J. Lu <hongjiu.lu@intel.com>
33768 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
33769 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
33770 (largebin_index_32_big): New.
33771 (largebin_index): Use it for 16-byte alignment.
33772 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
33773 correction with front_misalign.
33775 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
33777 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
33778 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
33780 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
33782 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
33784 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
33786 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
33788 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
33790 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
33792 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
33794 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
33796 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
33798 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
33800 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
33803 * scripts/data/c++-types-x32-linux-gnu.data: New file.
33804 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
33806 2012-05-24 Joseph Myers <joseph@codesourcery.com>
33810 * math/libm-test.inc (exp_test): Add test from bug 14036.
33811 (pow_test): Add test from bug 10846.
33813 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
33815 (special_function): Do not include flags in test name.
33816 (parse_args): Likewise.
33817 * sysdeps/i386/fpu/libm-test-ulps: Update.
33818 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
33819 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
33820 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
33821 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33823 * math/gen-libm-test.pl (%beautify): Add entries for underflow
33825 * math/libm-test.inc ("Philosophy"): Update comment about
33827 (UNDERFLOW_EXCEPTION): New macro.
33828 (UNDERFLOW_EXCEPTION_OK): Likewise.
33829 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
33830 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
33831 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
33832 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
33833 (INVALID_EXCEPTION_OK): Update value.
33834 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
33835 (OVERFLOW_EXCEPTION_OK): Likewise.
33836 (IGNORE_ZERO_INF_SIGN): Likewise.
33837 (test_exceptions): Handle underflow exceptions.
33838 (acos_test): Update for underflow exception expectations.
33839 (cexp_test): Likewise.
33840 (clog_test): Likewise.
33841 (clog10_test): Likewise.
33842 (csqrt_test): Likewise.
33843 (ctan_test): Likewise.
33844 (ctanh_test): Likewise.
33845 (exp_test): Likewise.
33846 (exp10_test): Likewise.
33847 (exp2_test): Likewise.
33848 (expm1_test): Likewise.
33849 (fma_test): Likewise.
33850 (j0_test): Likewise.
33851 (jn_test): Likewise.
33852 (nexttoward_test): Likewise.
33853 (pow_test): Likewise.
33854 (scalbn_test): Likewise.
33855 (scalbln_test): Likewise.
33856 (tan_test): Likewise.
33857 (y1_test): Likewise.
33858 * sysdeps/i386/fpu/libm-test-ulps: Update.
33859 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33861 2012-05-23 David S. Miller <davem@davemloft.net>
33863 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
33864 (__libc_sigaction): Remove unused local variables.
33866 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
33868 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
33870 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
33872 mktime: avoid signed integer overflow
33873 * time/mktime.c (__mktime_internal): Do not mishandle the case
33874 where diff == INT_MIN.
33876 mktime: simplify computation of average
33877 * time/mktime.c (ranged_convert): Use new time_t_avg function
33878 instead of rolling our own (probably-slower) code.
33880 mktime: do not assume signed right shift propagates sign bit
33881 * time/mktime.c (isdst_differ): New static function.
33882 (__mktime_internal): No need to normalize tm_isdst now.
33883 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
33886 mktime: merge another wrapv change from gnulib
33887 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
33888 from some compilers.
33890 mktime: remove incorrect attempt at unusual arithmetics
33891 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
33892 The code didn't really work on such machines anyway.
33893 (TYPE_MINIMUM): Assume two's complement.
33894 (twos_complement_arithmetic): Verify that long_int and time_t
33895 are two's complement (or unsigned, in the latter case).
33897 mktime: check signed shifts on long_int and time_t, too
33898 * time/mktime.c (SHR): Check that shifts work as desired
33899 on the types long_int and time_t too, as SHR is used on
33902 mktime: do not assume 'long' is wide enough
33903 * time/mktime.c (verify): Move decl up.
33904 (long_int): New type.
33905 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
33906 to remove assumption in the code that 'long' is wide enough to
33907 store year values. This assumption is not true on x32 and on
33908 some non-glibc platforms.
33910 mktime: merge wrapv change from gnulib
33911 * time/mktime.c (WRAPV): New macro.
33912 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
33913 (guess_time_tm, __mktime_internal): Do not assume that signed
33914 integer overflow wraps around; modern compilers generate code
33915 where this assumption is no longer valid.
33917 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
33919 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
33920 Replace "jmp L(pseudo_end)" with "ret".
33921 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
33924 2012-05-23 Andreas Jaeger <aj@suse.de>
33926 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
33927 * sysdeps/unix/sysv/linux/poll.c: Remove file.
33929 2012-05-23 Andreas Jaeger <aj@suse.de>
33930 Maximilian Attems <max@stro.at>
33932 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
33935 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
33937 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
33938 code so that pseudo_end is just ret and the stack pointer is
33939 correct also for static library in error case.
33941 2012-05-23 Joseph Myers <joseph@codesourcery.com>
33943 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
33944 move to syscalls.list.
33945 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
33946 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
33947 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
33948 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
33950 * manual/install.texi (Running make install): Do not mention Linux
33951 kernel version for which pt_chown is not needed.
33952 (Linux): Do not mention problems with nscd with 2.0 kernels.
33953 * INSTALL: Regenerated.
33955 2012-05-23 Andreas Jaeger <aj@suse.de>
33957 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
33958 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
33960 * sysdeps/unix/sysv/linux/s390/bits/mman.h
33961 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
33962 * sysdeps/unix/sysv/linux/sh/bits/mman.h
33963 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
33964 * sysdeps/unix/sysv/linux/i386/bits/mman.h
33965 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
33966 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
33967 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
33968 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
33969 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
33970 * sysdeps/unix/sysv/linux/bits/in.h
33971 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
33973 2012-05-22 Roland McGrath <roland@hack.frob.com>
33975 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
33976 (PREPARE_VERSION): Just use assert instead, it will be elided
33977 under [NDEBUG] anyway.
33979 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
33981 * sysdeps/unix/sysv/linux/Makefile: Include
33982 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
33983 (sysdep_routines): Remove sysctl.
33984 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
33985 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
33986 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
33987 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
33988 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
33990 2012-05-22 Andreas Jaeger <aj@suse.de>
33992 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
33993 that pseudo_end is just ret and the stack pointer is correct also
33994 for static library in error case.
33996 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
33999 * nss/nsswitch.c (defconfig_entries): New variable.
34000 (__nss_database_lookup): Don't leak defconfig entries.
34001 (nss_parse_service_list): Don't leak on error paths.
34002 (free_database_entries): New function.
34003 (free_defconfig): New function.
34004 (free_mem): Move common code to free_database_entries.
34006 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
34008 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
34010 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
34012 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
34013 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
34014 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
34016 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
34017 (INTERNAL_SYSCALL_TYPES): Likewise.
34018 (LOAD_ARGS_TYPES_[1-6]): Likewise.
34019 (LOAD_REGS_TYPES_[1-6]): Likewise.
34020 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
34021 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
34023 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34025 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
34026 copysignl for GLIBC_2_0.
34027 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
34028 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
34029 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
34030 logbl for GLIBC_2_0.
34031 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
34032 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
34034 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
34036 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
34037 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
34039 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
34042 * time/mktime.c: Update copyright years.
34044 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
34046 mktime: merge comment-quoting-style change from gnulib
34047 * time/mktime.c: Quote 'like this' in comments.
34048 The GNU coding standards suggest that we no longer quote `like this',
34049 as "`" and "'" are typically rendered asymmetrically nowadays.
34050 The typical gnulib style is to quote 'like this' when quoting
34051 code, and "like this" when quoting English.
34053 * time/mktime.c (compile-command): Add "-I.".
34055 mktime: merge mktime-internal.h change from gnulib
34056 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
34058 mktime: merge time_r change from gnulib
34059 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
34061 mktime: merge DEBUG change from gnulib
34062 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
34063 case system <time.h> has a #define.
34065 mktime: merge <sys/types.h> change from gnulib
34066 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
34067 since <time.t> is now guaranteed to define time_t.
34069 mktime: merge HAVE_CONFIG_H change from gnulib
34070 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
34072 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
34074 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
34077 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
34079 (struct rusage): Use anonymous union to pad each field to
34082 2012-05-21 David S. Miller <davem@davemloft.net>
34084 * Makefules (o-iterator): Remove .s cases.
34085 (compile-command.s): Delete.
34086 (COMPILE.s): Delete.
34087 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
34089 2012-05-21 Joseph Myers <joseph@codesourcery.com>
34091 * configure.in (libc_cv_predef_stack_protector): Only consider
34092 "foobar" and "__stack_chk_fail" lines in libc_undefs.
34093 * configure: Regenerated.
34095 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
34097 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
34098 New macro. Use R*LP on int and pointer.
34099 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
34100 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
34101 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
34102 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
34104 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
34105 [__WORDSIZE_TIME64_COMPAT32] instead of
34106 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
34107 (struct utmp): Likewise.
34108 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
34109 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
34111 (__WORDSIZE_TIME64_COMPAT32): This.
34112 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
34113 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
34114 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
34115 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
34116 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
34117 (__WORDSIZE_TIME64_COMPAT32): New macro.
34119 2012-05-21 Andreas Jaeger <aj@suse.de>
34121 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
34122 only if [SHARED]. Add prototype for __wcschr_ia32.
34124 2012-05-21 Roland McGrath <roland@hack.frob.com>
34126 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
34127 of %rbp unmolested in the jmp_buf while mangling the low bits.
34128 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
34129 unmolested high bits of %rbp while demangling the low bits.
34130 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
34132 2012-05-21 Andreas Jaeger <aj@suse.de>
34134 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
34135 * sunrpc/svc_simple.c: Use it for registerrpc.
34136 * sunrpc/xcrypt.c: Use it for passwd2des.
34138 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
34140 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
34142 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
34143 Don't define if [__SYSCALL_WORDSIZE != 32].
34144 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
34147 2012-05-21 Bruno Haible <bruno@clisp.org>
34148 Andreas Jaeger <aj@suse.de>
34150 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
34151 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
34152 inptr and inend for must_buffer_ch.
34153 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
34154 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
34155 * stdio-common/Makefile (tests): Remove bug15.
34156 (bug15-ENV): Remove macro.
34157 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
34160 2012-05-19 Andreas Jaeger <aj@suse.de>
34161 Roland McGrath <roland@hack.frob.com>
34163 * manual/contrib.texi: Completely rewritten. It contains now an
34164 alphabetical list of contributors and their contributions.
34166 2012-05-21 Richard Henderson <rth@twiddle.net>
34168 * misc/getauxval.c (__getauxval): Use unsigned long int.
34169 * misc/sys/auxv.h: Include <sys/cdefs.h>.
34170 (getauxval): Use unsigned long int.
34172 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
34174 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
34176 2012-05-21 Roland McGrath <roland@hack.frob.com>
34178 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
34179 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
34180 __alignof__ (long double).
34182 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34184 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34186 2012-05-20 Richard Henderson <rth@twiddle.net>
34188 * misc/getauxval.c: New file.
34189 * misc/sys/auxv.h: New file.
34190 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
34191 (routines): Add getauxval.
34192 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
34193 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
34194 * elf/dl-sysdep.c (_dl_auxv): Remove.
34195 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
34196 * elf/dl-support.c (_dl_auxv): New variable.
34197 (_dl_aux_init): Initialize it.
34198 * manual/startup.texi (Auxiliary Vector): New node.
34199 * sysdeps/generic/bits/hwcap.h: New file.
34200 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
34201 * sysdeps/powerpc/sysdep.h: ... here. Include it.
34202 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
34203 * sysdeps/sparc/sysdep.h: ... here. Include it.
34204 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
34205 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
34206 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
34208 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
34209 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
34210 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
34211 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
34212 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
34213 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
34214 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
34215 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
34217 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34219 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34221 2012-05-19 David S. Miller <davem@davemloft.net>
34223 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34225 2012-05-19 Joseph Myers <joseph@codesourcery.com>
34228 * math/s_ccosh.c: Include <float.h>
34229 (__ccosh): Avoid internal overflow calculating sinh and cosh
34230 values before multiplying by sin and cos values.
34231 * math/s_ccoshf.c: Likewise.
34232 * math/s_ccoshl.c: Likewise.
34233 * math/s_csin.c: Likewise.
34234 * math/s_csinf.c: Likewise.
34235 * math/s_csinl.c: Likewise.
34236 * math/s_csinh.c: Likewise.
34237 * math/s_csinhf.c: Likewise.
34238 * math/s_csinhl.c: Likewise.
34239 * math/libm-test.inc (ccos_test): Add more tests.
34240 (ccosh_test): Likewise.
34241 (csin_test): Likewise.
34242 (csinh_test): Likewise.
34243 * sysdeps/i386/fpu/libm-test-ulps: Update.
34244 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34246 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
34248 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
34249 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
34251 * sysdeps/x86_64/x32/_itoa.h: Add comment.
34253 2012-05-19 Joseph Myers <joseph@codesourcery.com>
34255 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
34256 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
34257 * sysdeps/powerpc/soft-fp/Versions: Likewise.
34258 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
34259 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
34260 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
34261 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
34262 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
34263 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
34264 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
34265 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
34266 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
34267 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
34268 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
34269 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
34270 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
34271 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
34272 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
34273 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
34274 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
34275 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
34276 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
34277 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
34278 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
34279 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
34280 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
34281 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
34282 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
34283 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
34284 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
34285 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
34287 2012-05-18 Andreas Jaeger <aj@suse.de>
34289 * csu/.gitignore: Delete.
34291 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
34293 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
34294 (timex): Use __syscall_slong_t.
34296 2012-05-18 Andreas Jaeger <aj@suse.de>
34297 Carlos O'Donell <carlos_odonell@mentor.com>
34299 * manual/install.texi (Configuring and compiling): Update
34300 description about files modified in the source directory.
34301 * INSTALL: Regenerated.
34303 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
34305 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
34306 value. Use "or" to set return value to -1.
34307 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
34308 negate return value.
34310 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
34312 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
34313 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
34314 failure if the compiler has Graphite support disabled.
34315 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
34317 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
34318 (CFLAGS-memmove.c): Likewise.
34319 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
34322 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
34324 * sysdeps/x86_64/x32/_itoa.h: New file.
34326 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
34327 getdents system call only if kernel and user dirents have the
34328 same d_ino and d_off.
34330 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
34331 LLONG_MAX != LONG_MAX.
34332 (_itoa_word): Use _ITOA_WORD_TYPE on value.
34333 (_fitoa_word): Likewise.
34335 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
34337 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
34338 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
34339 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
34341 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
34342 include <bits/wordsize.h>. Check __x86_64__ instead of
34344 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
34345 if __x86_64__ is defined. Use anonymous union on fpstate.
34347 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
34350 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
34352 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
34353 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
34354 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
34355 Refer to _rtld_local_ro instead of _rtld_global_ro.
34356 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
34358 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
34360 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
34362 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
34363 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
34364 of _rtld_global, and rtld_progname instead of _dl_argv[0].
34366 * sysdeps/powerpc/powerpc32/dl-machine.c
34367 (__elf_machine_runtime_setup) [PROF]: Don't reference
34370 2012-05-18 Andreas Jaeger <aj@suse.de>
34372 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
34373 function only available for GCCs before 3.4 since GCC 3.4
34374 introduced a builtin.
34376 (llrintf): Likewise.
34377 (llrint): Likewise.
34384 (nearbyint): Likewise.
34385 (nearbyintf): Likewise.
34389 (floorf): Likewise.
34391 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
34393 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
34394 on both fields and cast pointer to __syscall_ulong_t.
34396 * bits/types.h (__fsword_t): New type.
34397 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
34398 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
34399 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
34400 (__FSWORD_T_TYPE): Likewise.
34401 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
34402 (__FSWORD_T_TYPE): Likewise.
34403 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34404 (__FSWORD_T_TYPE): Likewise.
34405 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
34406 (__FSWORD_T_TYPE): Likewise.
34407 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
34408 __SWORD_TYPE with __fsword_t.
34409 (statfs64): Likewise.
34411 2012-05-17 David S. Miller <davem@davemloft.net>
34413 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
34415 2012-05-17 Andreas Jaeger <aj@suse.de>
34417 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
34420 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
34422 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
34424 2012-05-17 Andreas Jaeger <aj@suse.de>
34426 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
34429 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
34431 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
34433 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
34435 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
34436 * sysdeps/x86_64/tst-mallocalign1.c: New file.
34438 2012-05-17 Andreas Jaeger <aj@suse.de>
34439 Carlos O'Donell <carlos_odonell@mentor.com>
34442 * sysdeps/x86_64/multiarch/init-arch.h
34443 (bit_YMM_Usable): Rename to...
34444 (bit_AVX_Usable): ... this.
34445 (bit_FMA4_Usable): New macro.
34446 (bit_XMM_state): New macro.
34447 (bit_YMM_state): New macro.
34448 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
34449 [__ASSEMBLER__] (index_AVX_Usable): ... this.
34450 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
34451 (CPUID_OSXSAVE): New macro.
34452 (CPUID_AVX): New macro.
34453 (CPUID_FMA4): New macro.
34454 (index_YMM_Usable): Rename to...
34455 (index_AVX_Usable): ... this.
34456 (HAS_AVX): Use HAS_ARCH_FEATURE.
34457 (HAS_FMA4): Likewise.
34458 (HAS_YMM_USABLE): Remove.
34459 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34460 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
34462 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
34463 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
34464 * sysdeps/x86_64/multiarch/Makefile: Likewise.
34465 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
34466 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
34468 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
34470 * math/libm-test.c: Support platforms without multiple rounding modes.
34471 * math/bug-nextafter.c: Support platforms without FP exceptions.
34472 * math/bug-nexttoward.c: Likewise.
34473 * math/test-fenv.c: Likewise.
34474 * math/test-misc.c: Likewise.
34475 * stdlib/bug-getcontext.c: Likewise.
34477 2012-05-17 Andreas Jaeger <aj@suse.de>
34479 * manual/examples/search.c (critter_cmp): Change signature to
34481 * manual/string.texi (Collation Functions): Likewise.
34483 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
34485 * bits/types.h: Fold copyright years.
34486 * bits/typesizes.h: Likewise.
34487 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
34488 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
34489 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
34490 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
34491 * time/time.h: Likewise.
34493 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
34496 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
34497 in instead of returning them. Return void.
34498 (__libc_mallinfo): Accumulate over all arenas.
34499 (__malloc_stats): Adjust for change in int_mallinfo interface.
34501 2012-05-16 Roland McGrath <roland@hack.frob.com>
34504 * configure.in (NM): Add AC_CHECK_TOOL for it.
34505 (libc_extra_cflags): New substituted variable.
34506 Check for -fstack-protector being used implicitly.
34507 * configure: Regenerated.
34508 * config.make.in (config-extra-cflags): New variable,
34509 gets @libc_extra_cflags@.
34510 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
34513 * configure.in: Check for _FORTIFY_SOURCE being predefined.
34514 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
34515 * configure: Regenerated.
34516 * config.make.in (CPPUNDEFS): New substituted variable.
34517 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
34518 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
34519 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
34521 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
34523 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
34524 (mq_attr): Use __syscall_slong_t.
34526 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
34528 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
34529 Check __x86_64__ instead of __WORDSIZE.
34530 (_STAT_VER_LINUX): Likewise.
34531 (stat): Check __x86_64__ instead of __WORDSIZE. Use
34532 __syscall_ulong_t and __syscall_slong_t.
34533 (stat64): Likewise.
34535 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
34537 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
34539 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
34541 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
34543 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
34545 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
34548 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
34549 include <bits/wordsize.h>. Check __x86_64__ instead of
34551 (greg_t): Use "__extension__ long long int" if __x86_64__ is
34553 (mcontext_t): Replace "unsigned long" with "unsigned long long".
34555 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
34556 include <bits/wordsize.h>. Check __x86_64__ instead of
34558 (user_regs_struct): Use "__extension__ unsigned long long"
34559 instead of "unsigned long" if __x86_64__ is defined.
34560 (user): Likewise. Pad after pointer field if __ILP32__ is
34563 2012-05-16 Joseph Myers <joseph@codesourcery.com>
34565 * configure.in (makeinfo): Require version 4.5 or later. Allow
34567 * configure: Regenerated.
34568 * manual/install.texi (texinfo): Increase version requirement to
34570 * INSTALL: Regenerated.
34572 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
34574 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
34576 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
34578 * sysdeps/x86_64/x32/ffs.c: New file.
34580 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
34582 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
34583 defined. Use __syscall_ulong_t.
34584 (shminfo): Use __syscall_ulong_t.
34585 (shm_info): Likewise.
34587 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
34590 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
34592 (msgqnum_t): Use __syscall_ulong_t.
34593 (msglen_t): Likewise.
34594 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
34597 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
34598 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
34600 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
34602 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
34603 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
34605 * sysvipc/sys/msg.h (msgbuf): Replace long int with
34608 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
34609 include <bits/wordsize.h>. Check __x86_64__ instead of
34612 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
34613 "unsigned long long int" if __x86_64__ is defined.
34614 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
34616 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
34617 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
34618 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
34620 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
34622 (GET_PC): Cast to uintptr_t first.
34623 (GET_FRAME): Likewise.
34624 (GET_STACK): Likewise.
34626 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
34627 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
34628 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
34629 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
34630 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
34631 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
34632 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
34633 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
34634 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
34635 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
34636 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
34637 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
34638 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
34639 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
34640 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
34641 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
34642 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
34643 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
34644 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
34645 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
34646 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
34647 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
34648 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
34649 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
34650 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
34651 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
34652 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
34653 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
34654 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
34656 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
34658 * Makerules (+depfiles): Also collect depfiles from .oS in
34660 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
34661 .oS, $(libnldbl-routines)).
34663 * Makerules (native-compile-mkdep-flags): Define.
34664 * sunrpc/Makefile (extra-objs): Add $(addprefix
34665 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
34666 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
34667 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
34668 calling $(make-target-directory).
34670 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34672 * bits/types.h (__snseconds_t): Removed.
34673 * time/time.h (struct timespec): Replace __snseconds_t with
34675 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
34676 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
34678 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
34679 (__SNSECONDS_T_TYPE): Likewise.
34680 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
34681 (__SNSECONDS_T_TYPE): Likewise.
34682 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34683 (__SNSECONDS_T_TYPE): Likewise.
34685 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34687 * sysdeps/mach/hurd/bits/typesizes.h
34688 (__SYSCALL_SLONG_TYPE): New macro.
34689 (__SYSCALL_ULONG_TYPE): Likewise.
34691 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34693 * bits/types.h (__syscall_slong_t): New type.
34694 (__syscall_ulong_t): Likewise.
34696 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
34697 (__SYSCALL_ULONG_TYPE): Likewise.
34698 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
34699 (__SYSCALL_SLONG_TYPE): Likewise.
34700 (__SYSCALL_ULONG_TYPE): Likewise.
34701 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
34702 (__SYSCALL_SLONG_TYPE): Likewise.
34703 (__SYSCALL_ULONG_TYPE): Likewise.
34704 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34705 (__SYSCALL_SLONG_TYPE): Likewise.
34706 (__SYSCALL_ULONG_TYPE): Likewise.
34708 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34710 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
34711 Add sigaltstack-offsets.sym.
34712 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
34713 <sigaltstack-offsets.h>.
34714 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
34715 longjmp_msg pointer.
34716 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
34717 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
34719 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
34721 2012-05-15 Joseph Myers <joseph@codesourcery.com>
34723 * elf/stackguard-macros.h: Remove file.
34724 * sysdeps/generic/stackguard-macros.h: New file.
34725 * sysdeps/i386/stackguard-macros.h: Likewise.
34726 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
34727 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
34728 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
34729 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
34730 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
34731 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
34732 * sysdeps/x86_64/stackguard-macros.h: Likewise.
34733 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
34734 <elf/stackguard-macros.h>.
34737 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
34738 __aligned__ in attribute.
34739 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
34740 (gregset_t): Likewise.
34742 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34744 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
34745 * sysdeps/x86_64/64/Implies-after: Here. New file.
34746 * sysdeps/x86_64/x32/Implies-after: New file.
34748 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34750 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
34751 and access return value for _dl_profile_fixup. Use R10_LP to
34754 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34756 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
34758 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34760 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
34761 * sysdeps/x86_64/x32/sysdep.h: New file.
34763 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34765 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
34766 * sysdeps/x86_64/setjmp.S: Likewise.
34768 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34770 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
34771 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
34772 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
34773 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
34774 remove unused global constant.
34776 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
34778 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
34779 include of <not-cancel.h>.
34781 2012-05-15 Roland McGrath <roland@hack.frob.com>
34783 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
34785 2012-05-15 Jeff Law <law@redhat.com>
34786 Andreas Jaeger <aj@suse.de>
34789 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
34791 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
34792 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
34793 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
34794 code changing __hst_map_handle.map.
34796 2012-05-15 Roland McGrath <roland@hack.frob.com>
34798 * configure.in (sysnames): Look for Implies-before and Implies-after
34800 * configure: Regenerated.
34802 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34804 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
34805 8-byte data alignment with LP_SIZE alignment.
34807 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34809 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
34812 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34814 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
34816 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34818 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
34819 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
34820 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
34822 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
34824 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34826 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
34827 (stackinfo_sub_sp): Likewise.
34829 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34831 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
34834 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34836 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
34839 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34841 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
34844 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34846 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
34848 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34850 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
34851 into R11_LP and load __x86_64_shared_cache_size_half into
34854 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34856 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
34859 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34861 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
34863 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
34865 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
34867 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
34868 powerpc32/power7/fpu/s_logb.c via #include.
34869 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
34870 powerpc32/power7/fpu/s_logbf.c via #include.
34871 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
34872 powerpc32/power7/fpu/s_logbl.c via #include.
34874 2012-05-15 Joseph Myers <joseph@codesourcery.com>
34876 * README.libm: Remove file.
34878 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34880 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
34881 count for x32. Use R*_LP and omit operand-size suffix.
34883 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34885 * shlib-versions: Move x86_64-.*-linux.* entries to ...
34886 * sysdeps/x86_64/64/shlib-versions: Here. New file.
34887 * sysdeps/x86_64/x32/shlib-versions: New file.
34889 2012-05-14 Roland McGrath <roland@hack.frob.com>
34891 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
34892 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
34893 Use _dl_fatal_printf instead.
34895 2012-05-14 Joseph Myers <joseph@codesourcery.com>
34897 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
34898 set if not set by the user. Do not allow for being unset.
34899 * sysdeps/unix/sysv/linux/configure: Regenerated.
34901 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34903 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
34904 the `q' suffix from lea and replace .quad with ASM_ADDR.
34906 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34908 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
34909 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
34911 (PTR_DEMANGLE): Likewise.
34913 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34915 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
34917 (ASM_ADDR): Likewise.
34918 (RAX_LP): Likewise.
34919 (RBP_LP): Likewise.
34920 (RBX_LP): Likewise.
34921 (RCX_LP): Likewise.
34922 (RDI_LP): Likewise.
34923 (RSI_LP): Likewise.
34924 (RSP_LP): Likewise.
34927 (R10_LP): Likewise.
34928 (R10_LP): Likewise.
34929 (R11_LP): Likewise.
34930 (R12_LP): Likewise.
34931 (R13_LP): Likewise.
34932 (R14_LP): Likewise.
34933 (R15_LP): Likewise.
34935 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34937 * sysdeps/x86_64/x32/dl-machine.h: New file.
34939 2012-05-14 Andreas Jaeger <aj@suse.de>
34941 * manual/Makefile (subdir): Remove export of subdir.
34942 (all): Remove target.
34943 (.PHONY): Remove all from list.
34944 (mkinstalldirs): Remove.
34945 (.PHONY): Remove installdirs from list.
34946 ($(inst_infodir)/libc.info): Use make-target-directory.
34947 (installdirs): Remove.
34948 (subdir_%): Remove.
34949 (glibc-targets): Remove.
34952 ($(objpfx)stubs ../po/manual.pot): Remove.
34953 ($(objpfx)stamp%): Remove.
34954 (make-target-directory): Remove.
34955 (subdir_install): Remove.
34956 (routines): Remove.
34963 * manual/.gitignore: Remove, it's not needed anymore.
34964 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
34966 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
34968 (texis): Renamed to $(objpfx)texis.
34969 (texis-path): New, contains path to generated files.
34970 (chapters.%): Use texis-path for complete path, add extra argument
34972 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
34973 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
34974 (summary,texi, stamp-summary): Use complete path of
34975 files. Generate files in build dir.
34976 (dir-add.texi): Build in build dir.
34977 (libm-err.texi,stamp-libm-err): Likewise.
34978 (version.texi, stamp-version): Likewise.
34979 (.%c.texi): Likewise.
34980 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
34981 (mostlyclean): Remove target.
34982 (realclean): Remove target.
34983 (generated): Add new variable with contents from mostlyclean and
34984 realclean, remove entries duplicated in common-mostlyclean, add
34985 stamp-libm-err and stamp-version.
34986 (generated-dirs): Add libc directory.
34987 ($(inst_infodir)/libc.info): Install files from build dir.
34989 * manual/install.texi (Configuring and compiling): Adjust since
34990 the info files are not part of the tar ball anymore.
34992 2012-05-14 Andreas Jaeger <aj@suse.de>
34994 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
34997 2012-05-14 Joseph Myers <joseph@codesourcery.com>
35000 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
35001 to 2.2.0 where earlier.
35002 * sysdeps/unix/sysv/linux/configure: Regenerated.
35003 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
35004 Remove conditional code.
35005 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
35006 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
35007 Remove conditional code.
35008 [!__NR_lchown]: Likewise.
35009 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
35010 [__NR_lchown]: Likewise.
35011 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
35012 comment referencing __ASSUME_LCHOWN_SYSCALL.
35013 * sysdeps/unix/sysv/linux/i386/sigaction.c
35014 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35015 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35016 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
35017 Remove conditional code.
35018 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
35019 (__protocol_available): Remove #if 0 code.
35020 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
35022 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
35023 * sysdeps/unix/sysv/linux/kernel-features.h
35024 (__ASSUME_GETCWD_SYSCALL): Don't define.
35025 (__ASSUME_REALTIME_SIGNALS): Likewise.
35026 (__ASSUME_PREAD_SYSCALL): Likewise.
35027 (__ASSUME_PWRITE_SYSCALL): Likewise.
35028 (__ASSUME_POLL_SYSCALL): Likewise.
35029 (__ASSUME_LCHOWN_SYSCALL): Likewise.
35030 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
35032 (__ASSUME_SIOCGIFNAME): Don't define.
35033 (__ASSUME_MSG_NOSIGNAL): Likewise.
35034 (__ASSUME_SENDFILE): Define unconditionally.
35035 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
35036 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
35038 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
35039 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
35040 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
35041 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
35042 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
35043 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
35044 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
35045 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
35046 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
35047 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35048 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
35049 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
35050 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35051 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
35052 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35053 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35054 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
35055 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35056 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35057 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
35058 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
35059 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35060 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
35061 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
35062 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35063 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
35064 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35065 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35066 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
35067 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35068 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35069 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
35070 Remove conditional code.
35071 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35072 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
35073 Remove conditional code.
35074 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35075 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
35076 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
35077 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
35078 Remove conditional code.
35079 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35080 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
35081 Remove conditional code.
35082 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35083 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
35084 Remove conditional code.
35085 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35086 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
35087 Remove conditional code.
35088 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35089 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
35090 Remove conditional code.
35091 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35092 * sysdeps/unix/sysv/linux/sh/pwrite64.c
35093 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35094 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35095 * sysdeps/unix/sysv/linux/sigaction.c
35096 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35097 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35098 * sysdeps/unix/sysv/linux/sigpending.c
35099 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35100 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35101 * sysdeps/unix/sysv/linux/sigprocmask.c
35102 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35103 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35104 * sysdeps/unix/sysv/linux/sigsuspend.c
35105 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35106 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35107 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
35108 (__libc_missing_rt_sigs): Remove.
35109 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
35110 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
35111 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
35112 Remove conditional code.
35113 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
35114 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
35116 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
35117 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
35118 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
35119 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
35121 2012-05-14 Andreas Jaeger <aj@suse.de>
35123 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
35124 it's not used in glibc.
35125 (__coshm1): Likewise.
35126 (__acosh1p): Likewise.
35129 * manual/string.texi (Copying and Concatenation): Add missing
35130 variable in concat example.
35131 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
35133 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35136 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
35137 __builtin_clzl with __builtin_clzll.
35139 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35142 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
35145 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35147 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
35148 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
35149 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
35150 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
35152 2012-05-14 Mike Frysinger <vapier@gentoo.org>
35154 * NEWS: Update ia64 info.
35156 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
35158 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
35161 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
35163 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
35164 * sysdeps/unix/syscalls.list (dup3): Likewise.
35165 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
35166 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
35168 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
35170 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
35171 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
35173 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
35175 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
35177 (TLS_IE): Use mov/add instead of movq/addq to load thread
35179 (TLS_GD_PREFIX): New.
35182 2012-05-11 David S. Miller <davem@davemloft.net>
35184 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
35185 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
35186 (_FPU_SETCW): Likewise.
35188 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
35190 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
35191 is 32-byte aligned.
35193 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
35196 * iconvdata/gb18030.c: Update tables.
35197 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
35198 characters specially.
35199 (BODY for TO_LOOP): Add encoding of missing ranges.
35201 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
35204 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
35205 * sysdeps/mach/hurd/dup3.c: Likewise.
35206 * sysdeps/mach/hurd/readlinkat.c: Likewise.
35207 * sysdeps/powerpc/memmove.c:: Likewise.
35209 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
35211 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
35212 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
35214 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
35216 * elf/elf.h (R_X86_64_RELATIVE64): New.
35217 (R_X86_64_NUM): Updated.
35218 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
35219 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
35220 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
35221 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
35222 tst-quad1pie tst-quad2pie
35223 (modules-names): Add tst-quadmod1 tst-quadmod2.
35224 ($(objpfx)tst-quad1): New dependency.
35225 ($(objpfx)tst-quad2): Likewise.
35226 ($(objpfx)tst-quad1pie): Likewise.
35227 ($(objpfx)tst-quad2pie): Likewise.
35228 * sysdeps/x86_64/tst-quad1.c: New file.
35229 * sysdeps/x86_64/tst-quad1pie.c: New file.
35230 * sysdeps/x86_64/tst-quad2.c: Likewise.
35231 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
35232 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
35233 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
35234 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
35235 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
35237 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35239 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
35240 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
35241 * streams/stropts.h (t_scalar_t): Define type.
35243 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
35244 (_PATH_PRESERVE): Set to "/var/lib".
35245 (_PATH_RWHODIR): Set to "/var/spool/rwho".
35247 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
35250 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
35251 if __dir_mkfile succeeded.
35253 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
35254 checking for _hurd_dtablesize. Unlock it right after having
35255 finished _hurd_dtable allocation.
35257 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
35259 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
35260 * sysdeps/mach/hurd/configure: Regenerated.
35261 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
35262 special-casing to...
35263 * sysdeps/gnu/configure.in: ... this new file.
35264 * sysdeps/unix/sysv/linux/configure: Regenerated.
35265 * sysdeps/gnu/configure: New generated file.
35267 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
35268 for Linux: use nsec instead of usec, as well as:
35269 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
35270 members of type struct timespec.
35271 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
35273 (struct stat64): Likewise.
35274 (_STATBUF_ST_NSEC): New macro.
35275 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
35277 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
35278 __strtoul_internal rather than strtoul.
35280 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
35282 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
35285 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35287 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
35288 which preserves existing values.
35289 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
35291 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
35293 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
35294 TIMEOUT values. Return EINVAL for NFDS values either negative or
35295 greater than FD_SETSIZE.
35297 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35299 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
35300 allocated, call __vm_protect to finish enabling the existing space, and
35301 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
35302 allocate the remainder.
35304 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
35306 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
35307 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
35309 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35311 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
35312 sysdeps/mach/hurd/readlink.c.
35314 * posix/tst-sysconf.c (posix_options): Only use
35315 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
35316 _POSIX_SYNCHRONIZED_IO when they are defined
35317 * sysdeps/mach/hurd/bits/posix_opt.h:
35318 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
35319 (_XOPEN_REALTIME): Undefine macro.
35320 (_XOPEN_REALTIME_THREADS): Undefine macro.
35321 (_XOPEN_SHM): Undefine macro.
35322 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
35324 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
35326 (_POSIX_ASYNC_IO): Undefine macro.
35327 (_POSIX_PRIORITIZED_IO): Undefine macro.
35328 (_POSIX_SPIN_LOCKS): Define macro to -1.
35330 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
35331 SA_NODEFER, SA_RESETHAND.
35332 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
35333 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
35336 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
35338 * elf/Makefile (pldd-modules): Define unconditionally.
35340 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
35342 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
35344 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35346 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
35347 Return ENOENT when name is empty.
35348 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
35350 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
35352 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
35354 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
35356 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35358 Fix mlock in all cases except non-readable pages.
35359 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
35360 instead of VM_PROT_ALL as parameter to __vm_wire function.
35362 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
35363 (__mkdir): When path is `/', just fail with EEXIST.
35364 * sysdeps/mach/hurd/mkdirat.c: Likewise.
35366 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
35368 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
35369 <sys/uio.h> (for writev).
35370 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
35371 and <sys/param.h> (for MIN).
35373 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
35375 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
35376 REQUESTED_TIME. Properly set the remaining time and return EINTR
35379 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
35381 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
35382 Depend on against $(link-rpcuserlibs).
35384 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35386 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
35387 (__libc_stack_end): Do not use attribute_relro.
35388 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
35389 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
35390 to libthread-provided value.
35391 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
35394 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
35397 * bits/libc-lock.h (__libc_once_get): New macro.
35398 * sysdeps/mach/bits/libc-lock.h: Likewise.
35399 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
35400 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
35401 instead of using implementation details.
35403 * libio/fileops.c: Unconditionally include <kernel-features.h>.
35404 * libio/freopen.c: Likewise.
35405 * libio/freopen64.c: Likewise.
35406 * misc/syslog.c: Likewise.
35407 * nscd/connections.c: Likewise.
35408 * nscd/netgroupcache.c: Likewise.
35409 * sysdeps/posix/getcwd.c: Likewise.
35411 2012-05-10 Roland McGrath <roland@hack.frob.com>
35413 * math/w_ilogbf.c: Add #include <limits.h>.
35415 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35417 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
35418 path instead of returning without unlocking.
35420 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
35421 immediate-write ioctls.
35422 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
35424 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
35426 * sysdeps/mach/hurd/i386/init-first.c (init): Use
35427 __builtin_frame_address instead of making assumptions about the
35428 location of the return address relative to DATA. Force early load of
35429 the return address.
35430 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
35431 __builtin_frame_address.
35434 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
35435 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
35436 implement dup3 and do some further code clean-ups.
35437 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
35438 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
35440 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35442 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
35444 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
35445 HURD_CRITICAL_END around holding _hurd_dtable_lock.
35446 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
35447 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
35448 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
35451 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
35452 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
35453 when handler == SIG_ERR, not when handler != SIG_ERR.
35455 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
35457 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
35458 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
35461 accept4 for GNU Hurd.
35462 * include/sys/socket.h (__libc_accept4): New prototype.
35463 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
35464 to implement __libc_accept4.
35465 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
35467 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
35469 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
35470 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
35471 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
35472 signal-defines.sym.
35474 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35476 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
35478 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
35480 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
35481 assertion on O_CLOEXEC flag.
35482 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
35483 * hurd/intern-fd.c: Likewise.
35484 * hurd/port2fd.c: Likewise.
35486 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35489 * bits/in.h (IPV6_PKTINFO): Define new macro.
35490 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
35492 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35497 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
35498 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
35499 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
35500 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
35501 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
35502 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
35503 * math/libm-test.inc (logb_test) : Additional logb tests.
35505 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
35506 Andreas Jaeger <aj@suse.de>
35508 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
35509 * configure: Regenerated.
35510 * config.h.in (LINK_OBSOLETE_RPC): New macro.
35511 * config.make.in (link-obsolete-rpc): New substituted variable.
35512 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
35513 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
35514 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
35515 (shared-only-routines): Don't set it under [link-obsolete-rpc],
35516 so that libc.a contains the symbols.
35517 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
35518 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
35519 * sunrpc/auth_none.c: Likewise.
35520 * sunrpc/auth_unix.c: Likewise.
35521 * sunrpc/authdes_prot.c: Likewise.
35522 * sunrpc/authuxprot.c: Likewise.
35523 * sunrpc/clnt_gen.c: Likewise.
35524 * sunrpc/clnt_perr.c: Likewise.
35525 * sunrpc/clnt_raw.c: Likewise.
35526 * sunrpc/clnt_simp.c: Likewise.
35527 * sunrpc/clnt_tcp.c: Likewise.
35528 * sunrpc/clnt_udp.c: Likewise.
35529 * sunrpc/clnt_unix.c: Likewise.
35530 * sunrpc/des_crypt.c: Likewise.
35531 * sunrpc/des_soft.c: Likewise.
35532 * sunrpc/get_myaddr.c: Likewise.
35533 * sunrpc/key_call.c: Likewise.
35534 * sunrpc/key_prot.c: Likewise.
35535 * sunrpc/netname.c: Likewise.
35536 * sunrpc/pm_getmaps.c: Likewise.
35537 * sunrpc/pm_getport.c: Likewise.
35538 * sunrpc/pmap_clnt.c: Likewise.
35539 * sunrpc/pmap_prot.c: Likewise.
35540 * sunrpc/pmap_prot2.c: Likewise.
35541 * sunrpc/pmap_rmt.c: Likewise.
35542 * sunrpc/publickey.c: Likewise.
35543 * sunrpc/rpc_cmsg.c: Likewise.
35544 * sunrpc/rpc_common.c: Likewise.
35545 * sunrpc/rpc_dtable.c: Likewise.
35546 * sunrpc/rpc_prot.c: Likewise.
35547 * sunrpc/rpc_thread.c: Likewise.
35548 * sunrpc/rtime.c: Likewise.
35549 * sunrpc/svc.c: Likewise.
35550 * sunrpc/svc_auth.c: Likewise.
35551 * sunrpc/svc_raw.c: Likewise.
35552 * sunrpc/svc_run.c: Likewise.
35553 * sunrpc/svc_tcp.c: Likewise.
35554 * sunrpc/svc_udp.c: Likewise.
35555 * sunrpc/svc_unix.c: Likewise.
35556 * sunrpc/svcauth_des.c: Likewise.
35557 * sunrpc/xcrypt.c: Likewise.
35558 * sunrpc/xdr.c: Likewise.
35559 * sunrpc/xdr_array.c: Likewise.
35560 * sunrpc/xdr_float.c: Likewise.
35561 * sunrpc/xdr_intXX_t.c: Likewise.
35562 * sunrpc/xdr_mem.c: Likewise.
35563 * sunrpc/xdr_rec.c: Likewise.
35564 * sunrpc/xdr_ref.c: Likewise.
35565 * sunrpc/xdr_sizeof.c: Likewise.
35566 * sunrpc/xdr_stdio.c: Likewise.
35568 2012-05-10 Roland McGrath <roland@hack.frob.com>
35570 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
35571 change. Update copyright years.
35573 2012-05-10 Joseph Myers <joseph@codesourcery.com>
35575 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
35577 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
35578 Joseph Myers <joseph@codesourcery.com>
35579 Paul Pluzhnikov <ppluzhnikov@google.com>
35582 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
35584 [cross-compiling] (extra-libs): Likewise.
35585 [cross-compiling] (extra-libs-others): Likewise.
35586 [cross-compiling] (librpcsvc-routines): Likewise.
35587 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
35588 [cross-compiling] (omit-deps): Likewise.
35589 (sunrpc-CPPFLAGS): New variable.
35590 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
35591 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
35592 (cross-rpcgen-objs): New variable.
35593 (extra-objs): Append $(cross-rpcgen-objs).
35594 ($(cross-rpcgen-objs)): New rule.
35595 ($(objpfx)cross-rpcgen): Likewise.
35596 (rpcgen-cmd): Define to use $(built-program-file). Expand
35598 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
35599 ($(objpfx)x%.stmp): Likewise.
35600 * sunrpc/proto.h [IS_IN_build] (_): Define.
35601 [IS_IN_build] (_libc_intl_domainname): Likewise.
35603 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
35605 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
35606 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
35607 and R_X86_64_TPOFF64.
35609 2012-05-10 Joseph Myers <joseph@codesourcery.com>
35611 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
35612 sysdeps/unix/sysv/syscalls.list.
35615 * sysdeps/unix/sysv/syscalls.list: Remove file.
35617 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
35620 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
35621 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
35622 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
35623 (__LC_IDENTIFICATION): Make these macros useful in #if
35624 expressions, as required by C99.
35626 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
35628 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
35629 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
35632 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
35634 * stdlib/longlong.h: Updated from GCC.
35636 2012-05-09 Andreas Jaeger <aj@suse.de>
35638 * nscd/nscd.c (run_modes): Make named enum, reorder so that
35639 default is first entry.
35640 (run_mode): Set type.
35641 (main): Remove informal message about syslog.
35642 (options): Fix typo.
35645 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
35648 (llrintf): Likewise.
35649 (llrint): Likewise.
35652 (nearbyint): Likewise.
35653 (nearbyintf): Likewise.
35655 2012-05-09 Andreas Jaeger <aj@suse.de>
35656 Pedro Alves <palves@redhat.com>
35658 * nscd/nscd.c (run_mode): Use enum.
35659 (main): Cleanup coding style issue.
35661 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
35662 Andreas Jaeger <aj@suse.de>
35664 * nscd/nscd.c (go_background): Replaced with...
35665 (run_mode): ... this.
35666 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
35667 (options): Add -F --foreground.
35668 (main): Implement it.
35669 (parse_opt): Parse it.
35671 2012-05-09 Andreas Jaeger <aj@suse.de>
35674 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
35675 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
35676 -Wconversion warning.
35677 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
35680 2012-05-09 Joseph Myers <joseph@codesourcery.com>
35682 * conform/data/locale.h-data (NULL): Use macro-constant. Require
35684 (LC_ALL): Use macro-int-constant.
35685 (LC_COLLATE): Likewise.
35686 (LC_CTYPE): Likewise.
35687 (LC_MESSAGES): Likewise.
35688 (LC_MONETARY): Likewise.
35689 (LC_NUMERIC): Likewise.
35690 (LC_TIME): Likewise.
35691 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
35692 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
35693 [ISO || ISO99 || ISO11] (*_t): Do not allow.
35694 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
35696 [C99-based standards] (float_t): Expect type.
35697 [C99-based standards] (double_t): Expect type.
35698 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
35700 [C99-based standards] (HUGE_VALL): Likewise.
35701 [C99-based standards] (INFINITY): Likewise.
35702 [C99-based standards] (NAN): Likewise.
35703 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
35704 [C99-based standards] (FP_NAN): Likewise.
35705 [C99-based standards] (FP_NORMAL): Likewise.
35706 [C99-based standards] (FP_SUBNORMAL): Likewise.
35707 [C99-based standards] (FP_ZERO): Likewise.
35708 [C99-based standards] (FP_FAST_FMA): Use
35709 optional-macro-int-constant. Specify type. Require == 1.
35710 [C99-based standards] (FP_FAST_FMAF): Likewise.
35711 [C99-based standards] (FP_FAST_FMAL): Likewise.
35712 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
35713 [C99-based standards] (FP_ILOGBNAN): Likewise.
35714 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
35716 [C99-based standards] (MATH_ERREXCEPT): Likewise.
35717 [C99-based standards] (math_errhandling): Specify type.
35718 [ISO99 || ISO11] (signgam): Do not allow.
35719 [non-C99-based standards] (copysignf): Do not allow.
35720 [non-C99-based standards] (exp2f): Likewise.
35721 [non-C99-based standards] (log2f): Likewise.
35722 [non-C99-based standards] (modff): Allow.
35723 [non-C99-based standards] (erff): Do not allow.
35724 [non-C99-based standards] (erfcf): Likewise.
35725 [non-C99-based standards] (gammaf): Likewise.
35726 [non-C99-based standards] (hypotf): Likewise.
35727 [non-C99-based standards] (j0f): Likewise.
35728 [non-C99-based standards] (j1f): Likewise.
35729 [non-C99-based standards] (jnf): Likewise.
35730 [non-C99-based standards] (lgammaf): Likewise.
35731 [non-C99-based standards] (tgammaf): Likewise.
35732 [non-C99-based standards] (y0f): Likewise.
35733 [non-C99-based standards] (y1f): Likewise.
35734 [non-C99-based standards] (ynf): Likewise.
35735 [non-C99-based standards] (isnanf): Likewise.
35736 [non-C99-based standards] (acoshf): Likewise.
35737 [non-C99-based standards] (asinhf): Likewise.
35738 [non-C99-based standards] (atanhf): Likewise.
35739 [non-C99-based standards] (cbrtf): Likewise.
35740 [non-C99-based standards] (expm1f): Likewise.
35741 [non-C99-based standards] (ilogbf): Likewise.
35742 [non-C99-based standards] (log1pf): Likewise.
35743 [non-C99-based standards] (logbf): Likewise.
35744 [non-C99-based standards] (nextafterf): Likewise.
35745 [non-C99-based standards] (remainderf): Likewise.
35746 [non-C99-based standards] (rintf): Likewise.
35747 [non-C99-based standards] (scalbf): Likewise.
35748 [non-C99-based standards] (copysignl): Likewise.
35749 [non-C99-based standards] (exp2l): Likewise.
35750 [non-C99-based standards] (log2l): Likewise.
35751 [non-C99-based standards] (modfl): Allow.
35752 [non-C99-based standards] (erfl): Do not allow.
35753 [non-C99-based standards] (erfcl): Likewise.
35754 [non-C99-based standards] (gammal): Likewise.
35755 [non-C99-based standards] (hypotl): Likewise.
35756 [non-C99-based standards] (j0l): Likewise.
35757 [non-C99-based standards] (j1l): Likewise.
35758 [non-C99-based standards] (jnl): Likewise.
35759 [non-C99-based standards] (lgammal): Likewise.
35760 [non-C99-based standards] (tgammal): Likewise.
35761 [non-C99-based standards] (y0l): Likewise.
35762 [non-C99-based standards] (y1l): Likewise.
35763 [non-C99-based standards] (ynl): Likewise.
35764 [non-C99-based standards] (isnanl): Likewise.
35765 [non-C99-based standards] (acoshl): Likewise.
35766 [non-C99-based standards] (asinhl): Likewise.
35767 [non-C99-based standards] (atanhl): Likewise.
35768 [non-C99-based standards] (cbrtl): Likewise.
35769 [non-C99-based standards] (expm1l): Likewise.
35770 [non-C99-based standards] (ilogbl): Likewise.
35771 [non-C99-based standards] (log1pl): Likewise.
35772 [non-C99-based standards] (logbl): Likewise.
35773 [non-C99-based standards] (nextafterl): Likewise.
35774 [non-C99-based standards] (remainderl): Likewise.
35775 [non-C99-based standards] (rintl): Likewise.
35776 [non-C99-based standards] (scalbl): Likewise.
35777 [ISO || ISO99 || ISO11] (*_t): Do not allow.
35778 [non-C99-based standards] (FP_*): Do not allow.
35779 [C99-based standards] (FP_*): Change to
35780 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
35781 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
35783 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
35784 (SIG_ERR): Likewise.
35785 [X/Open-based standards] (SIG_HOLD): Likewise.
35786 (SIG_IGN): Likewise.
35787 (SIGABRT): Use macro-int-constant. Specify type. Require
35789 (SIGFPE): Likewise.
35790 (SIGILL): Likewise.
35791 (SIGINT): Likewise.
35792 (SIGSEGV): Likewise.
35793 (SIGTER): Likewise.
35794 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
35795 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
35796 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
35797 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
35798 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
35799 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
35800 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
35801 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
35802 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
35803 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
35804 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
35805 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
35806 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
35807 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
35808 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
35809 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
35810 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
35811 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
35812 [X/Open-based standards] (SIGTRAP): Likewise.
35813 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
35814 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
35815 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
35816 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
35817 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
35820 2012-05-08 Ian Wienand <ianw@vmware.com>
35823 * time/tzset.c (__tzset_parse_tz): Update default rules for
35824 daylight time changes in the Energy Policy Act of 2005.
35826 2012-05-09 Andreas Jaeger <aj@suse.de>
35829 * elf/ldconfig.c (parse_conf): Change string to make clear that
35830 ldconfig only issued a warning if ld.so.conf does not exist.
35832 2012-05-08 David S. Miller <davem@davemloft.net>
35834 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
35835 movxtod instead of popping the value on the stack.
35837 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35839 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
35841 * config.h.in: Add HAVE_ARM_PCS_VFP.
35843 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
35846 * include/features.h: Warn if user requests __FORTIFY_SOURCE
35847 checking but the checks are disabled for any reason.
35849 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
35851 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
35852 and ELF64_R_TYPE with ELFW(R_TYPE).
35854 2012-05-08 Joseph Myers <joseph@codesourcery.com>
35856 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
35857 (ulimit): Likewise.
35859 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
35860 (settimeofday): Likewise.
35862 2012-05-08 Mike Frysinger <vapier@gentoo.org>
35864 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
35865 a struct th_u2 inside the union, and move tu_block/tu_code into
35866 a new th_u3 union of tu_block/tu_code inside of that. Move
35867 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
35868 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
35869 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
35870 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
35871 (th_stuff): Change to th_u1.tu_stuff.
35873 (th_msg): Change to th_u1.th_u2.tu_data.
35875 2012-05-07 David S. Miller <davem@davemloft.net>
35877 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35880 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
35881 (SETUP_PIC_REG): Use it.
35882 (SETUP_PIC_REG_LEAF): Use it.
35884 2012-05-07 Joseph Myers <joseph@codesourcery.com>
35888 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
35890 (EXPL_FINITE): Likewise.
35891 (FLDLOG): Likewise.
35892 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
35893 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
35895 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
35897 (EXPL_FINITE): Likewise.
35898 (FLDLOG): Likewise.
35899 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
35900 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
35902 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
35903 test of -max_value argument for long double.
35904 * sysdeps/i386/fpu/libm-test-ulps: Update.
35905 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35907 2012-05-06 David S. Miller <davem@davemloft.net>
35909 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
35910 quad soft-float symbols whose references which are compiler
35912 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
35914 2012-05-06 Joseph Myers <joseph@codesourcery.com>
35918 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
35920 (EXPL_FINITE): Likewise.
35921 (FLDLOG): Likewise.
35924 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
35925 Adjust comments for base varying.
35926 (__expl_finite): Change alias to EXPL_FINITE.
35927 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
35929 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
35930 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
35931 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
35932 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
35933 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
35935 (EXPL_FINITE): Likewise.
35936 (FLDLOG): Likewise.
35939 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
35940 Adjust comments for base varying.
35941 (__expl_finite): Change alias to EXPL_FINITE.
35942 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
35944 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35947 * math/libm-test.inc (check_float_internal): Correct ulp
35948 calculation for subnormal expected results.
35950 2012-05-06 Andreas Jaeger <aj@suse.de>
35952 * Makeconfig (+math-flags): New, set to -frounding-math.
35953 (+cflags): Add +math-flags so that all of glibc gets compiled with
35956 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
35958 2012-05-05 Joseph Myers <joseph@codesourcery.com>
35960 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
35966 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
35967 (__ieee754_expl): Allow for and saturate large arguments.
35968 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
35969 (u_threshold): Likewise.
35970 (__exp): Call __ieee754_exp before checking for overflow and
35972 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
35973 (u_threshold): Likewise.
35974 (__expf): Call __ieee754_expf before checking for overflow and
35976 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
35977 (u_threshold): Likewise.
35978 (__expl): Call __ieee754_expl before checking for overflow and
35980 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
35981 (__ieee754_expl): Allow for and saturate large arguments.
35982 * math/libm-test.inc (exp_test): Add another test. Do not allow
35983 missing overflow exception on overflow.
35984 (expm1_test): Do not allow missing overflow exception on overflow.
35986 * sysdeps/i386/fpu/e_expl.c: Move to ...
35987 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
35988 rather than using inline asm.
35989 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
35990 * sysdeps/x86_64/fpu/e_expl.S: Copy from
35991 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
35993 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
35996 (signal): Likewise.
36000 2012-05-04 Joseph Myers <joseph@codesourcery.com>
36002 * sysdeps/unix/syscalls.list (adjtime): Add entry from
36003 sysdeps/unix/common/syscalls.list.
36004 (fchmod): Likewise.
36005 (fchown): Likewise.
36006 (ftruncate): Likewise.
36007 (getrusage): Likewise.
36008 (gettimeofday): Likewise.
36009 (setpgid): Likewise.
36010 (setregid): Likewise.
36011 (setreuid): Likewise.
36012 (sigaction): Likewise.
36013 (truncate): Likewise.
36014 (vhangup): Likewise.
36015 * sysdeps/unix/common/syscalls.list: Remove file.
36016 * sysdeps/unix/bsd/Implies: Don't include unix/common.
36017 * sysdeps/unix/sysv/linux/Implies: Likewise.
36019 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
36021 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
36022 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
36023 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
36025 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
36027 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
36029 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
36030 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
36032 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
36033 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
36035 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
36036 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
36038 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
36039 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
36041 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
36042 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
36044 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
36045 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
36047 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
36049 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
36051 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
36053 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
36055 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
36056 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
36058 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
36060 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
36062 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
36064 2012-05-04 Joseph Myers <joseph@codesourcery.com>
36066 * sysdeps/unix/common/bits/dirent.h: Remove file.
36067 * sysdeps/unix/common/bits/fcntl.h: Likewise.
36069 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
36070 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
36071 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
36072 * sysdeps/unix/bsd/isatty.c: Likewise.
36073 * sysdeps/unix/bsd/tcdrain.c: Likewise.
36074 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
36075 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
36077 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36080 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
36081 long double comparison inaccuracies.
36082 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
36083 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36085 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
36087 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
36088 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
36090 2012-05-04 Joseph Myers <joseph@codesourcery.com>
36093 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
36094 nonzero digits before rounding a hex value.
36095 * stdlib/tst-strtod.c (tests): Add another test.
36097 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36099 * sysdeps/s390/fpu/libm-test-ulps: Update.
36101 2012-05-03 Andreas Jaeger <aj@suse.de>
36103 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
36104 does not get optimized out.
36105 (malloc_opt_barrier): New.
36107 2012-05-03 Andreas Jaeger <aj@suse.de>
36108 Roland McGrath <roland@hack.frob.com>
36110 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
36111 intermediate file deletion.
36112 (generated): Add .symlist files.
36114 2012-05-03 Joseph Myers <joseph@codesourcery.com>
36117 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
36118 Redirect under this condition.
36119 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
36120 [__USE_GNU] (__dprintf_chk): Not under this condition.
36121 [__USE_GNU] (__vdprintf_chk): Likewise.
36122 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
36123 under this condition.
36124 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
36125 [__USE_XOPEN2K8] (dprintf): Define under this condition.
36126 [__USE_XOPEN2K8] (vdprintf): Likewise.
36127 [__USE_GNU] (__dprintf_chk): Not under this condition.
36128 [__USE_GNU] (__vdprintf_chk): Likewise.
36129 [__USE_GNU] (dprintf): Likewise.
36130 [__USE_GNU] (vdprintf): Likewise.
36132 2012-05-03 Roland McGrath <roland@hack.frob.com>
36134 * elf/Makefile (common-generated): Set this instead of generated for
36135 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
36136 $(all-built-dso)-derived lists.
36138 2012-05-03 Andreas Jaeger <aj@suse.de>
36140 * sysdeps/i386/fpu/libm-test-ulps: Update.
36143 * FAQ.in: Likewise.
36144 * scripts/gen-FAQ.pl: Likewise.
36145 * manual/install.texi (Installation): Point to online location of
36147 * Makefile (files-for-dist): Remove FAQ.
36150 2012-05-02 Allan McRae <allan@archlinux.org>
36152 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
36153 (LDFLAGS-reldepmod5.so): Likewise.
36154 (LDFLAGS-reldep6mod1.so): Likewise.
36155 (LDFLAGS-reldep6mod4.so): Likewise.
36156 (LDFLAGS-reldep8mod3.so): Likewise.
36157 (LDFLAGS-unload4mod1.so): Likewise.
36158 (LDFLAGS-unload4mod2.so): Likewise.
36159 (LDFLAGS-tst-initorder): Likewise.
36160 (LDFLAGS-tst-initordera2.so): Likewise.
36161 (LDFLAGS-tst-initordera3.so): Likewise.
36162 (LDFLAGS-tst-initordera4.so): Likewise.
36163 (LDFLAGS-tst-initorderb2.so): Likewise.
36164 (LDFLAGS-noload): Likewise.
36165 (LDFLAGS-next): Likewise.
36166 (LDFLAGS-order2mod1.so): Likewise.
36167 (LDFLAGS-order2mod2.so): Likewise.
36168 (LDFLAGS-tst-initorder2): Likewise.
36169 (LDFLAGS-tst-initorder2a.so): Likewise.
36170 (LDFLAGS-tst-initorder2b.so): Likewise.
36171 (LDFLAGS-tst-initorder2c.so): Likewise.
36172 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
36174 2012-05-02 David S. Miller <davem@davemloft.net>
36176 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36178 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
36181 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
36183 2012-05-02 Andreas Jaeger <aj@suse.de>
36185 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
36186 since we manipulate rounding mode.
36187 (CPPFLAGS-test-idouble.c): Likewise.
36188 (CPPFLAGS-test-ifloat.c): Likewise.
36189 (CFLAGS-test-ldouble.c): Likewise.
36190 (CFLAGS-test-double.c): Likewise.
36191 (CFLAGS-test-float.c): Likewise.
36192 (CFLAGS-test-misc.c): Likewise.
36193 (CFLAGS-test-test-fenv.c): Likewise.
36195 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36199 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
36200 comparisons to determine direction to adjust input.
36202 2012-05-01 Roland McGrath <roland@hack.frob.com>
36204 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
36205 output to the target.
36207 * scripts/localplt.awk: New file.
36208 * elf/Makefile ($(objpfx)check-localplt): Target removed.
36209 (check-localplt-CFLAGS): Variable removed.
36210 ($(all-built-dso:=.jmprel)): New static pattern rule.
36211 (generated): Add those targets.
36212 (localplt-built-dso): New variable.
36213 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
36215 * elf/check-localplt.c: File removed.
36217 * scripts/check-execstack.awk: New file.
36218 * elf/Makefile ($(objpfx)check-execstack): Target removed.
36219 (check-execstack-CFLAGS): Variable removed.
36220 ($(objpfx)check-execstack.h): Target removed.
36221 ($(objpfx)execstack-default): New target.
36222 (generated): Add that instead of check-execstack.h.
36223 ($(all-built-dso:=.phdr)): New static pattern rule.
36224 (generated): Add those targets.
36225 * elf/check-execstack.c: File removed.
36227 * scripts/check-textrel.awk: New file.
36228 * elf/Makefile ($(objpfx)check-textrel): Target removed.
36229 (check-textrel-CFLAGS): Variable removed.
36230 (all-built-dso): Use := to define.o
36231 ($(all-built-dso:=.dyn)): New static pattern rule.
36232 (generated): Add those targets.
36233 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
36234 * config.make.in (READELF): New substituted variable.
36235 * elf/check-textrel.c: File removed.
36237 2012-05-01 Joseph Myers <joseph@codesourcery.com>
36239 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
36241 * conform/data/ctype.h-data [C99-based standards] (isblank):
36243 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
36244 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
36245 [ISO || ISO99 || ISO11] (*_t): Do not allow.
36246 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
36247 Specify type. Require positive value.
36248 (EILSEQ): Likewise.
36249 (ERANGE): Likewise.
36250 [ISO || POSIX] (EILSEQ): Do not expect.
36251 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
36252 Specify type. Require positive value.
36253 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
36254 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
36255 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
36256 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
36257 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
36258 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
36259 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
36260 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
36261 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
36262 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
36263 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
36264 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
36265 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
36266 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
36267 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
36268 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
36269 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
36270 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
36271 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
36272 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
36273 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
36274 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
36275 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
36276 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
36277 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
36278 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
36279 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
36280 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
36281 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
36282 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
36283 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
36284 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
36285 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
36286 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
36287 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
36288 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
36289 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
36290 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
36291 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
36292 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
36293 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
36294 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
36295 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
36296 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
36297 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
36298 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
36299 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
36300 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
36301 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
36302 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
36303 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
36304 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
36305 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
36306 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
36307 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
36308 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
36309 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
36310 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
36311 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
36312 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
36313 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
36314 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
36315 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
36316 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
36317 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
36318 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
36319 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
36320 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
36321 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
36322 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
36323 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
36324 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
36325 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
36326 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
36327 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
36328 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
36329 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
36331 (FLT_ROUNDS): Expect as macro, not constant.
36332 (FLT_MANT_DIG): Use macro-int-constant.
36333 (DBL_MANT_DIG): Likewise.
36334 (LDBL_MANT_DIG): Likewise.
36335 (FLT_DIG): Likewise.
36336 (DBL_DIG): Likewise.
36337 (LDBL_DIG): Likewise.
36338 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
36339 (DBL_MIN_EXP): Likewise.
36340 (LDBL_MIN_EXP): Likewise.
36341 (FLT_MAX_EXP): Use macro-int-constant.
36342 (DBL_MAX_EXP): Likewise.
36343 (LDBL_MAX_EXP): Likewise.
36344 (FLT_MAX_10_EXP): Likewise.
36345 (DBL_MAX_10_EXP): Likewise.
36346 (LDBL_MAX_10_EXP): Likewise.
36347 (FLT_MAX): Use macro-constant.
36348 (DBL_MAX): Likewise.
36349 (LDBL_MAX): Likewise.
36350 (FLT_EPSILON): Use macro-constant. Give upper bound.
36351 (DBL_EPSILON): Likewise.
36352 (LDBL_EPSILON): Likewise.
36353 (FLT_MIN): Likewise.
36354 (DBL_MIN): Likewise.
36355 (LDBL_MIN): Likewise.
36356 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
36357 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
36358 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
36359 [ISO11] (FLT_HAS_SUBNORM): Likewise.
36360 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
36361 [ISO11] (DBL_DECIMAL_DIG): Likewise.
36362 [ISO11] (FLT_DECIMAL_DIG): Likewise.
36363 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
36364 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
36365 [ISO11] (FLT_TRUE_MIN): Likewise.
36366 [ISO11] (LDBL_TRUE_MIN): Likewise.
36367 [ISO || ISO99 || ISO11] (*_t): Do not allow.
36368 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
36369 (SCHAR_MIN): Use macro-int-constant. Specify type.
36370 (SCHAR_MAX): Likewise.
36371 (UCHAR_MAX): Likewise.
36372 (CHAR_MIN): Likewise.
36373 (CHAR_MAX): Likewise.
36374 (MB_LEN_MAX): Use macro-int-constant.
36375 (SHRT_MIN): Use macro-int-constant. Specify type.
36376 (SHRT_MAX): Likewise.
36377 (USHRT_MAX): Likewise.
36378 (INT_MAX): Likewise.
36379 (INT_MIN): Use macro-int-constant. Specify type. Make upper
36381 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
36383 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
36385 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
36386 bound negative. Suffix upper bound with "L".
36387 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
36389 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
36391 [C99-based standards] (LLONG_MAX): Likewise.
36392 [C99-based standards] (ULLONG_MAX): Likewise.
36393 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
36395 [ISO11] (max_align_t): Require type.
36396 [ISO || ISO99 || ISO11] (*_t): Do not allow.
36398 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
36399 from $CFLAGS, without defining away __attribute__ calls.
36400 (checknamespace): Use $CFLAGS_namespace.
36402 * conform/conformtest.pl (@keywords): Only include C99 keywords
36403 for standards based on C99 or C11.
36405 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
36407 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
36410 * conform/conformtest.pl: Handle "macro-int-constant" and test for
36411 usability of symbols in #if.
36413 * conform/conformtest.pl: If macro or constant types start
36414 "promoted:", expect the symbol to be of the following type
36415 promoted by the integer promotions.
36417 * conform/conformtest.pl: Parse all "constant" and "macro" lines
36418 in one place. Also handle "macro-constant".
36420 * conform/conformtest.pl: Only accept expected macro values with
36421 "==". Parse all "macro" lines in one place.
36422 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
36424 * conform/conformtest.pl: Handle braced types on "constant" lines
36425 instead of handling "typed-constant".
36426 * conform/data/signal.h-data: Use "constant" instead of
36429 * conform/conformtest.pl: Handle "optional-" at start of lines in
36430 one place rather than duplicating several cases. Handle each
36431 format of "macro" line with initial "optional-".
36433 * conform/conformtest.pl: Only accept expected constant or
36434 optional-constant values with "==". Parse all "constant" lines in
36435 one place. Parse all "optional-constant" lines in one place.
36436 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
36437 * conform/data/fmtmsg.h-data: Likewise.
36438 * conform/data/netinet/in.h-data: Likewise.
36439 * conform/data/tar.h-data: Likewise.
36440 * conform/data/limits.h-data: Use "==" form on "constant" and
36441 "optional-constant" lines.
36443 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
36444 Use -std=c99 for XOPEN2K.
36445 (@knownproblems): Remove.
36446 (newtoken): Don't check %isknown.
36448 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
36449 Do not expect macro.
36450 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
36451 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
36452 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
36453 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
36454 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
36455 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
36456 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
36457 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
36458 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
36459 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
36460 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
36461 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
36462 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
36463 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
36464 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
36465 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
36466 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
36467 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
36468 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
36469 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
36470 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
36471 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
36472 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
36473 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
36474 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
36475 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
36476 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
36477 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
36478 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
36479 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
36480 [XPG3] (acosh): Likewise.
36481 [XPG3] (asinh): Likewise.
36482 [XPG3] (atanh): Likewise.
36483 [XPG3] (cbrt): Likewise.
36484 [XPG3] (expm1): Likewise.
36485 [XPG3] (ilogb): Likewise.
36486 [XPG3] (log1p): Likewise.
36487 [XPG3] (logb): Likewise.
36488 [XPG3] (nextafter): Likewise.
36489 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
36490 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
36491 [XPG3] (remainder): Likewise.
36492 [XPG3] (rint): Likewise.
36493 [XPG3 || XPG4 || UNIX98] (round): Likewise.
36494 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
36495 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
36496 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
36497 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
36498 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
36499 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
36500 [UNIX98 || XOPEN2K] (scalb): Expect.
36501 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
36502 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
36503 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
36504 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
36505 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
36506 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
36507 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
36508 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
36509 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
36510 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
36511 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
36512 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
36513 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
36514 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
36515 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
36516 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
36517 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
36518 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
36519 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
36520 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
36521 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
36522 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
36523 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
36524 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
36525 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
36526 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
36527 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
36528 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
36529 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
36530 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
36531 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
36532 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
36533 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
36534 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
36535 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
36536 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
36537 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
36538 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
36539 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
36540 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
36541 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
36542 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
36543 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
36544 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
36545 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
36546 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
36547 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
36548 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
36549 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
36550 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
36551 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
36552 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
36553 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
36554 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
36555 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
36556 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
36557 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
36558 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
36559 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
36560 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
36561 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
36562 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
36563 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
36564 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
36565 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
36566 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
36567 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
36568 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
36569 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
36570 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
36571 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
36572 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
36573 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
36574 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
36575 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
36576 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
36577 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
36578 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
36579 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
36580 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
36581 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
36582 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
36583 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
36584 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
36585 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
36586 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
36587 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
36588 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
36589 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
36590 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
36591 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
36592 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
36593 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
36594 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
36595 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
36596 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
36597 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
36598 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
36599 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
36600 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
36601 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
36602 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
36603 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
36604 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
36605 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
36606 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
36607 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
36608 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
36609 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
36610 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
36611 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
36612 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
36613 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
36614 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
36615 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
36616 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
36617 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
36618 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
36619 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
36620 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
36621 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
36622 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
36623 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
36624 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
36625 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
36626 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
36627 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
36628 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
36629 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
36630 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
36631 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
36632 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
36633 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
36634 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
36635 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
36636 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
36637 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
36639 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
36640 _XOPEN_SOURCE_EXTENDED for XPG4.
36642 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
36644 * Makeconfig (localtime): Remove variable.
36645 (inst_localtime-file): Likewise.
36647 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
36649 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
36651 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
36653 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
36655 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
36657 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
36659 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
36661 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
36663 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
36665 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
36668 2012-05-01 Joseph Myers <joseph@codesourcery.com>
36672 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
36673 comparisons to determine direction to adjust input.
36674 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
36675 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
36676 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
36678 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
36680 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
36682 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
36683 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
36685 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
36687 * math/libm-test.inc (nexttoward_test): Add more tests.
36689 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
36692 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
36693 in version GLIBC_2.1, not GLIBC_2.0.
36694 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
36697 2012-04-30 Joseph Myers <joseph@codesourcery.com>
36700 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
36702 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
36703 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
36704 * math/libm-test.inc (acos_test): Add more tests.
36705 (asin_test): Likewise.
36706 * sysdeps/i386/fpu/libm-test-ulps: Update.
36707 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36710 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
36712 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
36713 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
36714 * math/libm-test.inc (acos_test_tonearest): New function.
36715 (acos_test_towardzero): Likewise.
36716 (acos_test_downward): Likewise.
36717 (acos_test_upward): Likewise.
36718 (asin_test_tonearest): Likewise.
36719 (asin_test_towardzero): Likewise.
36720 (asin_test_downward): Likewise.
36721 (asin_test_upward): Likewise.
36722 (main): Call the new functions.
36723 * sysdeps/i386/fpu/libm-test-ulps: Update.
36724 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36728 * math/e_exp10.c: Include <float.h>.
36729 (__ieee754_exp10): Handle underflow here rather than multiplying
36730 large negative argument by M_LN10.
36731 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
36733 * math/e_exp10l.c: Include <float.h>.
36734 (__ieee754_exp10l): Handle underflow here rather than multiplying
36735 large negative argument by M_LN10l.
36736 * math/libm-test.inc (exp10_test): Add another test. Do not allow
36737 spurious overflow exception on underflow.
36739 2012-04-29 Marek Polacek <polacek@redhat.com>
36741 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
36742 (__fortify_function): New macro.
36743 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
36744 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
36745 __extern_always_inline.
36746 * libio/bits/stdio2.h: Likewise.
36747 * libio/bits/stdio.h: Likewise.
36748 * string/string.h: Likewise.
36749 * string/bits/string3.h: Likewise.
36750 * include/stdio.h: Likewise.
36751 * stdlib/bits/stdlib.h: Likewise.
36752 * stdlib/stdlib.h: Likewise.
36753 * rt/bits/mqueue2.h: Likewise.
36754 * rt/mqueue.h: Likewise.
36755 * posix/bits/unistd.h: Likewise.
36756 * posix/unistd.h: Likewise.
36757 * io/bits/poll2.h: Likewise.
36758 * io/bits/fcntl2.h: Likewise.
36759 * io/fcntl.h: Likewise.
36760 * io/sys/poll.h: Likewise.
36761 * misc/bits/syslog.h: Likewise.
36762 * misc/bits/syslog-ldbl.h: Likewise.
36763 * misc/sys/syslog.h: Likewise.
36764 * socket/bits/socket2.h: Likewise.
36765 * socket/sys/socket.h: Likewise.
36766 * debug/tst-chk1.c: Likewise.
36767 * wcsmbs/bits/wchar2.h: Likewise.
36768 * wcsmbs/bits/wchar-ldbl.h: Likewise.
36769 * wcsmbs/wchar.h: Likewise.
36771 2012-04-29 Andreas Jaeger <aj@suse.de>
36773 * Makerules (tests): Remove enable-check-abi protection.
36774 (check-abi-warn): Remove.
36775 (check-abi-%): Remove check-abi-warn usage.
36777 * configure.in: Remove check-abi configure option.
36778 * configure: Regenerated.
36779 * config.make.in (enable-check-abi): Remove.
36781 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
36784 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
36785 double functions to double *_finite functions.
36788 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
36789 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
36791 * stdio-common/Makefile (tests): Add tst-sprintf3.
36792 * stdio-common/tst-sprintf3.c: New file.
36794 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
36795 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
36797 2012-04-28 Joseph Myers <joseph@codesourcery.com>
36799 * conform/conformtest.pl: Remove duplicate typed-constant
36802 2012-04-28 David S. Miller <davem@davemloft.net>
36804 * Makerules (%.abilist): Add vpath on sysdep_dirs.
36805 (check-abi-%): Remove AWK script prerequisite and explicit
36807 (check-abi): Rewrite to just diff the symlist with the abilist.
36808 (config-tls, config-abi-config): Delete, no longer used.
36809 (update-abi-%): Remove AWK script and explicit abilist directory.
36810 (update-abi): Rewrite to simply compare and conditionally copy the
36811 symlist and the sysdep abilist file. Remove update-abi-config
36813 * abilist/ld.abilist: Remove.
36814 * abilist/libBrokenLocale.abilist: Remove.
36815 * abilist/libanl.abilist: Remove.
36816 * abilist/libcrypt.abilist: Remove.
36817 * abilist/libdl.abilist: Remove.
36818 * abilist/librt.abilist: Remove.
36819 * abilist/libthread_db.abilist: Remove.
36820 * abilist/libutil.abilist: Remove.
36821 * scripts/extract-abilist.awk: Remove.
36822 * scripts/merge-abilist.awk: Remove.
36823 * sysdeps/generic/libcidn.abilist: New file.
36824 * sysdeps/generic/libnss_compat.abilist: New file.
36825 * sysdeps/generic/libnss_db.abilist: New file.
36826 * sysdeps/generic/libnss_dns.abilist: New file.
36827 * sysdeps/generic/libnss_files.abilist: New file.
36828 * sysdeps/generic/libnss_hesiod.abilist: New file.
36829 * sysdeps/generic/libnss_nis.abilist: New file.
36830 * sysdeps/generic/libnss_nisplus.abilist: New file.
36831 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
36832 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
36833 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
36835 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
36836 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
36837 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
36838 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
36839 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
36840 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
36841 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
36842 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
36843 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
36845 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
36846 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
36847 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
36848 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
36850 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
36851 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
36852 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
36853 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
36854 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
36855 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
36857 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
36858 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
36859 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
36861 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
36862 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
36864 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
36866 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
36868 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
36870 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
36872 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
36874 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
36876 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
36878 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
36880 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
36882 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
36884 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
36886 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
36888 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
36890 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
36892 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
36894 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
36896 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
36898 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
36900 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
36902 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
36904 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
36906 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
36908 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
36910 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
36912 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
36914 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
36915 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
36917 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
36919 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
36921 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
36923 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
36925 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
36927 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
36929 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
36931 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
36933 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
36935 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
36937 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
36939 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
36940 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
36942 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
36944 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
36946 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
36948 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
36950 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
36952 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
36954 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
36956 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
36958 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
36960 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
36962 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
36964 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
36965 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
36966 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
36968 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
36969 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
36970 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
36971 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
36972 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
36973 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
36974 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
36975 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
36976 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
36977 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
36978 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
36979 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
36981 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
36983 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
36985 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
36987 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
36989 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
36991 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
36993 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
36995 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
36997 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
36999 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
37001 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
37003 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
37004 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
37006 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
37008 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
37010 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
37012 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
37014 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
37016 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
37018 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
37020 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
37022 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
37024 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
37026 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
37029 2012-04-28 Joseph Myers <joseph@codesourcery.com>
37031 * conform/conformtest.pl: Fix typo in handling typed-constant from
37034 2012-04-27 Joseph Myers <joseph@codesourcery.com>
37036 * README: Cut down references to pre-2.6 Linux kernels and
37037 Linuxthreads. Update lists of configurations in libc and ports
37038 and sort alphabetically. Say "or newer" with Linux kernel version
37041 * config.h.in [IS_IN_build]: Allow compiling without optimization.
37043 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
37046 * math/libm-test.inc (logb_test_downward): New test to expose
37047 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
37050 2012-04-27 Joseph Myers <joseph@codesourcery.com>
37053 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
37055 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
37056 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
37058 2012-04-26 Joseph Myers <joseph@codesourcery.com>
37060 * sysdeps/unix/i386/brk.S: Remove file.
37061 * sysdeps/unix/i386/dl-brk.S: Likewise.
37062 * sysdeps/unix/i386/pipe.S: Likewise.
37063 * sysdeps/unix/i386/sigreturn.S: Likewise.
37064 * sysdeps/unix/i386/syscall.S: Likewise.
37065 * sysdeps/unix/i386/vfork.S: Likewise.
37066 * sysdeps/unix/i386/wait.S: Likewise.
37068 * sysdeps/unix/common/tcsendbrk.c: Move to ...
37069 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
37071 * configure.in (arm*-none*): Do not allow without
37072 --enable-hacker-mode.
37073 (netbsd*): Remove case setting base_os.
37074 (386bsd*): Likewise.
37075 (freebsd*): Likewise.
37078 (sunos*): Likewise.
37079 (ultrix*): Likewise.
37080 (newsos*): Likewise.
37081 (dynix*): Likewise.
37087 (minix*): Likewise.
37088 (irix4*): Likewise.
37089 (irix6*): Likewise.
37090 (solaris[2-9]*): Likewise.
37092 * configure: Regenerated.
37094 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37097 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
37098 overflow or cancellation in calculating denominator.
37099 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
37100 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
37101 down expression to avoid unexpected rounding in newer GCCs.
37102 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
37104 2012-04-26 David S. Miller <davem@davemloft.net>
37106 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
37107 long-double compat symbols.
37108 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
37109 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
37110 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
37111 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
37112 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
37113 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
37114 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
37115 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
37116 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
37117 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
37118 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
37119 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
37120 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
37122 2012-04-25 David S. Miller <davem@davemloft.net>
37124 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
37125 HWCAP_* values only after the memory barriers have been defined.
37126 (atomic_full_barrier): Define.
37127 (atomic_read_barrier): Define.
37128 (atomic_write_barrier): Define.
37130 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
37132 * shlib-versions: Add libgcc_s version information.
37133 * sysdeps/generic/libgcc_s.h: Remove.
37134 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
37136 * sysdeps/gnu/unwind-resume.c: Likewise.
37137 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
37139 2012-04-25 David S. Miller <davem@davemloft.net>
37141 * sysdeps/unix/sparc/brk.S: Delete.
37142 * sysdeps/unix/sparc/dl-brk.S: Delete.
37143 * sysdeps/unix/sparc/pipe.S: Delete.
37144 * sysdeps/unix/sparc/sysdep.S: Delete.
37145 * sysdeps/unix/sparc/sysdep.h: Delete.
37146 * sysdeps/unix/sparc/vfork.S: Delete.
37147 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
37148 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
37149 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
37150 (ret_ERRVAL, r0, r1, MOVE): Define.
37151 (JUMPTARGET): Remove.
37152 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
37153 sysdeps/unix/sparc/sysdep.h
37154 (ENTRY, END): Remove.
37155 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
37157 2012-04-25 Joseph Myers <joseph@codesourcery.com>
37159 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
37160 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
37163 * timezone/README: Update upstream location and email address for
37165 * timezone/zdump.c: Update from tzcode 2012b.
37166 * timezone/zic.c: Likewise.
37168 * configure.in (libc_cv_as_needed): Remove test.
37169 * configure: Regenerated.
37170 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
37171 conditional definition.
37172 [$(have-as-needed) != yes] (no-as-needed): Likewise.
37173 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
37174 * config.make.in (have-as-needed): Remove variable.
37176 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
37177 Paul Pluzhnikov <ppluzhnikov@google.com>
37179 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
37182 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
37184 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
37185 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
37186 * sysdeps/sh/strlen.S: Likewise.
37188 2012-04-24 Joseph Myers <joseph@codesourcery.com>
37190 * sysdeps/unix/fork.S: Remove file.
37191 * sysdeps/unix/i386/fork.S: Likewise.
37192 * sysdeps/unix/sparc/fork.S: Likewise.
37194 * sysdeps/unix/system.c: Remove file.
37195 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
37197 * sysdeps/unix/getegid.S: Remove file.
37198 * sysdeps/unix/geteuid.S: Likewise.
37200 2012-04-24 Roland McGrath <roland@hack.frob.com>
37202 * scripts/check-localplt.awk: New file.
37203 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
37205 * scripts/data/localplt-generic.data: Add a comment.
37207 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
37208 NODE when __dir_mkfile failed.
37209 * sysdeps/mach/hurd/symlinkat.c: Likewise.
37210 Reported by Ludovic Courtès <ludo@gnu.org>.
37212 2012-04-24 Andreas Jaeger <aj@suse.de>
37214 * Makerules (common-clean): Also remove gen-as-const-headers
37217 2012-04-24 Joseph Myers <joseph@codesourcery.com>
37219 * Makerules (native-compile): Do not change working directory for
37220 build. Use $(OUTPUT_OPTION) in command.
37221 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
37223 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37226 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
37227 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
37228 * math/libm-test.inc (floor_test): Add more tests.
37229 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
37231 2012-04-24 Joseph Myers <joseph@codesourcery.com>
37233 * sysdeps/unix/getdents.c: Remove file.
37234 * sysdeps/unix/sysv/getdents.c: Likewise.
37235 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
37237 * sysdeps/unix/syscalls.list (madvise): Add syscall from
37238 sysdeps/unix/mman/syscalls.list.
37240 (mprotect): Likewise.
37242 (munmap): Likewise.
37243 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
37244 * sysdeps/unix/mman/syscalls.list: Remove.
37245 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
37247 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
37248 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
37249 * configure: Regenerated.
37250 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
37251 $(libgcc_s_suffix).
37252 * config.make.in (libgcc_s_suffix): Remove variable.
37254 2012-04-23 Joseph Myers <joseph@codesourcery.com>
37256 * sysdeps/unix/sysv/gethostname.c: Move to ...
37257 * sysdeps/posix/gethostname.c: ... here.
37259 * sysdeps/unix/execve.S: Remove file.
37261 * sysdeps/unix/_exit.S: Remove file.
37263 2012-04-23 Andreas Jaeger <aj@suse.de>
37266 * manual/Makefile: Remove make dist support, there's no
37267 need for a stand-alone documentation tar ball.
37268 (TEXI2DVI): Define always, it's not in Makeconfig.
37271 (edition): Removed.
37272 (glibc-doc-$(edition).tar): Removed
37276 (ETAGS): Remove, it's in Makeconfig.
37277 (move-if-change): Remove, it's in Makeconfig.
37279 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
37282 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
37283 (strtod, strtof, strtold, strtol, strtoul, strtoq)
37284 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
37285 (strtod_l, strtof_l, strtold_l): Remove __wur.
37286 It is not necessarily an error to ignore strtol's return value.
37287 One can reliably look at the stored endptr to decide whether
37288 the number had valid syntax.
37290 2012-04-21 Andreas Jaeger <aj@suse.de>
37293 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
37295 2012-04-21 Joseph Myers <joseph@codesourcery.com>
37297 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
37298 * sysdeps/unix/sysv/Versions: Remove file.
37300 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
37303 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37305 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
37308 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
37309 version from __vm86.
37311 2012-04-20 Joseph Myers <joseph@codesourcery.com>
37313 * sysdeps/unix/common/lxstat.c: Remove file.
37314 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
37316 * sysdeps/unix/sysv/Makefile: Remove file.
37318 * sysdeps/unix/sysv/direct.h: Remove file.
37320 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
37321 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
37322 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
37323 * sysdeps/unix/sysv/bits/signum.h: Likewise.
37324 * sysdeps/unix/sysv/bits/stat.h: Likewise.
37325 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
37326 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
37328 * sysdeps/unix/sysv/setrlimit.c: Remove file.
37330 * sysdeps/unix/xmknod.c: Remove file.
37331 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
37333 * sysdeps/unix/sysv/settimeofday.c: Remove file.
37335 * sysdeps/unix/sysv/i386/time.S: Remove file.
37337 * sysdeps/unix/fxstat.c: Remove file.
37338 * sysdeps/unix/xstat.c: Likewise.
37339 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
37341 * sysdeps/unix/sysv/sigaction.c: Remove file.
37343 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
37344 (sysdep_headers): Remove variable.
37345 [termio.h not in sysdep_headers] (generated): Likewise.
37346 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
37347 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
37348 * sysdeps/unix/sysv/tcdrain.c: Likewise.
37349 * sysdeps/unix/sysv/tcflow.c: Likewise.
37350 * sysdeps/unix/sysv/tcflush.c: Likewise.
37351 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
37352 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
37353 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
37354 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
37355 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
37357 * sysdeps/unix/siglist.c: Remove file.
37359 * sysdeps/unix/getppid.S: Remove file.
37361 * sysdeps/unix/mkdir.c: Remove file.
37362 * sysdeps/unix/rmdir.c: Likewise.
37364 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
37366 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
37368 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
37369 errlist-compat value.
37371 2012-04-18 David S. Miller <davem@davemloft.net>
37373 * sysdeps/generic/memcopy.h (reg_char): Delete.
37374 * debug/strcat_chk.c: Use char, not reg_char.
37375 * debug/strcpy_chk.c: Likewise.
37376 * debug/strncat_chk.c: Likewise.
37377 * debug/strncpy_chk.c: Likewise.
37378 * string/memchr.c: Likewise.
37379 * string/memrchr.c: Likewise.
37380 * string/rawmemchr.c: Likewise.
37381 * string/strcat.c: Likewise.
37382 * string/strchr.c: Likewise.
37383 * string/strchrnul.c: Likewise.
37384 * string/strcmp.c: Likewise.
37385 * string/strcpy.c: Likewise.
37386 * string/strncat.c: Likewise.
37387 * string/strncmp.c: Likewise.
37388 * string/strncpy.c: Likewise.
37390 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
37392 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
37393 __builtin_memcopy is called when src and dest ranges are known to not
37396 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
37398 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
37399 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
37400 fwd_align_merge macro call.
37401 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
37402 bwd_align_merge macro call.
37403 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
37405 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
37407 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
37408 bwd_align_merge macros.
37409 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
37410 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
37411 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
37413 2012-04-18 David S. Miller <davem@davemloft.net>
37415 * sysdeps/sparc/sparc64/memcopy.h: Delete.
37417 2012-04-18 Andreas Jaeger <aj@suse.de>
37420 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
37421 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
37422 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
37424 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
37425 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
37426 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
37428 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
37429 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
37430 Adjust for changed ldbl-128 files.
37432 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
37433 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
37434 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
37436 2012-04-17 David S. Miller <davem@davemloft.net>
37438 * sysdeps/sparc/sparc32/memcopy.h: Delete.
37440 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
37442 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
37443 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
37444 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
37445 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
37446 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
37447 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
37449 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37452 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
37453 * math/libm-test.inc: Add ilogb errno and exception tests.
37454 * math/w_ilogb.c: New file: ilogb wrapper.
37455 * math/w_ilogbf.c: New file: ilogbf wrapper.
37456 * math/w_ilogbl.c: New file: ilogbl wrapper.
37457 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
37458 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
37459 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
37460 exception being thrown with 0.0 as argument.
37461 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
37462 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
37463 exception being thrown with 0.0 as argument.
37464 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
37465 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
37466 exception being thrown with 0.0 as argument.
37467 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
37468 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
37469 exception being thrown with 0.0 as argument.
37470 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
37471 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
37472 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
37473 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
37474 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
37475 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
37476 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
37477 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
37478 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
37480 2012-04-17 Petr Baudis <pasky@ucw.cz>
37482 * include/sys/uio.h: Change __vector to __iovec to avoid clash
37485 2012-04-16 Marek Polacek <polacek@redhat.com>
37487 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
37489 2012-04-16 Marek Polacek <polacek@redhat.com>
37491 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
37492 operands of fdivp instruction.
37494 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
37496 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
37497 * elf/tst-auditmod3b.c: Likewise.
37498 * elf/tst-auditmod4b.c: Likewise.
37499 * elf/tst-auditmod5b.c: Likewise.
37500 * elf/tst-auditmod6b.c: Likewise.
37501 * elf/tst-auditmod6c.c: Likewise.
37502 * elf/tst-auditmod7b.c: Likewise.
37503 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
37504 * sysdeps/x86_64/preconfigure.in: Likewise.
37505 * sysdeps/x86_64/preconfigure: Regenerated.
37507 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
37509 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
37512 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
37514 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
37515 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
37517 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
37520 * locale/iso-639.def: Fix gl language name. Spotted by
37523 2012-04-12 Roland McGrath <roland@hack.frob.com>
37526 * libio/libio.h (__io_write_fn): Update comment.
37528 2012-04-12 Petr Baudis <pasky@ucw.cz>
37531 * stdio.texi (Hook Functions): The user provided writer function
37532 is not allowed to return -1.
37534 2012-04-11 David S. Miller <davem@davemloft.net>
37536 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37538 2012-04-11 Mike Frysinger <vapier@gentoo.org>
37540 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
37541 Add a leading slash to rtkaio.
37543 2012-04-11 Jim Meyering <meyering@redhat.com>
37546 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
37547 It is not necessarily an error to ignore fwrite's return
37548 value. One can reliably use ferror to test for errors after
37551 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
37553 * bits/types.h (__snseconds_t): New type.
37554 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
37556 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
37557 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
37558 (__SNSECONDS_T_TYPE): Likewise.
37559 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
37560 (__SNSECONDS_T_TYPE): Likewise.
37561 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
37562 (__SNSECONDS_T_TYPE): Likewise.
37564 2012-04-10 Andreas Jaeger <aj@suse.de>
37567 * manual/time.texi (Processor Time): Return type of times is
37568 elapsed real time since an arbitrary point in the past.
37569 (CPU Time): Move CLK_TCK from here...
37570 (Processor Time): ...to here. Correct description.
37571 * manual/conf.texi (Constants for Sysconf): Correct description of
37574 2012-04-10 David S. Miller <davem@davemloft.net>
37577 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
37578 where the is a gap between DT_REL(A) and DT_JMPREL.
37580 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
37582 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
37583 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
37584 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
37586 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
37588 * elf/dl-support.c (_dl_inhibit_cache): New variable.
37589 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
37590 (dl_main): Handle --inhibit-cache.
37591 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
37593 * elf/dl-load.c (_dl_map_object): Use it.
37594 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
37596 2012-04-09 Joseph Myers <joseph@codesourcery.com>
37599 * sysdeps/i386/fpu/e_powl.S (p78): New object.
37600 (__ieee754_powl): Saturate large exponents rather than testing for
37601 overflow of y*log2(x).
37602 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
37603 * math/libm-test.inc (pow_test): Do not permit spurious overflow
37607 * math/s_ctan.c: Include <float.h>.
37608 (__ctan): Avoid internal overflow or cancellation in calculating
37610 * math/s_ctanf.c: Likewise.
37611 * math/s_ctanl.c: Likewise.
37612 * math/s_ctanh.c: Likewise.
37613 * math/s_ctanhf.c: Likewise.
37614 * math/s_ctanhl.c: Likewise.
37615 * math/libm-test.inc (ctan_test): Add more tests.
37616 (ctanh_test): Likewise.
37617 * sysdeps/i386/fpu/libm-test-ulps: Update.
37618 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37620 2012-04-09 Andreas Jaeger <aj@suse.de>
37623 * manual/filesys.texi (Directory Entries): Mention that d_namlen
37624 is an optional BSD extension.
37627 * manual/stdio.texi (Opening Streams): Document additional fopen
37630 2012-04-09 Roland McGrath <roland@hack.frob.com>
37632 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
37633 %eax without telling the compiler.
37635 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
37638 * manual/install.texi: Use sourceware.org.
37640 2012-04-09 Joseph Myers <joseph@codesourcery.com>
37643 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
37644 (__ieee754_pow): Generate overflow and underflow using huge*huge
37645 and tiny*tiny rather than just returning constant infinity or zero
37646 for large exponents.
37647 * math/libm-test.inc (pow_test): Require overflow exceptions for
37648 applicable cases of large exponents.
37651 * sysdeps/i386/fpu/e_pow.S (p10): New object.
37652 (__ieee754_pow): Use iterative multiplication algorithm only for
37653 integer exponents with absolute value below 1024. Check for odd
37654 integer exponents when using algorithm for real exponents.
37655 * math/libm-test.inc (pow_test): Add more tests.
37656 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37658 2012-04-08 Joseph Myers <joseph@codesourcery.com>
37661 * math/libm-test.inc (exp_test): Do not allow overflow exception
37664 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
37667 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
37668 instead of __kernel_standard_f.
37670 2012-04-08 Mike Frysinger <vapier@gentoo.org>
37672 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
37673 * sysdeps/x86_64/memset_chk.S: Likewise.
37675 2012-04-08 Andreas Jaeger <aj@suse.de>
37678 * manual/startup.texi (Environment Access): Describe return value
37679 for putenv and setenv.
37682 * manual/filesys.texi (Directory Entries): Add description for
37686 * manual/filesys.texi (Directory Entries): Clarify that it's file
37687 system not operating system in the description of DT_UNKNOWN.
37690 * manual/syslog.texi (closelog): Fix reference, it's openlog.
37692 2012-04-08 Stephen Compall <s11@member.fsf.org>
37695 * manual/llio.texi (Opening and Closing Files): Add cross
37696 reference to explain mode argument.
37698 2012-04-07 Mike Frysinger <vapier@gentoo.org>
37700 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
37701 * sysdeps/x86_64/memset_chk.S: Likewise.
37703 2012-04-07 David S. Miller <davem@davemloft.net>
37705 * elf/elf.h (R_SPARC_WDISP10): Define.
37706 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
37708 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
37709 R_SPARC_SIZE64 and R_SPARC_H34.
37711 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
37713 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
37714 conditions and remove no longer applicable assertion.
37716 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
37718 * bits/byteswap.h: Include <features.h>.
37719 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
37720 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
37722 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
37724 * bits/byteswap.h (__bswap_16): Removed.
37725 Include <bits/byteswap-16.h> to get __bswap_16.
37726 * sysdeps/i386/bits/byteswap.h: Likewise.
37727 * sysdeps/s390/bits/byteswap.h: Likewise.
37728 * sysdeps/x86_64/bits/byteswap.h: Likewise.
37729 * bits/byteswap-16.h: New file.
37730 * sysdeps/i386/bits/byteswap-16.h: Likewise.
37731 * sysdeps/s390/bits/byteswap-16.h: Likewise.
37732 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
37733 * string/Makefile (headers): Add bits/byteswap-16.h.
37735 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
37738 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
37740 * nss/Makefile (tests-static, tests): Add tst-nss-static.
37741 * nss/tst-nss-static.c: New.
37743 2012-04-06 Robert Millan <rmh@gnu.org>
37746 * manual/llio.texi (File Position Primitive): lseek
37747 refers to WHENCE when it really means OFFSET.
37749 2012-04-06 Andreas Jaeger <aj@suse.de>
37751 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
37752 strncmp declarations.
37754 * abilist/libc.abilist: Add __poll and __ppoll.
37756 2012-04-05 David S. Miller <davem@davemloft.net>
37758 * scripts/check-local-headers.sh: Accept a host triplet in the
37759 path matched by the exclude regexp.
37761 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
37763 * sysdeps/powerpc/powerpc32/dl-machine.h
37764 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
37765 * sysdeps/s390/s390-32/dl-machine.h
37766 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
37767 * sysdeps/sparc/sparc32/dl-machine.h
37768 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
37769 * sysdeps/sparc/sparc64/dl-machine.h
37770 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
37772 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
37774 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
37775 undefined symbol errors.
37777 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
37780 2012-04-05 Michael Matz <matz@suse.de>
37783 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
37785 2012-04-05 Andreas Jaeger <aj@suse.de>
37788 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
37791 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
37793 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
37794 which ROUND is no valid rounding mode.
37796 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
37798 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
37800 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
37802 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
37804 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
37805 an exception using FPU order intentionally.
37807 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
37809 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
37810 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
37811 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
37812 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
37814 2012-04-05 Simon Josefsson <simon@josefsson.org>
37817 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
37818 EINVAL when BUFLEN is too smal.
37820 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
37823 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
37824 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
37826 2012-04-03 Andreas Jaeger <aj@suse.de>
37829 * manual/setjmp.texi (System V contexts): Fix sentence.
37832 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
37833 New macro for this case.
37834 [!__GNUC__] (__bswap_64): New inline function for this case.
37835 * sysdeps/x86_64/bits/byteswap.h: Likewise.
37836 * bits/byteswap.h: Likewise.
37837 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
37838 ull, guard with __GLIBC_HAVE_LONG_LONG.
37840 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
37841 __GLIBC_HAVE_LONG_LONG.
37843 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
37844 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
37846 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
37849 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
37850 inptr and inend, rather than using last_ch.
37852 2012-04-02 David S. Miller <davem@davemloft.net>
37854 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
37855 * stdio-common/printf-parse.h (read_int): Change return type to
37856 'int', return -1 on INT_MAX overflow.
37857 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
37858 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
37859 overflows INT_MAX. Check for overflow of in-format-string precision
37860 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
37861 SIZE_MAX not INT_MAX for integer overflow test.
37862 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
37863 skip the construct in the format string but do not record anything.
37864 * stdio-common/bug22.c: Adjust to test both width/prevision
37865 INT_MAX overflow as well as total length INT_MAX overflow. Check
37866 explicitly for proper errno values.
37868 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
37870 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
37872 * string/test-strcmp.c [! WIDE]: Likewise.
37873 * time/tst-mktime2.c: Likewise for INT_MAX.
37874 * string/test-string.h: #include <sys/param.h> for MIN.
37876 * csu/init-first.c (__libc_init_first): Call __ctype_init.
37877 * sysdeps/i386/init-first.c (init): Likewise.
37878 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
37879 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
37880 * sysdeps/sh/init-first.c (init): Likewise.
37882 2012-04-01 Ulrich Drepper <drepper@gmail.com>
37884 * po/ru.po: Update from translation team.
37885 * po/vi.po: Likewise.
37887 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
37889 * resolv/nss_dns/dns-host.c: Merge copyright years.
37891 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37893 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
37894 Optimize memcpy with prefetch if
37895 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
37896 src, dst pointers have unequal 16 byte alignments.
37898 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
37901 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
37902 from a CNAME entry and return the minimum ttl for the query.
37903 (gaih_getanswer_slice): Likewise.
37905 2012-03-30 Jeff Law <law@redhat.com>
37907 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
37909 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
37910 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
37912 * resolv/nss_dns/dns-host.c: Update copyright year.
37914 2012-03-30 Ulrich Drepper <drepper@gmail.com>
37916 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
37917 requests to save a system call. Fix check that all bytes are sent.
37919 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
37920 comments for sendmmsg.
37922 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
37925 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
37926 with only 1 character between 0x0041 and 0x01b0.
37927 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
37928 * wcsmbs/tst-mbsnrtowcs.c: New file.
37930 2012-03-29 David S. Miller <davem@davemloft.net>
37932 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
37933 small copies by hand.
37935 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
37938 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
37939 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
37942 2012-03-28 David S. Miller <davem@davemloft.net>
37944 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
37945 that branches into memcpy.
37946 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
37947 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
37948 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
37949 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
37950 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
37952 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
37953 implementation too.
37954 * sysdeps/sparc/mempcpy.S: New file.
37956 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
37957 the IFUNC routine in the libc case.
37958 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
37960 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
37961 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
37962 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
37963 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
37964 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
37965 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
37966 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
37967 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
37969 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
37970 loop to 256 bytes instead of 64 bytes and fix test signedness.
37972 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
37973 * sysdeps/sparc/sparc32/Makefile: rather than here...
37974 * sysdeps/sparc/sparc64/Makefile: and here.
37976 2012-03-28 Ulrich Drepper <drepper@gmail.com>
37978 * malloc/mallocbug.c: Avoid warnings about unused variables.
37980 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
37983 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
37984 in the right place. Discard and retry query if response is
37985 larger than input buffer size.
37987 2012-03-28 Joseph Myers <joseph@codesourcery.com>
37992 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
37993 x for large integer exponent.
37994 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
37995 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
37996 sign of result as needed afterwards.
37997 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
37998 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
37999 result for underflowing pow the same as for overflow.
38000 (__kernel_standard_l): Handle powl overflow and underflow here
38001 rather than calling __kernel_standard.
38002 * math/libm-test.inc (pow_test): Add more tests.
38017 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
38018 * sysdeps/ieee754/k_standard.c: Include <float.h>.
38019 (__kernel_standard_l): New function.
38020 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
38022 * math/w_acosl.c (__acosl): Likewise.
38023 * math/w_asinl.c (__asinl): Likewise.
38024 * math/w_atan2l.c (__atan2l): Likewise.
38025 * math/w_atanhl.c (__atanhl): Likewise.
38026 * math/w_coshl.c (__coshl): Likewise.
38027 * math/w_exp10l.c (__exp10l): Likewise.
38028 * math/w_exp2l.c (__exp2l): Likewise.
38029 * math/w_fmodl.c (__fmodl): Likewise.
38030 * math/w_hypotl.c (__hypotl): Likewise.
38031 * math/w_j0l.c (__j0l, __y0l): Likewise.
38032 * math/w_j1l.c (__j1l, __y1l): Likewise.
38033 * math/w_jnl.c (__jnl, __ynl): Likewise.
38034 * math/w_lgammal.c (__lgammal): Likewise.
38035 * math/w_log10l.c (__log10l): Likewise.
38036 * math/w_log2l.c (__log2l): Likewise.
38037 * math/w_logl.c (__logl): Likewise.
38038 * math/w_powl.c (__powl): Likewise.
38039 * math/w_remainderl.c (__remainderl): Likewise.
38040 * math/w_scalbl.c (sysv_scalbl): Likewise.
38041 * math/w_sinhl.c (__sinhl): Likewise.
38042 * math/w_sqrtl.c (__sqrtl): Likewise.
38043 * math/w_tgammal.c (__tgammal): Likewise.
38044 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
38045 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
38046 * math/libm-test.inc (acos_test): Add more tests.
38047 (acosh_test): Likewise.
38048 (asin_test): Likewise.
38049 (atanh_test): Likewise.
38050 (exp_test): Likewise.
38051 (exp10_test): Likewise.
38052 (exp2_test): Likewise.
38053 (expm1_test): Likewise.
38054 (lgamma_test): Likewise.
38055 (log_test): Likewise.
38056 (log10_test): Likewise.
38057 (log1p_test): Likewise.
38058 (log2_test): Likewise.
38059 (pow_test): Do not allow some spurious overflow exceptions.
38060 (sqrt_test): Add more tests.
38061 (tgamma_test): Likewise.
38062 (y0_test): Likewise.
38063 (y1_test): Likewise.
38064 (yn_test): Likewise.
38066 2012-03-27 Anton Blanchard <anton@samba.org>
38068 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
38070 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
38071 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
38072 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
38074 2012-03-27 David S. Miller <davem@davemloft.net>
38076 * conform/Makefile: Run run-conformtest.sh using $(BASH).
38078 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
38079 have-as-vis3 check.
38081 2012-03-27 Andreas Jaeger <aj@suse.de>
38083 * sysdeps/x86_64/elf/configure.in: Moved to ...
38084 * sysdeps/x86_64/configure.in: ... here.
38085 * sysdeps/x86_64/elf/start.S: Moved to ...
38086 * sysdeps/x86_64/start.S: ... here.
38087 * sysdeps/x86_64/elf/configure: Delete.
38089 * sysdeps/x86_64/configure.in: Merge contents from
38090 sysdeps/i386/configure.in (without i686 check).
38092 * sysdeps/i386/elf/Versions: Merge into ...
38093 * sysdeps/i386/Versions: ... this.
38094 * sysdeps/i386/elf/Versions: Delete file.
38095 * sysdeps/i386/elf/start.S: Moved to ...
38096 * sysdeps/i386/start.S: ...here.
38097 * sysdeps/i386/elf/configure.in: Merge into...
38098 * sysdeps/i386/configure.in: ...here.
38099 * sysdeps/i386/elf/configure.in: Delete file.
38100 * sysdeps/i386/elf/configure: Delete file.
38102 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
38103 * debug/backtracesyms.c: ... here.
38104 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
38105 * debug/backtracesymsfd.c: ... here.
38106 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
38107 * sysdeps/generic/ifunc-sel.h: ... here.
38109 * sysdeps/unix/i386/start.c: Delete file.
38110 * sysdeps/unix/sparc/start.c: Delete file.
38111 * sysdeps/unix/start.c: Delete file.
38113 * sysdeps/sh/elf/configure.in: Moved to ...
38114 * sysdeps/sh/configure.in: ... here.
38115 * sysdeps/sh/elf/start.S: Moved to ...
38116 * sysdeps/sh/start.S: ... here.
38117 * sysdeps/sh/elf/configure: Delete file.
38119 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
38120 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
38121 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
38122 * sysdeps/powerpc/powerpc64/entry.h: ... here.
38123 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
38124 * sysdeps/powerpc/powerpc64/start.S: here.
38125 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
38126 * sysdeps/powerpc/powerpc64/Makefile: ... this.
38127 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
38128 * sysdeps/powerpc/powerpc64/configure.in: ... this.
38129 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
38131 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
38132 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
38133 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
38134 * sysdeps/powerpc/powerpc32/start.S: ... here.
38135 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
38136 * sysdeps/powerpc/powerpc32/configure.in: ... this.
38137 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
38139 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
38140 * sysdeps/powerpc/ifunc-sel.h: ... here.
38141 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
38142 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
38144 * sysdeps/sparc/elf/configure.in: Moved to ...
38145 * sysdeps/sparc/configure.in: ... here.
38146 * sysdeps/sparc/elf/configure: Delete file.
38147 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
38148 * sysdeps/sparc/sparc32/start.S: ... here.
38149 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
38150 * sysdeps/sparc/sparc64/start.S: ... here.
38151 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
38152 * sysdeps/sparc/sparc32/Makefile: ... this.
38153 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
38154 * sysdeps/sparc/sparc64/Makefile: ... this.
38156 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
38157 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
38158 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
38159 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
38160 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
38161 * sysdeps/s390/s390-32/setjmp.S: ... here.
38162 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
38163 * sysdeps/s390/s390-32/configure.in: ... here.
38164 * sysdeps/s390/s390-32/elf/configure: Delete file.
38165 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
38166 * sysdeps/s390/s390-32/start.S: ... here.
38168 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
38169 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
38170 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
38171 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
38172 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
38173 * sysdeps/s390/s390-64/setjmp.S: ... here.
38174 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
38175 * sysdeps/s390/s390-64/configure.in: ... here
38176 * sysdeps/s390/s390-64/elf/configure: Delete file.
38177 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
38178 * sysdeps/s390/s390-64/start.S: ... here.
38179 * sysdeps/s390/s390-64/elf/configure: Delete.
38181 * configure.in: Remove support for elf directories in sysdeps.
38183 * configure: Regenerated.
38184 * sysdeps/i386/configure: Regenerated.
38185 * sysdeps/powerpc/powerpc32/configure: Regenerated.
38186 * sysdeps/powerpc/powerpc64/configure: Regenerated.
38187 * sysdeps/s390/s390-32/configure: Regenerated.
38188 * sysdeps/s390/s390-64/configure: Regenerated.
38189 * sysdeps/sh/configure: Regenerated.
38190 * sysdeps/sparc/configure: Regenerated.
38191 * sysdeps/x86_64/configure: Regenerated.
38193 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
38195 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38197 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
38198 denormal result into account.
38200 2012-03-25 Roland McGrath <roland@hack.frob.com>
38202 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
38203 Reported by Allan McRae <allan@archlinux.org>.
38205 2012-03-23 Jeff Law <law@redhat.com>
38207 * nss/getnssent.c (__nss_getent): Fix typo.
38209 2012-03-23 David S. Miller <davem@davemloft.net>
38211 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38213 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
38215 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
38216 to pad to uint64_t for each field.
38217 (dl_tls_index): Replace unsigned long with uint64_t.
38219 2012-03-23 Daniel Jacobowitz <dmj@google.com>
38220 Paul Pluzhnikov <ppluzhnikov@google.com>
38223 * grp/Makefile (otherlibs): Don't set it.
38224 * inet/Makefile (otherlibs): Likewise.
38225 * login/Makefile (otherlibs): Likewise.
38226 * nscd/Makefile (otherlibs): Likewise.
38227 * posix/Makefile (otherlibs): Likewise.
38228 * pwd/Makefile (otherlibs): Likewise.
38229 * rt/Makefile (otherlibs): Likewise.
38230 * sunrpc/Makefile (otherlibs): Likewise.
38231 * nss/Makefile (otherlibs): Likewise.
38232 Add libnss_files to routines and static-only-routines.
38233 ($(objpfx)getent): Remove rule.
38234 * resolv/Makefile: Add libnss_dns and libresolv to routines and
38235 static-only-routines.
38237 2012-03-22 Joseph Myers <joseph@codesourcery.com>
38240 * math/s_cexp.c: Include <float.h>.
38241 (__cexp): Handle exp result overflowing not necessarily
38242 overflowing both real and imaginary parts of result.
38243 * math/s_cexpf.c: Likewise.
38244 * math/s_cexpl.c: Likewise.
38245 * math/libm-test.inc (cexp_test): Add more tests.
38246 * sysdeps/i386/fpu/libm-test-ulps: Update.
38247 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38249 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
38251 * include/link.h (ELFW): New macro.
38252 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
38253 Replace ELF64_R_TYPE with ELFW(R_TYPE).
38255 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
38257 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
38260 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
38262 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
38264 (struct La_x32_retval): Likewise.
38266 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
38268 * sysdeps/x86_64/preconfigure.in: New file.
38269 * sysdeps/x86_64/preconfigure: New generated file.
38271 2012-03-22 Joseph Myers <joseph@codesourcery.com>
38274 * math/e_exp2l.c: Include <float.h>.
38275 (__ieee754_exp2l): Handle overflow and underflow cases
38276 separately. Only pass fractional part of argument to
38278 * math/libm-test.inc (exp2_test): Add more tests.
38280 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
38281 negating x to take absolute value.
38282 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
38284 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
38285 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
38287 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
38288 computing low part if x was negated.
38289 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
38291 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
38293 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
38294 la_x32_gnu_pltexit.
38295 (pltexit): Cast int_retval to ptrdiff_t.
38296 * elf/tst-auditmod3b.c: Likewise.
38297 * elf/tst-auditmod4b.c: Likewise.
38298 * elf/tst-auditmod5b.c: Likewise.
38299 * elf/tst-auditmod6b.c: Likewise.
38300 * elf/tst-auditmod6c.c: Likewise.
38301 * elf/tst-auditmod7b.c: Likewise.
38303 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
38304 and x32_gnu_pltexit.
38306 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
38307 __ELF_NATIVE_CLASS.
38308 (La_x32_regs): New macro.
38309 (La_x32_retval): Likewise.
38310 (la_x32_gnu_pltenter): New function prototype.
38311 (la_x32_gnu_pltexit): Likewise.
38313 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
38315 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
38318 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38320 * configure.in (libc_cv_cc_nofma): Check for option to disable
38321 generation of FMA instructions.
38322 * configure: Regenerate.
38323 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
38324 * sysdeps/ieee754/dbl-64/Makefile: New file.
38325 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
38326 Remove brandred-fma4.
38327 (CFLAGS-brandred-fma4.c): Remove.
38328 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
38329 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
38331 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
38334 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
38336 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
38337 LLONG_MAX != LONG_MAX.
38338 (_itoa_word): Use _ITOA_WORD_TYPE on value.
38339 (_fitoa_word): Likewise.
38340 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
38341 LLONG_MAX != LONG_MAX.
38342 * stdio-common/_itowa.h: Include <_itoa.h>.
38343 (_itowa_word): Use _ITOA_WORD_TYPE on value.
38344 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
38345 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
38346 only if not defined.
38347 (_ITOA_WORD_TYPE): Likewise.
38348 (_itoa_word): Use _ITOA_WORD_TYPE on value.
38349 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
38351 2012-03-21 David S. Miller <davem@davemloft.net>
38353 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38355 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
38357 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
38358 of x86_64 when setting libc_cv_slibdir, libdir and
38360 * sysdeps/unix/sysv/linux/configure: Regenerated.
38362 2012-03-21 Joseph Myers <joseph@codesourcery.com>
38364 * manual/lang.texi (Old Varargs): Remove section.
38365 (How Variadic): Update menu.
38366 (va_start): Do not mention varargs.h.
38368 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
38369 Joseph Myers <joseph@codesourcery.com>
38371 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
38373 * configure: Regenerated.
38375 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
38377 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
38378 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
38381 2012-03-21 Joseph Myers <joseph@codesourcery.com>
38384 * Makefile (files-for-dist): Remove NOTES.
38385 (NOTES): Remove rule.
38386 * README: Don't refer to NOTES.
38387 * manual/creature.texi: Don't include macros.texi.
38388 * manual/intro.texi (creature.texi): Remove comment referring to
38391 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
38392 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
38393 * configure: Regenerated.
38394 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
38395 LIBC_TRY_CC_OPTION.
38396 (libc_cv_as_i686): Likewise.
38397 (libc_cv_cc_avx): Likewise.
38398 (libc_cv_cc_sse2avx): Likewise.
38399 (libc_cv_cc_fma4): Likewise.
38400 (libc_cv_cc_novzeroupper): Likewise.
38401 * sysdeps/i386/configure: Regenerated.
38404 * sysdeps/i386/fpu/s_cexp.S: Remove.
38405 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
38406 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
38407 * math/libm-test.inc (cexp_test): Add more tests.
38408 * sysdeps/i386/fpu/libm-test-ulps: Update.
38409 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38411 2012-03-21 Allan McRae <allan@archlinux.org>
38413 * timezone/Makefile: Do not install iso3166.tab and zone.tab
38415 2012-03-21 Joseph Myers <joseph@codesourcery.com>
38418 * math/w_exp2.c: Do not include <float.h>.
38419 (o_threshold, u_threshold): Remove.
38420 (__exp2): Calculate result before checking finiteness and calling
38422 * math/w_exp2f.c: Likewise.
38423 * math/w_exp2l.c: Likewise.
38424 * math/libm-test.inc (exp2_test): Require overflow exception for
38428 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
38429 range of signed 64-bit integers before using fistpll. Remove
38430 checks for whether integers fit in mantissa bits.
38431 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
38432 the range of signed 32-bit integers before using fistpl. Remove
38433 checks for whether integers fit in mantissa bits.
38434 * sysdeps/i386/fpu/e_powl.S (p64): New object.
38435 (__ieee754_powl): Test for y outside the range of signed 64-bit
38436 integers before using fistpll. Reduce 64-bit values to 63-bit
38438 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
38439 divide-by-zero is raised for zero to large negative powers.
38440 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
38441 (__ieee754_powl): Test for y outside the range of signed 64-bit
38442 integers before using fistpll. Reduce 64-bit values to 63-bit
38444 * math/libm-test.inc (pow_test): Add more tests.
38446 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
38448 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
38449 <stdio-common/_itoa.h>.
38450 * debug/segfault.c: Likewise.
38451 * elf/dl-cache.c: Likewise.
38452 * elf/dl-minimal.c: Likewise.
38453 * elf/dl-misc.c: Likewise.
38454 * elf/dl-sysdep.c: Likewise.
38455 * elf/dl-version.c: Likewise.
38456 * elf/rtld.c: Likewise.
38457 * hurd/hurdsock.c: Likewise.
38458 * hurd/lookup-retry.c: Likewise.
38459 * malloc/malloc.c: Likewise.
38460 * malloc/mtrace.c: Likewise.
38461 * nscd/nscd_getgr_r.c: Likewise.
38462 * nscd/nscd_getpw_r.c: Likewise.
38463 * nscd/nscd_getserv_r.c: Likewise.
38464 * posix/getopt_init.c: Likewise.
38465 * posix/wordexp.c: Likewise.
38466 * stdio-common/_itoa.c: Likewise.
38467 * stdio-common/printf_fphex.c: Likewise.
38468 * stdio-common/vfprintf.c: Likewise.
38469 * string/_strerror.c: Likewise.
38470 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
38471 * sysdeps/i386/i686/hp-timing.h: Likewise.
38472 * sysdeps/mach/_strerror.c: Likewise.
38473 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
38474 * sysdeps/mach/hurd/sethostid.c: Likewise.
38475 * sysdeps/mach/hurd/xmknodat.c: Likewise.
38476 * sysdeps/mach/xpg-strerror.c: Likewise.
38477 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
38478 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
38479 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
38480 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
38481 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
38482 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
38483 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
38484 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
38485 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
38486 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
38487 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
38488 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
38489 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
38490 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
38491 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
38492 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
38493 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
38494 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
38495 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
38496 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
38497 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
38499 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
38501 * stdio-common/_itoa.h: Moved to ...
38502 * sysdeps/generic/_itoa.h: Here.
38504 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
38506 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
38507 instead of "_itoa.h" and "_itowa.h".
38508 * stdio-common/vfprintf.: Likewise.
38510 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
38512 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
38514 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
38515 (__signbit): Likwise.
38516 (llrintf): Likwise.
38519 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
38521 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
38524 2012-03-20 Joseph Myers <joseph@codesourcery.com>
38526 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
38527 OVERFLOW_EXCEPTION_OK.
38528 * math/libm-test.inc ("Philosophy"): Update comment about
38530 (OVERFLOW_EXCEPTION): Define.
38531 (OVERFLOW_EXCEPTION_OK): Likewise.
38532 (INVALID_EXCEPTION_OK): Renumber.
38533 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
38534 (IGNORE_ZERO_INF_SIGN): Likewise.
38535 (test_exceptions): Handle FE_OVERFLOW.
38536 (exp10_test): Expect overflow exceptions.
38537 (exp2_test): Likewise.
38538 (expm1_test): Likewise.
38539 (nextafter_test): Likewise.
38540 (pow_test): Likewise.
38541 (scalbn_test): Likewise.
38542 (scalbln_test): Likewise.
38544 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
38546 * sysdeps/x86_64/bits/atomic.h
38547 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
38549 (atomic_exchange_acq): Likewise.
38550 (__arch_exchange_and_add_body): Likewise.
38551 (__arch_add_body): Likewise.
38552 (atomic_add_negative): Likewise.
38553 (atomic_add_zero): Likewise.
38555 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
38557 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
38558 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
38560 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
38562 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
38563 Check __x86_64__ instead of __WORDSIZE.
38565 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
38567 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
38569 2012-03-19 David S. Miller <davem@davemloft.net>
38571 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38573 * sysdeps/sparc/fpu/fenv_private.h: New file.
38574 * sysdeps/sparc/fpu/math_private.h: Use it.
38575 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
38577 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
38578 (libc_feholdexcept_setroundl): Remove.
38579 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
38581 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
38582 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
38584 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
38586 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
38587 int64_t instead of long int.
38588 (INSERT_WORDS64): Likwise.
38590 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
38592 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
38593 _Unwind_GetCFA return to _Unwind_Ptr first.
38595 2012-03-19 Joseph Myers <joseph@codesourcery.com>
38598 * math/s_clog.c: Include <float.h>.
38599 (__clog): Scale large or subnormal inputs.
38600 * math/s_clogf.c: Likewise.
38601 * math/s_clogl.c: Likewise.
38602 * math/s_clog10.c: Include <float.h>.
38603 (M_LOG10_2): Define.
38604 (__clog10): Scale large or subnormal inputs.
38605 * math/s_clog10f.c: Likewise.
38606 * math/s_clog10l.c: Likewise.
38607 * math/libm-test.inc (clog_test): Add more tests.
38608 (clog10_test): Likewise.
38609 * sysdeps/i386/fpu/libm-test-ulps: Update.
38610 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38613 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
38615 * math/libm-test.inc (atan2_test): Add another test.
38617 * Makerules (common-objdir-compile): Remove.
38618 * sysdeps/unix/Makefile (config-generated): Do not add
38619 $(unix-generated) to variable.
38620 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
38621 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
38623 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
38625 [generic bits/local_lim.h] (before-compile): Do not append to
38627 [generic bits/local_lim.h] (common-generated): Likewise.
38628 [generic sys/param.h] (before-compile): Do not append to variable.
38629 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
38630 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
38631 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
38632 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
38634 [generic sys/param.h] (sys/param.h-includes): Remove variable.
38635 [generic sys/param.h] (sys/param.h-includes): Remove rule.
38636 [generic sys/param.h] ($(addprefix
38637 $(common-objpfx),$(sys/param.h-includes))): Likewise.
38638 [generic sys/param.h] (common-generated): Do not append to
38640 [generic sys/param.h] (sysdep_headers): Likewise.
38641 [generic bits/errno.h] (before-compile): Do not append to
38643 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
38645 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
38646 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
38647 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
38648 [generic bits/errno.h] (common-generated): Do not append to
38650 [generic bits/ioctls.h] (before-compile): Do not append to
38652 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
38654 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
38655 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
38656 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
38658 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
38659 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
38660 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
38661 [generic bits/ioctls.h] (common-generated): Do not append to
38663 [generic sys/syscall.h] (syscall.h): Remove variable.
38664 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
38666 [generic sys/syscall.h] (before-compile): Do not append to
38668 [generic sys/syscall.h] (common-generated): Likewise.
38669 * sysdeps/unix/errnos-tmpl.c: Remove file.
38670 * sysdeps/unix/errnos.awk: Likewise.
38671 * sysdeps/unix/ioctls-tmpl.c: Likewise.
38672 * sysdeps/unix/ioctls.awk: Likewise.
38673 * sysdeps/unix/mk-local_lim.c: Likewise.
38674 * sysdeps/unix/snarf-ioctls: Likewise.
38676 2012-03-19 Richard Henderson <rth@twiddle.net>
38678 * sysdeps/i386/fpu/fenv_private.h: New file.
38679 * sysdeps/i386/fpu/math_private.h: Use it.
38680 (math_opt_barrier, math_force_eval): Remove.
38681 (libc_feholdexcept_setround_53bit): Remove.
38682 (libc_feupdateenv_53bit): Remove.
38683 * sysdeps/x86_64/fpu/math_private.h: Likewise.
38684 (math_opt_barrier, math_force_eval): Remove.
38685 (libc_feholdexcept): Remove.
38686 (libc_feholdexcept_setround): Remove.
38687 (libc_fetestexcept, libc_fesetenv): Remove.
38688 (libc_feupdateenv_test): Remove.
38689 (libc_feupdateenv, libc_feholdsetround): Remove.
38690 (libc_feresetround): Remove.
38692 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
38693 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
38695 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
38696 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
38697 (libc_feupdateenv_testl): New.
38698 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
38699 (libc_feupdateenv_testf): New.
38700 (libc_feupdateenv): Use libc_feupdateenv_test.
38701 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
38702 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
38704 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
38705 (libc_feholdsetroundf, libc_feholdsetroundl): New.
38706 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
38707 (libc_feresetround_noex): New.
38708 (libc_feresetround_noexf): New.
38709 (libc_feresetround_noexl): New.
38710 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
38711 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
38712 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
38713 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
38715 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
38716 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
38718 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
38719 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
38720 SET_RESTORE_ROUND_NOEX.
38721 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
38722 SET_RESTORE_ROUND_NOEXF.
38723 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
38724 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
38725 (libc_feholdsetroundf): New.
38726 (libc_feresetround, libc_feresetroundf): New.
38728 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
38729 (libc_feholdexcept_setround_53bit): Convert from macro to function.
38730 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
38732 * sysdeps/generic/math_private.h: Include <fenv.h>.
38733 (default_libc_feholdexcept): New.
38734 (default_libc_feholdexcept_setround): New.
38735 (default_libc_fesetenv, default_libc_feupdateenv): New.
38736 (libc_feholdexcept): Only define if undefined.
38737 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
38738 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
38739 (libc_feholdexcept_setroundl): Likewise.
38740 (libc_feholdexcept_setround_53bit): Likewise.
38741 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
38742 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
38743 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
38744 (libc_feupdateenv_53bit): Likewise.
38745 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
38746 (libc_feholdexcept): Convert from macro to inline function.
38747 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
38748 (libc_fesetenv, libc_feupdateenv): Likewise.
38750 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
38751 not previously defined.
38752 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
38753 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
38754 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
38755 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
38756 * sysdeps/ieee754/flt-32/math_private.h: New file.
38757 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
38758 math_private.h below SET_FLOAT_WORD.
38759 (__isnan, __isinf_ns, __finite): Remove.
38760 (__isnanf, __isinf_nsf, __finitef): Remove.
38762 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
38764 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38766 2012-03-17 David S. Miller <davem@davemloft.net>
38769 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
38772 2012-03-16 David S. Miller <davem@davemloft.net>
38774 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
38778 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
38780 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
38781 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
38782 sysdep_routines when subdir is sysvipc.
38783 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
38784 __getshmlba helper.
38786 * sysdeps/sparc/fpu/libm-test/ulps: Update.
38788 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
38790 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
38793 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
38795 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
38796 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
38797 (__lround): Renamed to ...
38798 (__llround): This. Replace long int with long long int.
38799 Define lround functions as aliases of llround functions.
38800 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
38802 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
38804 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
38805 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
38806 adresses to uintptr_t. Replace "long int" and "unsigned long
38807 int" with "greg_t" on va_arg.
38809 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
38811 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
38812 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
38814 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
38815 Move e_machine check before EI_CLASS check. Handle x32
38816 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
38817 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
38818 SKIP_EM_IA_64 and include
38819 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
38821 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
38822 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
38823 (add_system_dir): New macro.
38825 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
38826 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
38828 2012-03-16 Joseph Myers <joseph@codesourcery.com>
38839 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
38841 * math/w_j0f.c (j0f): Likewise.
38843 * math/w_j0l.c (__j0l): Likewise.
38845 * math/w_j1.c (j1): Likewise.
38847 * math/w_j1f.c (j1f): Likewise.
38849 * math/w_j1l.c (__j1l): Likewise.
38851 * math/w_jn.c (jn): Likewise.
38853 * math/w_jnf.c (jnf): Likewise.
38855 * math/w_jnl.c (__jnl): Likewise.
38857 * math/libm-test.inc (j0_test): Add more tests.
38858 (j1_test): Likewise.
38859 (jn_test): Likewise. Add trailing semicolon to existing test.
38860 (y0_test): Likewise.
38861 (y1_test): Likewise.
38862 * sysdeps/i386/fpu/libm-test-ulps: Update.
38863 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38867 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
38868 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
38869 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
38870 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
38871 (__tanl): Set errno for infinite argument.
38872 * sysdeps/i386/fpu/mptan.c: Remove.
38873 * sysdeps/i386/fpu/s_tan.S: Likewise.
38874 * sysdeps/i386/fpu/s_tanl.S: Likewise.
38875 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
38876 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
38877 * math/libm-test.inc (tan_test): Add more tests and enable more
38878 tests for double and long double.
38879 * sysdeps/i386/fpu/libm-test-ulps: Update.
38880 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38882 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
38884 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
38885 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
38887 2012-03-16 Roland McGrath <roland@hack.frob.com>
38889 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
38890 * configure.in: Use it for both main tree and add-ons.
38891 * configure: Regenerated.
38893 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
38895 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
38897 2012-03-16 Joseph Myers <joseph@codesourcery.com>
38899 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
38903 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
38904 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
38905 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
38906 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
38907 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
38909 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
38910 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
38911 != 0 for prec == 2.
38912 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
38913 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
38914 * sysdeps/i386/fpu/s_cosl.S: Likewise.
38915 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
38916 * sysdeps/i386/fpu/s_sinl.S: Likewise.
38917 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
38918 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
38919 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
38920 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
38921 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
38922 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
38923 * math/libm-test.inc (cos_test): Add more tests and enable more
38924 tests for long double.
38925 (sin_test): Likewise.
38926 (sincos_test): Likewise.
38927 * sysdeps/i386/fpu/libm-test-ulps: Update.
38928 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38930 2012-03-16 David S. Miller <davem@davemloft.net>
38932 * sysdeps/sparc/fpu/math_private.h: New file.
38934 2012-03-15 David S. Miller <davem@davemloft.net>
38936 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
38938 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
38939 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
38941 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
38942 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
38943 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
38944 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
38945 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
38946 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
38948 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
38950 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
38951 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
38953 * sysdeps/sparc/sparc-ifunc.h: New file.
38954 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
38956 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
38957 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
38959 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
38961 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
38962 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
38963 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
38964 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
38966 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
38967 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
38968 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
38969 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
38970 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
38972 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
38974 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
38975 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
38976 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
38977 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
38978 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
38979 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
38980 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
38981 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
38982 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
38983 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
38984 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
38985 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
38986 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
38987 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
38988 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
38989 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
38990 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
38991 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
38992 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
38993 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
38994 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
38995 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
38996 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
38997 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
38999 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
39001 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
39003 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39005 2012-03-15 Andreas Jaeger <aj@suse.de>
39008 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
39009 ieee754/flt-32 implementation for sin, cos and sincos.
39010 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
39011 * sysdeps/i386/fpu/s_cosf.S: Likewise.
39012 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
39013 * sysdeps/i386/fpu/s_sinf.S: Likewise.
39014 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
39015 ieee754/flt-32 implementation for tan.
39017 * math/libm-test.inc (cos_test): Enable some large input tests for
39019 (sin_test): Likewise.
39020 (sincos_test): Likewise.
39021 (tan_test): Add tests for large input.
39023 * sysdeps/i386/fpu/libm-test-ulps: Update.
39025 2012-03-15 Andreas Jaeger <aj@suse.de>
39028 * math/libm-test.inc (cos_test): Add more test cases.
39029 (sin_test): Likewise.
39030 (sincos_test): Likewise.
39032 2012-03-15 Andreas Jaeger <aj@suse.de>
39035 * math/libm-test.inc (cos_test): Add a test case for large input
39037 (sin_test): Likewise.
39038 (sincos_test): Likewise.
39040 2012-03-15 Andreas Jaeger <aj@suse.de>
39041 Joseph Myers <joseph@codesourcery.com>
39044 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
39045 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
39046 * sysdeps/i386/fpu/branred.c: Likewise.
39047 * sysdeps/i386/fpu/dosincos.c: Likewise.
39048 * sysdeps/i386/fpu/mpa.c: Likewise.
39049 * sysdeps/i386/fpu/s_cos.S: Likewise.
39050 * sysdeps/i386/fpu/s_sin.S: Likewise.
39051 * sysdeps/i386/fpu/s_sincos.S: Likewise.
39052 * sysdeps/i386/fpu/sincos32.c: Likewise.
39054 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
39056 (libc_feupdateenv_53bit): Define.
39057 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
39059 (libc_feupdateenv_53bit): Define.
39061 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
39062 53 bit (without extend i386 double precision).
39064 * math/libm-test.inc (sincos_test): Add tests for large input.
39068 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
39070 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
39072 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39074 2012-03-15 David S. Miller <davem@davemloft.net>
39076 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
39077 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
39078 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
39079 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
39080 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
39081 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
39082 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
39083 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
39084 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
39085 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
39086 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
39087 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
39088 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
39089 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
39090 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
39091 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
39093 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
39094 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
39096 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
39097 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
39099 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
39100 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
39102 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
39103 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
39104 fmin/fmax sysdep routines.
39105 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
39107 2012-03-14 David S. Miller <davem@davemloft.net>
39109 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
39110 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
39111 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
39112 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
39113 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
39114 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
39115 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
39116 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
39117 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
39118 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
39119 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
39120 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
39121 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
39122 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
39123 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
39124 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
39125 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
39126 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
39127 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
39128 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
39129 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
39130 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
39131 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
39132 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
39133 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
39134 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
39135 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
39136 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
39137 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
39139 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
39141 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
39142 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
39144 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
39145 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
39147 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
39148 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
39150 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
39151 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
39153 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
39154 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
39156 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
39158 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
39160 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
39162 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
39164 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
39166 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
39168 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
39169 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
39171 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
39172 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
39174 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
39175 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
39177 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
39178 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
39181 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
39184 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39186 * sysdeps/sparc/configure.in: New file.
39187 * sysdeps/sparc/configure: Generate.
39188 * configure.in (libc_cv_sparc_as_vis3): Substitute.
39189 * configure: Regenerate.
39190 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
39191 * config.make.in (have-as-vis3): New.
39192 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
39193 available use -Av9d instead of -Av9a.
39194 * sysdeps/sparc/sparc64/Makefile: Likewise.
39195 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
39196 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
39198 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
39200 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
39202 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
39204 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
39205 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
39206 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
39207 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
39208 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
39210 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
39211 fzeros/fnegs to load 0x80000000 into a float register instead of
39213 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
39215 2012-03-14 Joseph Myers <joseph@codesourcery.com>
39217 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39219 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
39220 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
39221 ($(inst_includedir)/bits/syscall.h): Remove rule.
39222 ($(objpfx)bits/syscall.d): Include instead of
39223 $(objpfx)syscall-list.d.
39224 (generated): Change syscall-list.h and syscall-list.d to
39225 bits/syscall.h and bits/syscall.d.
39227 2012-03-14 Roland McGrath <roland@hack.frob.com>
39230 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
39232 2012-03-14 Joseph Myers <joseph@codesourcery.com>
39235 * math/s_csqrt.c: Include <float.h>.
39236 (__csqrt): Scale large or subnormal inputs.
39237 * math/s_csqrtf.c: Likewise.
39238 * math/s_csqrtl.c: Likewise.
39239 * math/libm-test.inc (csqrt_test): Add more tests.
39240 * sysdeps/i386/fpu/libm-test-ulps: Update.
39241 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39244 * math/libm-test.inc (hypot_test): Add more tests.
39246 2012-03-13 David S. Miller <davem@davemloft.net>
39249 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
39250 double-precision for the calculation instead of scaling.
39252 2012-03-13 Joseph Myers <joseph@codesourcery.com>
39254 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
39255 manipulate bits before adding and subtracting TWO52[sx].
39256 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
39257 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
39259 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
39261 2012-03-13 David S. Miller <davem@davemloft.net>
39263 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
39264 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
39265 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
39266 rtld-global-offsets.h
39267 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
39269 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
39272 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
39274 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
39275 'err' in the ifdef scope in which it is actually used.
39277 * nss/nss_db/db-init.c: Include string.h
39279 2012-03-12 David S. Miller <davem@davemloft.net>
39281 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
39282 masking out of the most significant byte of random value used.
39283 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
39284 Fix coding style in previous change.
39286 * sysdeps/unix/sysv/linux/kernel-features.h
39287 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
39288 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
39290 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
39293 2012-03-11 David S. Miller <davem@davemloft.net>
39295 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
39296 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
39297 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
39298 for 'resultvar' otherwise things get truncated on 64-bit.
39300 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
39301 Fix masking out of the most significant byte of random value used.
39303 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39305 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
39307 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39309 2012-03-09 David S. Miller <davem@davemloft.net>
39311 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
39312 variables with appropriate CPP guards.
39313 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
39314 from the frame pointer, not the stack pointer. Correct layout
39315 comments. Fix test on resulting framesize and the management of
39316 the outregs buffer for pltexit. Preserve floating point return
39317 values across _dl_call_pltexit call.
39318 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
39319 framesize and the management of the outregs buffer for pltexit.
39320 Preserve floating point return values across _dl_call_pltexit
39322 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
39323 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
39324 (la_sparc64_gnu_pltexit): New functions.
39325 (print_exit): Fix format string for return register value.
39327 2012-03-10 Joseph Myers <joseph@codesourcery.com>
39329 * sunrpc/Makefile (others): Add rpcgen.
39330 ($(objpfx)rpcgen): Remove special build rule and dependency on
39332 * sunrpc/rpcgen.c: New file.
39334 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
39337 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
39338 * stdio-common/bug-vfprintf-nargs.c: Likewise.
39339 * sysdeps/i386/crti.S: Likewise.
39340 * sysdeps/i386/crtn.S: Likewise.
39341 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
39342 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
39343 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
39344 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
39345 * sysdeps/sh/crti.S: Likewise.
39346 * sysdeps/sh/crtn.S: Likewise.
39347 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
39350 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
39352 * locale/programs/locfile-kw.gperf: Likewise.
39353 * locale/programs/charmap-kw.h: Regenerated.
39354 * locale/programs/locfile-kw.h: Likewise.
39357 * intl/plural.y: Replace FSF snail mail address with URL.
39358 * intl/plural.c: Regenerated.
39360 2012-03-09 Richard Henderson <rth@twiddle.net>
39362 * include/math_private.h: Remove file.
39363 * math/math_private.h: Move file ...
39364 * sysdeps/generic/math_private.h: ... here.
39366 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
39367 * sysdeps/powerpc/fpu/math_private.h: Likewise.
39368 * sysdeps/x86_64/fpu/math_private.h: Likewise.
39370 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
39371 and <math_private.h>.
39372 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
39373 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
39374 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
39375 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
39376 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
39377 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
39378 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
39379 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
39380 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
39381 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
39382 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
39383 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
39384 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
39385 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
39386 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
39387 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
39388 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
39389 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
39390 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
39391 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
39392 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39393 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
39394 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
39395 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39396 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
39397 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
39398 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
39399 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
39400 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
39401 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
39402 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
39403 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
39404 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
39405 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
39406 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
39407 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
39408 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
39409 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
39410 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
39411 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
39412 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
39413 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
39414 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
39415 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
39416 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
39417 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
39418 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
39419 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
39420 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
39421 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
39422 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
39423 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
39424 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
39425 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
39426 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
39427 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
39428 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
39429 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
39430 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
39431 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
39432 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
39433 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
39434 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
39435 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
39436 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
39437 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
39438 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
39439 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
39440 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
39441 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
39442 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
39443 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
39444 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
39445 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
39446 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
39447 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
39448 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
39449 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
39450 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
39451 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
39452 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
39453 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
39454 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
39455 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
39456 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
39457 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
39458 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
39459 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
39460 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
39461 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
39462 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
39463 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
39464 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
39465 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
39466 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
39467 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
39468 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
39469 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
39470 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
39471 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
39472 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
39473 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
39474 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
39475 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
39476 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
39477 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
39478 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
39479 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
39480 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
39481 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
39482 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
39483 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
39484 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
39485 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
39486 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
39487 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
39488 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
39489 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
39490 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
39491 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
39492 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
39493 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
39494 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
39495 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
39496 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
39497 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
39498 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
39499 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
39500 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
39501 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
39502 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
39503 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
39504 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
39505 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
39506 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
39507 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
39508 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
39509 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
39510 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
39511 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
39512 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
39513 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
39514 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
39515 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
39516 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
39517 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
39518 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
39519 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
39520 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
39521 * sysdeps/ieee754/k_standard.c: Likewise.
39522 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
39523 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
39524 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
39525 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
39526 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
39527 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
39528 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
39529 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
39530 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
39531 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
39532 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
39533 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
39534 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
39535 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
39536 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
39537 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
39538 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
39539 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
39540 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
39541 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
39542 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
39543 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
39544 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
39545 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
39546 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
39547 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
39548 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
39549 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
39550 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
39551 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
39552 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
39553 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
39554 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
39555 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
39556 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
39557 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
39558 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
39559 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
39560 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
39561 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
39562 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
39563 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
39564 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
39565 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
39566 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
39567 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
39568 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
39569 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
39570 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
39571 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
39572 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
39573 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
39574 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
39575 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
39576 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
39577 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
39578 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
39579 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
39580 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
39581 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
39582 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
39583 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
39584 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
39585 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
39586 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
39587 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
39588 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
39589 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
39590 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
39591 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
39592 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
39593 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
39594 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
39595 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
39596 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
39597 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
39598 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
39599 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
39600 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
39601 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
39602 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
39603 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
39604 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
39605 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
39606 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
39607 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
39608 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
39609 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
39610 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
39611 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
39612 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
39613 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
39614 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
39615 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
39616 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
39617 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
39618 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
39619 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
39620 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
39621 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
39622 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
39623 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
39624 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
39625 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
39626 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
39627 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
39628 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
39629 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
39630 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
39631 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
39632 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
39633 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
39634 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
39635 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
39636 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
39637 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
39638 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
39639 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
39640 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
39641 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
39642 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
39643 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
39644 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
39645 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
39646 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
39647 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
39648 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
39649 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
39650 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
39651 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
39652 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
39653 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
39654 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
39655 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
39656 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
39657 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
39658 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
39659 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
39660 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
39661 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
39662 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
39663 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
39664 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
39665 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
39666 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
39667 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
39668 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
39669 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
39670 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
39671 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
39672 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
39673 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
39674 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
39675 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
39676 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
39677 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
39678 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
39679 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
39680 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
39681 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
39682 * sysdeps/ieee754/s_lib_version.c: Likewise.
39683 * sysdeps/ieee754/s_matherr.c: Likewise.
39684 * sysdeps/ieee754/s_signgam.c: Likewise.
39685 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
39686 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
39687 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
39688 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
39689 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
39690 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
39691 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
39692 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
39693 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
39694 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
39695 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
39696 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
39697 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
39698 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
39699 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
39700 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
39701 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
39702 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
39703 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
39704 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
39705 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
39707 2012-03-09 Joseph Myers <joseph@codesourcery.com>
39709 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
39710 * sunrpc/rpc_main.c: Likewise.
39711 * sunrpc/rpc_svcout.c: Likewise.
39713 2012-03-09 David S. Miller <davem@davemloft.net>
39715 * include/math_private.h: New file.
39717 2012-03-09 Joseph Myers <joseph@codesourcery.com>
39719 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
39720 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
39721 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
39722 from <bits/socket_type.h>.
39723 (enum __socket_type): Don't define here.
39724 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
39725 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39726 bits/socket_type.h.
39729 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
39730 checking __USE_GNU.
39732 * Makerules ($(inst_includedir)/%.h): New rule.
39733 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
39734 (install-others): Remove variable setting.
39735 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
39737 2012-03-08 Richard Henderson <rth@twiddle.net>
39739 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
39740 from macro to inline function; merge with the
39741 !__LIBC_INTERNAL_MATH_INLINES version.
39742 (__ieee754_sqrtf): Likewise.
39744 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
39745 to inline function.
39746 (__rintf, __floor, __floorf): Likewise.
39748 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
39749 macro to inline function.
39750 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
39752 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
39753 not <math/math_private.h>.
39755 2012-03-08 David S. Miller <davem@davemloft.net>
39757 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
39759 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
39761 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
39763 * resolv/gai_misc.c (handle_requests): Fix struct timespec
39765 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
39766 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
39768 2012-03-08 Ulrich Drepper <drepper@gmail.com>
39770 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
39771 be defined individually, they must be defined as a block. Define
39772 S for printing a string instead of hidint the different by using a
39773 macro for adding the 'l'.
39774 * stdio-common/tst-fphex-wide.c: Adjust.
39776 2012-03-07 Marek Polacek <polacek@redhat.com>
39778 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
39780 2012-03-08 Marek Polacek <polacek@redhat.com>
39783 * stdio-common/Makefile (tests): Add tst-fphex-wide.
39784 * stdio-common/tst-fphex.c: Define a few macros to make the
39785 test reusable. Use them.
39786 * stdio-common/tst-fphex-wide.c: New file.
39788 2012-03-08 Joseph Myers <joseph@codesourcery.com>
39791 * manual/macros.texi (gnusystems): New macro.
39792 (nongnusystems): Likewise.
39793 (gnulinuxhurdsystems): Likewise.
39794 (gnuhurdsystems): Likewise..
39795 (gnulinuxsystems): Likewise.
39796 * manual/charset.texi: Use new macros or @theglibc{} to refer to
39797 variants of the GNU system, not "GNU system".
39798 * manual/conf.texi: Likewise.
39799 * manual/errno.texi: Likewise. Update example of errno macro
39801 * manual/filesys.texi: Likewise.
39802 (getumask): Document as specific to GNU/Hurd.
39803 * manual/install.texi: Likewise. Reword some references to
39805 * manual/intro.texi: Likewise.
39806 * manual/io.texi: Likewise.
39807 (File Name Portability): Detail which constraints are inapplicable
39808 to all GNU systems and which are only inapplicable to GNU/Hurd.
39809 * manual/job.texi: Likewise.
39810 * manual/llio.texi: Likewise.
39811 (O_NOCTTY): Document as present on GNU/Linux.
39812 * manual/maint.texi: Likewise.
39813 * manual/memory.texi: Likewise.
39814 * manual/pattern.texi: Likewise.
39815 * manual/pipe.texi: Likewise.
39816 * manual/process.texi: Likewise.
39817 * manual/resource.texi: Likewise.
39818 (RUSAGE_CHILDREN): Remove statement about specifying a particular
39820 * manual/setjmp.texi: Likewise.
39821 * manual/signal.texi: Likewise.
39822 * manual/startup.texi: Likewise.
39823 * manual/stdio.texi: Likewise.
39824 * manual/terminal.texi: Likewise.
39825 (ONLCR): Document as POSIX.
39826 (OXTABS): Document availability on GNU/Linux as XTABS.
39827 (ONOEOT): Document availability separately from other bits.
39828 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
39829 * manual/time.texi: Likewise.
39830 * manual/users.texi: Likewise.
39831 * INSTALL: Regenerated.
39832 * sysdeps/gnu/errlist.c: Regenerated.
39834 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
39835 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
39836 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
39838 * configure: Regenerated.
39840 2012-03-07 Joseph Myers <joseph@codesourcery.com>
39842 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
39843 default includes instead of AC_HEADER_CHECK.
39844 * sysdeps/i386/configure: Regenerated.
39847 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
39848 * math/s_cacoshf.c (__cacoshf): Likewise.
39849 * math/s_cacoshl.c (__cacoshl): Likewise.
39850 * math/s_casinh.c (__casinh): Set signs of result from argument.
39851 * math/s_casinhf.c (__casinhf): Likewise.
39852 * math/s_casinhl.c (__casinhl): Likewise.
39853 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
39854 (casinh_test): Add more tests.
39855 * sysdeps/i386/fpu/libm-test-ulps: Update.
39856 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39858 2012-03-07 Ulrich Drepper <drepper@gmail.com>
39860 * po/zh_TW.po: Update from translation team.
39862 * login/Makefile (distribute): Remove variable.
39863 * catgets/Makefile: Likewise.
39864 * mach/Makefile: Likewise.
39865 * malloc/Makefile: Likewise.
39866 * misc/Makefile: Likewise.
39867 * iconv/Makefile: Likewise.
39868 * nscd/Makefile: Likewise.
39869 * hurd/Makefile: Likewise.
39870 * manual/Makefile: Likewise.
39871 * locale/Makefile: Likewise.
39872 * intl/Makefile: Likewise.
39873 * conform/Makefile: Likewise.
39874 * nss/Makefile: Likewise.
39875 * time/Makefile: Likewise.
39876 * soft-fp/Makefile: Likewise.
39877 * dirent/Makefile: Likewise.
39878 * gmon/Makefile: Likewise.
39879 * po/Makefile: Likewise.
39880 * rt/Makefile: Likewise.
39881 * socket/Makefile: Likewise.
39882 * math/Makefile: Likewise.
39883 * signal/Makefile: Likewise.
39884 * debug/Makefile: Likewise.
39885 * elf/Makefile: Likewise.
39886 * timezone/Makefile: Likewise.
39887 * stdlib/Makefile: Likewise.
39888 * iconvdata/Makefile: Likewise.
39889 * sunrpc/Makefile: Likewise.
39890 * io/Makefile: Likewise.
39891 * argp/Makefile: Likewise.
39892 * inet/Makefile: Likewise.
39893 * hesiod/Makefile: Likewise.
39894 * grp/Makefile: Likewise.
39895 * csu/Makefile: Likewise.
39896 * wctype/Makefile: Likewise.
39897 * crypt/Makefile: Likewise.
39898 * libio/Makefile: Likewise.
39899 * string/Makefile: Likewise.
39900 * nis/Makefile: Likewise.
39901 * resolv/Makefile: Likewise.
39902 * stdio-common/Makefile: Likewise.
39903 * wcsmbs/Makefile: Likewise.
39904 * dlfcn/Makefile: Likewise.
39905 * posix/Makefile: Likewise.
39908 * timezone/Makefile: Don't install timezone files, just the programs
39911 2012-03-06 Ulrich Drepper <drepper@gmail.com>
39913 * nss/databases.def: Add missing gshadow entry.
39915 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
39917 2012-03-06 Marek Polacek <polacek@redhat.com>
39920 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
39921 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
39922 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
39923 * stdio-common/tst-long-dbl-fphex.c: New file.
39925 2012-03-06 David S. Miller <davem@davemloft.net>
39927 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
39928 (set_obp_int): New function.
39929 (get_obp_int): New function.
39930 (__get_clockfreq_via_dev_openprom): Likewise.
39931 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
39932 Avoid unused variable warnings on 'val' and use builtin_expect.
39933 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
39935 (INLINE_CLONE_SYSCALL): Likewise.
39937 2012-03-05 David S. Miller <davem@davemloft.net>
39939 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39941 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
39943 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39945 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
39946 only for |x| >= 40.
39947 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
39949 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
39951 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
39952 Replace gettimeofday with __vdso_gettimeofday.
39954 * sysdeps/unix/sysv/linux/x86_64/init-first.c
39955 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
39956 __vdso_clock_gettime and __vdso_getcpu.
39958 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
39959 time with __vdso_time.
39961 2012-03-05 Joseph Myers <joseph@codesourcery.com>
39963 * manual/lang.texi (size_t): Note types to which size_t may be
39964 equivalent with the GNU C Library, but do not describe when
39965 differences between them are significant.
39967 2012-03-05 Andreas Jaeger <aj@suse.de>
39969 * sysdeps/i386/fpu/libm-test-ulps: Update.
39971 2012-03-05 Joseph Myers <joseph@codesourcery.com>
39974 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
39975 (__ieee754_pow): Save and restore rounding mode and use
39976 round-to-nearest for main computations.
39977 * math/libm-test.inc (pow_test_tonearest): New function.
39978 (pow_test_towardzero): Likewise.
39979 (pow_test_downward): Likewise.
39980 (pow_test_upward): Likewise.
39981 (main): Call the new functions.
39982 * sysdeps/i386/fpu/libm-test-ulps: Update.
39983 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39986 * math/libm-test.inc (cosh_test_tonearest): New function.
39987 (cosh_test_towardzero): Likewise.
39988 (cosh_test_downward): Likewise.
39989 (cosh_test_upward): Likewise.
39990 (sinh_test_tonearest): Likewise.
39991 (sinh_test_towardzero): Likewise.
39992 (sinh_test_downward): Likewise.
39993 (sinh_test_upward): Likewise.
39994 (main): Call the new functions.
39995 * sysdeps/i386/fpu/libm-test-ulps: Update.
39996 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39998 2012-03-05 Tom de Vries <tom@codesourcery.com>
40000 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
40001 default stack guard is set in last bytes.
40002 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
40004 2012-03-05 Kees Cook <keescook@chromium.org>
40006 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
40009 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
40010 possibly allocate from heap instead of stack.
40011 * stdio-common/bug-vfprintf-nargs.c: New file.
40012 * stdio-common/Makefile (tests): Add nargs overflow test.
40014 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
40016 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40018 2012-03-03 Marek Polacek <polacek@redhat.com>
40020 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
40021 * math/math_private.h: Likewise.
40022 * stdlib/tst-strtod.c: Likewise.
40023 * sysdeps/i386/i486/bits/atomic.h: Likewise.
40024 * sysdeps/x86_64/bits/atomic.h: Likewise.
40026 2012-03-02 David S. Miller <davem@davemloft.net>
40028 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
40029 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
40030 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
40031 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
40032 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
40033 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
40034 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
40035 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
40037 2012-03-02 Roland McGrath <roland@hack.frob.com>
40040 * manual/examples/README: New file, says the example source files
40041 can be used under GPL>=2.
40042 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
40043 line containing just "*/".
40044 * manual/examples/add.c: Add copyright header (GPL>=2).
40045 * manual/examples/argp-ex1.c: Likewise.
40046 * manual/examples/argp-ex2.c: Likewise.
40047 * manual/examples/argp-ex3.c: Likewise.
40048 * manual/examples/argp-ex4.c: Likewise.
40049 * manual/examples/atexit.c: Likewise.
40050 * manual/examples/db.c: Likewise.
40051 * manual/examples/dir.c: Likewise.
40052 * manual/examples/dir2.c: Likewise.
40053 * manual/examples/execinfo.c: Likewise.
40054 * manual/examples/filecli.c: Likewise.
40055 * manual/examples/filesrv.c: Likewise.
40056 * manual/examples/fmtmsgexpl.c: Likewise.
40057 * manual/examples/genpass.c: Likewise.
40058 * manual/examples/inetcli.c: Likewise.
40059 * manual/examples/inetsrv.c: Likewise.
40060 * manual/examples/isockad.c: Likewise.
40061 * manual/examples/longopt.c: Likewise.
40062 * manual/examples/memopen.c: Likewise.
40063 * manual/examples/memstrm.c: Likewise.
40064 * manual/examples/mkfsock.c: Likewise.
40065 * manual/examples/mkisock.c: Likewise.
40066 * manual/examples/mygetpass.c: Likewise.
40067 * manual/examples/pipe.c: Likewise.
40068 * manual/examples/popen.c: Likewise.
40069 * manual/examples/rprintf.c: Likewise.
40070 * manual/examples/search.c: Likewise.
40071 * manual/examples/select.c: Likewise.
40072 * manual/examples/setjmp.c: Likewise.
40073 * manual/examples/sigh1.c: Likewise.
40074 * manual/examples/sigusr.c: Likewise.
40075 * manual/examples/stpcpy.c: Likewise.
40076 * manual/examples/strdupa.c: Likewise.
40077 * manual/examples/strftim.c: Likewise.
40078 * manual/examples/strncat.c: Likewise.
40079 * manual/examples/subopt.c: Likewise.
40080 * manual/examples/swapcontext.c: Likewise.
40081 * manual/examples/termios.c: Likewise.
40082 * manual/examples/testopt.c: Likewise.
40083 * manual/examples/testpass.c: Likewise.
40084 * manual/examples/timeval_subtract.c: Likewise.
40087 * manual/time.texi (Elapsed Time): Move timeval_subtract example
40089 * manual/timeval_subtract.c.texi: ... here, new file.
40091 2012-03-02 David S. Miller <davem@davemloft.net>
40093 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
40095 2012-03-02 Joseph Myers <joseph@codesourcery.com>
40098 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
40099 (__sin): Save and restore rounding mode and use round-to-nearest
40100 for all computations.
40101 (__cos): Save and restore rounding mode and use round-to-nearest
40102 for all computations.
40103 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
40105 (tan): Save and restore rounding mode and use round-to-nearest for
40107 * math/libm-test.inc (cos_test_tonearest): New function.
40108 (cos_test_towardzero): Likewise.
40109 (cos_test_downward): Likewise.
40110 (cos_test_upward): Likewise.
40111 (sin_test_tonearest): Likewise.
40112 (sin_test_towardzero): Likewise.
40113 (sin_test_downward): Likewise.
40114 (sin_test_upward): Likewise.
40115 (tan_test_tonearest): Likewise.
40116 (tan_test_towardzero): Likewise.
40117 (tan_test_downward): Likewise.
40118 (tan_test_upward): Likewise.
40119 (main): Call the new functions.
40120 * sysdeps/i386/fpu/libm-test-ulps: Update.
40121 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40124 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
40125 small n, then large n, before computing and testing k+n.
40126 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
40127 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
40129 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
40131 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
40132 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
40133 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
40134 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
40135 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
40136 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
40137 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
40138 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
40139 * math/libm-test.inc (scalbn_test): Add more tests.
40140 (scalbln_test): Likewise.
40142 * manual/filesys.texi (mode_t): Describe constraints on size and
40143 signedness, not exact equivalence to a particular type.
40145 (ino64_t): Likewise.
40147 (nlink_t): Likewise.
40148 (blkcnt_t): Likewise.
40149 (blkcnt64_t): Likewise.
40150 * manual/llio.texi (off_t): Likewise.
40153 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
40154 (__ieee754_exp): Save and restore rounding mode and use
40155 round-to-nearest for all computations.
40156 * math/libm-test.inc (exp_test_tonearest): New function.
40157 (exp_test_towardzero): Likewise.
40158 (exp_test_downward): Likewise.
40159 (exp_test_upward): Likewise.
40160 (main): Call the new functions.
40161 * sysdeps/i386/fpu/libm-test-ulps: Update.
40162 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40164 2012-03-01 Chris Demetriou <cgd@google.com>
40166 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
40167 have predictable order.
40169 2012-03-01 David S. Miller <davem@davemloft.net>
40171 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
40173 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
40174 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
40175 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
40176 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
40178 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
40179 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
40180 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
40181 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
40182 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
40183 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
40184 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
40185 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
40186 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
40188 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40190 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
40191 * sysdeps/sparc/fpu/libm-test-ulps: to here.
40192 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
40194 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
40195 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
40196 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
40197 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
40198 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
40199 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
40200 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
40201 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
40202 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
40203 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
40204 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
40205 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
40206 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
40207 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
40208 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
40209 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
40210 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
40211 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
40212 * sysdeps/sparc/elf/configure: Regenerated.
40214 2012-03-01 Joseph Myers <joseph@codesourcery.com>
40216 * configure.in (AS, LD): Require binutils 2.20 or later.
40217 * configure: Regenerated.
40218 * manual/install.texi (Tools for Compilation): Give binutils 2.20
40219 as required minimum version.
40220 * INSTALL: Regenerated.
40224 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
40225 before squaring exponent.
40226 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
40227 bottom long double and 27 bits of top long double before squaring
40229 * math/libm-test.inc (erfc_test): Add more tests.
40230 * sysdeps/i386/fpu/libm-test-ulps: Update.
40231 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
40232 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40234 2012-03-01 Kai Tietz <ktietz@redhat.com>
40236 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
40237 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
40238 containing bit-fields.
40239 * soft-fp/extended.h (_FP_UNION_E): Likewise.
40240 * soft-fp/single.h (_FP_UNION_S): Likewise.
40241 * soft-fp/double.h (_FP_UNION_D): Likewise.
40243 2012-02-29 Joseph Myers <joseph@codesourcery.com>
40246 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
40247 not include ../strcmp.S.
40248 [USE_AS_STRNCASECMP_L]: Likewise.
40249 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
40250 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
40251 * sysdeps/i386/i686/multiarch/strncase_l-c.c
40252 (__strncasecmp_l_ia32): Define as alias to
40253 __strncasecmp_l_nonascii.
40256 * math/libm-test.inc (expm1_test): Add test for bug 5794.
40257 * sysdeps/i386/fpu/libm-test-ulps: Update.
40258 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40260 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
40261 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40263 2012-02-29 Jeff Law <law@redhat.com>
40265 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
40266 out of bounds read.
40268 2012-02-29 Marek Polacek <polacek@redhat.com>
40271 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
40272 * elf/Makefile: Add rules to run tst-unused-dep.out.
40274 2012-02-28 David S. Miller <davem@davemloft.net>
40276 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
40277 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
40278 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
40279 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
40280 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
40281 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
40283 2012-02-29 Joseph Myers <joseph@codesourcery.com>
40285 * math/libm-test.inc (llround_test): Move one test from
40286 lround_test. Use TEST_f_L in moved test.
40287 (lround_test): Move misplaced test to llround_test. Add testcase
40290 2012-02-28 Ulrich Drepper <drepper@gmail.com>
40292 * sysdeps/x86_64/fpu/e_expf.S: New file.
40293 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
40295 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
40298 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
40299 of remain_len that may cause incomplete multi-byte character and
40301 * posix/bug-regex33.c: New file.
40302 * posix/Makefile (tests): Add bug-regex33.
40304 2012-02-28 Joseph Myers <joseph@codesourcery.com>
40306 * manual/macros.texi: New file.
40307 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
40308 * manual/libc.texinfo: Include macros.texi.
40309 * manual/creatute.texi: Likewise.
40310 * manual/install.texi: Likewise.
40311 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
40312 @glibcadj{} in references to the GNU C Library.
40313 * manual/charset.texi: Likewise.
40314 * manual/conf.texi: Likewise.
40315 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
40316 when not using those macros.
40317 * manual/creature.texi: Likewise.
40318 * manual/crypt.texi: Likewise.
40319 * manual/errno.texi: Likewise.
40320 * manual/filesys.texi: Likewise.
40321 * manual/header.texi: Likewise.
40322 * manual/install.texi: Likewise.
40323 * manual/intro.texi: Likewise.
40324 * manual/io.texi: Likewise.
40325 * manual/job.texi: Likewise.
40326 * manual/lang.texi: Likewise.
40327 * manual/libc.texiinfo: Likewise.
40328 * manual/llio.texi: Likewise.
40329 * manual/locale.texi: Likewise.
40330 * manual/maint.texi: Likewise.
40331 * manual/math.texi: Likewise.
40332 * manual/memory.texi: Likewise.
40333 * manual/message.texi: Likewise.
40334 * manual/nss.texi: Likewise.
40335 * manual/pattern.texi: Likewise.
40336 * manual/process.texi: Likewise.
40337 * manual/resource.texi: Likewise.
40338 * manual/search.texi: Likewise.
40339 * manual/setjmp.texi: Likewise.
40340 * manual/signal.texi: Likewise.
40341 * manual/socket.texi: Likewise.
40342 * manual/startup.texi: Likewise.
40343 * manual/stdio.texi: Likewise.
40344 * manual/string.texi: Likewise.
40345 * manual/sysinfo.texi: Likewise.
40346 * manual/syslog.texi: Likewise.
40347 * manual/terminal.texi: Likewise.
40348 * manual/time.texi: Likewise.
40349 * manual/users.texi: Likewise.
40350 * INSTALL: Regenerated.
40351 * NOTES: Regenerated.
40352 * sysdeps/gnu/errlist.c: Regenerated.
40354 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
40356 * include/dirent.h: Include <dirstream.h> before
40359 2012-02-28 David S. Miller <davem@davemloft.net>
40361 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
40362 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
40363 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
40364 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
40366 2012-02-27 David S. Miller <davem@davemloft.net>
40368 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
40369 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
40370 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
40371 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
40373 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
40374 frame pointer instead of stack pointer relative arg slot.
40375 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
40376 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
40377 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
40379 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
40382 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
40384 2012-02-27 David S. Miller <davem@davemloft.net>
40386 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
40387 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
40388 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
40389 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
40390 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
40391 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
40392 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
40393 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
40395 2012-02-27 Joseph Myers <joseph@codesourcery.com>
40397 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
40398 later. Allow versions 5-9.
40399 * configure: Regenerated.
40400 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
40401 required minimum version and 4.6 as recommended version. Do not
40402 mention bugs in GCC 2.7 and 2.8.
40403 * INSTALL: Regenerated.
40405 2012-02-27 David S. Miller <davem@davemloft.net>
40407 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
40408 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
40409 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
40410 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
40411 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
40412 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
40413 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
40414 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
40416 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
40417 manipulate bits before adding and subtracting TWO112[sx].
40418 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
40420 2012-02-27 Roland McGrath <roland@hack.frob.com>
40423 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
40424 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
40425 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
40426 being in POSIX, because they are in 1003.1-2008.
40428 * rt/tst-aio.c: Include <fcntl.h>.
40429 * rt/tst-aio7.c: Likewise.
40430 * rt/tst-aio64.c: Likewise.
40432 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
40434 2012-02-27 Joseph Myers <joseph@codesourcery.com>
40436 * manual/install.texi (--with-headers): Describe headers as
40437 interface headers, not private headers.
40438 (Specific advice for GNU/Linux systems): Describe use of headers
40439 from "make headers_install", not private headers from older
40441 * INSTALL: Regenerated.
40442 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
40444 * sysdeps/unix/sysv/linux/configure: Regenerated.
40446 * manual/llio.texi (fclean): Remove documentation.
40448 * manual/Makefile (libc-texi-generated): New variable. Include
40450 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
40451 $(libc-texi-generated), not duplicated list of files.
40452 (version.texi, stamp-version): New rules.
40453 (realclean): Remove $(libc-texi-generated), not individual files
40454 from that list. Do not remove dir-add.texinfo.
40455 * manual/libc.texinfo: Comment out uses of edition numbers and
40456 references to printed manual. Remove last-updated dates.
40457 (EDITION): Comment out.
40459 (VERSION, UPDATED): Remove.
40460 (version.texi): Include.
40462 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
40464 * sysdeps/posix/spawni.c: Include <signal.h>.
40465 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
40466 * sysdeps/pthread/aio_fsync.c: Likewise.
40468 2012-02-26 Ulrich Drepper <drepper@gmail.com>
40470 * conform/Makefile (tests): Run only when not cross-compiling and
40471 when fast-check is not defined.
40473 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
40474 * conform/data/limits.h-data: Fixes for POSIX2008.
40475 * conform/run-conformtest.sh: Run all tests.
40476 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
40478 * include/bits/dlfcn.h: Likewise.
40479 * include/langinfo.h: Likewise.
40480 * include/monetary.h: Likewise.
40481 * include/sys/poll.h: Likewise.
40483 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
40485 * posix/spawn.h: Define __need_sigset_t.
40486 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
40487 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
40488 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
40489 to get sigevent_t only.
40490 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
40491 only for __USE_GNU.
40492 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
40493 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
40494 process_vm_writev only for __USE_GNU.
40495 * termios/termios.h: Declare tcgetsid also for POSIX2008.
40497 * conform/Makefile: For now ignore errors from run-conformtest.
40498 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
40499 POSIX to avoid namespace pollution. Don't prepend headers.
40500 * conform/data/aio.h-data: Fixes for POSIX testing.
40501 * conform/data/fcntl.h-data: Likewise.
40502 * conform/data/glob.h-data: Likewise.
40503 * conform/data/grp.h-data: Likewise.
40504 * conform/data/pthread.h-data: Likewise.
40505 * conform/data/pwd.h-data: Likewise.
40506 * conform/data/signal.h-data: Likewise.
40507 * conform/data/spawn.h-data: Likewise.
40508 * conform/data/stdio.h-data: Likewise.
40509 * conform/data/stdlib.h-data: Likewise.
40510 * conform/data/stropts.h-data: Likewise.
40511 * conform/data/sys/mman.h-data: Likewise.
40512 * conform/data/sys/stat.h-data: Likewise.
40513 * conform/data/sys/types.h-data: Likewise.
40514 * conform/data/sys/wait.h-data: Likewise.
40515 * conform/data/time.h-data: Likewise.
40516 * conform/data/unistd.h-data: Likewise.
40517 * conform/data/utime.h-data: Likewise.
40519 * io/sys/stat.h: fchmod was always in POSIX.
40520 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
40521 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
40522 * rt/aio.h: Define __need_timespec before including <time.h>.
40523 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
40524 struct. Add forward declaration of pthread_attr_t and use it in
40526 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
40527 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
40528 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
40529 always remove CLK_TCK definition.
40531 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
40533 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
40535 2012-02-25 Ulrich Drepper <drepper@gmail.com>
40537 * conform/run-conformtest.sh: New file.
40538 * conform/Makefile: Run run-conformtest for tests.
40539 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
40542 * conform/data/uchar.h-data: New file.
40543 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
40544 * conform/data/arpa/inet.h-data: Likewise.
40545 * conform/data/assert.h-data: Likewise.
40546 * conform/data/complex.h-data: Likewise.
40547 * conform/data/cpio.h-data: Likewise.
40548 * conform/data/ctype.h-data: Likewise.
40549 * conform/data/dirent.h-data: Likewise.
40550 * conform/data/dlfcn.h-data: Likewise.
40551 * conform/data/errno.h-data: Likewise.
40552 * conform/data/fcntl.h-data: Likewise.
40553 * conform/data/float.h-data: Likewise.
40554 * conform/data/fmtmsg.h-data: Likewise.
40555 * conform/data/fnmatch.h-data: Likewise.
40556 * conform/data/ftw.h-data: Likewise.
40557 * conform/data/glob.h-data: Likewise.
40558 * conform/data/grp.h-data: Likewise.
40559 * conform/data/iconv.h-data: Likewise.
40560 * conform/data/inttypes.h-data: Likewise.
40561 * conform/data/langinfo.h-data: Likewise.
40562 * conform/data/libgen.h-data: Likewise.
40563 * conform/data/limits.h-data: Likewise.
40564 * conform/data/locale.h-data: Likewise.
40565 * conform/data/math.h-data: Likewise.
40566 * conform/data/monetary.h-data: Likewise.
40567 * conform/data/mqueue.h-data: Likewise.
40568 * conform/data/ndbm.h-data: Likewise.
40569 * conform/data/net/if.h-data: Likewise.
40570 * conform/data/netdb.h-data: Likewise.
40571 * conform/data/netinet/in.h-data: Likewise.
40572 * conform/data/nl_types.h-data: Likewise.
40573 * conform/data/poll.h-data: Likewise.
40574 * conform/data/pthread.h-data: Likewise.
40575 * conform/data/pwd.h-data: Likewise.
40576 * conform/data/regex.h-data: Likewise.
40577 * conform/data/sched.h-data: Likewise.
40578 * conform/data/search.h-data: Likewise.
40579 * conform/data/semaphore.h-data: Likewise.
40580 * conform/data/setjmp.h-data: Likewise.
40581 * conform/data/signal.h-data: Likewise.
40582 * conform/data/spawn.h-data: Likewise.
40583 * conform/data/stdarg.h-data: Likewise.
40584 * conform/data/stdio.h-data: Likewise.
40585 * conform/data/stdlib.h-data: Likewise.
40586 * conform/data/string.h-data: Likewise.
40587 * conform/data/strings.h-data: Likewise.
40588 * conform/data/stropts.h-data: Likewise.
40589 * conform/data/sys/ipc.h-data: Likewise.
40590 * conform/data/sys/mman.h-data: Likewise.
40591 * conform/data/sys/msg.h-data: Likewise.
40592 * conform/data/sys/resource.h-data: Likewise.
40593 * conform/data/sys/select.h-data: Likewise.
40594 * conform/data/sys/sem.h-data: Likewise.
40595 * conform/data/sys/shm.h-data: Likewise.
40596 * conform/data/sys/socket.h-data: Likewise.
40597 * conform/data/sys/stat.h-data: Likewise.
40598 * conform/data/sys/statvfs.h-data: Likewise.
40599 * conform/data/sys/time.h-data: Likewise.
40600 * conform/data/sys/timeb.h-data: Likewise.
40601 * conform/data/sys/times.h-data: Likewise.
40602 * conform/data/sys/types.h-data: Likewise.
40603 * conform/data/sys/uio.h-data: Likewise.
40604 * conform/data/sys/un.h-data: Likewise.
40605 * conform/data/sys/utsname.h-data: Likewise.
40606 * conform/data/sys/wait.h-data: Likewise.
40607 * conform/data/syslog.h-data: Likewise.
40608 * conform/data/tar.h-data: Likewise.
40609 * conform/data/termios.h-data: Likewise.
40610 * conform/data/utime.h-data: Likewise.
40611 * conform/data/utmpx.h-data: Likewise.
40612 * conform/data/varargs.h-data: Likewise.
40613 * conform/data/wchar.h-data: Likewise.
40614 * conform/data/wctype.h-data: Likewise.
40615 * conform/data/wordexp.h-data: Likewise.
40617 * include/stropts.h: New file.
40618 * include/uchar.h: New file.
40619 * include/aio.h: Changes to allow conformtest.pl to use the headers.
40620 * include/assert.h: Likewise.
40621 * include/ctype.h: Likewise.
40622 * include/dirent.h: Likewise.
40623 * include/dlfcn.h: Likewise.
40624 * include/fcntl.h: Likewise.
40625 * include/fnmatch.h: Likewise.
40626 * include/glob.h: Likewise.
40627 * include/grp.h: Likewise.
40628 * include/libio.h: Likewise.
40629 * include/locale.h: Likewise.
40630 * include/math.h: Likewise.
40631 * include/net/if.h: Likewise.
40632 * include/netdb.h: Likewise.
40633 * include/netinet/in.h: Likewise.
40634 * include/pthread.h: Likewise.
40635 * include/pwd.h: Likewise.
40636 * include/regex.h: Likewise.
40637 * include/sched.h: Likewise.
40638 * include/search.h: Likewise.
40639 * include/setjmp.h: Likewise.
40640 * include/signal.h: Likewise.
40641 * include/stdio.h: Likewise.
40642 * include/stdlib.h: Likewise.
40643 * include/string.h: Likewise.
40644 * include/sys/cdefs.h: Likewise.
40645 * include/sys/mman.h: Likewise.
40646 * include/sys/msg.h: Likewise.
40647 * include/sys/resource.h: Likewise.
40648 * include/sys/select.h: Likewise.
40649 * include/sys/socket.h: Likewise.
40650 * include/sys/stat.h: Likewise.
40651 * include/sys/statvfs.h: Likewise.
40652 * include/sys/time.h: Likewise.
40653 * include/sys/times.h: Likewise.
40654 * include/sys/uio.h: Likewise.
40655 * include/sys/utsname.h: Likewise.
40656 * include/sys/wait.h: Likewise.
40657 * include/termios.h: Likewise.
40658 * include/time.h: Likewise.
40659 * include/ulimit.h: Likewise.
40660 * include/unistd.h: Likewise.
40661 * include/utime.h: Likewise.
40662 * include/wchar.h: Likewise.
40663 * include/wctype.h: Likewise.
40664 * include/wordexp.h: Likewise.
40666 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
40668 * time/time.h: TIME_UTC must be a macro.
40669 Make timespec_get available for ISO C11 only as well.
40671 2012-02-24 Ulrich Drepper <drepper@gmail.com>
40673 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
40674 Reported by Peng Haitao <penght@cn.fujitsu.com>.
40676 2012-02-24 Joseph Myers <joseph@codesourcery.com>
40678 * configure.in: Use -o not -a in test for unsupported multi-arch.
40680 2012-02-24 Joseph Myers <joseph@codesourcery.com>
40682 * manual/texinfo.tex: Update to version 2012-01-19.16.
40684 2012-02-24 Joseph Myers <joseph@codesourcery.com>
40686 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
40688 2012-02-24 Roland McGrath <roland@hack.frob.com>
40691 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
40692 * manual/fdl-1.3.texi: New file.
40693 * manual/fdl-1.1.texi: File removed.
40696 * manual/libc.texinfo (FDL_VERSION): New @set.
40697 Use it for mention of FDL in cover text.
40698 (Documentation License): Use it in @include file name.
40700 2012-02-22 Joseph Myers <joseph@codesourcery.com>
40701 Roland McGrath <roland@hack.frob.com>
40704 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
40705 (not LONG_LONG_MAX and LONG_LONG_MIN.
40706 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
40707 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
40709 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
40711 2012-02-22 Joseph Myers <joseph@codesourcery.com>
40715 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
40716 manipulate bits before adding and subtracting TWO23[sx].
40717 * math/libm-test.inc (nearbyint_test): Add more tests.
40719 2012-02-22 Joseph Myers <joseph@codesourcery.com>
40722 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
40723 bits before adding and subtracting TWO23[sx].
40724 * math/libm-test.inc (rint_test): Add more tests.
40725 (rint_test_tonearest): Likewise.
40726 (rint_test_towardzero): Likewise.
40727 (rint_test_downward): Likewise.
40728 (rint_test_upward: Likewise.
40730 2012-02-22 Joseph Myers <joseph@codesourcery.com>
40733 * include/stdc-predef.h: New file. Extracted from features.h.
40734 * include/features.h: Include stdc-predef.h.
40735 * Makefile (headers): Add stdc-predef.h.
40736 * CONFORMANCE (Compiler limitations): Update.
40738 2012-02-22 Joseph Myers <joseph@codesourcery.com>
40740 * manual/libc.texinfo (VERSION, UPDATED): Revert.
40742 2012-02-21 David S. Miller <davem@davemloft.net>
40744 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
40745 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
40747 2012-02-20 David S. Miller <davem@davemloft.net>
40749 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
40750 using a normal save/restore sequence, rather than allocating a
40751 dummy stack frame just to store a frame pointer and restore.
40752 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
40754 2012-02-21 Joseph Myers <joseph@codesourcery.com>
40756 * manual/install.texi: Fix stray word in line-wrapped comment.
40758 2012-02-20 David S. Miller <davem@davemloft.net>
40760 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
40761 both binutils and gcc support GOTDATA.
40763 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
40764 "rd %pc" in the PIC register setup sequences.
40766 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
40767 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
40768 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
40769 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
40770 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
40771 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
40772 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
40773 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
40774 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
40775 (SYSCALL_ERROR_HANDLER): Likewise.
40776 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
40777 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
40778 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
40779 (SYSCALL_ERROR_HANDLER): Likewise.
40781 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
40782 (HAVE_GCC_GOTDATA): New.
40783 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
40784 relocation support in both binutils and gcc.
40785 * sysdeps/sparc/elf/configure: Regenerate.
40787 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
40788 * sysdeps/sparc/sparc32/elf/configure: Delete.
40789 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
40790 * sysdeps/sparc/sparc64/elf/configure: Delete.
40791 * sysdeps/sparc/elf/configure.in: New file.
40792 * sysdeps/sparc/elf/configure: Generate.
40794 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
40795 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
40796 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
40797 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
40798 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
40800 2012-02-21 Joseph Myers <joseph@codesourcery.com>
40802 * manual/install.texi: Do not mention specific glibc version
40804 * manual/libc.texinfo (VERSION, UPDATED): Update.
40805 (@copying): Use @copyright{} and range of years.
40807 2012-02-21 Joseph Myers <joseph@codesourcery.com>
40810 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
40811 [crti.S not in sysdirs] (generated): Do not append.
40812 [crti.S not in sysdirs] (omit-deps): Likewise.
40813 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
40814 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
40815 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
40816 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
40817 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
40819 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
40820 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
40821 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
40822 * csu/defs.awk: Remove file.
40823 * sysdeps/generic/initfini.c: Likewise.
40824 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
40826 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
40829 2012-02-20 Joseph Myers <joseph@codesourcery.com>
40831 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
40832 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
40833 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
40834 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
40835 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
40836 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
40838 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
40839 (__EPOLL_PACKED): Define to empty if not defined by
40841 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
40842 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40845 2012-02-20 Joseph Myers <joseph@codesourcery.com>
40847 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
40848 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
40849 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
40850 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
40852 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
40853 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40856 2012-02-20 Joseph Myers <joseph@codesourcery.com>
40858 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
40860 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
40861 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
40862 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
40863 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40865 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
40867 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
40868 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
40870 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
40872 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
40873 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
40875 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
40877 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
40880 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
40882 * math/w_acos.c: Use non-signaling floating-point comparisons.
40883 * math/w_acosf.c: Likewise.
40884 * math/w_acosh.c: Likewise.
40885 * math/w_acoshf.c: Likewise.
40886 * math/w_acoshl.c: Likewise.
40887 * math/w_acosl.c: Likewise.
40888 * math/w_asin.c: Likewise.
40889 * math/w_asinf.c: Likewise.
40890 * math/w_asinl.c: Likewise.
40891 * math/w_atanh.c: Likewise.
40892 * math/w_atanhf.c: Likewise.
40893 * math/w_atanhl.c: Likewise.
40894 * math/w_exp2.c: Likewise.
40895 * math/w_exp2f.c: Likewise.
40896 * math/w_exp2l.c: Likewise.
40897 * math/w_j0.c: Likewise.
40898 * math/w_j0f.c: Likewise.
40899 * math/w_j0l.c: Likewise.
40900 * math/w_j1.c: Likewise.
40901 * math/w_j1f.c: Likewise.
40902 * math/w_j1l.c: Likewise.
40903 * math/w_jn.c: Likewise.
40904 * math/w_jnf.c: Likewise.
40905 * math/w_log.c: Likewise.
40906 * math/w_log10.c: Likewise.
40907 * math/w_log10f.c: Likewise.
40908 * math/w_log10l.c: Likewise.
40909 * math/w_log2.c: Likewise.
40910 * math/w_log2f.c: Likewise.
40911 * math/w_log2l.c: Likewise.
40912 * math/w_logf.c: Likewise.
40913 * math/w_logl.c: Likewise.
40914 * math/w_sqrt.c: Likewise.
40915 * math/w_sqrtf.c: Likewise.
40916 * math/w_sqrtl.c: Likewise.
40917 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
40918 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
40919 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
40920 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
40921 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
40923 2012-02-19 Joseph Myers <joseph@codesourcery.com>
40926 * manual/string.texi (strnlen): Use correct parameter name in
40927 equivalent expression.
40929 2012-02-19 Joseph Myers <joseph@codesourcery.com>
40932 * manual/users.texi (seteuid): Consistently use neweuid for
40935 2012-02-19 Joseph Myers <joseph@codesourcery.com>
40938 * manual/nss.texi (Services in the NSS configuration): Correct
40939 list of services in example configuration file.
40941 2012-02-19 Nick Bowler <nbowler@draconx.ca>
40944 * manual/arith.texi: Remove statements about negative zero
40945 behaving identically to zero.
40947 2012-02-18 Joseph Myers <joseph@codesourcery.com>
40950 * manual/install.texi: Do not document upgrading from libc5.
40952 2012-02-18 Joseph Myers <joseph@codesourcery.com>
40955 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
40957 2012-02-18 David S. Miller <davem@davemloft.net>
40959 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
40960 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
40961 %o7 across the call.
40962 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
40964 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
40965 SETUP_PIC_REG_LEAF.
40966 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
40967 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
40968 * sysdeps/sparc/crtn.S: Likewise.
40970 2012-02-17 Ulrich Drepper <drepper@gmail.com>
40972 * aout/Makefile: Remove.
40974 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
40977 * manual/examples/argp-ex1.c (main): Format definition in GNU
40979 * manual/examples/argp-ex2.c (main): Likewise.
40980 * manual/examples/argp-ex3.c (main): Likewise.
40981 * manual/examples/argp-ex4.c (main): Likewise.
40982 * manual/examples/longopt.c (main): Use new-style prototype
40984 * manual/examples/strncat.c (main): Specify return type and use
40985 (void) for arguments.
40986 * manual/examples/subopt.c (main): Use char **argv argument.
40988 2012-02-17 Joseph Myers <joseph@codesourcery.com>
40991 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
40994 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
40997 * manual/string.texi (strchr): Change when strchrnul is
41000 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
41003 * manual/locale.texi (setlocale): Document LOCPATH.
41005 2012-02-17 Joseph Myers <joseph@codesourcery.com>
41008 * manual/process.texi (execle): Move @dots{} before last argument.
41010 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
41013 * manual/charset.texi (Generic Charset Conversion): Fix typo
41014 (LC_TYPE -> LC_CTYPE).
41016 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
41019 * manual/arith.texi (scalbn): Use @var{} on parameter names.
41020 (scalbnf): Likewise.
41021 (scalbnl): Likewise.
41022 (scalbln): Likewise.
41023 (scalblnf): Likewise.
41024 (scalblnl): Likewise.
41025 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
41026 (vwarnx): Likewise.
41029 * manual/filesys.texi (telldir): Use braces around return type.
41030 * manual/llio.texi (mmap): Add space after comma.
41031 (mmap64): Likewise.
41032 * manual/math.texi (jn): Use @var{} on parameter names.
41038 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
41040 * manual/resource.texi (ulimit): Use @dots{} instead of literal
41042 (sched_get_priority_min): Remove semicolon on @deftypefun line.
41043 (sched_get_priority_max): Likewise.
41044 * manual/signal.texi (sigvec): Add space after comma.
41045 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
41047 (if_indextoname): Likewise.
41048 (if_freenameindex): Likewise.
41049 (sendto): Use ',' instead of '.' in prototype.
41050 * manual/startup.texi (syscall): Use @dots{} instead of literal
41052 * manual/stdio.texi (__fpending): Separate initial words of
41053 paragraph from @deftypefun line.
41054 * manual/syslog.texi (syslog): Use @dots{} instead of literal
41056 (vsyslog): Use @var{} on parameter names.
41057 * manual/terminal.texi (stty): Use @var{} on parameter names.
41058 * manual/users.texi (getutmp): Use @var{} on parameter names.
41059 (getutmpx): Likewise.
41061 2012-02-17 Joseph Myers <joseph@codesourcery.com>
41064 * manual/stdio.texi (fopen): Fix typos in description of
41067 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
41070 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
41071 get clock_id definition.
41073 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
41076 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
41077 (madvise): Cast every argument to void on its own.
41079 2012-02-17 Joseph Myers <joseph@codesourcery.com>
41082 * manual/startup.texi (Exit Status): Fix typo.
41084 2012-02-17 Joseph Myers <joseph@codesourcery.com>
41087 * manual/examples/argp-ex1.c: Include <stdlib.h>.
41088 * manual/examples/argp-ex2.c: Likewise.
41089 * manual/examples/argp-ex3.c: Likewise.
41091 2012-02-16 Richard Henderson <rth@redhat.com>
41093 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
41094 * sysdeps/s390/s390-32/initfini.c: Remove.
41095 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
41096 * sysdeps/s390/s390-64/initfini.c: Remove.
41098 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
41100 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
41101 compiler output for sysdeps/generic/initfini.c.
41102 * sysdeps/sh/elf/initfini.c: Remove file.
41104 2012-02-16 David S. Miller <davem@davemloft.net>
41107 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
41109 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
41110 * sysdeps/sparc/crti.S: New file.
41111 * sysdeps/sparc/crtn.S: New file.
41112 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
41113 * sysdeps/sparc/sparc64/Makefile: Likewise.
41115 2012-02-15 Mike Frysinger <vapier@gentoo.org>
41118 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
41120 2012-02-15 Roland McGrath <roland@hack.frob.com>
41123 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
41125 * mach/devstream.c (cookie_io_functions_t): Macro removed.
41126 (write, read, close): Likewise.
41127 Patch by Aurelien Jarno <aurelien@aurel32.net>.
41129 2012-02-15 Joseph Myers <joseph@codesourcery.com>
41131 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
41132 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
41133 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
41134 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
41136 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
41137 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41140 2012-02-14 Marek Polacek <polacek@redhat.com>
41142 * sysdeps/x86_64/crti.S: New file.
41143 * sysdeps/x86_64/crtn.S: New file.
41144 * sysdeps/x86_64/elf/initfini.c: Remove file.
41146 2012-02-13 Joseph Myers <joseph@codesourcery.com>
41148 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
41149 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
41150 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
41151 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
41153 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
41154 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41157 2012-02-13 Joseph Myers <joseph@codesourcery.com>
41159 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
41160 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
41161 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
41162 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
41164 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
41165 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41168 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
41170 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
41171 __feraiseexcept instead of feraiseexcept.
41173 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
41174 nanosleep invocations.
41175 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
41176 strings, and add error checking for a nanosleep invocations.
41178 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
41180 Replace FSF snail mail address with URLs, as per GNU coding standards.
41181 Most of the snail mail addresses were wrong anyway, and omitting
41182 them makes the source code easier to maintain. Almost all of the
41183 changes are to license notices and to locale LC_IDENTIFICATION
41184 addresses, except for this one:
41185 * manual/libc.texinfo: In "Published by", give the FSF's URL,
41186 not its snail mail address.
41188 2012-02-09 Richard Henderson <rth@twiddle.net>
41190 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
41191 of kernel-features.h.
41193 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
41195 2012-02-08 Marek Polacek <polacek@redhat.com>
41197 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
41198 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
41199 * sysdeps/gnu/_G_config.h: Likewise.
41200 * sysdeps/generic/_G_config.h: Likewise.
41202 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
41204 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
41206 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41208 * sysdeps/powerpc/powerpc32/crti.S: New file.
41209 * sysdeps/powerpc/powerpc32/crtn.S: New file.
41210 * sysdeps/powerpc/powerpc64/crti.S: New file.
41211 * sysdeps/powerpc/powerpc64/crtn.S: New file.
41213 * Makeconfig (have-initfini): Don't set.
41214 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
41215 * configure.in (nopic_initfini): Don't substitute.
41216 * config.h.in (HAVE_INITFINI): Don't #undef.
41217 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
41218 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
41220 2012-02-08 Joseph Myers <joseph@codesourcery.com>
41222 Support crti.S and crtn.S provided directly by architectures.
41223 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
41224 [crti.S in sysdirs] (omit-deps): Likewise.
41225 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
41226 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
41227 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
41228 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
41229 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
41230 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
41231 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
41232 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
41233 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
41234 compiler output for sysdeps/generic/initfini.c.
41235 * sysdeps/i386/elf/Makefile: Remove file.
41236 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
41238 2012-02-07 Marek Polacek <polacek@redhat.com>
41240 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
41241 * sysdeps/gnu/_G_config.h: Likewise.
41242 * sysdeps/mach/hurd/_G_config.h: Likewise.
41244 2012-02-07 Marek Polacek <polacek@redhat.com>
41246 * math/Makefile (tests): Add tst-CMPLX2.
41247 * math/tst-CMPLX2.c: New file.
41249 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
41251 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
41253 * math/libm-test.inc (jn_test): Add missing L suffix.
41255 2012-02-06 Marek Polacek <polacek@redhat.com>
41257 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
41258 * sysdeps/i386/fpu/e_powf.S: Likewise.
41259 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
41260 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
41261 * sysdeps/i386/fpu/e_acosh.S: Likewise.
41262 * sysdeps/i386/fpu/e_pow.S: Likewise.
41263 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
41264 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
41265 * sysdeps/i386/fpu/s_expm1.S: Likewise.
41266 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
41267 * sysdeps/i386/fpu/e_log2.S: Likewise.
41268 * sysdeps/i386/fpu/e_log2l.S: Likewise.
41269 * sysdeps/i386/fpu/e_scalb.S: Likewise.
41270 * sysdeps/i386/fpu/e_powl.S: Likewise.
41271 * sysdeps/i386/fpu/s_log1p.S: Likewise.
41272 * sysdeps/i386/fpu/e_log10f.S: Likewise.
41273 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
41274 * sysdeps/i386/fpu/e_logl.S: Likewise.
41275 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
41276 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
41277 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
41278 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
41279 * sysdeps/i386/fpu/e_log2f.S: Likewise.
41280 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
41281 * sysdeps/i386/fpu/e_log.S: Likewise.
41282 * sysdeps/i386/fpu/s_cexp.S: Likewise.
41283 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
41284 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
41285 * sysdeps/i386/fpu/e_logf.S: Likewise.
41286 * sysdeps/i386/fpu/e_log10l.S: Likewise.
41287 * sysdeps/i386/fpu/e_atanh.S: Likewise.
41288 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
41289 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
41290 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
41291 * sysdeps/i386/fpu/e_log10.S: Likewise.
41292 * sysdeps/i386/fpu/s_frexp.S: Likewise.
41293 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
41294 * sysdeps/i386/fpu/s_asinh.S: Likewise.
41295 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
41296 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
41297 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
41298 * sysdeps/i386/asm-syntax.h: Likewise.
41299 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
41300 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
41301 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
41302 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
41303 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
41304 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
41305 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
41306 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
41307 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
41308 * sysdeps/powerpc/sysdep.h: Likewise.
41309 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
41310 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
41312 2012-02-06 Joseph Myers <joseph@codesourcery.com>
41315 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
41317 2012-02-06 Joseph Myers <joseph@codesourcery.com>
41319 * sysdeps/i386/sysdep.h: Include <features.h>.
41320 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
41323 2012-02-05 Joseph Myers <joseph@codesourcery.com>
41325 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
41327 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
41330 2012-02-03 Joseph Myers <joseph@codesourcery.com>
41332 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
41333 (SETUP_PIC_REG): Use GET_PC_THUNK.
41334 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
41337 2012-02-03 Joseph Myers <joseph@codesourcery.com>
41339 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
41340 for non-PIC compilation.
41341 (SETUP_PIC_REG): Add .p2align directive.
41342 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
41343 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
41344 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
41345 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
41346 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
41347 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
41348 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
41349 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
41350 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
41351 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
41352 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
41353 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
41354 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
41355 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
41356 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
41357 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
41358 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
41359 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
41360 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
41361 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
41362 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
41363 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
41364 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
41365 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
41366 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
41367 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
41368 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
41369 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
41370 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
41371 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
41372 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
41373 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
41374 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
41375 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
41376 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
41377 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
41378 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
41379 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
41380 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
41381 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
41382 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
41384 2012-02-03 Joseph Myers <joseph@codesourcery.com>
41386 * math/tst-CMPLX.c: Include <stdio.h>.
41388 2012-01-31 Joseph Myers <joseph@codesourcery.com>
41390 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
41392 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
41393 * sysdeps/sparc/bits/mathdef.h: Likewise.
41395 2012-01-31 Marek Polacek <polacek@redhat.com>
41397 * libio/libio.h: Don't define _PARAMS.
41398 * locale/programs/config.h: Don't define PARAMS.
41399 * stdlib/strtol_l.c: Likewise.
41400 (__strtol_l): Remove PARAMS from the prototype.
41402 2012-01-31 Ulrich Drepper <drepper@gmail.com>
41404 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
41405 names. Just use the correct names. Remove unnecessary wrapper
41407 * malloc/arena.c: Likewise.
41408 * malloc/hooks.c: Likewise.
41410 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
41411 ARENA_TEST says not to. Simplify test for creation of a new arena.
41412 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
41414 2012-01-30 Ulrich Drepper <drepper@gmail.com>
41416 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
41418 (update_get_addr): New function.
41419 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
41420 GET_ADDR_MODULE parameter.
41422 2012-01-30 Joseph Myers <joseph@codesourcery.com>
41424 * crypt/cert.c: Remove __STDC__ conditionals.
41425 * crypt/crypt-entry.c: Likewise.
41426 * crypt/crypt_util.c: Likewise.
41427 * libio/filedoalloc.c: Likewise.
41428 * libio/fileops.c: Likewise.
41429 * libio/genops.c: Likewise.
41430 * libio/iofclose.c: Likewise.
41431 * libio/iofdopen.c: Likewise.
41432 * libio/iofopen.c: Likewise.
41433 * libio/iofopen64.c: Likewise.
41434 * libio/iogetdelim.c: Likewise.
41435 * libio/iopopen.c: Likewise.
41436 * libio/obprintf.c: Likewise.
41437 * libio/oldfileops.c: Likewise.
41438 * libio/oldiofclose.c: Likewise.
41439 * libio/oldiofdopen.c: Likewise.
41440 * libio/oldiofopen.c: Likewise.
41441 * libio/oldiopopen.c: Likewise.
41442 * libio/wfiledoalloc.c: Likewise.
41443 * libio/wgenops.c: Likewise.
41444 * locale/programs/xmalloc.c: Likewise.
41445 * misc/syslog.c: Likewise.
41446 * stdio-common/xbug.c: Likewise.
41447 * string/memchr.c: Likewise.
41448 * string/memcmp.c: Likewise.
41449 * string/memrchr.c: Likewise.
41450 * string/rawmemchr.c: Likewise.
41451 * sysdeps/posix/getcwd.c: Likewise.
41452 * time/strftime_l.c: Likewise.
41454 2012-01-30 Joseph Myers <joseph@codesourcery.com>
41456 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
41457 * config.make.in (config-cflags-sse2avx): Define.
41458 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
41461 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
41463 * scripts/config.guess: Update from upstream config git repository.
41464 * scripts/config.sub: Likewise.
41466 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
41468 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
41470 (R_TILEPRO_*, R_TILEGX_*): New macros.
41472 * scripts/firstversions.awk: Fix bug in version range handling.
41474 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
41476 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
41478 * include/sys/epoll.h: New file.
41479 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
41482 2012-01-28 Ulrich Drepper <drepper@gmail.com>
41484 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
41485 Avoid unnecessary __WORDSIZE == 64 test.
41486 (fmaxf): Use VEX format if possible.
41491 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
41492 * math/math_private.h: Remove libc_fegetround* and
41494 * sysdeps/i386/configure.in: Check for -msse2avx.
41495 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
41496 also if SSE2AVX is defined.
41497 Remove libc_fegetround* and libc_fesetround*.
41498 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
41499 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
41500 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
41502 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
41503 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
41504 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
41505 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
41506 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
41508 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
41510 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41512 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
41514 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
41516 2012-01-27 Ulrich Drepper <drepper@gmail.com>
41519 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
41521 * Makeconfig (libm): Define.
41522 * elf/Makefile: Add rules to build and run tst-relsort1.
41523 * elf/tst-relsort1.c: New file.
41524 * elf/tst-relsort1mod1.c: New file.
41525 * elf/tst-relsort1mod2.c: New file.
41527 2012-01-27 Joseph Myers <joseph@codesourcery.com>
41529 * math/s_ldexp.c: Remove __STDC__ conditionals.
41530 * math/s_ldexpf.c: Likewise.
41531 * math/s_ldexpl.c: Likewise.
41532 * math/s_nextafter.c: Likewise.
41533 * math/s_nexttowardf.c: Likewise.
41534 * math/s_significand.c: Likewise.
41535 * math/s_significandf.c: Likewise.
41536 * math/s_significandl.c: Likewise.
41537 * math/w_jnl.c: Likewise.
41538 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
41539 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
41540 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
41541 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
41542 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
41543 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
41544 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
41545 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
41546 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
41547 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
41548 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
41549 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
41550 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
41551 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
41552 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
41553 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
41554 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
41555 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
41556 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
41557 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
41558 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
41559 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
41560 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
41561 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
41562 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
41563 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
41564 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
41565 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
41566 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
41567 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
41568 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
41569 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
41570 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
41571 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
41572 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
41573 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
41574 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
41575 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
41576 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
41577 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
41578 * sysdeps/ieee754/k_standard.c: Likewise.
41579 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
41580 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
41581 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
41582 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
41583 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
41584 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
41585 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
41586 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
41587 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
41588 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
41589 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
41590 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
41591 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
41592 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
41593 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
41594 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
41595 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
41596 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
41597 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
41598 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
41599 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
41600 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
41601 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
41602 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
41603 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
41604 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
41605 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
41606 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
41607 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
41608 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
41609 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
41610 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
41611 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
41612 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
41613 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
41614 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
41615 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
41616 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
41617 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
41618 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
41619 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
41620 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
41621 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
41622 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
41623 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
41624 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
41625 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
41626 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
41627 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
41628 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
41629 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
41630 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
41631 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
41632 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
41633 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
41634 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
41635 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
41636 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
41637 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
41638 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
41639 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
41640 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
41641 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
41642 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
41643 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
41644 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
41645 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
41646 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
41647 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
41648 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
41649 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
41650 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
41651 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
41652 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
41653 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
41654 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
41655 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
41656 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
41657 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
41658 * sysdeps/ieee754/s_matherr.c: Likewise.
41659 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
41660 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
41661 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
41662 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
41664 2012-01-26 Joseph Myers <joseph@codesourcery.com>
41666 * crypt/md5.h: Remove __STDC__ conditionals.
41667 * libio/libioP.h: Likewise.
41668 * locale/programs/config.h: Likewise.
41669 * sysdeps/generic/sysdep.h: Likewise.
41670 * sysdeps/i386/asm-syntax.h: Likewise.
41671 * sysdeps/s390/asm-syntax.h: Likewise.
41672 * sysdeps/unix/sysdep.h: Likewise.
41673 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
41674 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
41676 2012-01-26 Joseph Myers <joseph@codesourcery.com>
41678 * libio/libio.h: Remove __STDC__ conditionals.
41679 * malloc/obstack.h: Likewise.
41680 * math/complex.h: Likewise.
41681 * math/math.h: Likewise.
41682 * sysdeps/generic/_G_config.h: Likewise.
41683 * sysdeps/gnu/_G_config.h: Likewise.
41684 * sysdeps/mach/hurd/_G_config.h: Likewise.
41685 * sysdeps/powerpc/bits/mathdef.h: Likewise.
41686 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
41687 * sysdeps/sparc/bits/mathdef.h: Likewise.
41689 2012-01-26 Ulrich Drepper <drepper@gmail.com>
41692 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
41693 Clean up HAS_* macros.
41694 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
41695 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
41697 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
41699 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
41700 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
41701 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
41702 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
41703 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
41705 2012-01-25 Joseph Myers <joseph@codesourcery.com>
41707 * elf/tst-unique3.cc (gets): Remove declaration.
41708 * elf/tst-unique3lib.cc (gets): Likewise.
41709 * elf/tst-unique3lib2.cc (gets): Likewise.
41710 * elf/tst-unique4.cc (gets): Likewise.
41712 2012-01-24 Ulrich Drepper <drepper@gmail.com>
41714 * include/stdio.h: Add C++ protection. Add gets declarations and
41716 * debug/tst-chk1.c: Don't declare gets here.
41717 * stdio-common/tst-gets.c: Likewise.
41719 2012-01-24 Joseph Myers <joseph@codesourcery.com>
41721 * posix/glob: Remove directory.
41723 2012-01-24 Joseph Myers <joseph@codesourcery.com>
41725 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
41727 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
41729 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
41730 of the non-standard EPFNOSUPPORT.
41732 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
41734 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
41735 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
41736 ANYWHERE set to 1 only on KERN_NO_SPACE error.
41738 2012-01-21 Ulrich Drepper <drepper@gmail.com>
41740 * wcsmbs/uchar.h: Test __STDC_VERSION__.
41742 2012-01-20 Ulrich Drepper <drepper@gmail.com>
41744 * nscd/aicache.c (addhstaiX): Do not cache negative results of
41746 * nscd/grpcache.c (cache_addgr): Likewise.
41747 * nscd/hstcache.c (cache_addhst): Likewise.
41748 * nscd/initgrcache.c (addinitgroupsX): Likewise.
41749 * nscd/pwdcache.c (cache_addpw): Likewise.
41750 * nscd/servicescache.c (cache_addserv): Likewise.
41752 2012-01-16 Ulrich Drepper <drepper@gmail.com>
41754 * malloc/malloc.c: Various cleanups.
41755 * malloc/hooks.c: Likewise.
41757 * stdlib/Makefile (tests): Add bug-fmtmsg1.
41758 * stdlib/bug-fmtmsg1.c: New file.
41760 * stdlib/fmtmsg.c (init): Add missing unlock.
41761 Patch by Peng Haitao <penght@cn.fujitsu.com>.
41763 2012-01-12 Marek Polacek <polacek@redhat.com>
41765 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
41768 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
41770 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
41771 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
41772 macro to ensure uniqueness of label name.
41773 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
41774 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
41776 2012-01-11 Ulrich Drepper <drepper@gmail.com>
41778 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
41780 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
41781 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
41782 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
41783 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
41785 2012-01-10 Ulrich Drepper <drepper@gmail.com>
41787 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
41789 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
41790 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
41791 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
41793 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
41795 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
41796 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
41797 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41798 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
41800 * math/bits/math-finite.h: Add ldexp support.
41802 2012-01-10 Marek Polacek <polacek@redhat.com>
41804 * locale/programs/localedef.h (show_archive_content): Add noreturn
41807 2012-01-09 Ulrich Drepper <drepper@gmail.com>
41809 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
41811 2012-01-08 Ulrich Drepper <drepper@gmail.com>
41813 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
41815 * io/Makefile (headers): Add bits/poll2.h.
41817 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
41819 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
41820 typo #include statement.
41822 2012-01-08 Ulrich Drepper <drepper@gmail.com>
41824 * include/sys/cdefs.h: Define __attribute_alloc_size.
41825 * catgets/gencat.c: Add alloc_size attribute and apply consistently
41826 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
41827 * elf/pldd.c: Likewise.
41828 * iconv/iconv_charmap.c: Likewise.
41829 * iconv/iconvconfig.c: Likewise.
41830 * iconv/strtab.c: Likewise.
41831 * locale/programs/locale.c: Likewise.
41832 * locale/programs/localedef.h: Likewise.
41833 * locale/programs/simple-hash.c: Likewise.
41834 * nscd/nscd.h: Likewise.
41835 * nss/makedb.c: Likewise.
41836 * sysdeps/generic/ldconfig.h: Likewise.
41837 * locale/programs/localedef.c: Remove xmalloc prototype.
41838 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
41840 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
41842 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
41845 2012-01-08 Ulrich Drepper <drepper@gmail.com>
41847 * math/Makefile (tests): Add tst-CMPLX.
41848 * math/tst-CMPLX.c: New file.
41850 * math/complex.h (CMPLXL): Fix typo.
41852 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
41853 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
41855 * debug/tst-chk1.c: Add poll and ppoll tests.
41856 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
41857 * include/sys/poll.h: Add hidden proto for ppoll.
41858 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
41859 * sysdeps/mach/hurd/ppoll.c: Likewise.
41860 * io/ppoll.c: Likewise.
41861 * debug/poll_chk.c: New file.
41862 * debug/ppoll_chk.c: New file.
41863 * include/bits/poll2.h: New file.
41864 * io/bits/poll2.h: New file.
41867 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
41869 * configure.in: static is always set to yes. Remove.
41870 * config.make.in: Don't set build-static.
41871 * Makeconfig: Remove use of build-static.
41872 * dlfcn/Makefile: Likewise.
41873 * elf/Makefile: Likewise.
41874 * math/Makefile: Likewise.
41875 * misc/Makefile: Likewise.
41876 * nptl/Makefile: Likewise.
41877 * sysdeps/mach/hurd/Makefile: Likewise.
41879 * configure.in: PWD_P is not used anymore.
41880 * config.make.in: Remove PWD_P entry.
41882 * configure.in: Remove last remnants of RANLIB.
41883 No need to check for signed size_t anymore.
41884 Don't set libc_commonpagesize and libc_relro_required here for Alpha
41886 Remove __builtin_expect test because we require at least gcc 3.4.
41887 * aclocal.m4: Likewise.
41889 * wcsmbs/mbrtoc16.c: Implement using towc function.
41890 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
41891 * wcsmbs/wcsmbsload.c: Likewise.
41892 * iconv/gconv_simple.c: Likewise.
41893 * iconv/gconv_int.h: Likewise.
41894 * iconv/gconv_builtin.h: Likewise.
41895 * iconv/iconv_prog.c: Remove CHAR16 handling.
41897 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
41899 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
41901 * configure.in: Remove --with-elf and --enable-bounded options.
41902 Dont set base_machine for ia64. More non-ELF conditions removed.
41903 Remove testing and setting of leading underscore information.
41904 * config.make.in (build-bounded): Set to no.
41905 * config.h.in: Remove NO_UNDERSCORES entry.
41906 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
41908 * csu/start.c: Remove !NO_UNDERSCORE code.
41909 * locale/localeinfo.h: Likewise.
41910 * sysdeps/generic/machine-gmon.h: Likewise.
41911 * sysdeps/generic/sysdep.h: Likewise.
41912 * sysdeps/i386/sysdep.h: Likewise.
41913 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
41914 * sysdeps/mach/sysdep.h: Likewise.
41915 * sysdeps/s390/s390-32/sysdep.h: Likewise.
41916 * sysdeps/s390/s390-64/sysdep.h: Likewise.
41917 * sysdeps/sh/sysdep.h: Likewise.
41918 * sysdeps/sparc/sparc32/alloca.S: Likewise.
41919 * sysdeps/unix/i386/sysdep.S: Likewise.
41920 * sysdeps/unix/sparc/start.c: Likewise.
41921 * sysdeps/unix/sparc/sysdep.S: Likewise.
41922 * sysdeps/unix/sparc/sysdep.h: Likewise.
41923 * sysdeps/unix/start.c: Likewise.
41924 * sysdeps/unix/x86_64/sysdep.S: Likewise.
41925 * sysdeps/x86_64/sysdep.h: Likewise.
41927 2012-01-07 Ulrich Drepper <drepper@gmail.com>
41930 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
41932 * argp/argp-fmtstream.h: Use const instead __const.
41933 * argp/argp.h: Likewise.
41934 * assert/assert.h: Likewise.
41935 * bits/fenv.h: Likewise.
41936 * bits/sched.h: Likewise.
41937 * bits/sigset.h: Likewise.
41938 * bits/sigthread.h: Likewise.
41939 * catgets/nl_types.h: Likewise.
41940 * conform/data/pthread.h-data: Likewise.
41941 * crypt/crypt-private.h: Likewise.
41942 * crypt/crypt.h: Likewise.
41943 * crypt/crypt_util.c: Likewise.
41944 * ctype/ctype.h: Likewise.
41945 * debug/execinfo.h: Likewise.
41946 * debug/mbsnrtowcs_chk.c: Likewise.
41947 * debug/mbsrtowcs_chk.c: Likewise.
41948 * debug/wcsnrtombs_chk.c: Likewise.
41949 * debug/wcsrtombs_chk.c: Likewise.
41950 * debug/wcstombs_chk.c: Likewise.
41951 * dirent/dirent.h: Likewise.
41952 * dlfcn/dlfcn.h: Likewise.
41953 * elf/neededtest4.c: Likewise.
41954 * grp/grp.h: Likewise.
41955 * gshadow/gshadow.h: Likewise.
41956 * iconv/gconv.h: Likewise.
41957 * iconv/gconv_int.h: Likewise.
41958 * iconv/gconv_simple.c: Likewise.
41959 * iconv/iconv.h: Likewise.
41960 * iconv/loop.c: Likewise.
41961 * iconv/skeleton.c: Likewise.
41962 * include/aio.h: Likewise.
41963 * include/aliases.h: Likewise.
41964 * include/argz.h: Likewise.
41965 * include/arpa/inet.h: Likewise.
41966 * include/assert.h: Likewise.
41967 * include/dirent.h: Likewise.
41968 * include/dlfcn.h: Likewise.
41969 * include/execinfo.h: Likewise.
41970 * include/fcntl.h: Likewise.
41971 * include/fenv.h: Likewise.
41972 * include/glob.h: Likewise.
41973 * include/grp.h: Likewise.
41974 * include/libintl.h: Likewise.
41975 * include/mntent.h: Likewise.
41976 * include/netdb.h: Likewise.
41977 * include/pwd.h: Likewise.
41978 * include/rpc/netdb.h: Likewise.
41979 * include/sched.h: Likewise.
41980 * include/search.h: Likewise.
41981 * include/shadow.h: Likewise.
41982 * include/signal.h: Likewise.
41983 * include/stdio.h: Likewise.
41984 * include/stdlib.h: Likewise.
41985 * include/string.h: Likewise.
41986 * include/sys/socket.h: Likewise.
41987 * include/sys/stat.h: Likewise.
41988 * include/sys/statfs.h: Likewise.
41989 * include/sys/statvfs.h: Likewise.
41990 * include/sys/syslog.h: Likewise.
41991 * include/sys/time.h: Likewise.
41992 * include/sys/uio.h: Likewise.
41993 * include/time.h: Likewise.
41994 * include/unistd.h: Likewise.
41995 * include/utmp.h: Likewise.
41996 * include/wchar.h: Likewise.
41997 * include/wctype.h: Likewise.
41998 * inet/aliases.h: Likewise.
41999 * inet/arpa/inet.h: Likewise.
42000 * inet/netinet/ether.h: Likewise.
42001 * inet/netinet/in.h: Likewise.
42002 * intl/libintl.h: Likewise.
42003 * io/bits/fcntl2.h: Likewise.
42004 * io/fcntl.h: Likewise.
42005 * io/ftw.h: Likewise.
42006 * io/sys/poll.h: Likewise.
42007 * io/sys/stat.h: Likewise.
42008 * io/sys/statfs.h: Likewise.
42009 * io/sys/statvfs.h: Likewise.
42010 * io/utime.h: Likewise.
42011 * libio/bits/stdio.h: Likewise.
42012 * libio/bits/stdio2.h: Likewise.
42013 * libio/libio.h: Likewise.
42014 * libio/libioP.h: Likewise.
42015 * libio/stdio.h: Likewise.
42016 * locale/lc-ctype.c: Likewise.
42017 * locale/locale.h: Likewise.
42018 * login/utmp.h: Likewise.
42019 * malloc/arena.c: Likewise.
42020 * malloc/malloc.c: Likewise.
42021 * malloc/malloc.h: Likewise.
42022 * malloc/mcheck.c: Likewise.
42023 * malloc/mtrace.c: Likewise.
42024 * math/bits/mathcalls.h: Likewise.
42025 * math/fenv.h: Likewise.
42026 * math/math_private.h: Likewise.
42027 * misc/bits/error.h: Likewise.
42028 * misc/bits/syslog.h: Likewise.
42029 * misc/err.h: Likewise.
42030 * misc/error.h: Likewise.
42031 * misc/fstab.h: Likewise.
42032 * misc/mntent.h: Likewise.
42033 * misc/regexp.h: Likewise.
42034 * misc/search.h: Likewise.
42035 * misc/sgtty.h: Likewise.
42036 * misc/sys/mman.h: Likewise.
42037 * misc/sys/syslog.h: Likewise.
42038 * misc/sys/uio.h: Likewise.
42039 * misc/sys/xattr.h: Likewise.
42040 * misc/ttyent.h: Likewise.
42041 * nis/rpcsvc/ypclnt.h: Likewise.
42042 * nss/nss.h: Likewise.
42043 * posix/bits/unistd.h: Likewise.
42044 * posix/fnmatch.h: Likewise.
42045 * posix/glob.h: Likewise.
42046 * posix/sched.h: Likewise.
42047 * posix/spawn.h: Likewise.
42048 * posix/sys/wait.h: Likewise.
42049 * posix/unistd.h: Likewise.
42050 * posix/wordexp.h: Likewise.
42051 * pwd/pwd.h: Likewise.
42052 * resolv/netdb.h: Likewise.
42053 * resource/sys/resource.h: Likewise.
42054 * rt/aio.h: Likewise.
42055 * rt/bits/mqueue2.h: Likewise.
42056 * rt/mqueue.h: Likewise.
42057 * shadow/shadow.h: Likewise.
42058 * signal/signal.h: Likewise.
42059 * socket/send.c: Likewise.
42060 * socket/sendto.c: Likewise.
42061 * socket/sys/socket.h: Likewise.
42062 * stdio-common/printf.h: Likewise.
42063 * stdlib/bits/stdlib.h: Likewise.
42064 * stdlib/fmtmsg.h: Likewise.
42065 * stdlib/monetary.h: Likewise.
42066 * stdlib/stdlib.h: Likewise.
42067 * stdlib/ucontext.h: Likewise.
42068 * streams/stropts.h: Likewise.
42069 * string/argz.h: Likewise.
42070 * string/bits/string2.h: Likewise.
42071 * string/string.h: Likewise.
42072 * string/strings.h: Likewise.
42073 * sunrpc/rpc/auth.h: Likewise.
42074 * sunrpc/rpc/auth_des.h: Likewise.
42075 * sunrpc/rpc/clnt.h: Likewise.
42076 * sunrpc/rpc/netdb.h: Likewise.
42077 * sunrpc/rpc/pmap_clnt.h: Likewise.
42078 * sunrpc/rpc/xdr.h: Likewise.
42079 * sysdeps/generic/inttypes.h: Likewise.
42080 * sysdeps/generic/net/if.h: Likewise.
42081 * sysdeps/generic/sys/swap.h: Likewise.
42082 * sysdeps/gnu/net/if.h: Likewise.
42083 * sysdeps/gnu/utmpx.h: Likewise.
42084 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
42085 * sysdeps/i386/i486/bits/string.h: Likewise.
42086 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
42087 * sysdeps/s390/bits/string.h: Likewise.
42088 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
42089 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
42090 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
42091 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
42092 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
42093 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
42094 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
42095 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
42096 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
42097 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
42098 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
42099 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
42100 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
42101 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
42102 * sysdeps/unix/sysv/linux/readv.c: Likewise.
42103 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
42104 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
42105 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
42106 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
42107 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
42108 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
42109 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
42110 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
42111 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
42112 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
42113 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
42114 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
42115 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
42116 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
42117 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
42118 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
42119 * sysvipc/sys/ipc.h: Likewise.
42120 * sysvipc/sys/msg.h: Likewise.
42121 * sysvipc/sys/sem.h: Likewise.
42122 * sysvipc/sys/shm.h: Likewise.
42123 * termios/termios.h: Likewise.
42124 * time/sys/time.h: Likewise.
42125 * time/time.h: Likewise.
42126 * wcsmbs/bits/wchar2.h: Likewise.
42127 * wcsmbs/uchar.h: Likewise.
42128 * wcsmbs/wchar.h: Likewise.
42129 * wctype/wctype.h: Likewise.
42132 * Makeconfig: Remove all but ELF support including AIX support.
42133 * Makerules: Likewise.
42134 * config.h.in: Likewise.
42135 * config.make.in: Likewise.
42136 * configure: Likewise.
42137 * configure.in: Likewise.
42138 * csu/Makefile: Likewise.
42139 * csu/version.c: Likewise.
42140 * debug/Makefile: Likewise.
42141 * dlfcn/Makefile: Likewise.
42142 * elf/Makefile: Likewise.
42143 * extra-lib.mk: Likewise.
42144 * iconv/Makefile: Likewise.
42145 * include/libc-symbols.h: Likewise.
42146 * include/shlib-compat.h: Likewise.
42147 * resolv/Makefile: Likewise.
42148 * resolv/res_libc.c: Likewise.
42149 * rt/Makefile: Likewise.
42150 * sysdeps/i386/asm-syntax.h: Likewise.
42151 * sysdeps/i386/sysdep.h: Likewise.
42152 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
42153 * sysdeps/mach/sysdep.h: Likewise.
42154 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
42155 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
42156 * sysdeps/s390/asm-syntax.h: Likewise.
42157 * sysdeps/s390/s390-32/sysdep.h: Likewise.
42158 * sysdeps/s390/s390-64/sysdep.h: Likewise.
42159 * sysdeps/sh/sysdep.h: Likewise.
42160 * sysdeps/unix/sparc/sysdep.h: Likewise.
42161 * sysdeps/wordsize-32/divdi3.c: Likewise.
42162 * sysdeps/x86_64/sysdep.h: Likewise.
42164 * argp/Versions: Remove _argp_unlock_xxx.
42167 * abilist/ld.abilist: Update. Adjust for removal of tls option.
42168 * abilist/libBrokenLocale.abilist: Likewise.
42169 * abilist/libanl.abilist: Likewise.
42170 * abilist/libc.abilist: Likewise.
42171 * abilist/libcrypt.abilist: Likewise.
42172 * abilist/libdl.abilist: Likewise.
42173 * abilist/libm.abilist: Likewise.
42174 * abilist/libnsl.abilist: Likewise.
42175 * abilist/libpthread.abilist: Likewise.
42176 * abilist/libresolv.abilist: Likewise.
42177 * abilist/librt.abilist: Likewise.
42178 * abilist/libthread_db.abilist: Likewise.
42179 * abilist/libutil.abilist: Likewise.
42180 * abilist/libnss_db.abilist: New file.
42182 * scripts/abilist.awk: Add support for indirect functions.
42184 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
42186 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
42188 * shlib-versions: Remove entries for ports architectures.
42190 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
42192 * elf/stackguard-macros.h: Remove support for IA-64.
42193 * elf/tst-auditmod1.c: Likewise.
42194 * sysdeps/generic/ldsodefs.h: Likewise.
42196 * sysdeps/unix/sysv/linux/configure.in: Ports should define
42197 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
42201 * configure.in: Remove --enable-omitfp support.
42203 * config.make.in: Likewise.
42204 * Makeconfig: Likewise.
42205 * manual/install.texi: Likewise.
42207 In case anyone cares, the IA-64 architecture could move to ports.
42208 * sysdeps/ia64/*: Removed.
42209 * sysdeps/unix/sysv/linux/ia64/*: Removed.
42210 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
42213 * configure.in: Remove entries for unsupported architectures.
42216 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
42217 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
42219 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
42220 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
42221 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
42222 fall back to using wcrtomb.
42223 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
42224 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
42226 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
42227 * wcsmbs/tst-c16c32-1.c: New file.
42229 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
42232 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
42234 * elf/tst-unique3.cc: Add explicit declaration of gets.
42235 * elf/tst-unique3lib.cc: Likewise.
42236 * elf/tst-unique3lib2.cc: Likewise.
42237 * elf/tst-unique4.cc: Likewise.
42239 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
42241 2012-01-06 Joseph Myers <joseph@codesourcery.com>
42244 * assert/assert.h (static_assert): Don't define for C++.
42245 * libio/stdio.h (gets): Do declare for C++ <= C++11.
42246 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
42248 2012-01-03 Ulrich Drepper <drepper@gmail.com>
42250 * iconv/loop.c (single loop): Fix assertion in storing of
42253 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
42255 2012-01-01 Ulrich Drepper <drepper@gmail.com>
42257 * posix/getconf.c: Update copyright year.
42258 * nss/getent.c: Likewise.
42259 * nss/makedb.c: Likewise.
42260 * iconv/iconvconfig.c: Likewise.
42261 * iconv/iconv_prog.c: Likewise.
42262 * elf/ldconfig.c: Likewise.
42263 * elf/pldd.c: Likewise.
42264 * elf/sotruss.ksh: Likewise.
42265 * catgets/gencat.c: Likewise.
42266 * csu/version.c: Likewise.
42267 * elf/ldd.bash.in: Likewise.
42268 * elf/sprof.c (print_version): Likewise.
42269 * locale/programs/locale.c: Likewise.
42270 * locale/programs/localedef.c: Likewise.
42271 * login/programs/pt_chown.c: Likewise.
42272 * nscd/nscd.c (print_version): Likewise.
42273 * debug/xtrace.sh: Likewise.
42274 * malloc/memusage.sh: Likewise.
42275 * malloc/mtrace.pl: Likewise.
42276 * debug/catchsegv.sh: Likewise.
42278 2011-12-30 Jakub Jelinek <jakub@redhat.com>
42280 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
42283 2011-12-24 Ulrich Drepper <drepper@gmail.com>
42286 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
42287 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
42289 * iconv/gconv_int.h: Likewise.
42290 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
42291 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
42292 from libc for GLIBC_2.16.
42293 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
42294 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
42295 * wcsmbs/uchar.h: Really define mbstate_t.
42296 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
42297 * wcsmbs/c16rtomb.c: New file.
42298 * wcsmbs/mbrtoc16.c: New file.
42299 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
42300 for C/POSIX locale.
42301 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
42302 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
42304 * wcsmbs/wchar.h: Add missing __restrict.
42306 2011-12-23 Ulrich Drepper <drepper@gmail.com>
42309 * time/Makefile (routines): Add timespec_get.
42310 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
42311 * time/time.h: Define TIME_UTC and declare timespec_get. Define
42312 timespec for ISO C11.
42313 * time/timespec_get.c: New file.
42314 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
42315 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
42318 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
42319 * stdlib/stdlib.h: Declare aligned_alloc.
42320 * Versions.def: Add GLIBC_2.16 for libc.
42321 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
42324 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
42327 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
42331 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
42334 * assert/assert.h (static_assert): Define.
42336 * version.h: Update for 2.16 development version.
42339 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
42342 * version.h (RELEASE): Bump for 2.15 release.
42343 * include/features.h (__GLIBC_MINOR__): Bump to 15.
42345 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
42346 Patch by Marek Polacek <mpolacek@redhat.com>.
42348 * bits/byteswap.h: Protect long long constants with __extension__.
42349 * sysdeps/i386/bits/byteswap.h: Likewise.
42350 * sysdeps/ia64/bits/byteswap.h: Likewise.
42351 * sysdeps/s390/bits/byteswap.h: Likewise.
42352 * sysdeps/x86_64/bits/byteswap.h: Likewise.
42354 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42357 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
42358 destination buffer.
42359 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
42361 2011-12-23 Marek Polacek <polacek@redhat.com>
42363 * elf/dl-addr.c (determine_info): Add inline keyword.
42364 * elf/tst-auditmod4b.c (check_avx): Likewise.
42365 * elf/tst-auditmod6b.c (check_avx): Likewise.
42366 * elf/tst-auditmod6c.c (check_avx): Likewise.
42367 * elf/tst-auditmod7b.c (check_avx): Likewise.
42369 2011-12-23 Ulrich Drepper <drepper@gmail.com>
42371 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
42374 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42377 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
42378 processing for last bytes.
42380 2011-08-06 Bruno Haible <bruno@clisp.org>
42383 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
42384 U+0385, not to U+1FEE.
42387 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
42388 entry for U+00A5 U+0301.
42390 2011-12-22 Ulrich Drepper <drepper@gmail.com>
42393 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
42394 buffer for the output is too small.
42396 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
42400 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
42401 SSE flags if possible.
42403 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42406 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
42407 processing for last bytes.
42409 2011-12-22 Joseph Myers <joseph@codesourcery.com>
42411 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
42412 (syscall-list-default-options, syscall-list-default-condition)
42413 (syscall-list-includes): Define.
42414 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
42415 list of ABIs and options and #if conditions for each ABI. Do not
42416 handle common syscalls between ABIs specially.
42417 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
42419 (syscall-list-variants, syscall-list-32bit-options)
42420 (syscall-list-32bit-condition, syscall-list-64bit-options)
42421 (syscall-list-64bit-condition): Define.
42422 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
42423 (syscall-list-variants, syscall-list-32bit-options)
42424 (syscall-list-32bit-condition, syscall-list-64bit-options)
42425 (syscall-list-64bit-condition): Define.
42426 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
42428 (syscall-list-variants, syscall-list-32bit-options)
42429 (syscall-list-32bit-condition, syscall-list-64bit-options)
42430 (syscall-list-64bit-condition): Define.
42431 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
42433 (syscall-list-variants, syscall-list-32bit-options)
42434 (syscall-list-32bit-condition, syscall-list-64bit-options)
42435 (syscall-list-64bit-condition): Define.
42437 2011-12-22 Ulrich Drepper <drepper@gmail.com>
42439 * locale/iso-639.def: Add brx entry.
42442 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
42443 Proposed by Mariusz_Cukr <marcukr@op.pl>.
42445 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
42446 __feraiseexcept_renamed.
42448 2011-12-21 Ulrich Drepper <drepper@gmail.com>
42451 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
42452 EPOLLET with unsigned values.
42453 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
42454 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
42456 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
42457 to large cancellation.
42458 * math/s_cacoshf.c: Likewise.
42459 * math/s_cacoshl.c: Likewise.
42461 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
42465 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
42466 * math/s_cacoshf.c: Likewise.
42467 * math/s_cacoshl.c: Likewise.
42469 2011-12-21 Ulrich Drepper <drepper@gmail.com>
42472 * iconv/gconv.h: Define __GCONV_SWAP.
42473 * iconvdata/unicode.c: The swap bit must be stored in __flags.
42474 * iconvdata/utf-16.c: Likewise.
42475 * iconvdata/utf-32.c: Likewise.
42477 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
42480 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
42481 numerator after shifting it by one limb.
42483 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
42485 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
42486 under [__USE_EXTERN_INLINES].
42488 2011-12-17 Ulrich Drepper <drepper@gmail.com>
42491 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
42493 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42495 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
42496 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
42498 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
42499 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
42500 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
42501 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
42502 for strncasecmp/strncasecmp_l compilation.
42503 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
42504 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
42506 2011-12-08 Marek Polacek <mpolacek@redhat.com>
42509 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
42512 2011-12-17 Ulrich Drepper <drepper@gmail.com>
42515 * time/tzfile.c (__tzfile_read): Check values from file header.
42517 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
42519 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
42520 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
42521 * powerpc/powerpc32/dl-start.S: Likewise.
42522 * powerpc/powerpc32/elf/start.S: Likewise.
42523 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
42524 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
42525 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
42526 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
42527 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
42528 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
42529 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
42530 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
42531 * powerpc/powerpc32/fpu/s_round.S: Likewise.
42532 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
42533 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
42534 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
42535 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
42536 * powerpc/powerpc32/memset.S: Likewise.
42537 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
42538 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
42539 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
42540 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
42541 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
42542 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
42543 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
42544 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
42545 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
42546 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
42547 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
42548 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
42549 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
42551 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42553 * math/libm-test.inc: Added more nearbyint tests.
42554 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
42555 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
42556 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
42557 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
42559 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
42561 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
42564 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42566 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
42567 Add wcscpy-ssse3 wcscpy-c.
42568 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
42569 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
42570 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
42571 * sysdeps/x86_64/wcschr.S: New file.
42572 * sysdeps/x86_64/wcsrchr.S: New file.
42573 * string/test-strcmp.c: Remove checking of wcscmp function for
42575 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
42576 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
42577 wcsrchr-sse2 wcsrchr-c.
42578 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
42579 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
42580 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
42581 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
42582 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
42583 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
42584 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
42585 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
42586 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
42587 * wcsmbc/wcschr.c (WCSCHR): New macro.
42589 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42591 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
42592 * wcsmbs/test-wcsrchr.c: New file.
42593 * string/test-strrchr.c: Add wcsrchr support.
42595 * wcsmbs/test-wcscpy.c: New file.
42596 * string/test-strcpy.c: Add wcscpy support.
42599 2011-12-10 Ulrich Drepper <drepper@gmail.com>
42601 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
42604 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
42607 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
42609 2011-12-04 Ulrich Drepper <drepper@gmail.com>
42611 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
42612 Minor optimizations.
42614 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
42615 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
42616 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
42618 2011-12-03 Ulrich Drepper <drepper@gmail.com>
42620 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
42621 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
42622 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
42623 for gcc to avoid warnings.
42624 * inet/Makefile (tests): Add tst-checks.
42625 * inet/tst-checks.c: New file.
42627 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
42630 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
42633 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
42634 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
42636 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
42638 2011-12-02 Ulrich Drepper <drepper@gmail.com>
42640 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
42643 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
42645 2011-11-29 Joseph Myers <joseph@codesourcery.com>
42647 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
42648 conditional on GCC version.
42649 (__arch_compare_and_exchange_val_8_acq)
42650 (__arch_compare_and_exchange_val_16_acq)
42651 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
42652 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
42653 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
42655 2011-12-02 Joseph Myers <joseph@codesourcery.com>
42657 * sysdeps/sh/backtrace.c: New file.
42659 2011-12-02 Andreas Schwab <schwab@redhat.com>
42661 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
42664 2011-12-01 Andreas Schwab <schwab@redhat.com>
42666 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
42667 falling back to utime.
42669 2011-11-30 Andreas Schwab <schwab@redhat.com>
42671 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
42672 expectations for float.
42674 2011-11-29 Andreas Schwab <schwab@redhat.com>
42676 * locale/weight.h (findidx): Add parameter len.
42677 * locale/weightwc.h (findidx): Likewise.
42678 * posix/fnmatch_loop.c (FCT): Adjust caller.
42679 * posix/regcomp.c (build_equiv_class): Likewise.
42680 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
42681 * posix/regexec.c (check_node_accept_bytes): Likewise.
42682 * string/strcoll_l.c (STRCOLL): Likewise.
42683 * string/strxfrm_l.c (STRXFRM): Likewise.
42685 2011-11-17 Ulrich Drepper <drepper@gmail.com>
42687 * Makefile.in: Remove CVSOPT handling.
42688 * configure.in: Remove use of AC_REVISION.
42689 * iconvdata/Makefile (distribute): No need to filter out CVS.
42690 * scripts/list-sources.sh: Remove CVS, subversion and monotone
42693 2011-11-16 Andreas Schwab <schwab@redhat.com>
42695 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
42696 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
42697 [USE_AS_STRNCASECMP_L]: Likewise.
42698 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
42699 NO_TLS_DIRECT_SEG_REFS.
42700 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
42701 Fix argument offsets for non-PIC.
42702 [USE_AS_STRNCASECMP_L]: Likewise.
42703 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
42704 NO_TLS_DIRECT_SEG_REFS.
42706 2011-11-15 Ulrich Drepper <drepper@gmail.com>
42708 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
42710 * locale/loadlocale.c (_nl_load_locale): Likewise.
42712 2011-11-15 Andreas Schwab <schwab@redhat.com>
42714 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
42715 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
42716 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
42717 (SYSCALL_GETTIME): Set errno on error.
42719 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
42720 count references to noai6ai_cached.
42722 2011-11-15 Ulrich Drepper <drepper@gmail.com>
42724 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
42726 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
42727 FD_CLOEXEC for /proc/self/maps.
42729 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
42730 FD_CLOEXEC for /proc/meminfo.
42732 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
42735 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
42736 FD_CLOEXEC for given file.
42738 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
42740 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
42741 FD_CLOEXEC for /etc/hosts.
42742 (_gethtent): Likewise.
42744 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
42746 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
42747 cancellation and set FD_CLOEXEC for /etc/netgroup.
42749 * nss/nss_files/files-key.c (search): Don't allow cancellation when
42750 reading /etc/publickey.
42752 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
42753 allow cancellation when reading /etc/group.
42755 * nss/nss_files/files-alias.c (internal_setent): Don't allow
42757 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
42759 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
42760 when using data file.
42762 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
42764 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
42765 (write_nis_obj): Use "c" and "e" in fopen.
42767 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
42769 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
42771 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
42773 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
42775 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
42778 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
42780 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
42782 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
42784 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
42785 file parsing and set FD_CLOEXEC.
42787 2011-11-14 Ulrich Drepper <drepper@gmail.com>
42789 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
42791 2011-11-14 Andreas Schwab <schwab@redhat.com>
42793 * malloc/arena.c (arena_get2): Don't call reused_arena when
42794 _int_new_arena failed.
42796 2011-11-14 Ulrich Drepper <drepper@gmail.com>
42798 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
42799 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
42800 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
42801 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
42802 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
42803 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
42804 to compile strcasecmp and strncasecmp.
42805 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
42806 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
42808 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
42810 2011-11-13 Ulrich Drepper <drepper@gmail.com>
42812 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
42813 locale-defines.sym to gen-as-const-headers.
42814 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
42815 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
42816 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
42817 to compile strcasecmp and strncasecmp.
42818 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
42819 strcasecmp_l and strncasecmp_l.
42820 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
42821 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
42822 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
42823 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
42824 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
42825 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
42826 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
42827 * sysdeps/i386/i686/multiarch/strncase.S: New file.
42828 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
42829 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
42830 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
42832 2011-11-12 Ulrich Drepper <drepper@gmail.com>
42834 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
42835 result of SYSDEP_GETTIME_CPU to retval.
42836 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
42837 parameter list to macro. Remove trailing semicolon. Adjust users.
42839 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
42842 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
42844 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
42846 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
42847 from unused variable.
42849 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
42851 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
42854 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
42857 * sunrpc/rpc_prot.c (rejected): Fix case value.
42859 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
42860 unsigned long long int to avoid warnings in shift.
42862 * posix/regex_internal.c (re_string_reconstruct): Actually use result
42864 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
42867 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
42868 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
42869 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
42871 * nis/nis_table.c (nis_list): Use variable of correct type for
42872 result of __follow_path call.
42874 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42876 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
42877 of math functions ceil, trunc, floor, round, and sqrt, when
42878 avaliable on the platform.
42879 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
42881 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
42882 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
42883 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
42885 2011-10-30 Marek Polacek <mpolacek@redhat.com>
42887 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
42888 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
42890 2011-11-11 Roland McGrath <roland@hack.frob.com>
42892 * include/unistd.h: Fix __readlink return type.
42893 Reported by Chris Metcalf <cmetcalf@tilera.com>.
42895 2011-11-11 Ulrich Drepper <drepper@gmail.com>
42897 * stdlib/ucontext.h: Undo last change for makecontext.
42899 2011-11-11 Andreas Schwab <schwab@redhat.com>
42901 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
42903 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
42904 * setjmp/setjmp.h: Mark functions as non-leaf.
42905 * setjmp/bits/setjmp2.h: Likewise.
42906 * stdlib/ucontext.h: Likewise.
42908 2011-11-10 Andreas Schwab <schwab@redhat.com>
42910 * malloc/arena.c (_int_new_arena): Don't increment narenas.
42911 (reused_arena): Don't check arena limit.
42912 (arena_get2): Atomically check arena limit.
42914 2011-11-08 Ulrich Drepper <drepper@gmail.com>
42916 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
42917 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
42919 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
42922 2011-11-07 Andreas Schwab <schwab@redhat.com>
42924 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
42925 handler when locking.
42927 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
42928 Fix size of allocated buffer.
42930 2011-11-04 Andreas Schwab <schwab@redhat.com>
42933 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
42934 declarations for long double functions.
42935 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
42937 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
42939 2011-11-03 Andreas Schwab <schwab@redhat.com>
42941 * nscd/nscd.c (main): Don't start AVC thread until credentials are
42944 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
42947 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
42949 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
42951 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
42953 * include/alloca.h (stackinfo_alloca_round): Define.
42954 (extend_alloca): Use it.
42955 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
42956 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
42959 * scripts/check-local-headers.sh: Ignore libaudit.h.
42961 * nscd/Makefile (extra-objs): Make recursively expanded.
42963 2011-11-01 Ulrich Drepper <drepper@gmail.com>
42965 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
42966 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
42968 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
42969 * posix/tst-rfc3484-2.c: Likewise.
42970 * posix/tst-rfc3484-3.c: Likewise.
42972 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
42974 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
42976 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
42977 process_vm_writev from libc using GLIBC_2.15 version.
42979 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
42981 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
42983 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
42986 2011-10-31 Ulrich Drepper <drepper@gmail.com>
42989 * nss/getent.c (initgroups_keys): Show error message in case no group
42992 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
42993 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
42994 __bump_nl_timestamp.
42995 * nscd/connections (nscd_init): When host database is served open
42996 netlink socket and request notification about configuration changes.
42997 (main_loop_poll): Track netlink file descriptor and bump timestamp
42998 in case data becomes available.
42999 (main_loop_epoll): Likewise.
43000 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
43001 (database_pers_head): Add extra_data fileds.
43002 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
43003 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
43004 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
43006 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
43007 in6ai data, call __free_in6ai.
43008 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
43009 Add -DHAVE_NETLINK.
43010 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
43011 interface information. Reuse previous data if netlink timestamp
43013 (__bump_nl_timestamp): New function.
43014 (__free_in6ai): New function.
43016 2011-10-30 Ulrich Drepper <drepper@gmail.com>
43018 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
43019 close_not_cancel_no_status here.
43020 (__check_pf): Reorganize code a bit to not call close twice if OOM.
43022 2011-10-29 Ulrich Drepper <drepper@gmail.com>
43025 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
43028 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
43029 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
43030 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
43032 2011-07-03 Andreas Jaeger <aj@suse.de>
43035 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
43036 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
43037 * math/libm-test.inc (sin_test): Add test case.
43039 2011-10-29 Ulrich Drepper <drepper@gmail.com>
43042 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
43043 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
43045 * elf/chroot_canon.c (chroot_canon): Cleanups.
43047 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
43050 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
43051 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
43053 * string/test-strchr.c: Make usable for strchrnul testing.
43054 * string/test-strchrnul.c: New file.
43055 * string/Makefile (strop-tests): Add strchrnul.
43057 * po/it.po: Update from translation team.
43058 * po/es.po: Likewise.
43060 2011-10-28 Ulrich Drepper <drepper@gmail.com>
43062 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
43063 the three constants needed as parameters. Drop the others.
43064 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
43065 __m128i_strloadu_tolower.
43066 Create and initialize variable zero and use it in all the places
43067 where _mm_setzero_si128 was used.
43069 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
43070 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
43071 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
43072 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
43074 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
43075 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
43076 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
43077 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
43078 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
43079 __mpranred, __mptan.
43080 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
43081 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
43082 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
43083 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
43084 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
43085 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
43086 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
43087 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
43088 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
43090 2011-10-28 Andreas Schwab <schwab@redhat.com>
43092 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
43093 redefine if SHARED.
43094 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
43096 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
43097 wide char related routines to wcsmbs subdir.
43099 2011-10-27 Andreas Schwab <schwab@redhat.com>
43102 * misc/sys/cdefs.h (__THROWNL): Define.
43103 * posix/unistd.h: Use __THREADNL instead of __THREAD
43104 for memory synchronization functions.
43106 2011-10-26 Roland McGrath <roland@hack.frob.com>
43109 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
43111 * manual/stdio.texi (Obstack Streams): Node removed.
43113 2011-10-26 Andreas Schwab <schwab@redhat.com>
43115 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
43116 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
43117 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
43119 * math/math_private.h (math_force_eval): Allow non-addressable
43121 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
43123 2011-10-25 Ulrich Drepper <drepper@gmail.com>
43125 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
43126 file is not needed.
43128 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
43129 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
43130 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
43131 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
43132 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
43133 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
43134 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
43135 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
43137 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
43138 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
43139 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
43140 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
43141 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
43142 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
43143 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
43144 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
43145 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
43146 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
43147 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
43148 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
43149 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
43150 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
43151 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
43152 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
43153 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
43154 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
43155 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
43157 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
43158 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
43160 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
43161 place. Use VEX encoding when compiling for AVX.
43163 2011-10-25 Andreas Schwab <schwab@redhat.com>
43165 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
43166 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
43168 * string/test-strchr.c (do_test): Don't generate NUL bytes.
43170 2011-10-25 Ulrich Drepper <drepper@gmail.com>
43172 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
43173 useless if() expression.
43174 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
43175 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
43176 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
43177 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
43178 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
43179 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
43180 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
43181 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
43182 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
43183 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
43184 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
43185 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
43186 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
43187 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
43188 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
43189 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
43190 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
43191 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
43192 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
43194 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
43196 2011-10-25 Andreas Schwab <schwab@redhat.com>
43198 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
43200 * elf/dl-fini.c (_dl_sort_fini): Likewise.
43202 2011-10-25 Ulrich Drepper <drepper@gmail.com>
43204 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
43205 .text section. Avoid duplicate constants.
43206 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
43207 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43208 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
43209 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43210 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
43211 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43212 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43213 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43214 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
43215 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
43216 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
43217 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
43218 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
43219 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
43220 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
43221 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
43222 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
43223 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
43224 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
43225 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
43226 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
43227 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
43228 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
43229 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
43230 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
43231 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
43232 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
43233 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
43234 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
43235 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
43236 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
43237 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
43238 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
43239 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
43240 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
43241 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
43242 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
43243 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
43244 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
43245 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
43246 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
43247 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
43248 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
43249 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
43250 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
43252 2011-10-24 Ulrich Drepper <drepper@gmail.com>
43254 * sysdeps/x86_64/dla.h: Move to ...
43255 * sysdeps/x86_64/fpu/dla.h: ...here.
43256 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
43257 situations. Use __builtin_fma only for gcc 4.6 and up.
43259 * config.make.in: Add have-mfma4 entry.
43260 * configure.in: Substitute libc_cv_cc_fma4.
43261 * math/Makefile (dbl-only-routines): Add sincostab.
43262 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
43263 Use __sincostab not sincos.
43264 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
43266 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
43267 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43268 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43269 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
43271 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
43272 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
43273 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
43274 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
43276 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
43277 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
43279 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
43280 define aliases when function name is a macro.
43281 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
43282 sysdeps/ieee754/dbl-64/sincos.tbl.
43283 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
43284 fma4-enabled routines.
43285 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
43286 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
43287 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
43288 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
43289 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
43290 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
43291 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
43292 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
43293 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
43294 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
43295 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
43296 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
43297 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
43298 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
43299 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
43300 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
43301 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
43302 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
43303 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
43304 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
43305 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
43306 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
43307 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
43308 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
43309 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
43310 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
43311 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
43312 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
43313 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
43314 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
43316 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
43318 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43319 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43320 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43321 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43322 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43323 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43324 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
43325 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
43327 2011-10-24 Andreas Schwab <schwab@redhat.com>
43329 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
43331 2011-10-23 Ulrich Drepper <drepper@gmail.com>
43333 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
43335 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
43337 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
43339 * string/strnlen.c: Don't define STRNLEN, reverse logic.
43340 Remove unused variable magic_bits.
43341 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
43343 * string/strnlen.c: Define and use STRNLEN macro.
43344 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
43345 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
43346 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
43347 * wcsmbs/wcslen.c: Define and use WCSLEN.
43348 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
43349 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
43350 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
43351 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
43352 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
43353 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
43354 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
43356 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43358 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43359 strnlen-sse2-no-bsf.
43360 Rename strlen-no-bsf to strlen-sse2-no-bsf.
43361 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
43362 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
43363 Add strnlen support.
43364 (USE_AS_STRNLEN): New macro.
43365 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
43366 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
43367 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
43368 * sysdeps/x86_64/wcslen.S: New file.
43370 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
43372 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
43373 XMM-moves are used for copying on small sizes.
43375 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43377 * wcsmbs/Makefile (strop-tests): Add wcschr.
43378 * wcsmbs/test-wcschr.c: New file.
43379 * string/test-strchr.c: Update.
43380 Add wcschr support.
43383 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43385 * wcsmbs/Makefile (strop-tests): Add wcslen.
43386 * wcsmbs/test-wcslen.c: New file.
43387 * string/test-strlen.c: Update.
43388 Add wcslen support.
43391 2011-10-23 Ulrich Drepper <drepper@gmail.com>
43393 * po/it.po: Update from translation team.
43395 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43397 * sysdeps/x86_64/wcscmp.S: Update.
43398 Fix wrong comparison semantics.
43399 wcscmp shall use signed comparison not unsigned.
43400 Don't use substraction to avoid overflow bug.
43401 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
43402 * wcsmbc/wcscmp.c: Likewise.
43403 * string/test-strcmp.c: Likewise.
43404 Add new tests to check cases with negative values.
43406 2011-10-23 Ulrich Drepper <drepper@gmail.com>
43408 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
43409 * sysdeps/x86_64/dla.h: ...here. New file.
43410 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
43411 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43412 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43413 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43414 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43415 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
43416 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43417 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
43418 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
43420 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
43422 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
43423 __ynl_finite aliases.
43425 2011-10-22 Ulrich Drepper <drepper@gmail.com>
43427 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43429 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
43431 [DLA_FMA] (EMULV): Use DLA_FMA.
43432 [DLA_FMA] (MUL12): Use EMULV.
43433 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
43434 that are not needed.
43435 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43436 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43437 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43438 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43439 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43440 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
43441 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
43443 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
43445 * math/s_nan.c: Undef __nan.
43446 * math/s_nanf.c: Undef __nanf.
43447 * math/s_nanl.c: Undef __nanl.
43448 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
43451 2011-10-22 Ulrich Drepper <drepper@gmail.com>
43453 * math/s_catan.c: Add branch predictions.
43454 * math/s_catanf.c: Likewise.
43455 * math/s_catanh.c: Likewise.
43456 * math/s_catanhf.c: Likewise.
43457 * math/s_catanhl.c: Likewise.
43458 * math/s_catanl.c: Likewise.
43459 * math/s_cexp.c: Likewise.
43460 * math/s_cexpf.c: Likewise.
43461 * math/s_cexpl.c: Likewise.
43462 * math/s_clog.c: Likewise.
43463 * math/s_clog10.c: Likewise.
43464 * math/s_clog10f.c: Likewise.
43465 * math/s_clog10l.c: Likewise.
43466 * math/s_clogf.c: Likewise.
43467 * math/s_clogl.c: Likewise.
43468 * math/s_csqrt.c: Likewise.
43469 * math/s_csqrtf.c: Likewise.
43470 * math/s_csqrtl.c: Likewise.
43471 * math/s_ctanf.c: Likewise.
43472 * math/s_ctanh.c: Likewise.
43473 * math/s_ctanhf.c: Likewise.
43474 * math/s_ctanhl.c: Likewise.
43475 * math/s_ctanl.c: Likewise.
43477 * math/math_private.h: Define __nan, __nanf, __nanl.
43478 * math/s_cacosh.c: Include <math_private.h>.
43479 * math/s_cacoshl.c: Likewise.
43480 * math/s_casinh.c: Likewise.
43481 * math/s_casinhf.c: Likewise.
43482 * math/s_casinhl.c: Likewise.
43483 * math/s_ccos.c: Rely entire on ccosh.
43484 * math/s_ccosf.c: Rely entire on ccoshf.
43485 * math/s_ccosl.c: Rely entirely on ccoshl.
43486 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
43487 Remove tests for FE_INVALID.
43488 * math/s_ccoshf.c: Likewise.
43489 * math/s_ccoshl.c: Likewise.
43490 * math/s_csin.c: Likewise.
43491 * math/s_csinf.c: Likewise.
43492 * math/s_csinh.c Likewise.
43493 * math/s_csinhf.c: Likewise.
43494 * math/s_csinhl.c: Likewise.
43495 * math/s_csinl.c: Likewise.
43496 * math/s_ctan.c: Likewise.
43497 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
43498 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
43499 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
43501 2011-10-21 Ulrich Drepper <drepper@gmail.com>
43503 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
43504 compilation problems.
43506 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
43509 2011-10-20 Ulrich Drepper <drepper@gmail.com>
43511 * sysdeps/i386/configure.in: Test for -mfma4 option.
43512 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
43513 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
43514 COMMON_CPUID_INDEX_80000001.
43515 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
43516 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
43517 use it if FMA3 is not supported.
43518 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
43520 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
43521 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
43523 2011-10-20 Andreas Schwab <schwab@redhat.com>
43526 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
43527 it would create a cycle with a link time dependency.
43529 2011-10-19 Ulrich Drepper <drepper@gmail.com>
43531 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
43533 * string/Makefile (strop-tests): Add rawmemchr.
43534 * string/test-rawmemchr.c: New file.
43536 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
43537 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
43538 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
43539 when compiling str{,n}casecmp and when AVX is available. Hook up
43540 new optimized code in initializers.
43542 2011-10-19 Andreas Schwab <schwab@redhat.com>
43544 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
43545 __feraiseexcept instead of feraiseexcept.
43547 2011-10-18 Ulrich Drepper <drepper@gmail.com>
43549 * math/math_private.h: Define defaults for libc_fetestexcept and
43551 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
43552 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
43553 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
43554 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
43555 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
43556 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
43557 libc_fetestexcept and libc_feupdateenv.
43559 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
43560 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
43561 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
43562 * sysdeps/x86_64/fpu/math_private.h: Define special version of
43563 libc_feholdexcept_setround.
43565 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
43566 Add s_nearbyint-c and s_nearbyintf-c.
43567 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
43568 nearbyintf inlines.
43569 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
43570 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
43571 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
43572 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
43574 * math/math_private.h: Define defaults for libc_fegetround,
43575 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
43576 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
43577 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
43578 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
43579 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
43580 standard functions.
43581 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
43582 Remove comments and hacks for old compiler versions.
43583 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
43584 libc_fegetround, libc_fesetround, libc_feholdexcept, and
43585 libc_feholdexceptl.
43587 2011-10-18 Andreas Schwab <schwab@redhat.com>
43589 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
43590 (__feraiseexcept_renamed): Add __NTH.
43591 (feraiseexcept): Add __NTH. Rename local variables to fix
43592 namespace violations.
43594 2011-10-17 Ulrich Drepper <drepper@gmail.com>
43596 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
43598 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
43600 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
43601 recently added interfaces.
43602 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
43604 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
43605 about macro parameter expansion.
43607 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
43608 __NO_MATH_INLINES is defined. Cleanups.
43610 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
43611 and __floorf is target has SSE4.1.
43612 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
43613 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
43614 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
43615 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
43617 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
43619 (floorf): Likewise.
43621 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
43623 2011-10-17 Andreas Schwab <schwab@redhat.com>
43625 * misc/sys/cdefs.h: Fix last change.
43627 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
43630 2011-10-16 Ulrich Drepper <drepper@gmail.com>
43632 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
43634 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
43635 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
43636 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
43637 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
43638 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
43639 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
43640 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
43641 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
43642 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
43643 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
43644 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
43645 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
43646 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
43647 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
43648 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
43649 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
43650 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
43651 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
43652 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
43653 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
43654 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
43655 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
43657 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
43658 ceil, ceilf, floor, floorf.
43660 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
43661 Perform IRELATIVE relocations last.
43663 * elf/do-rel.h: Add another parameter nrelative, replacing the
43664 local variable with the same name. Change name of the function
43665 to end in Rel or Rela (uppercase).
43666 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
43667 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
43668 elf_dynamic_do_##reloc function.
43670 2011-10-15 Ulrich Drepper <drepper@gmail.com>
43672 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
43673 is sufficient, at least on modern CPUs.
43675 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
43677 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
43678 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
43680 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
43682 * math/bits/math-finite.h: Add entries for exp.
43683 * math/e_expl.c: Add __*_finite alias.
43684 * sysdeps/i386/fpu/e_exp.S: Likewise.
43685 * sysdeps/i386/fpu/e_expf.S: Likewise.
43686 * sysdeps/i386/fpu/e_expl.c: Likewise.
43687 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
43688 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
43689 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
43690 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
43691 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
43692 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
43693 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
43695 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
43696 is sufficient, at least on modern CPUs.
43698 * ctype/ctype-info.c (__ctype_init): Define.
43699 * include/ctype.h (__ctype_init): Declare.
43700 (__ctype_b_loc): The variable is always initialized.
43701 (__ctype_toupper_loc): Likewise.
43702 (__ctype_tolower_loc): Likewise.
43703 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
43704 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
43706 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
43708 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
43710 * configure.in: Also look in $cxxmachine/include for C++ system
43713 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43715 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
43716 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
43717 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
43718 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
43719 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
43720 (USE_AS_WMEMCMP): New macro.
43722 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
43723 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
43724 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
43725 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
43726 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43727 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
43728 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
43729 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
43730 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
43731 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
43732 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
43733 (USE_AS_WMEMCMP): New macro.
43734 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
43735 * sysdeps/string/test-memcmp.c: Update.
43736 Fix simple_wmemcmp.
43738 * wcsmbs/wmemcmp.c: Update.
43739 (WMEMCMP): New macro.
43742 2011-10-12 Andreas Jaeger <aj@suse.de>
43745 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
43747 2011-10-15 Ulrich Drepper <drepper@gmail.com>
43749 * libio/iofwide.c (do_length): Avoid warning.
43751 * ctype/ctype.h (__isctype_f): Add missing __THROW.
43753 2011-10-14 Ulrich Drepper <drepper@gmail.com>
43755 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
43757 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
43758 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
43759 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
43760 * sysdeps/i386/i686/fpu/e_log.S: New file.
43761 * sysdeps/i386/i686/fpu/e_logf.S: New file.
43762 * sysdeps/i386/i686/fpu/e_logl.S: New file.
43764 * ctype/ctype.h: Add support for inlined isXXX functions when
43765 compiling C++ code.
43767 2011-10-14 Andreas Schwab <schwab@redhat.com>
43769 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
43771 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
43773 2011-10-13 Roland McGrath <roland@hack.frob.com>
43776 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
43778 2011-10-13 Andreas Schwab <schwab@redhat.com>
43780 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
43781 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
43784 * sysdeps/x86_64/memrchr.S: Check for zero size.
43786 * string/stratcliff.c: Add memrchr tests.
43788 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43790 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43791 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
43792 rawmemchr-sse2 rawmemchr-sse2-bsf.
43793 * sysdeps/i386/i686/multiarch/memchr.S: New file.
43794 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
43795 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
43796 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
43797 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
43798 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
43799 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
43800 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
43801 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
43802 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
43803 * string/memrchr.c (MEMRCHR): New macro.
43805 2011-10-12 Ulrich Drepper <drepper@gmail.com>
43807 Add integration with gcc's -ffinite-math-only and optimize wrapper
43809 * Versions.def: Define GLIBC_2.15 version for libm.
43810 * math/Makefile (headers): Add bits/math-finite.h.
43811 * math/bits/math-finite.h: New file.
43812 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
43813 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
43814 * math/e_acoshl.c: Add __*_finite alias.
43815 * math/e_acosl.c: Likewise.
43816 * math/e_asinl.c: Likewise.
43817 * math/e_atan2l.c: Likewise.
43818 * math/e_atanhl.c: Likewise.
43819 * math/e_coshl.c: Likewise.
43820 * math/e_exp10.c: Likewise.
43821 * math/e_exp10f.c: Likewise.
43822 * math/e_exp10l.c: Likewise.
43823 * math/e_exp2l.c: Likewise.
43824 * math/e_fmodl.c: Likewise.
43825 * math/e_gammal_r.c: Likewise.
43826 * math/e_hypotl.c: Likewise.
43827 * math/e_j0l.c: Likewise.
43828 * math/e_j1l.c: Likewise.
43829 * math/e_jnl.c: Likewise.
43830 * math/e_lgammal_r.c: Likewise.
43831 * math/e_log10l.c: Likewise.
43832 * math/e_log2l.c: Likewise.
43833 * math/e_logl.c: Likewise.
43834 * math/e_powl.c: Likewise.
43835 * math/e_sinhl.c: Likewise.
43836 * math/e_sqrtl.c: Likewise.
43837 * math/e_scalb.c: Completely rewritten and optimized.
43838 * math/e_scalbf.c: Likewise.
43839 * math/e_scalbl.c: Likewise.
43840 * math/w_acos.c: Likewise.
43841 * math/w_acosf.c: Likewise.
43842 * math/w_acosl.c: Likewise.
43843 * math/w_acosh.c: Likewise.
43844 * math/w_acoshf.c: Likewise.
43845 * math/w_acoshl.c: Likewise.
43846 * math/w_asin.c: Likewise.
43847 * math/w_asinf.c: Likewise.
43848 * math/w_asinl.c: Likewise.
43849 * math/w_atan2.c: Likewise.
43850 * math/w_atan2f.c: Likewise.
43851 * math/w_atan2l.c: Likewise.
43852 * math/w_atanh.c: Likewise.
43853 * math/w_atanhf.c: Likewise.
43854 * math/w_atanhl.c: Likewise.
43855 * math/w_exp10.c: Likewise.
43856 * math/w_exp10f.c: Likewise.
43857 * math/w_exp10l.c: Likewise.
43858 * math/w_fmod.c: Likewise.
43859 * math/w_fmodf.c: Likewise.
43860 * math/w_fmodl.c: Likewise.
43861 * math/w_j0.c: Likewise.
43862 * math/w_j0f.c: Likewise.
43863 * math/w_j0l.c: Likewise.
43864 * math/w_j1.c: Likewise.
43865 * math/w_j1f.c: Likewise.
43866 * math/w_j1l.c: Likewise.
43867 * math/w_jn.c: Likewise.
43868 * math/w_jnf.c: Likewise.
43869 * math/w_log.c: Likewise.
43870 * math/w_logf.c: Likewise.
43871 * math/w_logl.c: Likewise.
43872 * math/w_log10.c: Likewise.
43873 * math/w_log10f.c: Likewise.
43874 * math/w_log10l.c: Likewise.
43875 * math/w_log2.c: Likewise.
43876 * math/w_log2f.c: Likewise.
43877 * math/w_log2l.c: Likewise.
43878 * math/w_pow.c: Likewise.
43879 * math/w_powf.c: Likewise.
43880 * math/w_powl.c: Likewise.
43881 * math/w_remainder.c: Likewise.
43882 * math/w_remainderf.c: Likewise.
43883 * math/w_remainderl.c: Likewise.
43884 * math/w_scalb.c: Likewise.
43885 * math/w_scalbf.c: Likewise.
43886 * math/w_scalbl.c: Likewise.
43887 * math/w_sqrt.c: Likewise.
43888 * math/w_sqrtf.c: Likewise.
43889 * math/w_sqrtl.c: Likewise.
43890 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
43891 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
43893 * math/math_private.h: Declare __kernel_standard_f.
43894 * math/w_cosh.c: Remove cruft and optimize a bit.
43895 * math/w_coshf.c: Likewise.
43896 * math/w_coshl.c: Likewise.
43897 * math/w_exp2.c: Likewise.
43898 * math/w_exp2f.c: Likewise.
43899 * math/w_exp2l.c: Likewise.
43900 * math/w_hypot.c: Likewise.
43901 * math/w_hypotf.c: Likewise.
43902 * math/w_hypotl.c: Likewise.
43903 * math/w_lgamma.c: Likewise.
43904 * math/w_lgamma_r.c: Likewise.
43905 * math/w_lgammaf.c: Likewise.
43906 * math/w_lgammaf_r.c: Likewise.
43907 * math/w_lgammal.c: Likewise.
43908 * math/w_lgammal_r.c: Likewise.
43909 * math/w_sinh.c: Likewise.
43910 * math/w_sinhf.c: Likewise.
43911 * math/w_sinhl.c: Likewise.
43912 * math/w_tgamma.c: Likewise.
43913 * math/w_tgammaf.c: Likewise.
43914 * math/w_tgammal.c: Likewise.
43915 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
43916 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
43917 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
43918 Minor optimizations. Pretty printing. Remove cruft.
43919 * sysdeps/i386/fpu/e_acosf.S: Likewise.
43920 * sysdeps/i386/fpu/e_acosh.S: Likewise.
43921 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
43922 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
43923 * sysdeps/i386/fpu/e_acosl.c: Likewise.
43924 * sysdeps/i386/fpu/e_asin.S: Likewise.
43925 * sysdeps/i386/fpu/e_asinf.S: Likewise.
43926 * sysdeps/i386/fpu/e_atan2.S: Likewise.
43927 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
43928 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
43929 * sysdeps/i386/fpu/e_atanh.S: Likewise.
43930 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
43931 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
43932 * sysdeps/i386/fpu/e_exp10.S: Likewise.
43933 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
43934 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
43935 * sysdeps/i386/fpu/e_exp2.S: Likewise.
43936 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
43937 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
43938 * sysdeps/i386/fpu/e_fmod.S: Likewise.
43939 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
43940 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
43941 * sysdeps/i386/fpu/e_hypot.S: Likewise.
43942 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
43943 * sysdeps/i386/fpu/e_log.S: Likewise.
43944 * sysdeps/i386/fpu/e_log10.S: Likewise.
43945 * sysdeps/i386/fpu/e_log10f.S: Likewise.
43946 * sysdeps/i386/fpu/e_log10l.S: Likewise.
43947 * sysdeps/i386/fpu/e_log2.S: Likewise.
43948 * sysdeps/i386/fpu/e_log2f.S: Likewise.
43949 * sysdeps/i386/fpu/e_log2l.S: Likewise.
43950 * sysdeps/i386/fpu/e_logf.S: Likewise.
43951 * sysdeps/i386/fpu/e_logl.S: Likewise.
43952 * sysdeps/i386/fpu/e_pow.S: Likewise.
43953 * sysdeps/i386/fpu/e_powf.S: Likewise.
43954 * sysdeps/i386/fpu/e_powl.S: Likewise.
43955 * sysdeps/i386/fpu/e_remainder.S: Likewise.
43956 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
43957 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
43958 * sysdeps/i386/fpu/e_scalb.S: Likewise.
43959 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
43960 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
43961 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
43962 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
43963 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
43964 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
43965 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
43966 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43967 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
43968 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
43969 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
43970 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
43971 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
43972 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
43973 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
43974 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
43975 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
43976 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43977 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
43978 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
43979 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43980 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
43981 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
43982 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
43983 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43984 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
43985 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
43986 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
43987 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
43988 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
43989 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
43990 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
43991 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
43992 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
43993 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
43994 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
43995 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
43996 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
43997 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
43998 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
43999 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
44000 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
44001 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
44002 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
44003 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
44004 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
44005 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
44006 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
44007 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
44008 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
44009 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
44010 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
44011 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
44012 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
44013 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
44014 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
44015 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
44016 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
44017 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
44018 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
44019 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
44020 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
44021 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
44022 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
44023 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
44024 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
44025 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
44026 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
44027 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
44028 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
44029 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
44030 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
44031 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
44032 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
44033 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
44034 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
44035 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
44036 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
44037 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
44038 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
44039 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
44040 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
44041 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
44042 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
44043 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
44044 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
44045 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
44046 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
44047 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
44048 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
44049 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
44050 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
44051 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
44052 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
44053 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
44054 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
44055 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
44056 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
44057 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
44058 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
44059 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
44060 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
44061 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
44062 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
44063 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
44064 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
44065 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
44066 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
44067 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
44068 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
44069 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
44070 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
44071 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
44072 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
44073 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
44074 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
44075 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
44076 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
44077 (__isnanf): Likewise.
44078 (__isinf_ns): Likewise.
44079 (__isinf_nsf): Likewise.
44080 (__finite): Likewise.
44081 (__finitef): Likewise.
44082 (__ieee754_sqrt): Define as macro.
44083 (__ieee754_sqrtf): Define as macro.
44084 (__ieee754_sqrtl): Define as macro.
44085 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
44087 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
44088 __FINITE_MATH_ONLY__ consistent.
44089 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
44091 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
44093 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
44096 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
44098 2011-10-09 Ulrich Drepper <drepper@gmail.com>
44100 * po/ja.po: Update from translation team.
44102 2011-10-08 Roland McGrath <roland@hack.frob.com>
44104 * locale/programs/locarchive.c (prepare_address_space): New function.
44105 (create_archive, enlarge_archive, open_archive): Use it.
44107 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
44108 inside [SHARED], where it is used.
44110 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
44112 * nss/getent.c (netgroup_keys): Remove unused variable.
44113 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
44115 2011-10-08 Ulrich Drepper <drepper@gmail.com>
44117 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
44118 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
44119 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
44120 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
44121 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
44122 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
44123 * math/Makefile (libm-calls): Add s_isinf_ns.
44124 * math/divtc3.c: Use __isinf_nsl instead of isinf.
44125 * math/multc3.c: Likewise.
44126 * math/s_casin.c: Likewise.
44127 * math/s_casinf.c: Likewise.
44128 * math/s_casinl.c: Likewise.
44129 * math/s_ccos.c: Likewise.
44130 * math/s_ccosf.c: Likewise.
44131 * math/s_ccosl.c: Likewise.
44132 * math/s_ctan.c: Likewise.
44133 * math/s_ctanf.c: Likewise.
44134 * math/s_ctanh.c: Likewise.
44135 * math/s_ctanhf.c: Likewise.
44136 * math/s_ctanhl.c: Likewise.
44137 * math/s_ctanl.c: Likewise.
44138 * math/w_fmod.c: Likewise.
44139 * math/w_fmodf.c: Likewise.
44140 * math/w_fmodl.c: Likewise.
44141 * math/w_remainder.c: Likewise.
44142 * math/w_remainderf.c: Likewise.
44143 * math/w_remainderl.c: Likewise.
44144 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
44145 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
44146 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
44147 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
44148 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
44149 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
44150 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
44151 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
44153 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
44155 * stdio-common/printf_fphex.c: Likewise.
44156 * stdio-common/printf_size.c: Likewise.
44158 * math/e_exp10.c: Include math_private.h using <...> not "...".
44159 * math/e_exp10f.c: Likewise.
44160 * math/e_exp10l.c: Likewise.
44161 * math/e_exp2l.c: Likewise.
44162 * math/e_j0l.c: Likewise.
44163 * math/e_j1l.c: Likewise.
44164 * math/e_jnl.c: Likewise.
44165 * math/e_lgammal_r.c: Likewise.
44166 * math/e_rem_pio2l.c: Likewise.
44167 * math/e_scalb.c: Likewise.
44168 * math/e_scalbf.c: Likewise.
44169 * math/e_scalbl.c: Likewise.
44170 * math/k_cosl.c: Likewise.
44171 * math/k_sinl.c: Likewise.
44172 * math/k_tanl.c: Likewise.
44173 * math/s_cacoshf.c: Likewise.
44174 * math/s_catan.c: Likewise.
44175 * math/s_catanf.c: Likewise.
44176 * math/s_catanh.c: Likewise.
44177 * math/s_catanhf.c: Likewise.
44178 * math/s_catanhl.c: Likewise.
44179 * math/s_catanl.c: Likewise.
44180 * math/s_ccosh.c: Likewise.
44181 * math/s_ccoshf.c: Likewise.
44182 * math/s_ccoshl.c: Likewise.
44183 * math/s_cexp.c: Likewise.
44184 * math/s_cexpf.c: Likewise.
44185 * math/s_cexpl.c: Likewise.
44186 * math/s_clog.c: Likewise.
44187 * math/s_clog10.c: Likewise.
44188 * math/s_clog10f.c: Likewise.
44189 * math/s_clog10l.c: Likewise.
44190 * math/s_clogf.c: Likewise.
44191 * math/s_clogl.c: Likewise.
44192 * math/s_csin.c: Likewise.
44193 * math/s_csinf.c: Likewise.
44194 * math/s_csinh.c: Likewise.
44195 * math/s_csinhf.c: Likewise.
44196 * math/s_csinhl.c: Likewise.
44197 * math/s_csinl.c: Likewise.
44198 * math/s_csqrt.c: Likewise.
44199 * math/s_csqrtf.c: Likewise.
44200 * math/s_csqrtl.c: Likewise.
44201 * math/s_ctan.c: Likewise.
44202 * math/s_ctanf.c: Likewise.
44203 * math/s_ctanh.c: Likewise.
44204 * math/s_ctanhf.c: Likewise.
44205 * math/s_ctanhl.c: Likewise.
44206 * math/s_ctanl.c: Likewise.
44207 * math/s_ldexp.c: Likewise.
44208 * math/s_ldexpf.c: Likewise.
44209 * math/s_ldexpl.c: Likewise.
44210 * math/s_significand.c: Likewise.
44211 * math/s_significandf.c: Likewise.
44212 * math/s_significandl.c: Likewise.
44213 * math/w_acos.c: Likewise.
44214 * math/w_acosf.c: Likewise.
44215 * math/w_acosh.c: Likewise.
44216 * math/w_acoshf.c: Likewise.
44217 * math/w_acoshl.c: Likewise.
44218 * math/w_acosl.c: Likewise.
44219 * math/w_asin.c: Likewise.
44220 * math/w_asinf.c: Likewise.
44221 * math/w_asinl.c: Likewise.
44222 * math/w_atan2.c: Likewise.
44223 * math/w_atan2f.c: Likewise.
44224 * math/w_atan2l.c: Likewise.
44225 * math/w_atanh.c: Likewise.
44226 * math/w_atanhf.c: Likewise.
44227 * math/w_atanhl.c: Likewise.
44228 * math/w_cosh.c: Likewise.
44229 * math/w_coshf.c: Likewise.
44230 * math/w_coshl.c: Likewise.
44231 * math/w_dremf.c: Likewise.
44232 * math/w_exp10.c: Likewise.
44233 * math/w_exp10f.c: Likewise.
44234 * math/w_exp10l.c: Likewise.
44235 * math/w_exp2.c: Likewise.
44236 * math/w_exp2f.c: Likewise.
44237 * math/w_fmod.c: Likewise.
44238 * math/w_fmodf.c: Likewise.
44239 * math/w_fmodl.c: Likewise.
44240 * math/w_hypot.c: Likewise.
44241 * math/w_hypotf.c: Likewise.
44242 * math/w_hypotl.c: Likewise.
44243 * math/w_j0.c: Likewise.
44244 * math/w_j0f.c: Likewise.
44245 * math/w_j0l.c: Likewise.
44246 * math/w_j1.c: Likewise.
44247 * math/w_j1f.c: Likewise.
44248 * math/w_j1l.c: Likewise.
44249 * math/w_jn.c: Likewise.
44250 * math/w_jnf.c: Likewise.
44251 * math/w_jnl.c: Likewise.
44252 * math/w_lgamma.c: Likewise.
44253 * math/w_lgamma_r.c: Likewise.
44254 * math/w_lgammaf.c: Likewise.
44255 * math/w_lgammaf_r.c: Likewise.
44256 * math/w_lgammal.c: Likewise.
44257 * math/w_lgammal_r.c: Likewise.
44258 * math/w_log.c: Likewise.
44259 * math/w_log10.c: Likewise.
44260 * math/w_log10f.c: Likewise.
44261 * math/w_log10l.c: Likewise.
44262 * math/w_log2.c: Likewise.
44263 * math/w_log2f.c: Likewise.
44264 * math/w_log2l.c: Likewise.
44265 * math/w_logf.c: Likewise.
44266 * math/w_logl.c: Likewise.
44267 * math/w_pow.c: Likewise.
44268 * math/w_powf.c: Likewise.
44269 * math/w_powl.c: Likewise.
44270 * math/w_remainder.c: Likewise.
44271 * math/w_remainderf.c: Likewise.
44272 * math/w_remainderl.c: Likewise.
44273 * math/w_scalb.c: Likewise.
44274 * math/w_scalbf.c: Likewise.
44275 * math/w_scalbl.c: Likewise.
44276 * math/w_sinh.c: Likewise.
44277 * math/w_sinhf.c: Likewise.
44278 * math/w_sinhl.c: Likewise.
44279 * math/w_sqrt.c: Likewise.
44280 * math/w_sqrtf.c: Likewise.
44281 * math/w_sqrtl.c: Likewise.
44282 * math/w_tgamma.c: Likewise.
44283 * math/w_tgammaf.c: Likewise.
44284 * math/w_tgammal.c: Likewise.
44286 * po/ja.po: Update from translation team.
44288 2011-09-29 Andreas Jaeger <aj@suse.de>
44291 * sunrpc/netname.c (netname2host): Fix logic.
44295 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
44297 * math/w_remainder.c (__remainder): Likewise.
44298 * math/w_remainderf.c (__remainderf): Likewise.
44299 * math/libm-test.inc (remainder_test): Add test cases.
44301 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44303 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
44306 2011-10-07 Ulrich Drepper <drepper@gmail.com>
44308 * string/test-memcmp.c: Avoid unncessary #defines.
44309 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
44311 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44313 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
44314 Use new sse2 version for core i3 - i7 as it's faster
44315 than sse42 version.
44316 (bit_Prefer_PMINUB_for_stringop): New.
44317 * sysdeps/x86_64/rawmemchr.S: Update.
44318 Replace with faster SSE2 version.
44319 * sysdeps/x86_64/memrchr.S: New file.
44320 * sysdeps/x86_64/memchr.S: Update.
44321 Replace with faster SSE2 version.
44323 2011-09-12 Marek Polacek <mpolacek@redhat.com>
44325 * elf/dl-load.c (lose): Add cast to avoid warning.
44327 2011-10-07 Ulrich Drepper <drepper@gmail.com>
44329 * po/ca.po: Update from translation team.
44331 * inet/getnetgrent_r.c: Hook up nscd.
44332 * nscd/Makefile (routines): Add nscd_netgroup.
44333 (nscd-modules): Add netgroupcache.
44334 (CFLAGS-netgroupcache.c): Define.
44335 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
44336 (cache_search): Add const to second parameter.
44337 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
44339 (dbs): Add netgrdb entry.
44340 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
44341 (verify_persistent_db): Handle netgrdb.
44342 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
44343 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
44345 (netgroup_response_header): Define.
44346 (innetgroup_response_header): Define.
44347 (datahead): Add netgroup_response_header and innetgroup_response_header
44349 * nscd/nscd.conf: Add entries for netgroup cache.
44350 * nscd/nscd.h (dbtype): Add netgrdb.
44351 (_PATH_NSCD_NETGROUP_DB): Define.
44352 (netgroup_iov_disabled): Declare.
44353 (xmalloc, xcalloc, xrealloc): Move declarations here.
44354 (cache_search): Adjust prototype.
44355 Add netgroup-related prototypes.
44356 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
44357 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
44358 (__nscd_innetgr): Declare.
44359 * nscd/selinux.c (perms): Use access_vector_t as element type and
44360 add netgroup-related initializers.
44361 * nscd/netgroupcache.c: New file.
44362 * nscd/nscd_netgroup.c: New file.
44363 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
44364 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
44365 For four parameters use innetgr.
44366 * nss/nss_files/files-init.c: Add definition and callback for netgr.
44367 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
44368 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
44369 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
44371 * nscd/connections.c (register_traced_file): Don't register file
44372 for disabled databases.
44374 2011-10-06 Ulrich Drepper <drepper@gmail.com>
44376 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
44378 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
44379 from tree and freeing node.
44381 2011-09-25 Jiri Olsa <jolsa@redhat.com>
44383 * nss/nsswitch.c (__nss_database_lookup): Handle
44384 nss_parse_service_list out of memory case.
44386 2011-09-15 Jiri Olsa <jolsa@redhat.com>
44388 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
44389 out of memory case.
44391 2011-10-04 Andreas Schwab <schwab@redhat.com>
44393 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
44394 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
44396 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
44397 elf_machine_rela, elf_machine_lazy_rel.
44398 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
44399 (ELF_DYNAMIC_DO_REL): Likewise.
44400 (ELF_DYNAMIC_DO_RELA): Likewise.
44401 (ELF_DYNAMIC_RELOCATE): Likewise.
44402 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
44403 to ELF_DYNAMIC_DO_REL.
44404 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
44405 (dl_main): In trace mode always set __RTLD_NOIFUNC.
44406 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
44408 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
44409 skip_ifunc, don't call ifunc function if non-zero.
44410 (elf_machine_rela): Likewise.
44411 (elf_machine_lazy_rel): Likewise.
44412 (elf_machine_lazy_rela): Likewise.
44413 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
44414 (elf_machine_lazy_rel): Likewise.
44415 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
44417 (elf_machine_lazy_rel): Likewise.
44418 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
44420 (elf_machine_lazy_rel): Likewise.
44421 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
44422 (elf_machine_lazy_rel): Likewise.
44423 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
44424 (elf_machine_lazy_rel): Likewise.
44425 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
44426 (elf_machine_lazy_rel): Likewise.
44427 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
44428 (elf_machine_lazy_rel): Likewise.
44429 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
44430 (elf_machine_lazy_rel): Likewise.
44431 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
44432 (elf_machine_lazy_rel): Likewise.
44434 2011-09-28 Ulrich Drepper <drepper@gmail.com>
44436 * nss/nss_files/files-init.c (_nss_files_init): Use static
44437 initialization for all the *_traced_file variables.
44439 2011-09-28 Andreas Schwab <schwab@redhat.com>
44441 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
44443 2011-09-27 Roland McGrath <roland@hack.frob.com>
44446 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
44448 2011-09-27 Andreas Schwab <schwab@redhat.com>
44450 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
44451 Reread the line before reparsing it.
44453 2011-09-26 Andreas Schwab <schwab@redhat.com>
44455 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
44457 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
44458 Maxim Kuvyrkov <maxim@codesourcery.com>
44459 Joseph Myers <joseph@codesourcery.com>
44461 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
44462 if needed for __stack_chk_guard.
44464 2011-09-19 Roland McGrath <roland@hack.frob.com>
44466 * sysdeps/posix/spawni.c (script_execute): Always define it.
44467 It will be optimized away if unused.
44468 (maybe_script_execute): New function.
44469 (__spawni): Call it.
44471 * Makerules: Don't include tls.make.
44472 (config-tls): Always set to thread.
44473 * tls.make.c: File removed.
44475 2011-09-19 Mike Frysinger <vapier@gentoo.org>
44477 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
44478 * config.make.in (CPPFLAGS-config): New substituted variable.
44480 2011-09-15 Ulrich Drepper <drepper@gmail.com>
44482 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
44485 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
44486 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
44488 2011-09-15 Roland McGrath <roland@hack.frob.com>
44490 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
44491 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
44492 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
44493 (CALL_FAIL): Likewise.
44494 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
44495 (CALL_FAIL): Macro removed.
44496 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
44498 2011-09-15 Ulrich Drepper <drepper@gmail.com>
44500 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
44501 for __FINITE_MATH_ONLY__ == 1.
44503 2011-09-15 Andreas Schwab <schwab@redhat.com>
44505 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
44506 __ieee754_sqrt instead of sqrt.
44507 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
44508 __ieee754_sqrtf instead of sqrtf.
44509 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
44510 __floorf instead of floorf.
44511 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
44512 __floorf, __truncf instead of floorf, truncf.
44514 2011-09-14 Ulrich Drepper <drepper@gmail.com>
44516 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
44518 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
44519 __extern_always_inline.
44520 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
44523 2011-09-14 Andreas Schwab <schwab@redhat.com>
44525 * elf/rtld.c (dl_main): Also relocate in dependency order when
44526 doing symbol dependency testing.
44528 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
44530 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
44531 Always define `refsym'.
44533 2011-09-13 Andreas Schwab <schwab@redhat.com>
44535 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
44536 (__FD_ELT): Renamed from __FDELT.
44537 * misc/bits/select2.h (__FD_ELT): Likewise.
44538 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
44539 __FD_MASK instead of __FDELT, __FDMASK.
44540 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
44542 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
44545 * elf/Makefile (gen-ldd): Fix pattern.
44547 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
44548 (init_tls): Likewise.
44550 2011-09-12 Ulrich Drepper <drepper@gmail.com>
44552 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
44554 2011-09-12 Andreas Schwab <schwab@redhat.com>
44556 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
44557 `struct cmsghdr *' instead of `void *'.
44558 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
44561 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
44563 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
44565 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
44566 ldd_rewrite_script.
44568 2011-09-11 Ulrich Drepper <drepper@gmail.com>
44570 * configure.in: Remove --with-tls option.
44571 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
44572 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
44573 out in case it is missing.
44574 * sysdeps/ia64/elf/configure.in: Likewise.
44575 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
44576 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
44577 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
44578 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
44579 * sysdeps/sh/elf/configure.in: Likewise.
44580 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
44581 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
44582 * sysdeps/x86_64/elf/configure.in: Likewise.
44583 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
44584 * sysdeps/mach/hurd/tls.h: Likewise.
44587 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
44590 * configure.in: Fix use of AC_INIT.
44592 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
44594 2011-09-10 Ulrich Drepper <drepper@gmail.com>
44596 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
44598 * malloc/hooks.c: Likewise.
44601 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
44602 variables statically.
44603 (narenas): Initialize.
44604 (list_lock): Initialize.
44605 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
44606 initializtion of main_arena and list_lock. Small cleanups.
44607 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
44608 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
44609 Add initializers to main_arena and mp_.
44610 (malloc_state): Remove pagesize member. Change all users to use
44613 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
44614 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
44615 is always initialized.
44617 * malloc/malloc.c: Removed unused configurations and dead code.
44618 * malloc/arena.c: Likewise.
44619 * malloc/hooks.c: Likewise.
44620 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
44622 * include/tls.h: Removed. USE___THREAD must always be defined.
44623 * bits/libc-tsd.h: Don't handle !USE___THREAD.
44624 * elf/dl-libc.c: Likewise.
44625 * elf/dl-tsd.c: Likewise.
44626 * include/errno.h: Likewise.
44627 * include/netdb.h: Likewise.
44628 * include/resolv.h: Likewise.
44629 * inet/herrno-loc.c: Likewise.
44630 * inet/herrno.c: Likewise.
44631 * malloc/arena.c: Likewise.
44632 * malloc/hooks.c: Likewise.
44633 * malloc/malloc.c: Likewise.
44634 * resolv/res-state.c: Likewise.
44635 * resolv/res_libc.c: Likewise.
44636 * sysdeps/i386/dl-machine.h: Likewise.
44637 * sysdeps/ia64/dl-machine.h: Likewise.
44638 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
44639 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
44640 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
44641 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
44642 * sysdeps/sh/dl-machine.h: Likewise.
44643 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
44644 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
44645 * sysdeps/unix/i386/sysdep.S: Likewise.
44646 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
44647 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
44648 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
44649 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
44650 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
44651 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
44652 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
44653 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
44654 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
44655 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
44656 * sysdeps/unix/x86_64/sysdep.S: Likewise.
44657 * sysdeps/x86_64/dl-machine.h: Likewise.
44658 * tls.make.c: Likewise.
44660 * configure.in: Remove --with-__thread option. Make tests for
44661 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
44662 tls_model attribute fail if no support is available. Remove
44664 * Makeconfig: Adjust for dropped configure option. All features are
44666 * Makerules: Likewise.
44667 * Versions.def: Likewise.
44668 * argp/argp-fmtstream.c: Likewise.
44669 * argp/argp-fmtstream.h: Likewise.
44670 * argp/argp-help.c: Likewise.
44671 * assert/assert.c: Likewise.
44672 * config.h.in: Likewise.
44673 * config.make.in: Likewise.
44674 * configure: Likewise.
44675 * configure.in: Likewise.
44676 * csu/Versions: Likewise.
44677 * csu/init.c: Likewise.
44678 * elf/tst-audit2.c: Likewise.
44679 * elf/tst-tls10.c: Likewise.
44680 * elf/tst-tls10.h: Likewise.
44681 * elf/tst-tls11.c: Likewise.
44682 * elf/tst-tls12.c: Likewise.
44683 * elf/tst-tls14.c: Likewise.
44684 * elf/tst-tlsmod11.c: Likewise.
44685 * elf/tst-tlsmod12.c: Likewise.
44686 * elf/tst-tlsmod13.c: Likewise.
44687 * elf/tst-tlsmod13a.c: Likewise.
44688 * elf/tst-tlsmod14a.c: Likewise.
44689 * elf/tst-tlsmod15b.c: Likewise.
44690 * elf/tst-tlsmod16a.c: Likewise.
44691 * elf/tst-tlsmod16b.c: Likewise.
44692 * elf/tst-tlsmod7.c: Likewise.
44693 * elf/tst-tlsmod8.c: Likewise.
44694 * elf/tst-tlsmod9.c: Likewise.
44695 * gmon/gmon.c: Likewise.
44696 * grp/fgetgrent_r.c: Likewise.
44697 * grp/putgrent.c: Likewise.
44698 * hurd/fopenport.c: Likewise.
44699 * include/libc-symbols.h: Likewise.
44700 * include/tls.h: Likewise.
44701 * intl/gettextP.h: Likewise.
44702 * intl/loadinfo.h: Likewise.
44703 * locale/global-locale.c: Likewise.
44704 * locale/localeinfo.h: Likewise.
44705 * mach/devstream.c: Likewise.
44706 * malloc/arena.c: Likewise.
44707 * malloc/set-freeres.c: Likewise.
44708 * misc/err.c: Likewise.
44709 * misc/getttyent.c: Likewise.
44710 * misc/mntent_r.c: Likewise.
44711 * posix/getopt.c: Likewise.
44712 * posix/wordexp.c: Likewise.
44713 * pwd/fgetpwent_r.c: Likewise.
44714 * resolv/Versions: Likewise.
44715 * resolv/res_hconf.c: Likewise.
44716 * shadow/fgetspent_r.c: Likewise.
44717 * shadow/putspent.c: Likewise.
44718 * stdio-common/printf_fphex.c: Likewise.
44719 * stdio-common/tmpfile.c: Likewise.
44720 * stdlib/abort.c: Likewise.
44721 * stdlib/fmtmsg.c: Likewise.
44722 * sunrpc/auth_unix.c: Likewise.
44723 * sunrpc/clnt_perr.c: Likewise.
44724 * sunrpc/clnt_tcp.c: Likewise.
44725 * sunrpc/clnt_udp.c: Likewise.
44726 * sunrpc/clnt_unix.c: Likewise.
44727 * sunrpc/openchild.c: Likewise.
44728 * sunrpc/svc_simple.c: Likewise.
44729 * sunrpc/svc_tcp.c: Likewise.
44730 * sunrpc/svc_udp.c: Likewise.
44731 * sunrpc/svc_unix.c: Likewise.
44732 * sunrpc/xdr.c: Likewise.
44733 * sunrpc/xdr_array.c: Likewise.
44734 * sunrpc/xdr_rec.c: Likewise.
44735 * sunrpc/xdr_ref.c: Likewise.
44736 * sunrpc/xdr_stdio.c: Likewise.
44738 2011-09-09 Ulrich Drepper <drepper@gmail.com>
44740 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
44742 2011-07-03 Andreas Jaeger <aj@suse.de>
44744 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
44745 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
44746 regenerate with gen-libm-tests.pl.
44748 2010-05-12 Petr Baudis <pasky@suse.cz>
44751 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
44752 around j0() zero points by switching to j1().
44753 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
44754 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
44755 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
44756 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
44758 2011-09-09 Ulrich Drepper <drepper@gmail.com>
44760 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
44762 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
44764 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
44765 Patch in part by Pavel Roskin <proski@gnu.org>.
44768 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
44770 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
44771 Free memory block if necessary.
44774 * libio/genops.c (INTDEF): For string streams the _lock pointer can
44775 be NULL. Don't lock in this case.
44777 2011-09-09 Roland McGrath <roland@hack.frob.com>
44779 * elf/elf.h (ELFOSABI_GNU): New macro.
44780 (ELFOSABI_LINUX): Define to that.
44782 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
44784 * string/strncat.c (strncat): Undef the symbol in case it has been
44785 defined in bits/string.h.
44787 2011-09-09 Ulrich Drepper <drepper@gmail.com>
44789 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
44791 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
44794 2011-08-17 Andreas Jaeger <aj@suse.de>
44796 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
44798 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
44799 Ian Lance Taylor <iant@google.com>
44801 * math/libm-test.inc (lround_test): New testcase.
44802 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
44804 2011-09-08 Ulrich Drepper <drepper@gmail.com>
44806 * Makefile: Remove support for automatic cvs check-ins.
44807 * Makerules: Likewise.
44808 * config.make.in: Likewise.
44809 * configure.in: Likewise.
44810 * intl/Makefile: Likewise.
44811 * locale/Makefile: Likewise.
44812 * po/Makefile: Likewise.
44813 * posix/Makefile: Likewise.
44814 * sysdeps/gnu/Makefile: Likewise.
44815 * sysdeps/mach/hurd/Makefile: Likewise.
44816 * sysdeps/sparc/sparc32/Makefile: Likewise.
44819 * posix/Makefile (bug-regex32-ENV): Define.
44820 Patch by John Stanley <jpsinthemix@verizon.net>.
44822 * misc/Makefile (headers): Add bits/select2.h.
44823 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
44824 * misc/bits/select2.h: New file.
44825 * include/bits/select2.h: New file.
44826 * debug/Makefile (routines): Add fdelt_chk.
44827 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
44828 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
44830 * debug/fdelt_chk.c: New file.
44832 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
44833 * wcsmbs/test-wmemcmp.c: Likewise.
44834 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
44835 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
44837 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44839 * string/Makefile (strop-tests): Add memcmp.
44840 * string/test-wmemcmp.c: New file.
44841 * string/test-memcmp.c: Add wmemcmp support.
44843 2011-09-08 Roland McGrath <roland@hack.frob.com>
44846 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
44849 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
44850 garbage value in a __mach_port_mod_refs call in the cases of the
44851 task-self and thread-self ports.
44853 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
44855 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
44857 2011-09-08 Andreas Schwab <schwab@redhat.com>
44859 * elf/dl-load.c (lose): Check for non-null L.
44861 2011-09-07 Ulrich Drepper <drepper@gmail.com>
44863 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
44865 * elf/dl-libc.c (dlerror_run): Pass back error code from
44869 * elf/dl-load.c (lose): Free l_origin if it is valid.
44871 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
44873 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
44874 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
44875 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
44876 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
44877 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
44878 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
44880 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44882 * sysdeps/powerpc/fpu/e_hypot.c: New file.
44883 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
44884 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
44885 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
44886 * sysdeps/powerpc/fpu/k_cosf.c: New file.
44887 * sysdeps/powerpc/fpu/k_sinf.c: New file.
44888 * sysdeps/powerpc/fpu/s_cosf.c: New file.
44889 * sysdeps/powerpc/fpu/s_sinf.c: New file.
44890 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
44891 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
44893 2011-08-15 Alan Modra <amodra@gmail.com>
44896 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
44897 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
44898 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
44899 ppc_mcount to static-only-routines.
44900 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
44902 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
44903 __mcount_internal with usual JUMPTARGET. Remove useless nop.
44905 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
44907 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
44908 for finite and infinity parameters.
44910 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
44912 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
44913 and add nop instructions for throughput optimization.
44914 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
44916 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
44918 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
44919 aligned copy for power7 with vector-scalar instructions.
44920 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
44922 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
44924 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
44927 2011-09-07 Andreas Schwab <schwab@redhat.com>
44930 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
44933 2011-09-07 Ulrich Drepper <drepper@gmail.com>
44935 * sysdeps/unix/sysv/linux/x86_64/init-first.c
44936 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
44937 syscall wrapper around clock_gettime in __vdso_clock_gettime.
44938 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
44941 2011-09-06 Ulrich Drepper <drepper@gmail.com>
44943 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
44944 Forgot to demangle the pointer.
44946 * sysdeps/i386/sysdep.h: Define atom_text_section.
44947 * sysdeps/x86_64/sysdep.h: Likewise.
44948 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
44949 section with atom_text_section.
44950 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
44951 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
44952 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
44953 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
44954 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
44956 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
44957 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
44958 already be defined. Change to take two parameters and don't assign
44959 result to variable. Adjust all users.
44960 Define INTERNAL_GETTIME if not already defined.
44961 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
44963 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
44964 HAVE_CLOCK_GETTIME_VSYSCALL.
44965 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
44967 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
44968 gettimeofday vsyscall, just use time.
44970 2011-09-06 Andreas Schwab <schwab@redhat.com>
44972 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
44975 2011-09-06 Ulrich Drepper <drepper@gmail.com>
44977 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
44979 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
44981 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
44982 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
44983 syscall if possible.
44985 2011-09-05 Ulrich Drepper <drepper@gmail.com>
44987 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
44988 e_ident. Don't pass to find_mapsXX.
44989 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
44991 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
44993 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44994 strchr-sse2-no-bsf strrchr-sse2-no-bsf
44995 * sysdeps/x86_64/multiarch/strchr.S: Update.
44996 Check bit_slow_BSF bit.
44997 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
44998 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
44999 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
45001 2011-09-05 Ulrich Drepper <drepper@gmail.com>
45004 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
45006 (tryshell): Define.
45007 (__spawni): Change last parameter to be flag. Test
45008 SPAWN_XFLAGS_USE_PATH flag to use path or not.
45009 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
45010 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
45011 * posix/spawni.c: Likewise.
45012 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
45013 * posix/spawnp.c: Likewise. Change normal version to use
45014 SPAWN_XFLAGS_USE_PATH.
45015 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
45016 SPAWN_XFLAGS_TRY_SHELL.
45019 * posix/glob.h: Remove gcc 1.x support.
45022 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
45024 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
45026 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45027 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
45029 * sysdeps/i386/i686/multiarch/strchr.S: New file.
45030 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
45031 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
45032 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
45033 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
45034 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
45036 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45038 * sysdeps/x86_64/wcscmp.S: New file.
45040 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
45041 wcscmp-c wcscmp-sse2
45042 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
45043 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
45044 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
45045 * wcsmbs/wcscmp.c: Allow renaming.
45047 2011-09-05 David S. Miller <davem@davemloft.net>
45049 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
45050 stack slot, rather than the struct return pointer slot.
45051 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
45052 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
45053 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
45054 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
45056 2011-09-05 Ulrich Drepper <drepper@gmail.com>
45058 * po/ja.po: Update from translation team.
45061 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
45062 kernel in 64-bit binaries.
45064 2011-09-01 David S. Miller <davem@davemloft.net>
45066 * elf/elf.h (HWCAP_SPARC_*): Move to..
45067 * sysdeps/sparc/sysdep.h: this new file and add new values.
45068 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
45069 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
45070 _DL_HWCAP_COUNT to 24.
45071 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
45073 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
45074 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
45075 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
45076 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
45077 instead of magic constants.
45078 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
45080 2011-08-31 David S. Miller <davem@davemloft.net>
45082 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
45083 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
45084 Reimplement to do errno handling inline.
45085 (SYSCALL_ERROR_HANDLER): New macro.
45086 (__SYSCALL_STRING): Do not do errno handling in asm.
45087 (__CLONE_SYSCALL_STRING): Delete.
45088 (__INTERNAL_SYSCALL_STRING): Delete.
45089 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
45090 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
45091 (PSEUDO): Reimplement to do errno handling inline.
45092 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
45093 (SYSCALL_ERROR_HANDLER): New macro.
45094 (__SYSCALL_STRING): Do not do errno handling in asm.
45095 (__CLONE_SYSCALL_STRING): Delete.
45096 (__INTERNAL_SYSCALL_STRING): Delete.
45097 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
45098 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
45100 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
45101 (inline_syscall*): Add 'err' argument.
45102 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
45103 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
45104 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
45105 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
45107 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
45108 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
45110 2011-08-30 Andreas Schwab <schwab@redhat.com>
45112 * elf/rtld.c (dl_main): Relocate objects in dependency order.
45114 2011-08-29 Jiri Olsa <jolsa@redhat.com>
45116 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
45119 2011-08-24 David S. Miller <davem@davemloft.net>
45121 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
45123 2011-08-24 Andreas Schwab <schwab@redhat.com>
45125 * elf/Makefile: Add rules to build and run unload8 test.
45126 * elf/unload8.c: New file.
45127 * elf/unload8mod1.c: New file.
45128 * elf/unload8mod1x.c: New file.
45129 * elf/unload8mod2.c: New file.
45130 * elf/unload8mod3.c: New file.
45132 * elf/dl-close.c (_dl_close_worker): Reset private search list if
45135 2011-08-23 David S. Miller <davem@davemloft.net>
45137 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
45138 subtract stack bias.
45139 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
45140 %sp not %fp in calculations.
45141 (_JMPBUF_UNWINDS_ADJ): Likewise.
45143 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
45144 (aio_suspend): Call it to force an exception region around the
45145 AIO_MISC_WAIT() invocation.
45147 2011-08-23 Andreas Schwab <schwab@redhat.com>
45149 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
45152 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
45154 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
45156 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
45157 and <dl-machine.h>.
45158 (Elf64_FuncDesc): Remove.
45160 2011-08-22 David S. Miller <davem@davemloft.net>
45162 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
45163 sigaltstack check, add missing cfi directives.
45164 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
45165 missing cfi directives, and sigaltstack handling.
45167 2011-08-16 Andreas Schwab <schwab@redhat.com>
45170 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
45171 object is seen twice.
45172 * elf/dl-fini.c (_dl_sort_fini): Likewise.
45174 * elf/Makefile (distribute): Add tst-initorder2.c.
45175 (tests): Add tst-initorder2.
45176 (modules-names): Add tst-initorder2a tst-initorder2b
45177 tst-initorder2c tst-initorder2d. Add rules to build them.
45178 ($(objpfx)tst-initorder2.out): New rule.
45179 * elf/tst-initorder2.c: New file.
45180 * elf/tst-initorder2.exp: New file.
45182 2011-08-22 Andreas Schwab <schwab@redhat.com>
45184 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
45186 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
45187 dependencies back to end of function.
45189 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
45190 $(elfobjdir)/ld.so.
45192 2011-08-21 Ulrich Drepper <drepper@gmail.com>
45194 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
45195 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
45196 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
45197 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
45198 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
45199 of __vdso_gettimeofday.
45200 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
45201 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
45203 (_libc_vdso_platform_setup): Remove initialization of
45204 __vdso_gettimeofday and __vdso_time.
45206 2011-08-20 Ulrich Drepper <drepper@gmail.com>
45208 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
45209 and fgetc_unlocked.
45210 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
45213 * elf/dl-open.c (add_to_global): Report additions to the global scope
45214 for LD_DEBUG=scopes.
45215 (dl_open_worker): Also print scope of newly loaded dependencies.
45216 (_dl_show_scope): Indicate if there is no scope.
45219 * stdio-common/Makefile (tests): Add bug24.
45220 * stdio-common/bug24.c: New file.
45222 2011-08-19 Andreas Jaeger <aj@suse.de>
45225 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
45226 non-existant file when using close-on-exec mode.
45228 2011-08-20 Ulrich Drepper <drepper@gmail.com>
45230 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
45231 the very first instruction.
45233 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
45234 the CFI state in the end.
45235 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
45236 inclusion of dl-trampoline.h.
45237 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
45239 2011-08-19 Andreas Schwab <schwab@redhat.com>
45241 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
45242 expectations for long double.
45244 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
45245 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
45247 2011-08-14 David S. Miller <davem@davemloft.net>
45249 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
45250 artificual limit depends upon the system page size.
45252 2011-08-17 Ulrich Drepper <drepper@gmail.com>
45254 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
45255 * resolv/Makefile: Define CFLAGS-libresolv.
45257 2011-08-17 Andreas Schwab <schwab@redhat.com>
45259 * nss/makedb.c (compute_tables): Make variables used in nested
45262 2011-08-17 Ulrich Drepper <drepper@gmail.com>
45264 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
45265 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
45266 if buffer was too small.
45268 * elf/pldd.c (main): Attach to all threads in the process.
45269 Rewrite /proc handling to use *at functions.
45271 2011-08-16 Ulrich Drepper <drepper@gmail.com>
45273 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
45274 specifies first scope to show.
45275 (dl_open_worker): Update callers. Move printing scope of new
45276 object to before the relocation.
45277 * elf/rtld.c (dl_main): Update _dl_show_scope call.
45278 * sysdeps/generic/ldsodefs.h: Update declaration.
45280 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
45281 string for the scope number.
45283 2011-08-14 Ulrich Drepper <drepper@gmail.com>
45285 * nscd/servicescache.c (cache_addserv): Make sure written is always
45288 2011-08-14 Roland McGrath <roland@hack.frob.com>
45290 * sysdeps/i386/i486/bits/atomic.h
45291 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
45292 statement expression, so as to suppress "set but not used" warning.
45293 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
45295 * string/strncat.c (STRNCAT): Use prototype definition.
45297 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
45298 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
45300 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
45301 (localedef-modules): Add localedef.
45302 (locale-modules): Add locale.
45304 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
45305 * elf/rtld.c (dl_main): Invert order of assignment in last change,
45306 to avoid a warning.
45308 2011-08-14 David S. Miller <davem@davemloft.net>
45310 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
45311 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
45313 2011-08-13 Ulrich Drepper <drepper@gmail.com>
45315 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
45316 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
45317 * elf/rtld.c (dl_main): Set l_name of vDSO.
45318 Call _dl_show_scope when DL_DEBUG_SCOPES.
45319 (process_dl_debug): Recognize scopes flag and also set it for all.
45320 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
45321 Declare _dl_show_scope.
45323 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
45324 (do_dlopen): Pass caller_dlopen to dl_open.
45325 (__libc_dlopen_mode): Initialize caller_dlopen.
45327 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
45328 of libc. Make tolower call locale-independent. Optimize a bit by
45329 using isdigit instead of isalnum.
45330 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
45332 2011-08-12 Ulrich Drepper <drepper@gmail.com>
45334 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
45335 was a dependency or dynamically loaded.
45337 2011-08-11 Ulrich Drepper <drepper@gmail.com>
45339 * intl/l10nflist.c: Allow architecture-specific pop function.
45340 * sysdeps/x86_64/l10nflist.c: New file.
45342 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
45345 2011-08-10 Andreas Schwab <schwab@redhat.com>
45347 * include/dirent.h: Add libc_hidden_proto for scandirat and
45348 scandirat64. Don't declare __scandirat64.
45349 * dirent/scandirat.c: Add libc_hidden_def.
45350 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
45351 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
45353 2011-08-10 David S. Miller <davem@davemloft.net>
45355 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
45357 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
45358 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
45359 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
45361 2011-08-09 Ulrich Drepper <drepper@gmail.com>
45363 * Versions.def [libc]: Add GLIBC_2.15.
45364 * dirent/Makefile (routines): Add scandirat and scandirat64.
45365 * dirent/Versions [libc]: Export scandirat and scandirat64 for
45367 * dirent/dirent.h: Declare scandirat and scandirat64.
45368 * dirent/scandirat.c: New file.
45369 * dirent/scandirat64.c: New file.
45370 * sysdeps/wordsize-64/scandirat.c: New file.
45371 * sysdeps/wordsize-64/scandirat64.c: New file.
45372 * dirent/opendir.c: Define opendirat.
45373 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
45375 * dirent/scandir64.c: Adjust for scandir.c change.
45376 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
45377 __scandirat64, and __scandir_cancel_handler.
45378 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
45379 additional parameter and use openat instead of open (outside of ld.so).
45380 Add new __opendir as wrapper around __opendirat.
45381 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
45382 here without requiring old scandirat implementation.
45384 2011-08-08 Ulrich Drepper <drepper@gmail.com>
45386 * dirent/scandir.c (cancel_handler): Renamed to
45387 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
45388 defined. Adjust users.
45389 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
45390 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
45392 2011-08-04 Ulrich Drepper <drepper@gmail.com>
45394 * string/test-string.h (IMPL): Use __STRING to expand name and then
45397 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
45400 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45402 * string/Makefile: Update.
45403 (strop-tests): Append strncat.
45404 * string/test-wcscmp.c: New file.
45405 New comprehensive test for wcscmp.
45406 * string/test-strcmp.c: Update.
45407 (WIDE): New define.
45409 2011-07-22 Andreas Schwab <schwab@redhat.com>
45411 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
45414 2011-07-26 Andreas Schwab <schwab@redhat.com>
45416 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
45417 encoding to ACE if AI_IDN.
45419 2011-08-01 Jakub Jelinek <jakub@redhat.com>
45421 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
45422 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
45424 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
45426 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
45427 Fix overflow bug in strncat.
45428 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
45430 * string/test-strncat.c: Update.
45431 Add new tests for checking overflow bugs.
45433 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
45435 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45436 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
45437 * sysdeps/i386/i686/multiarch/strcat.S: New file.
45438 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
45439 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
45440 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
45441 * sysdeps/i386/i686/multiarch/strncat.S: New file.
45442 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
45443 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
45445 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
45446 (USE_AS_STRCAT): Define.
45447 Add strcat and strncat support.
45448 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
45450 2011-07-25 Andreas Schwab <schwab@redhat.com>
45452 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
45453 __n bigger than INT_MAX+1.
45454 (__strncmp_g): Likewise.
45456 2011-07-23 Ulrich Drepper <drepper@gmail.com>
45458 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
45459 * libio/stido.h: Likewise.
45461 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
45463 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
45466 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
45467 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
45468 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
45469 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
45470 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
45473 * scripts/test-installation.pl: Don't expect libnss_test1 to be
45476 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
45478 (_dl_x86_64_save_sse): Likewise.
45480 2011-07-22 Ulrich Drepper <drepper@gmail.com>
45482 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
45484 (_dl_x86_64_save_sse): Likewise.
45486 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
45488 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
45490 2011-07-21 Andreas Schwab <schwab@redhat.com>
45492 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
45494 (_dl_x86_64_save_sse): Use correct AVX check.
45496 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45498 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
45499 bug in strncpy/strncat.
45500 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
45502 2011-07-21 Ulrich Drepper <drepper@gmail.com>
45504 * string/tester.c (test_strcat): Add tests for different alignments
45505 of source and destination.
45506 (test_strncat): Likewise.
45508 2011-07-20 Ulrich Drepper <drepper@gmail.com>
45511 * posix/glob.c (glob): Check passed in values before using them in
45512 expressions to avoid some overflows.
45513 (glob_in_dir): Likewise.
45516 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
45517 check for AVX enablement so that we don't crash with old kernels and
45519 * elf/tst-audit4.c: Add same checks here.
45520 * elf/tst-audit6.c: Likewise.
45522 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
45524 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
45526 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
45528 2011-07-20 Ulrich Drepper <drepper@gmail.com>
45530 * po/cs.po: Update from translation team.
45531 * po/bg.po: Likewise.
45533 2011-07-12 Marek Polacek <mpolacek@redhat.com>
45535 * misc/sys/cdefs.h: Add support for const attribute.
45536 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
45537 to gnu_dev_{major,minor,makedev} functions.
45539 2011-07-20 Marek Polacek <mpolacek@redhat.com>
45541 * intl/dcigettext.c (get_output_charset): Add missing bracket.
45543 2011-07-20 Andreas Schwab <schwab@redhat.com>
45545 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
45548 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45550 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
45551 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
45552 register in order to avoid conflicts with the soft frame pointer
45553 being held in r11 when necessary.
45554 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
45555 (INTERNAL_VSYSCALL_NCS): Likewise.
45557 2011-07-14 Marek Polacek <mpolacek@redhat.com>
45559 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
45560 * elf/dl-fini.c (_dl_fini): Adjust caller.
45561 * elf/dl-close.c (_dl_close_worker): Likewise.
45562 * sysdeps/generic/ldsodefs.h: Adjust declaration.
45564 2011-07-15 Marek Polacek <mpolacek@redhat.com>
45566 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
45567 "aux_cache->nlibs < 0".
45569 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
45570 in the reload-count case.
45572 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
45574 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45575 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
45576 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
45577 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
45578 * sysdeps/x86_64/multiarch/strcat.S: New file.
45579 * sysdeps/x86_64/multiarch/strncat.S: New file.
45580 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
45581 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
45582 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
45583 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
45584 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
45585 (USE_AS_STRCAT): Define.
45586 Add strcat and strncat support.
45587 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
45588 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
45589 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
45590 * string/strncat.c: Update.
45591 (USE_AS_STRNCAT): Define.
45592 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45593 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
45595 * sysdeps/x86_64/multiarch/init-arch.h
45596 (bit_Prefer_PMINUB_for_stringop): New.
45597 (index_Prefer_PMINUB_for_stringop): Likewise.
45598 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
45599 bit_Prefer_PMINUB_for_stringop.
45601 2011-07-19 Ulrich Drepper <drepper@gmail.com>
45603 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
45605 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
45606 of casting of buffer.
45607 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
45608 buffer32 and buffer64.
45609 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
45610 writes instead of casting of buffer.
45611 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
45613 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
45616 2011-07-19 Andreas Schwab <schwab@redhat.com>
45618 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
45620 2011-07-19 Ulrich Drepper <drepper@gmail.com>
45622 * nscd/nscd.c (termination_handler): Don't do anything for a database
45623 if it has not yet been initialized.
45625 2011-07-18 Ulrich Drepper <drepper@gmail.com>
45627 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
45629 2011-07-15 Marek Polacek <mpolacek@redhat.com>
45631 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
45633 2011-07-18 Ulrich Drepper <drepper@gmail.com>
45635 * po/nl.po: Update from translation team.
45636 * po/sv.po: Likewise.
45638 2011-07-16 Roland McGrath <roland@hack.frob.com>
45640 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
45641 now disallowed by GCC.
45643 * configure.in (use-default-link): Default to yes if a test -shared
45644 link meets our qualifications.
45645 * configure: Regenerated.
45647 * config.make.in (output-format): New variable.
45648 * configure.in: Check for ld --print-output-format support.
45649 * configure: Regenerated.
45650 * Makerules ($(common-objpfx)format.lds)
45651 [$(output-format) != unknown]: Just use $(output-format),
45652 instead of the linker-script munging.
45654 2011-07-14 Roland McGrath <roland@hack.frob.com>
45656 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
45657 of $(common-objpfx)shlib.lds.
45658 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
45660 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
45661 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
45663 * configure.in (-z relro check): Adjust test code to add a large
45664 writable data section after it.
45665 * configure: Regenerated.
45667 2011-07-11 Roland McGrath <roland@hack.frob.com>
45669 * configure.in (-z relro check): Fix test code to make the variable
45671 * configure: Regenerated.
45673 2011-07-11 Ulrich Drepper <drepper@gmail.com>
45675 * nscd/nscd.h (struct traced_file): Define.
45676 (struct database_dyn): Remove inotify_descr, reset_res, and filename
45677 elements. Add traced_files.
45678 (inotify_fd): Declare.
45679 (register_traced_file): Declare.
45680 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
45681 (inotify_fd): Export.
45682 (resolv_conf_descr): Remove.
45683 (nscd_init): Move inotify descriptor creation to main.
45684 Don't register files for notification here.
45685 (register_traced_file): New function.
45686 (invalidate_cache): Don't use reset_res to determine whether to call
45687 res_init, go through the list of registered files.
45688 (main_loop_poll): The inotify descriptors are now stored in the
45689 structures for the traced files.
45690 (main_loop_epoll): Likewise
45691 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
45692 to __nss_disable_nscd.
45693 * nscd/cache.c (prune_cache): There is no single inotify descriptor
45694 for a database anymore. Check the records for all the registered
45696 * nss/Makefile (libnss_files-routines): Add files-init.
45697 (libnss_db-routines): Add db-init.
45698 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
45699 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
45700 * nss/nss_db/db-init.c: New file.
45701 * nss/nss_files/files-init.c: New file.
45702 * nss/nsswitch.c (nss_load_library): New function. Broken out of
45703 __nss_lookup_function.
45704 (__nss_lookup_function): Call nss_load_library.
45705 (nss_load_all_libraries): New function.
45706 (__nss_disable_nscd): Take parameter with callback function for files
45707 to register. Set is_nscd. Load all the DSOs for the NSS modules
45708 used for the cached services.
45709 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
45710 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
45711 options for features to all the files in nscd.
45713 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
45715 2011-07-10 Roland McGrath <roland@hack.frob.com>
45717 * csu/elf-init.c (__libc_csu_init): Comment typo.
45719 2011-07-09 Ulrich Drepper <drepper@gmail.com>
45721 * po/pl.po: Update from translation team.
45722 * po/ja.po: Likewise.
45723 * po/ru.po: Likewise.
45724 * po/ko.po: Likewise.
45725 * po/fr.po: Likewise.
45727 2011-07-09 Roland McGrath <roland@hack.frob.com>
45729 * configure.in (.ctors/.dtors header and trailer check):
45730 Use an empirical test on a built program.
45731 * configure: Regenerated.
45733 * configure.in (-z relro check): Use an empirical test on a built DSO.
45734 Detect, but do not require, on ia64.
45735 * configure: Regenerated.
45737 * configure.in (READELF): Find it with AC_CHECK_TOOL.
45738 Update tests that use readelf to use $READELF instead.
45739 * configure: Regenerated.
45741 2011-07-08 Ulrich Drepper <drepper@gmail.com>
45743 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
45744 if the result is not used.
45746 2011-07-05 Andreas Jaeger <aj@suse.de>
45749 * stdlib/tst-strtod.c: Add testcase.
45751 2011-07-07 Ulrich Drepper <drepper@gmail.com>
45753 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
45754 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
45755 The latter has a higher limit. Take additional parameter to pass to
45757 (__pathconf): Pass file to __statfs_link_max.
45758 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
45760 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
45764 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
45765 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
45767 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
45768 (__statfs_filesize_max): Likewise.
45769 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
45771 2011-07-05 Andreas Jaeger <aj@suse.de>
45773 * resolv/res_comp.c (dn_skipname): Remove unused variable.
45775 2011-07-06 Marek Polacek <mpolacek@redhat.com>
45777 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
45779 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
45782 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
45784 * Makefile (strop-tests): Add strncat.
45785 * string/test-strncat.c: New file.
45787 2011-06-30 Marek Polacek <mpolacek@redhat.com>
45789 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
45791 2011-06-21 Andreas Jaeger <aj@suse.de>
45793 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
45794 Copy rule from iconvdata/Makefile.
45796 2011-07-06 Ulrich Drepper <drepper@gmail.com>
45799 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
45800 but no long options are defined, just return 'W'.
45802 2011-06-22 Marek Polacek <mpolacek@redhat.com>
45805 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
45807 2011-07-06 Ulrich Drepper <drepper@gmail.com>
45809 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
45811 (innetgr): Likewise.
45813 2011-07-05 Roland McGrath <roland@hack.frob.com>
45815 * config.make.in (install_root): Default to $(DESTDIR).
45817 2011-07-05 Ulrich Drepper <drepper@gmail.com>
45819 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
45821 2011-07-02 Roland McGrath <roland@hack.frob.com>
45823 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
45825 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
45826 containing directory rather than embedding absolute directory names.
45828 * scripts/check-local-headers.sh: Rewritten using awk.
45829 Match by word, not by line. Print error messages for matches.
45830 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
45832 * Makerules [shlib-lds-flags empty]:
45833 ($(common-objpfx)libc_pic.opts): New target.
45834 ($(common-objpfx)libc_pic.os.clean): New target.
45835 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
45837 * config.make.in (OBJCOPY): New variable.
45838 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
45839 * configure: Regenerated.
45841 * config.make.in (use-default-link): New variable.
45842 * configure.in (use_default_link): Grok --with-default-link to set it.
45843 * configure: Regenerated.
45844 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
45845 (shlib-lds, shlib-lds-flags): Define to empty.
45847 * Makerules (shlib-lds): New variable.
45848 (shlib-lds-flags): New variable.
45849 (build-shlib, build-moduile, build-module-asneeded): Use it.
45850 ($(common-objpfx)libc.so): Use $(shlib-lds).
45851 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
45852 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
45854 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
45855 DT_FLAGS/DT_FLAGS_1 with zero flags.
45857 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
45858 linker script munging.
45860 2011-07-02 Ulrich Drepper <drepper@gmail.com>
45862 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
45864 * crypt/sha512.c (sha512_process_block): Perform total addition using
45865 128-bit if possible.
45866 (__sha512_finish_ctx): Likewise.
45867 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
45869 * crypt/sha256.c (SWAP64): Define.
45870 (sha256_process_block): Perform total addition using 64-bit if
45872 (__sha256_finish_ctx): Likewise.
45874 2011-07-01 Ulrich Drepper <drepper@gmail.com>
45876 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
45877 * nscd/initgrcache.c (addinitgroupsX): Likewise.
45878 * nscd/hstcache.c (cache_addhst): Likewise.
45879 * nscd/grpcache.c (cache_addgr): Likewise.
45880 * nscd/aicache.c (addhstaiX): Likewise
45881 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
45883 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
45885 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
45886 * nscd/initgrcache.c (addinitgroupsX): Likewise.
45887 * nscd/hstcache.c (cache_addhst): Likewise.
45888 * nscd/grpcache.c (cache_addgr): Likewise.
45889 * nscd/aicache.c (addhstaiX): Likewise
45891 2011-07-01 Andreas Schwab <schwab@redhat.com>
45893 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
45894 domain only when needed.
45896 2011-06-30 Andreas Schwab <schwab@redhat.com>
45898 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
45899 is always restored.
45901 2011-06-29 Ulrich Drepper <drepper@gmail.com>
45903 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
45904 are re-adding the entry.
45905 * nscd/servicescache.c (cache_addserv): Likewise.
45907 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
45909 * sysdeps/generic/dl-irel.h: fix protection against multiple
45911 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
45913 2011-06-28 Ulrich Drepper <drepper@gmail.com>
45916 * malloc/memusage.sh: Fix quoting in message.
45917 * debug/xtrace.sh: Likewise.
45919 * configure.in: Remove support for --experimental-malloc option, make
45921 * config.make.in: Likewise.
45922 * malloc/Makefile: Likewise.
45924 2011-06-27 Andreas Schwab <schwab@redhat.com>
45926 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
45927 two-byte characters.
45929 2011-06-27 Roland McGrath <roland@hack.frob.com>
45931 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
45932 AC_CACHE_CHECK invocation.
45933 * configure: Regenerated.
45935 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
45937 2011-06-27 Ulrich Drepper <drepper@gmail.com>
45940 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
45941 bit from old_res_options.
45943 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
45945 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
45946 value type for setfct.
45948 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
45950 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
45951 __gettimeofday instead of gettimeofday.
45953 2011-06-26 Ulrich Drepper <drepper@gmail.com>
45955 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
45957 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
45959 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
45961 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
45964 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
45966 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45967 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
45968 strcpy-sse2-unaligned strncpy-sse2-unaligned
45969 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
45970 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
45971 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
45972 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
45973 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
45974 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
45975 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
45976 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
45977 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
45978 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
45979 (STRCPY): Support SSE2 and SSSE3 versions.
45981 2011-06-24 Ulrich Drepper <drepper@gmail.com>
45984 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
45985 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
45986 kernels which artificially limit size of requests.
45988 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
45990 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45991 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
45992 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
45993 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
45994 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
45995 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
45996 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
45997 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
45998 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
45999 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
46000 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
46001 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
46002 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
46003 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
46004 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
46005 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46006 Enable unaligned load optimization for Intel Core i3, i5 and i7
46008 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
46010 (index_Fast_Unaligned_Load): Define.
46011 (HAS_FAST_UNALIGNED_LOAD): Define.
46013 2011-06-23 Marek Polacek <mpolacek@redhat.com>
46015 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
46017 2011-06-22 Ulrich Drepper <drepper@gmail.com>
46020 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
46021 until it is clear that the information is realy needed.
46022 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
46024 2011-06-22 Andreas Schwab <schwab@redhat.com>
46026 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
46028 2011-06-22 Ulrich Drepper <drepper@gmail.com>
46030 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
46031 /sys/devices/system/cpu/online if it is usable.
46033 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
46034 reading the information from the /proc filesystem to once a second.
46036 2011-06-21 Andreas Jaeger <aj@suse.de>
46038 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
46039 NULL after inclusion of kernel headers.
46041 2011-06-21 Ulrich Drepper <drepper@gmail.com>
46043 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
46044 calls to internal_setent.
46047 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
46048 addresses using gethostbyname4_r ignore IPv4 addresses.
46050 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
46051 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
46053 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
46055 2011-06-20 David S. Miller <davem@davemloft.net>
46057 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
46059 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
46061 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
46062 (elf_irel): Use it.
46063 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
46064 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
46065 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
46066 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
46067 * sysdeps/x86_64/dl-irel.h: Likewise.
46069 * elf/dl-runtime.c: Use elf_ifunc_invoke.
46070 * elf/dl-sym.c: Likewise.
46072 2011-06-15 Ulrich Drepper <drepper@gmail.com>
46074 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
46075 need to dereference resplen2.
46077 2011-06-14 Andreas Schwab <schwab@redhat.com>
46079 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
46081 2011-06-15 Ulrich Drepper <drepper@gmail.com>
46083 * Makeconfig: Define vardbdir and inst_vardbdir.
46084 * nss/Makefile: Add rules to install db-Makefile.
46086 * nss/nss_db/db-XXX.c: Cleanup.
46088 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
46089 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
46091 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
46092 * nss/makedb.c: Implement -g option to specify that value strings
46093 are generated and should not be added to table iterated over for
46095 * nss/nss_db/db-initgroups.c: New file.
46097 * nss/getent.c: Add support for initgroups lookups through getgrouplist
46100 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
46101 (internal_getgrouplist): Adjust to name change.
46102 Update use_initgroups_entry if this is not the first call.
46103 * nss/databases.def: Add initgroups entry.
46105 * nss/makedb.c (compute_tables): Check result of multiple hash table
46106 sizes to minimize maximum chain length.
46108 2011-06-14 Ulrich Drepper <drepper@gmail.com>
46110 * Versions.def: Add entry for libnss_db.
46111 * shlib-versions: Likewise.
46112 * nss/Makefile: Add rules to build libnss_db.
46113 * nss/Versions: Add libnss_db information. Organize libnss_files
46115 * nss/db-Makefile: Add gshadow support. Change rules for the new
46116 makedb progra. Some minor improvements to generate smaller files.
46117 * nss/nss_db/nss_db.h: Move NSS database header data structures to
46119 * nss/makedb.c: ...here.
46120 Improve database format to be smaller and require less memory at
46122 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
46124 * nss/nss_db/db-netgrp.c: Likewise.
46125 * nss/nss_db/db-open.c: Likewise.
46126 * nss/nss_files/flies-XXX.x: Adjust comments.
46127 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
46128 * nss/nss_files/files-grp.c: Likewise.
46129 * nss/nss_files/files-hosts.c: Likewise.
46130 * nss/nss_files/files-network.c: Likewise.
46131 * nss/nss_files/files-proto.c: Likewise.
46132 * nss/nss_files/files-pwd.c: Likewise.
46133 * nss/nss_files/files-rpc.c: Likewise.
46134 * nss/nss_files/files-service.c: Likewise.
46135 * nss/nss_files/files-sgrp.c: Likewise.
46136 * nss/nss_files/files-spwd.c: Likewise.
46137 * nss/nss_db/db-alias.c: Removed.
46138 * nss/nss_db/dummy-db.h: Removed.
46140 2011-06-02 Ulrich Drepper <drepper@gmail.com>
46142 * nss/makedb.c: Rewritten to not use database library.
46143 * nss/Makefile: Update to build new makedb program.
46145 2011-06-14 Andreas Jaeger <aj@suse.de>
46147 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
46148 memset declaration.
46150 2011-06-10 Andreas Schwab <schwab@redhat.com>
46152 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
46155 2011-06-10 Roland McGrath <roland@hack.frob.com>
46157 * Makerules (shlib.lds): Fail if the linker script comes out empty.
46158 * elf/Makefile ($(objpfx)ld.so): Likewise.
46160 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
46161 Don't list ld.so twice in dependencies.
46163 * posix/bug-regex31.c: Include <stdlib.h>.
46165 * nscd/hstcache.c (cache_addhst): Remove unused variable.
46167 * nis/nss_compat/compat-spwd.c
46168 (getspent_next_nss_netgr): Remove unused variable.
46169 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
46171 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
46172 nonmembers" output to use the right array.
46174 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
46176 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
46178 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
46179 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
46180 * catgets/gencat.c (read_input_file): Likewise.
46181 * locale/programs/locarchive.c (enlarge_archive): Likewise.
46183 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
46184 variable definition inside #if's controlling its use.
46186 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
46188 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
46190 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
46192 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
46195 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
46197 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
46198 * configure: Regenerated.
46200 * Makerules: Revert last change.
46201 * elf/Makefile: Likewise.
46203 2011-06-09 Roland McGrath <roland@hack.frob.com>
46205 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
46206 * elf/Makefile ($(objpfx)librtld.os): Likewise.
46207 (reloc-link): Likewise.
46209 2011-06-09 Ulrich Drepper <drepper@gmail.com>
46211 * elf/Makefile: Add rules to build pldd.
46212 * elf/pldd.c: New file.
46213 * elf/pldd-xx.c: New file.
46215 2011-06-07 Ulrich Drepper <drepper@gmail.com>
46217 * version.h: Update for 2.15 development version.
46219 2011-06-07 David S. Miller <davem@davemloft.net>
46221 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
46223 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
46224 elf_machine_lazy_rel): Likewise.
46225 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
46226 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
46227 elf_machine_lazy_rel): Likewise.
46228 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
46229 dl_hwcap via passed in argument.
46230 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
46233 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46235 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
46237 2011-06-06 Roland McGrath <roland@hack.frob.com>
46240 * manual/fdl-1.1.texi: New file, verbatim from:
46241 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
46242 * manual/lgpl-2.1.texi: New file, verbatim from:
46243 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
46244 * manual/Makefile (licenses): New variable, list those new file names.
46246 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
46248 * manual/fdl.texi: File removed.
46249 * manual/lesser.texi: File removed.
46250 * manual/libc.texinfo (Copying, Documentation License):
46251 Use new @include file names, put @appendix directive before @include.
46253 2011-06-04 Jakub Jelinek <jakub@redhat.com>
46256 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
46257 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
46258 (mq_open): Add __NTH.
46260 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
46262 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46263 Assume Intel Core i3/i5/i7 processor if AVX is available.
46265 2011-05-31 Ulrich Drepper <drepper@gmail.com>
46267 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
46270 2011-05-31 Andreas Schwab <schwab@redhat.com>
46272 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
46273 memory. Use alloca_account. Fix memory leak when retrying.
46275 2011-05-31 Ulrich Drepper <drepper@gmail.com>
46277 * version.h (RELEASE): Bump for 2.14 release.
46278 * include/features.h (__GLIBC_MINOR__): Bump to 14.
46280 * config.make.in (RANLIB): Remove entry.
46282 2011-05-30 Ulrich Drepper <drepper@gmail.com>
46284 * po/Makefile (po-sed-cmd): Add ksh to extensions.
46285 (libc.pot): Work around missing support for .ksh extension in xgettext.
46288 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
46289 if both request failed.
46290 (send_dg): In case of server errors clear resplen or *resplen2.
46293 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
46294 when there are multiple maps.
46295 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
46296 (_dl_fini): Remove test here.
46298 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
46300 2011-05-29 Ulrich Drepper <drepper@gmail.com>
46303 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
46304 bit from old_res_options.
46305 (gaih_inet): Likewise.
46308 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
46311 * resolv/res_init.c (res_setoptions): Make the code more compact.
46314 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
46318 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
46320 * malloc/malloc.h: Mark malloc hook variables as deprecated.
46323 * malloc/malloc.h: Declare malloc hook variables as volatile.
46325 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
46329 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
46330 raise in the comment.
46331 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
46332 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
46333 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
46335 2011-05-28 Ulrich Drepper <drepper@gmail.com>
46338 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
46339 grow the buffers more if it already has to be sufficient.
46340 (build_wcs_upper_buffer): Likewise.
46341 * posix/regexec.c (check_matching): Likewise.
46342 (clean_state_log_if_needed): Likewise.
46343 (extend_buffers): Don't enlarge buffers beyond size of the input
46345 Patches mostly by Emil Wojak <emil@wojak.eu>.
46346 * posix/bug-regex32.c: New file.
46347 * posix/Makefile (tests): Add bug-regex32.
46349 * locale/findlocale.c (_nl_find_locale): Return right away if
46350 _nl_explode_name failed.
46351 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
46353 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
46355 * debug/xtrace.sh: Unify messages.
46356 * malloc/memusage.sh: Likewise.
46359 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
46360 time symbol from vDSO. Substitute with vsyscall if not available.
46361 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
46364 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
46365 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
46366 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
46367 Add sendmmsg and internal_sendmmsg.
46368 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
46369 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
46370 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
46372 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
46373 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
46374 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
46376 2011-05-27 Ulrich Drepper <drepper@gmail.com>
46379 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
46380 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
46382 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
46386 * iconvdata/Makefile (tests): Add bug-iconv9.
46387 * iconvdata/bug-iconv9.c: New file.
46389 2011-05-27 Andreas Schwab <schwab@redhat.com>
46392 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
46394 2011-05-25 Jakub Jelinek <jakub@redhat.com>
46396 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
46397 (struct user_regs_struct): Change intcs field back to cs.
46399 2011-05-25 Ulrich Drepper <drepper@gmail.com>
46401 * po/ja.po: Update from translation team.
46403 2011-05-23 Ulrich Drepper <drepper@gmail.com>
46406 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
46407 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
46409 2011-05-20 Andreas Schwab <schwab@redhat.com>
46411 * stdlib/longlong.h: Update from GCC.
46413 2011-05-23 Andreas Schwab <schwab@redhat.com>
46415 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
46417 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
46418 Add parameter name.
46419 (__sysconf): Pass it down.
46421 2011-05-22 Ulrich Drepper <drepper@gmail.com>
46424 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
46426 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
46427 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
46428 add in in __libc_use_alloca calls. Adjust callers.
46429 (glob): Use malloc in some situations.
46431 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
46432 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
46435 2011-05-21 Ulrich Drepper <drepper@gmail.com>
46437 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
46438 and CLOCK_BOOTTIME_ALARM.
46441 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
46444 * string/_strerror.c (__strerror_r): Print negative errors as signed
46448 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
46449 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
46450 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
46452 * configure.in: Fix typo in redirection and correct removal of test
46453 files in two cases.
46456 * locale/setlocale.c (new_composite_name): Fix test to check for
46457 identical name of all categories.
46460 * libio/filedoalloc.c (local_isatty): New function.
46461 (_IO_file_doallocate): Use local_isatty.
46462 * stdio-common/perror.c (perror): In case a new stream is used
46463 forward the stream error.
46464 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
46467 2011-05-20 Ulrich Drepper <drepper@gmail.com>
46470 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
46472 * include/alloca.h (extend_alloca_account): Define.
46475 * posix/regex.h: Fix comments with documentation of user-accessible
46476 fields after compilation and describe correct free'ing of pattern
46477 after re_compile_pattern.
46478 Patch by Reuben Thomas <rrt@sc3d.org>.
46480 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
46482 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
46483 and -mno-altivec to prevent the compiler from using Altivec and/or
46484 VSX instructions when the corresponding registers are not available.
46486 2011-05-19 Andreas Schwab <schwab@redhat.com>
46488 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
46490 2011-05-19 Ulrich Drepper <drepper@gmail.com>
46492 * libio/freopen.c (freopen): Use __dup2, not dup2.
46493 * libio/freopen64.c (freopen64): Likewise.
46495 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
46498 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
46499 * math/Makefile (tests): Add test-powl.
46500 (CFLAGS-test-powl.c): Define.
46501 * math/test-powl.c: New file.
46503 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
46505 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
46507 2011-05-17 Ulrich Drepper <drepper@gmail.com>
46510 * iconvdata/gb18030.c: Update to GB18020-2005.
46512 2011-05-16 Ulrich Drepper <drepper@gmail.com>
46514 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
46515 RE_SYNTAX_POSIX_AWK): Update to match recent development.
46516 Patch by Aharon Robbins <arnold@skeeve.com>.
46519 * stdlib/putenv.c (putenv): Don't always create copy of the variable
46523 * misc/pselect.c (__pselect): Handle timeout value errors hidden
46524 through underflows.
46527 * misc/error.c (error_at_line): Ensure file_name and old_file_name
46528 point to strings before performing equality test for error_one_per_line
46532 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
46535 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
46536 (struct user_fpregs_struct): Avoid __uint*_t types.
46539 * malloc/mtrace.c (tr_where): Add additional parameter to point to
46540 symbol info. Use it instead of calling _dl_addr locally.
46541 (lock_and_info): New function.
46542 (tr_freehook): Call lock_and_info and pass symbol info as additional
46543 parameter to tr_where.
46544 (tr_mallochook): Likewise.
46545 (tr_reallochook): Likewise.
46546 (tr_memalignhook): Likewise.
46548 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
46549 used and couldn't be at all thread-safe.
46551 2011-05-15 Ulrich Drepper <drepper@gmail.com>
46553 * libio/freopen.c (freopen): Don't close old file descriptor
46554 before the new one is opened. Instead dup the new file descriptor
46555 to the old one after the new stream is created.
46556 * libio/freopen64.c (freopen64): Likewise.
46557 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
46558 * libio/fileops.c (_IO_new_file_close_it): Handle new
46559 _IO_FLAGS2_NOCLOSE flag.
46560 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
46561 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
46562 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
46563 _IO_FLAGS2_NOCLOSE flag.
46564 * include/unistd.h: Add hidden_proto for dup3.
46565 Define __have_dup3.
46566 * io/dup3.c: Define hidden symbol.
46567 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
46570 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
46571 when an incomplete long option is used.
46572 * posix/tst-getopt_long1.c: New file.
46573 * posix/Makefile (tests): Add tst-getopt_long1.
46576 * scripts/config.guess: Update from autoconf-2.68.
46577 * scripts/config.sub: Likewise.
46580 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
46582 (has_cpuclock): ...this. New function.
46583 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
46584 macro here based on has_cpuclock code.
46587 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
46588 First byte (not low byte) is now always NUL.
46589 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
46591 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
46592 Use non-cancelable interfaces.
46595 * locale/iso-639.def: Add entry for Sorani.
46598 * include/stdlib.h: Move include protection to the right place.
46599 Define abort_msg_s. Declare __abort_msg with it.
46600 * stdlib/abort.c (__abort_msg): Adjust type.
46601 * assert/assert.c (__assert_fail_base): New function. Majority
46602 of code from __assert_fail. Allocate memory for __abort_msg with
46604 (__assert_fail): Now call __assert_fail_base.
46605 * assert/assert-perr.c: Remove bulk of implementation. Use
46606 __assert_fail_base.
46607 * include/assert.hL Declare __assert_fail_base.
46608 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
46610 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
46612 2011-05-14 Ulrich Drepper <drepper@gmail.com>
46616 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
46617 until all modules are registered in the DTV.
46618 * elf/Makefile: Add rules to build and run tst-tls19.
46619 * elf/tst-tls19.c: New file.
46620 * elf/tst-tls19mod1.c: New file.
46621 * elf/tst-tls19mod2.c: New file.
46622 * elf/tst-tls19mod3.c: New file.
46623 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
46626 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
46630 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
46631 two-byte sequence errors.
46632 * iconvdata/Makefile (tests): Add bug-iconv8.
46633 * iconvdata/bug-iconv8.c: New file.
46636 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
46639 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
46642 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
46643 (dummy_getcfa): New function.
46644 (init): Get _Unwind_GetCFA address, use dummy if not found.
46645 (backtrace_helper): In recursion check, also check whether CFA changes.
46646 (__backtrace): Completely initialize arg.
46648 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
46649 storing incomplete byte sequence in state object. Avoid testing for
46650 guaranteed too small input if we know there is enough data available.
46652 2011-05-11 Andreas Schwab <schwab@redhat.com>
46654 * Makeconfig (+link-pie): Indent.
46655 * Rules (binaries-pie): Define if $(have-fpie) and
46657 (binaries-shared): Also filter out $(binaries-pie).
46658 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
46659 * nscd/Makefile (others-pie): Add nscd.
46660 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
46661 ($(objpfx)nscd): Remove command override.
46662 * login/Makefile (others-pie): Add pt_chown.
46663 ($(objpfx)pt_chown): Remove command override.
46664 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
46665 remove command overrides.
46667 2011-05-13 Ulrich Drepper <drepper@gmail.com>
46669 * libio/tst_putwc.c: Fix error messages.
46672 * libio/fileops.c (_IO_new_file_close_it): Always flush when
46673 currently writing and seek to current position when not.
46674 * libio/Makefile (tests): Add bug-fclose1.
46675 * libio/bug-fclose1.c: New file.
46677 2011-05-12 Ulrich Drepper <drepper@gmail.com>
46680 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
46681 don't set DF_1_NODELETE here.
46682 (do_lookup_x): When entering new entry test for copy relocation
46683 and if necessary set DF_1_NODELETE flag.
46684 * elf/tst-unique4.cc: New file.
46685 * elf/tst-unique4.h: New file.
46686 * elf/tst-unique4lib.cc: New file.
46687 * elf/Makefile: Add rules to build and run tst-unique4.
46688 Patch by Piotr Bury <pbury@goahead.com>.
46690 2011-05-11 Ulrich Drepper <drepper@gmail.com>
46693 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
46696 * misc/mntent_r.c (addmntent): Flush the stream after the output
46699 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
46700 (is_trusted_path_normalize): Skip initial colon. Append slash
46701 to empty buffer. Duplicate is_trusted_path code but allow
46702 constructed patch to be prefix.
46703 (is_dst): Allow $ORIGIN followed by /.
46704 (_dl_dst_substitute): Correct clearing of check_for_trusted.
46705 Correct testing of result of is_trusted_path_normalize
46706 (decompose_rpath): Fix warning.
46708 2011-05-10 Ulrich Drepper <drepper@gmail.com>
46711 * grp/initgroups.c (internal_getgrouplist): When we found the service
46712 list through the initgroups entry in nsswitch.conf do not always
46713 continue on a successful lookup. Don't always use the
46714 __nss_group_database value if it is set.
46715 * nss/nsswitch.conf (initgroups): Change action for successful db
46716 lookup to continue for compatibility.
46718 2011-05-09 Ulrich Drepper <drepper@gmail.com>
46721 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
46723 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
46725 * iconvdata/tst-tables.sh: Likewise.
46726 * iconvdata/cp770.c: New file.
46727 * iconvdata/cp771.c: New file.
46728 * iconvdata/cp772.c: New file.
46729 * iconvdata/cp773.c: New file.
46730 * iconvdata/cp774.c: New file.
46731 * iconvdata/testdata/CP770: New file.
46732 * iconvdata/testdata/CP770..UTF8: New file.
46733 * iconvdata/testdata/CP771: New file.
46734 * iconvdata/testdata/CP771..UTF8: New file.
46735 * iconvdata/testdata/CP772: New file.
46736 * iconvdata/testdata/CP772..UTF8: New file.
46737 * iconvdata/testdata/CP773: New file.
46738 * iconvdata/testdata/CP773..UTF8: New file.
46739 * iconvdata/testdata/CP774: New file.
46740 * iconvdata/testdata/CP774..UTF8: New file.
46742 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
46744 * iconvdata/gen-8bit-gap.sh: Likewise.
46745 * iconvdata/gen-8bit.sh: Likewise.
46747 * locale/iso-639.def: Add ary entry.
46750 * locale/C-translit.h.in: Add U20A1 transliteration.
46753 * locale/iso-639.def: Add wae entry.
46754 Patch by Kevin Bortis <bortis@translate-wae.ch>.
46757 * locale/programs/localedef.c (construct_output_path): Use ssize_t
46761 * locale/C-translit.h.in: Add entry for U20B9.
46762 Patch by pravin.d.s@gmail.com.
46764 2011-05-08 Ulrich Drepper <drepper@gmail.com>
46767 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
46768 ENAMETOOLONG use generic getcwd.
46769 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
46770 in rtld. Use *stat64.
46771 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
46772 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
46773 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
46774 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
46775 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
46776 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
46777 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
46778 __fstatat64 macros.
46779 * include/dirent.h: Add libc_hidden_proto for rewinddir.
46780 * dirent/rewinddir.c: Add libc_hidden_def.
46781 * sysdeps/mach/hurd/rewinddir.c: Likewise.
46782 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
46784 * include/dirent.h (__alloc_dir): Add flags parameter.
46785 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
46786 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
46788 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
46789 from fdopendir if O_CLOEXEC is already set.
46791 2011-03-15 Alan Modra <amodra@gmail.com>
46793 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
46794 l_tls_firstbyte_offset non-zero. Save padding offset in
46795 l_tls_firstbyte_offset for later use.
46796 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
46797 freeing static tls block.
46799 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
46801 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
46802 where #ifdef was intended. The intent is to prevent ARG_MAX from
46803 being defined by the kernel headers.
46805 2011-05-07 Ulrich Drepper <drepper@gmail.com>
46808 * resolv/resolv.h: Define RES_NOTLDQUERY.
46809 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
46810 no-tld-query and set RES_NOTLDQUERY.
46811 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
46812 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
46813 modern BIND to search name as TLD unless forbidden.
46815 2011-05-07 Petr Baudis <pasky@suse.cz>
46816 Ulrich Drepper <drepper@gmail.com>
46819 * elf/dl-load.c (fillin_rpath): Move trusted path check...
46820 (is_trusted_path): ...to here.
46821 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
46822 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
46823 using is_trusted_path_normalize() in setuid scripts.
46825 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
46827 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
46828 __BEGIN/__END_DECLS.
46830 2011-05-06 Ulrich Drepper <drepper@gmail.com>
46832 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
46833 NSS_STATUS_NOTFOUND if no record was found.
46835 2011-05-05 Andreas Schwab <schwab@redhat.com>
46837 * sunrpc/Makefile (headers): Add rpc/netdb.h.
46838 (headers-not-in-tirpc): Remove rpc/netdb.h
46839 * resolv/netdb.h: Revert last change.
46841 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
46843 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
46844 circular dependency between libgcc.a and libc.a.
46846 2011-05-05 Andreas Schwab <schwab@redhat.com>
46848 * resolv/netdb.h: Don't include <rpc/netdb.h>.
46849 * nis/Makefile: Don't install rpcsvc/*.
46850 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
46851 instead of <rpc/types.h>.
46852 (MAXHOSTNAMELEN): Define.
46854 2011-05-03 Andreas Schwab <schwab@redhat.com>
46856 * elf/ldconfig.c (add_dir): Don't crash on empty path.
46858 2011-04-28 Maciej Babinski <mbabinski@google.com>
46861 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
46862 gethostbyname4_r when IPv6 results are possible.
46864 2011-05-02 Ulrich Drepper <drepper@gmail.com>
46867 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
46868 _PC_PIPE_BUF handling.
46870 2011-04-30 Bruno Haible <bruno@clisp.org>
46873 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
46874 * resolv/netdb.h (getnameinfo): Change type of flags parameter
46876 * inet/getnameinfo.c (getnameinfo): Likewise.
46878 2011-04-29 Ulrich Drepper <drepper@gmail.com>
46880 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
46881 to groups setting in database lookup.
46882 * nss/nsswitch.conf: Add initgroups entry.
46884 2011-04-22 Ulrich Drepper <drepper@gmail.com>
46887 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
46889 Patch by Eric Blake <eblake@redhat.com>.
46891 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
46893 * sunrpc/Makefile (need-export-routines): Add svc_run.
46894 (routines): Remove svc_run.
46895 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
46896 * sunrpc/clnt_perr.c (clnt_perrno): Export.
46897 * sunrpc/svc_run.c (svc_run): Likewise.
46898 * sunrpc/svc_udp.c (svcudp_create): Likewise.
46900 2011-04-21 Ulrich Drepper <drepper@gmail.com>
46902 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
46903 problem in reallocation in last patch.
46905 2011-04-20 Ulrich Drepper <drepper@gmail.com>
46907 * sunrpc/Makefile: Move inclusion of Rules.
46909 2011-04-19 Ulrich Drepper <drepper@gmail.com>
46911 * nss/nss_files/files-initgroups.c: New file.
46912 * nss/Makefile (libnss_files-routines): Add files-initgroups.
46913 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
46914 _nss_files_initgroups_dyn.
46916 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
46918 * elf/elf.h (R_ARM_IRELATIVE): Define.
46920 2011-04-19 Ulrich Drepper <drepper@gmail.com>
46922 * po/ru.po: Update from translation team.
46924 2011-04-17 Ulrich Drepper <drepper@gmail.com>
46926 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
46929 2011-02-06 Mike Frysinger <vapier@gentoo.org>
46932 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
46933 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
46934 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
46935 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
46936 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
46938 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
46940 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
46942 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
46943 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
46944 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
46946 2011-04-17 Ulrich Drepper <drepper@gmail.com>
46949 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
46951 * stdlib/bug-getcontext.c: New file.
46952 * stdlib/Makefile: Add rules to build and run bug-getcontext.
46954 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46956 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
46957 instructions into .machine "z9-109".
46958 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
46959 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
46961 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46963 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
46964 between environment variables and auxiliary vector.
46966 2011-04-16 Ulrich Drepper <drepper@gmail.com>
46968 * Makefile: Add rules to build linkobj/libc.so.
46969 * include/libc-symbols.h: Define libc_hidden_nolink.
46970 * include/rpc/auth.h: Mark functions which are to be hidden.
46971 * include/rpc/auth_des.h: Likewise.
46972 * include/rpc/auth_unix.h: Likewise.
46973 * include/rpc/clnt.h: Likewise.
46974 * include/rpc/des_crypt.h: Likewise.
46975 * include/rpc/key_prot.h: Likewise.
46976 * include/rpc/pmap_clnt.h: Likewise.
46977 * include/rpc/pmap_prot.h: Likewise.
46978 * include/rpc/pmap_rmt.h: Likewise.
46979 * include/rpc/rpc_msg.h: Likewise.
46980 * include/rpc/svc.h: Likewise.
46981 * include/rpc/svc_auth.h: Likewise.
46982 * include/rpc/xdr.h: Likewise.
46983 * nis/Makefile: Link all DSOs against linkobj/libc.so.
46984 * nss/Makefile: Likewise.
46985 * sunrpc/Makefile: Don't install headers. Build library with normal
46986 entry points. Don't build rpcinfo. Link RPC tests appropriately.
46987 * sunrpc/auth_des.c: Hide exported symbols by default, export some
46988 for the compat linking library. Remove use of INTDEF/INTUSE.
46989 * sunrpc/auth_none.c: Likewise.
46990 * sunrpc/auth_unix.c: Likewise.
46991 * sunrpc/authdes_prot.c: Likewise.
46992 * sunrpc/authuxprot.c: Likewise.
46993 * sunrpc/clnt_gen.c: Likewise.
46994 * sunrpc/clnt_perr.c: Likewise.
46995 * sunrpc/clnt_raw.c: Likewise.
46996 * sunrpc/clnt_simp.c: Likewise.
46997 * sunrpc/clnt_tcp.c: Likewise.
46998 * sunrpc/clnt_udp.c: Likewise.
46999 * sunrpc/clnt_unix.c: Likewise.
47000 * sunrpc/des_crypt.c: Likewise.
47001 * sunrpc/des_soft.c: Likewise.
47002 * sunrpc/get_myaddr.c: Likewise.
47003 * sunrpc/key_call.c: Likewise.
47004 * sunrpc/key_prot.c: Likewise.
47005 * sunrpc/netname.c: Likewise.
47006 * sunrpc/pm_getmaps.c: Likewise.
47007 * sunrpc/pm_getport.c: Likewise.
47008 * sunrpc/pmap_clnt.c: Likewise.
47009 * sunrpc/pmap_prot.c: Likewise.
47010 * sunrpc/pmap_prot2.c: Likewise.
47011 * sunrpc/pmap_rmt.c: Likewise.
47012 * sunrpc/publickey.c: Likewise.
47013 * sunrpc/rpc_cmsg.c: Likewise.
47014 * sunrpc/rpc_common.c: Likewise.
47015 * sunrpc/rpc_dtable.c: Likewise.
47016 * sunrpc/rpc_prot.c: Likewise.
47017 * sunrpc/rpc_thread.c: Likewise.
47018 * sunrpc/rtime.c: Likewise.
47019 * sunrpc/svc.c: Likewise.
47020 * sunrpc/svc_auth.c: Likewise.
47021 * sunrpc/svc_authux.c: Likewise.
47022 * sunrpc/svc_raw.c: Likewise.
47023 * sunrpc/svc_run.c: Likewise.
47024 * sunrpc/svc_simple.c: Likewise.
47025 * sunrpc/svc_tcp.c: Likewise.
47026 * sunrpc/svc_udp.c: Likewise.
47027 * sunrpc/svc_unix.c: Likewise.
47028 * sunrpc/svcauth_des.c: Likewise.
47029 * sunrpc/xcrypt.c: Likewise.
47030 * sunrpc/xdr.c: Likewise.
47031 * sunrpc/xdr_array.c: Likewise.
47032 * sunrpc/xdr_float.c: Likewise.
47033 * sunrpc/xdr_intXX_t.c: Likewise.
47034 * sunrpc/xdr_mem.c: Likewise.
47035 * sunrpc/xdr_rec.c: Likewise.
47036 * sunrpc/xdr_ref.c: Likewise.
47037 * sunrpc/xdr_sizeof.c: Likewise.
47038 * sunrpc/xdr_stdio.c: Likewise.
47040 2011-04-10 Ulrich Drepper <drepper@gmail.com>
47043 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
47044 * sysdeps/ia64/dl-tls.h: Likewise.
47045 * sysdeps/powerpc/dl-tls.h: Likewise.
47046 * sysdeps/s390/dl-tls.h: Likewise.
47047 * sysdeps/sh/dl-tls.h: Likewise.
47048 * sysdeps/sparc/dl-tls.h: Likewise.
47049 * sysdeps/x86_64/dl-tls.h: Likewise.
47050 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
47052 2011-03-14 Andreas Schwab <schwab@redhat.com>
47054 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
47055 rpath element also skip the following colon.
47056 (expand_dynamic_string_token): Add is_path parameter and pass
47057 down to DL_DST_REQUIRED and _dl_dst_substitute.
47058 (decompose_rpath): Call expand_dynamic_string_token with
47059 non-zero is_path. Ignore empty rpaths.
47060 (_dl_map_object_from_fd): Call expand_dynamic_string_token
47063 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
47065 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
47068 2011-04-09 Ulrich Drepper <drepper@gmail.com>
47071 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
47072 Patch by Filipe David Manana <fdmanana@apache.org>.
47074 2011-04-07 Andreas Schwab <schwab@redhat.com>
47076 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
47077 Maintain aligned stack.
47078 (CHECK_RSP): Remove unused macro.
47080 2011-04-03 Ulrich Drepper <drepper@gmail.com>
47082 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
47083 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
47085 2011-04-02 Ulrich Drepper <drepper@gmail.com>
47087 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
47089 * include/features.h: Mention __USE_XOPEN2K8 in comment.
47091 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
47094 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
47095 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
47096 * sysdeps/x86_64/memmove.c: New file.
47097 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
47098 (memcpy): Renamed to ...
47099 (__new_memcpy): This.
47100 (memcpy): Provide GLIBC_2_14 memcpy.
47101 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
47102 (memcpy): Provide GLIBC_2_2_5 memcpy.
47104 2011-04-01 Ulrich Drepper <drepper@gmail.com>
47107 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
47109 2011-03-30 Andreas Schwab <schwab@redhat.com>
47111 * misc/syncfs.c: New file.
47112 * misc/Makefile (routines): Add syncfs.
47113 * posix/unistd.h: Declare syncfs.
47114 * sysdeps/unix/syscalls.list: Add syncfs.
47116 2011-04-01 Andreas Schwab <schwab@redhat.com>
47118 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
47120 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
47121 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
47122 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
47123 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
47124 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
47125 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
47126 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
47128 2011-04-01 Ulrich Drepper <drepper@gmail.com>
47130 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
47131 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
47132 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
47133 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
47134 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
47135 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
47136 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
47138 * io/Makefile: Compile fallocate.c, fallocate64.c, and
47139 sync_file_range.c with -fexceptions.
47140 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
47141 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
47142 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
47143 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
47144 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
47145 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
47146 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
47147 sync_file_range as cancellation point
47148 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
47149 now a wrapper around __call_sync_file_range with cancellation handling.
47150 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
47151 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
47152 function name to __call_sync_file_range.
47153 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
47154 Add call_sync_file_range.
47156 2011-04-01 Andreas Schwab <schwab@redhat.com>
47158 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47161 2011-04-01 Ulrich Drepper <drepper@gmail.com>
47163 * iconv/iconv.h: Fix typo in comment.
47164 * io/fcntl.h: Likewise.
47165 * libio/stdio.h: Likewise.
47166 * posix/spawn.h: Likewise.
47167 * posix/unistd.h: Likewise.
47168 * stdlib/stdlib.h: Likewise.
47169 * time/time.h: Likewise.
47170 * wcsmbs/wchar.h: Likewise.
47172 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
47173 open_by_handle): Add.
47174 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
47175 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
47176 Augment a few comments.
47177 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
47178 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
47179 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
47180 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
47181 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
47182 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
47185 * io/fcntl.h (AT_EMPTY_PATH): Define.
47187 2011-03-30 Ulrich Drepper <drepper@gmail.com>
47189 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
47190 * sysdeps/unix/sysv/linux/bits/time.h: New file.
47191 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
47193 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
47194 * Versions.def: Add GLIBC_2.14.
47195 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
47198 2011-03-22 Ulrich Drepper <drepper@gmail.com>
47200 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
47202 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
47204 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
47207 * string/test-strncmp.c (do_page_test): New function.
47208 (check2): Likewise.
47209 (test_main): Call check2.
47210 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
47212 2011-03-20 Ulrich Drepper <drepper@gmail.com>
47215 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
47216 Handle cache information in CPU leaf 4.
47217 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
47219 2011-03-18 Ulrich Drepper <drepper@gmail.com>
47222 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
47223 character representation.
47224 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
47226 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
47228 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
47229 END(__isnan) to END(__isnanf) to match function entry point/label
47230 EALIGN(__isnanf,...).
47232 2011-03-10 Jakub Jelinek <jakub@redhat.com>
47234 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
47236 2011-03-10 Ulrich Drepper <drepper@gmail.com>
47239 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
47240 copy from the symbol referenced in the relocation to initialize the
47242 Patch by Piotr Bury <pbury@goahead.com>.
47243 * elf/Makefile: Add rules to build and tst-unique3.
47244 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
47245 * elf/tst-unique3.cc: New file.
47246 * elf/tst-unique3.h: New file.
47247 * elf/tst-unique3lib.cc: New file.
47248 * elf/tst-unique3lib2.cc: New file.
47250 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
47252 2011-03-10 Mike Frysinger <vapier@gentoo.org>
47254 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
47255 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
47258 2011-03-06 Ulrich Drepper <drepper@gmail.com>
47260 * elf/dl-load.c (_dl_map_object): If we are looking for the first
47261 to-be-loaded object along a path to loader is ld.so.
47263 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
47264 Ulrich Drepper <drepper@gmail.com>
47266 * sysdeps/x86_64/memset.S: After aligning destination, code
47267 branches to different locations depending on the value of
47268 misalignment, when multiarch is enabled. Fix this.
47270 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
47272 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
47273 Set _x86_64_preferred_memory_instruction for AMD processsors.
47274 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47275 Set bit_Prefer_SSE_for_memop for AMD processors.
47277 2011-03-04 Ulrich Drepper <drepper@gmail.com>
47279 * libio/fmemopen.c (fmemopen): Optimize a bit.
47281 2011-03-03 Andreas Schwab <schwab@redhat.com>
47283 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
47285 2011-03-03 Roland McGrath <roland@redhat.com>
47287 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
47289 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
47291 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
47292 __bzero_ultra1 instead of __memset_ultra1.
47294 2011-02-23 Andreas Schwab <schwab@redhat.com>
47295 Ulrich Drepper <drepper@gmail.com>
47298 * include/link.h (struct link_map): Add l_orig_initfini.
47299 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
47300 returning unsuccessfully.
47301 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
47302 close of a file loaded at startup, restore the original l_initfini
47304 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
47305 list, store the pointer.
47306 * elf/Makefile ($(objpfx)noload-mem): New rule.
47307 (noload-ENV): Define.
47308 (tests): Add $(objpfx)noload-mem.
47309 * elf/noload.c: Include <memcheck.h>.
47310 (main): Call mtrace. Close all opened handles.
47312 2011-02-17 Andreas Schwab <schwab@redhat.com>
47315 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
47316 dependencies are missing.
47318 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
47320 Fix __if_freereq crash: Unlike the generic version which uses free,
47322 * sysdeps/mach/hurd/ifreq.h: New file.
47324 2011-01-27 Petr Baudis <pasky@suse.cz>
47325 Ulrich Drepper <drepper@gmail.com>
47328 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
47329 to extend_alloca().
47330 * stdio-common/bug23.c: New file.
47331 * stdio-common/Makefile (tests): Add bug23.
47333 2010-09-28 Andreas Schwab <schwab@redhat.com>
47334 Ulrich Drepper <drepper@gmail.com>
47337 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
47338 before performing relro protection. At old place add assertion
47339 to make sure nothing changed.
47341 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
47342 Glauber de Oliveira Costa <glommer@gmail.com>
47344 * elf/elf.h: Add new ARM TLS relocs.
47346 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
47348 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
47349 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
47351 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
47353 * sysdeps/wordsize-64/tst-writev.c: New file.
47355 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
47357 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
47358 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
47359 insns in _dl_start to prevent a TOC reference before relocs are
47362 2011-02-15 Ulrich Drepper <drepper@gmail.com>
47365 * Makeconfig: Remove RANLIB definition.
47366 * Makerules: Don't use RANLIB.
47367 * aclocal.m4: Remove ranlib test.
47368 * configure.in: No need to check for ranlib.
47369 * elf/rtld-Rules: Don't use RANLIB.
47371 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
47373 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
47375 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
47376 inclusion protection macro.
47378 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
47379 SIGRTMIN and SIGRTMAX and print information in that case only when
47380 SIGRTMIN is defined.
47382 2011-02-11 Jakub Jelinek <jakub@redhat.com>
47384 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
47385 arginfo fn returning -1.
47387 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
47388 and thousands string is zero terminated.
47390 2011-02-03 Andreas Schwab <schwab@redhat.com>
47392 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
47393 sysdeps/unix/sysv/linux/bits/socket.h.
47395 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
47397 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
47398 (__CPU_COUNT): Remove old macros.
47399 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
47400 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
47401 (__CPU_ALLOC, __CPU_FREE): Add macros.
47402 (__sched_cpualloc, __sched_cpufree): Add declarations.
47404 2011-02-05 Ulrich Drepper <drepper@gmail.com>
47406 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
47407 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
47408 * nscd/aicache.c (addhstaiX): Return timeout of added value.
47409 (readdhstai): Return value of addhstaiX call.
47410 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
47411 (addgrbyX): Return value returned by cache_addgr.
47412 (readdgrbyname): Return value returned by addgrbyX.
47413 (readdgrbygid): Likewise.
47414 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
47415 (addpwbyX): Return value returned by cache_addpw.
47416 (readdpwbyname): Return value returned by addhstbyX.
47417 (readdpwbyuid): Likewise.
47418 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
47419 (addservbyX): Return value returned by cache_addserv.
47420 (readdservbyname): Return value returned by addservbyX:
47421 (readdservbyport): Likewise.
47422 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
47423 (addhstbyX): Return value returned by cache_addhst.
47424 (readdhstbyname): Return value returned by addhstbyX.
47425 (readdhstbyaddr): Likewise.
47426 (readdhstbynamev6): Likewise.
47427 (readdhstbyaddrv6): Likewise.
47428 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
47429 (readdinitgroups): Return value returned by addinitgroupsX.
47430 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
47431 (prune_cache): Keep track of timeout value of re-added entries.
47432 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
47433 * nscd/nscd.h: Adjust prototypes of readd* functions.
47435 2011-02-04 Roland McGrath <roland@redhat.com>
47437 * nis/nis_server.c (nis_servstate): Use the right name for 0.
47438 (nis_stats): Likewise.
47439 * nis/nis_modify.c (nis_modify): Likewise.
47440 * nis/nis_remove.c (nis_remove): Likewise.
47441 * nis/nis_add.c (nis_add): Likewise.
47443 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
47445 * posix/fnmatch_loop.c: Add some consts.
47447 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
47449 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
47452 * config.make.in (config-cflags-novzeroupper): Define.
47453 * configure.in: Substitute libc_cv_cc_novzeroupper.
47454 * elf/Makefile (AVX-CFLAGS): Define.
47455 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
47456 (CFLAGS-tst-auditmod4a.c): Likewise.
47457 (CFLAGS-tst-auditmod4b.c): Likewise.
47458 (CFLAGS-tst-auditmod6b.c): Likewise.
47459 (CFLAGS-tst-auditmod6c.c): Likewise.
47460 (CFLAGS-tst-auditmod7b.c): Likewise.
47461 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
47463 2011-02-02 Ulrich Drepper <drepper@gmail.com>
47465 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
47466 function to the callback.
47467 Patch partly by Jiri Olsa <jolsa@redhat.com>.
47469 2011-02-02 Andreas Schwab <schwab@redhat.com>
47471 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
47474 2011-01-19 Ulrich Drepper <drepper@gmail.com>
47477 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
47479 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
47481 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
47484 * elf/Makefile: Add rules to build and run new test.
47485 * elf/tst-initorder.c: New file.
47486 * elf/tst-initorder.exp: New file.
47487 * elf/tst-initordera1.c: New file.
47488 * elf/tst-initordera2.c: New file.
47489 * elf/tst-initordera3.c: New file.
47490 * elf/tst-initordera4.c: New file.
47491 * elf/tst-initorderb1.c: New file.
47492 * elf/tst-initorderb2.c: New file.
47493 * elf/tst-order-a1.c: New file.
47494 * elf/tst-order-a2.c: New file.
47495 * elf/tst-order-a3.c: New file.
47496 * elf/tst-order-a4.c: New file.
47497 * elf/tst-order-b1.c: New file.
47498 * elf/tst-order-b2.c: New file.
47499 * elf/tst-order-main.c: New file.
47500 New test case by George Gensure <werkt0@gmail.com>.
47502 2010-10-01 Andreas Schwab <schwab@redhat.com>
47504 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
47505 decoding ACE if AI_CANONIDN.
47507 2011-01-18 Ulrich Drepper <drepper@gmail.com>
47509 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
47511 2011-01-17 Ulrich Drepper <drepper@gmail.com>
47513 * version.h (RELEASE): Bump for 2.13 release.
47514 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
47516 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
47518 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
47520 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
47521 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
47522 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
47523 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
47524 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
47525 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
47527 * posix/getconf.c: Update copyright year.
47528 * catgets/gencat.c: Likewise.
47529 * csu/version.c: Likewise.
47530 * debug/catchsegv.sh: Likewise.
47531 * debug/xtrace.sh: Likewise.
47532 * elf/ldconfig.c: Likewise.
47533 * elf/ldd.bash.in: Likewise.
47534 * elf/sprof.c (print_version): Likewise.
47535 * iconv/iconv_prog.c: Likewise.
47536 * iconv/iconvconfig.c: Likewise.
47537 * locale/programs/locale.c: Likewise.
47538 * locale/programs/localedef.c: Likewise.
47539 * malloc/memusage.sh: Likewise.
47540 * malloc/mtrace.pl: Likewise.
47541 * nscd/nscd.c (print_version): Likewise.
47542 * nss/getent.c: Likewise.
47544 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
47545 PF_CAIF, and PF_ALG.
47546 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
47548 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
47550 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
47551 (modules-names): Use them.
47552 (ifunc-test-modules, ifunc-pie-tests): Define.
47553 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
47554 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
47555 (test-extras): Likewise.
47556 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
47557 $(compile-command.c).
47558 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
47559 (all-built-dso): Define.
47560 (check-textrel.out, check-execstack.out): Depend on it.
47562 * configure.in: Don't override --enable-multi-arch.
47564 2011-01-15 Ulrich Drepper <drepper@gmail.com>
47567 * nscd/hstcache.c (tryagain): Define.
47568 (cache_addhst): Return tryagain not notfound for temporary errors.
47569 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
47572 2011-01-14 Ulrich Drepper <drepper@gmail.com>
47575 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
47576 to make the syscall.
47577 * sysdeps/unix/sysv/linux/setgroups.c: New file.
47580 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
47581 and fall back to matching as normal character if the string ends before
47582 the matching ']' is found. This is what POSIX requires.
47583 * posix/testfnm.c: Adjust test result.
47584 * posix/globtest.sh: Adjust test result. Add new test.
47585 * posix/tst-fnmatch.input: Likewise.
47586 * posix/tst-fnmatch2.c: Add new test.
47588 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
47590 * elf/Makefile (check-execstack): Revert last change. Depend on
47592 (check-execstack.h): New target.
47593 (generated): Add check-execstack.h.
47594 * elf/check-execstack.c: Include "check-execstack.h".
47595 (main): Revert last change.
47596 (handle_file): Return zero if GNU_STACK is absent and
47597 DEFAULT_STACK_PERMS doesn't include PF_X.
47599 2011-01-13 Ulrich Drepper <drepper@gmail.com>
47601 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
47602 in child fails because the descriptor is already closed.
47603 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
47604 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
47605 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
47608 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
47612 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
47613 temporary buffer used to handle multi lookups locally.
47614 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
47616 2011-01-12 Ulrich Drepper <drepper@gmail.com>
47618 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
47621 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
47623 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
47624 alignment for SSE2.
47626 2011-01-12 Ulrich Drepper <drepper@gmail.com>
47629 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
47630 characters. When rounding increased number of integer digits recompute
47632 * stdio-common/tst-grouping.c: New file.
47633 * stdio-common/Makefile: Add rules to build and run tst-grouping.
47635 2011-01-09 Ulrich Drepper <drepper@gmail.com>
47637 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
47638 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
47640 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
47642 * bits/select.h: Likewise.
47644 2011-01-08 Ulrich Drepper <drepper@gmail.com>
47646 * po/ja.po: Update from translation team.
47648 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
47651 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
47652 implementation just like for lxstat, fxstatat, et al.
47654 2010-12-27 Jim Meyering <meyering@redhat.com>
47657 * posix/regexec.c (build_trtable): Return failure indication upon
47658 calloc failure. Otherwise, re_search_internal could infloop on OOM.
47660 2010-12-25 Ulrich Drepper <drepper@gmail.com>
47663 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
47664 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
47665 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
47666 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
47669 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
47672 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
47673 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
47675 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
47677 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
47678 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
47679 script has SORT_BY_INIT_PRIORITY.
47680 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
47681 NO_CTORS_DTORS_SECTIONS is defined.
47682 * elf/soinit.c: Likewise.
47683 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
47684 NO_CTORS_DTORS_SECTIONS is defined.
47685 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
47686 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
47687 * sysdeps/sh/init-first.c: Likewise.
47688 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
47690 2010-12-24 Ulrich Drepper <drepper@gmail.com>
47692 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
47693 always use the slow path.
47695 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
47697 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
47698 similar rule which adds the sysdep directories to the header search in
47699 order to pick up the correct platform stackinfo.h.
47700 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
47701 perform test if it is, otherwise return successfully without testing.
47702 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
47703 DEFAULT_STACK_PERMS define in stackinfo.h.
47704 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
47705 defined in stackinfo.h.
47706 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
47707 DEFAULT_STACK_PERMS defined in stackinfo.h.
47708 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
47709 * sysdeps/ia64/stackinfo.h: Likewise.
47710 * sysdeps/s390/stackinfo.h: Likewise.
47711 * sysdeps/sh/stackinfo.h: Likewise.
47712 * sysdeps/sparc/stackinfo.h: Likewise.
47713 * sysdeps/x86_64/stackinfo.h: Likewise.
47714 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
47715 PF_X for powerpc64. Retain PF_X for powerpc32.
47717 2010-12-19 Ulrich Drepper <drepper@gmail.com>
47719 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
47721 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
47722 GETDENTS_64BIT_ALIGNED.
47724 2010-12-14 Ulrich Drepper <dreper@gmail.com>
47726 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
47728 2010-12-10 Andreas Schwab <schwab@redhat.com>
47730 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
47733 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
47734 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
47736 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
47737 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
47739 2010-12-09 Ulrich Drepper <drepper@gmail.com>
47742 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
47745 2010-12-09 Jakub Jelinek <jakub@redhat.com>
47747 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
47749 2010-12-03 Ulrich Drepper <drepper@gmail.com>
47751 * po/it.po: Update from translation team.
47753 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
47755 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
47758 2010-11-30 Ulrich Drepper <drepper@gmail.com>
47760 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
47762 2010-11-24 Andreas Schwab <schwab@redhat.com>
47764 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
47766 (gaih_getanswer_slice): Likewise.
47768 2010-10-20 Jakub Jelinek <jakub@redhat.com>
47770 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
47772 2010-05-31 Petr Baudis <pasky@suse.cz>
47775 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
47776 silently even in the chroot mode.
47778 2010-11-22 Ulrich Drepper <drepper@gmail.com>
47780 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
47781 last patch a bit. Pretty printing
47783 2010-05-31 Petr Baudis <pasky@suse.cz>
47786 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
47787 initialization of skip_initgroups_dyn.
47789 2010-11-19 Ulrich Drepper <drepper@gmail.com>
47791 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
47792 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
47794 2010-11-16 Ulrich Drepper <drepper@gmail.com>
47796 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
47798 2010-11-11 Andreas Schwab <schwab@redhat.com>
47800 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
47801 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
47802 (tst-fnmatch-ENV): Set MALLOC_TRACE.
47803 ($(objpfx)tst-fnmatch-mem): New rule.
47804 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
47805 * posix/tst-fnmatch.c (main): Call mtrace.
47807 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
47809 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47810 Support Intel processor model 6 and model 0x2c.
47812 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
47814 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
47817 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
47820 * string/test-strncasecmp.c (check_result): New function.
47821 (do_one_test): Use it.
47822 (check1): New function.
47823 (test_main): Use it.
47824 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
47825 Support strcasecmp and strncasecmp.
47827 2010-11-08 Ulrich Drepper <drepper@gmail.com>
47830 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
47831 * sysdeps/x86_64/bits/byteswap.h: Likewise.
47833 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
47835 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
47837 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47839 * sysdeps/x86_64/multiarch/bzero.S: New file.
47840 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
47841 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
47842 * sysdeps/x86_64/multiarch/memset.S: New file.
47843 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
47844 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47845 Set bit_Prefer_SSE_for_memop for Intel processors.
47846 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
47848 (index_Prefer_SSE_for_memop): Define.
47849 (HAS_PREFER_SSE_FOR_MEMOP): Define.
47851 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
47853 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
47854 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
47856 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
47859 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
47860 (__x86_64_raw_data_cache_size_half): Likewise.
47861 (__x86_64_raw_shared_cache_size): Likewise.
47862 (__x86_64_raw_shared_cache_size_half): Likewise.
47864 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
47865 (__x86_64_raw_data_cache_size_half): Likewise.
47866 (__x86_64_raw_shared_cache_size): Likewise.
47867 (__x86_64_raw_shared_cache_size_half): Likewise.
47868 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
47869 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
47870 and __x86_64_raw_shared_cache_size_half. Round
47871 __x86_64_data_cache_size_half, __x86_64_data_cache_size
47872 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
47873 to multiple of 256 bytes.
47875 2010-11-03 Ulrich Drepper <drepper@gmail.com>
47878 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
47879 of inacessible symlinks. Verify result of symlink before returning it.
47880 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
47881 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
47883 2010-10-28 Erich Ritz <erichritz@gmail.com>
47885 * math/math.h (isinf): Fix typo in comment.
47887 2010-11-01 Ulrich Drepper <drepper@gmail.com>
47889 * po/da.po: Update from translation team.
47891 2010-10-26 Ulrich Drepper <drepper@gmail.com>
47893 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
47894 is added to the list.
47896 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47897 Ulrich Drepper <drepper@gmail.com>
47899 * elf/dl-object.c (_dl_new_object): Don't append the new object to
47900 the global list here. Move code to...
47901 (_dl_add_to_namespace_list): ...here. New function.
47902 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
47903 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
47904 * elf/dl-load.c (lose): Don't remove the element from the list.
47905 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
47906 (_dl_map_object): Likewise.
47908 2010-10-25 Ulrich Drepper <drepper@gmail.com>
47911 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
47912 into all bytes of SSE register.
47913 Patch by Richard Li <richardpku@gmail.com>.
47915 2010-10-24 Ulrich Drepper <drepper@gmail.com>
47918 * malloc/malloc.c (_int_free): Fill correct number of bytes when
47921 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
47923 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
47924 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
47925 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
47926 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
47927 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
47929 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
47931 2010-10-22 Andreas Schwab <schwab@redhat.com>
47933 * include/dlfcn.h (__RTLD_SECURE): Define.
47934 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
47935 mode & __RTLD_SECURE instead.
47936 (open_path): Rename preloaded parameter to secure.
47937 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
47938 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
47939 * elf/dl-deps.c (openaux): Likewise.
47940 * elf/rtld.c (struct map_args): Remove is_preloaded.
47941 (map_doit): Don't use it.
47942 (dl_main): Likewise.
47943 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
47944 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
47946 2010-09-09 Andreas Schwab <schwab@redhat.com>
47948 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
47949 (sysd-rules-targets): Remove duplicates.
47950 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
47951 rtld-%.$o dependency.
47953 2010-10-18 Andreas Schwab <schwab@redhat.com>
47955 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
47956 _dl_map_object do it.
47958 2010-10-19 Ulrich Drepper <drepper@gmail.com>
47960 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
47961 fast fma builtins, define the macros in the C99 standard.
47962 (FP_FAST_FMAF): Likewise.
47963 (FP_FAST_FMAL): Likewise.
47964 * sysdeps/x86_64/bits/mathdef.h: Likewise.
47966 * bits/mathdef.h: Update copyright year.
47967 * sysdeps/powerpc/bits/mathdef.h: Likewise.
47969 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
47971 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
47972 builtins, define the macros in the C99 standard.
47973 (FP_FAST_FMAF): Likewise.
47974 (FP_FAST_FMAL): Likewise.
47975 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
47977 (FP_FAST_FMAF): Likewise.
47979 2010-10-15 Jakub Jelinek <jakub@redhat.com>
47982 * math/libm-test.inc (fma_test): Some new testcases.
47983 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
47984 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
47985 y and infinite z. Do multiplication by C already in long double.
47986 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
47987 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
47988 y and infinite z. Do bitwise or of inexact bit into u.d.
47989 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
47990 * sysdeps/i386/fpu/s_fmaf.S: Removed.
47991 * sysdeps/i386/fpu/s_fma.S: Removed.
47992 * sysdeps/i386/fpu/s_fmal.S: Removed.
47994 2010-10-16 Jakub Jelinek <jakub@redhat.com>
47997 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
47998 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
47999 computation is not scheduled after fetestexcept. Fix value
48000 of minimum denormal long double.
48002 2010-10-14 Jakub Jelinek <jakub@redhat.com>
48005 * math/libm-test.inc (fma_test): Add some more tests.
48006 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
48009 2010-10-15 Andreas Schwab <schwab@redhat.com>
48011 * scripts/data/localplt-s390-linux-gnu.data: New file.
48012 * scripts/data/localplt-s390x-linux-gnu.data: New file.
48014 2010-10-13 Jakub Jelinek <jakub@redhat.com>
48017 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
48018 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
48020 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
48022 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
48023 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
48024 if one of x and y is very large and the other is subnormal.
48025 * sysdeps/s390/fpu/s_fmaf.c: New file.
48026 * sysdeps/s390/fpu/s_fma.c: New file.
48027 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
48028 * sysdeps/powerpc/fpu/s_fma.S: New file.
48029 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
48030 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
48031 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
48033 2010-10-12 Jakub Jelinek <jakub@redhat.com>
48036 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
48038 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
48039 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
48040 * sysdeps/i386/i686/multiarch/s_fma.c: Include
48041 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
48042 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
48043 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
48044 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
48046 2010-10-12 Ulrich Drepper <drepper@redhat.com>
48049 * posix/regcomp.c (parse_branch): One more memory leak plugged.
48050 * posix/bug-regex31.input: Add test case.
48052 2010-10-11 Ulrich Drepper <drepper@gmail.com>
48054 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
48055 * posix/bug-regex31.input: New file.
48058 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
48059 (parse_sub_exp): Fix last change, use postorder.
48061 * posix/bug-regex31.c: New file.
48062 * posix/Makefile: Add rules to build and run bug-regex31.
48064 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
48067 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
48070 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
48071 to have entries in sys_siglist.
48074 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
48077 2010-10-07 Jakub Jelinek <jakub@redhat.com>
48080 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
48081 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
48082 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
48083 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
48084 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
48085 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
48086 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
48087 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
48088 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
48089 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
48090 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
48091 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
48092 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
48093 * math/ftestexcept.c (fetestexcept): Likewise.
48094 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
48095 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
48096 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
48097 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
48098 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
48099 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
48100 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
48102 2010-10-11 Ulrich Drepper <drepper@gmail.com>
48105 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
48108 2010-10-06 Ulrich Drepper <drepper@gmail.com>
48110 * string/bug-strstr1.c: New file.
48111 * string/Makefile: Add rules to build and run bug-strstr1.
48113 2010-10-05 Eric Blake <eblake@redhat.com>
48116 * string/str-two-way.h (two_way_long_needle): Always clear memory
48117 when skipping input due to the shift table.
48119 2010-10-03 Ulrich Drepper <drepper@gmail.com>
48122 * malloc/mcheck.c: Handle large requests.
48125 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
48126 for strncmp and strncasecmp.
48127 * string/stratcliff.c: Add tests for strcmp and strncmp.
48128 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
48130 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
48132 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
48135 2010-09-30 Andreas Jaeger <aj@suse.de>
48137 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
48138 (CGROUP_SUPER_MAGIC): Define.
48139 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
48140 Handle btrfs and cgroup file systems.
48141 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
48144 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
48146 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
48147 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
48149 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48152 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
48153 trying to locate the ELF header.
48155 2010-09-27 Andreas Schwab <schwab@redhat.com>
48158 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
48159 Mask out sign-bit copies when constructing f_fsid.
48161 2010-09-24 Petr Baudis <pasky@suse.cz>
48163 * debug/stack_chk_fail_local.c: Add missing licence exception.
48164 * debug/warning-nop.c: Likewise.
48166 2010-09-15 Joseph Myers <joseph@codesourcery.com>
48168 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
48169 implementing getdents64 using getdents syscall, set d_type if
48170 __ASSUME_GETDENTS32_D_TYPE.
48172 2010-09-16 Andreas Schwab <schwab@redhat.com>
48174 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
48175 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
48177 2010-09-21 Ulrich Drepper <drepper@redhat.com>
48180 * posix/unistd.h: Undo change of feature selection for ftruncate from
48183 2010-09-20 Ulrich Drepper <drepper@redhat.com>
48185 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
48188 2010-09-20 Andreas Schwab <schwab@redhat.com>
48190 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
48192 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
48194 2010-09-14 Andreas Schwab <schwab@redhat.com>
48196 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
48197 variables after CHECK_SP call.
48198 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
48200 2010-09-13 Andreas Schwab <schwab@redhat.com>
48201 Ulrich Drepper <drepper@redhat.com>
48203 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
48204 re-relocationg ld.so.
48205 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
48206 _dl_init_paths call.
48207 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
48210 2010-09-14 Ulrich Drepper <drepper@redhat.com>
48212 * resolv/res_init.c (__res_vinit): Count the default server we added.
48214 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
48215 Ulrich Drepper <drepper@redhat.com>
48218 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
48219 (____longjmp_chk): Use %ebx for saving value across system call.
48222 2010-09-06 Andreas Schwab <schwab@redhat.com>
48224 * manual/Makefile: Don't mix pattern rules with normal rules.
48226 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
48228 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
48230 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
48231 * libio/iofopncook.c (_IO_cookie_init): Likewise.
48232 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
48233 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
48234 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
48237 2010-09-04 Ulrich Drepper <drepper@redhat.com>
48240 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
48241 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
48243 2010-09-02 Ulrich Drepper <drepper@redhat.com>
48245 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
48246 * sysdeps/x86_64/addmul_1.S: Likewise.
48247 * sysdeps/x86_64/lshift.S: Likewise.
48248 * sysdeps/x86_64/mul_1.S: Likewise.
48249 * sysdeps/x86_64/rshift.S: Likewise.
48250 * sysdeps/x86_64/sub_n.S: Likewise.
48251 * sysdeps/x86_64/submul_1.S: Likewise.
48253 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
48255 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
48256 Define __sched_param instead of SCHED_* and sched_param when
48257 <bits/sched.h> is included with __need_schedparam defined.
48258 * bits/sched.h [__need_schedparam]
48259 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
48260 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
48261 (__defined_schedparam): Define to 1.
48262 (__sched_param): New structure, identical to sched_param.
48263 (__need_schedparam): Undefine.
48265 2010-08-31 Mike Frysinger <vapier@gentoo.org>
48267 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
48268 (epoll_create1): Declare.
48270 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
48272 2010-08-31 Andreas Schwab <schwab@redhat.com>
48275 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
48276 shifting retval into place.
48278 2010-09-01 Ulrich Drepper <drepper@redhat.com>
48280 * nis/rpcsvc/nis.h: Update copyright notice.
48281 * nis/rpcsvc/nis.x: Likewise.
48282 * nis/rpcsvc/nis_callback.h: Likewise.
48283 * nis/rpcsvc/nis_callback.x: Likewise.
48284 * nis/rpcsvc/nis_object.x: Likewise.
48285 * nis/rpcsvc/nis_tags.h: Likewise.
48286 * nis/rpcsvc/yp.h: Likewise.
48287 * nis/rpcsvc/yp.x: Likewise.
48288 * nis/rpcsvc/ypupd.h: Likewise.
48289 * nis/yp_xdr.c: Likewise.
48290 * nis/ypupdate_xdr.c: Likewise.
48292 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
48293 mainly the body of pmap_getport. Add parameters to specify timeouts.
48294 (pmap_getport): Use __libc_rpc_getport.
48295 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
48296 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
48297 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
48299 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
48301 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
48304 2010-08-27 Roland McGrath <roland@redhat.com>
48306 * sysdeps/i386/i686/multiarch/Makefile
48307 (CFLAGS-varshift.c): New variable.
48309 2010-08-27 Ulrich Drepper <drepper@redhat.com>
48311 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
48312 * sysdeps/i386/i686/multiarch/varshift.c: New file.
48314 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
48316 * sysdeps/x86_64/strlen.S: Minimal code improvement.
48318 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
48320 * sysdeps/x86_64/strlen.S: Unroll the loop.
48321 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48322 strlen-sse2 strlen-sse2-bsf.
48323 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
48324 __strlen_no_bsf if bit_Slow_BSF is set.
48325 (__strlen_sse42): Removed.
48326 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
48327 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
48329 2010-08-25 Roland McGrath <roland@redhat.com>
48331 * sysdeps/x86_64/multiarch/varshift.S: File removed.
48332 * sysdeps/x86_64/multiarch/varshift.c: New file.
48333 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
48334 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
48335 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
48336 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
48338 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
48340 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
48341 strlen-sse2 strlen-sse2-bsf.
48342 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
48343 __strlen_sse2_bsf if bit_Slow_BSF is unset.
48344 (__strlen_sse2): Removed.
48345 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
48346 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
48347 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
48348 bit_Slow_BSF for Atom.
48349 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
48350 (index_Slow_BSF): Define.
48351 (HAS_SLOW_BSF): Define.
48353 2010-08-25 Ulrich Drepper <drepper@redhat.com>
48356 * resolv/res_init.c (__res_vinit): When no server address at all
48357 is given default to loopback.
48359 2010-08-24 Roland McGrath <roland@redhat.com>
48361 * configure.in: Remove config-name.h generation.
48362 * configure: Regenerated.
48363 * config-name.in: File removed.
48364 * scripts/config-uname.sh: New file.
48365 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
48366 ($(objdir)config-name.h): New target.
48368 * sunrpc/rpc_parse.h: Avoid nested comment.
48370 2010-08-24 Richard Henderson <rth@redhat.com>
48371 Ulrich Drepper <drepper@redhat.com>
48372 H.J. Lu <hongjiu.lu@intel.com>
48374 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
48375 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
48376 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
48377 Replace _mm_srli_si128 with __m128i_shift_right. Replace
48378 _mm_alignr_epi8 with _mm_loadu_si128.
48379 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
48380 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
48381 (__m128i_shift_right): Removed.
48382 * sysdeps/i386/i686/multiarch/varshift.h: New file.
48383 * sysdeps/i386/i686/multiarch/varshift.S: New file.
48384 * sysdeps/x86_64/multiarch/varshift.h: New file.
48385 * sysdeps/x86_64/multiarch/varshift.S: New file.
48387 2010-08-21 Mike Frysinger <vapier@gentoo.org>
48389 * configure.in: Move assembler checks to before sysdep dir checking.
48391 2010-08-20 Petr Baudis <pasky@suse.cz>
48393 * LICENSES: Sync the sunrpc license.
48395 2010-08-19 Ulrich Drepper <drepper@redhat.com>
48397 * sunrpc/auth_des.c: Update copyright notice once again.
48398 * sunrpc/auth_none.c: Likewise.
48399 * sunrpc/auth_unix.c: Likewise.
48400 * sunrpc/authdes_prot.c: Likewise.
48401 * sunrpc/authuxprot.c: Likewise.
48402 * sunrpc/bindrsvprt.c: Likewise.
48403 * sunrpc/clnt_gen.c: Likewise.
48404 * sunrpc/clnt_perr.c: Likewise.
48405 * sunrpc/clnt_raw.c: Likewise.
48406 * sunrpc/clnt_simp.c: Likewise.
48407 * sunrpc/clnt_tcp.c: Likewise.
48408 * sunrpc/clnt_udp.c: Likewise.
48409 * sunrpc/clnt_unix.c: Likewise.
48410 * sunrpc/des_crypt.c: Likewise.
48411 * sunrpc/des_soft.c: Likewise.
48412 * sunrpc/get_myaddr.c: Likewise.
48413 * sunrpc/getrpcport.c: Likewise.
48414 * sunrpc/key_call.c: Likewise.
48415 * sunrpc/key_prot.c: Likewise.
48416 * sunrpc/openchild.c: Likewise.
48417 * sunrpc/pm_getmaps.c: Likewise.
48418 * sunrpc/pm_getport.c: Likewise.
48419 * sunrpc/pmap_clnt.c: Likewise.
48420 * sunrpc/pmap_prot.c: Likewise.
48421 * sunrpc/pmap_prot2.c: Likewise.
48422 * sunrpc/pmap_rmt.c: Likewise.
48423 * sunrpc/rpc/auth.h: Likewise.
48424 * sunrpc/rpc/auth_unix.h: Likewise.
48425 * sunrpc/rpc/clnt.h: Likewise.
48426 * sunrpc/rpc/des_crypt.h: Likewise.
48427 * sunrpc/rpc/key_prot.h: Likewise.
48428 * sunrpc/rpc/netdb.h: Likewise.
48429 * sunrpc/rpc/pmap_clnt.h: Likewise.
48430 * sunrpc/rpc/pmap_prot.h: Likewise.
48431 * sunrpc/rpc/pmap_rmt.h: Likewise.
48432 * sunrpc/rpc/rpc.h: Likewise.
48433 * sunrpc/rpc/rpc_des.h: Likewise.
48434 * sunrpc/rpc/rpc_msg.h: Likewise.
48435 * sunrpc/rpc/svc.h: Likewise.
48436 * sunrpc/rpc/svc_auth.h: Likewise.
48437 * sunrpc/rpc/types.h: Likewise.
48438 * sunrpc/rpc/xdr.h: Likewise.
48439 * sunrpc/rpc_clntout.c: Likewise.
48440 * sunrpc/rpc_cmsg.c: Likewise.
48441 * sunrpc/rpc_common.c: Likewise.
48442 * sunrpc/rpc_cout.c: Likewise.
48443 * sunrpc/rpc_dtable.c: Likewise.
48444 * sunrpc/rpc_hout.c: Likewise.
48445 * sunrpc/rpc_main.c: Likewise.
48446 * sunrpc/rpc_parse.c: Likewise.
48447 * sunrpc/rpc_parse.h: Likewise.
48448 * sunrpc/rpc_prot.c: Likewise.
48449 * sunrpc/rpc_sample.c: Likewise.
48450 * sunrpc/rpc_scan.c: Likewise.
48451 * sunrpc/rpc_scan.h: Likewise.
48452 * sunrpc/rpc_svcout.c: Likewise.
48453 * sunrpc/rpc_tblout.c: Likewise.
48454 * sunrpc/rpc_util.c: Likewise.
48455 * sunrpc/rpc_util.h: Likewise.
48456 * sunrpc/rpcinfo.c: Likewise.
48457 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
48458 * sunrpc/rpcsvc/key_prot.x: Likewise.
48459 * sunrpc/rpcsvc/klm_prot.x: Likewise.
48460 * sunrpc/rpcsvc/mount.x: Likewise.
48461 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
48462 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
48463 * sunrpc/rpcsvc/rex.x: Likewise.
48464 * sunrpc/rpcsvc/rstat.x: Likewise.
48465 * sunrpc/rpcsvc/rusers.x: Likewise.
48466 * sunrpc/rpcsvc/sm_inter.x: Likewise.
48467 * sunrpc/rpcsvc/spray.x: Likewise.
48468 * sunrpc/rpcsvc/yppasswd.x: Likewise.
48469 * sunrpc/rtime.c: Likewise.
48470 * sunrpc/svc.c: Likewise.
48471 * sunrpc/svc_auth.c: Likewise.
48472 * sunrpc/svc_authux.c: Likewise.
48473 * sunrpc/svc_raw.c: Likewise.
48474 * sunrpc/svc_run.c: Likewise.
48475 * sunrpc/svc_simple.c: Likewise.
48476 * sunrpc/svc_tcp.c: Likewise.
48477 * sunrpc/svc_udp.c: Likewise.
48478 * sunrpc/svc_unix.c: Likewise.
48479 * sunrpc/svcauth_des.c: Likewise.
48480 * sunrpc/xcrypt.c: Likewise.
48481 * sunrpc/xdr.c: Likewise.
48482 * sunrpc/xdr_array.c: Likewise.
48483 * sunrpc/xdr_float.c: Likewise.
48484 * sunrpc/xdr_mem.c: Likewise.
48485 * sunrpc/xdr_rec.c: Likewise.
48486 * sunrpc/xdr_ref.c: Likewise.
48487 * sunrpc/xdr_sizeof.c: Likewise.
48488 * sunrpc/xdr_stdio.c: Likewise.
48490 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
48493 2010-08-19 Andreas Schwab <schwab@redhat.com>
48495 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
48497 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
48499 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
48500 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
48501 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
48502 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
48503 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
48504 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
48505 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
48506 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
48507 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
48508 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
48509 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
48510 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
48511 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
48512 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
48514 2010-07-26 Anton Blanchard <anton@samba.org>
48516 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
48517 * malloc/arena.c (heap_trim): Likewise.
48519 2010-08-16 Ulrich Drepper <drepper@redhat.com>
48521 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
48523 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
48524 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
48526 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
48528 * sysdeps/i386/elf/Makefile: New file.
48530 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
48532 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
48533 from fanotify_init.
48534 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
48535 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
48537 2010-08-15 Ulrich Drepper <drepper@redhat.com>
48539 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
48541 * sysdeps/multiarch/strcmp.S: Likewise.
48543 2010-08-14 Ulrich Drepper <drepper@redhat.com>
48545 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
48546 strncase_l-nonascii.
48547 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
48548 Add strncase_l-ssse3.
48549 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
48550 * sysdeps/x86_64/strcmp.S: Likewise.
48551 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
48552 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
48553 * sysdeps/x86_64/strncase.S: New file.
48554 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
48555 * sysdeps/x86_64/strncase_l.S: New file.
48556 * string/Makefile (strop-tests): Add strncasecmp.
48557 * string/test-strncasecmp.c: New file.
48559 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
48562 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
48563 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
48565 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
48567 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
48569 2010-08-12 Ulrich Drepper <drepper@redhat.com>
48571 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
48572 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
48573 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
48575 2010-05-01 Alan Modra <amodra@gmail.com>
48577 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
48578 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
48579 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
48580 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
48581 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
48582 tidying. Don't tail-call __sigjmp_save for static lib.
48583 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
48585 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
48586 (CALL_MCOUNT): Add eh info, and nop after bl.
48587 (TAIL_CALL_SYSCALL_ERROR): New macro.
48588 (PSEUDO_RET): Use it.
48589 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
48590 Correct save location of integer regs and cr.
48591 (_dl_profile_resolve): Correct cr save location. Delete nops
48592 after bl when SHARED. Reduce cfi size a little by better
48593 placement of cfi directives.
48594 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
48595 make a stack frame. Instead use parm save area as a temp.
48596 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
48597 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
48598 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
48599 Don't make a stack frame for parent, use parm save area.
48600 Increase child stack frame to 112 bytes. Don't save unused reg,
48601 and adjust reg usage. Set up cfi on error recovery and
48602 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
48603 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
48604 (__makecontext): Add dummy nop after jump to exit.
48605 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
48606 Use correct parm save area and cr save, reduce stack frame.
48607 Correct cfi for possible PSEUDO_RET frame setup.
48608 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
48609 Branch to local label emitted by PSEUDO_RET rather than
48612 2010-08-12 Andreas Schwab <schwab@redhat.com>
48615 * locale/programs/locale.c (print_assignment): New function.
48616 (show_locale_vars): Use it.
48618 2010-08-11 Ulrich Drepper <drepper@redhat.com>
48620 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
48622 (struct statfs64): Likewise.
48623 (_STATFS_F_FLAGS): Define.
48624 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
48625 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
48626 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
48627 (ST_VALID): Define locally.
48628 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
48629 __statvfs_getflags, use the provided value.
48630 * sysdeps/unix/sysv/linux/kernel-features.h: Define
48631 __ASSUME_STATFS_F_FLAGS.
48633 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
48635 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
48636 Add sys/fanotify.h.
48637 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
48638 fanotify_mask for GLIBC_2.13.
48639 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
48640 fanotify_init and fanotify_mark.
48641 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
48642 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
48644 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
48646 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
48647 prlimit64 for GLIBC_2.13.
48648 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
48650 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
48652 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
48653 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
48654 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
48655 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
48656 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
48658 * sysdeps/unix/sysv/linux/prlimit.c: New file.
48661 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
48662 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
48664 * nss/Makefile: Add rules to build and run tst-nss-test1.
48665 * shlib-versions: Add entry for libnss_test1.
48666 * nss/nss_test1.c: New file.
48667 * nss/tst-nss-test1.c: New file.
48669 * nss/nsswitch.c (__nss_database_custom): Define new variable.
48670 (__nss_configure_lookup): Set appropriate entry in
48671 __nss_configure_lookup to true.
48672 * nss/nsswitch.h: Define enum with indeces of databases in
48673 databases and __nss_database_custom arrays. Declare
48674 __nss_database_custom.
48675 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
48676 to avoid using nscd when custom rules are installed.
48677 * nss/getXXbyYY_r.c: Likewise.
48678 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
48680 * nss/nss_files/files-parse.c: Whitespace fixes.
48682 2010-08-09 Ulrich Drepper <drepper@redhat.com>
48685 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
48686 * posix/fnmatch_loop.c: Likewise.
48688 2010-07-17 Andi Kleen <ak@linux.intel.com>
48690 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
48691 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
48692 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
48693 * Versions.def [GLIBC_2.13]: Add.
48695 2010-08-06 Ulrich Drepper <drepper@redhat.com>
48697 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
48698 Also fail if tpwd after pwuid call is NULL.
48700 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
48702 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
48703 when converting to ms.
48705 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
48707 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
48708 EOPNOTSUPP errors with ENOTTY.
48709 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
48710 EOPNOTSUPP errors with ENOTTY.
48712 2010-07-31 Ulrich Drepper <drepper@redhat.com>
48714 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
48715 Add strcasecmp_l-ssse3.
48716 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
48718 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
48719 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
48720 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
48722 2010-07-30 Ulrich Drepper <drepper@redhat.com>
48724 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
48726 * string/Makefile (strop-tests): Add strcasecmp.
48727 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
48728 strcasecmp_l-nonascii.
48729 (gen-as-const-headers): Add locale-defines.sym.
48730 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
48731 * sysdeps/x86_64/strcasecmp.S: New file.
48732 * sysdeps/x86_64/strcasecmp_l.S: New file.
48733 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
48734 * sysdeps/x86_64/locale-defines.sym: New file.
48735 * string/test-strcasecmp.c: New file.
48737 * string/test-strcasestr.c: Test both ends of the range of characters.
48738 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
48740 2010-07-29 Roland McGrath <roland@redhat.com>
48743 * manual/locale.texi (Yes-or-No Questions): Fix example code.
48745 2010-07-27 Ulrich Drepper <drepper@redhat.com>
48747 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
48750 2010-07-27 Andreas Schwab <schwab@redhat.com>
48752 * manual/memory.texi (Malloc Tunable Parameters): Document
48755 2010-07-26 Roland McGrath <roland@redhat.com>
48758 * configure.in (-fgnu89-inline check): Set and substitute
48759 gnu89_inline, not libc_cv_gnu89_inline.
48760 * configure: Regenerated.
48761 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
48763 2010-07-26 Ulrich Drepper <drepper@redhat.com>
48765 * string/test-strnlen.c: New file.
48766 * string/Makefile (strop-tests): Add strnlen.
48767 * string/tester.c (test_strnlen): Add a few more test cases.
48768 * string/tst-strlen.c: Better error reporting.
48770 * sysdeps/x86_64/strnlen.S: New file.
48772 2010-07-24 Ulrich Drepper <drepper@redhat.com>
48774 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
48775 lower-latency instructions.
48777 2010-07-23 Ulrich Drepper <drepper@redhat.com>
48779 * string/test-strcasestr.c: New file.
48780 * string/test-strstr.c: New file.
48781 * string/Makefile (strop-tests): Add strstr and strcasestr.
48782 * string/str-two-way.h: Don't undefine MAX.
48783 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
48785 2010-07-21 Andreas Schwab <schwab@redhat.com>
48787 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
48788 strcasestr-nonascii.
48789 (CFLAGS-strcasestr-nonascii.c): Define.
48790 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
48791 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
48792 Remove unused attribute.
48794 2010-07-20 Roland McGrath <roland@redhat.com>
48796 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
48797 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
48798 ld.so.cache was broken. With it, there is no way to disable dsocaps
48799 like LD_HWCAP_MASK can disable hwcaps.
48801 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
48803 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
48805 2010-07-16 Ulrich Drepper <drepper@redhat.com>
48807 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
48808 call in strcasestr.
48809 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
48810 __strcasestr_sse42_nonascii.
48811 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
48812 strcasestr-nonascii.c.
48813 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
48815 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
48817 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
48818 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
48819 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
48820 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
48822 2010-07-09 Ulrich Drepper <drepper@redhat.com>
48824 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
48827 2010-07-06 Andreas Schwab <schwab@redhat.com>
48830 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
48833 2010-07-06 Ulrich Drepper <drepper@redhat.com>
48835 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
48836 _PC_PIPE_BUF using F_GETPIPE_SZ.
48838 2010-07-05 Roland McGrath <roland@redhat.com>
48840 * manual/arith.texi (Rounding Functions): Fix rint description
48841 implicit in round description.
48843 2010-07-02 Ulrich Drepper <drepper@redhat.com>
48845 * elf/Makefile: Fix linking for a few tests to make recent linker
48848 2010-06-30 Andreas Schwab <schwab@redhat.com>
48850 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
48851 $(common-objpfx)libc_nonshared.a.
48853 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
48855 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
48856 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
48857 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
48858 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
48859 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
48860 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
48861 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
48862 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
48863 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
48864 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
48865 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
48866 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
48867 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
48868 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
48869 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
48870 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
48871 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
48872 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
48873 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
48874 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
48875 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
48876 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
48877 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
48878 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
48879 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
48880 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
48881 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
48882 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
48883 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
48884 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
48885 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
48886 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
48887 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
48888 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
48889 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
48890 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
48891 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
48892 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
48893 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
48894 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
48895 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
48896 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
48897 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
48898 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
48899 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
48900 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
48901 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
48902 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
48904 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
48906 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
48907 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
48908 * string/memmove.c (memmove): Renamed to ...
48909 (MEMMOVE): ...this. Default to memmove.
48910 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
48911 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
48913 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48914 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
48915 mempcpy-ssse3-back memmove-ssse3-back.
48916 * sysdeps/x86_64/multiarch/bcopy.S: New file .
48917 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
48918 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
48919 * sysdeps/x86_64/multiarch/memcpy.S: New file.
48920 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
48921 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
48922 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
48923 * sysdeps/x86_64/multiarch/memmove.c: New file.
48924 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
48925 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
48926 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
48927 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
48928 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
48929 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
48931 (index_Fast_Copy_Backward): Define.
48932 (HAS_ARCH_FEATURE): Define.
48933 (HAS_FAST_REP_STRING): Define.
48934 (HAS_FAST_COPY_BACKWARD): Define.
48936 2010-06-21 Andreas Schwab <schwab@redhat.com>
48938 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
48939 Restore proper fallback handling.
48941 2010-06-19 Ulrich Drepper <drepper@redhat.com>
48944 * posix/group_member.c (__group_member): Correct checking loop.
48946 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
48947 OOM in getpwuid_r correctly. Return error number when the caller
48948 should return, otherwise -1.
48949 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
48950 call returning > 0 value.
48951 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
48953 2010-06-07 Andreas Schwab <schwab@redhat.com>
48955 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
48956 libc_nonshared.a from targets in modules-names.
48958 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
48960 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
48963 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
48965 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
48966 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
48967 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
48968 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
48970 2010-06-02 Andreas Schwab <schwab@redhat.com>
48972 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
48974 2010-06-14 Ulrich Drepper <drepper@redhat.com>
48976 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
48978 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
48979 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
48980 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
48981 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
48982 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
48983 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
48985 2010-06-14 Roland McGrath <roland@redhat.com>
48987 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
48989 2010-06-07 Jakub Jelinek <jakub@redhat.com>
48991 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
48992 __REDIRECT followed by __THROW.
48993 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
48994 * posix/getopt.h (getopt): Likewise.
48996 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
48998 * hurd/lookup-at.c (__file_name_lookup_at): Accept
48999 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
49000 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
49002 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
49003 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
49005 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
49007 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
49009 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
49012 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49013 Properly check family and model.
49015 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
49017 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
49019 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
49021 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
49023 2010-05-21 Ulrich Drepper <drepper@redhat.com>
49025 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
49028 2010-05-19 Andreas Schwab <schwab@redhat.com>
49030 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
49033 2010-05-21 Andreas Schwab <schwab@redhat.com>
49035 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
49036 and internal_recvmmsg.
49037 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
49038 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
49039 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
49040 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
49042 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
49043 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
49044 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
49046 2010-05-20 Andreas Schwab <schwab@redhat.com>
49048 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
49050 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
49052 POWER7 optimizations.
49053 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
49054 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
49056 2010-05-19 Ulrich Drepper <drepper@redhat.com>
49058 * version.h: Update for 2.13 development version.
49060 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
49062 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
49063 exceptions. Return 0.
49065 2010-05-07 Roland McGrath <roland@redhat.com>
49067 * elf/ldconfig.c (main): Add a const.
49069 2010-05-06 Ulrich Drepper <drepper@redhat.com>
49071 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
49072 (args_options): Add no-idn option.
49073 (ahosts_keys_int): Add idn_flags to ai_flags.
49074 (parse_option): Handle 'i' option to clear idn_flags.
49076 * malloc/malloc.c (_int_free): Possible race in the most recently
49077 added check. Only act on the data if no current modification
49080 See ChangeLog.17 for earlier changes.