1 2014-07-10 Roland McGrath <roland@hack.frob.com>
3 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
4 Use atomic_compare_and_exchange_val_acq directly rather than
6 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
7 (__lll_robust_trylock, lll_robust_trylock): Removed.
8 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
9 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
10 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
11 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
12 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
13 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
14 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
15 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
16 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
17 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
18 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
19 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
20 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
21 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
23 2014-07-02 Florian Weimer <fweimer@redhat.com>
25 * manual/locale.texi (Locale Names): New section documenting
26 locale name syntax. Adjust menu and node chaining accordingly.
27 (Choosing Locale): Reference Locale Names, Locale Categories.
28 Mention setting LC_ALL=C. Reflect that name syntax is now
30 (Locale Categories): New section title. Reference Locale Names.
31 LC_ALL is an environment variable, but not a category.
32 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
33 description, now in Locale Name. Reference that section. Locale
34 name syntax is now documented.
36 2014-07-02 Florian Weimer <fweimer@redhat.com>
39 * locale/findlocale.c (name_present, valid_locale_name): New
41 (_nl_find_locale): Use the loc_name variable to store name
42 candidates. Call name_present and valid_locale_name to check and
43 validate locale names. Return an error if the locale is invalid.
45 2014-07-02 Florian Weimer <fweimer@redhat.com>
47 * locale/setlocale.c (setlocale): Use strdup for allocating
50 2014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
53 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
54 [!_LIBC && ENABLE_NLS]: Include gettext.h.
55 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
57 [USE_UNLOCKED_IO]: Include unlocked-io.h.
58 [!_LIBC]: Include code for Windows and Cygwin.
59 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
60 Include prototype for int strerror_r.
61 [!_LIBC] (is_open): New function.
62 (flush_stdout): New function.
63 (print_errno_message): Use it.
65 (error_at_line): Likewise.
66 (error_tail) Add function attribute macros. Use
69 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
71 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
73 * io/ftw.c: Include sys/param.h unconditionally.
75 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
78 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
80 (freecache): New function to free CACHE on exit.
82 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
85 2014-07-09 David S. Miller <davem@davemloft.net>
87 * sysdeps/sparc/fpu/libm-test-ulps: Update.
89 * sysdeps/sparc/nptl/internaltypes.h: Delete.
90 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
91 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
92 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
93 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
94 * sysdeps/sparc/nptl/sem_init.c: Likewise.
95 * sysdeps/sparc/nptl/sem_post.c: Likewise.
96 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
97 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
98 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
99 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
100 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
101 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
103 2014-07-09 Andreas Schwab <schwab@suse.de>
105 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
107 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
110 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
112 2014-07-09 Will Newton <will.newton@linaro.org>
114 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
115 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
116 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
117 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
118 * sysdeps/hppa/start.S (_start): Likewise.
120 2014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
122 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
124 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
127 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
129 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
130 after checking that it is non-NULL.
132 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
134 2014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
136 * sysdeps/powerpc/memmove.c: Remove file.
137 * sysdeps/powerpc/powerpc32/power4/memcopy.h
138 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
139 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
140 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
141 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
142 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
143 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
144 string memmove instead of removed powerpc one.
146 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
147 [weak_alias]: Fix compiler warning due trailing data.
148 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
149 [weak_alias]: Likewise.
150 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
151 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
153 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
154 (__libc_ifunc_impl_list): Add memmove functions.
156 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
158 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
160 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
162 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
164 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
166 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
168 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
170 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
172 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
174 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
176 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
178 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
180 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
182 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
184 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
186 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
188 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
190 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
193 2014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
195 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
196 to avoid alignment traps in non-cacheable memory.
197 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
199 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
201 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
202 file: multiarch power7 memmove.
203 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
204 multiarch default memmove.
205 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
206 multiarch memove for powerpc32/power4.
208 * string/bcopy.c: Use full path to include memmove.c.
209 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
211 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
213 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
215 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
216 and memmove implementations.
217 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
218 optimized multiarch memmove for POWER7/powerpc64.
219 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
220 default multiarch memmove for powerpc64.
221 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
222 multiarch for powerpc64.
223 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
224 for POWER7/powerpc64.
225 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
226 memmove for POWER7/powerpc64.
228 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
231 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
232 __ELF_NATIVE_CLASS equal to 64.
234 2014-07-07 Roland McGrath <roland@hack.frob.com>
236 * sysdeps/nptl/lowlevellock.h: File removed.
238 * NEWS: NPTL is no longer an add-on!
239 * nptl/internaltypes.h: Moved ...
240 * sysdeps/nptl/internaltypes.h: ... here.
241 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
242 * sysdeps/nptl/fork.c: Likewise.
243 * sysdeps/nptl/gai_misc.h: Likewise.
244 * sysdeps/nptl/librt-cancellation.c: Likewise.
245 * sysdeps/nptl/jmp-unwind.c: Likewise.
246 * sysdeps/nptl/setxid.h: Likewise.
247 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
248 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
249 * sysdeps/unix/sysv/linux/arm/Implies: New file.
250 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
251 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
252 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
253 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
254 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
255 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
256 * sysdeps/unix/sysv/linux/mips/Implies: New file.
257 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
258 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
259 * sysdeps/unix/sysv/linux/sh/Implies: New file.
260 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
261 * sysdeps/unix/sysv/linux/tile/Implies: New file.
262 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
263 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
264 * nptl/Makeconfig: Moved ...
265 * sysdeps/nptl/Makeconfig: ... here.
266 * nptl/configure: File removed.
267 * nptl/ANNOUNCE: File removed.
268 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
269 * sysdeps/unix/sysv/linux/configure: Regenerated.
271 * nptl/Makefile (routines): Add libc_pthread_init,
272 libc_multiple_threads, register-atfork and unregister-atfork.
273 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
274 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
275 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
276 pthread-pi-defines.sym, structsem.sym.
277 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
278 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
279 [$(subdir) = nptl] (tests): Add tst-setgetname.
280 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
281 * sysdeps/unix/sysv/linux/sigaction.c: Just include
282 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
283 [!LIBC_SIGACTION]: Remove aliases.
284 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
285 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
286 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
287 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
288 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
289 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
290 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
291 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
292 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
293 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
294 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
295 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
296 __libc_allocate_rtsig_private.
297 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
298 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
299 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
300 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
301 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
302 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
303 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
304 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
305 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
306 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
307 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
308 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
309 * nptl/internaltypes.h: ... here.
310 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
311 * sysdeps/nptl/jmp-unwind.c: ... here.
312 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
313 * nptl/libc-lowlevellock.c: ... here.
314 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
315 * nptl/libc_multiple_threads.c: ... here.
316 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
317 * nptl/libc_pthread_init.c: ... here.
318 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
319 * nptl/lowlevelbarrier.sym: ... here.
320 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
321 * nptl/lowlevelcond.sym: ... here.
322 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
323 * nptl/lowlevellock.c: ... here.
324 * nptl/lowlevellock.h: Moved ...
325 * sysdeps/nptl/lowlevellock.h: ... here.
326 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
327 * nptl/lowlevelrobustlock.c: ... here.
328 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
329 * nptl/lowlevelrobustlock.sym: ... here.
330 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
331 * nptl/lowlevelrwlock.sym: ... here.
332 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
333 * nptl/pt-fork.c: ... here.
334 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
335 * nptl/pthread-pi-defines.sym: ... here.
336 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
337 * nptl/pthread_attr_getaffinity.c: ... here.
338 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
339 * nptl/pthread_attr_setaffinity.c: ... here.
340 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
341 * nptl/pthread_mutex_cond_lock.c: ... here.
342 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
344 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
345 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
346 * nptl/pthread_once.c: ... here, replacing old file.
347 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
348 * nptl/pthread_yield.c: ... here.
349 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
350 * nptl/register-atfork.c: ... here.
351 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
352 * nptl/sem_post.c: ... here.
353 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
354 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
355 * nptl/sem_timedwait.c: ... here.
356 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
357 * nptl/sem_trywait.c: ... here.
358 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
359 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
360 * nptl/sem_wait.c: ... here.
361 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
362 * nptl/structsem.sym: ... here.
363 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
364 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
365 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
366 * nptl/unregister-atfork.c: ... here.
367 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
368 * nptl/unwindbuf.sym: ... here.
369 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
370 * sysdeps/nptl/fork.c: ... here.
371 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
372 * sysdeps/nptl/fork.h: ... here.
373 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
374 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
375 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
376 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
377 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
378 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
379 * sysdeps/unix/sysv/linux/getpid.c: ... here.
380 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
381 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
382 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
383 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
384 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
385 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
386 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
387 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
388 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
389 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
390 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
391 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
392 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
393 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
394 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
395 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
396 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
397 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
398 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
399 * sysdeps/unix/sysv/linux/raise.c: ... here.
400 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
401 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
402 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
403 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
404 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
405 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
406 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
407 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
408 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
409 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
410 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
411 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
412 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
413 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
414 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
416 2014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
418 * sysdeps/generic/memcopy.h: Add comment for
419 MEMCPY_OK_FOR_FWD_MEMMOVE.
421 2014-07-04 Will Newton <will.newton@linaro.org>
423 * string/memchr.c: Merge from gnulib.
424 [_LIBC]: Remove conditionals.
425 (__ptr_t): Remove define.
426 (LONG_MAX_32_BITS): Likewise.
427 (LONG_MAX): Likewise.
428 (MEMCHR): Use ANSI prototype and optimize algorithm.
430 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
432 2014-07-03 Roland McGrath <roland@hack.frob.com>
434 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
435 (lll_futex_timed_wait_bitset): Fix syscall argument count.
437 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
438 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
439 in a bare environment with no <stdlib.h> installed.
440 * sysdeps/nptl/configure: Regenerated.
442 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
444 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
445 AC_EGREP_CPP for kernel header checks, so they only succeed if
446 including <linux/version.h> actually works right.
447 * sysdeps/unix/sysv/linux/configure: Regenerated.
449 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
450 value so it's not diagnosed as unused.
452 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
453 thing) with "ifeq ($(subdir),rt)".
455 2014-07-03 Richard Henderson <rth@redhat.com>
457 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
458 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
459 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
461 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
462 (math_force_eval): New.
464 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
465 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
467 * sysdeps/alpha/fpu/s_round.c: Remove file.
468 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
470 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
471 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
472 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
473 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
474 (_dl_start, print_statistics): Likewise.
475 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
476 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
478 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
479 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
480 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
481 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
482 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
483 (HP_SMALL_TIMING_AVAIL): Define.
484 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
485 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
486 (HP_SMALL_TIMING_AVAIL): Define.
487 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
488 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
490 * sysdeps/aarch64/hp-timing.h: New file.
492 * sysdeps/generic/hp-timing.h: Remove dead comment.
493 * sysdeps/generic/hp-timing-common.h: New file.
494 * sysdeps/alpha/hp-timing.h: Include it.
495 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
496 * sysdeps/i386/i686/hp-timing.h: Likewise.
497 * sysdeps/ia64/hp-timing.h: Likewise.
498 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
499 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
500 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
501 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
502 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
503 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
506 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
507 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
508 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
509 * elf/rtld.c (_dl_start_final): Likewise.
510 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
511 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
512 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
513 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
514 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
515 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
516 (HP_TIMING_DIFF_INIT): Remove.
517 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
518 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
519 (HP_TIMING_DIFF_INIT): Remove.
520 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
521 * sysdeps/i386/i686/hp-timing.c: Remove file.
522 * sysdeps/x86_64/hp-timing.c: Remove file.
523 * sysdeps/ia64/hp-timing.c: Remove file.
524 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
525 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
526 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
527 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
529 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
530 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
531 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
532 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
533 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
534 (HP_TIMING_ACCUM): Remove.
535 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
536 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
537 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
539 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
540 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
541 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
542 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
543 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
544 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
545 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
546 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
548 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
550 2014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
552 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
554 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
556 Sync up with gettext.
557 * intl/loadmsgcat.c: Define O_BINARY if not defined.
558 [_MSC_VER]: Include malloc.h
559 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
560 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
561 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
562 TEMP_FAILURE_RETRY. Cast return of alloca.
563 [!_LIBC] Call gl_rwlock_init.
564 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
566 2014-07-02 Roland McGrath <roland@hack.frob.com>
568 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
569 before checking its value.
571 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
573 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
575 * debug/memcpy_chk.c: Don't include pagecopy.h.
576 * debug/mempcpy_chk.c: Likewise.
577 * string/memcpy.c: Likewise.
578 * string/memmove.c: Likewise.
579 * sysdeps/powerpc/memmove.c: Likewise.
580 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
581 definition of PAGE_COPY_FWD_MAYBE here...
582 * sysdeps/generic/pagecopy.h: ... from here.
583 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
585 2014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
586 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
588 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
589 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
591 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
592 (__libc_ifunc_impl_list): Likewise.
593 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
594 multiarch strcat for PPC64.
595 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
596 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
598 2014-07-02 Roland McGrath <roland@hack.frob.com>
600 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
602 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
604 * intl/loadmsgcat.c: Remove declaration of
605 get_sysdep_segment_value.
606 (get_sysdep_segment_value): Use ISO C style.
607 (_nl_load_domain): Use ISO C style. Get rid of redundant
608 semicolon. Fix typo and formatting in comment.
609 (_nl_unload_domain): Use ISO C style.
611 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
613 2014-07-02 Will Newton <will.newton@linaro.org>
615 * malloc/obstack.c: Merge from gnulib master.
616 [HAVE_CONFIG_H]: Remove conditional code.
617 [!_LIBC]: Include config.h.
618 [!ELIDE_CODE]: Don't include inttypes.h, include
619 stdint.h unconditionally.
620 (print_and_abort): Mark as _Noreturn.
621 (_obstack_allocated_p): Mark as __attribute_pure__.
622 (obstack_free): Rename to __obstack_free.
623 [!__attribute__]: Remove conditional code.
624 * malloc/obstack.h: Merge from gnulib master.
625 [__cplusplus]: Move conditional down.
626 [!__attribute_pure__]: Define __attribute_pure__ here
627 if it is not already defined.
628 (_obstack_memory_used): Mark as __attribute_pure__.
629 [!__obstack_free]: Define as obstack_free.
630 [__GNUC__]: Remove check for ancient NeXT gcc.
632 2014-07-02 Will Newton <will.newton@linaro.org>
633 Paul Eggert <eggert@cs.ucla.edu>
635 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
637 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
639 * resolv/gethnamaddr.c: Add comment warning that the file is
642 2014-07-01 Carlos O'Donell <carlos@redhat.com>
644 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
647 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
648 entry for aio_cancel and aio_cancel64.
649 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
650 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
651 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
652 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
653 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
654 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
655 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
656 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
657 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
658 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
659 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
660 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
661 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
663 2014-07-01 Roland McGrath <roland@hack.frob.com>
665 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
666 * nptl/pthread_mutex_lock.c: Likewise.
667 * nptl/pthread_mutex_timedlock.c: Likewise.
668 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
670 2014-07-01 Richard henderson <rth@redhat.com>
672 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
673 (__isnan, __isnanl): Remove.
674 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
676 * sysdeps/alpha/fpu/libm-test-ulps: Update.
678 2014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
680 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
682 2014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
684 * resolv/nss_dns/dns-host.c (getanswer_r)
685 [MULTI_PTRS_ARE_ALIASES]: Remove code.
687 2014-07-01 Joseph Myers <joseph@codesourcery.com>
689 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
690 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
692 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
693 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
695 2014-07-01 Roland McGrath <roland@hack.frob.com>
697 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
698 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
700 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
701 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
703 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
704 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
706 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
707 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
709 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
710 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
711 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
712 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
714 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
715 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
716 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
717 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
718 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
720 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
722 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
723 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
724 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
725 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
726 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
727 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
728 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
729 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
730 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
731 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
732 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
733 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
734 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
735 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
736 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
737 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
738 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
739 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
740 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
741 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
743 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
744 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
745 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
746 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
747 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
748 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
749 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
750 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
752 2014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
754 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
755 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
756 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
759 2014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
761 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
763 2014-06-30 Joseph Myers <joseph@codesourcery.com>
765 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
766 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
768 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
770 * sysdeps/arm/libm-test-ulps: Regenerated.
772 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
773 Roland McGrath <roland@hack.frob.com>
775 * test-skeleton.c (signal_handler): Kill the whole process group
776 before killing the child individually.
777 (main): Report any failure on `setpgid'.
779 2014-06-30 Roland McGrath <roland@hack.frob.com>
781 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
782 from _TLS_H to _ARM_NPTL_TLS_H.
783 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
784 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
786 2014-06-30 Joseph Myers <joseph@codesourcery.com>
789 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
790 (__expm1l): Return argument unchanged when small but not
793 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
795 (_FP_UNPACK_RAW_1_P): Likewise.
796 (_FP_PACK_RAW_1): Likewise.
797 (_FP_PACK_RAW_1_P): Likewise.
798 (_FP_MUL_MEAT_1_wide): Likewise.
799 (_FP_MUL_MEAT_DW_1_hard): Likewise.
800 (_FP_MUL_MEAT_1_hard): Likewise.
801 (_FP_DIV_MEAT_1_imm): Likewise.
802 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
803 (_FP_DIV_MEAT_1_udiv): Likewise.
804 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
805 (_FP_UNPACK_RAW_2): Likewise.
806 (_FP_UNPACK_RAW_2_P): Likewise.
807 (_FP_PACK_RAW_2): Likewise.
808 (_FP_PACK_RAW_2_P): Likewise.
809 (_FP_MUL_MEAT_DW_2_wide): Likewise.
810 (_FP_MUL_MEAT_2_wide): Likewise.
811 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
812 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
813 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
814 (_FP_MUL_MEAT_2_gmp): Likewise.
815 (_FP_DIV_MEAT_2_udiv): Likewise.
816 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
817 (_FP_FRAC_SRL_4): Likewise.
818 (_FP_FRAC_SRST_4): Likewise.
819 (_FP_FRAC_SRS_4): Likewise.
820 (_FP_UNPACK_RAW_4): Likewise.
821 (_FP_UNPACK_RAW_4_P): Likewise.
822 (_FP_PACK_RAW_4): Likewise.
823 (_FP_PACK_RAW_4_P): Likewise.
824 (_FP_MUL_MEAT_DW_4_wide): Likewise.
825 (_FP_MUL_MEAT_4_wide): Likewise.
826 (_FP_MUL_MEAT_4_gmp): Likewise.
827 (umul_ppppmnnn): Likewise.
828 (_FP_DIV_MEAT_4_udiv): Likewise.
829 (__FP_FRAC_ADD_4): Likewise.
830 (__FP_FRAC_SUB_3): Likewise.
831 (__FP_FRAC_SUB_4): Likewise.
832 (__FP_FRAC_DEC_3): Likewise.
833 (__FP_FRAC_DEC_4): Likewise.
834 (__FP_FRAC_ADDI_4): Likewise.
835 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
836 (_FP_FRAC_SRL_8): Likewise.
837 (_FP_FRAC_SRS_8): Likewise.
839 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
841 (FP_UNPACK_RAW_EP): Likewise.
842 (FP_PACK_RAW_E): Likewise.
843 (FP_PACK_RAW_EP): Likewise.
844 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
845 (_FP_ISSIGNAN): Likewise.
846 (_FP_ADD_INTERNAL): Likewise.
849 (_FP_SQRT): Likewise.
850 (_FP_TO_INT): Likewise.
851 (_FP_FROM_INT): Likewise.
852 (FP_EXTEND): Likewise.
853 (_FP_DIV_MEAT_N_loop): Likewise.
855 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
857 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
860 2014-06-29 Joseph Myers <joseph@codesourcery.com>
863 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
864 result with correct sign in case of exponents that produce
865 overflow except for X very close to 1.
867 2014-06-28 Paul Eggert <eggert@cs.ucla.edu>
869 mktime: merge #if/#ifdef usage from glibc
870 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
871 as that works with both Glibc's and Gnulib's style.
872 See thread starting at Siddhesh Poyarekar's bug report at:
873 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
875 2014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
877 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
878 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
879 * sysdeps/tile/tilegx/memmove.c: Remove file.
881 2014-06-27 Joseph Myers <joseph@codesourcery.com>
883 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
885 * scripts/soversions.awk: Do not handle or generate ABI lines.
886 * shlib-versions: Remove ABI entries.
887 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
888 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
890 2014-06-27 Roland McGrath <roland@hack.frob.com>
892 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
893 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
894 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
895 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
896 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
897 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
898 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
900 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
902 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
903 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
904 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
905 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
906 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
907 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
908 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
909 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
910 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
911 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
912 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
913 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
914 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
916 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
917 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
918 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
919 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
920 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
921 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
923 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
924 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
926 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
927 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
928 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
929 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
931 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
932 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
933 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
934 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
935 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
936 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
937 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
938 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
940 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
941 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
942 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
943 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
945 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
946 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
948 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
949 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
950 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
951 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
953 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
955 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
956 Identical file removed.
957 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
959 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
960 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
961 Identical file removed.
962 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
963 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
964 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
966 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
967 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
968 Identical file removed.
969 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
970 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
971 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
972 Identical file removed.
973 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
974 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
975 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
976 Identical file removed.
977 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
978 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
979 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
980 Identical file removed.
981 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
983 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
984 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
985 Identical file removed.
986 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
988 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
989 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
990 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
991 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
992 Identical file removed.
993 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
995 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
997 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
998 Identical file removed.
999 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
1001 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
1002 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
1003 Identical file removed.
1004 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
1006 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
1007 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
1008 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
1009 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
1010 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
1011 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
1013 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
1014 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
1015 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
1017 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
1018 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
1019 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
1020 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
1021 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
1023 2014-06-27 Arjun Shankar <arjun.is@lostca.se>
1026 * nscd/nscd.c (monitor_child): Return exit status of child
1027 instead of return value from wait syscall.
1029 2014-06-27 Joseph Myers <joseph@codesourcery.com>
1031 * configure.ac (libc_commonpagesize): Remove variable.
1032 (libc_relro_required): Likewise.
1033 (libc_cv_z_relro): Remove configure test.
1034 * configure: Regenerated.
1035 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
1037 (libc_relro_required): Likewise.
1038 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
1039 (libc_relro_required): Likewise.
1040 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
1041 (libc_relro_required): Likewise.
1042 * sysdeps/arm/preconfigure: Regenerated.
1043 * sysdeps/ia64/preconfigure: Remove file.
1044 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
1046 (libc_relro_required): Likewise.
1050 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
1051 (__ieee754_yn): Set FE_TONEAREST mode internally and then
1052 recompute overflowing results in original rounding mode.
1053 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
1054 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
1055 recompute overflowing results in original rounding mode.
1056 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
1057 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
1058 recompute overflowing results in original rounding mode.
1059 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
1060 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
1061 recompute overflowing results in original rounding mode.
1062 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
1063 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
1064 recompute overflowing results in original rounding mode.
1065 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
1066 (libc_feholdsetround_ctx): New macro.
1067 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
1068 * sysdeps/i386/fpu/libm-test-ulps: Update.
1069 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
1071 2014-06-26 Joseph Myers <joseph@codesourcery.com>
1073 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
1074 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
1075 corresponding .cpsetup call.
1077 2014-06-26 Roland McGrath <roland@hack.frob.com>
1079 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
1080 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
1081 * sysdeps/arm/Makefile [$(subdir) = csu]
1082 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
1083 (static-only-routines): Add aeabi_read_tp here.
1084 (shared-only-routines): Add libc-aeabi_read_tp here.
1085 (CFLAGS-libc-start.c): Add -fexceptions here.
1086 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
1087 (sysdep_routines, static-only-routines, shared-only-routines):
1088 Don't add to these here.
1089 (CFLAGS-libc-start.c): Likewise.
1091 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
1092 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
1093 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
1094 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
1095 * sysdeps/arm/Makefile [$(subdir) = rt]
1096 (librt-sysdep_routines, librt-shared-only-routines):
1097 Append rt-aeabi_unwind_cpp_pr1 here.
1098 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
1099 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
1100 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
1101 (libpthread-sysdep_routines, libpthread-shared-only-routines):
1102 Append nptl-aeabi_unwind_cpp_pr1 here.
1103 (tests): Filter out tst-cleanupx4 here.
1104 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
1105 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
1106 Don't do those here.
1108 2014-06-26 Joseph Myers <joseph@codesourcery.com>
1110 * scripts/list-sources.sh: Do not handle ports specially.
1112 2014-06-26 Roland McGrath <roland@hack.frob.com>
1114 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
1115 * sysdeps/arm/feupdateenv.c: Likewise.
1117 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
1119 2014-06-26 Joseph Myers <joseph@codesourcery.com>
1121 * manual/texinfo.tex: Update to version 2014-05-05.10 with
1122 trailing whitespace removed.
1123 * scripts/config.guess: Update to version 2014-03-23.
1124 * scripts/config.sub: Update to version 2014-05-01
1125 * scripts/install-sh: Update to version 2013-12-25.23.
1126 * scripts/move-if-change: Update from gnulib.
1128 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1130 * debug/memmove_chk.c: Remove pagecopy.h include.
1132 2014-06-26 Paul Eggert <eggert@cs.ucla.edu>
1134 * time/mktime.c (leapyear): Remove inline keyword. The code is now
1135 identical to gnulib mktime.
1137 2014-06-26 Joseph Myers <joseph@codesourcery.com>
1139 * configure.ac: Do not test for machine being rs6000. Do not test
1141 * configure: Regenerated.
1143 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
1145 * configure: Regenerated.
1146 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
1147 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
1148 Remove configure test.
1149 * sysdeps/arm/configure: Regenerated.
1150 * sysdeps/nptl/configure.ac: Do not check
1151 libc_cv_asm_cfi_directives.
1152 * sysdeps/nptl/configure: Regenerated.
1153 * sysdeps/x86_64/nptl/configure.ac: Remove file.
1154 * sysdeps/x86_64/nptl/configure: Remove generated file.
1155 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
1157 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
1159 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1161 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
1162 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
1163 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
1166 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
1167 instead of whether it is defined.
1168 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
1169 * sysdeps/hppa/dl-machine.h: Likewise.
1170 * sysdeps/ia64/dl-machine.h: Likewise.
1171 * sysdeps/m68k/dl-machine.h: Likewise.
1172 * sysdeps/microblaze/dl-machine.h: Likewise.
1173 * sysdeps/mips/dl-machine.: Likewise.
1174 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
1175 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
1176 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
1177 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
1178 * sysdeps/sh/dl-machine.h: Likewise.
1179 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
1180 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
1181 * sysdeps/tile/dl-machine.h: Likewise.
1182 * sysdeps/x86_64/dl-machine.h: Likewise.
1184 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
1186 (verify_persistent_db): Likewise.
1188 2014-06-26 Roland McGrath <roland@hack.frob.com>
1190 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
1191 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
1192 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
1193 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
1194 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
1196 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
1198 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
1199 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
1200 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
1201 Identical file removed.
1202 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
1203 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
1204 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
1205 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
1206 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
1207 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
1208 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
1209 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
1210 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
1211 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
1212 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
1214 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
1215 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
1216 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
1217 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
1218 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
1219 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
1221 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
1222 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
1223 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
1224 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
1225 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
1226 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
1227 Identical file removed.
1228 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
1229 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
1230 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
1231 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
1232 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
1234 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
1236 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
1237 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
1238 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
1239 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
1240 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
1241 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
1242 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
1243 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
1244 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
1245 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
1246 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
1248 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
1249 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
1251 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
1252 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
1253 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
1254 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
1256 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
1257 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
1258 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
1260 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
1262 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
1263 * sysdeps/unix/sysv/linux/s390/Versions
1264 (libpthread: GLIBC_2.19): New version set.
1265 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
1266 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
1267 (librt: GLIBC_2.3.3): New version set.
1268 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
1269 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
1270 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
1271 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
1272 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
1273 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
1274 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
1275 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
1276 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
1277 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
1278 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
1279 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
1280 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
1281 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
1282 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
1283 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
1284 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
1285 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
1286 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
1287 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
1288 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
1289 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
1290 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
1291 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
1292 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
1293 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
1294 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
1295 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
1296 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
1297 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
1298 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
1299 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
1300 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
1301 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
1302 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
1303 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
1304 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
1305 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
1306 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
1307 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
1308 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
1309 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
1310 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
1311 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
1312 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
1314 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
1315 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
1316 (__libc_vfork): Define the function under this name.
1317 [!NOT_IN_libc] (__vfork): Make this an alias.
1318 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
1319 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
1320 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
1321 (__libc_vfork): Define the function under this name.
1322 [!NOT_IN_libc] (__vfork): Make this an alias.
1323 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
1324 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
1325 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
1326 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
1327 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
1328 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
1330 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
1331 code that was previously under [RESET_PID].
1332 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
1333 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
1334 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
1336 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
1337 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
1338 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
1339 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
1340 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
1341 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
1342 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
1343 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
1344 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
1345 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
1346 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
1348 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
1349 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
1350 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
1351 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
1352 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
1353 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
1354 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
1355 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
1356 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
1357 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
1358 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
1359 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
1360 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
1361 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
1362 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
1363 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
1364 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
1365 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
1366 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
1367 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
1368 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
1369 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
1370 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
1371 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
1372 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
1373 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
1374 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
1375 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
1376 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
1378 2014-06-25 Roland McGrath <roland@hack.frob.com>
1380 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
1381 that was previously under [RESET_PID].
1382 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
1384 2014-06-25 Joseph Myers <joseph@codesourcery.com>
1386 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
1387 not undefine and redefine.
1388 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
1389 [O_CLOEXEC]: Make code unconditional.
1390 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
1391 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
1392 <kernel-features.h>.
1393 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
1394 conditional variable definition.
1395 (shm_open) [O_CLOEXEC]: Make code unconditional.
1396 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
1399 * configure.ac (USE_REGPARMS): Don't define here.
1400 * configure: Regenerated.
1401 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
1402 * sysdeps/i386/configure: Regenerated.
1404 * nptl/createthread.c: Don't include kernel-features.h.
1405 * nptl/pthread_cancel.c: Likewise.
1406 * nptl/pthread_condattr_setclock.c: Likewise.
1407 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
1408 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
1409 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
1410 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
1411 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
1412 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
1413 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
1414 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
1415 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
1416 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
1417 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
1418 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
1419 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
1420 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
1421 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
1422 * nscd/gai.c: Likewise.
1423 * nss/nss_db/db-open.c: Likewise.
1424 * sysdeps/generic/ldsodefs.h: Likewise.
1425 * sysdeps/sh/nptl/tls.h: Likewise.
1426 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
1427 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
1428 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
1429 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
1430 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
1431 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
1432 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
1433 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
1434 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
1435 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
1436 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
1437 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
1438 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
1439 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
1440 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
1441 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
1442 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
1443 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
1444 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
1445 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
1446 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
1447 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
1448 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
1449 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
1450 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
1451 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
1452 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
1453 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
1454 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
1455 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
1456 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
1457 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
1458 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
1459 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
1460 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
1461 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
1462 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
1463 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
1464 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
1465 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
1466 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
1467 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
1468 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
1469 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
1470 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
1471 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
1472 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
1473 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
1474 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
1475 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
1476 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
1477 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
1478 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
1479 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
1480 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
1481 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
1482 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
1483 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
1484 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
1485 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
1486 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
1487 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
1488 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
1489 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
1490 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
1491 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
1492 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
1493 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
1494 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
1495 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
1496 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
1497 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
1498 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
1499 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
1500 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
1501 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
1502 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
1503 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
1504 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
1505 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
1506 * sysdeps/unix/sysv/linux/pread.c: Likewise.
1507 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
1508 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
1509 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
1510 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
1511 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
1512 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
1513 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
1514 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
1515 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
1516 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
1517 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
1518 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
1519 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
1520 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
1521 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
1522 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
1523 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
1524 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
1525 * sysdeps/unix/sysv/linux/system.c: Likewise.
1526 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
1527 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
1528 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
1529 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
1530 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
1531 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
1532 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
1534 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
1535 * configure: Regenerated.
1536 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
1538 * configure.ac (base_machine): Do not set specially for particular
1540 * configure: Regenerated.
1541 * sysdeps/powerpc/preconfigure: Move machine and base_machine
1542 settings from configure.ac.
1543 * sysdeps/i386/preconfigure: New file.
1544 * sysdeps/s390/preconfigure: Likewise.
1545 * sysdeps/sh/preconfigure: Likewise.
1546 * sysdeps/sparc/preconfigure: Likewise.
1548 2014-06-25 Roland McGrath <roland@hack.frob.com>
1550 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
1551 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
1552 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
1553 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
1554 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
1555 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
1556 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
1557 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
1558 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
1559 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
1560 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
1561 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
1562 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
1563 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
1564 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
1565 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
1566 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
1567 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
1568 * sysdeps/sparc/sparc64/Makefile: ... appended here.
1570 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
1571 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
1572 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
1573 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
1574 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
1575 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
1576 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
1577 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
1578 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
1579 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
1580 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
1581 * sysdeps/sparc/sparc32/sem_post.c: ... here.
1582 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
1583 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
1584 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
1585 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
1586 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
1587 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
1588 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
1589 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
1590 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
1591 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
1592 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
1593 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
1594 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
1595 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
1596 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
1597 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
1598 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
1599 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
1600 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
1601 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
1602 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
1603 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
1604 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
1605 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
1606 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
1607 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
1609 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
1610 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
1611 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
1612 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
1613 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
1615 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
1617 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
1618 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
1619 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
1620 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
1621 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
1623 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
1624 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
1625 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
1626 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
1627 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
1628 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
1629 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
1630 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
1632 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
1633 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
1635 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
1636 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
1637 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
1638 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
1640 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
1641 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
1642 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
1643 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
1644 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
1645 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
1646 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
1647 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
1648 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
1649 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
1651 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
1653 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
1654 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
1655 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
1656 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
1657 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
1659 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
1660 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
1661 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
1662 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
1663 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
1664 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
1665 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
1666 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
1668 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
1669 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
1671 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
1672 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
1673 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
1674 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
1676 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
1677 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
1678 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
1679 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
1680 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
1682 2014-06-25 Joseph Myers <joseph@codesourcery.com>
1684 * timezone/checktab.awk: Update from tzcode 2014e.
1685 * timezone/private.h: Likewise.
1686 * timezone/tzfile.h: Likewise.
1687 * timezone/zdump.c: Likewise.
1688 * timezone/zic.c: Likewise.
1690 * sysdeps/unix/sysv/linux/kernel-features.h
1691 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
1692 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
1693 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
1694 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
1695 Remove conditional code.
1697 2014-06-25 Will Newton <will.newton@linaro.org>
1699 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
1700 (_dl_arm_cap_flags): Add HWCAP2 values.
1701 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
1702 (_DL_HWCAP_COUNT): Increase to 37.
1703 (_DL_HWCAP_LAST): New define.
1704 (_DL_HWCAP2_LAST): New define.
1705 (_dl_procinfo): Add support for printing
1707 (_dl_string_hwcap): Use _dl_hwcap_string.
1709 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1711 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1713 2014-06-25 Joseph Myers <joseph@codesourcery.com>
1715 * README: Do not mention ports directory.
1717 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
1719 * sysdeps/unix/sysv/linux/futimes.c: Do not include
1720 <kernel-features.h>.
1721 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
1722 conditional variable definition.
1723 (__futimes): Update comment.
1724 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
1725 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
1728 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
1729 arguments close to 0.
1730 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
1732 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
1734 * math/auto-libm-test-in: Add more tests of exp10.
1735 * math/auto-libm-test-out: Regenerated.
1736 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1738 * sysdeps/unix/sysv/linux/kernel-features.h
1739 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
1740 * sysdeps/unix/sysv/linux/readv.c: Do not include
1741 <kernel-features.h>.
1742 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
1743 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
1744 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
1746 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
1748 * sysdeps/unix/sysv/linux/writev.c: Do not include
1749 <kernel-features.h>.
1750 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
1751 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
1752 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
1754 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
1757 2014-06-25 Will Newton <will.newton@linaro.org>
1759 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
1760 comment changes throughout the file. Remove checks
1761 for HAVE_*_H definitions that are not required.
1762 (__gen_tempname): Call abort if an unknown kind value is
1765 2014-06-25 Andreas Schwab <schwab@suse.de>
1768 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
1769 scalbln, scalblnf, scalblnl in libc.
1771 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
1774 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
1775 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
1776 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
1778 2014-06-24 Roland McGrath <roland@hack.frob.com>
1780 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
1781 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
1782 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
1783 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
1785 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
1786 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
1788 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
1789 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
1790 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
1791 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
1792 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
1793 * sysdeps/x86/bits/pthreadtypes.h: ... here.
1794 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
1795 * sysdeps/x86/bits/semaphore.h: ... here.
1796 * sysdeps/x86/nptl/elide.h: Moved ...
1797 * sysdeps/x86/elide.h: ... here.
1798 * sysdeps/x86_64/nptl/Implies: File removed.
1799 * sysdeps/i386/nptl/Implies: File removed.
1801 2014-06-24 Joseph Myers <joseph@codesourcery.com>
1804 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
1805 return the argument for normal arguments with exponent below -64.
1806 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
1808 * math/auto-libm-test-in: Add another test of expm1.
1809 * math/auto-libm-test-out: Regenerated.
1812 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
1813 calling __erfcl for arguments at least 16.
1814 * math/auto-libm-test-in: Add more tests of erf.
1815 * math/auto-libm-test-out: Regenerated.
1817 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
1818 individual architectures.
1819 * sysdeps/unix/sysv/linux/configure: Regenerated.
1820 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
1821 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
1822 * sysdeps/unix/sysv/linux/powerpc/configure.ac
1823 (ldd_rewrite_script): Define variable.
1824 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
1825 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
1827 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
1829 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
1830 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
1831 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
1832 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
1833 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
1834 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
1835 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
1836 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
1838 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
1841 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
1842 Rename member __data.d to __data.__elision_data.
1844 2014-06-24 Wilco <wdijkstr@arm.com>
1846 * NEWS: Add 16918 to fixed bug list.
1848 2014-06-24 Wilco <wdijkstr@arm.com>
1850 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
1852 2014-06-24 Wilco <wdijkstr@arm.com>
1854 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
1855 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
1856 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
1857 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
1858 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
1859 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
1860 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
1863 2014-06-24 Wilco <wdijkstr@arm.com>
1865 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
1867 2014-06-24 Wilco <wdijkstr@arm.com>
1869 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
1870 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
1871 * sysdeps/arm/fesetround.c (fesetround): Remove space.
1872 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
1874 2014-06-24 Wilco <wdijkstr@arm.com>
1877 * sysdeps/arm/feupdateenv.c (feupdateenv):
1878 Rewrite to reduce FPSCR accesses and fix return value.
1880 2014-06-24 Wilco <wdijkstr@arm.com>
1882 * sysdeps/arm/fclrexcpt.c (feclearexcept):
1883 Optimize to avoid unnecessary FPSCR writes.
1884 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
1885 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
1886 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
1887 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
1889 2014-06-24 Wilco <wdijkstr@arm.com>
1891 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
1892 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
1893 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
1894 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
1895 Call libc_fetestexcept_vfp.
1896 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
1897 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
1898 __SOFTFP__ ifdef so that they can be built for softfp.
1900 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
1902 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
1903 argument type signed char.
1905 * Makerules (check-abi): Dump diff of symlist if the test
1908 2014-06-23 Roland McGrath <roland@hack.frob.com>
1910 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
1913 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
1914 Remove unused variable ST.
1916 2014-06-23 Joseph Myers <joseph@codesourcery.com>
1920 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
1921 small arguments before calling __expm1.
1922 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
1923 small arguments before calling __expm1f.
1924 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
1925 small arguments before calling __expm1l.
1926 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
1928 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
1929 * math/auto-libm-test-in: Add more cosh tests. Do not allow
1930 spurious underflow for some cosh tests.
1931 * math/auto-libm-test-out: Regenerated.
1932 * sysdeps/i386/fpu/libm-test-ulps: Update.
1935 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
1936 (__ieee754_y1): Set errno if return value overflows.
1937 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
1938 (__ieee754_y1f): Set errno if return value overflows.
1939 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
1940 (__ieee754_y1l): Set errno if return value overflows.
1941 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
1942 (__ieee754_y1l): Set errno if return value overflows.
1943 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
1944 * math/auto-libm-test-out: Regenerated.
1946 * math/gen-auto-libm-tests.c: Document use of
1947 ignore-zero-inf-sign.
1948 (input_flag_type): Add value flag_ignore_zero_inf_sign.
1949 (input_flags): Add ignore-zero-inf-sign.
1950 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
1951 * math/gen-libm-test.pl (generate_testfile): Handle
1952 ignore-zero-inf-sign.
1953 * math/auto-libm-test-in: Mark some cpow tests with
1954 ignore-zero-inf-sign and some with xfail-rounding.
1955 * math/auto-libm-test-out: Regenerated.
1956 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
1957 * sysdeps/i386/fpu/libm-test-ulps: Update.
1958 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1961 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
1962 overflowing or underflowing operations take place with sign of
1964 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
1965 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
1966 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
1967 (__ieee754_pow): Recompute overflowing and underflowing results in
1968 original rounding mode.
1969 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
1970 (__powl_helper): Allow negative argument X and scale negated value
1971 as needed. Avoid passing value outside [-1, 1] to f2xm1.
1972 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
1973 overflowing or underflowing operations take place with sign of
1975 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
1977 * math/auto-libm-test-in: Add more tests of pow.
1978 * math/auto-libm-test-out: Regenerated.
1979 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
1980 (pow_tonearest_test_data): Remove.
1981 (pow_test_tonearest): Likewise.
1982 (pow_towardzero_test_data): Likewise.
1983 (pow_test_towardzero): Likewise.
1984 (pow_downward_test_data): Likewise.
1985 (pow_test_downward): Likewise.
1986 (pow_upward_test_data): Likewise.
1987 (pow_test_upward): Likewise.
1988 (main): Don't call removed functions.
1989 * sysdeps/i386/fpu/libm-test-ulps: Update.
1990 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1992 2014-06-23 Roland McGrath <roland@hack.frob.com>
1994 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
1996 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
1997 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1999 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
2000 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
2002 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
2003 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
2005 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
2006 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
2008 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
2010 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
2012 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
2014 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
2016 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
2018 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
2020 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
2022 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
2024 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
2026 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
2028 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
2030 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
2032 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
2033 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
2035 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
2037 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
2039 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
2040 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
2042 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
2043 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
2045 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
2046 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
2048 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
2049 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
2051 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
2052 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
2054 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
2055 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
2057 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
2058 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
2059 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
2061 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
2063 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
2064 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
2066 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
2068 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
2070 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2072 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
2074 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
2076 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
2078 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
2079 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
2081 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
2082 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
2083 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
2084 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
2086 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
2088 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
2090 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
2092 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
2094 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
2095 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
2097 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
2098 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
2100 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
2101 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2103 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
2104 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
2106 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
2108 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
2110 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
2111 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
2113 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
2114 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
2116 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
2117 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
2119 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
2120 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
2121 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
2122 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
2124 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
2125 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
2127 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
2128 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
2130 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
2132 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
2134 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
2136 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
2138 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
2140 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
2142 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
2143 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
2145 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
2146 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
2148 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
2149 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
2151 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
2153 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
2155 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
2157 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
2159 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
2161 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
2163 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
2164 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
2166 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
2168 2014-06-23 Will Newton <will.newton@linaro.org>
2169 Wilco <wdijkstr@arm.com>
2171 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
2172 implementation. Include get-rounding-mode.h.
2173 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
2174 [!libc_feholdsetround_noex_ctx]: Define
2175 libc_feholdsetround_noex_ctx.
2176 [!libc_feholdsetround_noexf_ctx]: Define
2177 libc_feholdsetround_noexf_ctx.
2178 [!libc_feholdsetround_noexl_ctx]: Define
2179 libc_feholdsetround_noexl_ctx.
2180 (libc_feholdsetround_ctx): New function.
2181 (libc_feresetround_ctx): New function.
2182 (libc_feholdsetround_noex_ctx): New function.
2183 (libc_feresetround_noex_ctx): New function.
2185 2014-06-23 Roland McGrath <roland@hack.frob.com>
2187 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
2188 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
2189 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
2190 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
2191 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
2192 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
2194 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
2195 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
2196 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
2197 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
2198 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
2199 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
2200 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
2201 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
2202 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
2203 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
2204 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
2206 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
2208 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
2209 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
2210 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
2211 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
2212 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
2214 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
2215 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
2216 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
2217 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
2218 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
2219 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
2220 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
2221 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
2223 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
2224 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
2226 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
2227 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
2228 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
2229 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
2231 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
2232 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
2233 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
2234 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
2235 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
2236 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
2237 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
2238 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
2239 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
2240 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
2242 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
2244 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
2245 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
2246 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
2247 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
2248 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
2249 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
2250 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
2251 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
2252 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
2253 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
2254 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
2255 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
2256 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
2258 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
2259 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
2260 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
2261 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
2262 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
2263 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
2265 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
2266 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
2267 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
2268 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
2269 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
2271 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
2272 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
2273 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
2274 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
2275 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
2276 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
2277 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
2278 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
2279 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
2280 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
2281 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
2282 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
2283 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
2284 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
2285 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
2286 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
2287 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
2288 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
2289 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
2290 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
2291 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
2292 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
2293 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
2294 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
2295 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
2296 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
2297 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
2298 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
2300 2014-06-23 Joseph Myers <joseph@codesourcery.com>
2302 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
2303 (FALLOC_FL_COLLAPSE_RANGE): New macro.
2304 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
2305 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
2306 (IPV6_PMTUDISC_INTERFACE): Likewise.
2307 (IPV6_PMTUDISC_OMIT): Likewise.
2309 2014-06-23 Andreas Schwab <schwab@suse.de>
2311 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
2312 Remove unused errout label.
2314 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2316 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
2317 macro: hardware supports Vector Crypto instructions.
2319 2014-06-23 Will Newton <will.newton@linaro.org>
2321 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
2322 rather than __builtin_expect.
2324 * elf/dl-lookup.c (undefined_msg): Remove variable.
2325 (_dl_lookup_symbol_x): Replace undefined_msg with string
2328 * elf/dl-lookup.c (do_lookup_unique): New function.
2329 (do_lookup_x): Move STB_GNU_UNIQUE handling code
2330 to a separate function.
2332 2014-06-23 Andreas Schwab <schwab@suse.de>
2335 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
2336 before reading the next line.
2338 2014-06-23 Will Newton <will.newton@linaro.org>
2340 * test-skeleton.c (signal_handler): Use printf and %m
2341 rather than perror. Use printf rather than fprintf to
2342 stderr. Use puts rather than fputs to stderr.
2345 2014-06-22 Ludovic Courtès <ludo@gnu.org>
2347 * nscd/nscd.c (thread_info_t): Remove typedef.
2348 (thread_info): Remove variable.
2350 2014-06-21 Allan McRae <allan@archlinux.org>
2352 * NEWS: Mention CVE-2014-4043.
2354 2014-06-20 Roland McGrath <roland@hack.frob.com>
2356 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
2357 * nptl/smp.h: ... here.
2359 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
2361 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
2362 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
2363 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
2364 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
2366 * nptl/allocatestack.c: Include <stack-aliasing.h>.
2367 * nptl/stack-aliasing.h: New file.
2368 * sysdeps/i386/i686/stack-aliasing.h: New file.
2369 * sysdeps/i386/i686/nptl/Makefile: File removed.
2370 * sysdeps/x86_64/stack-aliasing.h: New file.
2371 * sysdeps/x86_64/nptl/Makefile
2372 (CFLAGS-pthread_create.c): Variable removed.
2374 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
2375 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
2377 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
2378 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
2381 2014-06-21 Joseph Myers <joseph@codesourcery.com>
2383 * sysdeps/unix/sysv/linux/arm/kernel-features.h
2384 (__ASSUME_SIGFRAME_V2): Remove macro.
2385 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
2386 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
2387 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
2388 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
2389 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
2390 Declare as function. Remove conditional macro definitions.
2391 (__default_rt_sa_restorer): Likewise.
2392 (__default_sa_restorer_v1): Remove declaration.
2393 (__default_sa_restorer_v2): Likewise.
2394 (__default_rt_sa_restorer_v1): Likewise.
2395 (__default_rt_sa_restorer_v2): Likewise.
2396 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
2397 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
2398 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
2400 2014-06-20 Roland McGrath <roland@hack.frob.com>
2402 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
2403 (libpthread-routines): Add sysdep.
2404 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
2405 * sysdeps/unix/sysv/linux/sparc/Versions
2406 (libpthread: GLIBC_2.3.3): New version set.
2407 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
2408 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
2409 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
2410 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
2411 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
2412 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
2414 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
2415 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
2416 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
2417 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
2418 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
2419 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
2420 * sysdeps/sparc/nptl/sem_init.c: ... here.
2421 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
2422 * sysdeps/sparc/nptl/sem_post.c: ... here.
2423 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
2424 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
2425 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
2426 * sysdeps/sparc/nptl/sem_wait.c: ... here.
2427 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
2428 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
2429 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
2430 (libpthread-routines): Add cpu_relax.
2431 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
2433 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
2434 (librt: GLIBC_2.3.3): New version set.
2435 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
2436 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
2437 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
2438 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
2439 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
2440 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
2441 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
2442 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
2444 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
2445 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
2446 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
2447 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
2448 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
2449 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
2450 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
2451 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
2452 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
2453 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
2455 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
2457 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
2459 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
2461 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
2463 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
2465 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
2467 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
2469 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
2471 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
2473 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
2475 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
2477 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
2478 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
2479 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
2480 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
2481 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
2482 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
2483 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
2484 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
2485 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
2486 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
2487 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
2489 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
2490 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
2491 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
2492 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
2493 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
2495 2014-06-20 Joseph Myers <joseph@codesourcery.com>
2497 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
2498 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
2499 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
2500 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
2501 * nscd/nscd.c: Likewise.
2502 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
2503 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
2504 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
2505 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
2507 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
2508 <kernel-features.h>.
2509 (init_mq_netlink): Remove conditional have_sock_cloexec
2510 definitions. Remove code conditional on have_sock_cloexec < 0.
2511 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
2512 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
2513 * sysdeps/unix/sysv/linux/opensock.c: Do not include
2514 <kernel-features.h>.
2515 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
2516 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
2518 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
2520 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
2521 Add tests for memset_chk and memset.
2523 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
2526 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
2529 * elf/tst-dl-iter-static.c: New file.
2530 * elf/Makefile (tests-static): Add tst-dl-iter-static.
2532 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
2535 2014-06-20 Joseph Myers <joseph@codesourcery.com>
2537 * sysdeps/unix/sysv/linux/kernel-features.h
2538 (__ASSUME_F_GETOWN_EX): Remove macro.
2539 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
2540 <kernel-features.h>.
2541 (miss_F_GETOWN_EX): Remove variable or macro.
2542 (do_fcntl): Do not check miss_F_GETOWN_EX.
2543 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
2545 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
2547 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
2548 [!__ASSUME_AT_RANDOM]: Remove conditional code.
2549 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
2551 * sysdeps/unix/sysv/linux/kernel-features.h
2552 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
2553 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
2554 [ADJ_OFFSET_SS_READ]: Make code unconditional.
2555 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
2557 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
2560 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
2561 Fix calculation of the symbol's value.
2562 * sysdeps/arm/tst-armtlsdescloc.c: New file.
2563 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
2564 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
2565 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
2566 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
2567 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
2568 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
2569 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
2570 (modules-names): Add `tst-armtlsdescmod',
2571 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
2572 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
2573 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
2574 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
2575 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
2576 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
2577 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
2578 ($(objpfx)tst-armtlsdescloc): New dependency.
2579 ($(objpfx)tst-armtlsdescextnow): Likewise.
2580 ($(objpfx)tst-armtlsdescextlazy): Likewise.
2581 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
2583 * sysdeps/arm/configure: Regenerate.
2585 2014-06-20 Joseph Myers <joseph@codesourcery.com>
2587 * include/fcntl.h (__atfct_seterrno): Remove prototype.
2588 (__atfct_seterrno_2): Likewise.
2589 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
2590 <kernel-features.h>.
2591 (__ASSUME_ATFCTS): Do not undefine and redefine.
2592 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
2593 (__have_atfcts): Remove conditional definition.
2594 (__fxstatat([__NR_fstatat64]: Make code unconditional.
2595 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
2596 unreachable if [__ASSUME_ATFCTS].
2597 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
2598 not undefine and redefine.
2599 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
2600 <kernel-features.h>.
2601 (faccessat) [__NR_faccessat]: Make code unconditional.
2602 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
2603 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
2604 <kernel-features.h>.
2605 (fchmodat) [__NR_fchmodat]: Make code unconditional.
2606 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
2607 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
2608 <kernel-features.h>.
2609 (fchownat) [__NR_fchownat]: Make code unconditional.
2610 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
2611 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
2612 <kernel-features.h>.
2613 (futimesat) [__NR_futimesat]: Make code unconditional.
2614 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
2615 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
2616 <kernel-features.h>.
2617 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
2618 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
2619 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
2620 <kernel-features.h>.
2621 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
2622 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
2623 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
2624 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
2625 <kernel-features.h>.
2626 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
2627 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
2628 * sysdeps/unix/sysv/linux/linkat.c: Do not include
2629 <kernel-features.h>.
2630 (linkat) [__NR_linkat]: Make code unconditional.
2631 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
2632 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
2633 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
2634 <kernel-features.h>.
2635 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
2636 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
2637 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
2638 <kernel-features.h>.
2639 (mkdirat) [__NR_mkdirat]: Make code unconditional.
2640 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
2641 * sysdeps/unix/sysv/linux/openat.c: Do not include
2642 <kernel-features.h>.
2643 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
2644 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
2645 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
2646 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
2647 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
2648 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
2649 <kernel-features.h>.
2650 (readlinkat) [__NR_readlinkat]: Make code unconditional.
2651 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
2652 result of INLINE_SYSCALL directly, not via int variable.
2653 * sysdeps/unix/sysv/linux/renameat.c: Do not include
2654 <kernel-features.h>.
2655 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
2656 (renameat) [__NR_renameat]: Make code unconditional.
2657 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
2658 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
2659 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
2660 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
2661 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
2662 (__ASSUME_ATFCTS): Do not undefine and redefine.
2663 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
2664 <kernel-features.h>.
2665 (symlinkat) [__NR_symlinkat]: Make code unconditional.
2666 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
2667 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
2668 <kernel-features.h>.
2669 (unlinkat) [__NR_unlinkat]: Make code unconditional.
2670 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
2671 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
2672 (__ASSUME_ATFCTS): Do not undefine and redefine.
2673 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
2674 <kernel-features.h>.
2675 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
2676 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
2677 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
2678 <kernel-features.h>.
2679 (__xmknodat) [__NR_mknodat]: Make code unconditional.
2680 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
2682 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
2684 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
2686 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
2689 * posix/regcomp.c (parse_reg_exp): Deallocate partially
2690 constructed tree before returning error.
2691 * posix/bug-regexp36.c: Expand test case.
2693 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
2696 * math/libm-test.inc (scalbln_test_date):
2697 Add errno expectations.
2698 * math/w_scalblnf.c: New File.
2699 Add wrapper which checks for setting errno to ERANGE.
2700 Add weak_alias for corresponding scalbln function.
2701 * math/w_scalbln.c: Likewise.
2702 * math/w_scalblnl.c: Likewise.
2703 * math/Makefile (libm-calls): Add w_scalbln.
2704 * sysdeps/ieee754/flt-32/s_scalblnf.c:
2705 Remove weak_alias for corresponding scalbln function.
2706 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
2707 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
2708 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
2709 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
2710 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
2711 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
2712 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
2713 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
2714 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
2715 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
2716 Remove long_double_symbol for scalblnl function in libm, libc.
2717 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
2718 Add wrapper which checks for setting errno to ERANGE.
2719 Add long_double_symbol for scalblnl function in libm, libc.
2720 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
2721 Remove long_double_symbol for scalblnl in libm.
2722 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
2723 Add wrapper which checks for setting errno to ERANGE.
2724 Add long_double_symbol for scalblnl function in libm.
2725 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
2726 Do not use wrapper because of own implementation.
2728 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
2730 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
2731 3 bytes for __pad1 for x32.
2732 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
2734 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
2735 H.J. Lu <hongjiu.lu@intel.com>
2737 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
2738 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
2739 * sysdeps/x86_64/multiarch/memset.S: Likewise.
2740 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
2741 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
2743 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
2746 * posix/regcomp.c (parse_expression): Deallocate partially
2747 constructed tree before returning error.
2748 * posix/Makefile.c (tests): Add bug-regex36.
2749 (generated): Add bug-regex36.mtrace.
2750 (tests-special): Add $(objpfx)bug-regex36-mem.out
2751 (bug-regex36-ENV): New variable.
2752 ($(objpfx)bug-regex36-mem.out): New rule.
2753 * posix/bug-regex36.c: New file.
2755 2014-06-19 Will Newton <will.newton@linaro.org>
2757 * malloc/malloc.c (systrim): If extra is zero then return
2760 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
2762 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
2764 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
2766 * sysdeps/aarch64/strchr.S: New file.
2768 2014-06-18 Joseph Myers <joseph@codesourcery.com>
2771 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
2772 from arguments -2 or below.
2773 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
2774 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
2776 2014-06-18 Andreas Schwab <schwab@suse.de>
2779 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
2780 of a bracket expr not to run off the end of the string.
2781 * posix/Makefile (tests): Add tst-fnmatch3.
2782 * posix/tst-fnmatch3.c: New file.
2784 2014-06-18 Joseph Myers <joseph@codesourcery.com>
2786 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
2787 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
2788 [$(cross-compiling) = no]: Likewise.
2789 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
2790 [$(cross-compiling) = no]: Likewise.
2792 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2795 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
2796 double, adjusted for any remainder from the high double.
2797 * math/libm-test.inc (nearbyint): Add tests.
2800 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2802 * nptl/sysdeps/powerpc/Makefile: Moved ...
2803 * sysdeps/powerpc/nptl/Makefile: ... here.
2804 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
2805 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
2806 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
2807 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
2808 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
2809 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
2810 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
2811 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
2812 * nptl/sysdeps/powerpc/tls.h: Moved ...
2813 * sysdeps/powerpc/nptl/tls.h: ... here.
2815 2014-06-16 Joseph Myers <joseph@codesourcery.com>
2818 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
2819 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
2820 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
2821 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
2822 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
2823 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
2824 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
2825 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
2826 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
2828 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
2830 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
2832 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
2834 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
2837 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
2840 2014-06-16 Florian Weimer <fweimer@redhat.com>
2843 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
2844 non-executed part of the test.
2846 2014-06-16 Andreas Schwab <schwab@suse.de>
2848 * string/bits/string2.h (strdup, strndup): Update feature guard.
2850 2014-06-14 David S. Miller <davem@davemloft.net>
2852 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2854 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
2856 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
2857 that was previously under [RESET_PID].
2858 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
2860 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
2861 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
2862 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
2863 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
2864 (__libc_vfork): New strong alias.
2865 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
2867 2014-06-14 Andi Kleen <ak@linux.intel.com>
2869 * sysdeps/generic/elide.h: New file.
2871 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
2873 * Makefile (installed-headers): Adjust path of pthread.h header.
2875 2014-06-13 Roland McGrath <roland@hack.frob.com>
2877 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
2878 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
2879 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
2880 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
2882 * nptl/sysdeps/s390/Makefile: Moved ...
2883 * sysdeps/s390/nptl/Makefile: ... here.
2884 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
2885 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
2886 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
2887 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
2888 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
2889 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
2890 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
2891 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
2892 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
2893 * sysdeps/s390/nptl/pthreaddef.h: ... here.
2894 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
2895 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
2896 * nptl/sysdeps/s390/tls.h: Moved ...
2897 * sysdeps/s390/nptl/tls.h: ... here.
2899 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
2900 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
2902 2014-06-13 David S. Miller <davem@davemloft.net>
2904 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
2905 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
2906 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
2907 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
2908 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
2909 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
2910 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
2911 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
2912 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
2913 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
2914 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
2915 Remove RESET_PID cpp guards.
2916 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
2917 Remove RESET_PID cpp guards.
2918 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
2920 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
2922 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
2925 2014-06-13 Andi Kleen <ak@linux.intel.com>
2927 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
2928 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
2929 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
2930 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
2931 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
2932 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
2933 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
2934 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
2935 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
2936 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
2937 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
2938 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
2939 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
2940 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
2941 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
2942 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
2943 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
2944 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
2945 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
2946 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
2948 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
2949 (pthread_rwlock_rdlock): Add elision.
2950 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
2951 (pthread_rwlock_wrlock): Add elision.
2952 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
2953 (pthread_rwlock_trywrlock): Add elision.
2954 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
2955 (pthread_rwlock_tryrdlock): Add elision.
2956 * nptl/pthread_rwlock_unlock.c: Include elide.h.
2957 (pthread_rwlock_tryrdlock): Add elision unlock.
2958 * nptl/sysdeps/pthread/pthread.h:
2959 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
2960 (PTHREAD_RWLOCK_INITIALIZER,
2961 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
2962 Handle new elision field.
2963 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
2964 * sysdeps/arm/nptl/bits/pthreadtypes.h
2965 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2966 * sysdeps/sh/nptl/bits/pthreadtypes.h
2967 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2968 * sysdeps/tile/nptl/bits/pthreadtypes.h
2969 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2970 * sysdeps/a/nptl/bits/pthreadtypes.h
2971 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2972 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
2973 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2974 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
2975 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2976 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
2977 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2978 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
2979 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2980 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
2981 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2982 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
2983 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2984 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
2985 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2986 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
2987 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2988 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
2989 (elision_init): Set try_xbegin to zero when no RTM.
2990 * sysdeps/x86/nptl/bits/pthreadtypes.h
2991 (pthread_rwlock_t): Change __pad1 to __rwelision.
2992 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2994 2014-06-13 Andi Kleen <ak@linux.intel.com>
2996 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
2997 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
2998 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
2999 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
3001 2014-06-13 Meador Inge <meadori@codesourcery.com>
3004 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
3005 that the cached result has been set before returning it.
3007 2014-06-12 Roland McGrath <roland@hack.frob.com>
3009 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
3010 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
3011 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
3012 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
3013 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
3014 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
3016 * nptl/sysdeps/sparc/Makefile: Moved ...
3017 * sysdeps/sparc/nptl/Makefile: ... here.
3018 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
3019 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
3020 * nptl/sysdeps/sparc/tls.h: Moved ...
3021 * sysdeps/sparc/nptl/tls.h: ... here.
3022 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
3023 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
3024 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
3025 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
3026 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
3027 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
3028 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
3029 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
3030 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
3031 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
3032 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
3033 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
3034 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
3035 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
3036 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
3037 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
3038 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
3039 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
3041 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
3042 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
3044 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
3045 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
3047 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
3048 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
3051 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
3053 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
3054 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
3056 * sysdeps/pthread/posix-timer.h: Include <list.h>.
3057 (struct list_links): Type removed.
3058 (struct thread_node, struct timer_node): Replace struct list_links
3059 with struct list_head.
3060 (list_unlink_ip): Likewise.
3061 * sysdeps/pthread/timer_routines.c
3062 (timer_free_list, thread_free_list, thread_active_list): Likewise.
3063 (list_append, list_insbefore): Likewise.
3064 (list_init): Function removed.
3065 (thread_init, init_module): Use INIT_LIST_HEAD instead.
3066 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
3067 * sysdeps/pthread/Makefile: ... here, new file.
3069 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
3070 * sysdeps/nptl/Implies: ... here.
3071 * sysdeps/unix/sysv/linux/Implies: Add nptl.
3072 * nptl/sysdeps/pthread/list.h: Moved ...
3073 * include/list.h: ... here.
3074 * nptl/sysdeps/pthread/createthread.c: Moved ...
3075 * nptl/createthread.c: ... here.
3076 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
3077 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
3078 * nptl/pt-longjmp.c: ... here.
3079 * nptl/sysdeps/pthread/Makefile: Moved ...
3080 * sysdeps/nptl/Makefile: ... here.
3081 * nptl/sysdeps/pthread/Subdirs: Moved ...
3082 * sysdeps/nptl/Subdirs: ... here.
3083 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
3084 * sysdeps/nptl/aio_misc.h: ... here.
3085 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
3086 * sysdeps/nptl/bits/libc-lock.h: ... here.
3087 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
3088 * sysdeps/nptl/bits/libc-lockP.h: ... here.
3089 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
3090 * sysdeps/nptl/bits/stdio-lock.h: ... here.
3091 * nptl/sysdeps/pthread/configure: Moved ...
3092 * sysdeps/nptl/configure: ... here.
3093 * nptl/sysdeps/pthread/configure.ac: Moved ...
3094 * sysdeps/nptl/configure.ac: ... here.
3095 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
3096 * sysdeps/nptl/gai_misc.h: ... here.
3097 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
3098 * sysdeps/nptl/librt-cancellation.c: ... here.
3099 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
3100 * sysdeps/nptl/malloc-machine.h: ... here.
3101 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
3102 * sysdeps/nptl/pthread-functions.h: ... here.
3103 * nptl/sysdeps/pthread/pthread.h: Moved ...
3104 * sysdeps/nptl/pthread.h: ... here.
3105 * nptl/sysdeps/pthread/setxid.h: Moved ...
3106 * sysdeps/nptl/setxid.h: ... here.
3107 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
3108 * sysdeps/nptl/sigfillset.c: ... here.
3109 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
3110 * sysdeps/nptl/tcb-offsets.h: ... here.
3111 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
3112 * sysdeps/nptl/tst-mqueue8x.c: ... here.
3113 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
3114 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
3115 * nptl/sysdeps/pthread/allocalim.h: Moved ...
3116 * sysdeps/pthread/allocalim.h: ... here.
3117 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
3118 * sysdeps/pthread/bits/sigthread.h: ... here.
3119 * nptl/sysdeps/pthread/flockfile.c: Moved ...
3120 * sysdeps/pthread/flockfile.c: ... here.
3121 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
3122 * sysdeps/pthread/ftrylockfile.c: ... here.
3123 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
3124 * sysdeps/pthread/funlockfile.c: ... here.
3125 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
3126 * sysdeps/pthread/posix-timer.h: ... here.
3127 * nptl/sysdeps/pthread/timer_create.c: Moved ...
3128 * sysdeps/pthread/timer_create.c: ... here.
3129 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
3130 * sysdeps/pthread/timer_delete.c: ... here.
3131 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
3132 * sysdeps/pthread/timer_getoverr.c: ... here.
3133 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
3134 * sysdeps/pthread/timer_gettime.c: ... here.
3135 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
3136 * sysdeps/pthread/timer_routines.c: ... here.
3137 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
3138 * sysdeps/pthread/timer_settime.c: ... here.
3139 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
3140 * sysdeps/pthread/tst-timer.c: ... here.
3141 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
3142 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
3144 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
3145 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
3147 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
3148 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
3149 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
3150 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
3151 Update #include target.
3152 * nptl/sysdeps/i386/i686/Makefile: Moved ...
3153 * sysdeps/i386/i686/nptl/Makefile: ... here.
3154 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
3155 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
3156 Update #include target.
3157 * nptl/sysdeps/i386/i686/tls.h: Moved ...
3158 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
3159 * nptl/sysdeps/i386/Makefile: Moved ...
3160 * sysdeps/i386/nptl/Makefile: ... here.
3161 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
3162 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
3163 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
3164 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
3165 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
3166 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
3167 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
3168 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
3169 * sysdeps/i386/nptl/pthreaddef.h: ... here.
3170 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
3171 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
3172 * nptl/sysdeps/i386/tls.h: Moved ...
3173 * sysdeps/i386/nptl/tls.h: ... here.
3175 * sysdeps/sh/Makefile [$(subdir) = csu]
3176 (gen-as-const-headers): Add tcb-offsets.sym.
3177 * nptl/sysdeps/sh/Makefile: File removed.
3178 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
3179 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
3180 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
3181 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
3182 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
3183 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
3184 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
3185 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
3186 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
3187 * sysdeps/sh/nptl/pthreaddef.h: ... here.
3188 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
3189 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
3190 * nptl/sysdeps/sh/tls.h: Moved ...
3191 * sysdeps/sh/nptl/tls.h: ... here.
3192 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
3193 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
3194 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
3195 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
3196 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
3197 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
3198 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
3199 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
3200 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
3201 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
3202 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
3203 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
3204 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
3205 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
3206 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
3207 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
3208 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
3209 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
3210 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
3211 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
3212 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
3213 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
3214 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
3215 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
3216 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
3218 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
3219 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
3221 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
3222 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
3223 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
3224 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
3225 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
3226 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
3227 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
3228 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
3229 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
3230 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
3231 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
3232 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
3233 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
3234 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
3235 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
3236 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
3237 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
3238 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
3239 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
3241 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
3243 * posix/spawn_faction_addopen.c: Include string.h.
3245 2014-06-11 Roland McGrath <roland@hack.frob.com>
3247 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
3248 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
3249 * nptl/sysdeps/x86_64/Makefile: Moved ...
3250 * sysdeps/x86_64/nptl/Makefile: ... here.
3251 * nptl/sysdeps/x86_64/configure: Moved ...
3252 * sysdeps/x86_64/nptl/configure: ... here.
3253 * nptl/sysdeps/x86_64/configure.ac: Moved ...
3254 * sysdeps/x86_64/nptl/configure.ac: ... here.
3255 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
3256 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
3257 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
3258 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
3259 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
3260 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
3261 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
3262 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
3263 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
3264 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
3265 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
3266 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
3267 * nptl/sysdeps/x86_64/tls.h: Moved ...
3268 * sysdeps/x86_64/nptl/tls.h: ... here.
3269 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
3270 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
3271 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
3272 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
3274 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
3276 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3278 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3280 2014-06-11 Joseph Myers <joseph@codesourcery.com>
3282 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
3284 [POSIX] (off_t): Likewise.
3285 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
3286 [POSIX] (S_ISBLK): Require macro.
3287 [POSIX] (S_ISCHR): Likewise.
3288 [POSIX] (S_ISDIR): Likewise.
3289 [POSIX] (S_ISFIFO): Likewise.
3290 [POSIX] (S_ISREG): Likewise.
3291 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
3293 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
3295 [POSIX] (time_t): Likewise.
3296 [POSIX] (timer_t): Likewise.
3298 2014-06-11 Florian Weimer <fweimer@redhat.com>
3301 * posix/spawn_int.h (struct __spawn_action): Make the path string
3302 non-const to support deallocation.
3303 * posix/spawn_faction_addopen.c
3304 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
3305 * posix/spawn_faction_destroy.c
3306 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
3307 path in all spawn_do_open actions.
3308 * posix/tst-spawn.c (do_test): Exercise the copy operation in
3309 posix_spawn_file_actions_addopen.
3311 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
3313 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
3314 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
3315 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
3316 conditional code always true.
3317 (__libc_vfork): New alias.
3319 2014-06-11 Roland McGrath <roland@hack.frob.com>
3321 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3322 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
3324 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
3326 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3327 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
3329 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
3330 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
3332 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3333 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
3335 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
3337 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
3338 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
3339 multiarch strcmp for PPC64.
3340 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
3341 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
3342 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
3343 multiarch optimizations.
3344 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3345 (__libc_ifunc_impl_list): Likewise.
3347 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3349 * benchtests/scripts/validate_benchout.py: New script.
3350 * benchtests/Makefile (bench-func): Call it.
3351 * benchtests/scripts/benchout.schema.json: New file.
3353 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
3355 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
3356 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
3357 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
3358 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
3359 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
3360 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
3361 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
3362 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
3363 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
3364 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
3365 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
3366 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
3367 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
3368 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
3369 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
3370 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
3371 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
3373 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
3375 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
3377 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
3378 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
3380 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
3382 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
3384 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
3386 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
3388 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
3389 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
3391 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
3393 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
3395 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
3397 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
3399 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
3400 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
3402 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
3404 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
3406 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
3408 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
3410 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
3412 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
3414 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
3415 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
3417 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
3419 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
3421 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
3423 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
3425 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
3427 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
3429 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
3430 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
3432 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
3434 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
3436 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
3438 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
3440 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
3441 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
3443 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
3445 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
3447 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
3448 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
3450 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
3451 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
3453 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
3455 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
3457 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
3459 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
3461 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
3463 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
3465 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
3466 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
3468 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
3470 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
3472 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
3474 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
3475 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
3476 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
3477 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
3478 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
3480 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
3482 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
3483 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
3484 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
3485 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
3486 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
3487 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
3488 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
3489 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
3490 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
3491 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
3492 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
3493 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
3494 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
3496 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
3497 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
3499 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
3500 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
3501 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
3502 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
3504 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
3505 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
3506 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
3507 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
3508 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
3509 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
3510 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
3512 2014-06-10 Wilco <wdijkstr@arm.com>
3514 * math/test-fenv-return.c: New file.
3515 * math/Makefile: Add new test test-fenv-return.
3517 2014-06-10 Joseph Myers <joseph@codesourcery.com>
3520 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
3522 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
3523 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
3524 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
3525 0.0L for an argument of 1.0L.
3526 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
3528 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
3529 value when x - 1 is zero.
3530 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
3531 * sysdeps/i386/fpu/libm-test-ulps: Update.
3532 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3534 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
3537 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
3539 2014-06-09 Roland McGrath <roland@hack.frob.com>
3541 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
3542 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
3544 2014-06-09 Roland McGrath <roland@hack.frob.com>
3546 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3547 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
3549 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3550 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
3552 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3553 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
3555 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3556 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
3558 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
3559 if not already defined.
3560 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
3561 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
3562 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
3563 (TLS_INIT_TP): Use it.
3564 (TLS_DEFINE_INIT_TP): New macro.
3565 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
3567 2014-06-09 Joseph Myers <joseph@codesourcery.com>
3569 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
3571 [POSIX] (IXANY): Likewise.
3572 [POSIX] (OLCUC): Likewise.
3573 [POSIX || POSIX2008] (CBAUD): Do not allow.
3574 [POSIX || POSIX2008] (DEFECHO): Likewise.
3575 [POSIX || POSIX2008] (ECHOCTL): Likewise.
3576 [POSIX || POSIX2008] (ECHOKE): Likewise.
3577 [POSIX || POSIX2008] (ECHOPRT): Likewise.
3578 [POSIX || POSIX2008] (EXTA): Likewise.
3579 [POSIX || POSIX2008] (EXTB): Likewise.
3580 [POSIX || POSIX2008] (FLUSHO): Likewise.
3581 [POSIX || POSIX2008] (LOBLK): Likewise.
3582 [POSIX || POSIX2008] (PENDIN): Likewise.
3583 [POSIX || POSIX2008] (SWTCH): Likewise.
3584 [POSIX || POSIX2008] (VDISCARD): Likewise.
3585 [POSIX || POSIX2008] (VDSUSP): Likewise.
3586 [POSIX || POSIX2008] (VLNEXT): Likewise.
3587 [POSIX || POSIX2008] (VREPRINT): Likewise.
3588 [POSIX || POSIX2008] (VSTATUS): Likewise.
3589 [POSIX || POSIX2008] (VWERASE): Likewise.
3590 (B*): Change to B[0123456789]*.
3591 * conform/data/time.h-data [POSIX || UNIX98]
3592 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
3593 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
3594 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
3595 [POSIX] (tm_*): Do not allow.
3597 2014-06-07 Joseph Myers <joseph@codesourcery.com>
3599 * Makefile (install): Don't set LANGUAGE.
3600 * Makefile.in (install): Likewise.
3601 * assert/Makefile (test-assert-ENV): Remove variable.
3602 (test-assert-perr-ENV): Likewise.
3603 * elf/Makefile (neededtest4-ENV): Likewise.
3604 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
3605 [$(cross-compiling) = no]: Don't set LANGUAGE.
3606 * io/ftwtest-sh (LANG): Remove variable.
3607 * libio/Makefile (tst-widetext-ENV): Likewise.
3608 * manual/install.texi (Running make install): Don't refer to
3609 environment settings for make install.
3610 * INSTALL: Regenerated.
3611 * nptl/tst-tls6.sh: Don't set LANG.
3612 * posix/globtest.sh (LANG): Remove variable.
3613 * string/Makefile (tester-ENV): Likewise.
3614 (inl-tester-ENV): Likewise.
3615 (noinl-tester-ENV): Likewise.
3616 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
3617 [$(cross-compiling) = no]: Don't set LANGUAGE.
3618 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
3619 without explicit environment settings.
3621 2014-06-06 Roland McGrath <roland@hack.frob.com>
3623 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
3624 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
3625 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
3626 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
3628 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
3630 * crypt/crypt-private.h [DOS]: Add some includes taken from the
3631 other files in the crypt directory.
3632 * crypt/crypt.c: Remove duplicate includes.
3633 * crypt/crypt-entry.c: Likewise.
3634 * crypt/crypt_util.c: Likewise.
3636 2014-06-06 Joseph Myers <joseph@codesourcery.com>
3638 * Makeconfig (run-program-env): New variable.
3639 (run-program-prefix-before-env): Likewise.
3640 (run-program-prefix-after-env): Likewise.
3641 (run-program-prefix): Define in terms of new variables.
3642 (built-program-cmd-before-env): New variable.
3643 (built-program-cmd-after-env): Likewise.
3644 (built-program-cmd): Define in terms of new variables.
3645 (test-program-prefix-before-env): New variable.
3646 (test-program-prefix-after-env): Likewise.
3647 (test-program-prefix): Define in terms of new variables.
3648 (test-program-cmd-before-env): New variable.
3649 (test-program-cmd-after-env): Likewise.
3650 (test-program-cmd): Define in terms of new variables.
3651 * Rules (make-test-out): Use $(run-program-env).
3652 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
3653 (help): Do not mention environment variables. Mention
3654 --timeoutfactor option.
3655 (timeoutfactor): New variable.
3656 (blacklist_exports): Remove function.
3657 (exports): Remove variable.
3658 (command): Do not include ${exports}.
3659 * manual/install.texi (Configuring and compiling): Do not mention
3660 test wrappers preserving environment variables. Mention that last
3661 assignment to a variable must take precedence.
3662 * INSTALL: Regenerated.
3663 * benchtests/Makefile (run-bench): Use $(run-program-env).
3664 * catgets/Makefile ($(objpfx)test1.cat): Use
3665 $(built-program-cmd-before-env), $(run-program-env) and
3666 $(built-program-cmd-after-env).
3667 ($(objpfx)test2.cat): Do not specify environment variables
3669 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
3670 $(run-program-env) and $(built-program-cmd-after-env).
3671 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
3672 $(run-program-env) and $(test-program-cmd-after-env).
3673 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
3675 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
3676 run_program_env and test_program_cmd_after_env arguments.
3677 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
3678 * elf/tst-pathopt.sh: Use run_program_env argument.
3679 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
3680 $(test-wrapper-env) and $(run-program-env).
3681 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
3682 run_program_env arguments.
3683 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
3684 * intl/Makefile ($(objpfx)tst-gettext.out): Use
3685 $(test-program-prefix-before-env), $(run-program-env) and
3686 $(test-program-prefix-after-env).
3687 ($(objpfx)tst-gettext2.out): Likewise.
3688 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
3689 run_program_env and test_program_prefix_after_env arguments.
3690 * intl/tst-gettext2.sh: Likewise.
3691 * intl/tst-gettext4.sh: Do not set environment variables
3693 * intl/tst-gettext6.sh: Likewise.
3694 * intl/tst-translit.sh: Likewise.
3695 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
3696 $(test-program-prefix-before-env), $(run-program-env) and
3697 $(test-program-prefix-after-env).
3698 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
3699 run_program_env and test_program_prefix_after_env arguments.
3700 * math/Makefile (run-regen-ulps): Use $(run-program-env).
3701 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
3702 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
3703 explicitly with each use of ${test_wrapper_env}.
3704 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
3705 $(test-program-prefix-before-env), $(run-program-env) and
3706 $(test-program-prefix-after-env).
3707 * posix/tst-getconf.sh: Do not set environment variables
3709 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
3710 run_program_env and test_program_prefix_after_env arguments.
3711 * stdio-common/tst-printf.sh: Do not set environment variables
3713 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
3714 $(test-program-prefix-before-env), $(run-program-env) and
3715 $(test-program-prefix-after-env).
3716 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
3717 run_program_env and test_program_prefix_after_env arguments.
3718 Split $test calls into $test_pre and $test.
3719 * timezone/Makefile (build-testdata): Use
3720 $(built-program-cmd-before-env), $(run-program-env) and
3721 $(built-program-cmd-after-env).
3723 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3725 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
3726 strlen for non SHARED builds.
3728 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
3730 * nptl/allocatestack.c (check_list): Inlined function...
3731 (__reclaim_stacks): ... here.
3733 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
3736 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
3739 2014-06-05 Joseph Myers <joseph@codesourcery.com>
3741 * Rules (make-test-out): Include
3742 LOCPATH=$(common-objpfx)localedata in default environment.
3743 * debug/Makefile (tst-chk1-ENV): Remove variable.
3744 (tst-chk2-ENV): Likewise.
3745 (tst-chk3-ENV): Likewise.
3746 (tst-chk4-ENV): Likewise.
3747 (tst-chk5-ENV): Likewise.
3748 (tst-chk6-ENV): Likewise.
3749 (tst-lfschk1-ENV): Likewise.
3750 (tst-lfschk2-ENV): Likewise.
3751 (tst-lfschk3-ENV): Likewise.
3752 (tst-lfschk4-ENV): Likewise.
3753 (tst-lfschk5-ENV): Likewise.
3754 (tst-lfschk6-ENV): Likewise.
3755 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
3756 (tst-iconv7-ENV): Likewise.
3757 * intl/Makefile (LOCPATH-ENV): Likewise.
3758 (tst-codeset-ENV): Likewise.
3759 (tst-gettext3-ENV): Likewise.
3760 (tst-gettext5-ENV): Likewise.
3761 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
3762 (tst-fopenloc-ENV): Likewise.
3763 (tst-fgetws-ENV): Remove variable.
3764 (tst-ungetwc1-ENV): Likewise.
3765 (tst-ungetwc2-ENV): Likewise.
3766 (bug-ungetwc2-ENV): Likewise.
3767 (tst-swscanf-ENV): Likewise.
3768 (bug-ftell-ENV): Likewise.
3769 (tst-fgetwc-ENV): Likewise.
3770 (tst-fseek-ENV): Likewise.
3771 (tst-ftell-partial-wide-ENV): Likewise.
3772 (tst-ftell-active-handler-ENV): Likewise.
3773 (tst-ftell-append-ENV): Likewise.
3774 * posix/Makefile (tst-fnmatch-ENV): Likewise.
3775 (tst-regexloc-ENV): Likewise.
3776 (bug-regex1-ENV): Likewise.
3777 (tst-regex-ENV): Likewise.
3778 (tst-regex2-ENV): Likewise.
3779 (bug-regex5-ENV): Likewise.
3780 (bug-regex6-ENV): Likewise.
3781 (bug-regex17-ENV): Likewise.
3782 (bug-regex18-ENV): Likewise.
3783 (bug-regex19-ENV): Likewise.
3784 (bug-regex20-ENV): Likewise.
3785 (bug-regex22-ENV): Likewise.
3786 (bug-regex23-ENV): Likewise.
3787 (bug-regex25-ENV): Likewise.
3788 (bug-regex26-ENV): Likewise.
3789 (bug-regex30-ENV): Likewise.
3790 (bug-regex32-ENV): Likewise.
3791 (bug-regex33-ENV): Likewise.
3792 (bug-regex34-ENV): Likewise.
3793 (bug-regex35-ENV): Likewise.
3794 (tst-rxspencer-ENV): Likewise.
3795 (tst-rxspencer-no-utf8-ENV): Likewise.
3796 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
3797 (tst-sscanf-ENV): Likewise.
3798 (tst-swprintf-ENV): Likewise.
3799 (tst-swscanf-ENV): Likewise.
3800 (test-vfprintf-ENV): Likewise.
3801 (scanf13-ENV): Likewise.
3802 (bug14-ENV): Likewise.
3803 (tst-grouping-ENV): Likewise.
3804 * stdlib/Makefile (tst-strtod-ENV): Likewise.
3805 (tst-strtod3-ENV): Likewise.
3806 (tst-strtod4-ENV): Likewise.
3807 (tst-strtod5-ENV): Likewise.
3808 (testmb2-ENV): Likewise./
3809 * string/Makefile (tst-strxfrm-ENV): Likewise.
3810 (tst-strxfrm2-ENV): Likewise.
3811 (bug-strcoll1-ENV): Likewise.
3812 (test-strcasecmp-ENV): Likewise.
3813 (test-strncasecmp-ENV): Likewise.
3814 * time/Makefile (tst-strptime-ENV): Likewise.
3815 (tst-ftime_l-ENV): Likewise.
3816 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
3817 (tst-mbrtowc-ENV): Likewise.
3818 (tst-wcrtomb-ENV): Likewise.
3819 (tst-mbrtowc2-ENV): Likewise.
3820 (tst-c16c32-1-ENV): Likewise.
3821 (tst-mbsnrtowcs-ENV): Likewise.
3823 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
3825 * manual/resource.texi (How to get information about the memory
3826 subsystem?): Fix typo.
3827 Reported by Peon de la Parra Ivan <peon@keba.com>
3829 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
3832 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
3833 (pthread_spin_lock): Branch out of spin loop to proper location.
3834 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
3835 (pthread_spin_lock): Likewise.
3837 * nptl/tst-spin4.c: New test.
3838 * nptl/Makefile (tests): Add tst-spin4.
3840 2014-06-03 Andreas Schwab <schwab@suse.de>
3843 * resolv/res_send.c (send_dg): Reload file descriptor after
3846 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
3848 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
3850 2014-06-03 Richard Henderson <rth@redhat.com>
3852 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
3853 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
3854 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
3855 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
3856 in the SAVE_PID block.
3857 (__libc_vfork): New alias.
3858 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
3860 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
3861 child in registers, not on the stack. Remove RESET_PID conditionals.
3862 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
3864 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
3866 * sysdeps/aarch64/libm-test-ulps: Regenerate.
3868 2014-06-03 Wilco <wdijkstr@arm.com>
3870 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
3871 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
3872 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
3873 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
3874 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
3877 2014-06-03 Wilco <wdijkstr@arm.com>
3879 * sysdeps/aarch64/fpu/math_private.h
3880 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
3881 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
3882 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
3883 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
3886 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
3888 * crypt/crypt-private.h: Include ufc-crypt.h.
3889 (__b64_from_24bit): Declare extern.
3890 * crypt/crypt_util.c(__b64_from_24bit): New function.
3891 (b64t): New static const variable.
3892 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
3893 (b64t): Remove variable.
3894 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
3895 * crypt/sha256-crypt.c: Include crypt-private.h.
3896 (b64t): Remove variable.
3897 (__sha256_crypt_r): Remove b64_from_24bit and replace
3898 with __b64_from_24bit.
3899 * crypt/sha512-crypt.c: Likewise.
3901 2014-06-02 Roland McGrath <roland@hack.frob.com>
3903 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
3904 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
3905 Label the code __libc_vfork rather than __vfork.
3906 [!NOT_IN_libc] (vfork): Define as weak alias.
3907 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
3908 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
3909 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
3911 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
3913 * malloc/malloc.c (malloc_info): Fix format specifier for
3916 2014-06-02 Wilco <wdijkstr@arm.com>
3918 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
3921 2014-06-02 Wilco <wdijkstr@arm.com>
3924 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
3925 Rewrite to reduce FPCR/FPSR accesses.
3927 2014-06-01 David S. Miller <davem@davemloft.net>
3929 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3931 2014-05-31 David S. Miller <davem@davemloft.net>
3933 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
3934 to occur in round to nearest mode when |x| >= 2.0
3936 2014-05-30 Richard Henderson <rth@twiddle.net>
3938 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
3939 (PSEUDO_RET_NOERRNO): Remove.
3940 (ret): Don't redefine.
3941 (ret_NOERRNO): Define in terms of ret.
3942 (ret_ERRVAL): Likewise.
3944 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
3945 use of PSEUDO_RET; perform the error check directly.
3947 2014-05-30 Marko Myllynen <myllynen@redhat.com>
3949 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
3952 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3954 * malloc/malloc (malloc_info): Fix formatting.
3956 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3957 Roland McGrath <roland@hack.frob.com>
3959 * malloc/malloc (malloc_info): Also print mmapped statistics.
3961 2014-05-30 Roland McGrath <roland@hack.frob.com>
3963 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
3964 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
3966 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
3968 * malloc/malloc.c (malloc_info): Inline mi_arena.
3970 2014-05-29 Richard Henderson <rth@twiddle.net>
3972 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
3973 Remove comma before expanding ASM_ARGS_##nr.
3974 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
3975 Make _x0 a strict output; make _x8 a strict input; adjust expansion
3977 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
3978 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
3979 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
3980 (ASM_ARGS_1): Add leading comma.
3982 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
3983 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
3984 to __errno_location.
3985 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
3986 Remove the expected plt for __errno_location.
3988 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
3989 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
3992 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
3993 Always allocate 64 bytes of stack frame. Use ldp/stp to create
3994 it and break it down.
3995 (DOCARGS_0, DOCARGS_1): Do nothing.
3996 (DOCARGS_2): Update to store into the new stack frame.
3997 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
3998 (UNDOCARGS_1): Update to restore from the new stack frame.
3999 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
4000 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
4002 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
4003 (SINGLE_THREAD_P): New parameter for result regno.
4004 (PSEUDO): Update to match; use cbz instead of beq.
4006 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
4007 Use ENTRY to define the _nocancel entry point. Share the syscall
4008 and syscall error check paths with the cancel path.
4011 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
4012 whitespace; tabs before and after asm mnemonics.
4014 2014-05-29 Eric Wong <normalperson@yhbt.net>
4017 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
4018 Call fstat64 or stat64 internally, depending on arguments passed.
4019 Replace stat buffer argument with file descriptor argument.
4020 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
4021 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
4022 Pass fd to __internal_statvfs instead of calling fstat64.
4023 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
4024 Pass fd to __internal_statvfs64 instead of calling fstat64.
4025 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
4026 Pass -1 to __internal_statvfs instead of calling stat64.
4027 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
4028 Pass -1 to __internal_statvfs64 instead of calling stat64.
4030 2014-05-28 Roland McGrath <roland@hack.frob.com>
4032 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
4033 that was previously under [RESET_PID].
4034 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
4036 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
4037 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
4039 2014-05-27 Roland McGrath <roland@hack.frob.com>
4041 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
4043 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
4044 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
4046 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
4048 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
4050 2014-05-27 Andreas Schwab <schwab@suse.de>
4052 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
4054 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
4055 * elf/rtld.c (init_tls, dl_main): Likewise.
4056 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
4057 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
4058 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
4059 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
4060 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
4061 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
4062 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
4063 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
4064 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
4065 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
4066 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
4067 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
4068 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
4069 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
4070 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
4071 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
4072 * sysdeps/generic/tls.h: Update description.
4074 2014-05-27 Will Newton <will.newton@linaro.org>
4077 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
4078 and restore r2 rather than just restoring.
4080 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4083 * libio/tst-ftell-append.c: New test case.
4084 * libio/Makefile (tests): Add test case.
4085 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
4087 * libio/wfileops.c (do_ftell_wide): Likewise.
4089 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4091 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4093 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
4095 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
4096 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
4097 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
4098 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
4099 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
4100 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
4101 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
4102 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
4103 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
4105 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
4106 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
4108 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
4109 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
4110 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
4111 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
4112 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
4113 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
4115 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
4116 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
4118 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
4120 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
4122 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
4123 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
4124 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
4126 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
4127 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
4128 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
4129 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
4131 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
4133 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
4134 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
4136 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
4137 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
4139 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
4140 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
4142 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
4144 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
4146 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
4147 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
4149 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
4151 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
4152 conditional [RESET_PID].
4153 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
4154 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
4156 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
4159 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
4161 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
4162 (__libc_vfork): New strong alias.
4163 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
4165 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
4168 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
4170 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
4171 (__libc_vfork): New strong alias.
4172 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
4174 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
4177 2014-05-26 Carlos O'Donell <carlos@redhat.com>
4179 * malloc/malloc.c (mi_arena): New function.
4180 (malloc_info): Remove nested function mi_arena. Call non-nosted
4183 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4185 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
4187 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
4188 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
4189 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
4190 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
4191 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
4192 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
4193 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
4195 2014-05-26 Andreas Schwab <schwab@suse.de>
4198 * locale/programs/repertoire.c (repertoire_read): Add slash
4199 between I18NPATH element and file name.
4200 * locale/programs/locfile.c (locfile_read): Likewise.
4202 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
4204 * nptl/pthread_mutexattr_settype.c
4205 (__pthread_mutexattr_settype):
4206 Disable lock elision for PTHREAD_MUTEX_NORMAL.
4208 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
4210 * nptl/tst-mutex5 (do_test):
4211 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
4213 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4215 * benchtests/README: Document 'init' directive.
4216 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
4218 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
4219 (parse_file): Recognize 'init' directive.
4221 2014-05-26 Kyle McMartin <kyle@redhat.com>
4224 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
4225 alignment of struct pthread.
4227 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4230 * nscd/netgroupcache.c (addgetnetgrentX): Look for
4231 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
4232 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
4233 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
4235 2014-05-25 Richard Henderson <rth@twiddle.net>
4237 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
4238 (SINGLE_THREAD_P_PIC): Remove.
4239 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
4240 (SINGLE_THREAD_P_PIC): Remove.
4242 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
4243 branch to syscall error ...
4245 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
4246 from __local_syscall_error to .Lsyscall_error.
4247 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
4248 (SYSCALL_ERROR): Update label name.
4250 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
4251 Do not use DOARGS/UNDOARGS.
4252 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
4253 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
4254 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
4255 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
4256 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
4258 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
4261 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
4262 define if !NOT_IN_libc.
4263 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
4264 define with non-default symbol versions.
4266 2014-05-23 Richard Henderson <rth@twiddle.net>
4268 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
4269 (vfork, __vfork): Define via compat_symbol.
4271 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
4272 [!HAVE_IFUNC] (vfork_compat): Remove.
4273 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
4275 2014-05-23 Joseph Myers <joseph@codesourcery.com>
4278 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
4279 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
4282 2014-05-23 Richard Henderson <rth@twiddle.net>
4284 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
4285 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
4286 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
4287 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
4289 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
4290 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
4291 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
4292 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
4293 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
4294 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
4295 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
4296 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
4297 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
4298 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
4299 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
4300 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
4301 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
4302 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
4303 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
4304 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
4305 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
4306 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
4307 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
4308 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
4309 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
4310 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
4311 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
4312 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
4313 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
4314 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
4315 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
4316 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
4317 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
4318 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
4319 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
4320 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
4321 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
4322 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
4323 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
4324 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
4325 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
4326 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
4327 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
4328 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
4329 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
4330 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
4331 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
4332 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
4333 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
4334 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
4335 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
4336 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
4337 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
4338 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
4339 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
4340 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
4341 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
4342 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
4343 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
4344 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
4346 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
4347 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
4348 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
4349 before exiting on error.
4350 (__libc_vfork): New strong alias.
4351 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
4352 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
4354 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
4355 that was previously under [RESET_PID].
4356 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
4358 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
4360 2014-05-23 Joseph Myers <joseph@codesourcery.com>
4363 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
4364 value when x - 1 is zero.
4365 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
4366 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
4367 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
4368 0.0L for an argument of 1.0L.
4369 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
4371 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
4372 value when x - 1 is zero.
4373 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
4374 * sysdeps/i386/fpu/libm-test-ulps: Update.
4375 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4377 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
4379 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
4380 alphasort and versionsort.
4382 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4384 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
4386 [copysignf]: Likewise.
4388 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
4390 * crypt/md5-crypt.c: Fix formatting.
4392 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
4394 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
4395 (b64_from_24bit): New function.
4397 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4399 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
4400 libc_hidden_builtin_def to ifunc.
4401 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
4402 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
4404 2014-05-21 Roland McGrath <roland@hack.frob.com>
4406 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
4407 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
4409 2014-05-21 Joseph Myers <joseph@codesourcery.com>
4411 * nscd/Depend (linuxthreads): Remove.
4413 * resolv/Depend (linuxthreads): Remove.
4414 * rt/Depend (linuxthreads): Remove.
4416 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
4417 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
4418 $(common-objpfx)elf/.
4419 (link-libc-before-gnulib): Likewise.
4420 (elfobjdir): Remove variable.
4421 * Makefile (install): Use $(elf-objpfx) instead of
4422 $(common-objpfx)elf/.
4423 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
4425 (link-libc-deps): Likewise.
4426 ($(common-objpfx)libc.so): Likewise.
4427 ($(common-objpfx)linkobj/libc.so): Likewise.
4428 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
4429 instead of $(common-objpfx)elf/.
4430 (symbolic-link-list): Likewise.
4431 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
4432 [$(cross-compiling) = no]: Likewise.
4433 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
4435 (static-gnulib-arch): Likewise.
4436 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
4437 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
4438 $(common-objpfx)elf/.
4440 2014-05-21 Richard Henderson <rth@redhat.com>
4442 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
4443 (SINGLE_THREAD_P): Use the correct width load. Fold
4444 into the ldr offset.
4446 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
4447 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
4449 2014-05-20 Joseph Myers <joseph@codesourcery.com>
4451 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
4452 (libgcc_s_resume): Use __attribute_used__.
4453 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
4456 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4458 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
4459 optimization when used with float constants.
4461 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4463 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
4466 * locale/nl_langinfo_l.c: Make direct reference to every
4467 _nl_current_CATEGORY symbol.
4468 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
4469 (tests-static): Add tst-langinfo-static.
4470 (tests-special): Add tst-langinfo-static.out.
4471 ($(objpfx)tst-langinfo.out): Redirect output.
4472 ($(objpfx)tst-langinfo-static.out): New.
4473 * localedata/tst-langinfo.sh: Send output to stdout.
4474 * localedata/tst-langinfo-static.c: New file.
4477 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
4478 when the shift amount is modulo the limb size.
4480 2014-05-20 Richard Henderson <rth@redhat.com>
4483 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
4484 Change type of sa_flags from unsigned int to int.
4487 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
4489 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
4491 2014-05-20 Will Newton <will.newton@linaro.org>
4493 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
4494 Test the return value of the system call in the nocancel case.
4496 2014-05-20 Will Newton <will.newton@linaro.org>
4497 Yvan Roux <yvan.roux@linaro.org>
4499 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
4500 #include of asm/ptrace.h.
4501 (PTRACE_GET_THREAD_AREA): Remove #undef.
4502 (PTRACE_GETHBPREGS): Likewise.
4503 (PTRACE_SETHBPREGS): Likewise.
4504 (struct user_regs_struct): New structure.
4505 (struct user_fpsimd_struct): New structure.
4506 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
4507 #include of asm/ptrace.h and second #include of sys/user.h.
4508 (PTRACE_GET_THREAD_AREA): Remove #undef.
4509 (PTRACE_GETHBPREGS): Likewise.
4510 (PTRACE_SETHBPREGS): Likewise.
4511 (ELF_NGREG): Use new struct user_regs_struct.
4512 (elf_fpregset_t): Use new struct user_fpsimd_struct.
4514 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4516 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
4517 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
4519 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
4522 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
4523 membar to avoid block loads/stores to overlap previous stores.
4525 2014-05-17 Richard Henderson <rth@redhat.com>
4527 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
4528 Create the __##syscall_name##_nocancel entry point.
4529 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
4530 Remove; let the sysdep-cancel.h code create it.
4532 2014-05-17 David S. Miller <davem@davemloft.net>
4534 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
4535 Protect with __USE_GNU.
4536 (TIOCSET_TEMPT): Likewise.
4537 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
4538 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
4539 these are already provided in bits/ioctl-types.h
4541 2014-05-16 Roland McGrath <roland@hack.frob.com>
4543 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
4544 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
4546 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
4547 Use wait4 regardless of [__NR_waitpid].
4549 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
4552 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
4553 (_FP_NANSIGN_Q): Set the quiet bit.
4555 2014-05-16 Joseph Myers <joseph@codesourcery.com>
4557 * benchtests/Makefile
4558 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
4559 not $(common-objpfx)math/libm.so.
4560 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
4561 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
4562 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
4563 $(common-objpfx)dlfcn/libdl.so.
4564 ($(objpfx)tst-audit8): Depend on $(libm), not
4565 $(common-objpfx)math/libm.so.
4566 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
4567 not $(common-objpfx)dlfcn/libdl.so.
4569 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
4570 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
4571 [$(build-shared) = yes].
4572 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
4573 $(common-objpfx)nptl/libpthread.so.
4574 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
4575 $(common-objpfx)math/libm.so$(libm.so-version) or
4576 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
4577 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
4578 $(common-objpfx)dlfcn/libdl.so.
4579 * setjmp/Makefile (link-libm): Remove variable.
4580 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
4581 * stdio-common/Makefile (link-libm): Remove variable.
4582 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
4583 * stdlib/Makefile (link-libm): Remove variable.
4584 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
4585 ($(objpfx)tst-strtod-round): Likewise.
4586 ($(objpfx)tst-tininess): Likewise.
4587 ($(objpfx)tst-strtod-underflow): Likewise.
4588 ($(objpfx)tst-strtod6): Likewise.
4589 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
4590 $(libdl), not $(common-objpfx)nptl/libpthread.so and
4591 $(common-objpfx)dlfcn/libdl.so.
4593 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4595 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
4596 BSD terminal modes definitions.
4598 2014-05-16 Roland McGrath <roland@hack.frob.com>
4600 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
4601 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
4603 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
4604 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
4605 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
4606 Don't do #include_next.
4607 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
4608 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
4609 Don't do #include_next.
4610 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
4611 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
4612 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
4613 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
4615 2014-05-16 Allan McRae <allan@archlinux.org>
4617 * po/sv.po: Update Swedish translation from translation project.
4619 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
4622 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
4625 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
4626 errno if the TIOCGPTN ioctl fails with an error different than
4628 * login/tst-ptsname.c: New file.
4629 * login/Makefile (tests): Add tst-ptsname.
4632 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
4635 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4638 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
4639 herrno to return EAI_AGAIN.
4641 2014-05-14 Roland McGrath <roland@hack.frob.com>
4643 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
4644 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
4645 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
4646 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
4647 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
4648 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
4649 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
4650 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
4651 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
4652 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
4653 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
4654 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
4655 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
4656 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
4657 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
4658 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
4659 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
4660 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
4661 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
4662 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
4663 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
4664 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
4665 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
4666 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
4667 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
4668 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
4669 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
4670 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
4671 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
4672 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
4673 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
4674 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
4675 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
4676 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
4677 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
4679 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
4680 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
4681 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
4682 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
4683 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
4684 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
4685 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
4686 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
4687 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
4688 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
4689 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
4690 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
4691 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
4692 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
4693 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
4694 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
4695 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
4696 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
4697 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
4698 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
4699 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
4700 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
4701 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
4702 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
4703 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
4704 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
4705 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
4706 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
4708 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
4709 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
4710 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
4711 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
4712 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
4713 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
4714 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
4715 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
4716 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
4717 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
4718 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
4719 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
4720 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
4721 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
4722 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
4723 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
4724 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
4725 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
4726 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
4727 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
4729 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
4730 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
4731 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
4733 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
4734 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
4735 (libpthread-sysdep_routines): Add elision-related stuff here instead.
4736 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
4737 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
4738 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
4739 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
4740 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
4741 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
4742 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
4743 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
4744 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
4745 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
4746 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
4747 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
4748 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
4749 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
4750 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
4751 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
4752 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
4753 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
4754 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
4755 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
4756 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
4757 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
4758 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
4759 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
4760 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
4761 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
4762 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
4763 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
4765 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
4766 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
4768 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
4769 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
4770 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
4771 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
4772 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
4773 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
4775 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
4776 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
4778 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
4779 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
4781 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
4782 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
4784 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
4785 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
4786 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
4787 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
4789 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
4790 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
4791 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
4792 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
4793 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
4794 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
4795 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
4796 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
4798 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
4799 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
4801 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
4803 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
4804 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
4805 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
4806 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
4807 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
4809 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
4811 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
4813 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
4814 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
4815 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
4816 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
4817 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
4818 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
4820 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
4821 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
4823 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
4824 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
4826 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
4827 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
4829 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
4830 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
4831 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
4832 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
4834 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
4835 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
4836 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
4837 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
4838 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
4839 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
4840 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
4841 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
4843 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
4844 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
4846 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
4848 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
4849 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
4850 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
4851 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
4852 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
4854 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
4856 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
4858 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
4859 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
4860 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
4861 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
4862 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
4863 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
4864 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
4865 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
4866 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
4867 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
4869 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
4870 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
4872 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
4873 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
4875 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
4876 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
4878 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
4879 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
4880 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
4881 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
4882 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
4883 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
4885 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
4886 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
4887 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
4888 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
4889 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
4890 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
4891 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
4892 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
4894 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
4895 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
4897 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
4899 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
4900 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
4901 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
4902 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
4903 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
4905 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
4907 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
4909 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
4910 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
4911 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
4912 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
4913 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
4914 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
4915 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
4916 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
4917 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
4918 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
4919 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
4921 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
4922 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
4924 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
4925 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
4927 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
4928 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
4929 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
4930 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
4931 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
4932 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
4933 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
4934 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
4935 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
4936 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
4937 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
4938 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
4939 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
4940 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
4941 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
4942 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
4943 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
4944 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
4946 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
4947 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
4948 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
4949 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
4951 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
4952 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
4953 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
4954 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
4955 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
4956 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
4957 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
4958 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
4960 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
4961 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
4963 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
4964 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
4965 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
4966 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
4967 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
4968 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
4969 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
4970 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
4971 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
4972 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
4973 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
4974 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
4975 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
4976 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
4977 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
4978 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
4979 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
4981 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
4982 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
4983 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
4984 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
4985 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
4987 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
4988 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
4989 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
4990 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
4991 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
4992 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
4993 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
4994 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
4995 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
4996 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
4998 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
4999 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
5001 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
5002 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
5003 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
5004 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
5005 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
5006 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
5007 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
5008 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
5009 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
5010 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
5011 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
5012 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
5013 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
5014 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
5015 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
5017 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
5019 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
5021 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
5023 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
5025 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
5027 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
5029 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
5031 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
5033 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
5035 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
5036 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
5037 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
5038 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
5039 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
5040 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
5041 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
5042 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
5043 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
5044 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
5045 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
5046 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
5047 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
5048 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
5049 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
5051 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
5052 that was previously under [RESET_PID].
5053 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
5054 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
5055 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
5057 * sysdeps/i386/nptl/Implies: New file.
5058 * sysdeps/x86_64/nptl/Implies: New file.
5059 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
5060 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
5061 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
5062 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
5064 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
5065 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
5066 (__libc_vfork): New strong alias.
5067 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
5068 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
5070 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
5071 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
5072 (__libc_vfork): New strong alias.
5073 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
5074 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
5076 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
5077 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
5078 (__libc_vfork): New strong alias.
5079 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
5080 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
5081 * nptl/pt-vfork.c: New file.
5082 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
5083 (libpthread: GLIBC_2.20): New version set (empty).
5085 2014-05-14 Will Newton <will.newton@linaro.org>
5087 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
5090 2014-05-14 Joseph Myers <joseph@codesourcery.com>
5093 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
5094 arguments with exponent 65 or above.
5095 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
5096 arguments 0x1p113L or above.
5097 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
5098 to arguments 0x1p107L or above.
5099 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
5100 positive arguments with exponent 65 or above.
5101 * math/auto-libm-test-in: Add more tests of log1p.
5102 * math/auto-libm-test-out: Regenerated.
5105 * math/s_cacos.c (__cacos): Ensure zero real part of result from
5106 non-finite arguments is +0.
5107 * math/s_cacosf.c (__cacosf): Likewise.
5108 * math/s_cacosl.c (__cacosl): Likewise.
5109 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
5110 * sysdeps/i386/fpu/libm-test-ulps: Update.
5111 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5114 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
5116 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
5117 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
5118 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
5119 for explicit high bit of mantissa when testing for argument equal
5121 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
5122 * sysdeps/i386/fpu/libm-test-ulps: Update.
5123 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5126 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
5127 (__erf): Scale by 16 instead of 8 in potentially underflowing
5128 case. Ensure exception if result actually underflows.
5129 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
5130 (__erff): Scale by 16 instead of 8 in potentially underflowing
5131 case. Ensure exception if result actually underflows.
5132 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
5133 (efx8): Remove variable.
5134 (__erfl): Scale by 16 instead of 8 in potentially underflowing
5135 case. Ensure exception if result actually underflows.
5136 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
5137 (efx8): Remove variable.
5138 (__erfl): Scale by 16 instead of 8 in potentially underflowing
5139 case. Ensure exception if result actually underflows.
5140 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
5141 (efx8): Remove variable.
5142 (__erfl): Scale by 16 instead of 8 in potentially underflowing
5143 case. Ensure exception if result actually underflows.
5144 * math/auto-libm-test-in: Add more tests of erf.
5145 * math/auto-libm-test-out: Regenerated.
5147 2014-05-14 Andreas Schwab <schwab@suse.de>
5149 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
5150 Remove code conditionalized on USE___THREAD.
5152 * config.h.in (HAVE_PT_CHOWN): Define as 0.
5153 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
5156 2014-05-14 Joseph Myers <joseph@codesourcery.com>
5158 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
5159 Define unconditionally.
5160 (__ASSUME_O_CLOEXEC): Likewise.
5161 (__ASSUME_SOCK_CLOEXEC): Likewise.
5162 (__ASSUME_IN_NONBLOCK): Likewise.
5163 (__ASSUME_PIPE2): Likewise.
5164 (__ASSUME_EVENTFD2): Likewise.
5165 (__ASSUME_SIGNALFD4): Likewise.
5166 (__ASSUME_DUP3): Likewise.
5167 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
5168 (__ASSUME_DUP3): Do not define.
5169 (__ASSUME_EVENTFD2): Likewise.
5170 (__ASSUME_IN_NONBLOCK): Likewise.
5171 (__ASSUME_O_CLOEXEC): Likewise.
5172 (__ASSUME_PIPE2): Likewise.
5173 (__ASSUME_SIGNALFD4): Likewise.
5174 (__ASSUME_SOCK_CLOEXEC): Likewise.
5175 (__ASSUME_UTIMES): Undefine.
5176 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5177 (__ASSUME_UTIMES): Do not define.
5178 (__ASSUME_O_CLOEXEC): Likewise.
5179 (__ASSUME_SOCK_CLOEXEC): Likewise.
5180 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
5181 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
5183 (__ASSUME_PIPE2): Likewise.
5184 (__ASSUME_EVENTFD2): Likewise.
5185 (__ASSUME_SIGNALFD4): Likewise.
5186 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
5187 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
5189 (__ASSUME_EVENTFD2): Likewise.
5190 (__ASSUME_SIGNALFD4): Likewise.
5191 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
5192 (__ASSUME_32BITUIDS): Likewise.
5193 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
5194 (__ASSUME_IPC64): Likewise.
5195 (__ASSUME_ST_INO_64_BIT): Likewise.
5196 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
5197 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
5198 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5199 (__ASSUME_UTIMES): Do not define.
5200 (__ASSUME_PSELECT): Likewise.
5201 (__ASSUME_PPOLL): Likewise.
5202 (__ASSUME_O_CLOEXEC): Likewise.
5203 (__ASSUME_SOCK_CLOEXEC): Likewise.
5204 (__ASSUME_IN_NONBLOCK): Likewise.
5205 (__ASSUME_PIPE2): Likewise.
5206 (__ASSUME_EVENTFD2): Likewise.
5207 (__ASSUME_SIGNALFD4): Likewise.
5208 (__ASSUME_DUP3): Likewise.
5209 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5210 (__ASSUME_UTIMES): Likewise.
5211 (__ASSUME_O_CLOEXEC): Likewise.
5212 (__ASSUME_SOCK_CLOEXEC): Likewise.
5213 (__ASSUME_IN_NONBLOCK): Likewise.
5214 (__ASSUME_PIPE2): Likewise.
5215 (__ASSUME_EVENTFD2): Likewise.
5216 (__ASSUME_SIGNALFD4): Likewise.
5217 (__ASSUME_DUP3): Likewise.
5218 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5219 (__ASSUME_UTIMES): Likewise.
5220 (__ASSUME_O_CLOEXEC): Likewise.
5221 (__ASSUME_SOCK_CLOEXEC): Likewise.
5222 (__ASSUME_IN_NONBLOCK): Likewise.
5223 (__ASSUME_PIPE2): Likewise.
5224 (__ASSUME_EVENTFD2): Likewise.
5225 (__ASSUME_SIGNALFD4): Likewise.
5226 (__ASSUME_DUP3): Likewise.
5227 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
5229 (__ASSUME_UTIMES): Likewise.
5230 (__ASSUME_EVENTFD2): Likewise.
5231 (__ASSUME_SIGNALFD4): Likewise.
5232 * sysdeps/unix/sysv/linux/tile/kernel-features.h
5233 (__ASSUME_O_CLOEXEC): Likewise.
5234 (__ASSUME_SOCK_CLOEXEC): Likewise.
5235 (__ASSUME_IN_NONBLOCK): Likewise.
5236 (__ASSUME_PIPE2): Likewise.
5237 (__ASSUME_EVENTFD2): Likewise.
5238 (__ASSUME_SIGNALFD4): Likewise.
5239 (__ASSUME_DUP3): Likewise.
5240 (__ASSUME_UTIMES): Undefine.
5242 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
5243 feclearexcept. Remove symbol versioning code.
5244 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
5245 symbol versioning code.
5246 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
5247 symbol versioning code.
5248 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
5249 feupdateenv. Remove symbol versioning code.
5250 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
5251 fegetexceptflag. Remove symbol versioning code.
5252 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
5253 fesetexceptflag. Remove symbol versioning code.
5254 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
5255 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
5256 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
5257 (__posix_fadvise64_l32): Remove prototype.
5258 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
5261 2014-05-13 Roland McGrath <roland@hack.frob.com>
5263 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
5264 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
5265 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
5266 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
5268 2014-05-13 Sami Kerola <kerolasa@iki.fi>
5270 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
5271 current working directory
5273 2014-05-13 Roland McGrath <roland@hack.frob.com>
5275 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
5276 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
5277 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
5278 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
5279 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
5280 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
5281 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
5282 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
5283 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
5284 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
5285 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
5286 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
5287 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
5288 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
5289 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
5290 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
5291 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
5292 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
5293 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
5294 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
5295 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
5296 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
5297 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
5298 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
5299 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
5300 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
5301 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
5302 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
5303 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
5304 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
5305 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
5306 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
5307 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
5308 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
5309 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
5310 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
5311 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
5312 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
5313 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
5314 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
5315 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
5316 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
5318 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
5319 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
5321 * sysdeps/unix/sysv/linux/arm/Makefile
5322 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
5323 Add rt-aeabi_unwind_cpp_pr1.
5324 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
5325 Add nptl-aeabi_unwind_cpp_pr1.
5326 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
5327 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
5328 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
5329 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
5330 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
5331 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
5333 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
5334 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
5335 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
5336 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
5338 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
5339 Deconditionalize the code that was previously under [RESET_PID].
5340 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
5342 * sysdeps/generic/exit-thread.h: New file.
5343 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
5344 * include/unistd.h (__exit_thread): Remove declaration.
5345 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
5346 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
5347 * csu/libc-start.c: Include <exit-thread.h>.
5348 (LIBC_START_MAIN): Pass no argument to __exit_thread.
5349 * nptl/pthread_create.c: Include <exit-thread.h>.
5350 (start_thread): Call __exit_thread in place of __exit_thread_inline.
5351 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
5352 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
5353 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
5354 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
5355 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
5356 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
5357 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
5358 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
5359 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
5360 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
5361 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
5362 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
5363 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
5364 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
5365 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
5366 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
5368 2014-05-13 Andreas Schwab <schwab@suse.de>
5370 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
5372 2014-05-12 Joseph Myers <joseph@codesourcery.com>
5374 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
5375 (__ASSUME_UTIMES): Do not condition on kernel version.
5376 (__ASSUME_PSELECT): Define unconditionally.
5377 (__ASSUME_PPOLL): Likewise.
5378 (__ASSUME_ATFCTS): Likewise.
5379 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
5380 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
5381 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
5382 (__ASSUME_UTIMENSAT): Define unconditionally.
5383 (__ASSUME_PRIVATE_FUTEX): Likewise.
5384 (__ASSUME_FALLOCATE): Likewise.
5385 (__ASSUME_O_CLOEXEC): Likewise.
5386 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
5387 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
5388 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
5389 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
5390 (__ASSUME_IN_NONBLOCK): Likewise.
5391 (__ASSUME_PIPE2): Likewise.
5392 (__ASSUME_EVENTFD2): Likewise.
5393 (__ASSUME_SIGNALFD4): Likewise.
5394 (__ASSUME_DUP3): Likewise.
5395 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
5396 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
5397 (__ASSUME_AT_RANDOM): Likewise.
5398 (__ASSUME_PREADV): Likewise.
5399 (__ASSUME_PWRITEV): Likewise.
5400 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
5401 (__ASSUME_F_GETOWN_EX): Define unconditionally.
5402 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
5403 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
5404 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
5405 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5406 (__ASSUME_O_CLOEXEC): Define unconditionally.
5407 (__ASSUME_PSELECT): Do not undefine conditionally.
5408 (__ASSUME_PPOLL): Likewise.
5409 (__ASSUME_ATFCTS): Likewise.
5410 (__ASSUME_SET_ROBUST_LIST): Likewise.
5411 (__ASSUME_UTIMENSAT): Likewise.
5412 (__ASSUME_FDATASYNC): Define unconditionally.
5413 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5414 (__ASSUME_SIGFRAME_V2): Likewise.
5415 )__ASSUME_EVENTFD2): Likewise.
5416 (__ASSUME_SIGNALFD4): Likewise.
5417 (__ASSUME_PSELECT): Do not undefine conditionally.
5418 (__ASSUME_PPOLL): Likewise.
5419 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5420 (__ASSUME_PSELECT): Define unconditionally.
5421 (__ASSUME_PPOLL): Likewise.
5422 (__ASSUME_O_CLOEXEC): Likewise.
5423 (__ASSUME_SOCK_CLOEXEC): Likewise.
5424 (__ASSUME_IN_NONBLOCK): Likewise.
5425 (__ASSUME_PIPE2): Likewise.
5426 (__ASSUME_EVENTFD2): Likewise.
5427 (__ASSUME_SIGNALFD4): Likewise.
5428 (__ASSUME_DUP3): Likewise.
5429 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5430 (__ASSUME_O_CLOEXEC): Likewise.
5431 (__ASSUME_SOCK_CLOEXEC): Likewise.
5432 (__ASSUME_IN_NONBLOCK): Likewise.
5433 (__ASSUME_PIPE2): Likewise.
5434 (__ASSUME_EVENTFD2): Likewise.
5435 (__ASSUME_SIGNALFD4): Likewise.
5436 (__ASSUME_DUP3): Likewise.
5437 * sysdeps/unix/sysv/linux/mips/kernel-features.h
5438 (__ASSUME_EVENTFD2): Likewise.
5439 (__ASSUME_SIGNALFD4): Likewise.
5440 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
5442 2014-05-12 Andreas Schwab <schwab@suse.de>
5445 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
5446 (_nss_nis_gethostbyname4_r): Return error if item length is larger
5447 than maximum RPC packet size.
5448 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
5449 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
5450 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
5451 (_nss_nis_getservbyport_r): Likewise.
5453 2014-05-12 Will Newton <will.newton@linaro.org>
5455 * malloc/Makefile (tests): Add tst-mallopt.
5456 * malloc/tst-mallopt.c: New file.
5458 2014-05-09 Roland McGrath <roland@hack.frob.com>
5460 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
5461 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
5463 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5465 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
5466 (tst-tlsmod6.so): Likewise.
5468 2014-05-09 Roland McGrath <roland@hack.frob.com>
5470 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
5472 2014-05-09 Joseph Myers <joseph@codesourcery.com>
5475 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
5476 and <dl-procinfo.h>.
5477 (__fegetenv): Save SSE state in envp->__eip if supported.
5478 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
5479 envp->__eip if supported.
5480 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
5481 and <dl-procinfo.h>.
5482 (__fesetenv): Always set __eip, __cs_selector, __opcode,
5483 __data_offset and __data_selector in environment to 0. Set SSE
5485 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
5487 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
5489 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
5491 2014-05-09 Will Newton <will.newton@linaro.org>
5493 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
5494 and libc_relro_required for ARM.
5495 * sysdeps/arm/preconfigure: Regenerate.
5497 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
5498 Stefan Liebler <stli@linux.vnet.ibm.com>
5500 * config.make.in (enable-lock-elision): New Makefile variable.
5501 * configure.ac: Likewise.
5502 * configure: Regenerate.
5503 * sysdeps/s390/configure.ac:
5504 Add check for gcc transactions support.
5505 * sysdeps/s390/configure: Regenerate.
5506 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
5507 Build elision files if enabled.
5508 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
5509 Add lock elision support for s390.
5510 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
5511 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
5512 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
5513 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
5514 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
5515 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
5516 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
5518 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
5520 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
5522 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
5524 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
5525 (__lll_timedlock_elision, __lll_lock_elision)
5526 (__lll_unlock_elision, __lll_trylock_elision)
5527 (lll_timedlock_elision, lll_lock_elision)
5528 (lll_unlock_elision, lll_trylock_elision): Add.
5529 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
5530 (pthread_mutex_t): Add lock elision support for s390.
5532 2014-05-14 Wilco <wdijkstr@arm.com>
5534 * sysdeps/arm/fclrexcpt.c: Cleanup.
5535 * sysdeps/arm/fedisblxcpt.c: Cleanup.
5536 * sysdeps/arm/feenablxcpt.c: Cleanup.
5537 * sysdeps/arm/fegetenv.c: Cleanup.
5538 * sysdeps/arm/fegetexcept.c: Cleanup.
5539 * sysdeps/arm/fegetround.c: Cleanup.
5540 * sysdeps/arm/feholdexcpt.c: Cleanup.
5541 * sysdeps/arm/fesetenv.c: Cleanup.
5542 * sysdeps/arm/fesetround.c: Cleanup.
5543 * sysdeps/arm/feupdateenv.c: Cleanup.
5544 * sysdeps/arm/fgetexcptflg.c: Cleanup.
5545 * sysdeps/arm/fraiseexcpt.c: Cleanup.
5546 * sysdeps/arm/fsetexcptflg.c: Cleanup.
5547 * sysdeps/arm/ftestexcept.c: Cleanup.
5548 * sysdeps/arm/get-rounding-mode.h: Cleanup.
5549 * sysdeps/arm/setfpucw.c: Cleanup.
5551 2014-05-09 Will Newton <will.newton@linaro.org>
5553 * sysdeps/arm/armv7/strcmp.S: New file.
5554 * NEWS: Mention addition of ARMv7 optimized strcmp.
5556 2014-05-08 Roland McGrath <roland@hack.frob.com>
5558 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
5559 look for %.ac rather than %.in.
5561 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
5562 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
5563 * sysdeps/mach/hurd/configure: Regenerated.
5564 * sysdeps/unix/sysv/linux/configure: Regenerated.
5566 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
5568 2014-05-07 Steve Ellcey <sellcey@mips.com>
5571 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
5575 2014-05-07 Andreas Schwab <schwab@suse.de>
5577 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
5578 when skipping over non-matching result from nscd.
5580 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
5583 * nptl/sockperf.c (client): Check socket return value.
5586 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
5587 nscd security class.
5589 2014-05-06 Roland McGrath <roland@hack.frob.com>
5591 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
5592 * sysdeps/arm/unwind.h: ... here.
5594 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
5597 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
5600 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
5602 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
5603 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
5604 multiarch strncpy for PPC64.
5605 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
5606 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
5607 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
5608 multiarch optimizations.
5609 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5610 (__libc_ifunc_impl_list): Likewise.
5611 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
5612 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
5613 multiarch stpncpy for PPC64.
5614 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
5615 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
5617 2014-05-06 Andreas Schwab <schwab@suse.de>
5620 * gmon/mcount.c (_MCOUNT_DECL): Use
5621 atomic_compare_and_exchange_bool_acq instead of
5622 catomic_compare_and_exchange_bool_acq.
5624 2014-05-05 Roland McGrath <roland@hack.frob.com>
5626 * elf/Makefile (others, install-bin): Remove pldd.
5627 (pldd-modules): Variable removed.
5628 ($(objpfx)pldd): Target removed.
5629 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
5630 (others, install-bin): Append pldd here.
5631 ($(objpfx)pldd): New target.
5633 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
5634 to 0, so the first #if test emitted later doesn't see it undefined.
5635 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
5636 * sysdeps/gnu/errlist.c: Regenerated.
5638 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5640 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
5641 [libc_hidden_builtin_def]: Define to empty value.
5642 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
5643 [libc_hidden_builtin_def]: Likewise.
5644 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
5645 [libc_hidden_builtin_def]: Likewise.
5646 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
5647 [libc_hidden_builtin_def]: Likewise.
5648 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
5649 __redirect_memcpy and define ifunc as default hidden symbol.
5650 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
5651 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
5653 2014-05-04 Adam Conrad <adconrad@0c3.net>
5655 * locale/iso-4217.def: Reintroduce XDR currency.
5657 2014-05-04 Allan McRae <allan@archlinux.org>
5659 * po/eo.po: Update Esperanto translation from translation project.
5661 2014-05-02 Carlos O'Donell <carlos@redhat.com>
5663 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
5664 and FEATURE_INDEX_MAX to 1.
5665 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
5667 2014-05-01 Steve Ellcey <sellcey@mips.com>
5669 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
5670 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
5671 * iconvdata/big5.c (ONE_DIRECTION): Define.
5672 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
5673 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
5674 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
5675 * iconvdata/cp932.c (ONE_DIRECTION): Define.
5676 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
5677 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
5678 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
5679 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
5680 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
5681 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
5682 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
5683 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
5684 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
5685 * iconvdata/gbk.c (ONE_DIRECTION): Define.
5686 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
5687 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
5688 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
5689 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
5690 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
5691 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
5692 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
5693 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
5694 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
5695 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
5696 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
5697 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
5698 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
5699 * iconvdata/iso646.c (ONE_DIRECTION): Define.
5700 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
5701 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
5702 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
5703 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
5704 * iconvdata/johab.c (ONE_DIRECTION): Define.
5705 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
5706 * iconvdata/sjis.c (ONE_DIRECTION): Define.
5707 * iconvdata/t.61.c (ONE_DIRECTION): Define.
5708 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
5709 * iconvdata/tscii.c (ONE_DIRECTION): Define.
5710 * iconvdata/uhc.c (ONE_DIRECTION): Define.
5711 * iconvdata/unicode.c (ONE_DIRECTION): Define.
5712 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
5713 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
5714 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
5716 2014-05-01 Roland McGrath <roland@hack.frob.com>
5718 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
5719 (_IO_JUMPS_OFFSET): Define to 0.
5721 * nptl/sysdeps/pthread/bits/libc-lock.h
5722 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
5723 (__libc_lock_define_initialized_recursive): Always define using
5724 initializer. Modern compilers treat uninitialized (implicit zero) and
5725 explicit zero initializers the same (i.e. put the datum in bss).
5727 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
5729 * nscd/nscd-client.h: Include <string.h>.
5731 2014-05-01 David S. Miller <davem@davemloft.net>
5734 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
5735 multiple zero bytes exist at the end of a string.
5736 Reported by Aurelien Jarno <aurelien@aurel32.net>
5738 * string/test-strcmp.c (check): Add explicit test for situations where
5739 there are multiple zero bytes after the first.
5741 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
5744 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
5745 when compiling wprintf.
5746 * stdio-common/tstdiomisc.c (t3): New function.
5749 2014-05-01 Steve Ellcey <sellcey@mips.com>
5751 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
5752 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
5753 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
5754 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
5756 2014-05-01 Steve Ellcey <sellcey@mips.com>
5758 * stdlib/longlong.h: Updated from GCC.
5760 2014-05-01 Will Newton <will.newton@linaro.org>
5761 Bernard Ogden <bernie.ogden@linaro.org>
5763 * NEWS: Update fixed bug list.
5766 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
5768 2014-04-30 David S. Miller <davem@davemloft.net>
5770 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
5771 (libc_feholdexcept_setround_sparc_ctx): New function.
5772 (libc_fesetenv_sparc_ctx): Likewise.
5773 (libc_feupdateenv_sparc_ctx): Likewise.
5774 (libc_feholdsetround_sparc_ctx): Likewise.
5775 (libc_feholdexcept_setround_ctx): Define.
5776 (libc_feholdexcept_setroundf_ctx): Likewise.
5777 (libc_feholdexcept_setroundl_ctx): Likewise.
5778 (libc_fesetenv_ctx): Likewise.
5779 (libc_fesetenvf_ctx): Likewise.
5780 (libc_fesetenvl_ctx): Likewise.
5781 (libc_feupdateenv_ctx): Likewise.
5782 (libc_feupdateenvf_ctx): Likewise.
5783 (libc_feupdateenvl_ctx): Likewise.
5784 (libc_feresetround_ctx): Likewise.
5785 (libc_feresetroundf_ctx): Likewise.
5786 (libc_feresetroundl_ctx): Likewise.
5787 (libc_feholdsetround_ctx): Likewise.
5788 (libc_feholdsetroundf_ctx): Likewise.
5789 (libc_feholdsetroundl_ctx): Likewise.
5791 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
5792 with __USE_GNU instead of XOPEN cpp guards.
5794 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
5797 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
5798 with XOPEN cpp guards.
5800 2014-04-30 Julian Brown <julian@codesourcery.com>
5803 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
5806 2014-04-30 Joseph Myers <joseph@codesourcery.com>
5809 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
5811 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
5812 * sysdeps/unix/sysv/linux/configure: Regenerated.
5813 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
5814 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
5815 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
5816 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
5817 * README: Update reference to required Linux kernel version.
5818 * manual/install.texi (Linux): Update reference to required Linux
5819 kernel headers version.
5820 * INSTALL: Regenerated.
5822 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
5824 [POSIX] (limits.h): Likewise.
5825 [POSIX] (math.h): Likewise.
5826 [POSIX] (sys/wait.h): Likewise.
5827 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
5829 [POSIX] (stddef.h): Do not allow header inclusion.
5831 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5833 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
5835 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
5837 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
5838 Return immediately after lll_futex_wake.
5840 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
5843 * nscd/nscd-client.h (datahead_init_common): Initialize entire
5845 (datahead_init_pos): Call datahead_init_common early.
5846 (datahead_init_neg): Likewise.
5848 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
5849 datahead_init_neg): New functions.
5850 * nscd/aicache.c (addhstaiX): Use them.
5851 * nscd/grpcache.c (cache_addgr): Likewise.
5852 * nscd/hstcache.c (cache_addhst): Likewise.
5853 * nscd/initgrcache.c (addinitgroupsX): Likewise.
5854 * nscd/netgroupcache.c (do_notfound): Likewise.
5855 (addgetnetgrentX): Likewise.
5856 (addinnetgrX): Likewise.
5857 * nscd/pwdcache.c (cache_addpw): Likewise.
5858 * nscd/servicescache.c (cache_addserv): Likewise.
5860 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
5861 Atsushi Onoe <atsushi@onoe.org>
5866 * resolv/res_query.c (__libc_res_nsearch): Return if at least
5867 one response is valid.
5868 * resolv/res_send.c (send_dg): Check for validity of other
5869 response if the current response is a referral.
5871 2014-04-29 Steve Ellcey <sellcey@mips.com>
5873 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
5875 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
5878 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
5879 Always divide by positive zero when computing -Inf result.
5880 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
5881 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
5883 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5885 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
5886 FPSCR if value do not change.
5887 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
5888 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
5889 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
5890 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
5891 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
5892 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
5895 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
5897 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
5898 * sysdeps/unix/sysv/linux/hppa: Move directory from
5899 ports/systeps/unix/sysv/linux/hppa.
5900 * README: Update listing for hppa-*-linux-gnu.
5902 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
5905 * manual/stdio.texi (Hook functions): Fix types of stream hook
5908 * socket/sys/socket.h: Fix typo in comment.
5910 2014-04-28 Wilco <wdijkstr@arm.com>
5912 * sysdeps/arm/fenv_private.h: New file.
5913 * sysdeps/arm/math_private.h: New file.
5914 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
5916 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
5918 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
5920 (La_x86_64_retval): Likewise.
5922 2014-04-24 Ian Bolton <ian.bolton@arm.com>
5924 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
5925 fpsr if value didn't change.
5926 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
5927 to fpcr if value didn't change.
5928 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
5929 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
5930 fpsr or fpcr if value didn't change.
5931 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
5932 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
5933 fpcr if value didn't change.
5934 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
5935 to fpsr if value didn't change.
5937 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
5939 * nptl/tst-sem3.c: Use test-skeleton.c
5940 (main): Rename to do_test. Use return instead of
5942 * nptl/tst-sem4.c: Use test-skeleton.c
5943 (main): Rename to do_test.
5945 2014-04-22 David S. Miller <davem@davemloft.net>
5947 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
5948 (struct sigaction): New struct member __glibc_reserved0, change
5949 type of sa_flags to int.
5951 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
5953 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
5954 (COUNT_LEADING_ZEROS_0): Define for AArch64.
5956 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
5958 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
5959 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
5961 2014-04-22 Will Newton <will.newton@linaro.org>
5962 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
5964 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
5965 (__longjmp): Add longjmp and longjmp_target SystemTap
5967 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
5968 (__sigsetjmp): Add setjmp SystemTap probe.
5970 2014-04-17 Carlos O'Donell <carlos@redhat.com>
5972 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
5975 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5977 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
5979 * sysdeps/powerpc/fpu/fenv_private.h
5980 (libc_feholdexcept_setroundl_ctx): Define to
5981 libc_feholdexcept_setround_ppc_ctx.
5982 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
5983 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
5984 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
5985 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
5987 2014-04-17 Ian Bolton <ian.bolton@arm.com>
5989 * sysdeps/aarch64/math-tests.h: New file.
5991 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
5993 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
5995 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5996 Check and set bit_AVX2_Usable.
5997 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
5999 (bit_AVX2): Likewise.
6000 (index_AVX2_Usable): Likewise.
6001 (CPUID_AVX2): Likewise.
6002 (HAS_AVX2): Likewise.
6004 2014-04-17 Will Newton <will.newton@linaro.org>
6006 * manual/setjmp.texi (System V contexts): Add note that
6007 calling setcontext on a context created by a call to a
6008 signal handler is undefined. Update text to note that
6009 setcontext from a signal handler is possible but not
6013 * stdlib/tst-setcontext.c: Include signal.h.
6014 (main): Check that the signal stack before and
6015 after swapcontext is the same.
6017 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
6018 Re-implement to restore registers in user code and avoid
6019 rt_sigreturn system call.
6021 2014-04-17 Wilco <wdijkstr@arm.com>
6023 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
6024 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
6025 * math/test-fenv.c: Skip exception trap tests on targets which only
6026 support non-stop mode.
6028 2014-04-17 Ian Bolton <ian.bolton@arm.com>
6029 Wilco Dijkstra <wilco.dijkstra@arm.com>
6031 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
6032 (libc_feholdsetround_aarch64_ctx)
6033 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
6034 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
6035 (libc_feresetround_ctx, libc_feresetroundf_ctx)
6036 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
6037 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
6038 (libc_feresetround_noexl_ctx): Define.
6040 2014-04-16 Richard Henderson <rth@redhat.com>
6042 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
6044 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
6047 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
6048 const from the non-libc, non-ldso copy.
6050 * sysdeps/alpha/libm-test-ulps: Regenerate.
6052 2014-04-16 Ian Bolton <ian.bolton@arm.com>
6053 Wilco Dijkstra <wilco.dijkstra@arm.com>
6055 * sysdeps/aarch64/fpu/math_private.h: New file.
6057 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
6059 * sysdeps/aarch64/libm-test-ulps: Regenerate.
6061 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
6063 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
6064 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
6065 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
6066 Intel MPX bound registers before _dl_profile_fixup.
6067 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
6068 registers after _dl_profile_fixup. Save and restore bound
6069 registers bnd0/bnd1 when calling _dl_call_pltexit.
6070 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
6071 (LR_BND_OFFSET): Likewise.
6072 (LRV_BND0_OFFSET): Likewise.
6073 (LRV_BND1_OFFSET): Likewise.
6075 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
6077 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
6079 * sysdeps/mach/hurd/i386/tls.h: ... here.
6080 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
6081 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
6084 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
6086 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
6088 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
6090 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
6092 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
6095 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
6096 * sysdeps/s390/configure: Regenerate.
6099 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
6100 Set round-to-nearest internally to reduce error accumulation.
6102 2014-04-16 Alan Modra <amodra@gmail.com>
6106 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
6107 * math/libm-test.inc (frexp_test_data): Add tests.
6108 * NEWS: Update fixed bug list.
6110 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6112 * benchtests/Makefile: Depend on libraries in build directory.
6113 (bench-math): Separate out math tests.
6114 (bench-pthread): Separate out pthread tests.
6115 (bench): Include math and pthread tests.
6117 2014-04-14 Carlos O'Donell <carlos@redhat.com>
6120 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
6121 _dl_debug_initialize.
6123 * configure.ac: Remove SELinux header check.
6124 * configure: Regenerate.
6125 * nscd/selinux.c (perms): Array of const char* to permission names.
6126 (nscd_request_avc_has_perm): Call security_deny_unknown to find
6127 default policy. Call string_to_security_class and string_to_av_perm to
6128 translate strings. Enforce default policy and call avs_has_perm with
6129 results of translated strings.
6131 2014-04-13 David S. Miller <davem@davemloft.net>
6133 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6135 2014-04-12 Allan McRae <allan@archlinux.org>
6138 * manual/string.texi (Collation Functions): Fix qsort argument
6140 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
6142 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
6144 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
6145 Make the test a no-op if there are no exceptions defined.
6147 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
6149 * elf/Makefile (tests): make tst-dlopen-aout conditional on
6150 enable-hardcoded-path-in-tests
6152 2014-04-11 Will Newton <will.newton@linaro.org>
6154 * benchtests/Makefile (extra-objs): Add json-lib.o.
6155 (bench-func): Tidy up JSON output.
6156 * benchtests/bench-skeleton.c: Include json-lib.h.
6157 (main): Use JSON library functions to do output of
6159 * benchtests/bench-timing-type.c (main): Output the
6160 timing type simply, leaving formatting to the user.
6161 * benchtests/json-lib.c: New file.
6162 * benchtests/json-lib.h: Likewise.
6164 2014-04-11 Torvald Riegel <triegel@redhat.com>
6167 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
6168 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
6169 memory barriers. Add comments.
6170 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
6171 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
6172 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
6173 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
6174 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
6175 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
6177 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
6179 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
6180 * sysdeps/s390/s390-64/configure.ac: ... this ...
6181 * sysdeps/s390/configure.ac: ... to here.
6182 * sysdeps/s390/s390-32/configure: Delete file.
6183 * sysdeps/s390/s390-64/configure: Delete file.
6184 * sysdeps/s390/configure: Regenerate.
6186 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
6188 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
6190 2014-04-11 Will Newton <will.newton@linaro.org>
6192 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
6193 to zero if it is not defined elsewhere. (mtrim): Test
6194 the value of MALLOC_DEBUG with #if rather than #ifdef.
6196 2014-04-10 Torvald Riegel <triegel@redhat.com>
6198 * benchtests/pthread_once-inputs: New file.
6199 * benchtests/pthread_once-source.c: New file.
6200 * benchtests/README: Update documentation.
6202 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
6203 H.J. Lu <hongjiu.lu@intel.com>
6205 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
6206 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
6207 * sysdeps/x86_64/configure: Regenerated.
6208 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
6210 (REGISTER_SAVE_RAX): Likewise.
6211 (REGISTER_SAVE_RCX): Likewise.
6212 (REGISTER_SAVE_RDX): Likewise.
6213 (REGISTER_SAVE_RSI): Likewise.
6214 (REGISTER_SAVE_RDI): Likewise.
6215 (REGISTER_SAVE_R8): Likewise.
6216 (REGISTER_SAVE_R9): Likewise.
6217 (REGISTER_SAVE_BND0): Likewise.
6218 (REGISTER_SAVE_BND1): Likewise.
6219 (REGISTER_SAVE_BND2): Likewise.
6220 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
6221 bound registers when calling _dl_fixup.
6223 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6225 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
6226 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
6228 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
6229 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
6230 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
6231 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
6232 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
6233 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
6234 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
6236 2014-04-09 Peter Brett <peter@peter-b.co.uk>
6239 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
6240 pathconf(_PC_NAME_MAX).
6242 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6244 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
6246 (__PTHREAD_SPINS): Move definition to ...
6247 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
6248 (__PTHREAD_SPINS): ... here.
6249 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
6250 (__PTHREAD_SPIN): Likewise.
6251 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
6252 (__PTHREAD_SPIN): Likewise.
6253 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
6254 (__PTHREAD_SPIN): Likewise.
6255 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
6256 (__PTHREAD_SPIN): Likewise.
6257 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
6258 (__PTHREAD_SPIN): Likewise.
6259 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
6260 (__PTHREAD_SPIN): Likewise.
6261 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
6262 (__PTHREAD_SPIN): Likewise.
6263 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
6264 (__PTHREAD_SPIN): Likewise.
6265 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
6266 (__PTHREAD_SPIN): Likewise.
6267 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
6268 (__PTHREAD_SPIN): Likewise.
6269 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
6270 (__PTHREAD_SPIN): Likewise.
6271 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
6272 (__PTHREAD_SPIN): Likewise.
6274 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
6275 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
6276 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
6277 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
6279 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
6280 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
6281 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
6282 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
6284 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
6285 strlen symbol for non multi-arch builds.
6286 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
6287 missing hidden_def and weak_alias.
6289 2014-04-08 Carlos O'Donell <carlos@redhat.com>
6291 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
6293 2014-04-07 Will Newton <will.newton@linaro.org>
6295 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
6296 and contents. [!_LIBC] Remove #ifndef and contents.
6297 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
6298 * string/memccpy.c (__memccpy): Use ANSI prototype.
6299 * string/memfrob.c (memfrob): Likewise.
6300 * string/strcoll.c (STRCOLL): Likewise.
6301 * string/strlen.c (strlen): Likewise.
6302 * string/strtok.c (STRTOK): Likewise.
6303 * string/strcat.c: Remove unused #include of memcopy.h.
6304 (strcat): Use ANSI prototype.
6305 * string/strchr.c: Remove unused #include of memcopy.h.
6306 (strchr): Use ANSI prototype.
6307 * string/strcmp.c: Remove unused #include of memcopy.h.
6308 (strcmp): Use ANSI prototype.
6309 * string/strcpy.c: Remove unused #include of memcopy.h.
6310 (strcpy): Use ANSI prototype.
6312 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6314 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
6315 * config.make.in (config-extra-cppflags): Set it from
6316 libc_extra_cppflags.
6317 * configure.ac (libc_extra_cflags): Make it accumulate over
6318 configure fragments.
6319 (libc_extra_cppflags): New flag.
6320 * configure. Regenerate.
6321 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
6322 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
6323 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
6324 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
6327 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
6328 result for FE_DOWNWARD rounding mode.
6329 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
6331 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6333 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
6335 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
6336 in function argument name.
6338 2014-04-03 David Svoboda <svoboda@cert.org>
6341 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
6344 2014-04-03 Roland McGrath <roland@hack.frob.com>
6346 * elf/dl-unmap-segments.h: New file.
6347 * sysdeps/generic/ldsodefs.h
6348 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
6349 * elf/dl-close.c: Include <dl-unmap-segments.h>.
6350 * elf/dl-fptr.c: Likewise.
6351 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
6352 * sysdeps/aarch64/tlsdesc.c: Likewise.
6353 * sysdeps/arm/tlsdesc.c: Likewise.
6354 * sysdeps/i386/tlsdesc.c: Likewise.
6355 * sysdeps/tile/dl-runtime.c: Likewise.
6356 * sysdeps/x86_64/tlsdesc.c: Likewise.
6357 * elf/dl-load.h: New file.
6358 * elf/dl-load.c: Include it.
6359 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
6360 Macros moved to dl-load.h.
6361 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
6362 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
6363 Use _dl_unmap_segments in place of __munmap.
6364 Break out segment-mapping loop into ...
6365 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
6367 2014-04-03 Will Newton <will.newton@linaro.org>
6369 * elf/dl-lookup.c (do_lookup_x): Remove comment
6370 referring to nested function and move variable
6371 declarations down to before first use.
6373 2014-04-02 Joseph Myers <joseph@codesourcery.com>
6377 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
6379 * math/s_catanf.c (__catanf): Likewise.
6380 * math/s_catanh.c (__catanh): Likewise.
6381 * math/s_catanhf.c (__catanhf): Likewise.
6382 * math/s_catanhl.c (__catanhl): Likewise.
6383 * math/s_catanl.c (__catanl): Likewise.
6384 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
6385 by positive zero when computing -Inf result.
6386 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
6387 (catanh_test): Likewise.
6388 * sysdeps/i386/fpu/libm-test-ulps: Update.
6389 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6392 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
6393 instead of using underflowing value in computing result.
6394 * math/s_clog10.c (__clog10): Likewise.
6395 * math/s_clog10f.c (__clog10f): Likewise.
6396 * math/s_clog10l.c (__clog10l): Likewise.
6397 * math/s_clogf.c (__clogf): Likewise.
6398 * math/s_clogl.c (__clogl): Likewise.
6399 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
6400 (clog10_test): Likewise.
6401 * sysdeps/i386/fpu/libm-test-ulps: Update.
6402 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6404 2014-04-02 Alan Modra <amodra@gmail.com>
6407 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
6408 output when value is near a power of two. Use int64_t for lx and
6409 remove casts. Use decimal rather than hex exponent constants.
6410 Don't use long double multiplication when double will suffice.
6411 * math/libm-test.inc (nextafter_test_data): Add tests.
6412 * NEWS: Add 16739 and 16786 to bug list.
6414 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
6416 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
6418 2014-04-01 Will Newton <will.newton@linaro.org>
6420 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
6421 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
6423 2014-04-01 Florian Weimer <fweimer@redhat.com>
6426 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
6427 * nptl/tst-setuid2.c: New file.
6428 * nptl/Makefile (xtests): Add tst-setuid2.
6430 2014-04-01 Alan Modra <amodra@gmail.com>
6433 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
6435 2014-03-31 Joseph Myers <joseph@codesourcery.com>
6439 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
6440 set errno as appropriate.
6441 * math/w_scalbf.c (__scalbf): Likewise.
6442 * math/w_scalbl.c (__scalbl): Likewise.
6443 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
6444 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
6445 * math/libm-test.inc (scalb_test_data): Add errno expectations.
6449 * math/w_atan2.c: Include <errno.h>.
6450 (__atan2): Set errno for result underflowing to zero.
6451 * math/w_atan2f.c: Include <errno.h>.
6452 (__atan2f): Set errno for result underflowing to zero.
6453 * math/w_atan2l.c: Include <errno.h>.
6454 (__atan2l): Set errno for result underflowing to zero.
6455 * math/auto-libm-test-in: Don't allow missing errno for some atan2
6457 * math/auto-libm-test-out: Regenerated.
6459 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6461 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
6462 Encode instruction correctly in little endian.
6463 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
6465 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
6467 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
6469 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
6472 2014-03-31 Joseph Myers <joseph@codesourcery.com>
6475 * sysdeps/unix/sysv/linux/kernel-features.h
6476 [__sparc__ && !__arch64__ && !__sparc_v9__]
6477 (__ASSUME_SET_ROBUST_LIST): Do not define.
6478 [__sparc__ && !__arch64__ && !__sparc_v9__]
6479 (__ASSUME_FUTEX_LOCK_PI): Likewise.
6480 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
6482 * sysdeps/unix/sysv/linux/arm/kernel-features.h
6483 (__ASSUME_FUTEX_LOCK_PI): Undefine.
6484 (__ASSUME_REQUEUE_PI): Likewise.
6485 (__ASSUME_SET_ROBUST_LIST): Likewise.
6486 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6487 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
6489 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6490 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
6492 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
6494 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
6496 * sysdeps/unix/sysv/linux/mips/kernel-features.h
6497 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
6499 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
6500 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
6504 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6505 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
6506 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
6508 2014-03-31 Will Newton <will.newton@linaro.org>
6510 * benchtests/Makefile (bench): Add ffs and ffsll to list
6512 * benchtests/ffs-inputs: New file.
6513 * benchtests/ffsll-inputs: Likewise.
6515 2014-03-29 Joseph Myers <joseph@codesourcery.com>
6518 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
6519 too large before casting to int.
6520 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
6521 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
6522 * math/libm-test.inc (scalb_test_data): Add more tests.
6524 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
6526 * benchtests/Makefile (DETAILED_OPT): New make option.
6527 (bench-func): Run benchmark program with -d if DETAILED_OPT is
6529 * benchtests/bench-skeleton.c: Include stdbool.h.
6530 (main): Store and print timings per input.
6531 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
6532 member to each argument value.
6533 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
6534 (_print_arg_data): Initialize per-input timing to 0.
6536 * benchtests/Makefile (timing-type): New binary.
6537 (bench-clean): Also remove bench-timing-type.
6538 (bench): New target for timing-type.
6539 (bench-func): Print output in JSON format.
6540 * benchtests/bench-skeleton.c (main): Print output in JSON
6542 * benchtests/bench-timing-type.c: New file.
6543 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
6544 (TIMING_PRINT_STATS): Remove.
6545 * benchtests/scripts/bench.py (_print_arg_data): Store variant
6548 * benchtests/bench-modf.c: Remove.
6549 * benchtests/modf-inputs: New inputs file.
6551 2014-03-28 Joseph Myers <joseph@codesourcery.com>
6554 * math/s_clog10.c (M_PI_LOG10E): New macro.
6555 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
6556 imaginary parts are 0.
6557 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
6558 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
6559 imaginary parts are 0.
6560 * math/s_clog10l.c (M_PI_LOG10El): New macro.
6561 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
6562 imaginary parts are 0.
6563 * math/libm-test.inc (clog10_test_data): Update expected results
6564 for when real and imaginary parts are 0.
6566 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
6568 * elf/dl-load.c: Finish conversion of __builtin_expect into
6571 2014-03-27 Joseph Myers <joseph@codesourcery.com>
6574 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
6575 1+x for argument with exponent below -67.
6576 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
6578 * math/auto-libm-test-in: Add more tests of exp.
6579 * math/auto-libm-test-out: Regenerated.
6581 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
6584 * inet/getnetgrent_r.c (get_nonempty_val): New function.
6585 (nscd_getnetgrent): Use it.
6588 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
6591 2014-03-27 Andi Kleen <ak@linux.intel.com>
6593 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
6594 (lll_robust_lock, lll_cond_lock, lll_timedlock)
6595 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
6596 (lll_robust_unlock): Remove out of line section. Use cfi
6598 (LLL_STUB_UNWIND_INFO*): Remove.
6599 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
6600 (lll_robust_lock, lll_cond_lock, lll_timedlock)
6601 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
6602 (lll_robust_unlock): Remove out of line section. Use cfi
6604 (LLL_STUB_UNWIND_INFO*): Remove.
6606 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
6609 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
6612 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
6614 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
6616 2014-03-26 Joseph Myers <joseph@codesourcery.com>
6619 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
6621 * math/test-fenv-preserve.c: New file.
6622 * math/Makefile (tests): Add test-fenv-preserve.
6624 2014-03-26 Will Newton <will.newton@linaro.org>
6626 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
6628 2014-03-25 Roland McGrath <roland@hack.frob.com>
6630 * scripts/versionlist.awk: Partition the version sets and emit all
6631 GLIBC_* (sorted) before all others (sorted).
6633 2014-03-25 Joseph Myers <joseph@codesourcery.com>
6635 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
6636 GLIBC_2.2.5 version.
6638 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6640 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
6643 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
6646 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6648 2014-03-25 Andreas Schwab <schwab@suse.de>
6650 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
6651 label to be used after in6ailist is initialized.
6653 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6655 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
6656 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
6658 2014-03-25 Joseph Myers <joseph@codesourcery.com>
6662 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
6664 (fp_formats): Update initializers.
6665 (init_fp_formats): Initialize new field.
6666 (output_for_one_input_case): Allow underflow for results up to
6668 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
6669 * math/auto-libm-test-in: Don't mark some underflows from asin and
6671 * math/auto-libm-test-out: Regenerated.
6672 * sysdeps/i386/fpu/libm-test-ulps: Update.
6673 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6675 2014-03-25 Andreas Schwab <schwab@suse.de>
6677 * libio/Makefile (tst-ftell-partial-wide-ENV)
6678 (tst-ftell-active-handler-ENV): Define.
6680 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
6682 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
6684 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
6686 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
6688 2014-03-24 Joseph Myers <joseph@codesourcery.com>
6690 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
6691 * sysdeps/x86_64/fpu/multiarch/e_exp.c
6692 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
6694 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
6697 * elf/dl-load.c (open_verify): Add mode parameter.
6698 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
6699 (open_path): Change from boolean 'secure' to complete flag 'mode'
6700 (_dl_map_object): Adjust.
6701 * elf/Makefile (tests): Add tst-dlopen-aout.
6702 * elf/tst-dlopen-aout.c: New test.
6704 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
6707 * sysdeps/unix/sysv/linux/s390/bits/stat.h
6708 (struct stat): Rename member pad0 to __glibc_reserved0.
6711 * sysdeps/s390/s390-32/bits/wordsize.h
6712 (__WORDSIZE32_SIZE_ULONG): New define.
6713 * sysdeps/s390/s390-64/bits/wordsize.h
6714 (__WORDSIZE32_SIZE_ULONG): Likewise.
6715 * sysdeps/generic/stdint.h (SIZE_MAX):
6716 Define as UL if __WORDSIZE32_SIZE_ULONG.
6719 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
6720 (__glibc_reserved0): New variable.
6721 (sa_flags): Change type to int.
6723 * posix/Makefile (before-compile): Use += before-compile instead
6726 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
6727 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
6729 2014-03-20 Andreas Schwab <schwab@suse.de>
6732 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
6733 non-matching result from nscd.
6735 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
6737 * scripts/bench.py: Moved to ...
6738 * benchtests/scripts/bench.py: ... here.
6739 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
6741 2014-03-24 Andreas Schwab <schwab@suse.de>
6744 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
6745 alloca_account and account alloca use for struct in6ailist.
6747 2014-03-24 Joseph Myers <joseph@codesourcery.com>
6750 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
6751 rounding mode to recompute results that overflow to infinity or
6753 * math/auto-libm-test-in: Don't mark tests as expected to fail for
6755 * math/auto-libm-test-out: Regenerated.
6756 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
6757 (ccosh_test): Likewise.
6758 (csin_test_data): Use plus_oflow.
6759 (csin_test): Use ALL_RM_TEST.
6760 (csinh_test_data): Use plus_oflow.
6761 (csinh_test): Use ALL_RM_TEST.
6762 * sysdeps/i386/fpu/libm-test-ulps: Update.
6763 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6765 2014-03-21 Joseph Myers <joseph@codesourcery.com>
6767 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
6768 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
6769 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
6772 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
6774 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
6775 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
6776 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
6777 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
6779 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
6780 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
6782 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
6783 * sysdeps/i386/fpu/libm-test-ulps: Update.
6784 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6786 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6788 * scripts/bench.pl: Remove file.
6789 * scripts/bench.py: New benchmark script.
6790 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
6791 * benchtests/README: Mention python dependency.
6792 * scripts/pylintrc: New file.
6793 * scripts/pylint: New file.
6795 * bits/mathdef.h: Use #ifdef instead of #if.
6796 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
6797 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
6798 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
6799 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
6800 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
6801 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
6803 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6804 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
6806 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
6807 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
6808 and strpbrk-ppc64 objects.
6809 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6810 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
6811 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
6812 multiarch strpbrk for POWER7.
6813 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
6814 multiarch strpbrk for PPC64.
6815 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
6817 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
6820 2014-03-20 Joseph Myers <joseph@codesourcery.com>
6822 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
6823 (atan_test): Likewise.
6824 (atanh_test_data): Use NO_TEST_INLINE for two tests.
6825 (atanh_test): Use ALL_RM_TEST.
6826 (atan2_test_data): Likewise.
6827 (cabs_test): Likewise.
6828 (cacosh_test): Likewise.
6829 (carg_test): Likewise.
6830 (casin_test): Likewise.
6831 (casinh_test): Likewise.
6832 (cbrt_test): Likewise.
6833 (csqrt_test): Likewise.
6834 (erf_test): Likewise.
6835 (erfc_test): Likewise.
6836 (pow10_test): Likewise.
6837 (exp2_test): Likewise.
6838 (hypot_test): Likewise.
6839 (j0_test): Likewise.
6840 (j1_test): Likewise.
6841 (lgamma_test): Likewise.
6842 (gamma_test): Likewise.
6843 (sincos_test): Likewise.
6844 (tanh_test): Likewise.
6845 (y0_test): Likewise.
6846 (y1_test): Likewise.
6847 * sysdeps/i386/fpu/libm-test-ulps: Update.
6848 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6850 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6852 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
6853 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
6854 and strcspn-ppc64 objects.
6855 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6856 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
6857 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
6858 multiarch strcspn for POWER7.
6859 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
6860 multiarch strcspn for PPC64.
6861 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
6863 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
6866 2014-03-20 Joseph Myers <joseph@codesourcery.com>
6868 * math/gen-libm-test.pl (generate_testfile): Expect only function
6869 name as argument to AUTO_TESTS_* and pass results for all rounding
6870 modes to parse_args.
6871 (parse_auto_input): Separate inputs of automatic tests from
6872 outputs before storing in %auto_tests.
6873 * math/libm-test.inc (acos_test_data): Update call to
6875 (acos_test): Use ALL_RM_TEST.
6876 (acos_tonearest_test_data): Remove.
6877 (acos_test_tonearest): Likewise.
6878 (acos_towardzero_test_data): Likewise.
6879 (acos_test_towardzero): Likewise.
6880 (acos_downward_test_data): Likewise.
6881 (acos_test_downward): Likewise.
6882 (acos_upward_test_data): Likewise.
6883 (acos_test_upward): Likewise.
6884 (acosh_test_data): Update call to AUTO_TESTS_f_f.
6885 (asin_test_data): Likewise.
6886 (asin_test): Use ALL_RM_TEST.
6887 (asin_tonearest_test_data): Remove.
6888 (asin_test_tonearest): Likewise.
6889 (asin_towardzero_test_data): Likewise.
6890 (asin_test_towardzero): Likewise.
6891 (asin_downward_test_data): Likewise.
6892 (asin_test_downward): Likewise.
6893 (asin_upward_test_data): Likewise.
6894 (asin_test_upward): Likewise.
6895 (asinh_test_data): Update call to AUTO_TESTS_f_f.
6896 (atan_test_data): Likewise.
6897 (atanh_test_data): Likewise.
6898 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
6899 (cabs_test_data): Update call to AUTO_TESTS_c_f.
6900 (carg_test_data): Likewise.
6901 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
6902 (ccos_test_data): Update call to AUTO_TESTS_c_c.
6903 (ccosh_test_data): Likewise.
6904 (cexp_test_data): Likewise.
6905 (clog_test_data): Likewise.
6906 (clog10_test_data): Likewise.
6907 (cos_test_data): Update call to AUTO_TESTS_f_f.
6908 (cos_test): Use ALL_RM_TEST.
6909 (cos_tonearest_test_data): Remove.
6910 (cos_test_tonearest): Likewise.
6911 (cos_towardzero_test_data): Likewise.
6912 (cos_test_towardzero): Likewise.
6913 (cos_downward_test_data): Likewise.
6914 (cos_test_downward): Likewise.
6915 (cos_upward_test_data): Likewise.
6916 (cos_test_upward): Likewise.
6917 (cosh_test_data): Update call to AUTO_TESTS_f_f.
6918 (cosh_test): Use ALL_RM_TEST.
6919 (cosh_tonearest_test_data): Remove.
6920 (cosh_test_tonearest): Likewise.
6921 (cosh_towardzero_test_data): Likewise.
6922 (cosh_test_towardzero): Likewise.
6923 (cosh_downward_test_data): Likewise.
6924 (cosh_test_downward): Likewise.
6925 (cosh_upward_test_data): Likewise.
6926 (cosh_test_upward): Likewise.
6927 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
6928 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
6929 (ctan_test_data): Likewise.
6930 (ctan_test): Use ALL_RM_TEST.
6931 (ctan_tonearest_test_data): Remove.
6932 (ctan_test_tonearest): Likewise.
6933 (ctan_towardzero_test_data): Likewise.
6934 (ctan_test_towardzero): Likewise.
6935 (ctan_downward_test_data): Likewise.
6936 (ctan_test_downward): Likewise.
6937 (ctan_upward_test_data): Likewise.
6938 (ctan_test_upward): Likewise.
6939 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
6940 (ctanh_test): Use ALL_RM_TEST.
6941 (ctanh_tonearest_test_data): Remove.
6942 (ctanh_test_tonearest): Likewise.
6943 (ctanh_towardzero_test_data): Likewise.
6944 (ctanh_test_towardzero): Likewise.
6945 (ctanh_downward_test_data): Likewise.
6946 (ctanh_test_downward): Likewise.
6947 (ctanh_upward_test_data): Likewise.
6948 (ctanh_test_upward): Likewise.
6949 (erf_test_data): Update call to AUTO_TESTS_f_f.
6950 (erfc_test_data): Likewise.
6951 (exp_test_data): Likewise.
6952 (exp_test): Use ALL_RM_TEST.
6953 (exp_tonearest_test_data): Remove.
6954 (exp_test_tonearest): Likewise.
6955 (exp_towardzero_test_data): Likewise.
6956 (exp_test_towardzero): Likewise.
6957 (exp_downward_test_data): Likewise.
6958 (exp_test_downward): Likewise.
6959 (exp_upward_test_data): Likewise.
6960 (exp_test_upward): Likewise.
6961 (exp10_test_data): Update call to AUTO_TESTS_f_f.
6962 (exp10_test): Use ALL_RM_TEST.
6963 (exp10_tonearest_test_data): Remove.
6964 (exp10_test_tonearest): Likewise.
6965 (exp10_towardzero_test_data): Likewise.
6966 (exp10_test_towardzero): Likewise.
6967 (exp10_downward_test_data): Likewise.
6968 (exp10_test_downward): Likewise.
6969 (exp10_upward_test_data): Likewise.
6970 (exp10_test_upward): Likewise.
6971 (exp2_test_data): Update call to AUTO_TESTS_f_f.
6972 (expm1_test_data): Likewise.
6973 (expm1_test): Use ALL_RM_TEST.
6974 (expm1_tonearest_test_data): Remove.
6975 (expm1_test_tonearest): Likewise.
6976 (expm1_towardzero_test_data): Likewise.
6977 (expm1_test_towardzero): Likewise.
6978 (expm1_downward_test_data): Likewise.
6979 (expm1_test_downward): Likewise.
6980 (expm1_upward_test_data): Likewise.
6981 (expm1_test_upward): Likewise.
6982 (fma_test_data): Update call to AUTO_TESTS_fff_f.
6983 (fma_test): Use ALL_RM_TEST.
6984 (fma_towardzero_test_data): Remove.
6985 (fma_test_towardzero): Likewise.
6986 (fma_downward_test_data): Likewise.
6987 (fma_test_downward): Likewise.
6988 (fma_upward_test_data): Likewise.
6989 (fma_test_upward): Likewise.
6990 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
6991 (j0_test_data): Update call to AUTO_TESTS_f_f.
6992 (j1_test_data): Likewise.
6993 (jn_test_data): Update call to AUTO_TESTS_if_f.
6994 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
6995 (log_test_data): Update call to AUTO_TESTS_f_f.
6996 (log10_test_data): Likewise.
6997 (log1p_test_data): Likewise.
6998 (log2_test_data): Likewise.
6999 (pow_test_data): Update call to AUTO_TESTS_ff_f.
7000 (pow_tonearest_test_data): Likewise.
7001 (sin_test_data): Update call to AUTO_TESTS_f_f.
7002 (sin_test): Use ALL_RM_TEST.
7003 (sin_tonearest_test_data): Remove.
7004 (sin_test_tonearest): Likewise.
7005 (sin_towardzero_test_data): Likewise.
7006 (sin_test_towardzero): Likewise.
7007 (sin_downward_test_data): Likewise.
7008 (sin_test_downward): Likewise.
7009 (sin_upward_test_data): Likewise.
7010 (sin_test_upward): Likewise.
7011 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
7012 (sinh_test_data): Update call to AUTO_TESTS_f_f.
7013 (sinh_test): Use ALL_RM_TEST.
7014 (sinh_tonearest_test_data): Remove.
7015 (sinh_test_tonearest): Likewise.
7016 (sinh_towardzero_test_data): Likewise.
7017 (sinh_test_towardzero): Likewise.
7018 (sinh_downward_test_data): Likewise.
7019 (sinh_test_downward): Likewise.
7020 (sinh_upward_test_data): Likewise.
7021 (sinh_test_upward): Likewise.
7022 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
7023 (sqrt_test): Use ALL_RM_TEST.
7024 (sqrt_tonearest_test_data): Remove.
7025 (sqrt_test_tonearest): Likewise.
7026 (sqrt_towardzero_test_data): Likewise.
7027 (sqrt_test_towardzero): Likewise.
7028 (sqrt_downward_test_data): Likewise.
7029 (sqrt_test_downward): Likewise.
7030 (sqrt_upward_test_data): Likewise.
7031 (sqrt_test_upward): Likewise.
7032 (tan_test_data): Update call to AUTO_TESTS_f_f.
7033 (tan_test): Use ALL_RM_TEST.
7034 (tan_tonearest_test_data): Remove.
7035 (tan_test_tonearest): Likewise.
7036 (tan_towardzero_test_data): Likewise.
7037 (tan_test_towardzero): Likewise.
7038 (tan_downward_test_data): Likewise.
7039 (tan_test_downward): Likewise.
7040 (tan_upward_test_data): Likewise.
7041 (tan_test_upward): Likewise.
7042 (tanh_test_data): Update call to AUTO_TESTS_f_f.
7043 (tgamma_test_data): Likewise.
7044 (y0_test_data): Likewise.
7045 (y1_test_data): Likewise.
7046 (yn_test_data): Update call to AUTO_TESTS_if_f.
7047 (main): Do not call removed functions.
7049 2014-03-19 Joseph Myers <joseph@codesourcery.com>
7051 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
7052 (ldexp_test_data): Remove.
7053 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
7055 (scalb_test): Use ALL_RM_TEST.
7057 2014-03-19 Andreas Schwab <schwab@suse.de>
7059 * nscd/nscd.service: Also invalidate netgroup cache on reload.
7061 2014-03-19 Joseph Myers <joseph@codesourcery.com>
7064 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7065 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
7066 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
7067 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7068 (__ASSUME_PREADV): Undefine.
7069 (__ASSUME_PWRITEV): Likewise.
7071 2014-03-18 Roland McGrath <roland@hack.frob.com>
7073 * bits/mman-linux.h: Add comment about non-Linux use.
7074 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
7075 bits/mman-linux.h resting place.
7077 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
7078 * bits/mman-linux.h: ... here.
7080 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7082 * conform/conformtest.pl: Add standard definition when calling C
7083 preprocessor on data files.
7084 (checknamespace): Remove unused variable.
7086 2014-03-18 Joseph Myers <joseph@codesourcery.com>
7088 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
7089 minus_oflow, plus_uflow and minus_uflow in expected results.
7090 * math/libm-test.inc (scalbn_test_data): Add more tests of
7091 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
7093 (scalbn_test): Use ALL_RM_TEST.
7094 (scalbln_test_data): Add more tests of negative arguments. Use
7095 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
7096 (scalbln_test): Use ALL_RM_TEST.
7098 2014-03-18 Roland McGrath <roland@hack.frob.com>
7100 * scripts/abilist.awk: Ignore symbols marked with .hidden.
7102 2014-03-18 Will Newton <will.newton@linaro.org>
7104 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
7107 2014-03-18 Joseph Myers <joseph@codesourcery.com>
7109 * Makerules [!subdir] (check-abi): Exit with error status if a
7112 2014-03-17 Joseph Myers <joseph@codesourcery.com>
7114 * math/libm-test.inc (nearbyint_test_data): Include all tests used
7115 for rint. Include results for all rounding modes.
7116 (nearbyint_test): Use ALL_RM_TEST.
7117 (rint_test_data): Include all tests used for nearbyint.
7119 2014-03-17 Will Newton <will.newton@linaro.org>
7121 * nptl/sysdeps/pthread/pthread.h: Revert previous
7124 * sysdeps/generic/ldsodefs.h: Revert previous
7127 * libio/genops.c: Revert previous change.
7128 * libio/libioP.h: Likewise.
7129 * stdio-common/vfprintf.c: Likewise.
7131 * sysdeps/generic/math_private.h: Revert previous
7134 * sysdeps/generic/math_private.h: Check whether
7135 HAVE_RM_CTX is defined with #ifdef rather
7138 * argp/argp-fmtstream.h: Check whether
7139 __STRICT_ANSI__ is defined with #ifdef rather
7141 * argp/argp.h: Likewise.
7143 * libio/genops.c: Check whether
7144 _IO_JUMPS_OFFSET is defined with #ifdef rather
7146 * libio/libioP.h: Likewise.
7147 * stdio-common/vfprintf.c: Likewise.
7149 * sysdeps/generic/ldsodefs.h: Check whether
7150 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
7153 * nptl/sysdeps/pthread/pthread.h: Check
7154 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
7157 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
7159 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
7161 * libio/tst-ftell-active-handler.c (do_append_test): Add a
7165 * libio/fileops.c (_IO_file_open): Seek to end of file but
7166 don't cache the offset.
7167 (get_file_offset): Remove function.
7168 (do_ftell): Use cached offset when available.
7169 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
7170 don't cache the offset.
7171 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
7173 (do_one_test): Call it.
7174 (do_ftell_test): Fix up expected old offset for a+ mode.
7175 * libio/wfileops.c (do_ftell_wide): Used cached offset when
7178 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
7179 up test status with function return status.
7180 (do_write_test): Likewise.
7181 (do_append_test): Likewise.
7183 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
7184 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
7187 2014-03-17 Joseph Myers <joseph@codesourcery.com>
7189 * math/gen-libm-test.pl (parse_args): Handle results specified for
7190 each rounding mode separately.
7191 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
7192 tests and results from lrint_tonearest_test_data,
7193 lrint_towardzero_test_data, lrint_downward_test_data and
7194 lrint_upward_test_data.
7195 (lrint_test): Use ALL_RM_TEST.
7196 (lrint_tonearest_test_data): Remove.
7197 (lrint_test_tonearest): Likewise.
7198 (lrint_towardzero_test_data): Likewise.
7199 (lrint_test_towardzero): Likewise.
7200 (lrint_downward_test_data): Likewise.
7201 (lrint_test_downward): Likewise.
7202 (lrint_upward_test_data): Likewise.
7203 (lrint_test_upward): Likewise.
7204 (llrint_test_data): Merge in per-rounding-mode tests and results
7205 from llrint_tonearest_test_data, llrint_towardzero_test_data,
7206 llrint_downward_test_data and llrint_upward_test_data.
7207 (llrint_test): Use ALL_RM_TEST.
7208 (llrint_tonearest_test_data): Remove.
7209 (llrint_test_tonearest): Likewise.
7210 (llrint_towardzero_test_data): Likewise.
7211 (llrint_test_towardzero): Likewise.
7212 (llrint_downward_test_data): Likewise.
7213 (llrint_test_downward): Likewise.
7214 (llrint_upward_test_data): Likewise.
7215 (llrint_test_upward): Likewise.
7216 (rint_test_data): Merge in per-rounding-mode tests and results
7217 from rint_tonearest_test_data, rint_towardzero_test_data,
7218 rint_downward_test_data and rint_upward_test_data. Add
7219 per-rounding-mode results for tests not in those arrays.
7220 (rint_test): Use ALL_RM_TEST.
7221 (rint_tonearest_test_data): Remove.
7222 (rint_test_tonearest): Likewise.
7223 (rint_towardzero_test_data): Likewise.
7224 (rint_test_towardzero): Likewise.
7225 (rint_downward_test_data): Likewise.
7226 (rint_test_downward): Likewise.
7227 (rint_upward_test_data): Likewise.
7228 (rint_test_upward): Likewise.
7229 (main): Don't call removed functions.
7231 2014-03-14 Roland McGrath <roland@hack.frob.com>
7233 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
7234 "Compiled on ..." crapola. It is anti-useful.
7236 2014-03-14 Joseph Myers <joseph@codesourcery.com>
7238 * scripts/evaluate-test.sh: Handle fourth argument to determine
7239 whether test run should stop on failure.
7240 * Makeconfig (stop-on-test-failure): New variable.
7241 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
7242 $(stop-on-test-failure).
7243 * Makefile (tests): Give a summary of results from testing and
7244 exit with failure status if they include an ERROR or FAIL.
7246 * manual/install.texi (Configuring and compiling): Mention
7247 stop-on-test-failure=y.
7248 * INSTALL: Regenerated.
7250 2014-03-14 Roland McGrath <roland@hack.frob.com>
7252 * scripts/versionlist.awk: New file.
7253 * Makerules [$(build-shared) = yes]
7254 (postclean-generated): Add Versions.def, not Versions.def.v and
7256 ($(common-objpfx)Versions.def.v.i): Target removed.
7257 ($(common-objpfx)Versions.def): New target.
7258 ($(common-objpfx)Versions.all): Depend on that rather that
7259 $(common-objpfx)Versions.def.v.
7260 * Versions.def: File removed.
7262 * Makeconfig (+gccwarn): Add -Wundef.
7263 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
7264 a dl-sysdep.h breaking its contract.
7265 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
7266 * include/stackinfo.h: New file.
7267 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
7268 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
7269 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
7270 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
7271 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
7272 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
7273 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7274 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7275 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7276 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7277 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7278 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
7279 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7280 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7281 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7283 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7286 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
7288 * math/libm-test.inc (round_test_data): Add more tests.
7291 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
7293 * math/libm-test.inc (nearbyint_test_data): Add more tests.
7296 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
7298 * math/libm-test.inc (ceil_test_data): Add more tests.
7300 * math/libm-test.inc (trunc_test_data): Add more tests related to
7303 2014-03-14 Roland McGrath <roland@hack.frob.com>
7305 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
7306 with #if rather than #ifdef.
7307 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
7309 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
7311 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
7312 first. Disable AVX-512 GCC support if assembler doesn't support
7314 * sysdeps/x86_64/configure: Regenerated.
7316 2014-03-13 Carlos O'Donell <carlos@redhat.com>
7318 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
7319 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
7320 (__old_pthread_attr_setstack): Likewise.
7321 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
7322 [!_STACK_GROWS_DOWN]: Likewise.
7324 2014-03-13 Mike Frysinger <vapier@gentoo.org>
7326 * config.make.in (have-bash2): Delete.
7327 * configure.ac (libc_cv_have_bash2): Delete.
7328 * configure: Regenerate.
7329 * elf/Makefile (common-ldd-rewrite): Rename to ...
7330 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
7331 (sh-ldd-rewrite): Delete.
7332 (bash-ldd-rewrite): Delete.
7333 (have-bash2): Delete checks.
7334 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
7337 * config.make.in (have-ksh): Delete.
7339 * configure.ac (libc_cv_have_ksh): Delete.
7340 * configure: Regenerate.
7342 * elf/Makefile: Delete $(have-ksh) check.
7343 ($(objpfx)sotruss): Change KSH to BASH.
7344 * elf/sotruss.ksh: Rename to ...
7345 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
7346 function style to match POSIX. Drop ksh vim mode setting.
7348 * manual/time.texi (Specifying the Time Zone with TZ): Change
7349 Tuesday to Thursday.
7351 * debug/tst-longjmp_chk2.c: Update header comment.
7352 (stackoverflow_handler): Add comment. Call assert on pass value.
7354 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
7356 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
7357 (HAVE_AVX512_ASM_SUPPORT): Likewise.
7358 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
7359 (La_x86_64_vector): Add zmm.
7360 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
7361 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
7362 ($(objpfx)tst-audit10): New target.
7363 ($(objpfx)tst-audit10.out): Likewise.
7364 (tst-audit10-ENV): New.
7365 (AVX512-CFLAGS): Likewise.
7366 (CFLAGS-tst-audit10.c): Likewise.
7367 (CFLAGS-tst-auditmod10a.c): Likewise.
7368 (CFLAGS-tst-auditmod10b.c): Likewise.
7369 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
7370 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
7371 * sysdeps/x86_64/configure: Regenerated.
7372 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
7373 AVX-512 zmm register support.
7374 (_dl_x86_64_save_sse): Likewise.
7375 (_dl_x86_64_restore_sse): Likewise.
7376 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
7377 size vector registers.
7378 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
7379 (ZMM_SIZE): Likewise.
7380 * sysdeps/x86_64/tst-audit10.c: New file.
7381 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
7382 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
7384 2014-03-13 Roland McGrath <roland@hack.frob.com>
7386 * configure.ac (HAVE_EHDR_START): New check.
7387 * configure: Regenerated.
7388 * config.h.in (HAVE_EHDR_START): New #undef.
7389 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
7390 assuming the lowest-addressed segment maps the start of the file.
7392 2014-03-13 Joseph Myers <joseph@codesourcery.com>
7394 * INSTALL: Regenerated.
7396 2014-03-13 Will Newton <will.newton@linaro.org>
7398 * manual/setjmp.texi (System V contexts): Improve
7399 clarity and grammar of documentation.
7401 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
7404 * elf/Makefile (tests): Add tst-pie2.
7405 (tests-pie): Add tst-pie2.
7406 * elf/tst-pie2.c: New file.
7407 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
7409 * elf/rtld.c (map_doit): Load executable as lt_executable.
7410 (dl_main): Likewise.
7412 2014-03-12 Joseph Myers <joseph@codesourcery.com>
7415 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7416 (__ASSUME_PSELECT): Undefine.
7418 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7421 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
7422 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
7424 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
7425 selector for static builds.
7427 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
7430 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
7433 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7435 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
7436 IFUNC selector for static builds.
7438 2014-03-11 Joseph Myers <joseph@codesourcery.com>
7440 * sysdeps/mips/math_private.h [__mips_hard_float]
7441 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
7442 libc_feresetround_mips_ctx.
7443 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
7444 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
7445 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
7448 * math/s_nextafter.c (__nextafter): Do not return value from
7449 overflowing computation.
7450 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
7451 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
7452 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
7454 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
7456 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
7457 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
7459 2014-03-11 Roland McGrath <roland@hack.frob.com>
7461 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
7462 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
7463 Move sfi_sp use from the load-multiple (that no longer sets sp) to
7464 the new mov targetting sp.
7466 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7469 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
7470 Define it for static builds as well.
7471 (NO_BZERO_IMPL): Likewise.
7473 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
7475 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
7476 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
7477 multiarch strspn for PPC64.
7478 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
7479 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
7480 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7481 (__libc_ifunc_impl_list): Likewise.
7482 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
7483 multiarch optimizations
7484 * string/strspn.c (strspn): Using macro to redefine symbol name.
7486 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
7487 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7489 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
7490 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
7491 multiarch strncat for PPC64.
7492 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
7493 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
7494 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7495 (__libc_ifunc_impl_list): Likewise.
7496 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
7497 multiarch optimizations
7499 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7502 * nscd/nscd.service: Make service type forking.
7504 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7506 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
7507 sign in non default rounding modes.
7508 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
7510 2014-03-08 Joseph Myers <joseph@codesourcery.com>
7512 * math/libm-test.inc (ALL_RM_TEST): New macro.
7513 (ceil_test): Use ALL_RM_TEST.
7514 (cimag_test): Likewise.
7515 (conj_test): Likewise.
7516 (copysign_test): Likewise.
7517 (cproj_test): Likewise.
7518 (creal_test): Likewise.
7519 (fabs_test): Likewise.
7520 (floor_test): Likewise.
7521 (fmax_test): Likewise.
7522 (fmin_test): Likewise.
7523 (fmod_test): Likewise.
7524 (fpclassify_test): Likewise.
7525 (frexp_test): Likewise.
7526 (ilogb_test): Likewise.
7527 (isfinite_test): Likewise.
7528 (finite_test): Likewise.
7529 (isgreater_test): Likewise.
7530 (isgreaterequal_test): Likewise.
7531 (isinf_test): Likewise.
7532 (isless_test): Likewise.
7533 (islessequal_test): Likewise.
7534 (islessgreater_test): Likewise.
7535 (isnan_test): Likewise.
7536 (isnormal_test): Likewise.
7537 (issignaling_test): Likewise.
7538 (isunordered_test): Likewise.
7539 (logb_test): Likewise.
7540 (logb_downward_test_data): Remove.
7541 (logb_test_downward): Likewise.
7542 (lround_test): Use ALL_RM_TEST.
7543 (llround_test): Likewise.
7544 (modf_test): Likewise.
7545 (nexttoward_test): Likewise.
7546 (remainder_test): Likewise.
7547 (drem_test): Likewise.
7548 (remainder_tonearest_test_data): Likewise.
7549 (remainder_test_tonearest): Likewise.
7550 (drem_test_tonearest): Likewise.
7551 (remainder_towardzero_test_data): Likewise.
7552 (remainder_test_towardzero): Likewise.
7553 (drem_test_towardzero): Likewise.
7554 (remainder_downward_test_data): Likewise.
7555 (remainder_test_downward): Likewise.
7556 (drem_test_downward): Likewise.
7557 (remainder_upward_test_data): Likewise.
7558 (remainder_test_upward): Likewise.
7559 (drem_test_upward): Likewise.
7560 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
7561 (round_test): Use ALL_RM_TEST.
7562 (signbit_test): Likewise.
7563 (trunc_test): Likewise.
7564 (significand_test): Likewise.
7565 (main): Don't call removed functions.
7567 2014-03-07 Joseph Myers <joseph@codesourcery.com>
7570 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
7572 (ILL_ILLOPN): Likewise.
7573 (ILL_ILLADR): Likewise.
7574 (ILL_ILLTRP): Likewise.
7575 (ILL_PRVOPC): Likewise.
7576 (ILL_PRVREG): Likewise.
7577 (ILL_COPROC): Likewise.
7578 (ILL_BADSTK): Likewise.
7579 (FPE_INTDIV): Likewise.
7580 (FPE_INTOVF): Likewise.
7581 (FPE_FLTDIV): Likewise.
7582 (FPE_FLTOVF): Likewise.
7583 (FPE_FLTUND): Likewise.
7584 (FPE_FLTRES): Likewise.
7585 (FPE_FLTINV): Likewise.
7586 (FPE_FLTSUB): Likewise.
7587 (SEGV_MAPERR): Likewise.
7588 (SEGV_ACCERR): Likewise.
7589 (BUS_ADRALN): Likewise.
7590 (BUS_ADRERR): Likewise.
7591 (BUS_OBJERR): Likewise.
7592 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7593 (TRAP_TRACE): Likewise.
7594 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7596 (CLD_KILLED): Likewise.
7597 (CLD_DUMPED): Likewise.
7598 (CLD_TRAPPED): Likewise.
7599 (CLD_STOPPED): Likewise.
7600 (CLD_CONTINUED): Likewise.
7601 (POLL_IN): Likewise.
7602 (POLL_OUT): Likewise.
7603 (POLL_MSG): Likewise.
7604 (POLL_ERR): Likewise.
7605 (POLL_PRI): Likewise.
7606 (POLL_HUP): Likewise.
7607 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
7609 (ILL_ILLOPN): Likewise.
7610 (ILL_ILLADR): Likewise.
7611 (ILL_ILLTRP): Likewise.
7612 (ILL_PRVOPC): Likewise.
7613 (ILL_PRVREG): Likewise.
7614 (ILL_COPROC): Likewise.
7615 (ILL_BADSTK): Likewise.
7616 (FPE_INTDIV): Likewise.
7617 (FPE_INTOVF): Likewise.
7618 (FPE_FLTDIV): Likewise.
7619 (FPE_FLTOVF): Likewise.
7620 (FPE_FLTUND): Likewise.
7621 (FPE_FLTRES): Likewise.
7622 (FPE_FLTINV): Likewise.
7623 (FPE_FLTSUB): Likewise.
7624 (SEGV_MAPERR): Likewise.
7625 (SEGV_ACCERR): Likewise.
7626 (BUS_ADRALN): Likewise.
7627 (BUS_ADRERR): Likewise.
7628 (BUS_OBJERR): Likewise.
7629 (BUS_MCEERR_AR): Likewise.
7630 (BUS_MCEERR_AO): Likewise.
7631 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7632 (TRAP_TRACE): Likewise.
7633 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7635 (CLD_KILLED): Likewise.
7636 (CLD_DUMPED): Likewise.
7637 (CLD_TRAPPED): Likewise.
7638 (CLD_STOPPED): Likewise.
7639 (CLD_CONTINUED): Likewise.
7640 (POLL_IN): Likewise.
7641 (POLL_OUT): Likewise.
7642 (POLL_MSG): Likewise.
7643 (POLL_ERR): Likewise.
7644 (POLL_PRI): Likewise.
7645 (POLL_HUP): Likewise.
7646 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
7647 (ILL_ILLOPN): Likewise.
7648 (ILL_ILLADR): Likewise.
7649 (ILL_ILLTRP): Likewise.
7650 (ILL_PRVOPC): Likewise.
7651 (ILL_PRVREG): Likewise.
7652 (ILL_COPROC): Likewise.
7653 (ILL_BADSTK): Likewise.
7654 (FPE_INTDIV): Likewise.
7655 (FPE_INTOVF): Likewise.
7656 (FPE_FLTDIV): Likewise.
7657 (FPE_FLTOVF): Likewise.
7658 (FPE_FLTUND): Likewise.
7659 (FPE_FLTRES): Likewise.
7660 (FPE_FLTINV): Likewise.
7661 (FPE_FLTSUB): Likewise.
7662 (SEGV_MAPERR): Likewise.
7663 (SEGV_ACCERR): Likewise.
7664 (BUS_ADRALN): Likewise.
7665 (BUS_ADRERR): Likewise.
7666 (BUS_OBJERR): Likewise.
7667 (BUS_MCEERR_AR): Likewise.
7668 (BUS_MCEERR_AO): Likewise.
7669 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7670 (TRAP_TRACE): Likewise.
7671 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7673 (CLD_KILLED): Likewise.
7674 (CLD_DUMPED): Likewise.
7675 (CLD_TRAPPED): Likewise.
7676 (CLD_STOPPED): Likewise.
7677 (CLD_CONTINUED): Likewise.
7678 (POLL_IN): Likewise.
7679 (POLL_OUT): Likewise.
7680 (POLL_MSG): Likewise.
7681 (POLL_ERR): Likewise.
7682 (POLL_PRI): Likewise.
7683 (POLL_HUP): Likewise.
7684 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
7686 (ILL_ILLOPN): Likewise.
7687 (ILL_ILLADR): Likewise.
7688 (ILL_ILLTRP): Likewise.
7689 (ILL_PRVOPC): Likewise.
7690 (ILL_PRVREG): Likewise.
7691 (ILL_COPROC): Likewise.
7692 (ILL_BADSTK): Likewise.
7693 (ILL_BADIADDR): Likewise.
7694 (ILL_BREAK): Likewise.
7695 (FPE_INTDIV): Likewise.
7696 (FPE_INTOVF): Likewise.
7697 (FPE_FLTDIV): Likewise.
7698 (FPE_FLTOVF): Likewise.
7699 (FPE_FLTUND): Likewise.
7700 (FPE_FLTRES): Likewise.
7701 (FPE_FLTINV): Likewise.
7702 (FPE_FLTSUB): Likewise.
7703 (FPE_DECOVF): Likewise.
7704 (FPE_DECDIV): Likewise.
7705 (FPE_DECERR): Likewise.
7706 (FPE_INVASC): Likewise.
7707 (FPE_INVDEC): Likewise.
7708 (SEGV_MAPERR): Likewise.
7709 (SEGV_ACCERR): Likewise.
7710 (SEGV_PSTKOVF): Likewise.
7711 (BUS_ADRALN): Likewise.
7712 (BUS_ADRERR): Likewise.
7713 (BUS_OBJERR): Likewise.
7714 (BUS_MCEERR_AR): Likewise.
7715 (BUS_MCEERR_AO): Likewise.
7716 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7717 (TRAP_TRACE): Likewise.
7718 (TRAP_BRANCH): Likewise.
7719 (TRAP_HWBKPT): Likewise.
7720 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7722 (CLD_KILLED): Likewise.
7723 (CLD_DUMPED): Likewise.
7724 (CLD_TRAPPED): Likewise.
7725 (CLD_STOPPED): Likewise.
7726 (CLD_CONTINUED): Likewise.
7727 (POLL_IN): Likewise.
7728 (POLL_OUT): Likewise.
7729 (POLL_MSG): Likewise.
7730 (POLL_ERR): Likewise.
7731 (POLL_PRI): Likewise.
7732 (POLL_HUP): Likewise.
7733 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
7734 (ILL_ILLOPN): Likewise.
7735 (ILL_ILLADR): Likewise.
7736 (ILL_ILLTRP): Likewise.
7737 (ILL_PRVOPC): Likewise.
7738 (ILL_PRVREG): Likewise.
7739 (ILL_COPROC): Likewise.
7740 (ILL_BADSTK): Likewise.
7741 (FPE_INTDIV): Likewise.
7742 (FPE_INTOVF): Likewise.
7743 (FPE_FLTDIV): Likewise.
7744 (FPE_FLTOVF): Likewise.
7745 (FPE_FLTUND): Likewise.
7746 (FPE_FLTRES): Likewise.
7747 (FPE_FLTINV): Likewise.
7748 (FPE_FLTSUB): Likewise.
7749 (SEGV_MAPERR): Likewise.
7750 (SEGV_ACCERR): Likewise.
7751 (BUS_ADRALN): Likewise.
7752 (BUS_ADRERR): Likewise.
7753 (BUS_OBJERR): Likewise.
7754 (BUS_MCEERR_AR): Likewise.
7755 (BUS_MCEERR_AO): Likewise.
7756 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7757 (TRAP_TRACE): Likewise.
7758 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7760 (CLD_KILLED): Likewise.
7761 (CLD_DUMPED): Likewise.
7762 (CLD_TRAPPED): Likewise.
7763 (CLD_STOPPED): Likewise.
7764 (CLD_CONTINUED): Likewise.
7765 (POLL_IN): Likewise.
7766 (POLL_OUT): Likewise.
7767 (POLL_MSG): Likewise.
7768 (POLL_ERR): Likewise.
7769 (POLL_PRI): Likewise.
7770 (POLL_HUP): Likewise.
7771 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
7772 (ILL_ILLOPN): Likewise.
7773 (ILL_ILLADR): Likewise.
7774 (ILL_ILLTRP): Likewise.
7775 (ILL_PRVOPC): Likewise.
7776 (ILL_PRVREG): Likewise.
7777 (ILL_COPROC): Likewise.
7778 (ILL_BADSTK): Likewise.
7779 (FPE_INTDIV): Likewise.
7780 (FPE_INTOVF): Likewise.
7781 (FPE_FLTDIV): Likewise.
7782 (FPE_FLTOVF): Likewise.
7783 (FPE_FLTUND): Likewise.
7784 (FPE_FLTRES): Likewise.
7785 (FPE_FLTINV): Likewise.
7786 (FPE_FLTSUB): Likewise.
7787 (SEGV_MAPERR): Likewise.
7788 (SEGV_ACCERR): Likewise.
7789 (BUS_ADRALN): Likewise.
7790 (BUS_ADRERR): Likewise.
7791 (BUS_OBJERR): Likewise.
7792 (BUS_MCEERR_AR): Likewise.
7793 (BUS_MCEERR_AO): Likewise.
7794 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7795 (TRAP_TRACE): Likewise.
7796 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7798 (CLD_KILLED): Likewise.
7799 (CLD_DUMPED): Likewise.
7800 (CLD_TRAPPED): Likewise.
7801 (CLD_STOPPED): Likewise.
7802 (CLD_CONTINUED): Likewise.
7803 (POLL_IN): Likewise.
7804 (POLL_OUT): Likewise.
7805 (POLL_MSG): Likewise.
7806 (POLL_ERR): Likewise.
7807 (POLL_PRI): Likewise.
7808 (POLL_HUP): Likewise.
7809 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
7810 (ILL_ILLOPN): Likewise.
7811 (ILL_ILLADR): Likewise.
7812 (ILL_ILLTRP): Likewise.
7813 (ILL_PRVOPC): Likewise.
7814 (ILL_PRVREG): Likewise.
7815 (ILL_COPROC): Likewise.
7816 (ILL_BADSTK): Likewise.
7817 (FPE_INTDIV): Likewise.
7818 (FPE_INTOVF): Likewise.
7819 (FPE_FLTDIV): Likewise.
7820 (FPE_FLTOVF): Likewise.
7821 (FPE_FLTUND): Likewise.
7822 (FPE_FLTRES): Likewise.
7823 (FPE_FLTINV): Likewise.
7824 (FPE_FLTSUB): Likewise.
7825 (SEGV_MAPERR): Likewise.
7826 (SEGV_ACCERR): Likewise.
7827 (BUS_ADRALN): Likewise.
7828 (BUS_ADRERR): Likewise.
7829 (BUS_OBJERR): Likewise.
7830 (BUS_MCEERR_AR): Likewise.
7831 (BUS_MCEERR_AO): Likewise.
7832 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7833 (TRAP_TRACE): Likewise.
7834 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7836 (CLD_KILLED): Likewise.
7837 (CLD_DUMPED): Likewise.
7838 (CLD_TRAPPED): Likewise.
7839 (CLD_STOPPED): Likewise.
7840 (CLD_CONTINUED): Likewise.
7841 (POLL_IN): Likewise.
7842 (POLL_OUT): Likewise.
7843 (POLL_MSG): Likewise.
7844 (POLL_ERR): Likewise.
7845 (POLL_PRI): Likewise.
7846 (POLL_HUP): Likewise.
7847 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
7848 (ILL_ILLOPN): Likewise.
7849 (ILL_ILLADR): Likewise.
7850 (ILL_ILLTRP): Likewise.
7851 (ILL_PRVOPC): Likewise.
7852 (ILL_PRVREG): Likewise.
7853 (ILL_COPROC): Likewise.
7854 (ILL_BADSTK): Likewise.
7855 (ILL_DBLFLT): Likewise.
7856 (ILL_HARDWALL): Likewise.
7857 (FPE_INTDIV): Likewise.
7858 (FPE_INTOVF): Likewise.
7859 (FPE_FLTDIV): Likewise.
7860 (FPE_FLTOVF): Likewise.
7861 (FPE_FLTUND): Likewise.
7862 (FPE_FLTRES): Likewise.
7863 (FPE_FLTINV): Likewise.
7864 (FPE_FLTSUB): Likewise.
7865 (SEGV_MAPERR): Likewise.
7866 (SEGV_ACCERR): Likewise.
7867 (BUS_ADRALN): Likewise.
7868 (BUS_ADRERR): Likewise.
7869 (BUS_OBJERR): Likewise.
7870 (BUS_MCEERR_AR): Likewise.
7871 (BUS_MCEERR_AO): Likewise.
7872 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7873 (TRAP_TRACE): Likewise.
7874 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7876 (CLD_KILLED): Likewise.
7877 (CLD_DUMPED): Likewise.
7878 (CLD_TRAPPED): Likewise.
7879 (CLD_STOPPED): Likewise.
7880 (CLD_CONTINUED): Likewise.
7881 (POLL_IN): Likewise.
7882 (POLL_OUT): Likewise.
7883 (POLL_MSG): Likewise.
7884 (POLL_ERR): Likewise.
7885 (POLL_PRI): Likewise.
7886 (POLL_HUP): Likewise.
7887 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
7888 (ILL_ILLOPN): Likewise.
7889 (ILL_ILLADR): Likewise.
7890 (ILL_ILLTRP): Likewise.
7891 (ILL_PRVOPC): Likewise.
7892 (ILL_PRVREG): Likewise.
7893 (ILL_COPROC): Likewise.
7894 (ILL_BADSTK): Likewise.
7895 (FPE_INTDIV): Likewise.
7896 (FPE_INTOVF): Likewise.
7897 (FPE_FLTDIV): Likewise.
7898 (FPE_FLTOVF): Likewise.
7899 (FPE_FLTUND): Likewise.
7900 (FPE_FLTRES): Likewise.
7901 (FPE_FLTINV): Likewise.
7902 (FPE_FLTSUB): Likewise.
7903 (SEGV_MAPERR): Likewise.
7904 (SEGV_ACCERR): Likewise.
7905 (BUS_ADRALN): Likewise.
7906 (BUS_ADRERR): Likewise.
7907 (BUS_OBJERR): Likewise.
7908 (BUS_MCEERR_AR): Likewise.
7909 (BUS_MCEERR_AO): Likewise.
7910 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7911 (TRAP_TRACE): Likewise.
7912 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7914 (CLD_KILLED): Likewise.
7915 (CLD_DUMPED): Likewise.
7916 (CLD_TRAPPED): Likewise.
7917 (CLD_STOPPED): Likewise.
7918 (CLD_CONTINUED): Likewise.
7919 (POLL_IN): Likewise.
7920 (POLL_OUT): Likewise.
7921 (POLL_MSG): Likewise.
7922 (POLL_ERR): Likewise.
7923 (POLL_PRI): Likewise.
7924 (POLL_HUP): Likewise.
7925 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
7926 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
7929 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
7930 before #include of <time.h>.
7931 [!__USE_XOPEN2K] (__need_timespec): Likewise.
7932 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
7933 (test-xfail-UNIX98/sched.h/conform): Likewise.
7935 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
7937 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
7938 error absence of trapping exception support.
7939 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
7941 2014-03-07 Joseph Myers <joseph@codesourcery.com>
7943 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
7944 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
7945 * timezone/Makefile (testdata): Move definition above include of
7947 (test-zones): New variable.
7948 (tests-special): Add zone files.
7949 (build-testdata): Use $(evaluate-test).
7951 * elf/Makefile (tests-special): Rename tests to end with .out.
7952 ($(objpfx)noload-mem): Likewise.
7953 ($(objpfx)tst-leaks1-mem): Likewise.
7954 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
7955 * iconv/Makefile (xtests-special): Change test-iconvconfig to
7956 $(objpfx)test-iconvconfig.out.
7957 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
7958 set -e inside subshell and redirect output to file.
7959 * iconvdata/Makefile (generated): Rename tests to end with .out.
7961 (tests-special): Rename tests to end with .out.
7962 ($(objpfx)mtrace-tst-loading): Likewise.
7963 * intl/Makefile (generated): Likewise.
7964 (tests-special): Likewise.
7965 ($(objpfx)mtrace-tst-gettext): Likewise.
7966 * misc/Makefile (generated): Likewise.
7967 (tests-special): Likewise.
7968 ($(objpfx)tst-error1-mem): Likewise.
7969 * nptl/Makefile (tests-special): Likewise.
7970 ($(objpfx)tst-stack3-mem): Likewise.
7971 (generated): Likewise.
7972 * posix/Makefile (generated): Likewise.
7973 (tests-special): Likewise.
7974 (xtests-special): Likewise.
7975 ($(objpfx)tst-fnmatch-mem): Likewise.
7976 ($(objpfx)bug-regex2-mem): Likewise.
7977 ($(objpfx)bug-regex14-mem): Likewise.
7978 ($(objpfx)bug-regex21-mem): Likewise.
7979 ($(objpfx)bug-regex31-mem): Likewise.
7980 ($(objpfx)tst-vfork3-mem): Likewise.
7981 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
7982 ($(objpfx)tst-pcre-mem): Likewise.
7983 ($(objpfx)tst-boost-mem): Likewise.
7984 ($(objpfx)bug-ga2-mem): Likewise.
7985 ($(objpfx)bug-glob2-mem): Likewise.
7986 * resolv/Makefile (generate): Likewise.
7987 (tests-special): Likewise.
7988 (xtests-special): Likewise.
7989 (generated): Likewise.
7990 ($(objpfx)mtrace-tst-leaks): Likewise.
7991 ($(objpfx)mtrace-tst-leaks2): Likewise.
7993 * scripts/merge-test-results.sh: New file.
7994 * Makefile (tests-special-notdir): New variable.
7995 (tests): Run merge-test-results.sh.
7997 * Rules (tests-special-notdir): New variable.
7998 (xtests-special-notdir): Likewise.
7999 (tests): Run merge-test-results.sh
8002 * Makeconfig (test-xfail-name): New variable.
8003 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
8004 compute variable name for expected failures.
8005 * conform/Makefile (conformtest-headers-data): New variable.
8006 (conformtest-standards): Likewise.
8007 (conformtest-headers-ISO): Likewise.
8008 (conformtest-headers-ISO99): Likewise.
8009 (conformtest-headers-ISO11): Likewise.
8010 (conformtest-headers-POSIX): Likewise.
8011 (conformtest-headers-XPG3): Likewise.
8012 (conformtest-headers-XPG4): Likewise.
8013 (conformtest-headers-UNIX98): Likewise.
8014 (conformtest-headers-XOPEN2K): Likewise.
8015 (conformtest-headers-POSIX2008): Likewise.
8016 (conformtest-headers-XOPEN2K8): Likewise.
8017 (conformtest-header-list-base): Likewise.
8018 (conformtest-header-list-tests): Likewise.
8019 (conformtest-header-base): Likewise.
8020 (conformtest-header-tests): Likewise.
8021 (tests-special): Add $(conformtest-header-list-tests). If
8022 [$(fast-check) && !$(cross-compiling)], add
8023 $(conformtest-header-tests) instead of
8024 $(objpfx)run-conformtest.out.
8025 (generated): Add $(conformtest-header-list-base). If
8026 [$(fast-check) && !$(cross-compiling)], add
8027 $(conformtest-header-base). Remove previous setting.
8028 ($(conformtest-header-list-tests)): New target.
8029 (test-xfail-run-conformtest): Remove variable.
8030 ($(objpfx)run-conformtest.out): Remove target.
8031 (test-xfail-ISO11/complex.h/conform): New variable.
8032 (test-xfail-ISO11/stdalign.h/conform): Likewise.
8033 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
8034 (test-xfail-XPG3/varargs.h/conform): Likewise.
8035 (test-xfail-XPG4/varargs.h/conform): Likewise.
8036 (test-xfail-UNIX98/varargs.h/conform): Likewise.
8037 (test-xfail-XPG4/ndbm.h/conform): Likewise.
8038 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
8039 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
8040 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
8041 (test-xfail-XPG3/fcntl.h/conform): Likewise.
8042 (test-xfail-XPG3/ftw.h/conform): Likewise.
8043 (test-xfail-XPG3/grp.h/conform): Likewise.
8044 (test-xfail-XPG3/langinfo.h/conform): Likewise.
8045 (test-xfail-XPG3/limits.h/conform): Likewise.
8046 (test-xfail-XPG3/pwd.h/conform): Likewise.
8047 (test-xfail-XPG3/search.h/conform): Likewise.
8048 (test-xfail-XPG3/signal.h/conform): Likewise.
8049 (test-xfail-XPG3/stdio.h/conform): Likewise.
8050 (test-xfail-XPG3/stdlib.h/conform): Likewise.
8051 (test-xfail-XPG3/string.h/conform): Likewise.
8052 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
8053 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
8054 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
8055 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
8056 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
8057 (test-xfail-XPG3/sys/types.h/conform): Likewise.
8058 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
8059 (test-xfail-XPG3/termios.h/conform): Likewise.
8060 (test-xfail-XPG3/time.h/conform): Likewise.
8061 (test-xfail-XPG3/unistd.h/conform): Likewise.
8062 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
8063 (test-xfail-XPG4/fcntl.h/conform): Likewise.
8064 (test-xfail-XPG4/langinfo.h/conform): Likewise.
8065 (test-xfail-XPG4/netdb.h/conform): Likewise.
8066 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
8067 (test-xfail-XPG4/signal.h/conform): Likewise.
8068 (test-xfail-XPG4/stdio.h/conform): Likewise.
8069 (test-xfail-XPG4/stdlib.h/conform): Likewise.
8070 (test-xfail-XPG4/stropts.h/conform): Likewise.
8071 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
8072 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
8073 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
8074 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
8075 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
8076 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
8077 (test-xfail-XPG4/sys/time.h/conform): Likewise.
8078 (test-xfail-XPG4/sys/types.h/conform): Likewise.
8079 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
8080 (test-xfail-XPG4/termios.h/conform): Likewise.
8081 (test-xfail-XPG4/ucontext.h/conform): Likewise.
8082 (test-xfail-XPG4/unistd.h/conform): Likewise.
8083 (test-xfail-XPG4/utmpx.h/conform): Likewise.
8084 (test-xfail-POSIX/sched.h/conform): Likewise.
8085 (test-xfail-POSIX/signal.h/conform): Likewise.
8086 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
8087 (test-xfail-POSIX/tar.h/conform): Likewise.
8088 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
8089 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
8090 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
8091 (test-xfail-UNIX98/netdb.h/conform): Likewise.
8092 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
8093 (test-xfail-UNIX98/sched.h/conform): Likewise.
8094 (test-xfail-UNIX98/signal.h/conform): Likewise.
8095 (test-xfail-UNIX98/stdio.h/conform): Likewise.
8096 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
8097 (test-xfail-UNIX98/stropts.h/conform): Likewise.
8098 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
8099 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
8100 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
8101 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
8102 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
8103 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
8104 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
8105 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
8106 (test-xfail-UNIX98/unistd.h/conform): Likewise.
8107 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
8108 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
8109 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
8110 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
8111 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
8112 (test-xfail-XOPEN2K/math.h/conform): Likewise.
8113 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
8114 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
8115 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
8116 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
8117 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
8118 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
8119 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
8120 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
8121 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
8122 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
8123 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
8124 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
8125 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
8126 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
8127 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
8128 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
8129 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
8130 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
8131 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
8132 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
8133 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
8134 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
8135 (test-xfail-POSIX2008/signal.h/conform): Likewise.
8136 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
8137 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
8138 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
8139 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
8140 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
8141 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
8142 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
8143 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
8144 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
8145 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
8146 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
8147 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
8148 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
8149 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
8150 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
8151 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
8152 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
8153 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
8154 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
8155 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
8156 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
8157 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
8158 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
8159 (conformtest-cc-flags): Likewise.
8160 ($(conformtest-header-tests): New target.
8161 * conform/check-header-lists.sh: New file.
8162 * conform/run-conformtest.sh: Remove.
8164 * conform/conformtest.pl: Allow ' and \ in values given for
8166 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
8168 [POSIX] (sys/types.h): Likewise.
8169 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
8171 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
8173 * conform/data/signal.h-data (SIGIO): Remove expectation.
8174 [XPG3] (SIGBUS): Do not expect.
8175 [POSIX || XPG3] (SIGPOLL): Likewise.
8176 [POSIX || XPG3] (SIGPROF): Likewise.
8177 [POSIX || XPG3] (SIGSYS): Likewise.
8178 [XPG3] (SIGTRAP): Likewise.
8179 [POSIX || XPG3] (SIGURG): Likewise.
8180 [POSIX || XPG3] (SIGVTALRM): Likewise.
8181 [POSIX || XPG3] (SIGXCPU): Likewise.
8182 [POSIX || XPG3] (SIGXFSZ): Likewise.
8183 [POSIX] (SA_SIGINFO): Expect.
8184 [XPG3] (siginfo_t): Do not expect type or contents.
8185 [POSIX] (si_pid): Do not expect element.
8186 [POSIX] (si_uid): Likewise.
8187 [POSIX] (si_addr): Likewise.
8188 [POSIX] (si_status): Likewise.
8189 [POSIX] (si_band): Likewise.
8190 [XPG4] (si_value): Likewise.
8191 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
8192 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
8193 [POSIX || XPG3] (ILL_ILLADR): Likewise.
8194 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
8195 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
8196 [POSIX || XPG3] (ILL_PRVREG): Likewise.
8197 [POSIX || XPG3] (ILL_COPROC): Likewise.
8198 [POSIX || XPG3] (ILL_BADSTK): Likewise.
8199 [POSIX || XPG3] (FPE_INTDIV): Likewise.
8200 [POSIX || XPG3] (FPE_INTOVF): Likewise.
8201 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
8202 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
8203 [POSIX || XPG3] (FPE_FLTUND): Likewise.
8204 [POSIX || XPG3] (FPE_FLTRES): Likewise.
8205 [POSIX || XPG3] (FPE_FLTINV): Likewise.
8206 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
8207 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
8208 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
8209 [POSIX || XPG3] (BUS_ADRALN): Likewise.
8210 [POSIX || XPG3] (BUS_ADRERR): Likewise.
8211 [POSIX || XPG3] (BUS_OBJERR): Likewise.
8212 [POSIX || XPG3] (CLD_EXITED): Likewise.
8213 [POSIX || XPG3] (CLD_KILLED): Likewise.
8214 [POSIX || XPG3] (CLD_DUMPED): Likewise.
8215 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
8216 [POSIX || XPG3] (CLD_STOPPED): Likewise.
8217 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
8218 [POSIX || XPG3] (POLL_IN): Likewise.
8219 [POSIX || XPG3] (POLL_OUT): Likewise.
8220 [POSIX || XPG3] (POLL_MSG): Likewise.
8221 [POSIX || XPG3] (POLL_ERR): Likewise.
8222 [POSIX || XPG3] (POLL_PRI): Likewise.
8223 [POSIX || XPG3] (POLL_HUP): Likewise.
8224 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
8225 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
8226 (SIG*): Do not allow.
8227 [XPG3] (si_*): Likewise.
8228 [XPG3] (SI_*): Likewise.
8229 [XPG3 || XPG4] (sigev_*): Likewise.
8230 [XPG3 || XPG4] (SIGEV_*): Likewise.
8231 [XPG3 || XPG4] (sival_*): Likewise.
8232 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
8233 [POSIX || XPG3] (BUS_*): Likewise.
8234 [POSIX || XPG3] (CLD_*): Likewise.
8235 [POSIX || XPG3] (FPE_*): Likewise.
8236 [POSIX || XPG3] (ILL_*): Likewise.
8237 [POSIX || XPG3] (POLL_*): Likewise.
8238 [POSIX || XPG3] (SEGV_*): Likewise.
8239 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
8240 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
8241 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
8242 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
8243 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
8244 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
8245 Specify type and value.
8246 (TVERSLEN): Likewise.
8247 (REGTYPE): Likewise.
8248 (AREGTYPE): Likewise.
8249 (LNKTYPE): Likewise.
8250 (SYMTYPE): Likewise.
8251 (CHRTYPE): Likewise.
8252 (BLKTYPE): Likewise.
8253 (DIRTYPE): Likewise.
8254 (FIFOTYPE): Likewise.
8255 (CONTTYPE): Likewise.
8260 (TUWRITE): Likewise.
8263 (TGWRITE): Likewise.
8266 (TOWRITE): Likewise.
8268 [POSIX] (TSVTX): Expect constant.
8270 2014-03-06 Joseph Myers <joseph@codesourcery.com>
8272 * Makefile (tests): Change dependencies to ....
8273 (tests-special): ... additions to this variable.
8274 (tests): Depend on $(tests-special).
8275 * Makerules (check-abi-list): New variable.
8276 (check-abi): Depend on $(check-abi-list).
8277 [$(subdir) = elf] (tests-special): Add
8278 $(objpfx)check-abi-libc.out.
8279 [$(build-shared) = yes && subdir] (tests-special): Add
8281 [$(build-shared) = yes && subdir] (tests): Do not depend on
8283 * Rules (tests): Depend on $(tests-special).
8284 (xtests): Depend on $(xtests-special).
8285 * catgets/Makefile (tests): Change dependencies to ....
8286 (tests-special): ... additions to this variable.
8287 * conform/Makefile (tests): Change dependencies to ....
8288 (tests-special): ... additions to this variable.
8289 * elf/Makefile (tests): Change dependencies to ....
8290 (tests-special): ... additions to this variable.
8291 * grp/Makefile (tests): Change dependencies to ....
8292 (tests-special): ... additions to this variable.
8293 * iconv/Makefile (xtests): Change dependencies to ....
8294 (xtests-special): ... additions to this variable.
8295 * iconvdata/Makefile (tests): Change dependencies to ....
8296 (tests-special): ... additions to this variable.
8297 * intl/Makefile (tests): Change dependencies to ....
8298 (tests-special): ... additions to this variable. Also add
8299 $(objpfx)tst-gettext.out.
8300 * io/Makefile (tests): Change dependencies to ....
8301 (tests-special): ... additions to this variable.
8302 * libio/Makefile (tests): Change dependencies to ....
8303 (tests-special): ... additions to this variable.
8304 * malloc/Makefile (tests): Change dependencies to ....
8305 (tests-special): ... additions to this variable.
8306 * misc/Makefile (tests): Change dependencies to ....
8307 (tests-special): ... additions to this variable.
8308 * nptl/Makefile (tests): Change dependencies to ....
8309 (tests-special): ... additions to this variable.
8310 * nptl_db/Makefile (tests): Change dependencies to ....
8311 (tests-special): ... additions to this variable.
8312 * posix/Makefile (tests): Change dependencies to ....
8313 (tests-special): ... additions to this variable.
8314 (xtests): Change dependencies to ....
8315 (xtests-special): ... additions to this variable.
8316 * resolv/Makefile (tests): Change dependencies to ....
8317 (tests-special): ... additions to this variable.
8318 (xtests): Change dependencies to ....
8319 (xtests-special): ... additions to this variable.
8320 * stdio-common/Makefile (tests): Change dependencies to ....
8321 (tests-special): ... additions to this variable.
8322 (do-tst-unbputc): Remove target.
8323 (do-tst-printf): Likewise.
8324 * stdlib/Makefile (tests): Change dependencies to ....
8325 (tests-special): ... additions to this variable.
8326 * string/Makefile (tests): Change dependencies to ....
8327 (tests-special): ... additions to this variable.
8328 * sysdeps/x86/Makefile (tests): Change dependencies to ....
8329 (tests-special): ... additions to this variable.
8331 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
8333 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
8335 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
8336 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
8338 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
8339 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
8340 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
8341 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
8342 * conform/data/libgen.h-data [XPG3]: Likewise.
8343 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
8344 * conform/data/ndbm.h-data [XPG3]: Likewise.
8345 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
8346 * conform/data/netdb.h-data [XPG3]: Likewise.
8347 * conform/data/netinet/in.h-data [XPG3]: Likewise.
8348 * conform/data/poll.h-data [XPG3]: Likewise.
8349 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
8350 * conform/data/strings.h-data [XPG3]: Likewise.
8351 * conform/data/stropts.h-data [XPG3]: Likewise.
8352 * conform/data/sys/mman.h-data [XPG3]: Likewise.
8353 * conform/data/sys/resource.h-data [XPG3]: Likewise.
8354 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
8356 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
8357 * conform/data/sys/time.h-data [XPG3]: Likewise.
8358 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
8359 * conform/data/sys/uio.h-data [XPG3]: Likewise.
8360 * conform/data/sys/un.h-data [XPG3]: Likewise.
8361 * conform/data/syslog.h-data [XPG3]: Likewise.
8362 * conform/data/ucontext.h-data [XPG3]: Likewise.
8363 * conform/data/utmpx.h-data [XPG3]: Likewise.
8364 * conform/data/varargs.h-data [UNIX98]: Enable file.
8366 * manual/Makefile (INSTALL_INFO): Remove variable setting.
8368 * math/libm-test.inc (struct test_f_f_data): Move expected results
8369 into structure for each rounding mode.
8370 (struct test_ff_f_data): Likewise.
8371 (struct test_ff_f_data_nexttoward): Likewise.
8372 (struct test_fi_f_data): Likewise.
8373 (struct test_fl_f_data): Likewise.
8374 (struct test_if_f_data): Likewise.
8375 (struct test_fff_f_data): Likewise.
8376 (struct test_c_f_data): Likewise.
8377 (struct test_f_f1_data): Likewise.
8378 (struct test_fF_f1_data): Likewise.
8379 (struct test_ffI_f1_data): Likewise.
8380 (struct test_c_c_data): Likewise.
8381 (struct test_cc_c_data): Likewise.
8382 (struct test_f_i_data): Likewise.
8383 (struct test_ff_i_data): Likewise.
8384 (struct test_f_l_data): Likewise.
8385 (struct test_f_L_data): Likewise.
8386 (struct test_fFF_11_data): Likewise.
8388 (RM_FE_DOWNWARD): Likewise.
8389 (RM_FE_TONEAREST): Likewise.
8390 (RM_FE_TOWARDZERO): Likewise.
8391 (RM_FE_UPWARD): Likewise.
8392 (RUN_TEST_LOOP_f_f): Update references to expected results.
8393 (RUN_TEST_LOOP_2_f): Likewise.
8394 (RUN_TEST_LOOP_fff_f): Likewise.
8395 (RUN_TEST_LOOP_c_f): Likewise.
8396 (RUN_TEST_LOOP_f_f1): Likewise.
8397 (RUN_TEST_LOOP_fF_f1): Likewise.
8398 (RUN_TEST_LOOP_fI_f1): Likewise.
8399 (RUN_TEST_LOOP_ffI_f1): Likewise.
8400 (RUN_TEST_LOOP_c_c): Likewise.
8401 (RUN_TEST_LOOP_cc_c): Likewise.
8402 (RUN_TEST_LOOP_f_i): Likewise.
8403 (RUN_TEST_LOOP_f_i_tg): Likewise.
8404 (RUN_TEST_LOOP_ff_i_tg): Likewise.
8405 (RUN_TEST_LOOP_f_b): Likewise.
8406 (RUN_TEST_LOOP_f_b_tg): Likewise.
8407 (RUN_TEST_LOOP_f_l): Likewise.
8408 (RUN_TEST_LOOP_f_L): Likewise.
8409 (RUN_TEST_LOOP_fFF_11): Likewise.
8410 * math/gen-libm-test.pl (parse_args): Output four copies of
8411 expected results for each test.
8413 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
8414 (__ASSUME_UTIMES): Remove.
8415 * sysdeps/unix/sysv/linux/tile/kernel-features.h
8416 (__ASSUME_UTIMES): Likewise.
8418 * math/gen-auto-libm-tests.c: Update comment on output format.
8419 (output_for_one_input_case): Generate before-rounding and
8420 after-rounding information as conditions on output flags not
8421 floating-point format.
8422 * math/auto-libm-test-out: Regenerated.
8423 * math/gen-libm-test.pl (cond_value): New function.
8424 (or_cond_value): Use cond_value.
8425 (generate_testfile): Handle conditional exceptions.
8427 2014-03-05 Joseph Myers <joseph@codesourcery.com>
8429 * math/libm-test.inc (max_valid_error): New variable.
8430 (init_max_error): Take new argument specifying whether function
8431 results are exactly determined. Set max_valid_error and bound
8432 other variables for errors based on this argument.
8433 (set_max_error): Do not record results above max_valid_error.
8434 (check_float_internal): Only accept errors of up to 0.5ulps if
8435 also at most max_valid_error.
8436 (START): Take new argument EXACT and pass it to init_max_error.
8437 (acos_test): Update call to START.
8438 (acos_test_tonearest): Likewise.
8439 (acos_test_towardzero): Likewise.
8440 (acos_test_downward): Likewise.
8441 (acos_test_upward): Likewise.
8442 (acosh_test): Likewise.
8443 (asin_test): Likewise.
8444 (asin_test_tonearest): Likewise.
8445 (asin_test_towardzero): Likewise.
8446 (asin_test_downward): Likewise.
8447 (asin_test_upward): Likewise.
8448 (asinh_test): Likewise.
8449 (atan_test): Likewise.
8450 (atanh_test): Likewise.
8451 (atan2_test): Likewise.
8452 (cabs_test): Likewise.
8453 (cacos_test): Likewise.
8454 (cacosh_test): Likewise.
8455 (carg_test): Likewise.
8456 (casin_test): Likewise.
8457 (casinh_test): Likewise.
8458 (catan_test): Likewise.
8459 (catanh_test): Likewise.
8460 (cbrt_test): Likewise.
8461 (ccos_test): Likewise.
8462 (ccosh_test): Likewise.
8463 (ceil_test): Likewise.
8464 (cexp_test): Likewise.
8465 (cimag_test): Likewise.
8466 (clog_test): Likewise.
8467 (clog10_test): Likewise.
8468 (conj_test): Likewise.
8469 (copysign_test): Likewise.
8470 (cos_test): Likewise.
8471 (cos_test_tonearest): Likewise.
8472 (cos_test_towardzero): Likewise.
8473 (cos_test_downward): Likewise.
8474 (cos_test_upward): Likewise.
8475 (cosh_test): Likewise.
8476 (cosh_test_tonearest): Likewise.
8477 (cosh_test_towardzero): Likewise.
8478 (cosh_test_downward): Likewise.
8479 (cosh_test_upward): Likewise.
8480 (cpow_test): Likewise.
8481 (cproj_test): Likewise.
8482 (creal_test): Likewise.
8483 (csin_test): Likewise.
8484 (csinh_test): Likewise.
8485 (csqrt_test): Likewise.
8486 (ctan_test): Likewise.
8487 (ctan_test_tonearest): Likewise.
8488 (ctan_test_towardzero): Likewise.
8489 (ctan_test_downward): Likewise.
8490 (ctan_test_upward): Likewise.
8491 (ctanh_test): Likewise.
8492 (ctanh_test_tonearest): Likewise.
8493 (ctanh_test_towardzero): Likewise.
8494 (ctanh_test_downward): Likewise.
8495 (ctanh_test_upward): Likewise.
8496 (erf_test): Likewise.
8497 (erfc_test): Likewise.
8498 (exp_test): Likewise.
8499 (exp_test_tonearest): Likewise.
8500 (exp_test_towardzero): Likewise.
8501 (exp_test_downward): Likewise.
8502 (exp_test_upward): Likewise.
8503 (exp10_test): Likewise.
8504 (exp10_test_tonearest): Likewise.
8505 (exp10_test_towardzero): Likewise.
8506 (exp10_test_downward): Likewise.
8507 (exp10_test_upward): Likewise.
8508 (pow10_test): Likewise.
8509 (exp2_test): Likewise.
8510 (expm1_test): Likewise.
8511 (expm1_test_tonearest): Likewise.
8512 (expm1_test_towardzero): Likewise.
8513 (expm1_test_downward): Likewise.
8514 (expm1_test_upward): Likewise.
8515 (fabs_test): Likewise.
8516 (fdim_test): Likewise.
8517 (floor_test): Likewise.
8518 (fma_test): Likewise.
8519 (fma_test_towardzero): Likewise.
8520 (fma_test_downward): Likewise.
8521 (fma_test_upward): Likewise.
8522 (fmax_test): Likewise.
8523 (fmin_test): Likewise.
8524 (fmod_test): Likewise.
8525 (fpclassify_test): Likewise.
8526 (frexp_test): Likewise.
8527 (hypot_test): Likewise.
8528 (ilogb_test): Likewise.
8529 (isfinite_test): Likewise.
8530 (finite_test): Likewise.
8531 (isgreater_test): Likewise.
8532 (isgreaterequal_test): Likewise.
8533 (isinf_test): Likewise.
8534 (isless_test): Likewise.
8535 (islessequal_test): Likewise.
8536 (islessgreater_test): Likewise.
8537 (isnan_test): Likewise.
8538 (isnormal_test): Likewise.
8539 (issignaling_test): Likewise.
8540 (isunordered_test): Likewise.
8541 (j0_test): Likewise.
8542 (j1_test): Likewise.
8543 (jn_test): Likewise.
8544 (ldexp_test): Likewise.
8545 (lgamma_test): Likewise.
8546 (gamma_test): Likewise.
8547 (lrint_test): Likewise.
8548 (lrint_test_tonearest): Likewise.
8549 (lrint_test_towardzero): Likewise.
8550 (lrint_test_downward): Likewise.
8551 (lrint_test_upward): Likewise.
8552 (llrint_test): Likewise.
8553 (llrint_test_tonearest): Likewise.
8554 (llrint_test_towardzero): Likewise.
8555 (llrint_test_downward): Likewise.
8556 (llrint_test_upward): Likewise.
8557 (log_test): Likewise.
8558 (log10_test): Likewise.
8559 (log1p_test): Likewise.
8560 (log2_test): Likewise.
8561 (logb_test): Likewise.
8562 (logb_test_downward): Likewise.
8563 (lround_test): Likewise.
8564 (llround_test): Likewise.
8565 (modf_test): Likewise.
8566 (nearbyint_test): Likewise.
8567 (nextafter_test): Likewise.
8568 (nexttoward_test): Likewise.
8569 (pow_test): Likewise.
8570 (pow_test_tonearest): Likewise.
8571 (pow_test_towardzero): Likewise.
8572 (pow_test_downward): Likewise.
8573 (pow_test_upward): Likewise.
8574 (remainder_test): Likewise.
8575 (drem_test): Likewise.
8576 (remainder_test_tonearest): Likewise.
8577 (drem_test_tonearest): Likewise.
8578 (remainder_test_towardzero): Likewise.
8579 (drem_test_towardzero): Likewise.
8580 (remainder_test_downward): Likewise.
8581 (drem_test_downward): Likewise.
8582 (remainder_test_upward): Likewise.
8583 (drem_test_upward): Likewise.
8584 (remquo_test): Likewise.
8585 (rint_test): Likewise.
8586 (rint_test_tonearest): Likewise.
8587 (rint_test_towardzero): Likewise.
8588 (rint_test_downward): Likewise.
8589 (rint_test_upward): Likewise.
8590 (round_test): Likewise.
8591 (scalb_test): Likewise.
8592 (scalbn_test): Likewise.
8593 (scalbln_test): Likewise.
8594 (signbit_test): Likewise.
8595 (sin_test): Likewise.
8596 (sin_test_tonearest): Likewise.
8597 (sin_test_towardzero): Likewise.
8598 (sin_test_downward): Likewise.
8599 (sin_test_upward): Likewise.
8600 (sincos_test): Likewise.
8601 (sinh_test): Likewise.
8602 (sinh_test_tonearest): Likewise.
8603 (sinh_test_towardzero): Likewise.
8604 (sinh_test_downward): Likewise.
8605 (sinh_test_upward): Likewise.
8606 (sqrt_test): Likewise.
8607 (sqrt_test_tonearest): Likewise.
8608 (sqrt_test_towardzero): Likewise.
8609 (sqrt_test_downward): Likewise.
8610 (sqrt_test_upward): Likewise.
8611 (tan_test): Likewise.
8612 (tan_test_tonearest): Likewise.
8613 (tan_test_towardzero): Likewise.
8614 (tan_test_downward): Likewise.
8615 (tan_test_upward): Likewise.
8616 (tanh_test): Likewise.
8617 (tgamma_test): Likewise.
8618 (trunc_test): Likewise.
8619 (y0_test): Likewise.
8620 (y1_test): Likewise.
8621 (yn_test): Likewise.
8622 (significand_test): Likewise.
8624 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
8625 individual tests in comment.
8626 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
8627 (prev_max_error): New variable.
8628 (prev_real_max_error): Likewise.
8629 (prev_imag_max_error): Likewise.
8630 (compare_ulp_data): Don't refer to test names in comment.
8631 (find_test_ulps): Remove function.
8632 (find_function_ulps): Likewise.
8633 (find_complex_function_ulps): Likewise.
8634 (init_max_error): Take function name as argument. Look up ulps
8636 (print_ulps): Remove function.
8637 (print_max_error): Use prev_max_error instead of calling
8639 (print_complex_max_error): Use prev_real_max_error and
8640 prev_imag_max_error instead of calling find_complex_function_ulps.
8641 (check_float_internal): Take max_ulp parameter instead of calling
8642 find_test_ulps. Don't call print_ulps.
8643 (check_float): Update call to check_float_internal.
8644 (check_complex): Update calls to check_float_internal.
8645 (START): Pass argument to init_max_error.
8646 * math/gen-libm-test.pl (%results): Don't include "kind"
8648 (parse_ulps): Don't handle ulps of individual tests.
8649 (print_ulps_file): Likewise.
8650 (output_ulps): Likewise.
8651 * math/README.libm-test: Update.
8652 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
8654 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
8655 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
8656 * sysdeps/arm/libm-test-ulps: Likewise.
8657 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
8658 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
8659 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
8660 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
8661 * sysdeps/microblaze/libm-test-ulps: Likewise.
8662 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
8663 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
8664 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8665 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
8666 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
8667 * sysdeps/sh/libm-test-ulps: Likewise.
8668 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
8669 * sysdeps/tile/libm-test-ulps: Likewise.
8670 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8672 2014-03-04 Joseph Myers <joseph@codesourcery.com>
8674 * math/libm-test.inc (print_complex_max_error): Check separately
8675 whether real and imaginary errors are within allowed range and
8676 pass 0 to print_complex_function_ulps instead of value within
8679 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
8681 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
8683 (get_handles_fopen): Likewise.
8684 (do_write_test): Likewise.
8686 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
8688 * libio/fileops.c (do_ftell): Use cached offset when
8690 * libio/iofwide.c (do_ftell_wide): Likewise.
8691 * libio/iofdopen.c (_IO_new_fdopen): Don't use
8693 * libio/wfileops.c (_IO_fwide): Don't cache offset.
8696 * libio/libioP.h (get_file_offset): New function.
8697 * libio/fileops.c (get_file_offset): Likewise.
8698 (do_ftell): Likewise.
8699 (_IO_new_file_seekoff): Split out ftell logic.
8700 * libio/wfileops.c (do_ftell_wide): Likewise.
8701 (_IO_wfile_seekoff): Split out ftell logic.
8702 * libio/tst-ftell-active-handler.c: New test case.
8703 * libio/Makefile (tests): Add it.
8705 2014-03-03 Roland McGrath <roland@hack.frob.com>
8707 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
8708 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
8710 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
8713 * nscd/connections.c (nscd_init): Call do_exit.
8714 (start_threads): Call do_exit and notify_parent.
8715 (begin_drop_privileges): Call do_exit.
8716 (finish_drop_privileges): Likewise.
8717 * nscd/selinux.c (preserve_capabilities): Likewise.
8718 (install_real_capabilities): Likewise.
8719 (nscd_selinux_enabled): Likewise.
8720 (avc_create_thread): Likewise.
8721 (avc_alloc_lock): Likewise.
8722 (nscd_avc_init): Likewise.
8723 * nscd/nscd.c (parent_fd): New static variable.
8724 (main): Create a pipe between parent and child processes.
8725 Skip closing parent_fd.
8726 (monitor_child): New function.
8727 (do_exit): Likewise.
8728 (notify_parent): Likewise.
8729 * nscd/nscd.h (notify_parent): Likewise.
8730 (do_exit): Likewise.
8732 2014-03-03 Carlos O'Donell <carlos@redhat.com>
8734 * malloc/malloc.c (__libc_calloc): Revert last change.
8736 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8738 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8740 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8742 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
8743 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
8745 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8746 (__libc_ifunc_impl_list): Likewise.
8747 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
8748 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
8749 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
8750 * string/strrchr.c: Define STRRCHR.
8752 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
8754 * benchtest/bench-strtok.c (simple_strtok): Delete.
8755 (strtok_string): Use as benchmark.
8756 * string/strtok (STRTOK): New macro.
8758 2014-02-28 Carlos O'Donell <carlos@redhat.com>
8760 * manual/threads.texi: Add header and standard comments to all
8763 * elf/dl-lookup.c (check_match): New function.
8764 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
8765 (do_lookup_x): Remove nested function check_match. Use non-nested
8766 function check_match.
8768 2014-02-28 Roland McGrath <roland@hack.frob.com>
8770 * csu/Makefile (generated, before-compile): Use += rather than =.
8771 * catgets/Makefile (generated, generated-dirs): Likewise.
8772 * debug/Makefile (generated): Likewise.
8773 * dlfcn/Makefile (generated): Likewise.
8774 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
8775 * iconvdata/Makefile (before-compile, generated): Likewise.
8776 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
8777 * libio/Makefile (generated): Likewise.
8778 * malloc/Makefile (generated): Likewise.
8779 * manual/Makefile (generated, generated-dirs): Likewise.
8780 * misc/Makefile (generated): Likewise.
8781 * posix/Makefile (generated): Likewise.
8782 * resolv/Makefile (generated): Likewise.
8783 * sunrpc/Makefile (generated, generated-dirs): Likewise.
8784 * timezone/Makefile (generated, generated-dirs): Likewise.
8786 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
8788 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8790 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
8791 power8 implementation.
8792 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
8793 file: POWER8 llround ifunc implementation.
8794 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
8795 (__lllround): Add POWER8 implementation.
8796 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
8797 POWER8 llround implementation.
8799 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
8800 power8 implementation.
8801 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
8802 file: POWER8 llrint ifunc implementation.
8803 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
8804 Add POWER8 implementation.
8805 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
8806 POWER8 llrint implementation.
8808 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
8809 power8 implementation.
8810 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
8811 file: POWER8 finite ifunc implementation.
8812 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
8813 Add POWER8 implementation.
8814 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
8816 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
8817 POWER8 finite implementation.
8818 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
8820 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
8821 power8 implementation.
8822 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
8823 file: POWER8 isinf ifunc implementation.
8824 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
8825 POWER8 implementation.
8826 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
8828 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
8829 isinf implementation.
8830 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
8832 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
8833 (INIT_ARCH): Add hwcap2 initialization.
8834 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
8835 power8 implementation.
8836 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
8837 file: POWER8 isnan ifunc implementation.
8838 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
8839 POWER8 implementation.
8840 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
8842 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
8843 isnan implementation.
8844 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
8846 2014-02-27 Joey Ye <joey.ye@arm.com>
8848 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
8849 (_FP_NANFRAC_Q): Set to zero.
8851 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
8854 * math/auto-libm-test-in: New test inputs.
8855 * math/auto-libm-test-out: Regenerate.
8856 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
8859 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
8861 2014-02-27 Joseph Myers <joseph@codesourcery.com>
8863 * scripts/evaluate-test.sh: Take new argument indicating whether
8864 failure is expected.
8865 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
8866 indicating whether failure is expected.
8867 * conform/Makefile (test-xfail-run-conformtest): New variable.
8868 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
8870 * posix/Makefile (test-xfail-annexc): New variable.
8871 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
8873 2014-02-26 Joseph Myers <joseph@codesourcery.com>
8875 * argp/Makefile: Include Makeconfig immediately after defining
8877 * assert/Makefile: Likewise.
8878 * benchtests/Makefile: Likewise.
8879 * catgets/Makefile: Likewise.
8880 * conform/Makefile: Likewise.
8881 * crypt/Makefile: Likewise.
8882 * csu/Makefile: Likewise.
8883 (all): Remove target.
8884 * ctype/Makefile: Include Makeconfig immediately after defining
8886 * debug/Makefile: Likewise.
8887 * dirent/Makefile: Likewise.
8888 * dlfcn/Makefile: Likewise.
8889 * gmon/Makefile: Likewise.
8890 * gnulib/Makefile: Likewise.
8891 * grp/Makefile: Likewise.
8892 * gshadow/Makefile: Likewise.
8893 * hesiod/Makefile: Likewise.
8894 * hurd/Makefile: Likewise.
8895 (all): Remove target.
8896 * iconvdata/Makefile: Include Makeconfig immediately after
8898 * inet/Makefile: Likewise.
8899 * intl/Makefile: Likewise.
8900 * io/Makefile: Likewise.
8901 * libio/Makefile: Likewise.
8902 (all): Remove target.
8903 * locale/Makefile: Include Makeconfig immediately after defining
8905 * login/Makefile: Likewise.
8906 * mach/Makefile: Likewise.
8907 (all): Remove target.
8908 * malloc/Makefile: Include Makeconfig immediately after defining
8910 (all): Remove target.
8911 * manual/Makefile: Include Makeconfig immediately after defining
8913 * math/Makefile: Likewise.
8914 * misc/Makefile: Likewise.
8915 * nis/Makefile: Likewise.
8916 * nss/Makefile: Likewise.
8917 * po/Makefile: Likewise.
8918 (all): Remove target.
8919 * posix/Makefile: Include Makeconfig immediately after defining
8921 * pwd/Makefile: Likewise.
8922 * resolv/Makefile: Likewise.
8923 * resource/Makefile: Likewise.
8924 * rt/Makefile: Likewise.
8925 * setjmp/Makefile: Likewise.
8926 * shadow/Makefile: Likewise.
8927 * signal/Makefile: Likewise.
8928 * socket/Makefile: Likewise.
8929 * soft-fp/Makefile: Likewise.
8930 * stdio-common/Makefile: Likewise.
8931 * stdlib/Makefile: Likewise.
8932 * streams/Makefile: Likewise.
8933 * string/Makefile: Likewise.
8934 * sunrpc/Makefile: Likewise.
8935 (all): Remove target.
8936 * sysvipc/Makefile: Include Makeconfig immediately after defining
8938 * termios/Makefile: Likewise.
8939 * time/Makefile: Likewise.
8940 * timezone/Makefile: Likewise.
8941 (all): Remove target.
8942 * wcsmbs/Makefile: Include Makeconfig immediately after defining
8944 * wctype/Makefile: Likewise.
8946 2014-02-26 Steve Ellcey <sellcey@mips.com>
8948 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
8949 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
8950 (libc_feholdexcept_setround_mips): Ditto.
8951 (libc_feholdsetround): New.
8952 (libc_feholdsetroundf): New.
8953 (libc_feholdsetroundl): New.
8954 (libc_feupdateenv_test_mips): New.
8955 (libc_feupdateenv_test): New.
8956 (libc_feupdateenv_testf): New.
8957 (libc_feupdateenv_testl): New.
8958 (libc_feresetround): New.
8959 (libc_feresetroundf): New.
8960 (libc_feresetroundl): New.
8961 (libc_fetestexcept_mips): New.
8962 (libc_fetestexcept): New.
8963 (libc_fetestexceptf): New.
8964 (libc_fetestexceptl): New.
8966 (libc_feholdexcept_setround_mips_ctx): New.
8967 (libc_feholdexcept_setround_ctx): New.
8968 (libc_feholdexcept_setroundf_ctx): New.
8969 (libc_feholdexcept_setroundl_ctx): New.
8970 (libc_fesetenv_mips_ctx): New.
8971 (libc_fesetenv_ctx): New.
8972 (libc_fesetenv_ctxf): New.
8973 (libc_fesetenv_ctxl): New.
8974 (libc_feupdateenv_mips_ctx): New.
8975 (libc_feupdateenv_ctx): New.
8976 (libc_feupdateenvf_ctx): New.
8977 (libc_feupdateenvl_ctx): New.
8978 (libc_feholdsetround_mips_ctx): New.
8979 (libc_feholdsetround_ctx): New.
8980 (libc_feholdsetroundf_ctx): New.
8981 (libc_feholdsetroundl_ctx): New.
8982 (libc_feresetround_mips_ctx): New.
8983 (libc_feresetround_ctx): New.
8984 (libc_feresetroundf_ctx): New.
8985 (libc_feresetroundl_ctx): New.
8987 2014-02-26 Carlos O'Donell <carlos@redhat.com>
8989 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
8991 * manual/ipc.texi: New file.
8992 * manual/Makefile (chapters): Add ipc.
8993 * manual/job.texi: Add "Inter-Process Communication" to next.
8994 * manual/process.texi: Add "Inter-Process Communication" to prev.
8996 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8998 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9000 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
9002 * malloc/malloc.c (__libc_calloc): Simplify implementation.
9004 * manual/arith.texi: Fix spaces after sentences.
9005 * manual/charset.texi: Likewise.
9006 * manual/errno.texi: Likewise.
9007 * manual/install.texi: Likewise.
9008 * manual/llio.texi: Likewise.
9009 * manual/locale.texi: Likewise.
9010 * manual/maint.texi: Likewise.
9011 * manual/math.texi: Likewise.
9012 * manual/memory.texi: Likewise.
9013 * manual/message.texi: Likewise.
9014 * manual/probes.texi: Likewise.
9015 * manual/resource.texi: Likewise.
9016 * manual/signal.texi: Likewise.
9017 * manual/socket.texi: Likewise.
9018 * manual/stdio.texi: Likewise.
9019 * manual/string.texi: Likewise.
9020 * manual/time.texi: Likewise.
9021 * manual/users.texi: Likewise.
9023 2014-02-25 Carlos O'Donell <carlos@redhat.com>
9026 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
9027 _DEFAULT_SOURCE is defined.
9029 2014-02-25 Ulrich Drepper <drepper@gmail.com>
9030 Carlos O'Donell <carlos@redhat.com>
9033 * elf/dl-tls.c (_dl_count_modids): New function.
9034 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
9035 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
9036 audit library and increment generation counter.
9037 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
9038 * elf/tst-audit9.c: New file.
9039 * elf/tst-auditmod9a.c: New file.
9040 * elf/tst-auditmod9b.c: New file.
9041 * elf/Makefile: Add rules to build and run tst-audit9.
9043 2014-02-25 Florian Weimer <fweimer@redhat.com>
9046 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
9048 2014-02-25 Will Newton <will.newton@linaro.org>
9050 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
9051 (__longjmp): Restore sp and lr before restoring callee
9052 saved registers. Add longjmp and longjmp_target
9053 SystemTap probe point.
9054 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
9055 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
9056 Define to zero to match jmpbuf layout.
9057 * sysdeps/arm/setjmp.S: Include stap-probe.h.
9058 (__sigsetjmp): Save sp and lr before saving callee
9059 saved registers. Add setjmp SystemTap probe point.
9061 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
9063 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
9065 2014-02-24 Andreas Schwab <schwab@suse.de>
9068 * elf/pldd.c (wait_for_ptrace_stop): New function.
9069 (main): Call it after attaching.
9071 2014-02-22 Roland McGrath <roland@hack.frob.com>
9073 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
9074 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
9075 Versions files is now verboten.
9076 * hurd/Versions (libc: GLIBC_2.0):
9077 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
9078 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
9079 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
9080 * mach/Versions: Likewise.
9082 * csu/Versions: Remove unused %include.
9083 * resolv/Versions: Likewise.
9085 2014-02-21 Joseph Myers <joseph@codesourcery.com>
9087 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
9088 ($(objpfx)check-local-headers.out): Likewise.
9089 ($(objpfx)begin-end-check.out): Likewise.
9090 * Makerules (check-abi-%.out): Likewise.
9091 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
9092 ($(objpfx)test2.cat): Likewise.
9093 ($(objpfx)de/libc.cat): Likewise.
9094 ($(objpfx)test-gencat.out): Likewise.
9095 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
9096 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
9097 ($(objpfx)noload-mem): Likewise.
9098 ($(objpfx)tst-pathopt.out): Likewise.
9099 ($(objpfx)tst-rtld-load-self.out): Likewise.
9100 ($(objpfx)tst-array1-cmp.out): Likewise.
9101 ($(objpfx)tst-array1-static-cmp.out): Likewise.
9102 ($(objpfx)tst-array2-cmp.out): Likewise.
9103 ($(objpfx)tst-array3-cmp.out): Likewise.
9104 ($(objpfx)tst-array4-cmp.out): Likewise.
9105 ($(objpfx)tst-array5-cmp.out): Likewise.
9106 ($(objpfx)tst-array5-static-cmp.out): Likewise.
9107 ($(objpfx)check-textrel.out): Likewise.
9108 ($(objpfx)check-execstack.out): Likewise.
9109 ($(objpfx)check-localplt.out): Likewise.
9110 ($(objpfx)order2-cmp.out): Likewise.
9111 ($(objpfx)tst-leaks1-mem): Likewise.
9112 ($(objpfx)tst-leaks1-static-mem): Likewise.
9113 ($(objpfx)tst-initorder-cmp.out): Likewise.
9114 ($(objpfx)tst-initorder2-cmp.out): Likewise.
9115 ($(objpfx)tst-unused-dep.out): Likewise.
9116 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
9117 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
9118 * iconv/Makefile (test-iconvconfig): Likewise.
9119 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
9120 ($(objpfx)iconv-test.out): Likewise.
9121 ($(objpfx)tst-tables.out): Likewise.
9122 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
9123 ($(objpfx)tst-gettext.out): Likewise.
9124 ($(objpfx)tst-translit.out): Likewise.
9125 ($(objpfx)tst-gettext2.out): Likewise.
9126 ($(objpfx)tst-gettext4.out): Likewise.
9127 ($(objpfx)tst-gettext6.out): Likewise.
9128 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
9129 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
9130 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
9131 ($(objpfx)tst-fopenloc-mem.out): Likewise.
9132 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
9133 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
9134 * posix/Makefile ($(objpfx)globtest.out): Likewise.
9135 ($(objpfx)wordexp-tst.out): Likewise.
9136 ($(objpfx)annexc.out): Likewise.
9137 ($(objpfx)tst-fnmatch-mem): Likewise.
9138 ($(objpfx)bug-regex2-mem): Likewise.
9139 ($(objpfx)bug-regex14-mem): Likewise.
9140 ($(objpfx)bug-regex21-mem): Likewise.
9141 ($(objpfx)bug-regex31-mem): Likewise.
9142 ($(objpfx)tst-vfork3-mem): Likewise.
9143 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
9144 ($(objpfx)tst-pcre-mem): Likewise.
9145 ($(objpfx)tst-boost-mem): Likewise.
9146 ($(objpfx)tst-getconf.out): Likewise.
9147 ($(objpfx)bug-ga2-mem): Likewise.
9148 ($(objpfx)bug-glob2-mem): Likewise.
9149 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
9150 ($(objpfx)mtrace-tst-leaks2): Likewise.
9151 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
9152 ($(objpfx)tst-printf.out): Likewise.
9153 ($(objpfx)tst-setvbuf1.out): Likewise.
9154 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
9155 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
9156 ($(objpfx)tst-fmtmsg.out): Likewise.
9157 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
9158 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
9160 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
9161 * bits/sigaction.h [__USE_MISC]: Likewise.
9162 * bits/waitstatus.h: Update #endif comments.
9163 * ctype/ctype.h: Likewise.
9164 * dirent/dirent.h: Likewise.
9165 [__USE_MISC]: Remove redundant conditionals.
9166 * grp/grp.h: Update #endif comments.
9167 [__USE_GNU]: Remove redundant conditionals.
9168 [__USE_MISC]: Likewise.
9169 * inet/netinet/in.h [__USE_GNU]: Likewise.
9170 * io/sys/stat.h [__USE_MISC]: Likewise.
9171 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
9172 * libio/bits/stdio.h: Update #endif comments.
9173 [__USE_MISC]: Remove redundant conditionals.
9174 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
9175 * libio/stdio.h: Update #endif comments.
9176 [__USE_MISC]: Remove redundant conditionals.
9177 * math/bits/math-finite.h [__USE_MISC]: Likewise.
9178 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
9179 * math/math.h: Update #else and #endif comments.
9180 [__USE_MISC]: Remove redundant conditionals.
9181 * misc/sys/uio.h: Update #endif comments.
9182 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
9183 * posix/glob.h [__USE_MISC]: Likewise.
9184 * posix/sys/types.h: Update #endif comments.
9185 [__USE_MISC]: Remove redundant conditionals.
9186 * posix/sys/wait.h: Update #endif comments.
9187 [__USE_MISC]: Remove redundant conditionals.
9188 * posix/unistd.h: Update #endif comments.
9189 [__USE_MISC]: Remove redundant conditionals.
9190 * pwd/pwd.h [__USE_GNU]: Likewise.
9191 [__USE_MISC]: Likewise.
9192 * resolv/netdb.h [__USE_GNU]: Likewise.
9193 * signal/signal.h: Update #endif comments.
9194 [__USE_MISC]: Remove redundant conditionals.
9195 * stdlib/stdlib.h: Update #else and #endif comments.
9196 [__USE_MISC]: Remove redundant conditionals.
9197 [__USE_GNU]: Likewise.
9198 * string/bits/string2.h [__USE_MISC]: Likewise.
9199 * string/string.h: Update #endif comments.
9200 [__USE_MISC]: Remove redundant conditionals.
9201 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
9203 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
9204 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
9205 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
9207 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
9209 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
9211 [__USE_MISC]: Remove redundant conditionals.
9212 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
9213 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
9214 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
9215 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
9216 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
9218 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
9219 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
9221 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
9222 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
9224 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
9226 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
9227 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
9229 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
9231 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
9232 * sysdeps/x86/bits/string.h: Update #endif comments.
9233 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
9235 * time/sys/time.h: Update #endif comments.
9236 * time/time.h: Likewise.
9237 [__USE_MISC]: Remove redundant conditionals.
9239 2014-02-21 Yury Gribov <y.gribov@samsung.com>
9242 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
9244 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
9246 * Versions.def (librt): Add GLIBC_2.17.
9248 2014-02-21 Adam Conrad <adconrad@0c3.net>
9250 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
9251 synonym for _SYS_AUXV_H to allow direct inclusion.
9252 * sysdeps/sparc/bits/hwcap.h: Likewise.
9253 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
9254 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
9255 * sysdeps/sparc/sysdep.h: Likewise.
9257 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
9259 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
9261 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9263 * benchtests/bench-strrchr.c: Print length instead of position.
9265 2014-02-20 Joseph Myers <joseph@codesourcery.com>
9268 * sysdeps/unix/sysv/linux/kernel-features.h
9269 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
9270 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
9271 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
9272 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
9274 [__i386__ || __powerpc__ || __sh__ || __sparc__]
9275 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
9276 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
9277 (__ASSUME_SENDMMSG): Define instead of using previous
9278 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
9279 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
9280 (__ASSUME_SENDMMSG_SYSCALL): Define.
9281 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9282 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
9284 * sysdeps/unix/sysv/linux/arm/kernel-features.h
9285 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
9287 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
9288 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
9290 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
9291 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
9292 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
9293 [__ASSUME_SENDMMSG]: Change conditionals to
9294 [__ASSUME_SENDMMSG_SOCKETCALL].
9295 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9296 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
9298 * sysdeps/unix/sysv/linux/mips/kernel-features.h
9299 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
9301 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
9302 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
9303 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
9304 [!__ASSUME_SENDMMSG]: Change conditional to
9305 [!__ASSUME_SENDMMSG_SOCKETCALL].
9306 * sysdeps/unix/sysv/linux/tile/kernel-features.h
9307 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
9311 * sysdeps/unix/sysv/linux/kernel-features.h
9312 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
9313 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
9314 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
9315 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
9316 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
9317 [__i386__ || __sparc__]
9318 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
9319 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
9320 (__ASSUME_RECVMMSG): Define instead of using previous
9321 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
9322 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
9323 (__ASSUME_RECVMMSG_SYSCALL): Define.
9324 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9325 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9327 * sysdeps/unix/sysv/linux/arm/kernel-features.h
9328 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9330 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
9331 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9333 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
9334 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
9335 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
9336 [__ASSUME_RECVMMSG]: Change condition to
9337 [__ASSUME_RECVMMSG_SOCKETCALL].
9338 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9339 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9341 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
9342 * sysdeps/unix/sysv/linux/mips/kernel-features.h
9343 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9345 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
9346 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
9347 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
9348 [!__ASSUME_RECVMMSG]: Change condition to
9349 [!__ASSUME_RECVMMSG_SOCKETCALL].
9350 * sysdeps/unix/sysv/linux/tile/kernel-features.h
9351 (__ASSUME_RECVMMSG_SYSCALL): Define.
9354 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
9355 __powerpc__ || __s390__ || __sh__ || __sparc__]
9356 (__ASSUME_SOCKETCALL): Define.
9357 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
9358 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
9359 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
9360 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
9361 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
9362 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
9363 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
9364 (__ASSUME_ACCEPT4): Define instead of using previous
9365 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
9366 __powerpc__ || __sparc__ || __s390__)] condition.
9367 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
9368 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
9369 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
9370 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
9371 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
9372 [!__ASSUME_ACCEPT4]: Change condition to
9373 [!__ASSUME_ACCEPT4_SOCKETCALL].
9374 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9375 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
9376 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
9377 * sysdeps/unix/sysv/linux/arm/kernel-features.h
9378 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
9379 __ASSUME_ACCEPT4_SYSCALL.
9380 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
9381 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
9382 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
9383 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
9384 __ASSUME_ACCEPT4_SYSCALL.
9385 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
9386 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
9387 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
9388 [__ASSUME_ACCEPT4]: Change condition to
9389 [__ASSUME_ACCEPT4_SOCKETCALL].
9390 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
9391 (__ASSUME_SOCKETCALL): Define.
9392 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
9393 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9394 (__ASSUME_SOCKETCALL): Define.
9395 (__ASSUME_ACCEPT4): Remove.
9396 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
9398 * sysdeps/unix/sysv/linux/mips/kernel-features.h
9399 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
9401 * sysdeps/unix/sysv/linux/tile/kernel-features.h
9402 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
9404 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
9406 (HWCAP_ARM_LPAE): Likewise.
9407 (HWCAP_ARM_EVTSTRM): Likewise.
9408 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
9409 Add vpfd32, lpae and evtstrm.
9410 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
9413 2014-02-19 Joseph Myers <joseph@codesourcery.com>
9415 * math/auto-libm-test-in: Add tests of clog10.
9416 * math/auto-libm-test-out: Regenerated.
9417 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
9418 * sysdeps/i386/fpu/libm-test-ulps: Update.
9419 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9421 2014-02-18 Andreas Schwab <schwab@suse.de>
9424 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
9425 Store non-zero if the second buffer was newly allocated.
9426 (send_dg): Likewise.
9427 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
9428 to send_vc and send_dg.
9429 (res_nsend): Pass NULL for ansp2_malloced.
9430 * resolv/res_query.c (__libc_res_nquery): Add parameter
9431 answerp2_malloced and pass it down to __libc_res_nsend.
9432 (res_nquery): Pass additional NULL to __libc_res_nquery.
9433 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
9434 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
9435 second answer buffer if answerp2_malloced was set.
9436 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
9437 (__libc_res_nquerydomain): Add parameter
9438 answerp2_malloced and pass it down to __libc_res_nquery.
9439 (res_nquerydomain): Pass additional NULL to
9440 __libc_res_nquerydomain.
9441 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
9442 additional NULL to __libc_res_nsend and __libc_res_nquery.
9443 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
9444 additional NULL to __libc_res_nsearch.
9445 (_nss_dns_gethostbyname4_r): Revert last change. Use new
9446 parameter of __libc_res_nsearch to check for separately allocated
9448 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
9450 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
9451 additional NULL to __libc_res_nquery.
9452 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
9454 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
9455 * include/resolv.h: Update prototypes of __libc_res_nquery,
9456 __libc_res_nsearch, __libc_res_nsend.
9458 2014-02-18 Joseph Myers <joseph@codesourcery.com>
9460 * math/auto-libm-test-in: Add tests of fma.
9461 * math/auto-libm-test-out: Regenerated.
9462 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
9463 (fma_towardzero_test_data): Likewise.
9464 (fma_downward_test_data): Likewise.
9465 (fma_upward_test_data): Likewise.
9466 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
9468 (rounding_modes): Add values for new field.
9469 (func_calc_method): Add value mpfr_fff_f.
9470 (func_calc_desc): Add mpfr_fff_f union field.
9471 (test_function): Add field exact_args.
9472 (FUNC): Add macro argument EXACT_ARGS.
9473 (FUNC_mpfr_f_f): Update call to FUNC.
9474 (FUNC_mpfr_f_f): Likewise.
9475 (FUNC_mpfr_ff_f): Likewise.
9476 (FUNC_mpfr_if_f): Likewise.
9477 (FUNC_mpc_c_f): Likewise.
9478 (FUNC_mpc_c_c): Likewise.
9479 (test_functions): Add fma. Update calls to FUNC.
9480 (handle_input_arg): Add argument exact_args.
9481 (add_test): Update call to handle_input_arg.
9482 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
9483 (output_for_one_input_case): Update call to calc_generic_results.
9484 Recalculate exact zero results in each rounding mode.
9486 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
9487 non-negative before setting low bit.
9488 * math/auto-libm-test-in: Mark one asin test possibly having
9490 * math/auto-libm-test-out: Regenerated.
9491 * sysdeps/i386/fpu/libm-test-ulps: Update.
9492 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9494 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
9496 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
9497 * sysdeps/unix/sysv/linux/microblaze: Move directory from
9498 ports/sysdeps/unix/sysv/linux/microblaze.
9499 * README: Add missing listing for microblaze*-*-linux-gnu.
9501 2014-02-16 Mike Frysinger <vapier@gentoo.org>
9503 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
9504 * sysdeps/unix/sysv/linux/ia64: Move directory from
9505 ports/sysdeps/unix/sysv/linux/ia64.
9506 * README: Update listing for ia64-*-linux-gnu.
9508 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
9509 Joseph Myers <joseph@codesourcery.com>
9511 * Makeconfig (test-name): New variable.
9512 (evaluate-test): Likewise.
9513 * Makerules (do-test-clean): Remove .test-result files.
9514 (common-mostlyclean): Likewise.
9515 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
9516 * scripts/evaluate-test.sh: New file.
9518 2014-02-14 Joseph Myers <joseph@codesourcery.com>
9520 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
9521 separate $(objpfx)tst-fopenloc-cmp.out and
9522 $(objpfx)tst-fopenloc-mem.out targets.
9523 (tests): Update dependencies.
9524 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
9525 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
9526 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
9527 (tst-rxspencer-no-utf8-ARGS): New variable.
9528 (tst-rxspencer-no-utf8-ENV): Likewise.
9529 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
9530 instead of $(objpfx)tst-rxspencer-mem.
9531 ($(objpfx)tst-rxspencer-mem): Change target to
9532 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
9533 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
9534 * posix/tst-rxspencer-no-utf8.c: New file.
9536 * elf/Makefile ($(objpfx)order.out): Remove rule.
9537 [$(run-built-tests) = yes] (tests): Depend on
9538 $(objpfx)order-cmp.out.
9539 ($(objpfx)order-cmp.out): New rule.
9540 [$(run-built-tests) = yes] (tests): Depend on
9541 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
9542 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
9543 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
9544 $(objpfx)tst-array5-static-cmp.out.
9545 ($(objpfx)tst-array1.out): Remove rule.
9546 ($(objpfx)tst-array1-cmp.out): New rule.
9547 ($(objpfx)tst-array1-static.out): Remove rule.
9548 ($(objpfx)tst-array1-static-cmp.out): New rule.
9549 ($(objpfx)tst-array2.out): Remove rule.
9550 ($(objpfx)tst-array2-cmp.out): New rule.
9551 ($(objpfx)tst-array3.out): Remove rule.
9552 ($(objpfx)tst-array3-cmp.out): New rule.
9553 ($(objpfx)tst-array4.out): Remove rule.
9554 ($(objpfx)tst-array4-cmp.out): New rule.
9555 ($(objpfx)tst-array5.out): Remove rule.
9556 ($(objpfx)tst-array5-cmp.out): New rule.
9557 ($(objpfx)tst-array5-static.out): Remove rule.
9558 ($(objpfx)tst-array5-static-cmp.out): New rule.
9559 [$(run-built-tests) = yes] (tests): Depend on
9560 $(objpfx)order2-cmp.out.
9561 ($(objpfx)order2.out): Remove rule.
9562 ($(objpfx)order2-cmp.out): New rule.
9563 ($(objpfx)tst-initorder.out): Remove rule.
9564 [$(run-built-tests) = yes] (tests): Depend on
9565 $(objpfx)tst-initorder-cmp.out.
9566 ($(objpfx)tst-initorder-cmp.out): New rule.
9567 ($(objpfx)tst-initorder2.out): Remove rule.
9568 [$(run-built-tests) = yes] (tests): Depend on
9569 $(objpfx)tst-initorder2-cmp.out.
9570 ($(objpfx)tst-initorder2-cmp.out): New rule.
9571 [$(run-built-tests) = yes] (tests): Depend on
9572 $(objpfx)tst-unused-dep-cmp.out.
9573 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
9574 ($(objpfx)tst-unused-dep-cmp.out): New rule.
9575 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
9576 on $(objpfx)tst-setvbuf1-cmp.out.
9577 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
9578 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
9579 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
9580 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
9581 ($(objpfx)tst-svc.out): Remove rule.
9582 ($(objpfx)tst-svc-cmp.out): New rule.
9584 2014-02-13 Joseph Myers <joseph@codesourcery.com>
9586 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
9587 * ctype/ctype.h [__USE_MISC]: Likewise.
9588 * dirent/dirent.h [__USE_MISC]: Likewise.
9589 * grp/grp.h [__USE_MISC]: Likewise.
9590 * io/fcntl.h [__USE_MISC]: Likewise.
9591 * io/sys/stat.h [__USE_MISC]: Likewise.
9592 * libio/stdio.h [__USE_MISC]: Likewise.
9593 * posix/unistd.h [__USE_MISC]: Likewise.
9594 * pwd/pwd.h [__USE_MISC]: Likewise.
9595 * stdlib.h [__USE_MISC]: Likewise.
9596 * string/bits/string2.h [__USE_MISC]: Likewise.
9597 * string/string.h [__USE_MISC]: Likewise.
9598 * time/time.h [__USE_MISC]: Likewise.
9600 2014-02-13 Andreas Schwab <schwab@suse.de>
9603 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
9604 second answer buffer if it was separately allocated.
9606 2014-02-12 Joseph Myers <joseph@codesourcery.com>
9608 * sysdeps/mips/math-tests.h: Include <features.h>.
9609 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
9610 (ROUNDING_TESTS_long_double): Do not define.
9611 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
9612 (EXCEPTION_TESTS_long_double): Likewise.
9613 * sysdeps/mips/mips64/libm-test-ulps: Update.
9615 * include/features.h (__USE_BSD): Remove macro definitions.
9616 (__USE_SVID): Likewise.
9617 (_BSD_SOURCE): Likewise.
9618 (_SVID_SOURCE): Likewise.
9619 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
9620 from definition of _DEFAULT_SOURCE.
9621 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
9623 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
9624 * bits/mman.h [__USE_BSD]: Likewise.
9625 * bits/termios.h [__USE_BSD]: Likewise.
9626 * bits/waitstatus.h [__USE_BSD]: Likewise.
9627 * ctype/ctype.h [__USE_SVID]: Likewise.
9628 * dirent/dirent.h [__USE_BSD]: Likewise.
9629 * grp/grp.h [__USE_SVID]: Likewise.
9630 [__USE_BSD]: Likewise.
9631 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
9632 * io/fcntl.h [__USE_BSD]: Likewise.
9633 * io/ftw.h [__USE_BSD]: Likewise.
9634 * io/sys/stat.h [__USE_BSD]: Likewise.
9635 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
9636 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
9637 * libio/stdio.h [__USE_SVID]: Likewise.
9638 [__USE_BSD]: Likewise.
9639 * math/math.h [__USE_SVID]: Likewise.
9640 [__USE_BSD]: Likewise.
9641 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
9642 * misc/bits/syslog.h [__USE_BSD]: Likewise.
9643 * misc/search.h [__USE_SVID]: Likewise.
9644 * misc/sys/mman.h [__USE_BSD]: Likewise.
9645 * misc/sys/syslog.h [__USE_BSD]: Likewise.
9646 * misc/sys/uio.h [__USE_BSD]: Likewise.
9647 * posix/bits/unistd.h [__USE_BSD]: Likewise.
9648 * posix/glob.h [__USE_BSD]: Likewise.
9649 * posix/regex.h [__USE_BSD]: Likewise.
9650 * posix/sys/types.h [__USE_BSD]: Likewise.
9651 [__USE_SVID]: Likewise.
9652 * posix/sys/utsname.h [__USE_SVID]: Likewise.
9653 * posix/sys/wait.h [__USE_BSD]: Likewise.
9654 [__USE_SVID]: Likewise.
9655 * posix/unistd.h [__USE_BSD]: Likewise.
9656 [__USE_SVID]: Likewise.
9657 * pwd/pwd.h [__USE_SVID]: Likewise.
9658 * resolv/netdb.h [__USE_BSD]: Likewise.
9659 * setjmp/setjmp.h [__USE_BSD]: Likewise.
9660 * signal/signal.h [__USE_BSD]: Likewise.
9661 [__USE_SVID]: Likewise.
9662 * socket/sys/socket.h [__USE_BSD]: Likewise.
9663 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
9664 * stdlib/stdlib.h [__USE_BSD]: Likewise.
9665 [__USE_SVID]: Likewise.
9666 * string/bits/string2.h [__USE_BSD]: Likewise.
9667 [__USE_SVID]: Likewise.
9668 * string/bits/string3.h [__USE_BSD]: Likewise.
9669 * string/endian.h [__USE_BSD]: Likewise.
9670 * string/string.h [__USE_SVID]: Likewise.
9671 [__USE_BSD]: Likewise.
9672 * string/strings.h [__USE_BSD]: Likewise.
9673 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
9674 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
9675 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
9676 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
9677 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
9678 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
9680 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
9682 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
9683 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
9685 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
9686 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
9688 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
9690 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
9691 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
9692 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
9694 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
9696 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
9697 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
9698 * termios/termios.h [__USE_BSD]: Likewise.
9699 * time/sys/time.h [__USE_BSD]: Likewise.
9700 * time/time.h [__USE_BSD]: Likewise.
9701 [__USE_SVID]: Likewise.
9703 * Makefile (subdir_targets): Remove subdir_lint.out.
9705 * stdio-common/Makefile (do-tst-unbputc): Remove target.
9706 (do-tst-printf): Likewise.
9707 (tests): Depend directly on $(objpfx)tst-unbputc.out and
9708 $(objpfx)tst-printf.out.
9710 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
9712 * Makerules (check-abi-%): Change target to
9713 $(objpfx)check-abi-%.out.
9714 (check-abi target): Update dependencies.
9715 (check-abi-pattern variable): Redirect output of diff to $@.
9716 (check-abi variable): Likewise.
9717 * elf/Makefile (check-abi): Update dependencies.
9719 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
9721 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
9722 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
9724 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
9725 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
9726 value has largest subnormal exponent.
9727 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
9728 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
9729 * sysdeps/aarch64/soft-fp/sfp-machine.h
9730 (_FP_TININESS_AFTER_ROUNDING): New macro.
9731 * sysdeps/alpha/soft-fp/sfp-machine.h
9732 (_FP_TININESS_AFTER_ROUNDING): Likewise.
9733 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
9735 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
9736 (_FP_TININESS_AFTER_ROUNDING): Likewise.
9737 * sysdeps/mips/soft-fp/sfp-machine.h
9738 (_FP_TININESS_AFTER_ROUNDING): Likewise.
9739 * sysdeps/powerpc/soft-fp/sfp-machine.h
9740 (_FP_TININESS_AFTER_ROUNDING): Likewise.
9741 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
9743 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
9744 (_FP_TININESS_AFTER_ROUNDING): Likewise.
9745 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
9746 (_FP_TININESS_AFTER_ROUNDING): Likewise.
9747 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
9750 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
9753 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
9756 2014-02-12 Richard Henderson <rth@redhat.com>
9758 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
9759 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
9760 * sysdeps/unix/sysv/linux/alpha: Move directory from
9761 ports/sysdeps/unix/sysv/linux/alpha.
9762 * README: Update listing for alpha-*-linux-gnu.
9764 2014-02-11 Joseph Myers <joseph@codesourcery.com>
9766 * include/features.h: Update comment documenting feature test
9768 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
9770 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
9771 (_SVID_SOURCE): Likewise.
9772 (_DEFAULT_SOURCE): Update description of default features.
9773 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
9775 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
9776 (S_ISVTX): Likewise.
9777 * manual/math.texi (Mathematical Constants): Likewise.
9778 * manual/signal.texi (Interrupted Primitives): Likewise.
9779 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
9780 * math/test-matherr.c (_SVID_SOURCE): Do not define.
9781 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
9782 Don't refer to _SVID_SOURCE in warning text.
9784 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9786 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
9788 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
9789 * sysdeps/mips/dl-lookup.c: Remove.
9790 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
9792 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
9795 * math/auto-libm-test-in: Add testcase for expl.
9796 * math/auto-libm-test-out: Regenerate.
9797 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
9798 calculation of unsafe.
9799 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
9801 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
9803 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
9804 * sysdeps/unix/sysv/linux/aarch64: Move directory from
9805 ports/sysdeps/unix/sysv/linux/aarch64.
9806 * README: Update listing for aarch64*-*-linux-gnu.
9808 2014-02-11 Will Newton <will.newton@linaro.org>
9810 * manual/probes.texi (Mathematical Function Probes): Use
9811 "triggered" instead of "hit".
9813 * manual/probes.texi (Internal Probes): Add documentation
9814 of setjmp, longjmp and longjmp_target probes.
9816 * include/stap-probe.h: Add comment about probe argument
9819 * malloc/mtrace.c (attribute_hidden): Remove unused macro
9820 definition. (tr_where, tr_freehook, tr_mallochook,
9821 tr_reallochook, tr_memalignhook): Use ANSI protoype.
9823 2014-02-11 David S. Miller <davem@davemloft.net>
9825 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
9826 processing int_tests.
9828 2014-02-10 Joseph Myers <joseph@codesourcery.com>
9830 * sysdeps/mips: Move directory from ports/sysdeps/mips.
9831 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
9832 * sysdeps/unix/sysv/linux/mips: Move directory from
9833 ports/sysdeps/unix/sysv/linux/mips.
9834 * README: Update listing for mips-*-linux-gnu and
9837 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
9839 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
9840 * sysdeps/unix/sysv/linux/m68k: Move directory from
9841 ports/sysdeps/unix/sysv/linux/m68k.
9842 * README: Update listing for m68k-*-linux-gnu.
9844 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
9846 * sysdeps/tile: Move directory from ports/sysdeps/tile.
9847 * sysdeps/unix/sysv/linux/generic: Move directory from
9848 ports/sysdeps/unix/sysv/linux/generic.
9849 * sysdeps/unix/sysv/linux/tile: Move directory from
9850 ports/sysdeps/unix/sysv/linux/tile.
9851 * README: Update listing for tile*-*-linux-gnu.
9853 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
9855 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
9857 * benchtests/bench-memmem.c (simple_memmem): Likewise.
9858 * catgets/open_catalog.c (__open_catalog): Likewise.
9859 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
9860 * debug/confstr_chk.c: Likewise.
9861 * debug/fread_chk.c (__fread_chk): Likewise.
9862 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
9863 * debug/getgroups_chk.c: Likewise.
9864 * debug/mbsnrtowcs_chk.c: Likewise.
9865 * debug/mbsrtowcs_chk.c: Likewise.
9866 * debug/mbstowcs_chk.c: Likewise.
9867 * debug/memcpy_chk.c: Likewise.
9868 * debug/memmove_chk.c: Likewise.
9869 * debug/mempcpy_chk.c: Likewise.
9870 * debug/memset_chk.c: Likewise.
9871 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
9872 * debug/strcat_chk.c (__strcat_chk): Likewise.
9873 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
9874 * debug/strncat_chk.c (__strncat_chk): Likewise.
9875 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
9876 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
9877 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
9878 * debug/wcpncpy_chk.c: Likewise.
9879 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
9880 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
9881 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
9882 * debug/wcsncpy_chk.c: Likewise.
9883 * debug/wcsnrtombs_chk.c: Likewise.
9884 * debug/wcsrtombs_chk.c: Likewise.
9885 * debug/wcstombs_chk.c: Likewise.
9886 * debug/wmemcpy_chk.c: Likewise.
9887 * debug/wmemmove_chk.c: Likewise.
9888 * debug/wmempcpy_chk.c: Likewise.
9889 * debug/wmemset_chk.c: Likewise.
9890 * dirent/scandirat.c (SCANDIRAT): Likewise.
9891 * dlfcn/dladdr1.c (dladdr1): Likewise.
9892 * dlfcn/dladdr.c (dladdr): Likewise.
9893 * dlfcn/dlclose.c (dlclose_doit): Likewise.
9894 * dlfcn/dlerror.c (__dlerror): Likewise.
9895 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
9896 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
9897 * dlfcn/dlopen.c (dlopen_doit): Likewise.
9898 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
9899 * dlfcn/dlsym.c (dlsym_doit): Likewise.
9900 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
9901 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
9902 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
9904 * elf/dl-conflict.c: Likewise.
9905 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
9906 * elf/dl-dst.h: Likewise.
9907 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
9908 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
9909 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
9910 * elf/dl-init.c (call_init, _dl_init): Likewise.
9911 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
9912 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
9913 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
9915 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
9917 * elf/dl-minimal.c (__libc_memalign): Likewise.
9918 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
9919 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
9920 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
9921 * elf/dl-sym.c (do_sym): Likewise.
9922 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
9923 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
9924 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
9925 * elf/dl-writev.h (_dl_writev): Likewise.
9926 * elf/ldconfig.c (search_dir): Likewise.
9927 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
9928 (dl_main): Likewise.
9929 * elf/setup-vdso.h (setup_vdso): Likewise.
9930 * grp/compat-initgroups.c (compat_call): Likewise.
9931 * grp/fgetgrent.c (fgetgrent): Likewise.
9932 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
9933 * grp/putgrent.c (putgrent): Likewise.
9934 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
9936 * hurd/hurdinit.c: Likewise.
9937 * iconvdata/8bit-gap.c (struct): Likewise.
9938 * iconvdata/ansi_x3.110.c : Likewise.
9939 * iconvdata/big5.c : Likewise.
9940 * iconvdata/big5hkscs.c : Likewise.
9941 * iconvdata/cp1255.c: Likewise.
9942 * iconvdata/cp1258.c : Likewise.
9943 * iconvdata/cp932.c : Likewise.
9944 * iconvdata/euc-cn.c: Likewise.
9945 * iconvdata/euc-jisx0213.c : Likewise.
9946 * iconvdata/euc-jp.c: Likewise.
9947 * iconvdata/euc-jp-ms.c : Likewise.
9948 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
9949 * iconvdata/gb18030.c : Likewise.
9950 * iconvdata/gbbig5.c (const): Likewise.
9951 * iconvdata/gbgbk.c: Likewise.
9952 * iconvdata/gbk.c : Likewise.
9953 * iconvdata/ibm1364.c : Likewise.
9954 * iconvdata/ibm930.c : Likewise.
9955 * iconvdata/ibm932.c: Likewise.
9956 * iconvdata/ibm933.c : Likewise.
9957 * iconvdata/ibm935.c : Likewise.
9958 * iconvdata/ibm937.c : Likewise.
9959 * iconvdata/ibm939.c : Likewise.
9960 * iconvdata/ibm943.c: Likewise.
9961 * iconvdata/iso_11548-1.c: Likewise.
9962 * iconvdata/iso-2022-cn.c : Likewise.
9963 * iconvdata/iso-2022-cn-ext.c : Likewise.
9964 * iconvdata/iso-2022-jp-3.c: Likewise.
9965 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
9966 * iconvdata/iso-2022-kr.c : Likewise.
9967 * iconvdata/iso646.c (gconv_end): Likewise.
9968 * iconvdata/iso_6937-2.c : Likewise.
9969 * iconvdata/iso_6937.c : Likewise.
9970 * iconvdata/iso8859-1.c: Likewise.
9971 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
9972 * iconvdata/shift_jisx0213.c : Likewise.
9973 * iconvdata/sjis.c : Likewise.
9974 * iconvdata/t.61.c : Likewise.
9975 * iconvdata/tcvn5712-1.c : Likewise.
9976 * iconvdata/tscii.c: Likewise.
9977 * iconvdata/uhc.c : Likewise.
9978 * iconvdata/unicode.c (gconv_end): Likewise.
9979 * iconvdata/utf-16.c (gconv_end): Likewise.
9980 * iconvdata/utf-32.c (gconv_end): Likewise.
9981 * iconvdata/utf-7.c (base64): Likewise.
9982 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
9983 * iconv/gconv_close.c (__gconv_close): Likewise.
9984 * iconv/gconv_open.c (__gconv_open): Likewise.
9985 * iconv/gconv_simple.c (internal_ucs4_loop_single)
9986 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
9987 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
9988 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
9989 (ucs4le_internal_loop_single): Likewise.
9990 * iconv/iconv.c (iconv): Likewise.
9991 * iconv/iconv_close.c: Likewise.
9992 * iconv/loop.c (SINGLE): Likewise.
9993 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
9994 * include/atomic.h: Likewise.
9995 * inet/inet6_option.c (option_alloc): Likewise.
9996 * intl/bindtextdom.c (set_binding_values): Likewise.
9997 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
9998 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
9999 * intl/localealias.c (read_alias_file): Likewise.
10000 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
10001 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
10002 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
10003 * libio/fmemopen.c (fmemopen): Likewise.
10004 * libio/iofgets.c (_IO_fgets): Likewise.
10005 * libio/iofgets_u.c (fgets_unlocked): Likewise.
10006 * libio/iofgetws.c (fgetws): Likewise.
10007 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
10008 * libio/iogetdelim.c (_IO_getdelim): Likewise.
10009 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
10010 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
10011 * locale/findlocale.c (_nl_find_locale): Likewise.
10012 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
10013 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
10015 * locale/setlocale.c (setlocale): Likewise.
10016 * login/programs/pt_chown.c (main): Likewise.
10017 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
10018 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
10019 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
10020 (mmap, mmap64, mremap, munmap): Likewise.
10021 * math/e_exp2l.c: Likewise.
10022 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
10023 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
10024 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
10025 * math/s_catan.c (__catan): Likewise.
10026 * math/s_catanf.c (__catanf): Likewise.
10027 * math/s_catanh.c (__catanh): Likewise.
10028 * math/s_catanhf.c (__catanhf): Likewise.
10029 * math/s_catanhl.c (__catanhl): Likewise.
10030 * math/s_catanl.c (__catanl): Likewise.
10031 * math/s_ccosh.c (__ccosh): Likewise.
10032 * math/s_ccoshf.c (__ccoshf): Likewise.
10033 * math/s_ccoshl.c (__ccoshl): Likewise.
10034 * math/s_cexp.c (__cexp): Likewise.
10035 * math/s_cexpf.c (__cexpf): Likewise.
10036 * math/s_cexpl.c (__cexpl): Likewise.
10037 * math/s_clog10.c (__clog10): Likewise.
10038 * math/s_clog10f.c (__clog10f): Likewise.
10039 * math/s_clog10l.c (__clog10l): Likewise.
10040 * math/s_clog.c (__clog): Likewise.
10041 * math/s_clogf.c (__clogf): Likewise.
10042 * math/s_clogl.c (__clogl): Likewise.
10043 * math/s_csin.c (__csin): Likewise.
10044 * math/s_csinf.c (__csinf): Likewise.
10045 * math/s_csinh.c (__csinh): Likewise.
10046 * math/s_csinhf.c (__csinhf): Likewise.
10047 * math/s_csinhl.c (__csinhl): Likewise.
10048 * math/s_csinl.c (__csinl): Likewise.
10049 * math/s_csqrt.c (__csqrt): Likewise.
10050 * math/s_csqrtf.c (__csqrtf): Likewise.
10051 * math/s_csqrtl.c (__csqrtl): Likewise.
10052 * math/s_ctan.c (__ctan): Likewise.
10053 * math/s_ctanf.c (__ctanf): Likewise.
10054 * math/s_ctanh.c (__ctanh): Likewise.
10055 * math/s_ctanhf.c (__ctanhf): Likewise.
10056 * math/s_ctanhl.c (__ctanhl): Likewise.
10057 * math/s_ctanl.c (__ctanl): Likewise.
10058 * math/w_pow.c: Likewise.
10059 * math/w_powf.c: Likewise.
10060 * math/w_powl.c: Likewise.
10061 * math/w_scalb.c (sysv_scalb): Likewise.
10062 * math/w_scalbf.c (sysv_scalbf): Likewise.
10063 * math/w_scalbl.c (sysv_scalbl): Likewise.
10064 * misc/error.c (error_tail): Likewise.
10065 * misc/pselect.c (__pselect): Likewise.
10066 * nis/nis_callback.c (__nis_create_callback): Likewise.
10067 * nis/nis_call.c (__nisfind_server): Likewise.
10068 * nis/nis_creategroup.c (nis_creategroup): Likewise.
10069 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
10070 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
10071 * nis/nis_getservlist.c (nis_getservlist): Likewise.
10072 * nis/nis_lookup.c (nis_lookup): Likewise.
10073 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
10074 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
10075 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
10076 * nis/nis_xdr.c (xdr_endpoint): Likewise.
10077 * nis/nss_compat/compat-grp.c (getgrent_next_file)
10078 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
10079 * nis/nss_compat/compat-initgroups.c (add_group)
10080 (internal_getgrent_r): Likewise.
10081 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
10082 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
10083 * nis/nss_compat/compat-spwd.c (getspent_next_file)
10084 (internal_getspnam_r): Likewise.
10085 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
10086 (_nss_nis_getaliasbyname_r): Likewise.
10087 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
10088 (_nss_nis_getntohost_r): Likewise.
10089 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
10090 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
10091 (_nss_nis_getgrgid_r): Likewise.
10092 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
10093 (internal_nis_gethostent_r, internal_gethostbyname2_r)
10094 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
10095 (_nss_nis_gethostbyname4_r): Likewise.
10096 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
10097 (initgroups_netid): Likewise.
10098 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
10099 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
10100 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
10101 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
10102 (_nss_nis_getprotobynumber_r): Likewise.
10103 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
10104 (_nss_nis_getsecretkey): Likewise.
10105 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
10106 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
10107 (_nss_nis_getpwuid_r): Likewise.
10108 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
10109 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
10110 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
10111 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
10112 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
10113 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
10114 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
10116 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
10117 (_nss_nisplus_getntohost_r): Likewise.
10118 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
10119 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
10120 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
10121 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
10123 * nis/nss_nisplus/nisplus-initgroups.c
10124 (_nss_nisplus_initgroups_dyn): Likewise.
10125 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
10126 (_nss_nisplus_getnetbyaddr_r): Likewise.
10127 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
10128 (_nss_nisplus_getprotobynumber_r): Likewise.
10129 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
10130 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
10131 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
10133 * nis/nss_nisplus/nisplus-service.c
10134 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
10135 (_nss_nisplus_getservbyport_r): Likewise.
10136 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
10137 (_nss_nisplus_getspnam_r): Likewise.
10138 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
10140 * nscd/aicache.c (addhstaiX): Likewise.
10141 * nscd/cache.c (cache_search, prune_cache): Likewise.
10142 * nscd/connections.c (register_traced_file, send_ro_fd)
10143 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
10144 (main_loop_epoll): Likewise.
10145 * nscd/grpcache.c (addgrbyX): Likewise.
10146 * nscd/hstcache.c (addhstbyX): Likewise.
10147 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10148 * nscd/mem.c (gc, mempool_alloc): Likewise.
10149 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
10150 (addinnetgrX): Likewise.
10151 * nscd/nscd-client.h (__nscd_acquire_maplock)
10152 (__nscd_drop_map_ref): Likewise.
10153 * nscd/nscd_getai.c (__nscd_getai): Likewise.
10154 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
10155 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
10157 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
10158 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
10159 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
10160 (__nscd_get_map_ref): Likewise.
10161 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
10162 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
10164 * nscd/pwdcache.c (addpwbyX): Likewise.
10165 * nscd/selinux.c (preserve_capabilities): Likewise.
10166 * nscd/servicescache.c (addservbyX): Likewise.
10167 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
10168 * posix/fnmatch.c (fnmatch): Likewise.
10169 * posix/getopt.c (_getopt_internal_r): Likewise.
10170 * posix/glob.c (glob, glob_in_dir): Likewise.
10171 * posix/wordexp.c (exec_comm_child): Likewise.
10172 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
10173 (getanswer_r, gaih_getanswer_slice): Likewise.
10174 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
10175 * resolv/res_init.c: Likewise.
10176 * resolv/res_mkquery.c (res_nmkquery): Likewise.
10177 * resolv/res_query.c (__libc_res_nquery): Likewise.
10178 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
10180 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
10181 * stdio-common/perror.c (perror): Likewise.
10182 * stdio-common/printf_fp.c (___printf_fp): Likewise.
10183 * stdio-common/tmpnam.c (tmpnam): Likewise.
10184 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
10185 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
10186 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
10188 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
10189 * stdlib/putenv.c (putenv): Likewise.
10190 * stdlib/setenv.c (__add_to_environ): Likewise.
10191 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
10192 * stdlib/strtol_l.c (INTERNAL): Likewise.
10193 * string/memmem.c (memmem): Likewise.
10194 * string/strerror.c (strerror): Likewise.
10195 * string/strnlen.c (__strnlen): Likewise.
10196 * string/test-memmem.c (simple_memmem): Likewise.
10197 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
10198 * sunrpc/pm_getport.c (__get_socket): Likewise.
10199 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
10200 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
10201 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
10202 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
10204 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
10205 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
10206 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
10207 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
10208 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
10209 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
10211 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
10213 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
10214 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
10215 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
10216 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
10217 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
10218 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
10219 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
10220 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
10221 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
10222 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
10223 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
10224 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
10226 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
10228 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
10230 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
10231 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
10232 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
10233 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
10234 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
10235 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
10236 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
10237 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
10238 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
10239 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
10240 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
10241 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
10242 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
10243 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
10244 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10245 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
10247 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
10249 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
10251 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
10253 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
10254 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10255 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
10257 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
10258 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
10259 * sysdeps/posix/opendir.c (__opendirat): Likewise.
10260 * sysdeps/posix/sleep.c: Likewise.
10261 * sysdeps/posix/tempname.c: Likewise.
10262 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
10263 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
10265 * sysdeps/powerpc/powerpc32/dl-machine.h
10266 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
10267 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
10268 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
10269 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
10270 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
10272 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
10273 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
10274 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
10275 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
10276 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
10277 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
10278 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
10279 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
10280 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
10281 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
10282 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
10283 (elf_machine_lazy_rel): Likewise.
10284 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
10285 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
10286 (elf_machine_lazy_rel): Likewise.
10287 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
10288 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
10289 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
10290 * sysdeps/unix/grantpt.c (grantpt): Likewise.
10291 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
10292 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
10293 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
10294 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
10296 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
10297 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
10298 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
10299 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
10300 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
10301 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
10302 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
10303 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
10304 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
10305 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
10306 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
10308 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
10309 (__posix_fallocate64_l64): Likewise.
10310 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
10311 (posix_fallocate): Likewise.
10312 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
10314 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
10315 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
10316 (getifaddrs_internal): Likewise.
10317 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
10318 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
10319 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
10320 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
10321 * sysdeps/unix/sysv/linux/posix_fallocate64.c
10322 (__posix_fallocate64_l64): Likewise.
10323 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
10325 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
10326 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
10327 (__get_clockfreq): Likewise.
10328 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
10329 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
10330 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
10331 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
10332 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
10333 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
10334 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
10335 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
10337 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
10338 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
10339 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
10340 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
10341 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
10342 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
10343 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
10345 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
10346 (posix_fallocate): Likewise.
10347 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
10348 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
10349 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
10350 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
10351 (elf_machine_rela, elf_machine_rela_relative)
10352 (elf_machine_lazy_rel): Likewise.
10353 * time/asctime.c (asctime_internal): Likewise.
10354 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
10355 * time/tzset.c (__tzset_parse_tz): Likewise.
10356 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
10357 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
10358 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
10359 * wcsmbs/wcsmbsload.h: Likewise.
10362 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
10364 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
10365 (arena_get2): Remove THREAD_STATS conditionals.
10366 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
10367 (__malloc_stats, int): Likewise.
10369 2014-02-08 Mike Frysinger <vapier@gentoo.org>
10371 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
10372 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
10374 * manual/setjmp.texi: Fix typos/grammar errors.
10376 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
10377 Only return early when n is <= 0. Delete unused return statement.
10379 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
10380 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
10381 * debug/tst-longjmp_chk3.c: New file.
10383 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
10384 (test_main): Replace code with set_fortify_handler call.
10385 * debug/test-strcpy_chk.c: Likewise.
10386 * debug/tst-chk1.c: Likewise.
10387 * debug/tst-longjmp_chk.c: Likewise.
10388 * test-skeleton.c: Include fcntl.h & paths.h
10389 (set_fortify_handler): Define.
10391 * debug/tst-longjmp_chk.c: Add header comment and include
10392 ../test-skeleton.c.
10393 (do_test): Mark static.
10394 (TEST_FUNCTION): Define.
10396 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
10397 (IP_PMTUDISC_INTERFACE): Likewise.
10398 (IP_MULTICAST_IF): Likewise.
10399 (IP_MULTICAST_TTL): Likewise.
10400 (IP_MULTICAST_LOOP): Likewise.
10401 (IP_ADD_MEMBERSHIP): Likewise.
10402 (IP_DROP_MEMBERSHIP): Likewise.
10403 (IP_UNBLOCK_SOURCE): Likewise.
10404 (IP_BLOCK_SOURCE): Likewise.
10405 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
10406 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
10407 (IP_MSFILTER): Likewise.
10408 (MCAST_JOIN_GROUP): Likewise.
10409 (MCAST_BLOCK_SOURCE): Likewise.
10410 (MCAST_UNBLOCK_SOURCE): Likewise.
10411 (MCAST_LEAVE_GROUP): Likewise.
10412 (MCAST_JOIN_SOURCE_GROUP): Likewise.
10413 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
10414 (MCAST_MSFILTER): Likewise.
10415 (IP_MULTICAST_ALL): Likewise.
10416 (IP_UNICAST_IF): Likewise.
10418 * timezone/Makefile: Delete $(have-ksh) check.
10419 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
10420 * timezone/tzselect.ksh: Add +x mode bits.
10422 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
10423 (ANON_INODE_FS_MAGIC): Likewise.
10424 (BDEVFS_MAGIC): Likewise.
10425 (BINFMTFS_MAGIC): Likewise.
10426 (BTRFS_TEST_MAGIC): Likewise.
10427 (CRAMFS_MAGIC_WEND): Likewise.
10428 (DEBUGFS_MAGIC): Likewise.
10429 (ECRYPTFS_SUPER_MAGIC): Likewise.
10430 (EXT3_SUPER_MAGIC): Likewise.
10431 (EXT4_SUPER_MAGIC): Likewise.
10432 (FUTEXFS_SUPER_MAGIC): Likewise.
10433 (HOSTFS_SUPER_MAGIC): Likewise.
10434 (HUGETLBFS_MAGIC): Likewise.
10435 (MINIX3_SUPER_MAGIC): Likewise.
10436 (MTD_INODE_FS_MAGIC): Likewise.
10437 (NILFS_SUPER_MAGIC): Likewise.
10438 (OPENPROM_SUPER_MAGIC): Likewise.
10439 (PIPEFS_MAGIC): Likewise.
10440 (PSTOREFS_MAGIC): Likewise.
10441 (QNX6_SUPER_MAGIC): Likewise.
10442 (RAMFS_MAGIC): Likewise.
10443 (REISERFS_SUPER_MAGIC_STRING): Likewise.
10444 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
10445 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
10446 (SECURITYFS_MAGIC): Likewise.
10447 (SELINUX_MAGIC): Likewise.
10448 (SMACK_MAGIC): Likewise.
10449 (SOCKFS_MAGIC): Likewise.
10450 (SQUASHFS_MAGIC): Likewise.
10451 (STACK_END_MAGIC): Likewise.
10452 (TMPFS_MAGIC): Likewise.
10453 (USBDEVICE_SUPER_MAGIC): Likewise.
10454 (V9FS_MAGIC): Likewise.
10455 (XENFS_SUPER_MAGIC): Likewise.
10456 (CRAMFS_MAGIC): Fix typo in comment.
10457 (EXT2_SUPER_MAGIC): Update comment.
10458 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
10460 2014-02-08 Joseph Myers <joseph@codesourcery.com>
10462 * sysdeps/arm: Move directory from ports/sysdeps/arm.
10463 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
10464 * sysdeps/unix/sysv/linux/arm: Move directory from
10465 ports/sysdeps/unix/sysv/linux/arm.
10466 * README: Update listing for arm-*-linux-gnueabi.
10468 * README: Remove mention of am33.
10470 2014-02-07 Roland McGrath <roland@hack.frob.com>
10472 * bits/sigset.h (__sigemptyset): Use a statement expression rather
10473 than the comma operator, to avoid "rhs of comma has no effect"
10475 (__sigfillset, __sigandset, __sigorset): Likewise.
10476 * include/signal.h (__sigemptyset): Likewise.
10477 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
10479 2014-02-07 Allan McRae <allan@archlinux.org>
10481 * version.h (RELEASE): Set to "development".
10482 (VERSION): Set to "2.19.90"
10483 * NEWS: Add 2.20 section.
10485 2014-02-06 Carlos O'Donell <carlos@redhat.com>
10488 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
10490 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
10492 * manual/contrib.texi: Update entry for Carlos O'Donell,
10493 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
10495 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
10497 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
10499 * sysdeps/unix/sysv/linux/kernel-features.h
10500 [__LINUX_KERNEL_VERSION >= 0x020621]
10501 (__ASSUME_PROC_PID_TASK_COMM): Define.
10503 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
10506 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
10507 conversion when destination buffer does not have enough space.
10508 * libio/tst-ftell-partial-wide.c: New test case.
10509 * libio/Makefile (tests): Add tst-ftell-partial-wide.
10511 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
10512 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
10513 Leonard and Allan McRae.
10515 2014-02-04 David S. Miller <davem@davemloft.net>
10517 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
10520 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10522 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
10524 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
10526 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
10528 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
10530 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
10532 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
10534 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
10536 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
10538 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
10540 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
10542 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
10544 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
10546 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
10549 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10551 * nptl/shlib-versions: Change powerpc*le start to 2.17.
10552 * shlib-versions: Likewise.
10554 2014-02-04 Roland McGrath <roland@hack.frob.com>
10555 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10557 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
10558 (abilist-pattern): New variable, set to %-le.abilist.
10560 * Makerules (abilist-pattern): New variable.
10561 (vpath): Use $(abilist-pattern) in place of %.abilist.
10562 (check-abi-% pattern rule): Likewise.
10563 (check-abi, update-abi): Likewise.
10565 2014-02-04 Eric Wong <normalperson@yhbt.net>
10567 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10569 2014-02-03 Carlos O'Donell <carlos@redhat.com>
10571 * manual/startup.texi: Add next, previous, and top entries for
10572 the `Program Arguments' and `Environment Variables' nodes.
10574 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
10576 * manual/macros.texi: Add comments before MTASC-safety macros.
10578 * manual/users.texi: Document MTASC-safety properties.
10580 * manual/threads.texi (pthread_key_create, pthread_key_delete)
10581 (pthread_getspecific, pthread_setspecific): Format with
10582 @deftypefun, and add @safety note.
10583 * manual/signal.texi: Move comments that analyze the above
10584 functions to their home place.
10586 2014-02-03 Allan McRae <allan@archlinux.org>
10588 * po/sl.po: Update Slovenian translation from translation project.
10590 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
10592 * manual/time.texi (timegm): Add missing blank after @c.
10593 Reported by Joseph Myers <joseph@codesourcery.com>.
10595 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
10597 * manual/check-safety.sh: New.
10598 * manual/Makefile ($(objpfx)stamp-summary): Run it.
10600 * manual/terminal.texi: Document MTASC-safety properties.
10602 * manual/filesys.texi: Document MTASC-safety properties.
10604 * manual/errno.texi: Document MTASC-safety properties.
10606 * manual/intro.texi: Document safety identifiers and
10609 * manual/string.texi (wcstok): Fix prototype.
10610 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
10612 * manual/time.texi: Document MTASC-safety properties.
10614 * manual/string.texi: Document MTASC-safety properties.
10616 * manual/threads.texi: Document MTASC-safety properties.
10618 * manual/stdio.texi: Document MTASC-safety properties.
10620 * manual/syslog.texi: Document MTASC-safety properties.
10622 * manual/sysinfo.texi: Document MTASC-safety properties.
10624 * manual/startup.texi: Document MTASC-safety properties.
10626 * manual/socket.texi: Document MTASC-safety properties.
10628 * manual/signal.texi: Document MTASC-safety properties.
10630 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
10632 * manual/setjmp.texi: Document MTASC-safety properties.
10634 * manual/search.texi: Document MTASC-safety properties.
10636 * manual/resource.texi: Document MTASC-safety properties.
10638 * manual/process.texi: Document MTASC-safety properties.
10640 * manual/platform.texi: Document MTASC-safety properties.
10642 * manual/pipe.texi: Document MTASC-safety properties.
10644 * manual/pattern.texi: Document MTASC-safety properties.
10646 * manual/message.texi: Document MTASC-safety properties.
10649 * manual/memory.texi: Document MTASC-safety properties.
10651 * manual/math.texi: Document MTASC-safety properties.
10653 * manual/locale.texi: Document MTASC-safety properties.
10655 * manual/llio.texi: Document MTASC-safety properties.
10657 * manual/libdl.texi: New.
10659 * manual/lang.texi: Document MTASC-safety properties.
10661 * manual/job.texi: Document MTASC-safety properties.
10663 * manual/getopt.texi: Document MTASC-safety properties.
10665 * manual/ctype.texi: Document MTASC-safety properties.
10667 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
10670 * csu/libc-tls.c (static_map): Remove variable.
10671 (__libc_setup_tls): Use main executable's link map for TLS data.
10672 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
10673 casing for LM_ID_BASE and GL(dl_nns).
10674 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
10675 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
10676 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
10677 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
10678 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
10680 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
10683 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
10685 * manual/debug.texi: Document MTASC-safety properties.
10687 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
10690 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
10691 of __x86_64__ when disabling x87 inline functions.
10693 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
10695 * manual/charset.texi: Document MTASC-safety properties.
10697 * manual/crypt.texi: Document MTASC-safety properties.
10699 * manual/conf.texi: Document MTASC-safety properties.
10701 * manual/arith.texi: Document MTASC-safety properties.
10703 * manual/argp.texi: Document MTASC-safety properties.
10705 * manual/macros.texi: Introduce macros to document multi
10706 thread, asynchronous signal and asynchronous cancellation
10708 * manual/intro.texi: Introduce the properties themselves.
10710 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10712 * sysdeps/sh/sh4/Makefile: New file.
10714 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
10716 * math/gen-libm-test.pl ($srcdir): New variable.
10717 ($auto_input): Use it.
10719 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
10722 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
10723 access beyond array bounds when parsing netgroups file.
10725 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
10726 the old buffer before realloc.
10728 2014-01-27 Allan McRae <allan@archlinux.org>
10730 * po/fr.po: Update French translation from translation project.
10732 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10734 * sysdeps/sh/libm-test-ulps: Regenerate.
10736 2014-01-24 David S. Miller <davem@davemloft.net>
10738 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
10740 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10742 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
10743 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
10745 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
10748 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
10749 string pointers after reallocation.
10751 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10753 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
10754 __SH4A__ instead of __SH_FPU_ANY__.
10756 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10758 * sysdeps/sh/fpu_control.h: New file.
10759 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
10760 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
10761 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
10762 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
10763 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
10764 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
10765 * sysdeps/sh/sys/ucontext.h: Remove.
10766 * sysdeps/sh/sys: Remove directory.
10768 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10770 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
10771 s390/sys/ucontext.h.
10772 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
10773 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
10775 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
10778 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
10780 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10783 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
10784 Adjust the vDSO correctly for internal calls.
10785 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
10787 2014-01-20 Allan McRae <allan@archlinux.org>
10789 * po/ca.po: Update Catalan translation from translation project.
10791 2014-01-16 Mike Frysinger <vapier@gentoo.org>
10793 * sysdeps/s390/sotruss-lib.c: New file.
10795 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10798 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
10799 (__GI___gettimeofday): Alias for a different internal symbol to avoid
10800 local calls issues by not having a PLT stub required for IFUNC calls.
10801 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
10803 2014-01-16 Joseph Myers <joseph@codesourcery.com>
10805 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
10806 * math/test-fpucw-static.c: Likewise.
10808 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
10811 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
10813 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10815 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
10816 implementation for powerpc.
10818 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
10821 * sysdeps/posix/system.c (__libc_system): Do not enable
10822 asynchronous cancellation.
10824 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10827 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
10828 handling only for numbers special also in the IEEE case.
10830 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10832 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
10834 2014-01-11 Allan McRae <allan@archlinux.org>
10836 * po/bg.po: Update Bulgarian translation from translation project.
10838 * po/de.po: Update German translation from translation project.
10840 2014-01-10 Roland McGrath <roland@hack.frob.com>
10842 * sysdeps/generic/gcc-compat.h: New file.
10844 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
10846 * benchtests/asin-inputs: Correct slow inputs.
10847 * benchtests/acos-inputs: Likewise.
10849 2014-01-10 Allan McRae <allan@archlinux.org>
10851 * po:sv.po: Update Swedish translation from translation project.
10853 * po/vi.po: Update Vietnamese translation from translation project.
10855 * po/eo.po: Update Esperanto translation from translation project.
10857 * po/cs.po: Update Czech translation from translation project.
10859 * po/nl.po: Update Dutch translation from translation project.
10861 * po/pl.po: Update Polish translation from translation project.
10863 * po/ru.po: Update Russian translation from translation project.
10865 * po/uk.po: Update Ukrainian translation from translation project.
10867 2014-01-08 Brooks Moses <bmoses@google.com>
10869 * elf/dl-load.c: Fix comment typo.
10871 2014-01-08 Carlos O'Donell <carlos@redhat.com>
10873 * po/header.pot: Rename to...
10874 * po/pot.header: ... this.
10875 * po/Makefile: Use pot.header.
10877 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
10878 Maxim Kuvyrkov <maxim@kugelworks.com>
10881 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
10882 SRC and DEST against LEN.
10884 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10887 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
10889 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
10891 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10893 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10895 2014-01-08 Joseph Myers <joseph@codesourcery.com>
10898 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
10899 for large positive arguments.
10901 2014-01-07 Joseph Myers <joseph@codesourcery.com>
10903 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
10905 * math/auto-libm-test-in: Mark various tests with
10906 xfail-rounding:ldbl-128ibm.
10907 * math/auto-libm-test-out: Regenerated.
10910 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
10911 Increase overflow threshold.
10913 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
10916 * stdio-common/vfprintf.c: Check for integer overflow.
10918 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10920 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
10921 the first argument and return value of __tls_get_addr_internal.
10923 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10925 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
10926 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
10928 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10930 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
10931 * sysdeps/s390/rtld-global-offsets.sym: New file.
10932 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
10934 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
10935 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
10936 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
10938 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
10939 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
10941 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
10943 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
10945 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
10946 halfs of GPRs for high_gprs contexts.
10947 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
10948 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
10950 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
10952 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
10954 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
10955 for high GPRs (uc_high_gprs) and for future extensions
10957 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
10958 for future extensions (__reserved).
10959 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
10961 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
10962 SC_HIGHGPRS offset definition.
10963 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
10964 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
10966 * Versions.def: Add GLIBC_2.19 for libpthread.
10967 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
10968 siglongjmp for libpthread with GLIBC_2.19 symver.
10969 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
10970 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
10971 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
10972 * sysdeps/s390/__longjmp.c: New file.
10973 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
10974 * sysdeps/s390/longjmp.c: New file.
10975 * sysdeps/s390/setjmp.S: New file.
10976 * sysdeps/s390/sigjmp.S: New file.
10977 * sysdeps/s390/v1-longjmp.c: New file.
10978 * sysdeps/s390/v1-setjmp.h: New file.
10979 * sysdeps/s390/v1-sigjmp.c: New file.
10980 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
10981 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
10982 GLIBC_2.19 version.
10983 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
10984 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
10985 versioned symbols for ____longjmp_chk.
10986 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
10988 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
10990 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
10992 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
10994 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
10996 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
10997 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
10998 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
10999 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
11000 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
11001 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
11002 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
11003 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
11004 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
11005 * sysdeps/s390/rtld-__longjmp.c: New file.
11006 * sysdeps/s390/rtld-setjmp.S: New file.
11008 2014-01-06 Joseph Myers <joseph@codesourcery.com>
11011 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
11012 Return -__logl (x) for small positive arguments without evaluating
11015 2014-01-06 Mike Frysinger <vapier@gentoo.org>
11017 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
11019 (__ptrace_peeksiginfo_args): ... this.
11020 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
11021 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
11022 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
11024 2014-01-06 Allan McRae <allan@archlinux.org>
11026 * inet/netinet/in.h: Fix typo in comment.
11028 2014-01-05 Andreas Jaeger <aj@suse.de>
11030 * sysdeps/i386/fpu/libm-test-ulps: Update.
11032 2014-01-05 Allan McRae <allan@archlinux.org>
11034 * po/libc.pot: Regenerated.
11036 * malloc/memusagestat.c: Fix gettext call formatting.
11038 2014-01-04 Sami Kerola <kerolasa@iki.fi>
11040 * nscd/nscd.c: Improve usage() output.
11042 2014-01-04 Mike Frysinger <vapier@gentoo.org>
11044 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
11045 * sysdeps/unix/sysv/linux/configure: Regenerated.
11046 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
11047 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
11049 2014-01-03 Joseph Myers <joseph@codesourcery.com>
11052 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
11053 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
11055 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11057 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
11058 extra tokens at end of #undef directive.
11059 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
11060 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
11061 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
11063 2014-01-03 Joseph Myers <joseph@codesourcery.com>
11065 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
11067 * math/auto-libm-test-in: Mark various tests with
11068 xfail-rounding:ldbl-128ibm.
11069 * math/auto-libm-test-out: Regenerated.
11071 2014-01-02 Joseph Myers <joseph@codesourcery.com>
11074 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
11075 numbers with subnormal high part when calculating exponent.
11078 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
11082 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
11084 (__ieee754_acoshl): Use __log1pl not __log1p.
11086 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
11088 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
11089 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
11090 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
11091 (grow_heap, heap_trim, _int_new_arena, get_free_list)
11092 (reused_arena, arena_get2): Convert to GNU style.
11093 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
11094 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
11095 (memalign_check, __malloc_set_state): Likewise.
11096 * malloc/mallocbug.c (main): Likewise.
11097 * malloc/malloc.c (__malloc_assert, malloc_init_state)
11098 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
11099 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
11100 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
11101 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
11102 (__posix_memalign, malloc_info): Likewise.
11103 * malloc/malloc.h: Likewise.
11104 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
11105 (mallochook, memalignhook, reallochook, mabort): Likewise.
11106 * malloc/mcheck.h: Likewise.
11107 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
11108 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
11109 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
11110 * malloc/morecore.c (__default_morecore): Likewise.
11111 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
11112 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
11113 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
11114 (print_and_abort): Likewise.
11115 * malloc/obstack.h: Likewise.
11116 * malloc/set-freeres.c (__libc_freeres): Likewise.
11117 * malloc/tst-mallocstate.c (main): Likewise.
11118 * malloc/tst-mtrace.c (main): Likewise.
11119 * malloc/tst-realloc.c (do_test): Likewise.
11121 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
11124 * nscd/netgroupcache.c (do_notfound): New function.
11125 (addgetnetgrentX): Use it.
11128 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
11129 NSS_STATUS_NOTFOUND.
11131 2014-01-01 Joseph Myers <joseph@codesourcery.com>
11133 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
11134 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11136 2014-01-01 Allan McRae <allan@archlinux.org>
11138 * scripts/update-copyrights: Update configure input file suffix.
11140 * NEWS: Update copyright year.
11141 * catgets/gencat.c: Likewise.
11142 * csu/version.c: Likewise.
11143 * debug/catchsegv.sh: Likewise.
11144 * debug/pcprofiledump.c: Likewise.
11145 * debug/xtrace.sh: Likewise.
11146 * elf/ldconfig.c: Likewise.
11147 * elf/ldd.bash.in: Likewise.
11148 * elf/pldd.c: Likewise.
11149 * elf/sotruss.ksh: Likewise.
11150 * elf/sprof.c: Likewise.
11151 * iconv/iconv_prog.c: Likewise.
11152 * iconv/iconvconfig.c: Likewise.
11153 * locale/programs/locale.c: Likewise.
11154 * locale/programs/localedef.c: Likewise.
11155 * login/programs/pt_chown.c: Likewise.
11156 * malloc/memusage.sh: Likewise.
11157 * malloc/memusagestat.c: Likewise.
11158 * malloc/mtrace.pl: Likewise.
11159 * manual/libc.texinfo: Likewise.
11160 * nscd/nscd.c: Likewise.
11161 * nss/getent.c: Likewise.
11162 * nss/makedb.c: Likewise.
11163 * posix/getconf.c: Likewise.
11164 * scripts/test-installation.pl: Likewise.
11166 * All files with FSF copyright notices: Update copyright dates
11167 using scripts/update-copyrights.
11168 * intl/plural.c: Regenerated.
11169 * locale/programs/charmap-kw.h: Likewise.
11170 * locale/programs/locfile-kw.h: Likewise.
11172 2013-12-31 Mike Frysinger <vapier@gentoo.org>
11174 * sysdeps/unix/sysv/linux/configure: Regenerated.
11175 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
11176 the linux/fanotify.h header.
11177 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
11178 HAVE_LINUX_FANOTIFY_H is defined.
11180 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
11182 * benchtests/cos-inputs: New inputs.
11183 * benchtests/sin-inputs: Likewise.
11185 * benchtests/atan-inputs: New inputs. Fix name of multiple
11186 precision fallback inputs.
11188 * benchtests/atanh-inputs: New inputs.
11189 * benchtests/tanh-inputs: Likewise.
11191 * benchtests/acosh-inputs: New inputs.
11192 * benchtests/asinh-inputs: Likewise.
11194 * benchtests/cosh-inputs: New inputs.
11195 * benchtests/sinh-inputs: Likewise.
11197 * benchtests/acos-inputs: Add more inputs.
11198 * benchtests/asin-inputs: Likewise.
11200 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
11203 * manual/arith.texi: Fix spelling.
11204 * manual/charset.texi: Likewise.
11205 * manual/errno.texi: Likewise.
11206 * manual/filesys.texi: Likewise.
11207 * manual/lang.texi: Likewise.
11208 * manual/llio.texi: Likewise.
11209 * manual/locale.texi: Likewise.
11210 * manual/message.texi: Likewise.
11211 * manual/resource.texi: Likewise.
11212 * manual/search.texi: Likewise.
11213 * manual/setjmp.texi: Likewise.
11214 * manual/stdio.texi: Likewise.
11215 * manual/string.texi: Likewise.
11216 * manual/sysinfo.texi: Likewise.
11217 * manual/time.texi: Likewise.
11219 2013-12-27 Carlos O'Donell <carlos@redhat.com>
11221 * po/sl.po: New file.
11223 2013-12-27 Mike Frysinger <vapier@gentoo.org>
11225 * .gitignore: Add core/.gdbinit/.gdb_history.
11227 2013-12-27 Allan McRae <allan@archlinux.org>
11230 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
11231 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
11233 2013-12-24 Brooks Moses <bmoses@google.com>
11235 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
11236 all compilers that claim C++98 compliance, not just GCC.
11237 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
11240 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
11242 * NEWS: Restore accidentally deleted bug-fix entries.
11244 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
11245 Ondřej Bílka <neleai@seznam.cz>
11248 * malloc/malloc.c (_int_free): Perform sanity check only if we
11251 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
11254 * manual/stdio.texi (String Input Conversions): Clarify that character
11255 classes are not supported.
11257 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11259 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11261 2013-12-22 Joseph Myers <joseph@codesourcery.com>
11264 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
11265 Calculate results for small negative arguments directly rather
11266 than using reflection formula with special underflow handling.
11268 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
11269 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
11270 sysdeps/unix/bsd/bsd4.4/syscalls.list.
11271 (fchflags): Likewise.
11272 (revoke): Likewise.
11273 (setlogin): Likewise.
11274 (sigaltstack): Likewise.
11276 (sigblock): Remove.
11277 (sigsetmask): Likewise.
11279 (waitpid): Likewise.
11280 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
11281 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
11283 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
11284 * sysdeps/unix/bsd/Makefile: ... here.
11285 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
11286 * sysdeps/unix/bsd/Versions: ... here.
11287 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
11288 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
11289 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
11290 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
11291 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
11292 * sysdeps/unix/bsd/sigblock.c: ... here.
11293 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
11294 * sysdeps/unix/bsd/sigsetmask.c: ... here.
11295 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
11296 * sysdeps/unix/bsd/sigvec.c: ... here.
11297 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
11298 * sysdeps/unix/bsd/tcdrain.c: ... here.
11299 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
11300 * sysdeps/unix/bsd/tcgetattr.c: ... here.
11301 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
11302 * sysdeps/unix/bsd/tcsetattr.c: ... here.
11303 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
11304 * sysdeps/unix/bsd/wait.c: ... here.
11305 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
11306 * sysdeps/unix/bsd/wait3.c: ... here.
11307 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
11308 * sysdeps/unix/bsd/waitpid.c: ... here.
11310 2013-12-21 Joseph Myers <joseph@codesourcery.com>
11313 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
11314 round-to-nearest for [!USE_AS_EXPM1L].
11315 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
11316 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
11317 more tests of exp and exp10. Expect some exp10 tests to miss
11318 exceptions or fail in directed rounding modes.
11319 * math/auto-libm-test-out: Regenerated.
11320 * math/libm-test.inc (exp10_tonearest_test_data): New array.
11321 (exp10_test_tonearest): New function.
11322 (exp10_towardzero_test_data): New array.
11323 (exp10_test_towardzero): New function.
11324 (exp10_downward_test_data): New array.
11325 (exp10_test_downward): New function.
11326 (exp10_upward_test_data): New array.
11327 (exp10_test_upward): New function.
11328 (main): Call the new functions.
11329 * sysdeps/i386/fpu/libm-test-ulps: Update.
11330 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11332 2013-12-20 Joseph Myers <joseph@codesourcery.com>
11334 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
11335 asinh, atan, atan2, atanh, cbrt, cos and cosh.
11336 * math/auto-libm-test-out: Regenerated.
11337 * math/libm-test.inc (acosh_test_data): Add more tests.
11338 (atanh_test_data): Likewise.
11339 (ceil_test_data): Likewise.
11340 (copysign_test_data): Likewise.
11341 * sysdeps/i386/fpu/libm-test-ulps: Update.
11342 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11344 * timezone/checktab.awk: Update from tzcode 2013i.
11345 * timezone/private.h: Likewise.
11346 * timezone/scheck.c: Likewise.
11347 * timezone/tzfile.h: Likewise.
11348 * timezone/tzselect.ksh: Likewise.
11349 * timezone/zdump.c: Likewise.
11350 * timezone/zic.c: Likewise.
11352 * math/auto-libm-test-in: Add tests of cpow.
11353 * math/auto-libm-test-out: Regenerated.
11354 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
11355 * math/gen-auto-libm-tests.c (func_calc_method): Add value
11357 (func_calc_desc): Add mpc_cc_c union field.
11358 (test_functions): Add cpow.
11359 (special_fill_2pi): New function.
11360 (special_real_inputs): Add 2pi.
11361 (calc_generic_results): Handle mpc_cc_c.
11362 * sysdeps/i386/fpu/libm-test-ulps: Update.
11363 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11365 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
11366 csqrt, ctan and ctanh.
11367 * math/auto-libm-test-out: Regenerated.
11368 * math/libm-test.inc (TEST_COND_x86_64): New macro.
11369 (TEST_COND_x86): Likewise.
11370 (ccos_test_data): Use AUTO_TESTS_c_c.
11371 (ccosh_test_data): Likewise.
11372 (cexp_test_data): Likewise.
11373 (clog_test_data): Likewise.
11374 (csqrt_test_data): Likewise.
11375 (ctan_test_data): Likewise.
11376 (ctan_tonearest_test_data): Likewise.
11377 (ctan_towardzero_test_data): Likewise.
11378 (ctan_downward_test_data): Likewise.
11379 (ctan_upward_test_data): Likewise.
11380 (ctanh_test_data): Likewise.
11381 (ctanh_tonearest_test_data): Likewise.
11382 (ctanh_towardzero_test_data): Likewise.
11383 (ctanh_downward_test_data): Likewise.
11384 (ctanh_upward_test_data): Likewise.
11385 * math/gen-auto-libm-tests.c (func_calc_method): Add value
11387 (func_calc_desc): Add mpc_c_c union field.
11388 (FUNC_mpc_c_c): New macro.
11389 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
11390 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
11392 (special_fill_min_subnorm_p120): New function.
11393 (special_real_inputs): Add min_subnorm_p120.
11394 (calc_generic_results): Handle mpc_c_c.
11395 * sysdeps/i386/fpu/libm-test-ulps: Update.
11396 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11398 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
11400 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
11401 (do_sin_slow): New functions.
11402 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
11403 (cslow2, csloww1, csloww2): Use the new functions.
11405 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
11406 Use M to change sign of result instead of X. Assume X is
11408 (csloww1): Likewise.
11412 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
11413 arguments A and DA.
11417 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
11419 (sloww1): Don't adjust sign of DX.
11420 (csloww1): Likewise.
11421 (sloww2): Use X directly and don't adjust sign of DX.
11422 (csloww2): Likewise.
11424 2013-12-19 Joseph Myers <joseph@codesourcery.com>
11426 * math/auto-libm-test-in: Add tests of cabs and carg.
11427 * math/auto-libm-test-out: Regenerated.
11428 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
11429 (carg_test_data): Likewise.
11430 * math/gen-auto-libm-tests.c (func_calc_method): Add value
11432 (func_calc_desc): Add mpc_c_f union field.
11433 (test_functions): Add cabs and carg.
11434 (calc_generic_results): Handle mpc_c_f.
11436 * sysdeps/powerpc/powerpc32/libgcc-compat.S
11437 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
11438 as a macro and a compat symbol.
11439 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
11440 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
11441 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
11442 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
11443 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
11444 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
11446 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
11448 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
11450 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
11452 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
11454 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
11456 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
11457 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
11460 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11462 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11464 2013-12-19 Joseph Myers <joseph@codesourcery.com>
11466 * manual/texinfo.tex: Update to version 2013-11-26.10 with
11467 trailing whitespace removed.
11468 * scripts/config.guess: Update to version 2013-11-29.
11469 * scripts/config.sub: Update to version 2013-10-01.
11471 * math/auto-libm-test-in: Add tests of sincos.
11472 * math/auto-libm-test-out: Regenerated.
11473 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
11474 * math/gen-auto-libm-tests.c (func_calc_method): Add value
11476 (func_calc_desc): Add mpfr_f_11 union field.
11477 (test_functions): Add sincos.
11478 (calc_generic_results): Handle mpfr_f_11.
11479 * sysdeps/i386/fpu/libm-test-ulps: Update.
11480 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11482 2013-12-19 Andreas Schwab <schwab@suse.de>
11484 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
11486 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
11487 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
11488 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
11490 2013-12-19 Joseph Myers <joseph@codesourcery.com>
11492 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
11493 * sysdeps/i386/fpu/libm-test-ulps: Update.
11494 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11497 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
11498 round-to-nearest mode when using frndint.
11499 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
11500 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
11501 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
11503 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
11505 * math/auto-libm-test-out: Regenerated.
11506 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
11507 (TEST_COND_x86): Likewise.
11508 (expm1_tonearest_test_data): New array.
11509 (expm1_test_tonearest): New function.
11510 (expm1_towardzero_test_data): New array.
11511 (expm1_test_towardzero): New function.
11512 (expm1_downward_test_data): New array.
11513 (expm1_test_downward): New function.
11514 (expm1_upward_test_data): New array.
11515 (expm1_test_upward): New function.
11516 (main): Run the new test functions.
11517 * sysdeps/i386/fpu/libm-test-ulps: Update.
11518 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11520 * include/features.h: Update comment documenting feature test
11521 macros. Mention _DEFAULT_SOURCE in comment.
11522 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
11523 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
11524 _BSD_SOURCE and _SVID_SOURCE.
11525 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
11526 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
11527 !_SVID_SOURCE]: Likewise.
11528 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
11529 (__USE_POSIX_IMPLICITLY): Define.
11530 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
11531 (_POSIX_SOURCE): Undefine and redefine.
11532 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
11533 (_POSIX_C_SOURCE): Likewise.
11534 * manual/creature.texi (_DEFAULT_SOURCE): Document.
11535 (Feature Test Macros): Update documentation of default features.
11537 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11539 * benchtests/Makefile: Add bench-strtok.
11540 * benchtests/bench-strtok.c: New file: strtok benchtest.
11542 2013-12-19 Allan McRae <allan@archlinux.org>
11544 * manual/install.texi: Suppress menu for plain text output.
11545 * INSTALL: Regenerated.
11547 2013-12-18 Brooks Moses <bmoses@google.com>
11550 * misc/getauxval.c: Include errno.h.
11551 (__getauxval): Set errno to ENOENT if the requested type is not
11553 * misc/sys/auxv.h (getauxval): Document that it may set errno;
11554 don't declare with __attribute_const__.
11555 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
11556 * manual/startup.texi: Document that getauxval sets errno.
11558 2013-12-18 Joseph Myers <joseph@codesourcery.com>
11560 * math/auto-libm-test-in: Add tests of jn and yn.
11561 * math/auto-libm-test-out: Regenerated.
11562 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
11563 (yn_test_data): Likewise.
11564 * math/gen-auto-libm-tests.c (func_calc_method): Add value
11566 (func_calc_desc): Add mpfr_if_f union field.
11567 (FUNC_mpfr_if_f): New macro.
11568 (test_functions): Add jn and yn.
11569 (calc_generic_results): Assert type of second input for
11570 mpfr_ff_f. Handle mpfr_if_f.
11571 (output_for_one_input_case): Disable all checking for arguments
11572 fitting floating-point types in case of an integer argument.
11573 * sysdeps/i386/fpu/libm-test-ulps: Update.
11574 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11576 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
11577 Don't expect fegetround reference in libm.so.
11579 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11581 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
11582 $(config-cflags-nofma).
11584 2013-12-18 Joseph Myers <joseph@codesourcery.com>
11586 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
11587 * math/auto-libm-test-out: Regenerated.
11590 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
11591 to determine exponent and adjust argument to have exponent of -1.
11592 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
11594 * math/auto-libm-test-out: Regenerated.
11595 * sysdeps/i386/fpu/libm-test-ulps: Update.
11596 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11598 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
11600 * manual/probes.texi: Remove cases when per-thread arenas are
11603 2013-12-18 Andreas Schwab <schwab@suse.de>
11605 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
11606 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
11607 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
11608 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
11609 * sysdeps/i386/i686/multiarch/Makefile: Update.
11610 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
11612 2013-12-17 Joseph Myers <joseph@codesourcery.com>
11614 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
11615 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
11617 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
11620 Support TZ transition times < 00:00:00.
11621 This is needed for version-3 tz-format files; it supports time
11622 stamps past 2037 for America/Godthab (the only entry in the tz
11623 database for which this change is relevant).
11624 * manual/time.texi (TZ Variable): Document transition times
11625 from -167:59:59 through -00:00:01.
11626 * time/tzset.c (tz_rule): Time of day is now signed.
11627 (__tzset_parse_tz): Parse negative time of day.
11629 Document TZ transition times >= 25:00:00.
11630 * manual/time.texi (TZ Variable): Document transition times from
11631 25:00:00 through 167:59:59. These are already supported, and this
11632 support will help with version-3 tz-format files.
11634 * manual/time.texi (TZ Variable): Modernize North America example
11635 to reflect current (i.e., 2007-and-later) daylight saving rules.
11637 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
11639 2013-12-17 Joseph Myers <joseph@codesourcery.com>
11641 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
11642 * sysdeps/unix/bsd/bits/stat.h: Likewise.
11643 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
11644 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
11645 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
11646 * sysdeps/unix/bsd/bsdstat.h: Likewise.
11647 * sysdeps/unix/bsd/clock.c: Likewise.
11648 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
11649 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
11650 * sysdeps/unix/bsd/init-posix.c: Likewise.
11651 * sysdeps/unix/bsd/poll.c: Likewise.
11652 * sysdeps/unix/bsd/ptsname.c: Likewise.
11653 * sysdeps/unix/bsd/seekdir.c: Likewise.
11654 * sysdeps/unix/bsd/setegid.c: Likewise.
11655 * sysdeps/unix/bsd/seteuid.c: Likewise.
11656 * sysdeps/unix/bsd/setgid.c: Likewise.
11657 * sysdeps/unix/bsd/setrgid.c: Likewise.
11658 * sysdeps/unix/bsd/setruid.c: Likewise.
11659 * sysdeps/unix/bsd/setsid.c: Likewise.
11660 * sysdeps/unix/bsd/setuid.c: Likewise.
11661 * sysdeps/unix/bsd/sigaction.c: Likewise.
11662 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
11663 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
11664 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
11665 * sysdeps/unix/bsd/telldir.c: Likewise.
11666 * sysdeps/unix/bsd/times.c: Likewise.
11667 * sysdeps/unix/bsd/usleep.c: Likewise.
11669 * misc/Makefile (install-lib): Remove libbsd-compat.a.
11670 ($(objpfx)libbsd-compat.a): Remove rule.
11672 * include/features.h (__FAVOR_BSD): Do not define.
11673 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
11674 features conflicting with POSIX.
11675 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
11676 (_BSD_SOURCE): Remove description of not being a subset of other
11677 feature test macros.
11678 * manual/job.texi (getpgrp): Do not document BSD version.
11679 (getpgid): Do not document by reference to BSD getpgrp.
11680 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
11681 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
11682 * signal/signal.h [__FAVOR_BSD]: Likewise.
11683 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
11684 instead of making contents conditional on [__FAVOR_BSD].
11685 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
11687 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11689 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11691 2013-12-17 Joseph Myers <joseph@codesourcery.com>
11694 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
11695 values below 2**-450, not 2**-500.
11696 * math/auto-libm-test-in: Don't allow spurious underflow from
11698 * math/auto-libm-test-out: Regenerated.
11702 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
11703 values of ha and hb and sort them after adjusting subnormal
11705 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
11707 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
11708 values of ea and eb and sort them after adjusting subnormal
11710 * math/auto-libm-test-in: Do not expect some hypot tests of
11711 subnormals to fail. Add more hypot tests.
11712 * math/auto-libm-test-out: Regenerated.
11714 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11717 * sysdeps/sh/s_fma.c: New file.
11718 * sysdeps/sh/s_fmaf.c: New file.
11719 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
11721 * sysdeps/sh/Implies: Add sh/soft-fp.
11723 2013-12-16 Roland McGrath <roland@hack.frob.com>
11725 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
11726 level of indirection to members `objname', `errstring', `malloced'.
11727 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
11728 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
11729 it as the __longjmp argument (just pass 1 instead).
11730 (_dl_catch_error): Initialize C with argument pointers and address of
11731 volatile local ERRCODE rather than copying values out of C at return.
11733 2013-12-16 Joseph Myers <joseph@codesourcery.com>
11735 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
11736 * math/auto-libm-test-out: Regenerated.
11737 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
11738 (hypot_test_data): Likewise.
11739 (pow_test_data): Likewise.
11740 (pow_tonearest_test_data): Likewise.
11741 * math/gen-auto-libm-tests.c (func_calc_method): Add value
11743 (func_calc_desc): Add mpfr_ff_f union field.
11744 (FUNC_mpfr_ff_f): New macro.
11745 (test_functions): Add atan2, hypot and pow.
11746 (special_fill_min): New function.
11747 (special_fill_minus_min): Likewise.
11748 (special_fill_min_subnorm): Likewise.
11749 (special_fill_minus_min_subnorm): Likewise.
11750 (special_real_inputs): Add min, -min, min_subnorm and
11752 (calc_generic_results): Handle mpfr_ff_f.
11753 * sysdeps/i386/fpu/libm-test-ulps: Update.
11754 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11756 2013-12-16 Will Newton <will.newton@linaro.org>
11758 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
11759 (Aligned Memory Blocks): Add documentation for aligned_alloc
11760 and suggest it as an alternative to posix_memalign.
11761 (Hooks for Malloc): Document __memalign_hook is also called
11762 for aligned_alloc. (Summary of Malloc): Add summary for
11763 aligned alloc. Document __memalign_hook is also called
11766 2013-12-16 Will Newton <will.newton@linaro.org>
11768 * manual/memory.texi (Malloc Examples): Clarify default
11769 alignment documentation. Suggest posix_memalign rather
11770 than memalign or valloc.
11771 (Aligned Memory Blocks): Remove suggestion to use memalign
11772 or valloc. Remove obsolete comment about BSD.
11773 Document memalign errno values and mark the function obsolete.
11774 Document posix_memalign returned error codes. Mark valloc
11775 as obsolete. (Hooks for Malloc): __memalign_hook is also
11776 called for posix_memalign and valloc.
11777 (Summary of Malloc): Add posix_memalign to function summary.
11778 __memalign_hook is also called for posix_memalign and valloc.
11780 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
11782 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
11786 (sloww): Use mynumber union. Expand ternary operator into
11787 if-else statements.
11788 (cslow): use mynumber union.
11790 2013-12-16 Allan McRae <allan@archlinux.org>
11792 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
11793 * configure: Regenerated.
11795 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
11798 * configure.ac: Added --enable-maintainer-mode. Check for
11799 autoconf when enabled.
11800 * configure: Regenerated.
11802 * nscd/nscd.service: New file.
11803 * nscd/nscd.tmpfiles: New file.
11805 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
11808 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
11809 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
11810 * sysdeps/x86_64/multiarch/strstr.c: ... here.
11811 (strstr): Add __strstr_sse2_unaligned ifunc.
11812 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
11813 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
11814 (strcasestr): Remove __strcasestr_sse42 ifunc.
11815 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
11816 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
11817 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
11819 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11821 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
11822 * sysdeps/sh/bits/fenv.h: ... here.
11823 * sysdeps/sh/sh4/fpu/bits: Remove directory.
11825 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11827 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
11829 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
11830 hypotf multiarch implementations.
11831 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
11832 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
11833 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
11834 multiarch hypot for PPC64.
11835 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
11836 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
11837 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
11838 multiarch hypotf for PPC64.
11840 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
11841 modff multiarch implementations.
11842 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
11843 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
11844 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
11845 multiarch modf for PPC64.
11846 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
11847 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
11848 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
11849 multiarch modff for PPC64.
11851 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
11852 and logl multiarch implementations.
11853 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
11854 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
11855 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
11856 multiarch logb for PPC64.
11857 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
11858 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
11859 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
11860 multiarch logb for PPC64.
11861 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
11862 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
11863 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
11864 multiarch logb for PPC64.
11866 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
11867 isinff multiarch implementation.
11868 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
11870 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
11871 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
11872 multiarch isinf for PPC64.
11873 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
11875 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
11876 multiarch isinff for PPC64.
11878 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
11879 finitef multiarch implementation.
11880 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
11882 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
11883 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
11884 multiarch finite for PPC64.
11885 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
11887 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
11888 multiarch finitef for PPC64.
11890 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
11891 lrint multiarch implementation.
11892 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
11894 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
11895 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
11896 multiarch llrint for PPC64.
11897 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
11898 multiarch lrint for PPC64.
11900 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
11901 copysignf multiarch implementation.
11902 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
11904 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
11906 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
11907 multiarch copysign for PPC64.
11908 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
11909 multiarch copysignf for PPC64.
11911 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
11912 multiarch implementation.
11913 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
11915 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
11917 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
11919 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
11921 multiarch llround for PPC64.
11922 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
11923 multiarch trunc for PPC64.
11924 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
11925 multiarch truncf for PPC64.
11927 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
11928 multiarch implementation.
11929 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
11931 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
11933 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
11935 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
11937 multiarch llround for PPC64.
11938 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
11939 multiarch round for PPC64.
11940 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
11941 multiarch roundf for PPC64.
11943 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
11944 multiarch implementation.
11945 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
11947 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
11949 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
11951 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
11953 multiarch llround for PPC64.
11954 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
11955 multiarch floor for PPC64.
11956 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
11957 multiarch floorf for PPC64.
11959 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
11960 multiarch implementation.
11961 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
11963 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
11965 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
11967 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
11969 multiarch llround for PPC64.
11970 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
11971 multiarch ceil for PPC64.
11972 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
11973 multiarch ceilf for PPC64.
11975 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
11976 multiarch implementation.
11977 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
11979 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
11981 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
11983 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
11984 multiarch llround for PPC64.
11985 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
11986 multiarch lround for PPC64.
11988 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
11989 multiarch implementation.
11990 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
11991 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
11992 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
11994 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
11995 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
11996 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
11997 multiarch isnan for PPC64.
11998 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
11999 multiarch isnanf for PPC64.
12001 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
12002 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
12003 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
12004 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
12005 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
12006 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
12008 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
12009 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
12010 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
12011 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
12013 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
12014 multiarch implementations.
12015 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12016 (__libc_ifunc_impl_list): Likewise.
12017 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
12018 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
12019 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
12020 multiarch stpcpy for PPC64.
12022 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
12023 multiarch implementations.
12024 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12025 (__libc_ifunc_impl_list): Likewise.
12026 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
12027 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
12028 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
12029 multiarch strcpy for PPC64.
12031 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
12032 redefine function name.
12033 (_wordcopy_fwd_dest_aligned): Likewise.
12034 (_wordcopy_bwd_aligned): Likewise.
12035 (_wordcopy_bwd_dest_aligned): Likewise.
12036 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
12037 multiarch implementations.
12038 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12039 (__libc_ifunc_impl_list): Likewise.
12040 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
12041 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
12042 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
12043 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
12044 multiarch wcscpy for PPC64.
12046 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
12047 multiarch implementations.
12048 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12049 (__libc_ifunc_impl_list): Likewise.
12050 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
12051 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
12052 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
12053 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
12054 multiarch wcscpy for PPC64.
12056 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
12057 multiarch implementations.
12058 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12059 (__libc_ifunc_impl_list): Likewise.
12060 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
12061 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
12062 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
12063 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
12064 multiarch wcsrchr for PPC64.
12066 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
12067 multiarch implementations.
12068 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12069 (__libc_ifunc_impl_list): Likewise.
12070 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
12071 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
12072 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
12073 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
12074 multiarch wcschr for PPC64.
12076 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
12077 multiarch implementations.
12078 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12079 (__libc_ifunc_impl_list): Likewise.
12080 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
12081 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
12082 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
12083 multiarch strchrnul for PPC64.
12085 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
12087 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12088 (__libc_ifunc_impl_list): Likewise.
12089 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
12090 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
12091 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
12092 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
12095 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
12097 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12098 (__libc_ifunc_impl_list): Likewise.
12099 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
12100 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
12101 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
12102 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
12105 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
12106 multiarch implementations.
12107 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12108 (__libc_ifunc_impl_list): Likewise.
12109 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
12110 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
12111 strncasecmp for PPC64.
12112 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
12113 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
12114 multiarch strncasecmp_l for PPC64.
12116 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
12117 multiarch implementations.
12118 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12119 (__libc_ifunc_impl_list): Likewise.
12120 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
12121 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
12122 multiarch strcasecmp for PPC64.
12123 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
12125 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
12126 multiarch strcasecmp_l for PPC64.
12128 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
12130 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12131 (__libc_ifunc_impl_list): Likewise.
12132 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
12133 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
12134 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
12137 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
12139 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12140 (__libc_ifunc_impl_list): Likewise.
12141 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
12142 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
12143 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
12146 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
12148 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12149 (__libc_ifunc_impl_list): Likewise.
12150 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
12151 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
12152 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
12153 rawmemrchr for PPC64.
12155 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
12157 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12158 (__libc_ifunc_impl_list): Likewise.
12159 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
12160 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
12161 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
12164 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
12166 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12167 (__libc_ifunc_impl_list): Likewise.
12168 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
12169 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
12170 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
12173 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
12175 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12176 (__libc_ifunc_impl_list): Likewise.
12177 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
12178 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
12179 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
12182 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
12183 avoid cretion of __bzero symbol.
12184 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
12186 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
12188 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
12190 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
12191 multiarch implementations.
12192 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12193 (__libc_ifunc_impl_list): Likewise.
12194 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
12195 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
12196 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
12197 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
12199 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
12200 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
12201 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
12202 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
12203 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
12205 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
12207 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
12208 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
12210 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12211 (__libc_ifunc_impl_list): Likewise.
12212 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
12213 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
12214 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
12215 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
12218 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
12219 multiarch for POWER/PPC64.
12220 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
12221 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
12222 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
12223 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
12224 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
12225 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
12226 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
12227 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
12228 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
12231 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
12232 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
12233 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
12234 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
12235 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
12236 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
12237 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
12238 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
12239 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
12240 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
12241 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
12242 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
12243 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
12244 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
12245 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
12246 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
12247 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
12248 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
12249 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
12250 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
12251 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
12252 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
12254 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12256 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
12258 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
12260 * benchtests/Makefile (bench): Add exp2 and log2.
12261 (LDLIBS-bench-exp2): Add -lm.
12262 (LDLIBS-bench-log2): Likewise.
12263 * benchtests/exp2-inputs: New inputs file.
12264 * benchtests/log2-inputs: New inputs file.
12265 * benchtests/log-inputs: Add new inputs.
12266 * benchtests/tan-inputs: Likewise.
12268 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12270 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
12272 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
12273 (csloww2): ... from here.
12275 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
12276 instead of structures.
12277 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
12278 (POLYNOMIAL): Likewise.
12279 (TAYLOR_SLOW): Likewise.
12285 (sloww1); Likewise.
12286 (sloww2): Likewise.
12287 (bsloww1): Likewise.
12288 (bsloww2): Likewise.
12289 (cslow2): Likewise.
12290 (csloww): Likewise.
12291 (csloww1): Likewise.
12292 (csloww2): Likewise.
12294 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
12296 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
12297 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
12298 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
12299 * malloc/hooks.c (realloc_check): Likewise.
12301 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
12302 * malloc/arena.c: Remove PER_THREAD conditional.
12303 [!PER_THREAD]: Remove code.
12304 (ptmalloc_unlock_all2): Likewise.
12305 (ptmalloc_init): Likewise.
12306 (_int_new_arena): Likewise.
12307 (arena_get2): Likewise.
12308 * malloc/hooks.c (__malloc_get_state): Likewise.
12309 (__malloc_set_state): Likewise.
12310 * malloc/malloc.c: Likewise.
12311 (struct malloc_state): Likewise.
12312 (struct malloc_par): Likewise.
12313 (__libc_realloc): Likewise.
12314 (__libc_mallopt): Likewise.
12316 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12318 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
12320 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
12322 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
12323 macro to a function. Check for zero perturb_byte.
12324 (_int_malloc, _int_free): Remove zero perturb_byte checks.
12326 * malloc/malloc.c: (force_reg): Remove.
12327 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
12328 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
12329 force_reg by atomic_forced_read.
12330 * malloc/arena.c (ptmalloc_init): Likewise.
12331 * malloc/hooks.c (top_check): Likewise.
12333 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12335 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12337 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
12339 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12341 2013-12-08 Joseph Myers <joseph@codesourcery.com>
12343 * math/auto-libm-test-in: Add tests of lgamma.
12344 * math/auto-libm-test-out: Regenerated.
12345 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
12346 (M_LOG_2_SQRT_PIl): Likewise.
12347 (lgamma_test_data): Use AUTO_TESTS_f_f1.
12348 * math/gen-auto-libm-tests.c (func_calc_method): Add value
12350 (func_calc_desc): Add mpfr_f_f1 union field.
12351 (ARGS1): New macro.
12359 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
12360 (test_functions): Add lgamma.
12361 (calc_generic_results): Handle mpfr_f_f1.
12362 * sysdeps/i386/fpu/libm-test-ulps: Update.
12363 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12365 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12367 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
12368 __mpn_add_n for PowerPC64/POWER7.
12369 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
12370 __mpn_sub_n for PowerPC64/POWER7.
12372 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
12373 __mpn_addmul_1 for PowerPC64.
12374 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
12375 __mpn_submul_1 for PowerPC64.
12376 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
12378 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
12381 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
12384 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
12386 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12388 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
12390 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
12391 add multiarch folders.
12392 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
12393 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
12394 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
12395 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
12396 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
12397 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
12398 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
12399 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
12400 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
12401 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
12402 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
12403 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
12404 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
12405 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
12406 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
12407 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
12408 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
12410 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
12411 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
12412 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
12414 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
12416 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
12417 multiarch __ieee754_hypot for PowerPC32.
12418 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
12420 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
12422 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
12423 multiarch __ieee754_hypotf for PowerPC32.
12425 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
12426 long_double_symbol only if __logbl is defined.
12427 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
12428 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
12429 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
12430 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
12431 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
12432 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
12433 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
12434 path for implementation.
12435 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
12436 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
12437 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
12438 logb, and logbl multiarch implementations for PowerPC32.
12439 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
12441 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
12443 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
12444 multiarch logb for PowerPC32.
12445 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
12447 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
12449 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
12450 multiarch logbf for PowerPC32.
12451 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
12452 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
12454 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
12455 multiarch logbl implementation for PowerPC32.
12457 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
12458 and modff multiarch implementations.
12459 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
12461 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
12463 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
12464 multiarch modf for PowerPC32.
12465 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
12467 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
12469 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
12470 multiarch modff for PowerPC32.
12472 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
12473 and lrintf multiarch implementations.
12474 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
12476 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
12478 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
12479 multiarch lrint for PowerPC32.
12480 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
12481 file: multiarch lrintf for PowerPC32.
12483 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
12484 and lroundf multiarch implementations.
12485 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
12487 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
12489 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
12491 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
12492 multiarch lround for PowerPC32.
12493 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
12494 file: multiarch lroundf for PowerPC32.
12496 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
12497 copysign and copysignf multiarch implementations.
12498 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
12500 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
12502 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
12503 file: multiarch copysign for PowerPC32.
12504 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
12505 file: multiarch copysignf for PowerPC32.
12507 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
12508 and truncf multiarch implementations.
12509 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
12511 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
12513 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
12514 multiarch trunc for PowerPC32.
12515 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
12517 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
12519 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
12520 multiarch truncf for PowerPC32.
12522 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
12523 and roundf multiarch implementations.
12524 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
12526 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
12528 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
12529 multiarch round for PowerPC32.
12530 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
12532 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
12534 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
12535 multiarch roundf for PowerPC32.
12537 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
12538 and floorf multiarch implementations.
12539 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
12541 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
12543 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
12544 multiarch floor for PowerPC32.
12545 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
12547 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
12549 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
12550 multiarch floorf for PowerPC32.
12552 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
12553 and ceilf multiarch implementations.
12554 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
12556 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
12558 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
12559 multiarch ceil for PowerPC32.
12560 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
12562 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
12564 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
12565 multiarch ceilf for PowerPC32.
12567 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
12569 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
12570 FINITEF is defined.
12571 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
12572 and finitef multiarch implementations.
12573 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
12575 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
12577 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
12578 multiarch finite for PowerPC32.
12579 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
12581 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
12582 file: multiarch finitef for PowerPC32.
12584 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
12585 and isinff multiarch implementations.
12586 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
12588 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
12590 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
12591 multiarch isinf for PowerPC32.
12592 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
12594 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
12595 multiarch isinff for PowerPC32.
12597 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
12598 alias when __isnan is defined.
12599 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
12600 and isnanf multiarch implementations.
12601 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
12603 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
12605 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
12607 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
12609 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
12610 multiarch isnan for PowerPC32.
12611 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
12613 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
12615 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
12616 multiarch isnanf for PowerPC32.
12618 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
12619 and sqrtf multiarch implementations.
12620 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
12622 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
12624 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
12625 multiarch sqrt for PowerPC32.
12626 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
12628 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
12630 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
12631 multiarch sqrtf for PowerPC32.
12633 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
12634 and llroundf multiarch implementations.
12635 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
12637 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
12639 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
12641 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
12642 file: multiarch llround for PowerPC32.
12643 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
12644 file: multiarch llroundf for PowerPC32.
12646 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
12647 multiarch PowerPC32 fpu implementations.
12648 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
12650 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
12652 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
12653 multiarch llrint for PowerPC32.
12654 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
12656 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
12658 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
12661 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
12663 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
12665 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
12667 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
12669 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
12670 multiarch wordcopy for PPC32.
12671 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
12673 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12674 (__libc_ifunc_impl_list): Likewise.
12675 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
12676 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
12677 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
12678 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
12679 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
12680 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
12682 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
12683 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
12685 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
12687 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
12689 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
12690 multiarch wcscpy for PPC32.
12691 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
12693 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12694 (__libc_ifunc_impl_list): Likewise.
12695 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
12696 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
12697 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
12698 sysdeps/powerpc/power6/wcscpy.c.
12700 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
12701 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
12703 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
12705 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
12707 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
12708 multiarch wcsrchr for PPC32.
12709 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
12711 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12712 (__libc_ifunc_impl_list): Likewise.
12713 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
12714 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
12715 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
12716 sysdeps/powerpc/power6/wcsrchr.c.
12718 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
12720 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
12722 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
12723 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
12724 multiarch wcschr for PPc32.
12725 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
12727 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12728 (__libc_ifunc_impl_list): Likewise.
12729 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
12730 * sysdeps/powerpc/power6/wcschr.c: ... to here.
12731 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
12732 sysdeps/powerpc/power6/wcschr.c.
12734 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
12735 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
12737 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
12738 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
12739 file: multiarch strchr for PPC32.
12740 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
12742 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12743 (__libc_ifunc_impl_list): Likewise.
12745 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
12747 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
12749 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
12751 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
12752 multiarch strchrnul for PPC32.
12753 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
12755 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12756 (__libc_ifunc_impl_list): Likewise.
12758 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
12760 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
12761 multiarch strncasecmp for PPC32.
12762 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
12764 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
12765 multiarch strncasecmp_l for PPC32.
12766 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
12767 strncasecmp multiarch objects.
12768 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12769 (__libc_ifunc_impl_list): Likewise.
12771 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
12773 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
12774 multiarch strncasecmp for PPC32.
12775 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
12777 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
12778 multiarch strcasecmp_l for PPC32.
12779 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
12781 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12782 (__libc_ifunc_impl_list): Likewise.
12784 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
12786 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
12788 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
12789 multiarch strncmp for PPC32.
12790 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
12792 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12793 (__libc_ifunc_impl_list): Likewise.
12795 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
12796 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
12798 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
12799 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
12800 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
12802 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12803 (__libc_ifunc_impl_list): Likewise.
12805 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
12807 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
12809 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
12810 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
12812 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12813 (__libc_ifunc_impl_list): Likewise.
12815 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
12817 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
12819 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
12820 multiarch rawmemchr for PPC32.
12821 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
12823 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12824 (__libc_ifunc_impl_list): Likewise.
12826 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
12828 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
12830 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
12831 file: memrchr multiarch for PPC32.
12832 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
12834 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12835 (__libc_ifunc_impl_list): Likewise.
12837 * string/memchr.c (__memchr): Using macro to redefine symbol name.
12838 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
12840 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
12841 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
12842 multiarch memchr for PPC32.
12843 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
12845 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12846 (__libc_ifunc_impl_list): Likewise.
12848 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
12849 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
12851 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
12853 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
12854 file: multiarch mempcpy for PPC32.
12855 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
12857 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12858 (__libc_ifunc_impl_list): Likewise.
12860 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
12861 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
12862 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
12863 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
12864 multiarch bzero for PPC32.
12865 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
12867 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
12869 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
12870 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
12871 file: multiarch memset for PPC32.
12872 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
12873 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
12874 memset multiarch objects.
12875 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12876 (__libc_ifunc_impl_list): Likewise.
12878 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
12880 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
12881 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
12883 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
12884 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
12886 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12887 (__libc_ifunc_impl_list): Likewise.
12889 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
12890 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
12891 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
12893 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
12895 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
12897 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
12898 multiarch memcpy for PPC32.
12899 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
12901 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12902 (__libc_ifunc_impl_list): Likewise.
12904 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
12905 support multiarch for POWER/PPC32.
12906 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
12908 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
12909 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
12910 Implies file to make multiarch folder appers before the fpu and
12911 default folder for power4 configuration.
12913 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
12915 * scripts/bench.pl: Append volatile keyword to type.
12917 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12919 * sysdeps/sh/sotruss-lib.c: New file.
12920 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
12922 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12924 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12926 2013-12-05 Joseph Myers <joseph@codesourcery.com>
12929 * math/w_tgamma.c: Include <errno.h>.
12930 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
12931 * math/w_tgammaf.c: Include <errno.h>.
12932 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
12933 * math/w_tgammal.c: Include <errno.h>.
12934 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
12935 * math/auto-libm-test-in: Do not allow missing errno on tgamma
12936 underflow. Add more tgamma tests.
12937 * math/auto-libm-test-out: Regenerated.
12938 * sysdeps/i386/fpu/libm-test-ulps: Update.
12939 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12941 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
12942 sin, sinh, tan, tanh, tgamma, y0 and y1.
12943 * math/auto-libm-test-out: Regenerated.
12944 * math/libm-test.inc (TEST_COND_x86_64): New macro.
12945 (TEST_COND_x86): Likewise.
12946 (M_E2l): Remove macro.
12948 (M_2_SQRT_PIl): Likewise.
12949 (M_SQRT_PIl): Likewise.
12950 (M_1_DIV_El): Likewise.
12951 (log_test_data): Use AUTO_TESTS_f_f.
12952 (log10_test_data): Likewise.
12953 (log1p_test_data): Likewise.
12954 (log2_test_data): Likewise.
12955 (sin_test_data): Likewise.
12956 (sin_tonearest_test_data): Likewise.
12957 (sin_towardzero_test_data): Likewise.
12958 (sin_downward_test_data): Likewise.
12959 (sin_upward_test_data): Likewise.
12960 (sinh_test_data): Likewise.
12961 (sinh_tonearest_test_data): Likewise.
12962 (sinh_towardzero_test_data): Likewise.
12963 (sinh_downward_test_data): Likewise.
12964 (sinh_upward_test_data): Likewise.
12965 (tan_test_data): Likewise.
12966 (tan_tonearest_test_data): Likewise.
12967 (tan_towardzero_test_data): Likewise.
12968 (tan_downward_test_data): Likewise.
12969 (tan_upward_test_data): Likewise.
12970 (tanh_test_data): Likewise.
12971 (tgamma_test_data): Likewise.
12972 (y0_test_data): Likewise.
12973 (y1_test_data): Likewise.
12974 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
12975 (special_real_inputs): Add pi/4.
12976 * sysdeps/i386/fpu/libm-test-ulps: Update.
12977 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12979 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12981 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
12982 "longjmp_target" static probes.
12983 (__longjmp): Rename to __longjmp_symbol.
12984 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
12985 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
12986 on which longjmp to generate.
12987 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
12988 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
12990 (__sigsetjmp): Rename to __sigsetjmp_symbol.
12991 (__sigjmp_save): Rename to __sigjmp_save_symbol.
12992 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
12993 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
12994 and __sigjmp_save_symbol based on which sigsetjmp to generated.
12995 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
12996 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
12997 __longjmp_symbol based on which __longjmp to generate.
12998 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
13000 (setjmp): Rename to setjmp_symbol.
13001 (__sigsetjmp): Rename to __sigsetjmp_symbol.
13002 (_setjmp): Rename to _setjmp_symbol.
13003 (__sigsetjmp): Rename to __sigsetjmp_symbol.
13004 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
13005 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
13006 which setjmp to generate.
13007 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
13008 "longjmp_target" static probes.
13010 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
13012 * benchtests/README: Add note about output arguments.
13013 * benchtests/bench-sincos.c: Remove file.
13014 * benchtests/sincos-inputs: New file.
13015 * scripts/bench.pl: Identify output arguments and define
13016 static variables for them.
13018 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
13021 * Makefile (INSTALL): Add install-plain.texi as the primary
13023 * manual/install-plain.texi: New file.
13024 * manual/install.texi: Include node directive only for
13025 non-plaintext output.
13027 2013-12-04 Joseph Myers <joseph@codesourcery.com>
13029 * stdlib/longlong.h: Update from GCC.
13033 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
13034 * math/w_j0f.c (y0f): Likewise.
13035 * math/w_j0l.c (__y0l): Likewise.
13036 * math/w_j1.c (y1): Likewise.
13037 * math/w_j1f.c (y1f): Likewise.
13038 * math/w_j1l.c (__y1l): Likewise
13039 * math/w_jn.c (yn): Likewise.
13040 * math/w_jnf.c (ynf): Likewise.
13041 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
13042 Bessel function pole errors in _POSIX_ mode. Use NAN as return
13043 value for Bessel function domain errors outside _SVID_ mode.
13044 Adjust sign of return value for yn (negative integer, 0).
13045 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
13046 by zero in return for negative x and set sign appropriately for
13048 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
13049 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
13050 * math/libm-test.inc (y0_test_data): Add more tests and adjust
13051 expectations in error cases.
13052 (y1_test_data): Likewise.
13053 (yn_test_data): Likewise.
13054 * sysdeps/i386/fpu/libm-test-ulps: Update.
13055 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13057 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13059 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
13060 "64" to "64-v1". Add "64-v2".
13061 (abi-64-options): Rename to ...
13062 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
13063 (abi-64-condition): Rename to ...
13064 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
13065 (abi-64-ld-soname): Rename to ...
13066 (abi-64-v1-ld-soname): ... this.
13067 (abi-64-v2-options): Define.
13068 (abi-64-v2-condition): Likewise.
13069 (abi-64-v2-ld-soname): Likewise.
13070 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
13071 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
13072 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
13073 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
13074 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
13076 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13077 Alan Modra <amodra@gmail.com>
13079 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
13080 New versions for use with the ELFv2 ABI.
13081 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
13082 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
13084 (struct La_ppc64v2_retval): Likewise.
13085 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
13086 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
13087 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
13088 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
13089 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
13090 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
13091 Do not save or restore CR.
13092 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
13093 (_dl_profile_resolve): Do no save or restore CR. Support extended
13094 return values for ELFv2 ABI. Fix location of FPR return registers.
13095 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
13096 updated values for _CALL_ELF == 2.
13097 (La_regs, La_retval, int_retval): Likewise.
13099 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13101 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
13102 (FRAME_MIN_SIZE_PARM): Likewise.
13103 (FRAME_BACKCHAIN): Likewise.
13104 (FRAME_CR_SAVE): Likewise.
13105 (FRAME_LR_SAVE): Likewise.
13106 (FRAME_TOC_SAVE): Likewise.
13107 (FRAME_PARM_SAVE): Likewise.
13108 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
13109 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
13110 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
13111 (call_mcount_parm_offset): New macro.
13112 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
13113 (PROF): Use symbolic stack frame offsets.
13114 (TAIL_CALL_SYSCALL_ERROR): Likewise.
13115 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
13116 Redefine in terms of FRAME_MIN_SIZE.
13117 (_dl_runtime_resolve): Use symbolic stack frame offsets.
13118 (_dl_profile_resolve): Likewise. Update comment.
13119 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
13120 symbols stack frame offsets.
13121 (__sigsetjmp): Likewise.
13122 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
13123 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
13124 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
13125 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
13127 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
13128 (FRAME_BACKCHAIN): Remove.
13129 (FRAME_CR_SAVE): Likewise.
13130 (FRAME_LR_SAVE): Likewise.
13131 (FRAME_COMPILER_DW): Likewise.
13132 (FRAME_LINKER_DW): Likewise.
13133 (FRAME_TOC_SAVE): Likewise.
13134 (FRAME_PARM_SAVE): Likewise.
13135 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
13136 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
13137 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
13138 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
13139 (CHECK_SP): Use symbolic stack frame offsets.
13140 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
13141 zone" instead of caller's parameter save area for temp storage.
13142 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
13143 Likewise. Also, use symbolic stack frame offsets.
13144 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
13145 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
13146 our own stack frame instead of the caller's.
13147 (__socket): Use symbolic stack frame offsets.
13149 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13150 Alan Modra <amodra@gmail.com>
13152 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
13154 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
13155 (PPC64_LOCAL_ENTRY_OFFSET): Define.
13156 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
13158 (elf_machine_fixup_plt): Call it.
13159 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
13161 (elf_machine_rela): Update call to elf_machine_plt_conflict.
13162 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
13163 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
13164 r2 before calling target.
13166 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13167 Alan Modra <amodra@gmail.com>
13169 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
13170 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
13171 versions of macros to support ELFv2 ABI.
13172 (LOCALENTRY): New macro.
13173 (ENTRY, EALIGN): Use it.
13174 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
13175 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
13176 fall through into ENTRY entry point.
13177 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
13178 Only define if _CALL_ELF != 2.
13180 (elf_machine_matches_host): Verify ABI version matches.
13181 (RTLD_START): Use LOCALENTRY.
13182 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
13183 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
13184 (PLT_ENTRY_WORDS): New macro.
13185 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
13186 (elf_machine_runtime_setup): Support ELFv2 ABI.
13187 (elf_machine_fixup_plt): Likewise.
13188 (elf_machine_plt_conflict): Likewise.
13189 (resolve_ifunc): Likewise.
13190 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
13191 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
13193 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
13194 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
13195 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
13196 (makecontext): Support ELFv2 ABI.
13197 * elf/elf.h (EF_PPC64_ABI): Define.
13199 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13201 * sysdeps/powerpc/powerpc64/sysdep.h
13202 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
13203 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
13204 (ENTRY) [ASSEMBLER]: ... but instead here ...
13205 (EALIGN) [ASSEMBLER]: ... and here.
13206 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
13207 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
13208 (ENTRY_2) [!ASSEMBLER]: Use it.
13209 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
13210 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
13211 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
13212 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
13213 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
13214 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
13215 Use PPC64_LOAD_FUNCPTR.
13217 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
13219 2013-12-04 Alan Modra <amodra@gmail.com>
13221 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
13222 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
13223 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
13224 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
13226 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
13227 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
13228 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
13229 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
13230 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
13231 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
13233 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13235 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
13236 (__makecontext): Fix incorrect CFI when backtracing out of
13237 context created via makecontext.
13238 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
13239 (__setcontext): Fix incorrect CFI during switch to new context.
13240 (__novec_setcontext): Likewise.
13242 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
13245 * time/strptime_l.c (__strptime_internal): Allow modifiers
13247 * time/tst-strptime.c (day_tests): Add testcase.
13249 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
13251 * scripts/bench.pl: Skip over blank lines.
13253 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
13256 * manual/time.texi (Calendar Time): Clarify what timezone functions
13259 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13261 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13263 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
13265 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
13267 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
13268 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
13269 * debug/memset_chk.c (__memset_chk): Likewise.
13270 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
13271 * debug/strncpy_chk.c: Likewise.
13273 2013-12-03 Joseph Myers <joseph@codesourcery.com>
13277 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
13278 (__ieee754_exp): For possibly underflowing results, check size of
13279 result and force underflow exception if required.
13280 * math/auto-libm-test-in: Add more tests of exp.
13281 * math/auto-libm-test-out: Regenerated.
13282 * sysdeps/i386/fpu/libm-test-ulps: Update.
13283 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13286 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
13287 * math/w_exp2f.c (__exp2f): Likewise.
13288 * math/w_exp2l.c (__exp2l): Likewise.
13289 * math/auto-libm-test-in: Do not allow missing errno on exp2
13291 * math/auto-libm-test-out: Regenerated.
13293 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
13296 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
13297 handle filename validation.
13298 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
13301 2013-12-03 Joseph Myers <joseph@codesourcery.com>
13304 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
13305 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
13306 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
13308 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
13309 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
13310 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
13311 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
13312 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
13313 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
13314 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
13315 * math/auto-libm-test-in: Don't allow missing errno from erfc.
13316 Add more erfc tests.
13317 * math/auto-libm-test-out: Regenerated.
13318 * sysdeps/i386/fpu/libm-test-ulps: Update.
13319 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13321 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
13322 exp2, expm1, j0 and j1.
13323 * math/auto-libm-test-out: Regenerated.
13324 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
13325 (erfc_test_data): Likewise.
13326 (exp_test_data): Likewise.
13327 (exp_tonearest_test_data): Likewise.
13328 (exp_towardzero_test_data): Likewise.
13329 (exp_downward_test_data): Likewise.
13330 (exp_upward_test_data): Likewise.
13331 (exp10_test_data): Likewise.
13332 (exp2_test_data): Likewise.
13333 (expm1_test_data): Likewise.
13334 (j0_test_data): Likewise.
13335 (j1_test_data): Likewise.
13336 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
13337 (input_flag_type): Add flag_xfail_rounding.
13338 (input_flags): Add xfail-rounding.
13339 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
13340 (output_for_one_input_case): Handle flag_xfail_rounding.
13341 * sysdeps/i386/fpu/libm-test-ulps: Update.
13342 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13344 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
13347 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
13350 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
13353 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
13354 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
13355 (STAP_PROBE0): New macro.
13356 (STAP_PROBE1): Likewise.
13357 (STAP_PROBE2): Likewise.
13358 (STAP_PROBE3): Likewise.
13359 (STAP_PROBE4): Likewise.
13361 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
13363 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
13365 2013-12-02 Steve Ellcey <sellcey@mips.com>
13367 * benchtests/Makefile (bench): Add sqrt.
13368 (LDLIBS-bench-sqrt): New.
13369 * benchtests/sqrt-input: New.
13371 2013-12-02 Pavel Simerda <psimerda@redhat.com>
13373 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
13374 (GAIH_EAI): Likewise.
13375 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
13376 (gaih_inet): Likewise.
13377 (getaddrinfo): Don't use GAIH_EAI.
13379 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
13380 (struct gaih): Remove definition.
13382 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
13384 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
13385 Use HERRNOP directly.
13387 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13389 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13391 2013-11-30 Joseph Myers <joseph@codesourcery.com>
13393 * math/gen-auto-libm-tests.c (test_functions): Add more
13394 single-argument functions.
13395 (special_fill_pi_2): New function.
13396 (special_fill_minus_pi_2): Likewise.
13397 (special_fill_pi_6): Likewise.
13398 (special_fill_minus_pi_6): Likewise.
13399 (special_fill_pi_3): Likewise.
13400 (special_fill_2pi_3): Likewise.
13401 (special_fill_e): Likewise.
13402 (special_fill_1_e): Likewise.
13403 (special_fill_e_minus_1): Likewise.
13404 (special_real_inputs): Add more special inputs.
13405 (output_for_one_input_case): Do not require ERANGE on underflow to
13406 zero if round-to-nearest result does not underflow to zero, unless
13407 exact results required.
13408 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
13409 atan, atanh, cbrt, cos and cosh.
13410 * math/auto-libm-test-out: Regenerated.
13411 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
13412 (acos_tonearest_test_data): Likewise.
13413 (acos_towardzero_test_data): Likewise.
13414 (acos_downward_test_data): Likewise.
13415 (acos_upward_test_data): Likewise.
13416 (acosh_test_data): Likewise.
13417 (asin_test_data): Likewise.
13418 (asin_tonearest_test_data): Likewise.
13419 (asin_towardzero_test_data): Likewise.
13420 (asin_upward_test_data): Likewise.
13421 (asinh_test_data): Likewise.
13422 (atan_test_data): Likewise.
13423 (atanh_test_data): Likewise.
13424 (cbrt_test_data): Likewise.
13425 (cos_test_data): Likewise.
13426 (cos_tonearest_test_data): Likewise.
13427 (cos_towardzero_test_data): Likewise.
13428 (cos_downward_test_data): Likewise.
13429 (cos_upward_test_data): Likewise.
13430 (cosh_test_data): Likewise.
13431 (cosh_tonearest_test_data): Likewise.
13432 (cosh_towardzero_test_data): Likewise.
13433 (cosh_downward_test_data): Likewise.
13434 (cosh_upward_test_data): Likewise.
13435 * sysdeps/i386/fpu/libm-test-ulps: Update.
13436 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13438 2013-11-29 Joseph Myers <joseph@codesourcery.com>
13441 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
13442 * math/w_exp10f.c (__exp10f): Likewise.
13443 * math/w_exp10l.c (__exp10l): Likewise.
13444 * math/libm-test.inc (exp10_test_data): Add more tests and expect
13445 errno settings in existing tests.
13448 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
13449 precision control set to double precision.
13450 * sysdeps/i386/fpu/w_sqrt.c: New file.
13451 * math/auto-libm-test-in: Add more tests.
13452 * math/auto-libm-test-out: Update.
13454 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
13455 (sqrt_test_tonearest): New function.
13456 (sqrt_towardzero_test_data): New variable.
13457 (sqrt_test_towardzero): New function.
13458 (sqrt_downward_test_data): New variable.
13459 (sqrt_test_downward): New function.
13460 (sqrt_upward_test_data): New variable.
13461 (sqrt_test_upward): New function.
13462 (main): Call the new functions.
13464 * math/gen-auto-libm-tests.c: New file.
13465 * math/auto-libm-test-in: Likewise.
13466 * math/auto-libm-test-out: New generated file.
13467 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
13469 (%beautify): Add generated representations of zero.
13470 (top level): Set $auto_input and call parse_auto_input.
13471 (beautify): Remove trailing "f" from hex float constants.
13472 (parse_args): Handle XFAIL_TEST.
13473 (convert_condition): New function.
13474 (or_value): Likewise.
13475 (or_cond_value): Likewise.
13476 (generate_testfile): Handle AUTO_TESTS_* lines.
13477 (parse_auto_input): New function.
13478 * math/libm-test.inc (XFAIL_TEST): New macro.
13479 (ERRNO_UNCHANGED): Update value.
13480 (ERRNO_EDOM): Likewise.
13481 (ERRNO_ERANGE): Likewise.
13482 (IGNORE_RESULT): Likewise.
13483 (TEST_COND_flt_32): New macro.
13484 (TEST_COND_dbl_64): Likewise.
13485 (TEST_COND_ldbl_96_intel): Likewise.
13486 (TEST_COND_ldbl_96_m68k): Likewise.
13487 (TEST_COND_ldbl_128): Likewise.
13488 (TEST_COND_ldbl_128ibm): Likewise.
13489 (TEST_COND_long32): Likewise.
13490 (TEST_COND_long64): Likewise.
13491 (TEST_COND_before_rounding): Likewise.
13492 (TEST_COND_after_rounding): Likewise.
13493 (enable_test): Handle XFAIL_TEST flag.
13494 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
13495 with finite results.
13496 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
13497 auto-libm-test-out.
13499 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
13500 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13503 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
13504 __tls_get_addr_internal instead of __tls_get_offset in order to
13505 avoid GOT pointer dependency. Make rtld export
13506 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
13507 __tls_get_addr since we are a __tls_get_offset platform.
13508 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
13509 GOT pointer being set up before.
13510 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
13512 2013-11-28 Joseph Myers <joseph@codesourcery.com>
13514 * manual/math.texi (Errors in Math Functions): Document accuracy
13518 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
13519 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
13520 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
13521 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
13522 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
13523 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
13524 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
13525 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
13526 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
13527 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
13528 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
13529 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
13530 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
13531 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
13532 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
13533 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
13535 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
13536 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
13537 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
13538 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
13539 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
13541 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
13543 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
13545 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
13546 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
13547 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
13548 atomic-feupdateenv and flt-rounds.
13549 * sysdeps/powerpc/nofpu/Versions (libc): Add
13550 __atomic_feholdexcept, __atomic_feclearexcept,
13551 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
13552 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
13553 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
13554 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
13555 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
13557 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
13560 * manual/arith.texi (FP Exceptions): Document that exceptions may
13561 not be raised when matherr is used.
13562 (Math Error Reporting): Document overflow in directed rounding
13563 modes. Document that errno may not be set when finite values are
13564 returned on overflow. Document intent to set errno on underflow
13565 only for underflow to zero.
13568 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
13569 round-to-nearest then adjust result for other rounding modes.
13570 * include/fenv.h (fegetround): Use libm_hidden_proto.
13571 * math/fegetround.c (fegetround): Use libm_hidden_def.
13572 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
13573 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
13574 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
13575 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
13577 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
13578 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
13579 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
13580 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
13582 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13585 * nss/Versions (libnss_files): Add
13586 _nss_files_gethostbyname3_r.
13587 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
13589 (HOST_DB_LOOKUP): Remove macro.
13590 (_nss_files_gethostbyname_r): Implement function without the
13591 HOST_DB_LOOKUP macro.
13592 (_nss_files_gethostbyname2_r): Likewise.
13594 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
13596 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
13598 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
13600 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
13601 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
13604 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13606 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
13607 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
13608 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
13609 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
13610 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
13611 __fe_nomask_env_priv and attribute_hidden.
13612 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
13613 (libc_feupdateenv_test_ppc): Likewise.
13614 (libc_feresetround_ppc): Likewise.
13615 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
13616 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
13617 compat_symbol macro.
13618 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
13619 (__fe_nomask_env): Likewise.
13620 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
13622 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
13624 * string/Makefile: Remove ifunc tests.
13625 * string/test-string.h: Define TEST_IFUNC.
13626 * string/test-bcopy-ifunc.c: Remove.
13627 * string/test-bzero-ifunc.c: Likewise.
13628 * string/test-memccpy-ifunc.c: Likewise.
13629 * string/test-memchr-ifunc.c: Likewise.
13630 * string/test-memcmp-ifunc.c: Likewise.
13631 * string/test-memcpy-ifunc.c: Likewise.
13632 * string/test-memmem-ifunc.c: Likewise.
13633 * string/test-memmove-ifunc.c: Likewise.
13634 * string/test-mempcpy-ifunc.c: Likewise.
13635 * string/test-memrchr-ifunc.c: Likewise.
13636 * string/test-memset-ifunc.c: Likewise.
13637 * string/test-rawmemchr-ifunc.c: Likewise.
13638 * string/test-stpcpy-ifunc.c: Likewise.
13639 * string/test-stpncpy-ifunc.c: Likewise.
13640 * string/test-strcasecmp-ifunc.c: Likewise.
13641 * string/test-strcasestr-ifunc.c: Likewise.
13642 * string/test-strcat-ifunc.c: Likewise.
13643 * string/test-strchr-ifunc.c: Likewise.
13644 * string/test-strchrnul-ifunc.c: Likewise.
13645 * string/test-strcmp-ifunc.c: Likewise.
13646 * string/test-strcpy-ifunc.c: Likewise.
13647 * string/test-strcspn-ifunc.c: Likewise.
13648 * string/test-strlen-ifunc.c: Likewise.
13649 * string/test-strncasecmp-ifunc.c: Likewise.
13650 * string/test-strncat-ifunc.c: Likewise.
13651 * string/test-strncmp-ifunc.c: Likewise.
13652 * string/test-strncpy-ifunc.c: Likewise.
13653 * string/test-strnlen-ifunc.c: Likewise.
13654 * string/test-strpbrk-ifunc.c: Likewise.
13655 * string/test-strrchr-ifunc.c: Likewise.
13656 * string/test-strspn-ifunc.c: Likewise.
13657 * string/test-strstr-ifunc.c: Likewise.
13659 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
13661 * benchtests/Makefile: Remove ifunc tests.
13662 * benchtests/bench-string.h: Define TEST_IFUNC.
13663 * benchtests/bench-bcopy-ifunc.c: Remove.
13664 * benchtests/bench-bzero-ifunc.c: Likewise.
13665 * benchtests/bench-memccpy-ifunc.c: Likewise.
13666 * benchtests/bench-memchr-ifunc.c: Likewise.
13667 * benchtests/bench-memcmp-ifunc.c: Likewise.
13668 * benchtests/bench-memcpy-ifunc.c: Likewise.
13669 * benchtests/bench-memmem-ifunc.c: Likewise.
13670 * benchtests/bench-memmove-ifunc.c: Likewise.
13671 * benchtests/bench-mempcpy-ifunc.c: Likewise.
13672 * benchtests/bench-memrchr-ifunc.c: Likewise.
13673 * benchtests/bench-memset-ifunc.c: Likewise.
13674 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
13675 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
13676 * benchtests/bench-stpcpy-ifunc.c: Likewise.
13677 * benchtests/bench-stpncpy-ifunc.c: Likewise.
13678 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
13679 * benchtests/bench-strcasestr-ifunc.c: Likewise.
13680 * benchtests/bench-strcat-ifunc.c: Likewise.
13681 * benchtests/bench-strchr-ifunc.c: Likewise.
13682 * benchtests/bench-strchrnul-ifunc.c: Likewise.
13683 * benchtests/bench-strcmp-ifunc.c: Likewise.
13684 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
13685 * benchtests/bench-strcpy-ifunc.c: Likewise.
13686 * benchtests/bench-strcspn-ifunc.c: Likewise.
13687 * benchtests/bench-strlen-ifunc.c: Likewise.
13688 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
13689 * benchtests/bench-strncat-ifunc.c: Likewise.
13690 * benchtests/bench-strncmp-ifunc.c: Likewise.
13691 * benchtests/bench-strncpy-ifunc.c: Likewise.
13692 * benchtests/bench-strnlen-ifunc.c: Likewise.
13693 * benchtests/bench-strpbrk-ifunc.c: Likewise.
13694 * benchtests/bench-strrchr-ifunc.c: Likewise.
13695 * benchtests/bench-strsep-ifunc.c: Likewise.
13696 * benchtests/bench-strspn-ifunc.c: Likewise.
13697 * benchtests/bench-strstr-ifunc.c: Likewise.
13699 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
13701 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
13703 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
13705 * resolv/netdb.h: Use __glibc_reserved instead __unused.
13706 * rt/aio.h: Likewise.
13707 * sysdeps/gnu/bits/utmp.h: Likewise.
13708 * sysdeps/gnu/bits/utmpx.h: Likewise.
13709 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
13710 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
13711 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
13712 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
13713 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
13714 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
13715 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
13716 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
13717 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
13718 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
13719 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
13720 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
13721 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
13722 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
13723 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
13724 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
13725 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
13726 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
13727 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
13728 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
13729 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
13730 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
13731 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
13732 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
13733 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
13734 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
13735 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
13736 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
13737 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
13738 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
13739 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
13740 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
13741 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
13742 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
13743 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
13744 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
13745 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
13746 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
13747 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
13748 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
13749 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
13750 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
13752 2013-11-25 Carlos O'Donell <carlos@redhat.com>
13755 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
13756 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
13758 2013-11-25 Joseph Myers <joseph@codesourcery.com>
13760 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
13761 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
13764 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13766 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
13767 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
13768 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
13769 (__fesetround): Remove define.
13770 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
13771 rounding and exceptions handling.
13772 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
13773 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
13774 (__fe_nomask_env): Likewise.
13775 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
13776 __fegetround instead of fegetround.
13777 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
13778 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
13780 2013-11-21 Roland McGrath <roland@hack.frob.com>
13782 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
13785 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
13787 2013-11-21 Meador Inge <meadori@codesourcery.com>
13790 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
13791 (encrypt_r): Likewise.
13792 * malloc/obstack.h (obstack_free): Likewise.
13793 * posix/unistd.h (encrypt): Likewise.
13795 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
13797 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
13798 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
13799 DL_CALL_DT_FINI() that call the functions directly.
13800 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
13801 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
13802 * elf/dl-fini.c: Likewise.
13804 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
13806 * malloc/hooks.c (memalign_check): Add alignment rounding.
13807 * malloc/malloc.c (_mid_memalign): New function.
13808 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
13809 Implement by calling _mid_memalign.
13810 * manual/probes.texi (Memory Allocation Probes): Remove
13811 memory_valloc_retry and memory_pvalloc_retry.
13813 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
13815 * locale/programs/locarchive.c (open_archive): Add const
13816 qualifier to ARCHIVEFNAME and copy default fname to
13820 * libio/tst-widetext.input: Rename Oriya to Odia.
13821 * locale/iso-639.def: Likewise.
13823 * manual/probes.texi (Mathematical Function Probes): Add
13824 documentation for sin, cos, asin and acos probes.
13825 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
13826 (__sin32): Add slowasin probe.
13827 (__cos32): Add slowacos probe.
13828 (__mpsin): Add slowsin probe.
13829 (__mpcos): Add slowcos probe.
13831 2013-11-19 Joseph Myers <joseph@codesourcery.com>
13834 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
13835 thread-local __sim_exceptions_thread and global
13836 __sim_exceptions_global.
13837 (__sim_disabled_exceptions): Change to thread-local
13838 __sim_disabled_exceptions_thread and global
13839 __sim_disabled_exceptions_global.
13840 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
13841 and global __sim_round_mode_global.
13842 (__simulate_exceptions): Use thread-local floating-point state and
13843 set global state from it as needed.
13844 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
13845 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
13846 __sim_round_mode_thread.
13847 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
13848 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
13849 and global __sim_exceptions_global.
13850 (__sim_disabled_exceptions): Change to thread-local
13851 __sim_disabled_exceptions_thread and global
13852 __sim_disabled_exceptions_global.
13853 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
13854 and global __sim_round_mode_global.
13855 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
13856 (SIM_SET_GLOBAL): Likewise.
13857 * sysdeps/powerpc/soft-fp/sfp-machine.h
13858 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
13859 __sim_round_mode_thread.
13860 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
13861 __sim_disabled_exceptions_thread.
13862 (__sim_exceptions): Change to __sim_exceptions_thread.
13863 (__sim_disabled_exceptions): Change to
13864 __sim_disabled_exceptions_thread.
13865 (__sim_round_mode): Change to __sim_round_mode_thread.
13866 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
13867 thread-local floating-point state and set global state from it as
13869 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
13870 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
13871 (__sim_disabled_exceptions): Remove extern declaration.
13872 (feenableexcept): Use thread-local floating-point state and set
13873 global state from it as needed.
13874 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
13875 extern declaration.
13876 (__sim_disabled_exceptions): Likewise.
13877 (__sim_round_mode): Likewise.
13878 (__fegetenv): Use thread-local floating-point state.
13879 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
13880 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
13881 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
13882 floating-point state and set global state from it as needed.
13883 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
13884 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
13885 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
13887 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
13888 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
13890 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
13891 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
13892 Use __sim_round_mode_thread.
13893 * math/test-fenv-tls.c: New file.
13894 * math/Makefile (tests): Add test-fenv-tls.
13895 ($(objpfx)test-fenv-tls): Depend on
13896 $(common-objpfx)nptl/libpthread.so.
13898 2013-11-19 Andreas Schwab <schwab@suse.de>
13900 * locale/programs/locale.c (show_info): Decode wordarray elements.
13901 * locale/categories.def (LC_MONETARY): Add element for
13902 _NL_MONETARY_CRNCYSTR.
13903 * locale/C-monetary.c (conversion_rate): New variable.
13904 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
13907 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
13909 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
13910 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
13912 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
13914 * elf/Makefile (tst-auxv): New test.
13915 * elf/tst-auxv.c: New
13916 * elf/rtld.c (dl_main): Adjust AT_EXECFN
13918 2013-11-18 Joseph Myers <joseph@codesourcery.com>
13920 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
13921 (hidden_proto): Caller changed.
13922 (hidden_tls_proto): New macro.
13923 (libc_hidden_tls_proto): Likewise.
13924 (rtld_hidden_tls_proto): Likewise.
13925 (libm_hidden_tls_proto): Likewise.
13926 (libresolv_hidden_tls_proto): Likewise.
13927 (librt_hidden_tls_proto): Likewise.
13928 (libdl_hidden_tls_proto): Likewise.
13929 (libnss_files_hidden_tls_proto): Likewise.
13930 (libnsl_hidden_tls_proto): Likewise.
13931 (libnss_nisplus_hidden_tls_proto): Likewise.
13932 (libutil_hidden_tls_proto): Likewise.
13934 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
13937 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
13938 (decompose_rpath): Defer expansion to fillin_rpath.
13939 (_dl_init_paths): Pass linkmap to fillin_rpath.
13941 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13943 * benchtests/Makefile: Add strsep.
13944 * benchtests/bench-strsep.c: New file: strsep benchtest.
13945 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
13947 2013-11-18 Andreas Schwab <schwab@suse.de>
13949 * locale/programs/locale.c (show_info) [case byte]: Check for
13950 '\377' instead of '\177'.
13951 * locale/C-monetary.c (not_available): Always use "\377".
13952 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
13953 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
13954 detect unavailable sign_posn locale elements.
13955 * locale/localeconv.c (__localeconv): For grouping and
13956 mon_grouping handle "\177" and "\377" like no grouping.
13957 (INT_ELEM): New macro. Use it to set all numeric members.
13958 * locale/programs/ld-monetary.c (monetary_read)
13959 <tok_mon_grouping>: Normalize single -1 to the empty string.
13960 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
13963 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
13966 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
13967 when we match (nil).
13968 * stdio-common/tst-sscanf.c (struct test): Add testcase.
13970 2013-11-16 Joseph Myers <joseph@codesourcery.com>
13972 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
13973 (NO_TEST_INLINE): Update value.
13974 (ERRNO_UNCHANGED): Likewise.
13975 (ERRNO_EDOM): Likewise.
13976 (ERRNO_ERANGE): Likewise.
13977 (IGNORE_RESULT): Likewise.
13978 (check_float_internal): Check signs of NaN results if
13979 TEST_NAN_SIGN used.
13980 (check_complex): Pass TEST_NAN_SIGN flag through to second
13981 check_float_internal call.
13982 (copysign_test_data): Add tests with quiet NaNs as second
13983 argument. Use TEST_NAN_SIGN.
13984 (fabs_test_data): Add test of negative quiet NaN argument. Use
13986 (signbit_test_data): Add tests of quiet NaN argument.
13987 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
13989 * math/gen-libm-test.pl (show_exceptions): Take extra argument
13991 (parse_args): Handle function results specified as IGNORE.
13992 * math/libm-test.inc (IGNORE_RESULT): New macro.
13993 (check_float_internal): Do not check numerical result if flag
13995 (check_complex): Pass through IGNORE_RESULT to second
13996 check_float_internal call.
13997 (check_int): Do not check numerical result if flag IGNORE_RESULT
13999 (check_long): Likewise.
14000 (check_bool): Likewise.
14001 (check_longlong): Likewise.
14002 (lrint_test_data): Add tests of infinite and NaN arguments.
14003 (lrint_tonearest_test_data): Likewise.
14004 (lrint_towardzero_test_data): Likewise.
14005 (lrint_downward_test_data): Likewise.
14006 (lrint_upward_test_data): Likewise.
14007 (llrint_test_data): Likewise.
14008 (llrint_tonearest_test_data): Likewise.
14009 (llrint_towardzero_test_data): Likewise.
14010 (llrint_downward_test_data): Likewise.
14011 (llrint_upward_test_data): Likewise.
14012 (lround_test_data): Likewise.
14013 (llround_test_data): Likewise.
14015 * math/libm-test.inc (NO_TEST_INLINE): New macro.
14016 (ERRNO_UNCHANGED): Update value.
14017 (ERRNO_EDOM): Likewise.
14018 (ERRNO_ERANGE): Likewise.
14019 (NO_TEST_INLINE_FLOAT): New macro.
14020 (NO_TEST_INLINE_DOUBLE): Likewise.
14021 (enable_test): New function.
14022 (RUN_TEST_f_f): Check enable_test before running test.
14023 (RUN_TEST_2_f): Likewise.
14024 (RUN_TEST_fff_f): Likewise.
14025 (RUN_TEST_c_f): Likewise.
14026 (RUN_TEST_f_f1): Likewise.
14027 (RUN_TEST_fF_f1): Likewise.
14028 (RUN_TEST_fI_f1): Likewise.
14029 (RUN_TEST_ffI_f1): Likewise.
14030 (RUN_TEST_c_c): Likewise.
14031 (RUN_TEST_cc_c): Likewise.
14032 (RUN_TEST_f_i): Likewise.
14033 (RUN_TEST_f_i_tg): Likewise.
14034 (RUN_TEST_ff_i_tg): Likewise.
14035 (RUN_TEST_f_b): Likewise.
14036 (RUN_TEST_f_b_tg): Likewise.
14037 (RUN_TEST_f_l): Likewise.
14038 (RUN_TEST_f_L): Likewise.
14039 (RUN_TEST_fFF_11): Likewise.
14040 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
14042 (cosh_test_data): Likewise.
14043 (exp_test_data): Likewise.
14044 (expm1_test_data): Likewise.
14045 (hypot_test_data): Likewise.
14046 (pow_test_data): Likewise.
14047 (sinh_test_data): Likewise.
14048 (tanh_test_data): Likewise.
14049 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
14052 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
14053 tests with quiet NaN input and output.
14054 (acosh_test_data): Likewise.
14055 (asin_test_data): Likewise.
14056 (asinh_test_data): Likewise.
14057 (atan_test_data): Likewise.
14058 (atanh_test_data): Likewise.
14059 (atan2_test_data): Likewise.
14060 (cbrt_test_data): Likewise.
14061 (cos_test_data): Likewise.
14062 (cosh_test_data): Likewise.
14063 (erf_test_data): Likewise.
14064 (erfc_test_data): Likewise.
14065 (exp_test_data): Likewise.
14066 (exp10_test_data): Likewise.
14067 (exp2_test_data): Likewise.
14068 (expm1_test_data): Likewise.
14069 (hypot_test_data): Likewise.
14070 (j0_test_data): Likewise.
14071 (j1_test_data): Likewise.
14072 (jn_test_data): Likewise.
14073 (lgamma_test_data): Likewise.
14074 (log_test_data): Likewise.
14075 (log10_test_data): Likewise.
14076 (log1p_test_data): Likewise.
14077 (log2_test_data): Likewise.
14078 (pow_test_data): Likewise.
14079 (scalb_test_data): Likewise.
14080 (sin_test_data): Likewise.
14081 (sincos_test_data): Likewise.
14082 (sinh_test_data): Likewise.
14083 (tan_test_data): Likewise.
14084 (tanh_test_data): Likewise.
14085 (tgamma_test_data): Likewise.
14086 (y0_test_data): Likewise.
14087 (y1_test_data): Likewise.
14088 (yn_test_data): Likewise.
14091 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
14092 argument being NaN and avoid computations with second argument in
14094 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
14095 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
14096 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
14098 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
14100 * locale/iso-639.def: Add Chitwani Tharu (the).
14102 2013-11-14 Andreas Schwab <schwab@suse.de>
14104 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
14105 word instead of empty string.
14107 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14109 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
14110 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
14111 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
14112 (__fe_nomask_env): Likewise.
14114 2013-11-13 Steve Ellcey <sellcey@mips.com>
14116 * benchtests/bench-timing.h: Include time.h.
14118 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
14121 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
14123 * sysdeps/unix/sysv/linux/configure: Regenerated.
14125 2013-11-13 Joseph Myers <joseph@codesourcery.com>
14128 * stdlib/strtod_l.c (round_and_return): Do not consider
14129 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
14130 exponent one less than half the least subnormal exponent.
14131 * stdlib/test-strtod-round-data: Add more tests.
14132 * stdlib/tst-strtod-round.c (tests): Regenerated.
14134 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14137 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
14138 (__fe_mask_env): Likewise.
14139 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
14140 libm_hidden_proto and add function prototype.
14141 (__fe_mask_env): Add function prototype.
14142 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
14143 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
14144 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
14145 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
14146 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
14147 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
14149 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14151 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
14152 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
14154 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14156 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
14157 of htab_find_slot().
14159 2013-11-11 David S. Miller <davem@davemloft.net>
14162 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
14163 symbol in the non-vis3 case in static builds.
14164 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
14165 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
14166 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
14167 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
14169 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
14172 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
14175 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14177 * benchtests/Makefile: Add bench-strtod.
14178 * benchtests/bench-strtod.c: New file: strtod benchtest
14180 2013-11-11 Andreas Schwab <schwab@suse.de>
14183 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
14184 terminating NUL in key length.
14186 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14188 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
14189 Add artificial ODP entry for vDSO symbol for PPC64.
14190 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
14191 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
14193 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
14196 * nss/getent.c (services_keys): Recognize services starting with digit.
14198 2013-11-06 David S. Miller <davem@davemloft.net>
14201 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
14202 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
14204 2013-11-06 Will Newton <will.newton@linaro.org>
14206 * manual/memory.texi (Malloc Examples): Remove register
14207 keyword from examples.
14209 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
14211 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
14213 2013-11-04 Joseph Myers <joseph@codesourcery.com>
14216 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
14217 depending on [__GCC_IEC_559 > 0].
14218 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
14219 depending on [__GCC_IEC_559_COMPLEX > 0].
14221 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
14223 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
14226 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
14228 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
14230 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
14233 * malloc/malloc (malloc_info): Do not handle first bin as
14236 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
14238 * locale/iso-639.def: Add Central Nahuatl (nhn).
14240 2013-11-01 Bruno Haible <bruno@clisp.org>
14243 * manual/math.texi (BSD Random): Specify range upper bound as
14246 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
14248 * locale/iso-639.def: Add Meadow Mari (mhr).
14250 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
14252 [BZ #14752], [BZ #15763]
14253 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
14255 * rt/tst_shm.c: Add test for escaping directory.
14257 2013-10-31 Andreas Schwab <schwab@suse.de>
14260 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
14261 followed by 'x' as part of digit sequence.
14262 * stdio-common/tst-sscanf.c (double_tests2): New tests.
14264 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
14267 * configure.ac: allow GNU Make 4.0 and greater.
14268 * configure: Regenerated.
14270 2013-10-30 Will Newton <will.newton@linaro.org>
14273 * malloc/hooks.c (memalign_check): Limit alignment to the
14274 maximum representable power of two.
14275 * malloc/malloc.c (__libc_memalign): Likewise.
14276 * malloc/tst-memalign.c (do_test): Add test for very
14277 large alignment values.
14278 * malloc/tst-posix_memalign.c (do_test): Likewise.
14280 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
14283 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
14284 (munmap_chunk): Likewise.
14285 (mremap_chunk): Likewise.
14287 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
14290 * stdlib/div.c (div): Remove obsolete code.
14291 * stdlib/ldiv.c (ldiv): Likewise.
14292 * stdlib/lldiv.c (lldiv): Likewise.
14294 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
14297 * nss/nss_files/files-XXX.c (get_contents_ret): New
14299 (get_contents): New function.
14300 (internal_getent): Use it. Expand size of LINEBUFLEN.
14302 2013-10-30 Mike Frysinger <vapier@gentoo.org>
14304 * configure.in: Moved to ...
14305 * configure.ac: ... here. Change reference to configure.in
14307 * sysdeps/arm/preconfigure.ac: ... here.
14308 configure.in to configure.ac.
14309 * sysdeps/gnu/configure.in: Moved to ...
14310 * sysdeps/gnu/configure.ac: ... here.
14311 * sysdeps/i386/configure.in: Moved to ...
14312 * sysdeps/i386/configure.ac: ... here.
14313 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
14314 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
14315 * sysdeps/mach/configure.in: Moved to ...
14316 * sysdeps/mach/configure.ac: ... here.
14317 * sysdeps/mach/hurd/configure.in: Moved to ...
14318 * sysdeps/mach/hurd/configure.ac: ... here.
14319 * sysdeps/powerpc/configure.in: Moved to ...
14320 * sysdeps/powerpc/configure.ac: ... here.
14321 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
14322 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
14323 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
14324 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
14325 * sysdeps/s390/s390-32/configure.in: Moved to ...
14326 * sysdeps/s390/s390-32/configure.ac: ... here.
14327 * sysdeps/s390/s390-64/configure.in: Moved to ...
14328 * sysdeps/s390/s390-64/configure.ac: ... here.
14329 * sysdeps/sh/configure.in: Moved to ...
14330 * sysdeps/sh/configure.ac: ... here.
14331 * sysdeps/sparc/configure.in: Moved to ...
14332 * sysdeps/sparc/configure.ac: ... here.
14333 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
14334 * sysdeps/unix/sysv/linux/configure.ac: ... here.
14335 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
14336 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
14337 * sysdeps/x86_64/configure.in: Moved to ...
14338 * sysdeps/x86_64/configure.ac: ... here.
14339 * sysdeps/x86_64/preconfigure.in: Moved to ...
14340 * sysdeps/x86_64/preconfigure.ac: ... here.
14341 * aclocal.m4: Change reference to configure.in to configure.ac.
14342 * config.h.in: Likewise.
14343 * manual/install.texi: Likewise.
14344 * manual/maint.texi: Likewise.
14345 * Makefile: Likewise.
14346 * malloc/Makefile: Likewise.
14347 * nscd/Makefile: Likewise.
14348 * Makeconfig: Change reference to configure.in and
14349 preconfigure.in to configure.ac and preconfigure.ac
14351 * INSTALL: Regenerated.
14352 * configure: Likewise.
14353 * sysdeps/gnu/configure: Likewise.
14354 * sysdeps/i386/configure: Likewise.
14355 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
14356 * sysdeps/mach/configure: Likewise.
14357 * sysdeps/mach/hurd/configure: Likewise.
14358 * sysdeps/powerpc/configure: Likewise.
14359 * sysdeps/powerpc/powerpc32/configure: Likewise.
14360 * sysdeps/powerpc/powerpc64/configure: Likewise.
14361 * sysdeps/s390/s390-32/configure: Likewise.
14362 * sysdeps/s390/s390-64/configure: Likewise.
14363 * sysdeps/sh/configure: Likewise.
14364 * sysdeps/sparc/configure: Likewise.
14365 * sysdeps/unix/sysv/linux/configure: Likewise.
14366 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
14367 * sysdeps/x86_64/configure: Likewise.
14368 * sysdeps/x86_64/preconfigure: Likewise.
14370 2013-10-29 Andreas Schwab <schwab@suse.de>
14372 * stdio-common/Makefile (tst-swscanf-ENV): Define.
14374 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14376 * benchtests/pow-inputs: Add new inputs.
14378 * benchtests/exp-inputs: Add new inputs.
14380 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
14381 conditional check for return value.
14382 (__cos32): Likewise.
14384 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14386 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
14387 to provide a boost for large inputs with word alignment.
14388 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
14389 implementation based on optimized PPC64 strcpy.
14390 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
14391 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
14392 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
14393 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
14395 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
14398 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
14400 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
14403 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
14404 * time/tst-strptime.c (day_tests): Add testcase.
14406 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
14409 * manual/pattern.texi: Acknowledge that fnmatch can fail.
14411 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
14414 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
14415 MAP_FAILED on error.
14417 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
14420 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
14421 heap for large requests.
14423 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
14426 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
14427 result if the result has no associated interface.
14428 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
14429 interface for all 127.X.Y.Z addresses.
14431 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
14433 * locale/iso-639.def: Add Ligurian (lij)
14435 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
14438 * sunrpc/rpc_main.c: Document rpcgen -5.
14440 2013-10-19 Michael Stahl <mstahl@redhat.com>
14442 * elf/rtld.c (do_preload): Print the reason why preloading failed.
14444 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
14447 * posix/glob.c: Match only directories when trailing slash is present.
14448 * posix/tst-gnuglob.c (my_opendir): Do not open files.
14449 (main): Add testcase.
14451 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
14454 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
14456 2013-10-18 Carlos O'Donell <carlos@redhat.com>
14458 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
14459 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
14460 AUTH_DES and cindex for FIPS 140-2.
14461 (DES Encryption): Add cindex FIPS 46-3.
14463 * locale/locarchive.h (struct locarhandle): Add fname.
14464 * locale/programs/localedef.c (main): Pass ARGV[remaining]
14465 if an optional argument was specified to --list-archive,
14467 * locale/programs/locarchive.c (show_archive_content): Take new
14468 argument fname and pass it via ah.fname to open_archive.
14469 * locale/programs/localedef.h: Update decl.
14470 (open_archive): If AH->fname is non-null, open that file
14471 rather than the default file name, and don't ignore ENOENT.
14472 (create_archive): Set AH.fname to NULL.
14473 (delete_locales_from_archive): Likewise.
14474 (add_locales_to_archive): Likewise.
14475 * locale/programs/locfile.c (write_all_categories): Likewise.
14477 2013-10-18 Joseph Myers <joseph@codesourcery.com>
14478 Aldy Hernandez <aldyh@redhat.com>
14480 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
14481 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
14482 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
14483 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
14484 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
14485 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
14486 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
14487 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
14488 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
14489 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
14490 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
14491 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
14492 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
14493 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
14494 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
14496 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
14498 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
14500 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
14502 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
14503 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
14505 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
14506 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
14507 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
14508 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
14510 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
14511 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
14512 * sysdeps/powerpc/preconfigure: Likewise.
14513 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
14515 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
14516 Replace contents of file by #include of <fenv_libc.h>.
14517 * sysdeps/powerpc/soft-fp/sfp-machine.h
14518 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
14520 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
14521 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
14522 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
14523 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
14524 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
14525 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
14526 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
14527 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
14528 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
14529 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
14530 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
14531 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
14532 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
14533 Allow copysignl PLT reference to be missing.
14535 2013-10-18 Richard Sandiford <richard@codesourcery.com>
14536 Joseph Myers <joseph@codesourcery.com
14539 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
14541 (add_to_tablewc): Assert sequence of wide characters is nonempty.
14543 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
14545 * elf/tst-tls-dlinfo.c: Don't include tls.h.
14546 * elf/tst-tls1.c: Likewise.
14547 * elf/tst-tls10.h: Likewise.
14548 * elf/tst-tls14.c: Likewise.
14549 * elf/tst-tls2.c: Likewise.
14550 * elf/tst-tls3.c: Likewise.
14551 * elf/tst-tls4.c: Likewise.
14552 * elf/tst-tls5.c: Likewise.
14553 * elf/tst-tls6.c: Likewise.
14554 * elf/tst-tls7.c: Likewise.
14555 * elf/tst-tls8.c: Likewise.
14556 * elf/tst-tls9.c: Likewise.
14557 * elf/tst-tlsmod1.c: Likewise.
14558 * elf/tst-tlsmod13.c: Likewise.
14559 * elf/tst-tlsmod13a.c: Likewise.
14560 * elf/tst-tlsmod14a.c: Likewise.
14561 * elf/tst-tlsmod16a.c: Likewise.
14562 * elf/tst-tlsmod16b.c: Likewise.
14563 * elf/tst-tlsmod2.c: Likewise.
14564 * elf/tst-tlsmod3.c: Likewise.
14565 * elf/tst-tlsmod4.c: Likewise.
14566 * elf/tst-tlsmod5.c: Likewise.
14567 * elf/tst-tlsmod6.c: Likewise.
14569 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
14572 * malloc/malloc.c: remove checks for statistics.
14574 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
14577 * inet/inet_net.c (inet_network): Detect additional invalid strings.
14578 * inet/tst-network.c: Add testcase.
14580 2013-10-17 Andreas Schwab <schwab@suse.de>
14583 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
14584 to determine canonical name.
14586 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
14588 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
14589 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
14590 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14591 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
14592 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14593 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
14594 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
14595 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
14596 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
14597 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
14598 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
14599 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
14600 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
14601 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
14602 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
14603 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
14604 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14605 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
14606 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
14607 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
14608 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
14609 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14610 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
14611 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
14612 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
14613 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
14614 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
14615 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
14616 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
14617 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
14618 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
14619 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14620 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
14621 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
14622 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
14623 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
14624 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
14625 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
14626 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
14627 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
14628 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
14629 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
14630 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
14631 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
14632 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
14633 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
14634 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
14635 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
14636 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
14637 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
14638 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
14639 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
14640 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
14641 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
14642 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
14643 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
14644 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14645 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
14647 2013-10-17 Joseph Myers <joseph@codesourcery.com>
14650 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
14651 make result into a quiet NaN.
14653 2013-10-16 Joseph Myers <joseph@codesourcery.com>
14655 * soft-fp/adddf3.c: Fix horizontal whitespace.
14656 * soft-fp/addsf3.c: Likewise.
14657 * soft-fp/addtf3.c: Likewise.
14658 * soft-fp/divdf3.c: Likewise.
14659 * soft-fp/divsf3.c: Likewise.
14660 * soft-fp/divtf3.c: Likewise.
14661 * soft-fp/double.h: Likewise.
14662 * soft-fp/eqdf2.c: Likewise.
14663 * soft-fp/eqsf2.c: Likewise.
14664 * soft-fp/eqtf2.c: Likewise.
14665 * soft-fp/extenddftf2.c: Likewise.
14666 * soft-fp/extended.h: Likewise.
14667 * soft-fp/extendsfdf2.c: Likewise.
14668 * soft-fp/extendsftf2.c: Likewise.
14669 * soft-fp/extendxftf2.c: Likewise.
14670 * soft-fp/fixdfdi.c: Likewise.
14671 * soft-fp/fixdfsi.c: Likewise.
14672 * soft-fp/fixdfti.c: Likewise.
14673 * soft-fp/fixsfdi.c: Likewise.
14674 * soft-fp/fixsfsi.c: Likewise.
14675 * soft-fp/fixsfti.c: Likewise.
14676 * soft-fp/fixtfdi.c: Likewise.
14677 * soft-fp/fixtfsi.c: Likewise.
14678 * soft-fp/fixtfti.c: Likewise.
14679 * soft-fp/fixunsdfdi.c: Likewise.
14680 * soft-fp/fixunsdfsi.c: Likewise.
14681 * soft-fp/fixunsdfti.c: Likewise.
14682 * soft-fp/fixunssfdi.c: Likewise.
14683 * soft-fp/fixunssfsi.c: Likewise.
14684 * soft-fp/fixunssfti.c: Likewise.
14685 * soft-fp/fixunstfdi.c: Likewise.
14686 * soft-fp/fixunstfsi.c: Likewise.
14687 * soft-fp/fixunstfti.c: Likewise.
14688 * soft-fp/floatdidf.c: Likewise.
14689 * soft-fp/floatdisf.c: Likewise.
14690 * soft-fp/floatditf.c: Likewise.
14691 * soft-fp/floatsidf.c: Likewise.
14692 * soft-fp/floatsisf.c: Likewise.
14693 * soft-fp/floatsitf.c: Likewise.
14694 * soft-fp/floattidf.c: Likewise.
14695 * soft-fp/floattisf.c: Likewise.
14696 * soft-fp/floattitf.c: Likewise.
14697 * soft-fp/floatundidf.c: Likewise.
14698 * soft-fp/floatundisf.c: Likewise.
14699 * soft-fp/floatunditf.c: Likewise.
14700 * soft-fp/floatunsidf.c: Likewise.
14701 * soft-fp/floatunsisf.c: Likewise.
14702 * soft-fp/floatunsitf.c: Likewise.
14703 * soft-fp/floatuntidf.c: Likewise.
14704 * soft-fp/floatuntisf.c: Likewise.
14705 * soft-fp/floatuntitf.c: Likewise.
14706 * soft-fp/fmadf4.c: Likewise.
14707 * soft-fp/fmasf4.c: Likewise.
14708 * soft-fp/fmatf4.c: Likewise.
14709 * soft-fp/gedf2.c: Likewise.
14710 * soft-fp/gesf2.c: Likewise.
14711 * soft-fp/getf2.c: Likewise.
14712 * soft-fp/ledf2.c: Likewise.
14713 * soft-fp/lesf2.c: Likewise.
14714 * soft-fp/letf2.c: Likewise.
14715 * soft-fp/muldf3.c: Likewise.
14716 * soft-fp/mulsf3.c: Likewise.
14717 * soft-fp/multf3.c: Likewise.
14718 * soft-fp/negdf2.c: Likewise.
14719 * soft-fp/negsf2.c: Likewise.
14720 * soft-fp/negtf2.c: Likewise.
14721 * soft-fp/op-1.h: Likewise.
14722 * soft-fp/op-2.h: Likewise.
14723 * soft-fp/op-4.h: Likewise.
14724 * soft-fp/op-8.h: Likewise.
14725 * soft-fp/op-common.h: Likewise.
14726 * soft-fp/quad.h: Likewise.
14727 * soft-fp/single.h: Likewise.
14728 * soft-fp/soft-fp.h: Likewise.
14729 * soft-fp/sqrtdf2.c: Likewise.
14730 * soft-fp/sqrtsf2.c: Likewise.
14731 * soft-fp/sqrttf2.c: Likewise.
14732 * soft-fp/subdf3.c: Likewise.
14733 * soft-fp/subsf3.c: Likewise.
14734 * soft-fp/subtf3.c: Likewise.
14735 * soft-fp/truncdfsf2.c: Likewise.
14736 * soft-fp/trunctfdf2.c: Likewise.
14737 * soft-fp/trunctfsf2.c: Likewise.
14738 * soft-fp/trunctfxf2.c: Likewise.
14739 * soft-fp/unorddf2.c: Likewise.
14740 * soft-fp/unordsf2.c: Likewise.
14741 * soft-fp/unordtf2.c: Likewise.
14743 2013-10-15 Joseph Myers <joseph@codesourcery.com>
14745 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
14746 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
14748 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
14750 * elf/dl-libc.c: Clear initfini list after freeing.
14752 2013-10-14 Joseph Myers <joseph@codesourcery.com>
14754 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
14755 * soft-fp/addsf3.c: Likewise.
14756 * soft-fp/addtf3.c: Likewise.
14757 * soft-fp/divdf3.c: Likewise.
14758 * soft-fp/divsf3.c: Likewise.
14759 * soft-fp/divtf3.c: Likewise.
14760 * soft-fp/double.h: Likewise.
14761 * soft-fp/eqdf2.c: Likewise.
14762 * soft-fp/eqsf2.c: Likewise.
14763 * soft-fp/eqtf2.c: Likewise.
14764 * soft-fp/extenddftf2.c: Likewise.
14765 * soft-fp/extended.h: Likewise.
14766 * soft-fp/extendsfdf2.c: Likewise.
14767 * soft-fp/extendsftf2.c: Likewise.
14768 * soft-fp/extendxftf2.c: Likewise.
14769 * soft-fp/fixdfdi.c: Likewise.
14770 * soft-fp/fixdfsi.c: Likewise.
14771 * soft-fp/fixdfti.c: Likewise.
14772 * soft-fp/fixsfdi.c: Likewise.
14773 * soft-fp/fixsfsi.c: Likewise.
14774 * soft-fp/fixsfti.c: Likewise.
14775 * soft-fp/fixtfdi.c: Likewise.
14776 * soft-fp/fixtfsi.c: Likewise.
14777 * soft-fp/fixtfti.c: Likewise.
14778 * soft-fp/fixunsdfdi.c: Likewise.
14779 * soft-fp/fixunsdfsi.c: Likewise.
14780 * soft-fp/fixunsdfti.c: Likewise.
14781 * soft-fp/fixunssfdi.c: Likewise.
14782 * soft-fp/fixunssfsi.c: Likewise.
14783 * soft-fp/fixunssfti.c: Likewise.
14784 * soft-fp/fixunstfdi.c: Likewise.
14785 * soft-fp/fixunstfsi.c: Likewise.
14786 * soft-fp/fixunstfti.c: Likewise.
14787 * soft-fp/floatdidf.c: Likewise.
14788 * soft-fp/floatdisf.c: Likewise.
14789 * soft-fp/floatditf.c: Likewise.
14790 * soft-fp/floatsidf.c: Likewise.
14791 * soft-fp/floatsisf.c: Likewise.
14792 * soft-fp/floatsitf.c: Likewise.
14793 * soft-fp/floattidf.c: Likewise.
14794 * soft-fp/floattisf.c: Likewise.
14795 * soft-fp/floattitf.c: Likewise.
14796 * soft-fp/floatundidf.c: Likewise.
14797 * soft-fp/floatundisf.c: Likewise.
14798 * soft-fp/floatunsidf.c: Likewise.
14799 * soft-fp/floatunsisf.c: Likewise.
14800 * soft-fp/floatuntidf.c: Likewise.
14801 * soft-fp/floatuntisf.c: Likewise.
14802 * soft-fp/floatuntitf.c: Likewise.
14803 * soft-fp/fmadf4.c: Likewise.
14804 * soft-fp/fmasf4.c: Likewise.
14805 * soft-fp/fmatf4.c: Likewise.
14806 * soft-fp/gedf2.c: Likewise.
14807 * soft-fp/gesf2.c: Likewise.
14808 * soft-fp/getf2.c: Likewise.
14809 * soft-fp/ledf2.c: Likewise.
14810 * soft-fp/lesf2.c: Likewise.
14811 * soft-fp/letf2.c: Likewise.
14812 * soft-fp/muldf3.c: Likewise.
14813 * soft-fp/mulsf3.c: Likewise.
14814 * soft-fp/multf3.c: Likewise.
14815 * soft-fp/negdf2.c: Likewise.
14816 * soft-fp/negsf2.c: Likewise.
14817 * soft-fp/negtf2.c: Likewise.
14818 * soft-fp/op-1.h: Likewise.
14819 * soft-fp/op-2.h: Likewise.
14820 * soft-fp/op-4.h: Likewise.
14821 * soft-fp/op-8.h: Likewise.
14822 * soft-fp/op-common.h: Likewise.
14823 * soft-fp/quad.h: Likewise.
14824 * soft-fp/single.h: Likewise.
14825 * soft-fp/soft-fp.h: Likewise.
14826 * soft-fp/sqrtdf2.c: Likewise.
14827 * soft-fp/sqrtsf2.c: Likewise.
14828 * soft-fp/sqrttf2.c: Likewise.
14829 * soft-fp/subdf3.c: Likewise.
14830 * soft-fp/subsf3.c: Likewise.
14831 * soft-fp/subtf3.c: Likewise.
14832 * soft-fp/truncdfsf2.c: Likewise.
14833 * soft-fp/trunctfdf2.c: Likewise.
14834 * soft-fp/trunctfsf2.c: Likewise.
14835 * soft-fp/trunctfxf2.c: Likewise.
14836 * soft-fp/unorddf2.c: Likewise.
14837 * soft-fp/unordsf2.c: Likewise.
14838 * soft-fp/unordtf2.c: Likewise.
14840 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
14843 * misc/error.c (error_tail): Fix possible buffer overflow.
14845 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
14848 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
14851 2013-10-14 P. J. McDermott <pj@pehjota.net>
14854 * elf/ldd.bash.in (try_trace): New function. Delete previous code
14855 testing pipefail option.
14857 2013-10-12 Joseph Myers <joseph@codesourcery.com>
14859 * soft-fp/double.h: Indent preprocessor directives inside #if.
14860 * soft-fp/extended.h: Likewise.
14861 * soft-fp/op-2.h: Likewise.
14862 * soft-fp/op-4.h: Likewise.
14863 * soft-fp/op-common.h: Likewise.
14864 * soft-fp/quad.h: Likewise.
14865 * soft-fp/single.h: Likewise.
14866 * soft-fp/soft-fp.h: Likewise.
14868 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
14870 * iconv/iconv_prog.c: Fix typos.
14871 * stdio-common/psiginfo-data.h: Likewise.
14873 2013-10-12 Reuben Thomas <rrt@sc3d.org>
14876 * locale/setlocale.c: Fix typo.
14878 2013-10-12 Joseph Myers <joseph@codesourcery.com>
14881 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
14882 signaling NaN arguments.
14883 * soft-fp/unordsf2.c (__unordsf2): Likewise.
14884 * soft-fp/unordtf2.c (__unordtf2): Likewise.
14887 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
14888 unordered operands.
14889 * soft-fp/gesf2.c (__gesf2): Likewise.
14890 * soft-fp/getf2.c (__getf2): Likewise.
14891 * soft-fp/ledf2.c (__ledf2): Likewise.
14892 * soft-fp/lesf2.c (__lesf2): Likewise.
14893 * soft-fp/letf2.c (__letf2): Likewise.
14895 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
14896 * soft-fp/eqsf2.c (__eqsf2): Likewise.
14897 * soft-fp/eqtf2.c (__eqtf2): Likewise.
14898 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
14899 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
14900 * soft-fp/fixdfti.c (__fixdfti): Likewise.
14901 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
14902 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
14903 * soft-fp/fixsfti.c (__fixsfti): Likewise.
14904 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
14905 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
14906 * soft-fp/fixtfti.c (__fixtfti): Likewise.
14907 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
14908 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
14909 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
14910 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
14911 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
14912 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
14913 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
14914 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
14915 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
14916 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
14917 * soft-fp/floatdisf.c (__floatdisf): Likewise.
14918 * soft-fp/floatsisf.c (__floatsisf): Likewise.
14919 * soft-fp/floattidf.c (__floattidf): Likewise.
14920 * soft-fp/floattisf.c (__floattisf): Likewise.
14921 * soft-fp/floattitf.c (__floattitf): Likewise.
14922 * soft-fp/floatundidf.c (__floatundidf): Likewise.
14923 * soft-fp/floatundisf.c (__floatundisf): Likewise.
14924 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
14925 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
14926 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
14927 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
14928 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
14929 * soft-fp/gesf2.c (__gesf2): Likewise.
14930 * soft-fp/getf2.c (__getf2): Likewise.
14931 * soft-fp/ledf2.c (__ledf2): Likewise.
14932 * soft-fp/lesf2.c (__lesf2): Likewise.
14933 * soft-fp/letf2.c (__letf2): Likewise.
14935 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
14936 Undefine and redefine.
14937 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
14938 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
14939 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
14940 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
14941 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14942 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
14943 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14944 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
14945 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14946 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
14947 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14948 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
14949 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14950 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
14951 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14954 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
14955 without decrementing exponent if mantissa >= that for the
14956 denominator, not >.
14957 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
14958 denominator, not >. Decrement exponent in < case instead of
14959 incrementing in >= case.
14960 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
14961 without decrementing exponent if mantissa >= that for the
14962 denominator, not >.
14964 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
14965 computing saturated result for unsigned overflow.
14967 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
14968 Jeff Law <law@redhat.com>
14970 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
14971 (atan2Mp): Add systemtap probe marker.
14972 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
14973 (__ieee754_log): Add systemtap probe marker.
14974 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
14975 (atanMp): Add systemtap probe marker.
14976 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
14977 (tanMp): Add systemtap probe marker.
14978 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
14979 (__slowexp): Add systemtap probe marker.
14980 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
14981 (__slowpow): Add systemtap probe marker.
14982 * manual/probes.texi: Document probes.
14984 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
14987 * libio/fileops.c (_IO_new_file_write): Return count of bytes
14989 (_IO_new_file_xsputn): Don't return EOF if nothing has been
14991 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
14992 written to buffer but not flushed.
14993 * libio/iofwrite_u.c: Likewise.
14994 * libio/iopadn.c: Return bytes returned even if EOF was
14996 * libio/iowpadn.c: Likewise.
14997 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
14998 if _IO_padn does not write the whole buffer.
14999 [!COMPILE_WPRINTF] (PAD): Likewise.
15001 2013-10-10 David S. Miller <davem@davemloft.net>
15003 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
15006 2013-10-10 Joseph Myers <joseph@codesourcery.com>
15008 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
15009 instead of FSF address.
15010 * soft-fp/fixdfti.c: Likewise.
15011 * soft-fp/fixsfti.c: Likewise.
15012 * soft-fp/fixtfti.c: Likewise.
15013 * soft-fp/fixunsdfti.c: Likewise.
15014 * soft-fp/fixunssfti.c: Likewise.
15015 * soft-fp/fixunstfti.c: Likewise.
15016 * soft-fp/floattidf.c: Likewise.
15017 * soft-fp/floattisf.c: Likewise.
15018 * soft-fp/floattitf.c: Likewise.
15019 * soft-fp/floatuntidf.c: Likewise.
15020 * soft-fp/floatuntisf.c: Likewise.
15021 * soft-fp/floatuntitf.c: Likewise.
15022 * soft-fp/trunctfxf2.c: Likewise.
15024 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
15025 * soft-fp/fixdfti.c: Likewise.
15026 * soft-fp/fixsfti.c: Likewise.
15027 * soft-fp/fixtfti.c: Likewise.
15028 * soft-fp/fixunsdfti.c: Likewise.
15029 * soft-fp/fixunssfti.c: Likewise.
15030 * soft-fp/fixunstfti.c: Likewise.
15031 * soft-fp/floattidf.c: Likewise.
15032 * soft-fp/floattisf.c: Likewise.
15033 * soft-fp/floattitf.c: Likewise.
15034 * soft-fp/floatuntidf.c: Likewise.
15035 * soft-fp/floatuntisf.c: Likewise.
15036 * soft-fp/floatuntitf.c: Likewise.
15037 * soft-fp/trunctfxf2.c: Likewise.
15039 2013-10-10 David S. Miller <davem@davemloft.net>
15041 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15043 2013-10-10 Joseph Myers <joseph@codsourcery.com>
15045 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
15046 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
15047 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
15048 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
15049 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
15050 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
15051 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
15053 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
15054 for NaNs before doing comparisons on argument.
15055 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
15058 2013-10-10 Will Newton <will.newton@linaro.org>
15060 * malloc/hooks.c (memalign_check): Ensure the value of bytes
15061 passed to _int_memalign does not overflow.
15063 2013-10-10 Torvald Riegel <triegel@redhat.com>
15065 * scripts/bench.pl: Add include-sources directive.
15066 * benchtests/README: Update documentation.
15068 2013-10-10 Joseph Myers <joseph@codesourcery.com>
15070 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
15071 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
15072 instead of FP_INIT_ROUNDMODE.
15073 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
15074 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
15077 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
15078 copy class of input value.
15079 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
15080 not handle exceptions.
15081 * soft-fp/negsf2.c (__negsf2): Likewise.
15082 * soft-fp/negtf2.c (__negtf2): Likewise.
15083 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
15085 2013-10-09 Joseph Myers <joseph@codesourcery.com>
15087 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
15088 semicolon. From Linux kernel.
15090 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
15092 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
15094 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
15097 * manual/socket.texi: Added statement about buffer
15098 for gethostbyname2_r.
15100 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
15102 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
15103 Use .p2align directive instead, throughout.
15104 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
15105 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
15106 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
15107 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
15108 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
15109 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
15110 * sysdeps/x86_64/strchr.S: Likewise.
15111 * sysdeps/x86_64/strrchr.S: Likewise.
15113 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
15115 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
15117 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
15119 * sysdeps/generic/math_private.h (__mpsin1): Remove
15121 (__mpcos1): Likewise.
15122 (__mpsin): New argument __range_reduce.
15123 (__mpcos): Likewise.
15124 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
15125 (slow): Use __mpsin and __mpcos.
15129 (sloww1): Likewise.
15130 (sloww2): Likewise.
15131 (bsloww): Likewise.
15132 (bsloww1): Likewise.
15133 (bsloww2): Likewise.
15134 (cslow2): Likewise.
15135 (csloww): Likewise.
15136 (csloww1): Likewise.
15137 (csloww2): Likewise.
15138 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
15139 range_reduce. Merge in __mpsin1.
15140 (__mpcos): Likewise.
15141 (__mpsin1): Remove.
15142 (__mpcos1): Likewise.
15144 2013-10-07 Joseph Myers <joseph@codesourcery.com>
15146 * locale/loadlocale.c (_nl_intern_locale_data): Use
15148 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
15149 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
15150 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
15151 obstack data is appropriately aligned.
15152 (obstack_int32_grow_fast): Likewise.
15153 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
15154 * locale/programs/locfile.c (add_locale_uint32): Likewise.
15155 (add_locale_uint32_array): Likewise.
15157 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
15159 * benchtests/Makefile: Remove ARGLIST and RET variables.
15160 ($(objpfx)bench-%.c): Pass only function name to the script.
15161 * benchtests/README: Update documentation.
15162 * benchtests/acos-inputs: Add new directives.
15163 * benchtests/acosh-inputs: Likewise.
15164 * benchtests/asin-inputs: Likewise.
15165 * benchtests/asinh-inputs: Likewise.
15166 * benchtests/atan-inputs: Likewise.
15167 * benchtests/atanh-inputs: Likewise.
15168 * benchtests/cos-inputs: Likewise.
15169 * benchtests/cosh-inputs: Likewise.
15170 * benchtests/exp-inputs: Likewise.
15171 * benchtests/log-inputs: Likewise.
15172 * benchtests/pow-inputs: Likewise.
15173 * benchtests/rint-inputs: Likewise.
15174 * benchtests/sin-inputs: Likewise.
15175 * benchtests/sinh-inputs: Likewise.
15176 * benchtests/tan-inputs: Likewise.
15177 * benchtests/tanh-inputs: Likewise.
15178 * scripts/bench.pl: Add support for new directives.
15180 2013-10-07 Alan Modra <amodra@gmail.com>
15182 * README: Fix careless merge.
15184 2013-10-05 Alan Modra <amodra@gmail.com>
15186 * NEWS: Mention powerpc64le support and bugs fixed.
15187 * README: Both big-endian and little-endian powerpc64 supported.
15189 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
15191 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
15192 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
15193 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
15194 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
15196 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
15198 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
15201 2013-10-04 Joseph Myers <joseph@codesourcery.com>
15203 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
15204 Move -mhard-float appending from
15205 ports/sysdeps/powerpc/powerpc32/Makefile.
15206 [$(with-fp) = yes] (ASFLAGS): Likewise.
15207 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
15208 * sysdeps/powerpc/nofpu: Move directory from
15209 ports/sysdeps/powerpc/nofpu.
15210 * sysdeps/powerpc/soft-fp: Move directory from
15211 ports/sysdeps/powerpc/soft-fp.
15212 * sysdeps/powerpc/powerpc32/405: Move directory from
15213 ports/sysdeps/powerpc/powerpc32/405.
15214 * sysdeps/powerpc/powerpc32/440: Move directory from
15215 ports/sysdeps/powerpc/powerpc32/440.
15216 * sysdeps/powerpc/powerpc32/464: Move directory from
15217 ports/sysdeps/powerpc/powerpc32/464.
15218 * sysdeps/powerpc/powerpc32/476: Move directory from
15219 ports/sysdeps/powerpc/powerpc32/476.
15220 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
15221 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
15222 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
15223 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
15224 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
15225 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
15226 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
15227 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
15228 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
15229 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
15230 * README: Update for powerpc-*-linux-gnu software floating point
15233 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
15234 case to powerpc/powerpc32*.
15235 * sysdeps/unix/sysv/linux/configure: Regenerated.
15237 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
15238 (_FPU_MASK_OM): Define as 0x04.
15239 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
15240 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
15242 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
15244 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
15246 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
15247 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
15249 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
15250 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
15252 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
15253 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
15254 and setcontext_e500.
15256 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
15258 * locale/iso-3166.def: Update iso-1366.def and related occurrences
15260 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
15262 * manual/threads.texi (Default Thread Attributes): Fix typo.
15264 2013-10-04 Will Newton <will.newton@linaro.org>
15266 * malloc/Makefile: Add tst-memalign.
15267 * malloc/tst-memalign.c: New file.
15269 * malloc/tst-posix_memalign.c: Add comments.
15270 (do_test): Add comments and call free on all potentially
15271 allocated pointers. Add space after cast.
15273 * malloc/tst-pvalloc.c: Add comments.
15274 (do_test): Add comments and call free on all potentially
15275 allocated pointers. Remove duplicate check for NULL pointer.
15276 Add space after cast.
15278 * malloc/tst-valloc.c: Add comments.
15279 (do_test): Add comments and call free on all potentially
15280 allocated pointers. Remove duplicate check for NULL pointer.
15281 Add space after cast.
15283 2013-10-04 Alan Modra <amodra@gmail.com>
15285 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
15286 Use stdint types in rather than __attribute__((mode())).
15287 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
15289 2013-10-04 Alan Modra <amodra@gmail.com>
15291 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
15292 Correct handling of unaligned relocs for little-endian.
15293 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
15295 2013-10-04 Alan Modra <amodra@gmail.com>
15297 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
15298 * configure: Regenerate.
15299 * nptl/shlib-versions: Powerpc*le starts at 2.18.
15300 * shlib-versions: Likewise.
15302 2013-10-04 Alan Modra <amodra@gmail.com>
15304 * string/tester.c (test_memrchr): Increment reported test cycle.
15306 2013-10-04 Alan Modra <amodra@gmail.com>
15308 * string/test-memcpy.c (do_one_test): When reporting errors, print
15309 string address and don't overrun end of string.
15311 2013-10-04 Alan Modra <amodra@gmail.com>
15313 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
15314 insrdi. Make better use of reg selection to speed exit slightly.
15315 Schedule entry path a little better. Remove useless "are we done"
15316 checks on entry to main loop. Handle wrapping around zero address.
15317 Correct main loop count. Handle single left-over word from main
15318 loop inline rather than by using loop_small. Remove extra word
15319 case in loop_small caused by wrong loop count. Add little-endian
15321 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
15322 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
15324 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
15325 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
15326 support. Avoid rlwimi.
15327 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
15329 2013-10-04 Alan Modra <amodra@gmail.com>
15331 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
15332 insrdi. Formatting.
15333 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
15334 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
15335 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
15336 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
15337 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
15338 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
15340 2013-10-04 Alan Modra <amodra@gmail.com>
15342 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
15343 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
15344 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
15345 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
15346 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
15347 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
15348 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
15349 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
15350 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
15351 use of regs. Use power7 mtocrf. Tidy function tails.
15353 2013-10-04 Alan Modra <amodra@gmail.com>
15355 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
15356 Formatting. Consistently use rXXX register defines or rN defines.
15357 Use early exit labels that avoid restoring unused non-volatile regs.
15358 Make cr field use more consistent with rWORDn compares. Rename
15359 regs used as shift registers for unaligned loop, using rN defines
15360 for short lifetime/multiple use regs.
15361 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
15362 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
15363 addi 1,1,64 to pop stack frame. Simplify return value code.
15364 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
15366 2013-10-04 Alan Modra <amodra@gmail.com>
15368 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
15369 support. Correct typos, formatting. Optimize tail. Use insrdi
15370 rather than rlwimi.
15371 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
15372 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
15373 little-endian support. Correct typos.
15374 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
15375 rather than rlwimi.
15376 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
15377 in loop and entry code to keep "and." results.
15378 (strchr): Add little-endian support. Comment. Move cntlzd
15380 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
15382 2013-10-04 Alan Modra <amodra@gmail.com>
15384 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
15385 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
15386 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
15387 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
15389 2013-10-04 Alan Modra <amodra@gmail.com>
15391 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
15392 (rTMP): Define as r11.
15393 (strcmp): Add little-endian support. Optimise tail.
15394 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
15395 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
15396 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
15397 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
15398 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
15399 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
15400 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
15402 2013-10-04 Alan Modra <amodra@gmail.com>
15404 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
15405 little-endian support. Remove unnecessary "are we done" tests.
15406 Handle "s" wrapping around zero and extremely large "size".
15407 Correct main loop count. Handle single left-over word from main
15408 loop inline rather than by using small_loop. Correct comments.
15409 Delete "zero" tail, use "end_max" instead.
15410 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
15412 2013-10-04 Alan Modra <amodra@gmail.com>
15414 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
15415 support. Don't branch over align.
15416 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
15417 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
15418 support. Rearrange tmp reg use to suit. Comment.
15419 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
15421 2013-10-04 Alan Modra <amodra@gmail.com>
15423 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
15425 2013-10-04 Alan Modra <amodra@gmail.com>
15427 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
15428 conditional form of branch and link when obtaining pc.
15429 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
15431 2013-10-04 Alan Modra <amodra@gmail.com>
15433 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
15435 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
15436 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
15438 2013-10-04 Alan Modra <amodra@gmail.com>
15440 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
15441 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
15442 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
15443 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
15444 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
15445 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
15446 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
15447 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
15448 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
15449 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
15451 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
15452 Alistair Popple <alistair@ozlabs.au.ibm.com>
15453 Alan Modra <amodra@gmail.com>
15456 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
15457 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
15458 _dl_hwcap access for little-endian.
15459 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
15460 destroy vmx regs when saving unaligned.
15461 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
15462 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
15463 destroy vmx regs when saving unaligned.
15465 2013-10-04 Alan Modra <amodra@gmail.com>
15467 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
15468 Don't use a union to pack hi/low value.
15470 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
15472 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
15474 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
15475 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
15476 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
15477 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
15478 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
15480 2013-10-04 Alan Modra <amodra@gmail.com>
15482 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
15483 constants to usual value for .cst8 section, and remove redundant
15485 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
15486 constant for 0x1p52. Load little-endian words of double from
15487 correct stack offsets.
15489 2013-10-04 Alan Modra <amodra@gmail.com>
15491 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
15492 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
15493 words of double from correct stack offsets.
15494 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
15495 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
15496 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
15497 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
15498 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
15499 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
15500 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
15501 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
15502 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
15503 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
15504 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
15505 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
15506 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
15507 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
15508 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
15509 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
15510 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
15512 2013-10-04 Alan Modra <amodra@gmail.com>
15514 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
15515 64-bit int/double union.
15516 (_FPU_SETCW): Likewise.
15517 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
15518 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
15520 2013-10-04 Alan Modra <amodra@gmail.com>
15522 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
15523 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
15525 2013-10-04 Alan Modra <amodra@gmail.com>
15527 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
15528 use vector int constants.
15529 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
15531 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
15533 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
15534 array with long long.
15535 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
15536 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
15537 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
15538 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
15539 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
15540 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
15541 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
15542 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
15543 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
15544 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
15545 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
15546 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
15547 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
15549 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
15551 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
15552 (__signbit): Likewise. Correct for little-endian.
15553 (__signbitl): Call __signbit.
15554 (lrint): Correct for little-endian.
15555 (lrintf): Call lrint.
15557 2013-10-04 Alan Modra <amodra@gmail.com>
15559 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
15560 union 32-bit int array member with 64-bit int array.
15561 (t515, tm256): Double rather than long double.
15562 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
15564 2013-10-04 Alan Modra <amodra@gmail.com>
15566 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
15568 (IEEE854_LONG_DOUBLE_BIAS): Delete.
15569 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
15570 version of math_ldbl.h.
15572 2013-10-04 Alan Modra <amodra@gmail.com>
15574 [BZ #15734], [BZ #15735]
15575 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
15576 all uses of ieee875 long double macros and unions. Simplify test
15577 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
15578 ldbl_extract_mantissa value for ix,iy exponents. Properly
15579 normalize after ldbl_extract_mantissa, and don't add hidden bit
15580 already handled. Don't treat low word of ieee854 mantissa like
15581 low word of IBM long double and mask off bit when testing for
15583 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
15584 all uses of ieee875 long double macros and unions. Simplify tests
15585 for 0.0L and inf. Correct double adjustment of k. Delete dead code
15586 adjusting ha,hb. Simplify code setting kld. Delete two600 and
15587 two1022, instead use their values. Recognise that tests for large
15588 "a" and small "b" are mutually exclusive. Rename vars. Comment.
15589 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
15590 Rewrite all uses of ieee875 long double macros and unions. Simplify
15591 test for 0.0L and nan. Correct negation.
15592 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
15593 ieee875 long double macros and unions. Correct output for large
15594 magnitude x. Correct absolute value calculation.
15595 (__erfcl): Likewise.
15596 * math/libm-test.inc: Add tests for errors discovered in IBM long
15597 double versions of fmodl, remainderl, erfl and erfcl.
15599 2013-10-04 Alan Modra <amodra@gmail.com>
15601 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
15602 all uses of ieee854 long double macros and unions. Simplify tests
15603 for long doubles that are fully specified by the high double.
15604 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
15606 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
15607 Remove dead code too.
15608 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
15609 (__ieee754_ynl): Likewise.
15610 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
15611 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
15612 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
15613 Remove dead code too.
15614 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
15615 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
15616 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
15617 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
15619 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
15621 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
15622 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
15623 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
15624 Comment on variable precision.
15625 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
15626 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
15628 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
15629 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
15630 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
15631 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
15632 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
15634 2013-10-04 Alan Modra <amodra@gmail.com>
15636 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
15637 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
15638 all uses of ieee854 long double macros and unions.
15639 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
15640 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
15641 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
15642 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
15643 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
15644 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
15646 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
15647 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
15648 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
15649 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
15650 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
15651 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
15652 Simplify sign and nan test too.
15653 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
15654 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
15655 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
15656 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
15658 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
15659 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
15661 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
15662 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
15663 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
15664 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
15665 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
15666 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
15668 2013-10-04 Alan Modra <amodra@gmail.com>
15670 * stdio-common/printf_size.c (__printf_size): Don't use
15671 union ieee854_long_double in fpnum union.
15672 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
15673 signbit macro to retrieve sign from long double.
15674 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
15675 retrieve sign from long double.
15676 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
15677 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
15678 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
15679 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
15680 * math/test-misc.c (main): Don't use union ieee854_long_double.
15682 2013-10-04 Alan Modra <amodra@gmail.com>
15685 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
15686 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
15687 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
15688 calculation. Remove unnecessary test for denormal exponent.
15689 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
15690 Correct handling of denormals. Avoid undefined shift behaviour.
15691 Correct normalisation of low mantissa when low double is denormal.
15692 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
15693 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
15694 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
15695 Correct normalisation of low mantissa. Test for overflow of high
15696 mantissa and normalise.
15697 (ldbl_nearbyint): Use more readable constant for two52.
15698 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
15699 (__mpn_construct_long_double): Fix test for overflow of high
15700 mantissa and correct normalisation. Avoid undefined shift.
15702 2013-10-04 Alan Modra <amodra@gmail.com>
15704 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
15705 (union ibm_extended_long_double): Define as an array of ieee754_double.
15706 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
15707 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
15708 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
15709 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
15710 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
15711 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
15712 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
15713 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
15714 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
15715 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
15716 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
15718 2013-10-03 Joseph Myers <joseph@codesourcery.com>
15720 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
15721 page size instead of calling getpagesize.
15723 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
15724 (LOCFILE_ALIGN_MASK): Likewise.
15725 (LOCFILE_ALIGN_UP): Likewise.
15726 (LOCFILE_ALIGNED_P): Likewise.
15727 * locale/programs/ld-collate.c (collate_output): Use the new
15728 macros instead of __alignof__ (int32_t).
15729 * locale/weight.h (findidx): Likewise.
15731 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
15734 * manual/string.texi: Fix strncat and wcsncat.
15736 2013-10-03 Brooks Moses <bmoses@google.com>
15739 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
15740 * Makerules: ...here, and adjust associated comments.
15742 2013-10-02 Will Newton <will.newton@linaro.org>
15744 * malloc/Makefile: Add tst-pvalloc.
15745 * malloc/tst-pvalloc.c: New file.
15747 2013-10-02 Will Newton <will.newton@linaro.org>
15749 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
15750 improve test coverage.
15752 2013-10-02 Will Newton <will.newton@linaro.org>
15754 * malloc/Makefile: Add tst-posix_memalign.
15755 * malloc/tst-posix_memalign.c: New file.
15757 2013-10-01 Eric Blake <eblake@redhat.com>
15759 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
15760 Use __THROWNL rather than __THROW on static functions.
15762 2013-09-30 Petr Machata <pmachata@redhat.com>
15764 * elf/elf.h (R_AARCH64_ABS16): New macro.
15765 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
15766 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
15767 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
15768 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
15769 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
15770 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
15771 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
15772 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
15773 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
15774 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
15775 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
15776 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
15777 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
15778 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
15779 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
15780 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
15781 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
15782 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
15783 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
15784 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
15785 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
15786 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
15787 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
15788 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
15789 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
15790 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
15791 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
15792 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
15793 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
15794 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
15795 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
15796 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
15797 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
15798 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
15799 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
15800 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
15801 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
15802 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
15803 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
15804 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
15805 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
15806 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
15807 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
15808 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
15809 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
15810 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
15811 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
15812 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
15813 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
15814 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
15815 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
15816 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
15817 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
15818 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
15819 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
15820 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
15821 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
15822 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
15823 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
15824 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
15825 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
15826 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
15827 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
15828 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
15829 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
15830 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
15831 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
15832 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
15833 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
15834 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
15835 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
15836 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
15837 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
15838 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
15839 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
15840 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
15841 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
15842 (R_AARCH64_TLSDESC_LDR): Likewise.
15843 (R_AARCH64_TLSDESC_ADD): Likewise.
15844 (R_AARCH64_TLSDESC_CALL): Likewise.
15846 2013-09-30 Andreas Schwab <schwab@suse.de>
15849 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
15850 the nss database lookup.
15851 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15852 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
15854 2013-09-28 Mike Frysinger <vapier@gentoo.org>
15856 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
15858 2013-09-28 P. J. McDermott <pj@pehjota.net>
15860 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
15861 ${Bash-specific parameter/pattern/string} parameter expansion.
15862 * sysdeps/unix/make-syscalls.sh: Likewise.
15864 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15866 * sysdeps/sh/stackguard-macros.h: New file.
15868 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
15870 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
15871 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
15872 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
15873 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
15874 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
15875 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
15877 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15879 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
15880 Fix thread ID register.
15882 2013-09-25 Joseph Myers <joseph@codesourcery.com>
15884 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
15885 [POSIX || UNIX98]: Require rather than permitting all symbols from
15887 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
15888 element of struct sched_param.
15889 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
15890 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
15891 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
15892 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
15895 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
15897 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
15898 argument calculation.
15900 2013-09-24 Joseph Myers <joseph@codesourcery.com>
15902 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
15904 [POSIX] (pthread_attr_t): Do not require type.
15905 [POSIX] (pthread_cond_t): Likewise.
15906 [POSIX] (pthread_condattr_t): Likewise.
15907 [POSIX] (pthread_key_t): Likewise.
15908 [POSIX] (pthread_mutex_t): Likewise.
15909 [POSIX] (pthread_mutexattr_t): Likewise.
15910 [POSIX] (pthread_once_t): Likewise.
15911 [POSIX] (pthread_t): Likewise.
15912 [POSIX-based standards] (pthread_atfork): Expect function.
15914 2013-09-24 Joseph Myers <joseph@codesourcery.com>
15915 Richard Sandiford <richard@codesourcery.com>
15917 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
15918 (swap_endianness_p): New extern variable.
15919 (set_big_endian): New inline function.
15920 (maybe_swap_uint32): Likewise.
15921 (maybe_swap_uint32_array): Likewise.
15922 (maybe_swap_uint32_obstack): Likewise.
15923 * locale/programs/locfile.c: Include <stdbool.h>.
15924 (swap_endianness_p): New variable.
15925 (add_locale_uint32): Call maybe_swap_uint32.
15926 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
15927 (write_locale_data): Call maybe_swap_uint32_array.
15928 * locale/programs/ld-collate.c (obstack_int32_grow): Call
15930 (obstack_int32_grow_fast): Likewise.
15931 (output_weightwc): Call maybe_swap_uint32_obstack.
15932 (collate_output): Likewise.
15933 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
15934 (OPT_LITTLE_ENDIAN): Likewise.
15935 (options): Add --little-endian and --big-endian options.
15936 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
15937 * locale/programs/locarchive.c: Include "locfile.h".
15941 (create_archive): Use the new macros to access fields of
15942 structures directly mapped from or written to locale archives.
15943 (oldlocrecentcmp): Likewise.
15944 (enlarge_archive): Likewise.
15945 (insert_name): Likewise.
15946 (add_alias): Likewise.
15947 (add_locale): Likewise.
15948 (delete_locales_from_archive): Likewise.
15949 (show_archive_content): Likewise.
15950 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
15953 2013-09-24 Roland McGrath <roland@hack.frob.com>
15955 * manual/freemanuals.texi: Updated from (newly) canonical copy at
15956 http://www.gnu.org/doc/freemanuals.texi.
15957 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
15959 2013-09-24 Will Newton <will.newton@linaro.org>
15961 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
15964 2013-09-23 Joseph Myers <joseph@codesourcery.com>
15966 * locale/hashval.h (compute_hashval): Interpret bytes of key as
15969 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
15971 * manual/threads.texi (POSIX Threads): Fix a typo.
15973 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
15976 * string/tst-strcoll-overflow.c: New test case.
15977 * string/Makefile (xtests): Add tst-strcoll-overflow.
15978 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
15979 cache if string sizes may cause integer overflow.
15982 * string/strcoll_l.c (coll_seq): New members rule, idx,
15983 save_idx and back_us.
15984 (get_next_seq_nocache): New function.
15985 (do_compare_nocache): New function.
15986 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
15989 2013-09-23 Carlos O'Donell <carlos@redhat.com>
15992 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
15993 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
15994 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
15997 * elf/Makefile (tests): Add tst-ptrguard1.
15998 (tests-static): Add tst-ptrguard1-static.
15999 (tst-ptrguard1-ARGS): Define.
16000 (tst-ptrguard1-static-ARGS): Define.
16001 * elf/tst-ptrguard1.c: New file.
16002 * elf/tst-ptrguard1-static.c: New file.
16003 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
16004 * sysdeps/i386/stackguard-macros.h: Likewise.
16005 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
16006 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
16007 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
16008 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
16009 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
16010 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
16012 2013-09-23 Hector Marco <hecmargi@upv.es>
16013 Ismael Ripoll <iripoll@disca.upv.es>
16014 Carlos O'Donell <carlos@redhat.com>
16017 * sysdeps/generic/stackguard-macros.h: Define
16018 __pointer_chk_guard_local and POINTER_CHK_GUARD.
16019 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
16020 Define __pointer_chk_guard_local.
16021 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
16022 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
16024 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
16027 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
16029 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
16031 * include/string.h (__ffs): Declare as hidden.
16032 * string/ffs.c (__ffs): Define as hidden.
16033 * sysdeps/i386/ffs.c (__ffs): Likewise.
16034 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
16035 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
16036 * sysdeps/s390/ffs.c (__ffs): Likewise.
16037 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
16039 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
16041 * NEWS: Mention malloc probes.
16043 * malloc/arena.c (new_heap): New memory_heap_new probe.
16044 (grow_heap): New memory_heap_more probe.
16045 (shrink_heap): New memory_heap_less probe.
16046 (heap_trim): New memory_heap_free probe.
16047 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
16048 (systrim): New memory_sbrk_less probe.
16049 * manual/probes.texi: Document them.
16051 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
16052 * manual/probes.texi: Document it.
16054 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
16055 (__libc_realloc): Add memory_realloc_retry probe.
16056 (__libc_memalign): Add memory_memalign_retry probe.
16057 (__libc_valloc): Add memory_valloc_retry probe.
16058 (__libc_pvalloc): Add memory_pvalloc_retry probe.
16059 (__libc_calloc): Add memory_calloc_retry probe.
16060 * manual/probes.texi: Document them.
16062 * malloc/arena.c (get_free_list): Add probe
16063 memory_arena_reuse_free_list.
16064 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
16065 and memory_arena_reuse.
16066 (arena_get2) [!PER_THREAD]: Likewise.
16067 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
16068 memory_arena_reuse_realloc.
16069 * manual/probes.texi: Document them.
16071 * malloc/malloc.c (__libc_free): Add
16072 memory_mallopt_free_dyn_thresholds probe.
16073 (__libc_mallopt): Add multiple memory_mallopt probes.
16074 * manual/probes.texi: Document them.
16076 * malloc/malloc.c: Include stap-probe.h.
16077 (__libc_mallopt): Add memory_mallopt probe.
16078 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
16079 * manual/probes.texi: New.
16080 * manual/Makefile (chapters): Add probes.
16081 * manual/threads.texi: Set next node.
16083 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
16085 [BZ #15963, #13985]
16086 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
16087 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
16088 Add `Chinese' to `nan' entry name.
16090 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
16092 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
16093 (POLYNOMIAL): Likewise.
16094 (TAYLOR_SINCOS): Likewise.
16095 (TAYLOR_SLOW): Likewise.
16096 (__sin): Use TAYLOR_SINCOS.
16098 (slow): Use TAYLOR_SLOW.
16100 (bsloww): Likewise.
16101 (csloww): Likewise.
16103 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16105 * stdlib/strtod_l.c: Fix buffer overrun.
16107 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
16109 * benchtests/Makefile (bench): Add sincos.
16110 * benchtests/bench-sincos.c: New file.
16112 * math/libm-test.inc (cos_test_data): New test inputs.
16113 (sin_test_data): Likewise.
16115 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
16121 (sloww1): Likewise.
16122 (sloww2): Likewise.
16123 (bsloww1): Likewise.
16124 (bsloww2): Likewise.
16125 (cslow2): Likewise.
16126 (csloww1): Likewise.
16127 (csloww2): Likewise.
16129 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
16134 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
16138 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
16140 * config.h.in (HAVE_MIPS_NAN2008): New macro.
16141 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
16142 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
16143 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
16144 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
16145 * elf/cache.c (print_entry): Handle the new cache flags.
16147 2013-09-18 Joseph Myers <joseph@codesourcery.com>
16148 Aldy Hernandez <aldyh@redhat.com>
16150 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
16151 Change condition to [_SOFT_FLOAT].
16152 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
16153 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
16154 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
16155 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
16156 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
16157 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
16158 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
16159 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
16160 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
16161 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
16162 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
16163 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
16164 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
16165 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
16166 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
16167 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
16170 2013-09-18 Joseph Myers <joseph@codesourcery.com>
16172 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
16173 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
16174 (__longjmp): Use LOAD_GP to load saved GPRs.
16175 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
16176 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
16177 (__sigsetjmp): Use SAVE_GP to save GPRs.
16179 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
16180 Do not append -msoft-float.
16181 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
16183 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
16185 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
16187 2013-09-17 Joseph Myers <joseph@codesourcery.com>
16190 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
16191 (_FPU_GETCW): Use initial "__" on variable and field names but not
16192 on macro parameter name.
16193 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
16194 parentheses around reference to macro parameter.
16196 2013-09-13 Richard Sandiford <richard@codesourcery.com>
16198 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
16200 (ctype_startup): Use uint32_t in cast and sizeof for
16203 2013-09-11 Jia Liu <proljc@gmail.com>
16205 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
16207 [__FreeBSD__]: Likewise.
16209 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
16211 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
16212 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
16213 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
16214 (strchr): Remove __strchr_sse42 ifunc selection.
16215 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
16216 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
16218 2013-09-11 Will Newton <will.newton@linaro.org>
16220 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
16221 parameter to RES. Remove hardcoded 1000 value.
16222 * benchtests/bench-skeleton.c (main): Pass RES parameter
16223 to TIMING_INIT and multiply result by 1000.
16225 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16227 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16229 2013-09-11 Andreas Schwab <schwab@suse.de>
16231 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
16233 (O_TMPFILE) [__USE_GNU]: Define.
16234 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
16237 2013-09-11 Will Newton <will.newton@linaro.org>
16240 * malloc/malloc.c (__libc_memalign): Check the value of bytes
16243 2013-09-11 Will Newton <will.newton@linaro.org>
16246 * malloc/malloc.c (__libc_valloc): Check the value of bytes
16249 2013-09-11 Will Newton <will.newton@linaro.org>
16252 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
16255 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
16257 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
16258 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
16259 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
16260 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
16261 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
16263 2013-09-10 Allan McRae <allan@archlinux.org>
16266 * manual/arith.texi (Parsing of Floats): Clarify
16270 * manual/install.texi (Running make install): Mention
16272 * INSTALL: Regenerated.
16274 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
16276 * csu/init-first.c (_init): Remove the !SHARED condition around
16277 FPU control word initialization.
16278 * elf/dl-support.c (_dl_fpu_control): New variable.
16279 (_dl_aux_init) <AT_FPUCW>: Initialize it.
16280 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
16281 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
16282 * math/test-fpucw-static.c: New file.
16283 * math/test-fpucw-ieee.c: New file.
16284 * math/test-fpucw-ieee-static.c: New file.
16285 * math/Makefile (tests): Add `test-fpucw-ieee' and
16287 (tests-static): New variable.
16288 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
16290 [($(build-shared),yes)]
16291 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
16293 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
16296 2013-09-09 Allan McRae <allan@archlinux.org>
16299 * manual/string.texi (Collation Functions): Fix typo in
16301 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
16304 * stdlib/isomac.c (get_null_defines): Fix memory leak.
16307 * libio/memstream.c (open_memstream): Fix memory leak.
16308 * libio/wmemstream.c (open_wmemstream): Likewise.
16311 * nscd/netgroupcache.c: Fix nesting of ifdefs.
16313 2013-09-09 Will Newton <will.newton@linaro.org>
16315 * malloc/Makefile: Add tst-realloc to tests.
16316 * malloc/tst-realloc.c: New file.
16318 2013-09-09 Allan McRae <allan@archlinux.org>
16321 * COPYING: Update from GNU website to fix FSF address.
16322 * COPYING.LIB: Likewise.
16324 2013-09-06 David S. Miller <davem@davemloft.net>
16326 * po/zh_TW.po: Update Chinese (traditional) translation from
16327 translation project.
16329 2013-09-06 Richard Sandiford <richard@codesourcery.com>
16330 Joseph Myers <joseph@codesourcery.com>
16332 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
16334 (obstack_chunk_alloc): New macro.
16335 (obstack_chunk_free): Likewise.
16336 (record_offset): New function.
16337 (init_locale_data): Likewise.
16338 (align_locale_data): Likewise.
16339 (add_locale_empty): Likewise.
16340 (add_locale_raw_data): Likewise.
16341 (add_locale_raw_obstack): Likewise.
16342 (add_locale_string): Likewise.
16343 (add_locale_wstring): Likewise.
16344 (add_locale_uint32): Likewise.
16345 (add_locale_uint32_array): Likewise.
16346 (add_locale_char): Likewise.
16347 (start_locale_structure): Likewise.
16348 (end_locale_structure): Likewise.
16349 (start_locale_prelude): Likewise.
16350 (end_locale_prelude): Likewise.
16351 (write_locale_data): Take locale_file structure rather than an
16353 * locale/programs/locfile.h: Include "obstack.h".
16354 (struct locale_file): Change to store locale file contents instead
16356 (init_locale_data): New prototype.
16357 (align_locale_data): Likewise.
16358 (add_locale_empty): Likewise.
16359 (add_locale_raw_data): Likewise.
16360 (add_locale_raw_obstack): Likewise.
16361 (add_locale_string): Likewise.
16362 (add_locale_wstring): Likewise.
16363 (add_locale_uint32): Likewise.
16364 (add_locale_uint32_array): Likewise.
16365 (add_locale_char): Likewise.
16366 (start_locale_structure): Likewise.
16367 (end_locale_structure): Likewise.
16368 (start_locale_prelude): Likewise.
16369 (end_locale_prelude): Likewise.
16370 (write_locale_data): Update prototype.
16371 * locale/programs/3level.h (struct TABLE): Remove result field.
16372 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
16373 Use new locale_file interface.
16374 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
16375 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
16376 * locale/programs/ld-address.c (address_output): Use new
16377 locale_file interface.
16378 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
16380 (collate_finish): Don't call collseq_table_finalize.
16381 (collate_output): Use new locale_file interface.
16382 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
16384 (NO_FINALIZE): Change to NO_ADD_LOCALE.
16385 (TABLE): Move defines earlier in file.
16386 (ELEMENT): Likewise.
16387 (DEFAULT): Likewise.
16388 (wctrans_table_add): Move macro and inline function earlier in
16390 (struct wctype_table): Move type earlier in file.
16391 (add_locale_wctype_table): New static prototype.
16392 (struct locale_ctype_t): Use logical types instead of struct iovec
16393 pointers for members.
16394 (ctype_output): Use new locale_file interface.
16395 (wctype_table_finalize): Change to add_locale_wctype_table. Use
16396 new locale_file interface.
16397 (allocate_arrays): Update for use of new locale_file interface.
16398 * locale/programs/ld-identification.c (identification_output): Use
16399 new locale_file interface.
16400 * locale/programs/ld-measurement.c (measurement_output): Likewise.
16401 * locale/programs/ld-messages.c (messages_output): Likewise.
16402 * locale/programs/ld-monetary.c (monetary_output): Likewise.
16403 * locale/programs/ld-name.c (name_output): Likewise.
16404 * locale/programs/ld-numeric.c (numeric_output): Likewise.
16405 * locale/programs/ld-paper.c (paper_output): Likewise.
16406 * locale/programs/ld-telephone.c (telephone_output): Likewise.
16407 * locale/programs/ld-time.c (time_output): Likewise.
16409 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16411 * benchtests/Makefile: Add memrchr benchmark.
16412 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
16413 benchmark as memrchr.
16414 * benchtests/bench-memrchr-ifunc.c: New file.
16415 * benchtests/bench-memrchr.c: New file.
16417 2013-09-06 Will Newton <will.newton@linaro.org>
16419 * benchtests/Makefile (string-bench): Add memcpy.
16421 2013-09-05 Carlos O'Donell <carlos@redhat.com>
16422 Cong Wang <amwang@redhat.com>
16425 * sysdeps/unix/sysv/linux/bits/in.h
16426 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
16427 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
16428 before __USE_KERNEL_IPV6_DEFS uses.
16429 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
16431 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
16432 sockaddr_in6, or ipv6_mreq.
16434 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16436 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
16437 memory access for final bytes in some large inputs.
16438 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
16440 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16442 * string/test-memrchr.c: New file.
16443 * string/test-memrchr-ifunc.c: New file.
16444 * string/Makefile: Add new memrchr testcase.
16446 2013-09-05 Mike Frysinger <vapier@gentoo.org>
16448 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
16449 fanotify_init returns EPERM.
16451 2013-09-04 Joseph Myers <joseph@codesourcery.com>
16453 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
16455 (top level): Treat second token from macro or constant entries for
16456 allowed headers as allowed.
16457 * include/complex.h: Condition internal declarations on
16459 * include/fenv.h: Condition include of <stdbool.h> and internal
16460 declarations on [!_ISOMAC].
16462 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
16465 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
16467 2013-09-04 Joseph Myers <joseph@codesourcery.com>
16469 * configure.in (--enable-versioning): Remove configure option.
16470 (libc_cv_asm_symver_directive): Remove configure test.
16471 (libc_cv_ld_version_script_option): Likewise.
16472 (VERSIONING): Remove variable and AC_SUBST.
16473 (DO_VERSIONING): Remove AC_DEFINE.
16474 * configure: Regenerated.
16475 * config.h.in (DO_VERSIONING): Remove macro.
16476 * Makerules [$(versioning) = yes]: Change conditionals to
16477 [$(build-shared) = yes].
16478 * config.make.in (versioning): Remove variable.
16479 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
16480 [$(build-shared) = yes].
16481 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
16482 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
16483 * elf/Makefile [$(versioning) = yes]: Change conditionals to
16484 [$(build-shared) = yes].
16485 * extra-lib.mk [$(versioning) = yes]: Likewise.
16486 * hurd/Makefile [$(versioning) = yes]: Likewise.
16487 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
16489 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
16491 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
16492 [SHARED && !NO_HIDDEN].
16493 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
16495 [SHARED && DO_VERSIONING]: Likewise..
16496 * libio/Makefile [$(versioning) = yes]: Change conditionals to
16497 [$(build-shared) = yes].
16498 * manual/install.texi (--disable-versioning): Remove
16500 * INSTALL: Regenerated.
16501 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
16503 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
16504 [$(build-shared) = yes].
16505 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
16506 * sysdeps/i386/i686/multiarch/strstr-c.c
16507 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
16508 [SHARED && !NO_HIDDEN].
16509 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
16510 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
16511 * sysdeps/powerpc/powerpc32/dl-machine.c
16512 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
16513 * sysdeps/powerpc/powerpc32/sysdep.h
16514 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
16515 to [SHARED && PIC && !NO_HIDDEN].
16516 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
16517 conditional to [SHARED].
16519 2013-09-04 Will Newton <will.newton@linaro.org>
16521 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
16522 * benchtests/bench-string.h: Include bench-timing.h instead
16523 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
16524 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
16525 call to HP_TIMING_DIFF_INIT.
16526 * benchtests/bench-memccpy.c: Use bench-timing.h macros
16527 instead of hp-timing.h macros.
16528 * benchtests/bench-memchr.c: Likewise.
16529 * benchtests/bench-memcmp.c: Likewise.
16530 * benchtests/bench-memcpy.c: Likewise.
16531 * benchtests/bench-memmem.c: Likewise.
16532 * benchtests/bench-memmove.c: Likewise.
16533 * benchtests/bench-memset.c: Likewise.
16534 * benchtests/bench-rawmemchr.c: Likewise.
16535 * benchtests/bench-strcasecmp.c: Likewise.
16536 * benchtests/bench-strcasestr.c: Likewise.
16537 * benchtests/bench-strcat.c: Likewise.
16538 * benchtests/bench-strchr.c: Likewise.
16539 * benchtests/bench-strcmp.c: Likewise.
16540 * benchtests/bench-strcpy.c: Likewise.
16541 * benchtests/bench-strcpy_chk.c: Likewise.
16542 * benchtests/bench-strlen.c: Likewise.
16543 * benchtests/bench-strncasecmp.c: Likewise.
16544 * benchtests/bench-strncat.c: Likewise.
16545 * benchtests/bench-strncmp.c: Likewise.
16546 * benchtests/bench-strncpy.c: Likewise.
16547 * benchtests/bench-strnlen.c: Likewise.
16548 * benchtests/bench-strpbrk.c: Likewise.
16549 * benchtests/bench-strrchr.c: Likewise.
16550 * benchtests/bench-strspn.c: Likewise.
16551 * benchtests/bench-strstr.c: Likewise.
16553 2013-09-04 Will Newton <will.newton@linaro.org>
16555 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
16557 2013-09-03 Joseph Myers <joseph@codesourcery.com>
16560 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
16561 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
16562 * math/libm-test.inc (lgamma_test_data): Add more tests.
16563 * sysdeps/i386/fpu/libm-test-ulps: Update.
16564 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16566 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
16568 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
16569 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
16571 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
16572 Add strcmp-sse2-unaligned
16573 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
16575 2013-09-02 Mike Frysinger <vapier@gentoo.org>
16577 * Versions.def (libc): Add GLIBC_2.19.
16579 2013-09-02 Mike Frysinger <vapier@gentoo.org>
16581 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
16582 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
16584 2013-09-02 Joseph Myers <joseph@codesourcery.com>
16587 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
16588 intermediate calculations in recurrence.
16589 (__ieee754_ynf): Likewise.
16590 * math/libm-test.inc (jn_test_data): Do not allow spurious
16591 underflow exception. Add more tests.
16592 (yn_test_data): Add more tests.
16593 * sysdeps/i386/fpu/libm-test-ulps: Update.
16594 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16596 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
16598 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
16600 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
16602 * csu/init-first.c: Fix then/than typos.
16603 * locale/programs/ld-collate.c: Likewise.
16604 * locale/programs/linereader.h: Likewise.
16605 * manual/charset.texi: Likewise.
16606 * manual/filesys.texi: Likewise.
16607 * manual/stdio.texi: Likewise.
16608 * manual/string.texi: Likewise.
16609 * stdlib/fmtmsg.c: Likewise.
16610 * sysdeps/i386/stpncpy.S: Likewise.
16611 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
16612 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
16613 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
16614 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
16616 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
16618 * elf/dl-open.c: Fix typos.
16619 * iconvdata/gbbig5.c: Likewise.
16620 * iconvdata/iso-2022-jp.c: Likewise.
16621 * iconv/gconv_int.h: Likewise.
16622 * iconv/loop.c: Likewise.
16623 * nis/rpcsvc/nis.h: Likewise.
16624 * resolv/ns_name.c: Likewise.
16625 * stdio-common/vfscanf.c: Likewise.
16626 * streams/stropts.h: Likewise.
16627 * sunrpc/rpc_thread.c: Likewise.
16628 * sysdeps/i386/strpbrk.S: Likewise.
16629 * sysdeps/ieee754/k_standard.c: Likewise.
16630 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
16631 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
16632 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
16633 * sysdeps/mach/hurd/profil.c: Likewise.
16634 * sysdeps/s390/dl-procinfo.h: Likewise.
16635 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
16636 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
16637 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
16638 * sysdeps/x86_64/dl-trampoline.S: Likewise.
16639 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
16641 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
16643 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
16644 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
16646 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
16648 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
16649 aix specific files.
16650 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
16651 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
16652 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
16653 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
16654 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
16655 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
16656 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
16657 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
16659 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
16660 Roland McGrath <roland@hack.frob.com>
16662 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
16663 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
16665 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
16667 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
16668 __executable_start symbol instead of _start.
16670 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
16672 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
16673 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
16675 * sysdeps/gnu/ldsodefs.h: ... this new file.
16677 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
16678 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
16679 instead of ELFOSABI_LINUX.
16681 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
16682 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
16683 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
16684 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
16686 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
16687 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
16688 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
16690 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
16691 (ibm_extended_long_double): Add ieee_nan member.
16692 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
16693 (do_test): New function.
16695 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
16697 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
16698 functions, renamed from truncdfsf_test, trunctfsf_test,
16700 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
16702 (do_test): Run all these.
16704 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
16706 * argp/argp-help.c: Fix typos.
16707 * argp/argp-parse.c: Likewise.
16708 * debug/backtracesyms.c: Likewise.
16709 * elf/elf.h: Likewise.
16710 * malloc/malloc.c: Likewise.
16711 * nis/nis_print.c: Likewise.
16712 * resolv/res_comp.c: Likewise.
16713 * stdlib/stdlib.h: Likewise.
16714 * sunrpc/clnt_tcp.c: Likewise.
16715 * sunrpc/clnt_udp.c: Likewise.
16716 * sunrpc/clnt_unix.c: Likewise.
16717 * sysdeps/unix/bsd/ptsname.c: Likewise.
16718 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
16719 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
16720 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
16722 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
16724 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
16726 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
16728 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16730 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
16731 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
16733 2013-08-27 Mike Frysinger <vapier@gentoo.org>
16736 * dlfcn/Makefile (tests): Add bug-dl-leaf.
16737 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
16738 ($(objpfx)bug-dl-leaf): New rule.
16739 ($(objpfx)bug-dl-leaf.so): Likewise.
16740 ($(objpfx)bug-dl-leaf.out): Likewise.
16741 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
16742 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
16743 * dlfcn/bug-dl-leaf.c: New test.
16744 * dlfcn/bug-dl-leaf-lib.c: Likewise.
16745 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
16746 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
16747 (dlclose): Likewise.
16748 (dlmopen): Likewise.
16750 2013-08-27 Roland McGrath <roland@hack.frob.com>
16752 * include/netdb.h [!_ISOMAC]:
16753 Don't include <tls.h>.
16754 (h_errno, __libc_h_errno): Move declaration and macros out of
16757 * include/resolv.h [_RESOLV_H_]:
16758 Don't include <tls.h>.
16759 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
16760 * resolv/res_libc.c: Don't include <tls.h>.
16761 (_res): Use __attribute__ ((nocommon)) in place of
16762 __attribute__ ((section (".bss"))).
16764 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
16765 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
16767 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
16769 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
16770 only under [SIOCGIFCONF && SIOCGIFNETMASK].
16772 * resolv/res_mkquery.c: Include <sys/time.h>.
16774 * inet/ifreq.c: Moved to ...
16775 * sysdeps/unix/ifreq.c: ... here.
16776 * inet/ifreq.c: New file, true stub version.
16778 * socket/sa_len.c: New file.
16779 * socket/Makefile (aux): Add it.
16780 * sysdeps/unix/sysv/linux/Makefile
16781 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
16782 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
16783 and #include <socket/sa_len.c>.
16784 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
16785 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
16787 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
16788 * bits/socket.h: ... here.
16790 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
16791 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
16792 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
16794 2013-08-27 Andreas Schwab <schwab@suse.de>
16797 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
16798 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
16799 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
16800 * string/test-strcasecmp.c (test_main): Run tests in several
16802 * string/test-strncasecmp.c (test_main): Likewise.
16804 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
16805 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
16806 to __strcasecmp_nonascii and __strncasecmp_nonascii.
16807 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
16808 (__strncasecmp_ssse3) [PIC]: Likewise.
16810 2013-08-26 Roland McGrath <roland@hack.frob.com>
16812 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
16814 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
16815 instead of explicitly declaring xdecrypt.
16816 * nis/nss_nis/nis-publickey.c: Likewise.
16818 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16821 * nscd/aicache.c: Include res_hconf.h.
16822 (addhstaiX): Initialize res_hconf.
16824 2013-08-26 Andreas Schwab <schwab@suse.de>
16826 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
16827 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
16829 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16831 * nscd/aicache.c (addhstaiX): Fix indentation.
16833 2013-08-25 Mike Frysinger <vapier@gentoo.org>
16835 * configure.ac: Quote $build_pt_chown test.
16836 * configure: Regenerated.
16838 2013-08-23 Joseph Myers <joseph@codesourcery.com>
16841 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
16842 * math/s_cexpf.c (__cexpf): Likewise.
16843 * math/s_cexpl.c (__cexpl): Likewise.
16844 * math/libm-test.inc (cexp_test_data): Correct expected return
16845 value for NaN + i0. Add another test.
16847 2013-08-22 David S. Miller <davem@davemloft.net>
16849 * po/ca.po: Update Catalan translation from translation project.
16850 * po/uk.po: Add Ukrainian translations from translation project.
16852 2013-08-21 Joseph Myers <joseph@codesourcery.com>
16855 * math/s_fdim.c (__fdim): Check for infinite arguments if result
16856 is infinite, not alongside NaN test.
16857 * math/s_fdimf.c (__fdimf): Likewise.
16858 * math/s_fdiml.c (__fdiml): Likewise.
16859 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
16860 errno is unchanged.
16862 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
16864 * argp/argp-help.c: Fix typos.
16865 * crypt/speeds.c: Likewise.
16866 * csu/check_fds.c: Likewise.
16867 * elf/dl-load.c: Likewise.
16868 * elf/dl-open.c: Likewise.
16869 * elf/reldep3.c: Likewise.
16870 * elf/reldep.c: Likewise.
16871 * elf/sprof.c: Likewise.
16872 * iconv/iconv_charmap.c: Likewise.
16873 * iconv/skeleton.c: Likewise.
16874 * iconv/strtab.c: Likewise.
16875 * io/lockf64.c: Likewise.
16876 * libio/libioP.h: Likewise.
16877 * resolv/gai_notify.c: Likewise.
16878 * resolv/ns_name.c: Likewise.
16879 * resolv/ns_samedomain.c: Likewise.
16880 * resolv/res_send.c: Likewise.
16881 * stdlib/random.c: Likewise.
16882 * sunrpc/rpc/xdr.h: Likewise.
16883 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
16884 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
16885 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
16886 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
16887 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
16888 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
16889 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
16890 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
16891 * sysdeps/mach/hurd/check_fds.c: Likewise.
16892 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
16893 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
16894 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
16895 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
16896 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
16897 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
16898 * sysdeps/pthread/aio_notify.c: Likewise.
16899 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
16900 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
16901 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
16902 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
16903 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
16905 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16907 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
16908 version if bit_Slow_SSE4_2 is set.
16909 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
16910 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
16912 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16915 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
16916 trampoline stack frame information.
16917 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
16918 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
16919 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
16920 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
16921 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
16922 * sysdeps/unix/sysv/linux/powerpc/init-first.c
16923 (_libc_vdso_platform_setup): Initialize the signal trampolines.
16924 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
16926 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
16927 interrupting a syscall and set with option SA_SIGINFO.
16929 2013-08-20 Joseph Myers <joseph@codesourcery.com>
16932 * math/s_cproj.c (__cproj): Only return an infinity if one part of
16933 argument is infinite.
16934 * math/s_cprojf.c (__cprojf): Likewise.
16935 * math/s_cprojl.c (__cprojl): Likewise.
16936 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
16937 * math/libm-test.inc (cproj_test_data): Add more tests.
16939 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
16941 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
16942 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
16943 size. Use __ffs to determine corresponding shift.
16945 2013-08-20 Joseph Myers <joseph@codesourcery.com>
16946 Roland McGrath <roland@hack.frob.com>
16948 * Makefile (INSTALL): Remove trailing blank lines from output of
16951 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16953 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
16954 Align 32 bit compat elf_greg to 8 bytes.
16956 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
16958 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
16960 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
16962 * string/strcoll_l.c (coll_seq): New structure.
16963 (get_next_seq_cached): New function.
16964 (get_next_seq): New function.
16965 (do_compare): New function.
16966 (STRCOLL): Use GNU style definition. Simplify implementation
16967 by using get_next_seq, get_next_seq_cached and do_compare.
16969 2013-08-16 Florian Weimer <fweimer@redhat.com>
16973 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
16975 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
16977 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
16978 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
16979 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
16981 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
16982 GETDENTS_64BIT_ALIGNED.
16983 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
16984 * manual/filesys.texi (Reading/Closing Directory): Document
16985 ENAMETOOLONG return value of readdir_r. Recommend readdir more
16987 * manual/conf.texi (Limits for Files): Add portability note to
16988 NAME_MAX, PATH_MAX.
16989 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
16991 2013-08-13 Andreas Schwab <schwab@suse.de>
16994 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
16996 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
16997 LDBL_MAX_EXP >= 16384]: Add tests for it.
16999 2013-08-12 David S. Miller <davem@davemloft.net>
17001 * version.h (RELEASE): Set to "development".
17002 (VERSION): Set to "2.18.90".
17003 * NEWS: Add 2.19 section.
17005 2013-08-03 David S. Miller <davem@davemloft.net>
17007 * po/ko.po: Update Korean translation from translation project.
17009 2013-08-01 David S. Miller <davem@davemloft.net>
17011 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
17012 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
17015 2013-07-30 David S. Miller <davem@davemloft.net>
17017 * po/fr.po: Update French translation from translation project.
17019 2013-07-28 David S. Miller <davem@davemloft.net>
17021 * po/cs.po: Update Czech translation from translation project.
17023 * po/sv.po: Update Swedish translation from translation project.
17025 2013-07-27 David S. Miller <davem@davemloft.net>
17027 * po/eo.po: Update Esperanto translation from translation project.
17029 * po/vi.po: Update Vietnamese translation from translation project.
17031 * po/de.po: Update German translation from translation project.
17033 2013-07-26 David S. Miller <davem@davemloft.net>
17035 * po/bg.po: Update Bulgarian translation from translation project.
17037 * po/nl.po: Update Dutch translation from translation project.
17038 * po/pl.po: Update Polish translation from translation project.
17039 * po/ru.po: Update Russian translation from translation project.
17041 2013-07-24 David S. Miller <davem@davemloft.net>
17043 * po/libc.pot: Update.
17045 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17047 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
17048 variable page size.
17049 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
17050 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
17051 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
17053 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17055 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
17057 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17058 Andreas Schwab <schwab@suse.de>
17059 Roland McGrath <roland@hack.frob.com>
17060 Joseph Myers <joseph@codesourcery.com>
17061 Carlos O'Donell <carlos@redhat.com>
17064 * config.h.in: Define HAVE_PT_CHOWN.
17065 * config.make.in (build-pt-chown): New variable.
17066 * configure.in (--enable-pt_chown): New configure option.
17067 * configure: Regenerate.
17068 * login/Makefile: Include Makeconfig. Build pt_chown only if
17069 build-pt-chown is enabled.
17070 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
17071 pt_chown to fix pty ownership.
17072 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
17074 * manual/install.texi (Configuring and compiling): Mention
17075 --enable-pt_chown. Add @findex for grantpt.
17076 * INSTALL: Regenerate.
17078 2013-07-20 David S. Miller <davem@davemloft.net>
17080 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
17081 difference between 32-bit and 64-bit.
17083 2013-07-15 Carlos O'Donell <carlos@redhat.com>
17086 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
17087 Avoid system header dependency with -ffreestanding.
17088 ($(objpfx)bits/syscall%d): Likewise.
17090 2013-07-13 David S. Miller <davem@davemloft.net>
17092 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
17093 underflows from atanl/atan2l due to bug 15319.
17094 (casinh_test_data): Likewise.
17096 2013-07-07 David S. Miller <davem@davemloft.net>
17098 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
17100 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
17102 * sysdeps/i386/fpu/libm-test-ulps: Update.
17103 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17105 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
17107 * configure.in (--enable-lock-elision): Fix message text.
17108 * INSTALL: Regenerate.
17109 * configure: Regenerate.
17111 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17113 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17115 2013-07-03 Andreas Jaeger <aj@suse.de>
17117 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
17119 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
17120 (ptrace_peeksiginfo_args): Add.
17121 (__ptrace_peeksiginfo_flags): Add.
17122 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
17123 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
17124 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
17126 2013-07-03 Allan McRae <allan@archlinux.org>
17128 * sysdeps/i386/fpu/libm-test-ulps: Update.
17130 2013-07-02 David S. Miller <davem@davemloft.net>
17132 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17134 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
17136 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17138 2013-07-02 Joseph Myers <joseph@codesourcery.com>
17140 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
17141 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17143 2013-07-02 Andi Kleen <ak@linux.intel.com>
17145 * config.h.in (ENABLE_LOCK_ELISION): Add.
17146 * configure.in (--enable-lock-elision): Add option.
17147 * manual/install.texi: Document --enable lock elision.
17148 * configure: Regenerate
17149 * INSTALL: Regenerate.
17151 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
17153 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
17154 SSE4.2 strcasecmp for libc.a.
17155 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
17157 2013-07-02 Joseph Myers <joseph@codesourcery.com>
17160 * soft-fp/op-common.h (_FP_FMA): New macro.
17161 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
17162 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
17163 (_FP_MUL_MEAT_1_imm): ... here.
17164 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
17165 (_FP_MUL_MEAT_1_wide): ... here.
17166 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
17167 (_FP_MUL_MEAT_1_hard): ... here.
17168 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
17169 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
17170 (_FP_MUL_MEAT_2_wide): ... here.
17171 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
17172 (_FP_MUL_MEAT_2_wide_3mul): ... here.
17173 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
17174 (_FP_MUL_MEAT_2_gmp): ... here.
17175 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
17176 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
17177 (_FP_MUL_MEAT_4_wide): ... here.
17178 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
17179 (_FP_MUL_MEAT_4_gmp): ... here.
17180 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
17181 (_FP_WFRACBITS_DW_S): Likewise.
17182 (_FP_WFRACXBITS_DW_S): Likewise.
17183 (_FP_HIGHBIT_DW_S): Likewise.
17184 (FP_FMA_S): Likewise.
17185 (_FP_FRAC_HIGH_DW_S): Likewise.
17186 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
17187 (_FP_WFRACBITS_DW_D): Likewise.
17188 (_FP_WFRACXBITS_DW_D): Likewise.
17189 (_FP_HIGHBIT_DW_D): Likewise.
17190 (FP_FMA_D): Likewise.
17191 (_FP_FRAC_HIGH_DW_D): Likewise.
17192 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
17193 (_FP_WFRACBITS_DW_E): Likewise.
17194 (_FP_WFRACXBITS_DW_E): Likewise.
17195 (_FP_HIGHBIT_DW_E): Likewise.
17196 (FP_FMA_E): Likewise.
17197 (_FP_FRAC_HIGH_DW_E): Likewise.
17198 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
17199 (_FP_WFRACBITS_DW_Q): Likewise.
17200 (_FP_WFRACXBITS_DW_Q): Likewise.
17201 (_FP_HIGHBIT_DW_Q): Likewise.
17202 (FP_FMA_Q): Likewise.
17203 (_FP_FRAC_HIGH_DW_Q): Likewise.
17204 * soft-fp/fmasf4.c: New file.
17205 * soft-fp/fmadf4.c: Likewise.
17206 * soft-fp/fmatf4.c: Likewise.
17208 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17210 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
17211 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
17213 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
17215 (index_Slow_SSE4_2): Likewise.
17216 (index_Prefer_PMINUB_for_stringop): Likewise.
17217 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
17218 bit_Slow_SSE4_2 is set.
17219 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
17220 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
17222 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17224 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
17225 rtld_global._dl_hwcap2.
17226 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
17228 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
17229 POWER8 feature descriptions defined in _dl_hwcap2.
17230 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
17231 string handling for POWER8 feature bits.
17232 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
17233 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
17234 _dl_powerpc_cap_flags.
17235 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
17236 * sysdeps/powerpc/rtld-global-offsets.sym
17237 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
17238 _dl_hwcap2 in the rtld_global_ro structure.
17240 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17242 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
17243 hardware capabilities in support of AT_HWCAP2.
17244 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
17245 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
17247 (_dl_show_auxv): Add support for calling _dl_procinfo to display
17248 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
17249 explicitly the unknown a_type display mechanism is used.
17250 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
17251 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
17253 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
17254 to macro prototype for AT_HWCAP2 support.
17255 * sysdeps/i386/dl-procinfo.h: Likewise.
17256 * sysdeps/s390/dl-procinfo.h: Likewise.
17257 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
17258 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
17259 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
17260 return -1 for unknown a_type display fallback.
17261 * sysdeps/sparc/dl-procinfo.h: Likewise.
17262 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
17263 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
17265 2013-06-28 Joseph Myers <joseph@codesourcery.com>
17267 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
17268 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
17270 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
17273 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
17274 mprotect making __stack_prot writable.
17276 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
17277 Joseph Myers <joseph@codesourcery.com>
17279 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
17280 as being properly aligned.
17282 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
17284 * dlfcn/modstatic5.c: New file.
17285 * dlfcn/tststatic5.c: New file.
17286 * dlfcn/Makefile (tests): Add tststatic5.
17287 (tests-static): Likewise.
17288 (modules-names): Add modstatic5.
17289 (tststatic5-ENV): New variable.
17290 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
17293 * elf/dl-support.c (_dl_main_map): New variable.
17294 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
17295 (_dl_nns, _dl_load_adds): Set to 1.
17296 (_dl_initial_searchlist): Refer to _dl_main_map.
17297 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
17298 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
17299 call to _dl_get_origin.
17300 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
17302 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
17303 * dlfcn/modstatic3.c: New file.
17304 * dlfcn/tststatic3.c: New file.
17305 * dlfcn/tststatic4.c: New file.
17306 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
17307 (tests-static): Likewise.
17308 (modules-names): Add modstatic3.
17309 (tststatic3-ENV, tststatic4-ENV): New variables.
17310 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
17311 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
17313 2013-06-26 Joseph Myers <joseph@codesourcery.com>
17315 * configure.in (CC): Require GCC version 4.4 or later.
17316 * configure: Regenerated.
17317 * manual/install.texi (Tools for Compilation): Update GCC version
17319 * INSTALL: Regenerated.
17321 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17324 * string/test-memcmp.c (check2): New.
17325 (main): Call check2.
17327 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
17329 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
17332 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
17334 (dl_open_worker) [!SHARED]: ... here.
17336 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17338 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
17340 2013-06-25 Richard Henderson <rth@redhat.com>
17342 * locale/programs/locarchive.c: Include <libc-internal.h>
17344 2013-06-25 Joseph Myers <joseph@codesourcery.com>
17346 * manual/texinfo.tex: Update to version 2013-06-21.17, with
17347 trailing whitespace removed.
17349 2013-06-24 Mike Frysinger <vapier@gentoo.org>
17352 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
17353 * locale/programs/locarchive.c: Include libc-mmap.h.
17354 (prepare_address_space): Take two new outputs (the mmap base and len).
17355 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
17357 (create_archive): Declare new mmap base and len values for
17358 prepare_address_space, and store the result in ah.
17359 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
17360 (enlarge_archive): If ah->mmap_base is not NULL, use that and
17361 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
17362 Declare new mmap base and len values for
17363 prepare_address_space, and store the result in new_ah.
17364 (open_archive): Declare new mmap base and len values for
17365 prepare_address_space, and store the result in ah.
17366 (close_archive): If ah->mmap_base is not NULL, use that and
17367 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
17368 * sysdeps/generic/libc-mmap.h: New file.
17370 2013-06-24 Mike Frysinger <vapier@gentoo.org>
17372 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
17373 (ALIGN_UP): Likewise.
17374 (PTR_ALIGN_DOWN): Likewise.
17375 (PTR_ALIGN_UP): Likewise.
17377 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17379 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
17380 entry mapped to PPC_PLATFORM_POWER8.
17381 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
17383 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
17384 (_dl_string_platform): Add case for exporting platform position for
17386 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
17387 search path to sysdeps/powerpc/powerpc32/power8 directory.
17388 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
17389 search path to sysdeps/powerpc/powerpc64/power8 directory.
17390 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
17391 power7 directories.
17392 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
17393 power7 directories.
17395 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
17397 * INSTALL: Regenerate.
17399 * nscd/connections.c (nscd_init): Fix comment.
17401 2013-06-22 Joseph Myers <joseph@codesourcery.com>
17403 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
17406 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
17407 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
17409 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
17411 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
17413 (DL_DST_REQ_STATIC): Remove macro.
17415 2013-06-21 Joseph Myers <joseph@codesourcery.com>
17418 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
17419 with a shift of 0 bits.
17421 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
17423 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
17426 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17429 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
17431 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17433 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
17434 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
17435 accepts -fno-tree-loop-distribute-patterns.
17436 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
17437 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
17439 * string/memset.c (memset): Likewise.
17440 * string/test-memmove.c (simple_memmove): Disable loop transformation
17442 * string/test-memset.c (simple_memset): Likewise.
17443 * benchtests/bench-memmove.c (simple_memmove): Likewise.
17444 * benchtests/bench-memset.c (simple_memset): Likewise.
17445 * configure: Regenerated.
17447 2013-06-20 Joseph Myers <joseph@codesourcery.com>
17449 * math/test-misc.c (main): Ignore fesetround failure when failures
17450 of subsequent rounding tests would be ignored.
17453 * math/fedisblxcpt.c (fedisableexcept): Return 0.
17454 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
17455 * math/fegetenv.c (__fegetenv): Return 0.
17456 * math/fegetexcept.c (fegetexcept): Return 0.
17457 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
17459 * math/feholdexcpt.c (feholdexcept): Return 0.
17460 * math/fesetenv.c (__fesetenv): Return 0.
17461 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
17462 argument FE_TONEAREST.
17463 * math/feupdateenv.c (__feupdateenv): Return 0.
17464 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
17466 2013-06-18 Roland McGrath <roland@hack.frob.com>
17468 * elf/rtld-Rules (rtld-compile-command.S): New variable.
17469 (rtld-compile-command.s, rtld-compile-command.c): New variables.
17470 ($(objpfx)rtld-%.os rules): Use them.
17472 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17474 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
17477 2013-06-17 Roland McGrath <roland@hack.frob.com>
17479 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
17480 length of target pattern, then descending length of dependency pattern.
17481 * configure.in (AWK): Require gawk 3.1.2 or newer.
17482 * manual/install.texi (Tools for Compilation): Say that we do.
17483 * configure: Regenerated.
17485 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
17486 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
17487 * scripts/sysd-rules.awk: ... this new script.
17488 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
17489 than a glob-style pattern.
17491 2013-06-17 Joseph Myers <joseph@codesourcery.com>
17493 * math/test-misc.c (main): Do not treat incorrectly rounded
17494 conversions as failure unless ROUNDING_TESTS passes.
17496 2013-06-15 Joseph Myers <joseph@codesourcery.com>
17499 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
17500 restore exception state around main square root computation, then
17501 check for inexactness explicitly.
17503 * math/libm-test.inc (fma_test_data): Add another test.
17505 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
17507 * manual/threads.texi (Non-POSIX Extensions): New document
17508 node. Document pthread_getattr_default_np and
17509 pthread_setattr_default_np.
17511 * Versions.def (libpthread): Add GLIBC_2.18.
17512 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
17513 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
17515 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
17517 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
17519 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
17521 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
17523 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
17525 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
17527 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
17529 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
17532 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17534 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17535 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
17537 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
17538 H.J. Lu <hjl.tools@gmail.com>
17541 * sysdeps/x86_64/rtld-memset.c: Remove file.
17542 * sysdeps/x86_64/rtld-memset.S: New file.
17544 2013-06-14 Joseph Myers <joseph@codesourcery.com>
17546 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
17547 (test_in_one_mode): Take arguments for whether the rounding mode
17548 is supported for each floating-point type.
17549 (do_test): Pass new arguments to test_in_one_mode using
17552 2013-06-13 Roland McGrath <roland@hack.frob.com>
17554 * posix/tst-waitid.c (do_test): Distinguish different instances of
17555 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
17556 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
17557 before entering the kernel for waitpid.
17559 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
17561 * NEWS: Fix note on clock function precision. Text by Roland
17564 2013-06-13 Roland McGrath <roland@hack.frob.com>
17566 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
17567 it into place only when and if the sanity check passes.
17569 2013-06-13 Joseph Myers <joseph@codesourcery.com>
17571 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
17572 output for whether conversion result is exact. Take argument
17573 indicating whether type is IBM long double.
17574 (round_for_all): Change need_exact field to ibm_ld.
17575 * stdlib/tst-strtod-round.c (struct exactness): New type.
17576 (struct test): Change bool ld_ok field to struct exactness exact.
17577 (TEST): Update all definitions for change to field.
17578 (tests): Regenerate array contents.
17579 (test_in_one_mode): Take pointer to new field instead of old ld_ok
17580 field value. Check for IBM long double here.
17581 (do_test): Update calls to test_in_one_mode.
17583 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
17586 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
17587 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
17589 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17592 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
17593 generated by the compiler on loop optimizations.
17594 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
17595 general definitions.
17597 2013-06-12 Joseph Myers <joseph@codesourcery.com>
17599 * math/bug-nextafter.c: Include <math-tests.h>.
17600 (main): Only test for exceptions if EXCEPTION_TESTS is true for
17602 * math/bug-nexttoward.c: Include <math-tests.h>.
17603 (main): Only test for exceptions if EXCEPTION_TESTS is true for
17605 * math/test-misc.c: Include <math-tests.h>.
17606 (main): Only test for exceptions if EXCEPTION_TESTS is true for
17609 2013-06-12 Andreas Jaeger <aj@suse.de>
17611 * po/ia.po: Update Interlingua translation from translation
17614 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
17616 * include/fenv.h: Include stdbool.h.
17617 (struct rm_ctx): New structure.
17618 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
17620 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
17621 (SET_RESTORE_ROUNDF): Likewise.
17622 (SET_RESTORE_ROUNDL): Likewise.
17623 (SET_RESTORE_ROUND_NOEX): Likewise.
17624 (SET_RESTORE_ROUND_NOEXF): Likewise.
17625 (SET_RESTORE_ROUND_NOEXL): Likewise.
17626 (SET_RESTORE_ROUND_53BIT): Likewise.
17627 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
17628 (libc_feresetround_noexf_ctx): Likewise.
17629 (libc_feresetround_noexl_ctx): Likewise.
17630 (libc_feholdsetround_53bit_ctx): Likewise.
17631 (libc_feresetround_53bit_ctx): Likewise.
17632 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
17633 (libc_feholdexcept_setround_sse_ctx): New function.
17634 (libc_fesetenv_sse_ctx): Likewise.
17635 (libc_feupdateenv_sse_ctx): Likewise.
17636 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
17637 (libc_feholdexcept_setround_387_ctx): Likewise.
17638 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
17639 (libc_feholdsetround_387_prec_ctx): Likewise.
17640 (libc_feholdsetround_387_ctx): Likewise.
17641 (libc_feholdsetround_387_53bit_ctx): Likewise.
17642 (libc_feholdsetround_sse_ctx): Likewise.
17643 (libc_feresetround_sse_ctx): Likewise.
17644 (libc_feresetround_387_ctx): Likewise.
17645 (libc_feupdateenv_387_ctx): Likewise.
17646 (libc_feholdexcept_setroundf_ctx): Define macro.
17647 (libc_fesetenvf_ctx): Likewise.
17648 (libc_feupdateenvf_ctx): Likewise.
17649 (libc_feholdsetroundf_ctx): Likewise.
17650 (libc_feresetroundf_ctx): Likewise.
17651 (libc_feholdexcept_setround_ctx): Likewise.
17652 (libc_fesetenv_ctx): Likewise.
17653 (libc_feupdateenv_ctx): Likewise.
17654 (libc_feholdsetround_ctx): Likewise.
17655 (libc_feresetround_ctx): Likewise.
17656 (libc_feholdexcept_setroundl_ctx): Likewise.
17657 (libc_feupdateenvl_ctx): Likewise.
17658 (libc_feholdsetroundl_ctx): Likewise.
17659 (libc_feresetroundl_ctx): Likewise.
17660 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
17661 (libc_feresetround_53bit_ctx): Likewise.
17663 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
17665 * locale/iso-639.def: Convert to UTF-8.
17667 2013-06-11 Joseph Myers <joseph@codesourcery.com>
17669 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
17670 (EXCEPTION_TESTS_double): Likewise.
17671 (EXCEPTION_TESTS_long_double): Likewise.
17672 (EXCEPTION_TESTS): Likewise.
17673 * math/libm-test.inc (test_exceptions): Only test exceptions if
17674 EXCEPTION_TESTS (FLOAT).
17676 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
17678 * benchtests/Makefile (string-bench): Add strcpy_chk and
17680 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
17681 * benchtests/bench-stpcpy_chk.c: New file.
17682 * benchtests/bench-strcpy_chk-ifunc.c: New file.
17683 * benchtests/bench-strcpy_chk.c: New file.
17684 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
17686 (do_test): Likewise.
17688 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17690 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
17691 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
17692 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
17693 with tabs where appropriate.
17694 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
17696 [PPC_PLATFORM_PPC440]: Likewise.
17697 [PPC_PLATFORM_PPC464]: Likewise.
17698 [PPC_PLATFORM_PPC476]: Likewise.
17699 (_dl_string_platform): Add support for detecting ppc405, ppc440,
17700 ppc464, and ppc476 platform strings merging from ports/
17703 2013-06-11 Andreas Schwab <schwab@suse.de>
17706 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
17707 (from_ucs4_idx): Regenerate.
17708 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
17709 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
17710 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
17711 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
17712 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
17713 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
17714 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
17715 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
17716 from FROM_LOOP and TO_LOOP specific macros.
17717 (BODY): Handle combining characters.
17718 * iconvdata/BIG5HKSCS.irreversible: Update.
17719 * iconvdata/BIG5HKSCS.precomposed: New file.
17720 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
17722 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
17724 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
17726 * include/sys/time.h: Fix indentation and add copyright header.
17728 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
17729 (do_test): Likewise.
17730 * string/test-memchr.c (do_one_test): Likewise.
17731 (do_test): Likewise.
17732 * string/test-memcmp.c (do_one_test): Likewise.
17733 (do_test): Likewise.
17734 * string/test-memcpy.c (do_one_test): Likewise.
17735 (do_test): Likewise.
17736 * string/test-memmem.c (do_one_test): Likewise.
17737 (do_test): Likewise.
17738 (do_random_tests): Likewise.
17739 * string/test-memmove.c (do_one_test): Likewise.
17740 (do_test): Likewise.
17741 * string/test-memset.c (do_one_test): Likewise.
17742 (do_test): Likewise.
17743 * string/test-rawmemchr.c (do_one_test): Likewise.
17744 (do_test): Likewise.
17745 * string/test-strcasecmp.c (do_one_test): Likewise.
17746 (do_test): Likewise.
17747 * string/test-strcasestr.c (do_one_test): Likewise.
17748 (do_test): Likewise.
17749 * string/test-strcat.c (do_one_test): Likewise.
17750 (do_test): Likewise.
17751 * string/test-strchr.c (do_one_test): Likewise.
17752 (do_test): Likewise.
17753 * string/test-strcmp.c (do_one_test): Likewise.
17754 (do_test): Likewise.
17755 * string/test-strcpy.c (do_one_test): Likewise.
17756 (do_test): Likewise.
17757 * string/test-string.h: Likewise.
17758 (test_init): Likewise.
17759 * string/test-strlen.c (do_one_test): Likewise.
17760 (do_test): Likewise.
17761 * string/test-strncasecmp.c (do_one_test): Likewise.
17762 (do_test): Likewise.
17763 * string/test-strncat.c (do_one_test): Likewise.
17764 (do_test): Likewise.
17765 * string/test-strncmp.c (do_one_test): Likewise.
17766 (do_test_limit): Likewise.
17767 (do_test): Likewise.
17768 * string/test-strncpy.c (do_one_test): Likewise.
17769 (do_test): Likewise.
17770 * string/test-strnlen.c (do_one_test): Likewise.
17771 (do_test): Likewise.
17772 * string/test-strpbrk.c (do_one_test): Likewise.
17773 (do_test): Likewise.
17774 * string/test-strrchr.c (do_one_test): Likewise.
17775 (do_test): Likewise.
17776 * string/test-strspn.c (do_one_test): Likewise.
17777 (do_test): Likewise.
17778 * string/test-strstr.c (do_one_test): Likewise.
17779 (do_test): Likewise.
17781 * benchtests/Makefile (string-bench): Add string benchmarks.
17782 * benchtests/bench-bcopy-ifunc.c: New file.
17783 * benchtests/bench-bcopy.c: New file.
17784 * benchtests/bench-bzero-ifunc.c: New file.
17785 * benchtests/bench-bzero.c: New file.
17786 * benchtests/bench-memccpy-ifunc.c: New file.
17787 * benchtests/bench-memccpy.c: New file.
17788 * benchtests/bench-memchr-ifunc.c: New file.
17789 * benchtests/bench-memchr.c: New file.
17790 * benchtests/bench-memcmp-ifunc.c: New file.
17791 * benchtests/bench-memcmp.c: New file.
17792 * benchtests/bench-memmem-ifunc.c: New file.
17793 * benchtests/bench-memmem.c: New file.
17794 * benchtests/bench-memmove-ifunc.c: New file.
17795 * benchtests/bench-memmove.c: New file.
17796 * benchtests/bench-mempcpy-ifunc.c: New file.
17797 * benchtests/bench-mempcpy.c: New file.
17798 * benchtests/bench-memset-ifunc.c: New file.
17799 * benchtests/bench-memset.c: New file.
17800 * benchtests/bench-rawmemchr-ifunc.c: New file.
17801 * benchtests/bench-rawmemchr.c: New file.
17802 * benchtests/bench-stpcpy-ifunc.c: New file.
17803 * benchtests/bench-stpcpy.c: New file.
17804 * benchtests/bench-stpncpy-ifunc.c: New file.
17805 * benchtests/bench-stpncpy.c: New file.
17806 * benchtests/bench-strcasecmp-ifunc.c: New file.
17807 * benchtests/bench-strcasecmp.c: New file.
17808 * benchtests/bench-strcasestr-ifunc.c: New file.
17809 * benchtests/bench-strcasestr.c: New file.
17810 * benchtests/bench-strcat-ifunc.c: New file.
17811 * benchtests/bench-strcat.c: New file.
17812 * benchtests/bench-strchr-ifunc.c: New file.
17813 * benchtests/bench-strchr.c: New file.
17814 * benchtests/bench-strchrnul-ifunc.c: New file.
17815 * benchtests/bench-strchrnul.c: New file.
17816 * benchtests/bench-strcmp-ifunc.c: New file.
17817 * benchtests/bench-strcmp.c: New file.
17818 * benchtests/bench-strcpy-ifunc.c: New file.
17819 * benchtests/bench-strcpy.c: New file.
17820 * benchtests/bench-strcspn-ifunc.c: New file.
17821 * benchtests/bench-strcspn.c: New file.
17822 * benchtests/bench-strlen-ifunc.c: New file.
17823 * benchtests/bench-strlen.c: New file.
17824 * benchtests/bench-strncasecmp-ifunc.c: New file.
17825 * benchtests/bench-strncasecmp.c: New file.
17826 * benchtests/bench-strncat-ifunc.c: New file.
17827 * benchtests/bench-strncat.c: New file.
17828 * benchtests/bench-strncmp-ifunc.c: New file.
17829 * benchtests/bench-strncmp.c: New file.
17830 * benchtests/bench-strncpy-ifunc.c: New file.
17831 * benchtests/bench-strncpy.c: New file.
17832 * benchtests/bench-strnlen-ifunc.c: New file.
17833 * benchtests/bench-strnlen.c: New file.
17834 * benchtests/bench-strpbrk-ifunc.c: New file.
17835 * benchtests/bench-strpbrk.c: New file.
17836 * benchtests/bench-strrchr-ifunc.c: New file.
17837 * benchtests/bench-strrchr.c: New file.
17838 * benchtests/bench-strspn-ifunc.c: New file.
17839 * benchtests/bench-strspn.c: New file.
17840 * benchtests/bench-strstr-ifunc.c: New file.
17841 * benchtests/bench-strstr.c: New file.
17843 * benchtests/Makefile: Disable parallel execution of targets.
17844 (string-bench): Add memcpy.
17845 (benchset): New variable to store a list of benchmark sets.
17846 (bench-func): Renamed from bench.
17847 (bench-set): New target.
17848 (bench): Depend on bench-func and bench-set.
17849 * benchtests/README: Add section on benchmark sets.
17850 * benchtests/bench-memcpy-ifunc.c: New file.
17851 * benchtests/bench-memcpy.c: New file.
17852 * benchtests/bench-string.h: New file.
17854 2013-06-11 Andreas Schwab <schwab@suse.de>
17857 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
17858 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
17859 values in the triple.
17860 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
17861 terminator in the group key.
17863 2013-06-11 Andreas Jaeger <aj@suse.de>
17865 * po/zh_TW.po: Update Chinese (traditional) translation from
17866 translation project.
17868 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
17870 * include/time.h (__clock_gettime): Add libc_hidden_proto.
17871 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
17872 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
17873 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
17874 (clock_getcpuclockid): Likewise.
17875 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
17876 Add weak_alias and libc_hidden_def.
17877 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
17878 * rt/clock_gettime.c (clock_gettime): Rename to
17879 __clock_gettime. Add weak_alias and libc_hidden_def.
17880 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
17881 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
17882 __clock_nanosleep. Add weak_alias and libc_hidden_def.
17883 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
17884 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
17886 * rt/clock_settime.c (clock_settime): Rename to
17887 __clock_settime. Add weak_alias and libc_hidden_def.
17888 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
17890 2013-06-10 Joseph Myers <joseph@codesourcery.com>
17892 * mach/err_boot.sub: Remove trailing whitespace.
17893 * mach/err_ipc.sub: Likewise.
17894 * mach/err_mach.sub: Likewise.
17896 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
17897 (ROUNDING_TESTS_double): Likewise.
17898 (ROUNDING_TESTS_long_double): Likewise.
17899 (ROUNDING_TESTS): Likewise.
17900 * math/libm-test.inc: Include <math-tests.h>.
17901 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
17902 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
17903 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
17904 (IF_ROUND_INIT_FE_UPWARD): Likewise.
17906 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
17908 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
17911 2013-06-08 Joseph Myers <joseph@codesourcery.com>
17913 * sysdeps/gnu/errlist.awk: Do not generate space at end of
17914 otherwise empty TRANS lines.
17915 * sysdeps/gnu/errlist.c: Regenerated.
17917 * catgets/gencat.c (error_print): Use (void) in function
17919 * crypt/crypt_util.c (__init_des): Likewise.
17920 * crypt/speeds.c (Stop): Likewise.
17922 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
17923 * inet/ruserpass.c (token): Likewise.
17924 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
17925 * intl/localealias.c (extend_alias_table): Likewise.
17926 * intl/plural-exp.c (init_germanic_plural): Likewise.
17927 * libio/fcloseall.c (__fcloseall): Likewise.
17928 * libio/genops.c (_IO_flush_all): Likewise.
17929 (_IO_flush_all_linebuffered): Likewise.
17930 (_IO_cleanup): Likewise.
17931 (_IO_iter_begin): Likewise.
17932 (_IO_iter_end): Likewise.
17933 (_IO_list_lock): Likewise.
17934 (_IO_list_unlock): Likewise.
17935 (_IO_list_resetlock): Likewise.
17936 * libio/getchar.c (getchar): Likewise.
17937 * libio/getchar_u.c (getchar_unlocked): Likewise.
17938 * libio/getwchar.c (getwchar): Likewise.
17939 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
17940 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
17941 * login/getpt.c (__getpt): Likewise.
17942 * login/tst-utmp.c (main): Likewise.
17943 * malloc/hooks.c (__malloc_check_init): Likewise.
17944 * malloc/malloc.c (__malloc_stats): Likewise.
17945 * malloc/mtrace.c (tr_break): Likewise.
17946 (mtrace): Likewise.
17947 (muntrace): Likewise.
17948 * misc/fstab.c (endfsent): Likewise.
17949 * misc/getclktck.c (__getclktck): Likewise.
17950 * misc/getdtsz.c (__getdtablesize): Likewise.
17951 * misc/gethostid.c (gethostid): Likewise.
17952 * misc/getpagesize.c (__getpagesize): Likewise.
17953 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
17954 (__get_nprocs): Likewise.
17955 (__get_phys_pages): Likewise.
17956 (__get_avphys_pages): Likewise.
17957 * misc/getttyent.c (getttyent): Likewise.
17958 (setttyent): Likewise.
17959 (endttyent): Likewise.
17960 * misc/getusershell.c (getusershell): Likewise.
17961 (endusershell): Likewise.
17962 (setusershell): Likewise.
17963 (initshells): Likewise.
17964 * misc/hsearch.c (__hdestroy): Likewise.
17965 * misc/sync.c (sync): Likewise.
17966 * misc/syslog.c (closelog_internal): Likewise.
17967 (closelog): Likewise.
17968 * misc/ttyslot.c (ttyslot): Likewise.
17969 * misc/vhangup.c (vhangup): Likewise.
17970 * posix/fork.c (__fork): Likewise.
17971 * posix/getegid.c (__getegid): Likewise.
17972 * posix/geteuid.c (__geteuid): Likewise.
17973 * posix/getgid.c (__getgid): Likewise.
17974 * posix/getpid.c (__getpid): Likewise.
17975 * posix/getppid.c (__getppid): Likewise.
17976 * posix/getuid.c (__getuid): Likewise.
17977 * posix/pause.c (pause): Likewise.
17978 * posix/setpgrp.c (setpgrp): Likewise.
17979 * posix/setsid.c (__setsid): Likewise.
17980 * posix/test-vfork.c (noop): Likewise.
17981 * resolv/gethnamaddr.c (_endhtent): Likewise.
17982 (_gethtent): Likewise.
17983 (ht_endhostent): Likewise.
17984 (gethostent): Likewise.
17985 (dns_service): Likewise.
17986 * stdlib/drand48.c (drand48): Likewise.
17987 * stdlib/lrand48.c (lrand48): Likewise.
17988 * stdlib/mrand48.c (mrand48): Likewise.
17989 * stdlib/rand.c (rand): Likewise.
17990 * stdlib/random.c (__random): Likewise.
17991 * stdlib/setenv.c (clearenv): Likewise.
17992 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
17993 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
17994 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
17995 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
17996 (__get_nprocs): Likewise.
17997 (__get_phys_pages): Likewise.
17998 (__get_avphys_pages): Likewise.
17999 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
18000 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
18001 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
18002 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
18003 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
18004 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
18005 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
18006 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
18007 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
18008 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
18009 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
18010 * sysdeps/mach/hurd/sync.c (sync): Likewise.
18011 * sysdeps/posix/clock.c (clock): Likewise.
18012 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
18013 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
18014 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
18015 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
18016 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
18017 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
18018 (__get_nprocs_conf): Likewise.
18019 (__get_phys_pages): Likewise.
18020 (__get_avphys_pages): Likewise.
18021 * time/clock.c (clock): Likewise.
18022 * time/tzset.c (__tzname_max): Likewise.
18024 2013-06-07 Joseph Myers <joseph@codesourcery.com>
18026 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
18027 (__bswap_32): Do not use "register".
18028 * crypt/crypt.c (_ufc_doit_r): Likewise.
18029 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
18030 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
18031 * gmon/gmon.c (__monstartup): Likewise.
18032 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
18033 * hurd/hurdmalloc.c (more_memory): Likewise.
18034 (malloc): Likewise.
18036 (realloc): Likewise.
18037 (malloc_fork_prepare): Likewise.
18038 (malloc_fork_parent): Likewise.
18039 (malloc_fork_child): Likewise.
18040 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
18041 (_svcauth_des): Likewise.
18042 * inet/inet_lnaof.c (inet_lnaof): Likewise.
18043 * inet/inet_net.c (inet_network): Likewise.
18044 * inet/inet_netof.c (inet_netof): Likewise.
18045 * inet/rcmd.c (__validuser2_sa): Likewise.
18046 * io/fts.c (fts_open): Likewise.
18047 (fts_load): Likewise.
18048 (fts_close): Likewise.
18049 (fts_read): Likewise.
18050 (fts_children): Likewise.
18051 (fts_build): Likewise.
18052 (fts_stat): Likewise.
18053 (fts_sort): Likewise.
18054 (fts_alloc): Likewise.
18055 (fts_lfree): Likewise.
18056 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
18057 (_IO_file_xsgetn): Likewise.
18058 (_IO_file_xsgetn_mmap): Likewise.
18059 * libio/iofopncook.c (_IO_cookie_read): Likewise.
18060 (_IO_cookie_write): Likewise.
18061 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
18062 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
18063 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
18064 * malloc/obstack.c (_obstack_begin): Likewise.
18065 (_obstack_begin_1): Likewise.
18066 (_obstack_newchunk): Likewise.
18067 (_obstack_allocated_p): Likewise.
18068 (obstack_free): Likewise.
18069 (_obstack_memory_used): Likewise.
18070 * misc/getttyent.c (getttynam): Likewise.
18071 (getttyent): Likewise.
18074 * misc/getusershell.c (initshells): Likewise.
18075 * misc/syslog.c (__vsyslog_chk): Likewise.
18076 * misc/ttyslot.c (ttyslot): Likewise.
18077 * nis/nis_hash.c (__nis_hash): Likewise.
18078 * posix/fnmatch_loop.c (FCT): Likewise.
18079 * posix/getconf.c (print_all): Likewise.
18081 * posix/getopt.c (exchange): Likewise.
18082 * posix/glob.c (globfree): Likewise.
18083 (prefix_array): Likewise.
18084 (__glob_pattern_type): Likewise.
18085 * resolv/arpa/nameser.h (NS_GET16): Likewise.
18086 (NS_GET32): Likewise.
18087 (NS_PUT16): Likewise.
18088 (NS_PUT32): Likewise.
18089 * resolv/gethnamaddr.c (getanswer): Likewise.
18090 (gethostbyname2): Likewise.
18091 (gethostbyaddr): Likewise.
18092 (_gethtent): Likewise.
18093 (_gethtbyname2): Likewise.
18094 (_gethtbyaddr): Likewise.
18095 * resolv/ns_print.c (dst_s_get_int16): Likewise.
18096 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
18097 * resolv/res_init.c (__res_vinit): Likewise.
18098 (net_mask): Likewise.
18099 * resolv/res_mkquery.c (outchar): Likewise.
18101 * stdio-common/printf_fp.c (outchar): Likewise.
18103 * stdio-common/printf_fphex.c (outchar): Likewise.
18105 * stdio-common/printf_size.c (outchar): Likewise.
18107 * stdio-common/test_rdwr.c (main): Likewise.
18108 * stdio-common/tfformat.c (matches): Likewise.
18109 * stdio-common/vfprintf.c (outchar): Likewise.
18110 (printf_unknown): Likewise.
18111 (buffered_vfprintf): Likewise.
18112 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
18113 * stdio-common/xbug.c (AppendToBuffer): Likewise.
18114 (ReadFile): Likewise.
18115 * stdlib/qsort.c (SWAP): Likewise.
18116 (_quicksort): Likewise.
18117 * stdlib/setenv.c (__add_to_environ): Likewise.
18118 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
18119 * stdlib/strtol_l.c (__strtol_l): Likewise.
18120 * stdlib/tst-strtod.c (main): Likewise.
18121 * stdlib/tst-strtol.c (main): Likewise.
18122 * stdlib/tst-strtoll.c (main): Likewise.
18123 * string/bits/string2.h (__strcmp_cc): Likewise.
18124 (__strcmp_cg): Likewise.
18125 (__strcspn_c1): Likewise.
18126 (__strcspn_c2): Likewise.
18127 (__strcspn_c3): Likewise.
18128 (__strspn_c1): Likewise.
18129 (__strspn_c2): Likewise.
18130 (__strspn_c3): Likewise.
18131 (__strsep_1c): Likewise.
18132 (__strsep_2c): Likewise.
18133 (__strsep_3c): Likewise.
18134 * string/memccpy.c (__memccpy): Likewise.
18135 * string/stpcpy.c (__stpcpy): Likewise.
18136 * string/strcmp.c (strcmp): Likewise.
18137 * string/strrchr.c (strrchr): Likewise.
18138 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
18140 * sysdeps/mach/hurd/getcwd.c
18141 (_hurd_canonicalize_directory_name_internal): Likewise.
18142 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
18143 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
18144 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
18145 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
18146 Likewise, in both definitions.
18147 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
18149 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
18150 64] (__bswap_64): Likewise.
18151 * time/test_time.c (main): Likewise.
18152 * time/tzfile.c (__tzfile_read): Likewise.
18153 (__tzfile_compute): Likewise.
18154 * time/tzset.c (__tzset_parse_tz): Likewise.
18155 (tzset_internal): Likewise.
18156 (compute_change): Likewise.
18157 * wcsmbs/wcscat.c (__wcscat): Likewise.
18158 * wcsmbs/wcschr.c (wcschr): Likewise.
18159 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
18160 * wcsmbs/wcscspn.c (wcscspn): Likewise.
18161 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
18162 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
18163 * wcsmbs/wcsspn.c (wcsspn): Likewise.
18164 * wcsmbs/wcsstr.c (wcsstr): Likewise.
18165 * wcsmbs/wmemchr.c (wmemchr): Likewise.
18166 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
18167 * wcsmbs/wmemset.c (wmemset): Likewise.
18169 2013-06-06 Joseph Myers <joseph@codesourcery.com>
18171 * scripts/config.guess: Update to version 2013-05-16.
18172 * scripts/config.sub: Update to version 2013-04-24.
18173 * scripts/install-sh: Update to version 2011-11-20.07.
18174 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
18175 * scripts/move-if-change: Update to version 2012-01-06 07:23.
18177 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
18179 * debug/fgetws_u_chk.c: Fix leading whitespaces.
18180 * elf/sln.c: Likewise.
18181 * hurd/hurd/ioctl.h: Likewise.
18182 * hurd/hurdmalloc.c: Likewise.
18183 * hurd/xattr.c: Likewise.
18184 * include/shlib-compat.h: Likewise.
18185 * inet/ruserpass.c: Likewise.
18186 * libio/iofgets_u.c: Likewise.
18187 * libio/iofgetws_u.c: Likewise.
18188 * locale/programs/ld-identification.c: Likewise.
18189 * locale/programs/ld-time.c: Likewise.
18190 * mach/msg-destroy.c: Likewise.
18191 * nss/nss_files/files-netgrp.c: Likewise.
18192 * resolv/res_data.c: Likewise.
18193 * soft-fp/op-1.h: Likewise.
18194 * soft-fp/op-2.h: Likewise.
18195 * soft-fp/op-4.h: Likewise.
18196 * soft-fp/op-common.h: Likewise.
18197 * stdio-common/printf_fphex.c: Likewise.
18198 * stdlib/strtod_l.c: Likewise.
18199 * sunrpc/rpc/clnt.h: Likewise.
18200 * sysdeps/generic/framestate.c: Likewise.
18201 * sysdeps/i386/bsd-_setjmp.S: Likewise.
18202 * sysdeps/i386/bsd-setjmp.S: Likewise.
18203 * sysdeps/i386/__longjmp.S: Likewise.
18204 * sysdeps/i386/setjmp.S: Likewise.
18205 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
18206 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
18207 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
18208 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
18209 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
18210 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
18211 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
18212 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
18213 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
18214 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
18215 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
18216 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
18217 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
18218 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
18219 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
18220 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
18221 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
18222 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
18223 * sysdeps/ieee754/support.c: Likewise.
18224 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
18225 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
18226 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
18227 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
18228 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
18229 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
18230 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
18231 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
18232 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
18233 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
18234 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
18235 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
18236 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
18237 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
18238 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
18239 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
18240 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
18241 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
18243 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
18245 * posix/transbug.c: Remove executable mode.
18247 2013-06-05 Joseph Myers <joseph@codesourcery.com>
18249 * crypt/speeds.c: Remove trailing whitespace.
18250 * dlfcn/default.c: Likewise.
18251 * elf/ifuncdep2.c: Likewise.
18252 * elf/ifuncmain1.c: Likewise.
18253 * elf/ifuncmain1vis.c: Likewise.
18254 * elf/testobj.h: Likewise.
18255 * elf/tst-stackguard1.c: Likewise.
18256 * gmon/sys/gmon.h: Likewise.
18257 * hurd/hurdmsg.c: Likewise.
18258 * hurd/new-fd.c: Likewise.
18259 * hurd/ports-get.c: Likewise.
18260 * iconvdata/ibm1008_420.c: Likewise.
18261 * inet/tst-getni1.c: Likewise.
18262 * inet/tst-getni2.c: Likewise.
18263 * libio/ioungetc.c: Likewise.
18264 * libio/wfiledoalloc.c: Likewise.
18265 * manual/libm-err-tab.pl: Likewise.
18266 * math/w_dremf.c: Likewise.
18267 * misc/ftruncate.c: Likewise.
18268 * posix/bug-glob2.c: Likewise.
18269 * posix/tst-pcre.c: Likewise.
18270 * posix/wait4.c: Likewise.
18271 * resolv/README: Likewise.
18272 * resolv/res_debug.h: Likewise.
18273 * resolv/tst-inet_ntop.c: Likewise.
18274 * setjmp/bug269-setjmp.c: Likewise.
18275 * soft-fp/extended.h: Likewise.
18276 * soft-fp/op-1.h: Likewise.
18277 * soft-fp/op-2.h: Likewise.
18278 * soft-fp/op-4.h: Likewise.
18279 * soft-fp/op-8.h: Likewise.
18280 * soft-fp/testit.c: Likewise.
18281 * stdio-common/bug16.c: Likewise.
18282 * stdlib/random.c: Likewise.
18283 * sunrpc/rpcsvc/rquota.x: Likewise.
18284 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
18285 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
18286 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
18287 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
18288 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
18289 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
18290 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
18291 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
18292 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
18293 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
18294 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
18295 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
18296 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
18297 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
18298 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
18299 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
18300 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
18301 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
18302 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
18303 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
18304 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
18305 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
18306 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
18307 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
18308 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
18309 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
18310 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
18311 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
18312 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
18313 * sysdeps/ieee754/s_lib_version.c: Likewise.
18314 * sysdeps/mach/hurd/check_fds.c: Likewise.
18315 * sysdeps/mach/hurd/getsockname.c: Likewise.
18316 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
18317 * sysdeps/mach/hurd/recvfrom.c: Likewise.
18318 * sysdeps/powerpc/bits/link.h: Likewise.
18319 * sysdeps/powerpc/dl-procinfo.c: Likewise.
18320 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
18321 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
18322 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
18323 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
18324 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
18325 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
18326 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
18327 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
18328 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
18329 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
18330 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
18331 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
18332 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
18333 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
18334 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
18335 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
18336 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
18337 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
18338 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
18339 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
18340 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
18341 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
18342 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
18343 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
18344 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
18345 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
18346 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
18347 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
18348 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
18349 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
18350 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
18351 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
18352 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
18353 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
18354 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
18355 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
18356 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
18357 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
18358 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
18359 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
18360 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
18361 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
18362 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
18363 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
18364 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
18365 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
18366 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
18367 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
18368 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
18369 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
18370 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
18371 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
18372 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
18373 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
18374 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
18375 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
18376 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
18377 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
18378 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
18379 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
18380 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
18381 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
18382 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
18383 * sysdeps/powerpc/sysdep.h: Likewise.
18384 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
18385 * sysdeps/s390/s390-64/sub_n.S: Likewise.
18386 * sysdeps/sh/dl-trampoline.S: Likewise.
18387 * sysdeps/sh/memset.S: Likewise.
18388 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
18389 * sysdeps/sh/strlen.S: Likewise.
18390 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
18391 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
18392 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
18393 * sysdeps/sparc/sparc32/rem.S: Likewise.
18394 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
18395 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
18396 * sysdeps/sparc/sparc32/strchr.S: Likewise.
18397 * sysdeps/sparc/sparc32/udiv.S: Likewise.
18398 * sysdeps/sparc/sparc32/urem.S: Likewise.
18399 * sysdeps/sparc/sparc64/add_n.S: Likewise.
18400 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
18401 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
18402 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
18403 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
18404 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
18405 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
18406 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
18407 * sysdeps/unix/bsd/times.c: Likewise.
18408 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
18409 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
18410 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
18411 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
18412 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
18413 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
18414 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
18415 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
18416 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
18417 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
18418 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
18419 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
18420 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
18421 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
18422 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
18423 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
18424 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
18425 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
18426 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
18427 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
18428 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
18429 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
18430 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
18431 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
18432 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
18433 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
18434 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
18435 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
18436 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
18437 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
18438 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
18439 * sysdeps/x86_64/strcspn.S: Likewise.
18441 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
18443 * locale/C-translit.h: Revert #include <stdint.h> because this is a
18444 generated file. Regenerate properly from gen-translit.pl.
18445 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
18446 locale/C-translit.h.
18448 2013-06-05 Andreas Schwab <schwab@suse.de>
18451 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
18452 week as 6 instead of -1.
18453 * time/tst-strptime.c (day_tests): Add test case.
18455 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
18457 * sysdeps/generic/math_private.h
18458 (libc_feholdexcept_setround_53bit): Replace with
18459 libc_feholdsetround_53bit.
18460 (libc_feupdateenv_53bit): Replace with
18461 libc_feresetround_53bit.
18462 (SET_RESTORE_ROUND_53BIT): Adjust.
18464 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
18466 * string/test-strchrnul.c: Add copyright header.
18468 * posix/tst-getaddrinfo4.c: Increase test timeout.
18470 2013-06-03 Carlos O'Donell <carlos@redhat.com>
18473 * math/libm-test.inc (MAX_EXP): Remove
18475 (ulp): Use MIN_EXP - MANT_DIG.
18476 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
18478 2013-05-31 Carlos O'Donell <carlos@redhat.com>
18480 * po/be.po: Revert last change.
18481 * po/zh_CN.po: Likewise.
18482 * po/header.pot: Likewise.
18484 2013-05-31 Joseph Myers <joseph@codesourcery.com>
18486 * Makefile ($(common-objpfx)linkobj/libc.so): Define
18487 link-libc-deps to empty as target-specific variable.
18488 * Makerules (link-libc-args): New variable.
18489 (libc-for-link): Likewise.
18490 (link-libc-deps): Likewise.
18491 (lib%.so): Depend on $(link-libc-deps). Link with
18493 (build-module): Link with $(link-libc-args).
18494 (build-module-asneeded): Likewise.
18495 (build-module-helper-objlist): Filter out $(link-libc-deps) from
18497 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
18498 target-specific variable.
18499 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
18500 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
18501 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
18503 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
18505 ($(objpfx)libpcprofile.so): Likewise.
18506 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
18508 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
18509 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
18510 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
18512 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
18513 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
18514 * login/Makefile ($(objpfx)libutil.so): Likewise.
18515 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
18516 * math/Makefile ($(objpfx)libm.so): Likewise.
18517 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
18518 $(objpfx)libnsl.so): Define libc-for-link as target-specific
18519 variable instead of depending directly on libc.
18520 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
18521 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
18523 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
18525 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
18526 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
18527 ($(objpfx)libanl.so): Likewise.
18528 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
18530 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
18532 * sysdeps/i386/fpu/Makefile: Remove file.
18533 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
18534 ($(objpfx)libm.so): Remove dependency on ld.so.
18536 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
18539 * nis/yp_xdr.c (XDRMAXNAME): Define.
18540 (XDRMAXRECORD): Define.
18541 (xdr_domainname): Use XDRMAXNAME.
18542 (xdr_mapname): Likewise.
18543 (xdr_peername): Likewise.
18544 (xdr_keydat): Use XDRMAXRECORD.
18545 (xdr_valdat): Likewise.
18547 2013-05-30 Jeff Law <law@redhat.com>
18550 * manual/errno.texi (ESTALE): Update to account for more than
18551 just NFS file systems.
18552 * sysdeps/gnu/errlist.c: Regenerated.
18554 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
18557 * elf/Makefile (tests): Add tst-null-argv.
18558 (modules-names): Add tst-null-argv-lib.
18559 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
18560 (tst-null-argv-ENV): Set environment for tst-null-argv.
18561 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
18562 (RTLD_PROGNAME): New macro.
18563 * elf/tst-null-argv.c: New test case.
18564 * elf/tst-null-argv-lib.c: Library for test case.
18565 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
18566 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
18567 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
18568 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
18569 * elf/dl-init.c (call_init): Likewise.
18570 (_dl_init): Likewise.
18571 * elf/dl-load.c (print_search_path): Likewise.
18572 (_dl_map_object): Likewise.
18573 * elf/dl-lookup.c (do_lookup_x): Likewise.
18574 (add_dependency): Likewise.
18575 (_dl_lookup_symbol_x): Likewise.
18576 (_dl_debug_bindings): Likewise.
18577 * elf/dl-open.c (_dl_show_scope): Likewise.
18578 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
18579 * elf/dl-version.c (match_symbol): Likewise.
18580 (_dl_check_map_versions): Likewise.
18581 * elf/rtld.c (dl_main): Likewise.
18582 (print_unresolved): Use RTLD_PROGNAME.
18583 (print_missing_version): Likewise.
18584 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
18585 (elf_machine_rela): Likewise.
18586 * sysdeps/powerpc/powerpc32/dl-machine.c
18587 (__process_machine_rela): Likewise.
18588 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
18590 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
18592 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
18594 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
18595 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
18597 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
18599 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
18601 2013-05-28 Carlos O'Donell <carlos@redhat.com>
18603 * po/be.po: Add descriptive title.
18604 * po/zh_CN.po: Likewise.
18605 * po/header.pot: Likewise.
18607 2013-05-28 Mike Frysinger <vapier@gentoo.org>
18609 * locale/programs/locarchive.c (create_archive): Inlucde fname in
18611 (enlarge_archive): Likewise.
18613 2013-05-28 Ben North <ben@redfrontdoor.org>
18615 * manual/arith.texi (frexp): It is the magnitude of the return
18616 value which lies in [0.5, 1), not the return value itself.
18618 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18620 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18622 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
18624 * stdio-common/bug26.c (main): Correct fscanf template.
18626 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
18627 declare _dl_skip_args.
18629 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
18632 * manual/platform.texi: Add missing @end deftypefun.
18634 2013-05-24 Joseph Myers <joseph@codesourcery.com>
18637 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
18638 bit of mantissa of 2^16382.
18639 * math/libm-test.inc (hypot_test_data): Add more tests.
18641 * math/libm-test.inc: Add drem and pow10 to list of tested
18643 (pow10_test): New function.
18644 (drem_test): Likewise.
18645 (drem_test_tonearest): Likewise.
18646 (drem_test_towardzero): Likewise.
18647 (drem_test_downward): Likewise.
18648 (drem_test_upward): Likewise.
18649 (main): Call the new functions.
18651 * math/libm-test.inc (finite_test_data): Remove.
18652 (finite_test): Run tests from isfinite_test_data.
18653 (gamma_test_data): Remove.
18654 (gamma_test): Run tests from lgamma_test_data.
18655 * sysdeps/i386/fpu/libm-test-ulps: Update.
18656 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18658 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18660 * manual/platform.texi: Add PowerPC PPR function set documentation.
18661 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
18664 2013-05-24 Carlos O'Donell <carlos@redhat.com>
18666 * math/libm-test.inc (MAX_EXP): Define.
18668 (ulp): New function.
18669 (check_float_internal): Use ULPDIFF.
18670 (cpow_test): Disable failing test.
18671 (check_ulp): Test ulp() implemetnation.
18672 (main): Call check_ulp before starting tests.
18674 2013-05-24 Joseph Myers <joseph@codesourcery.com>
18676 * math/gen-libm-test.pl (generate_testfile): Do not handle
18677 START_DATA and END_DATA.
18678 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
18680 (acos_tonearest_test_data): Likewise.
18681 (acos_towardzero_test_data): Likewise.
18682 (acos_downward_test_data): Likewise.
18683 (acos_upward_test_data): Likewise.
18684 (acosh_test_data): Likewise.
18685 (asin_test_data): Likewise.
18686 (asin_tonearest_test_data): Likewise.
18687 (asin_towardzero_test_data): Likewise.
18688 (asin_downward_test_data): Likewise.
18689 (asin_upward_test_data): Likewise.
18690 (asinh_test_data): Likewise.
18691 (atan_test_data): Likewise.
18692 (atanh_test_data): Likewise.
18693 (atan2_test_data): Likewise.
18694 (cabs_test_data): Likewise.
18695 (cacos_test_data): Likewise.
18696 (cacosh_test_data): Likewise.
18697 (carg_test_data): Likewise.
18698 (casin_test_data): Likewise.
18699 (casinh_test_data): Likewise.
18700 (catan_test_data): Likewise.
18701 (catanh_test_data): Likewise.
18702 (cbrt_test_data): Likewise.
18703 (ccos_test_data): Likewise.
18704 (ccosh_test_data): Likewise.
18705 (ceil_test_data): Likewise.
18706 (cexp_test_data): Likewise.
18707 (cimag_test_data): Likewise.
18708 (clog_test_data): Likewise.
18709 (clog10_test_data): Likewise.
18710 (conj_test_data): Likewise.
18711 (copysign_test_data): Likewise.
18712 (cos_test_data): Likewise.
18713 (cos_tonearest_test_data): Likewise.
18714 (cos_towardzero_test_data): Likewise.
18715 (cos_downward_test_data): Likewise.
18716 (cos_upward_test_data): Likewise.
18717 (cosh_test_data): Likewise.
18718 (cosh_tonearest_test_data): Likewise.
18719 (cosh_towardzero_test_data): Likewise.
18720 (cosh_downward_test_data): Likewise.
18721 (cosh_upward_test_data): Likewise.
18722 (cpow_test_data): Likewise.
18723 (cproj_test_data): Likewise.
18724 (creal_test_data): Likewise.
18725 (csin_test_data): Likewise.
18726 (csinh_test_data): Likewise.
18727 (csqrt_test_data): Likewise.
18728 (ctan_test_data): Likewise.
18729 (ctan_tonearest_test_data): Likewise.
18730 (ctan_towardzero_test_data): Likewise.
18731 (ctan_downward_test_data): Likewise.
18732 (ctan_upward_test_data): Likewise.
18733 (ctanh_test_data): Likewise.
18734 (ctanh_tonearest_test_data): Likewise.
18735 (ctanh_towardzero_test_data): Likewise.
18736 (ctanh_downward_test_data): Likewise.
18737 (ctanh_upward_test_data): Likewise.
18738 (erf_test_data): Likewise.
18739 (erfc_test_data): Likewise.
18740 (exp_test_data): Likewise.
18741 (exp_tonearest_test_data): Likewise.
18742 (exp_towardzero_test_data): Likewise.
18743 (exp_downward_test_data): Likewise.
18744 (exp_upward_test_data): Likewise.
18745 (exp10_test_data): Likewise.
18746 (exp2_test_data): Likewise.
18747 (expm1_test_data): Likewise.
18748 (fabs_test_data): Likewise.
18749 (fdim_test_data): Likewise.
18750 (finite_test_data): Likewise.
18751 (floor_test_data): Likewise.
18752 (fma_test_data): Likewise.
18753 (fma_towardzero_test_data): Likewise.
18754 (fma_downward_test_data): Likewise.
18755 (fma_upward_test_data): Likewise.
18756 (fmax_test_data): Likewise.
18757 (fmin_test_data): Likewise.
18758 (fmod_test_data): Likewise.
18759 (fpclassify_test_data): Likewise.
18760 (frexp_test_data): Likewise.
18761 (gamma_test_data): Likewise.
18762 (hypot_test_data): Likewise.
18763 (ilogb_test_data): Likewise.
18764 (isfinite_test_data): Likewise.
18765 (isgreater_test_data): Likewise.
18766 (isgreaterequal_test_data): Likewise.
18767 (isinf_test_data): Likewise.
18768 (isless_test_data): Likewise.
18769 (islessequal_test_data): Likewise.
18770 (islessgreater_test_data): Likewise.
18771 (isnan_test_data): Likewise.
18772 (isnormal_test_data): Likewise.
18773 (issignaling_test_data): Likewise.
18774 (isunordered_test_data): Likewise.
18775 (j0_test_data): Likewise.
18776 (j1_test_data): Likewise.
18777 (jn_test_data): Likewise.
18778 (ldexp_test_data): Likewise.
18779 (lgamma_test_data): Likewise.
18780 (lrint_test_data): Likewise.
18781 (lrint_tonearest_test_data): Likewise.
18782 (lrint_towardzero_test_data): Likewise.
18783 (lrint_downward_test_data): Likewise.
18784 (lrint_upward_test_data): Likewise.
18785 (llrint_test_data): Likewise.
18786 (llrint_tonearest_test_data): Likewise.
18787 (llrint_towardzero_test_data): Likewise.
18788 (llrint_downward_test_data): Likewise.
18789 (llrint_upward_test_data): Likewise.
18790 (log_test_data): Likewise.
18791 (log10_test_data): Likewise.
18792 (log1p_test_data): Likewise.
18793 (log2_test_data): Likewise.
18794 (logb_test_data): Likewise.
18795 (logb_downward_test_data): Likewise.
18796 (lround_test_data): Likewise.
18797 (llround_test_data): Likewise.
18798 (modf_test_data): Likewise.
18799 (nearbyint_test_data): Likewise.
18800 (nextafter_test_data): Likewise.
18801 (nexttoward_test_data): Likewise.
18802 (pow_test_data): Likewise.
18803 (pow_tonearest_test_data): Likewise.
18804 (pow_towardzero_test_data): Likewise.
18805 (pow_downward_test_data): Likewise.
18806 (pow_upward_test_data): Likewise.
18807 (remainder_test_data): Likewise.
18808 (remainder_tonearest_test_data): Likewise.
18809 (remainder_towardzero_test_data): Likewise.
18810 (remainder_downward_test_data): Likewise.
18811 (remainder_upward_test_data): Likewise.
18812 (remquo_test_data): Likewise.
18813 (rint_test_data): Likewise.
18814 (rint_tonearest_test_data): Likewise.
18815 (rint_towardzero_test_data): Likewise.
18816 (rint_downward_test_data): Likewise.
18817 (rint_upward_test_data): Likewise.
18818 (round_test_data): Likewise.
18819 (scalb_test_data): Likewise.
18820 (scalbn_test_data): Likewise.
18821 (scalbln_test_data): Likewise.
18822 (signbit_test_data): Likewise.
18823 (sin_test_data): Likewise.
18824 (sin_tonearest_test_data): Likewise.
18825 (sin_towardzero_test_data): Likewise.
18826 (sin_downward_test_data): Likewise.
18827 (sin_upward_test_data): Likewise.
18828 (sincos_test_data): Likewise.
18829 (sinh_test_data): Likewise.
18830 (sinh_tonearest_test_data): Likewise.
18831 (sinh_towardzero_test_data): Likewise.
18832 (sinh_downward_test_data): Likewise.
18833 (sinh_upward_test_data): Likewise.
18834 (sqrt_test_data): Likewise.
18835 (tan_test_data): Likewise.
18836 (tan_tonearest_test_data): Likewise.
18837 (tan_towardzero_test_data): Likewise.
18838 (tan_downward_test_data): Likewise.
18839 (tan_upward_test_data): Likewise.
18840 (tanh_test_data): Likewise.
18841 (tgamma_test_data): Likewise.
18842 (trunc_test_data): Likewise.
18843 (y0_test_data): Likewise.
18844 (y1_test_data): Likewise.
18845 (yn_test_data): Likewise.
18846 (significand_test_data): Likewise.
18848 * math/gen-libm-test.pl (@functions): Remove variable.
18849 (generate_testfile): Don't handle START and END lines.
18850 * math/libm-test.inc (START): New macro.
18852 (END_COMPLEX): Likewise.
18853 (acos_test): Use END macro without arguments.
18854 (acos_test_tonearest): Likewise.
18855 (acos_test_towardzero): Likewise.
18856 (acos_test_downward): Likewise.
18857 (acos_test_upward): Likewise.
18858 (acosh_test): Likewise.
18859 (asin_test): Likewise.
18860 (asin_test_tonearest): Likewise.
18861 (asin_test_towardzero): Likewise.
18862 (asin_test_downward): Likewise.
18863 (asin_test_upward): Likewise.
18864 (asinh_test): Likewise.
18865 (atan_test): Likewise.
18866 (atanh_test): Likewise.
18867 (atan2_test): Likewise.
18868 (cabs_test): Likewise.
18869 (cacos_test): Use END_COMPLEX macro without arguments.
18870 (cacosh_test): Likewise.
18871 (carg_test): Use END macro without arguments.
18872 (casin_test): Use END_COMPLEX macro without arguments.
18873 (casinh_test): Likewise.
18874 (catan_test): Likewise.
18875 (catanh_test): Likewise.
18876 (cbrt_test): Use END macro without arguments.
18877 (ccos_test): Use END_COMPLEX macro without arguments.
18878 (ccosh_test): Likewise.
18879 (ceil_test): Use END macro without arguments.
18880 (cexp_test): Use END_COMPLEX macro without arguments.
18881 (cimag_test): Use END macro without arguments.
18882 (clog_test): Use END_COMPLEX macro without arguments.
18883 (clog10_test): Likewise.
18884 (conj_test): Likewise.
18885 (copysign_test): Use END macro without arguments.
18886 (cos_test): Likewise.
18887 (cos_test_tonearest): Likewise.
18888 (cos_test_towardzero): Likewise.
18889 (cos_test_downward): Likewise.
18890 (cos_test_upward): Likewise.
18891 (cosh_test): Likewise.
18892 (cosh_test_tonearest): Likewise.
18893 (cosh_test_towardzero): Likewise.
18894 (cosh_test_downward): Likewise.
18895 (cosh_test_upward): Likewise.
18896 (cpow_test): Use END_COMPLEX macro without arguments.
18897 (cproj_test): Likewise.
18898 (creal_test): Use END macro without arguments.
18899 (csin_test): Use END_COMPLEX macro without arguments.
18900 (csinh_test): Likewise.
18901 (csqrt_test): Likewise.
18902 (ctan_test): Likewise.
18903 (ctan_test_tonearest): Likewise.
18904 (ctan_test_towardzero): Likewise.
18905 (ctan_test_downward): Likewise.
18906 (ctan_test_upward): Likewise.
18907 (ctanh_test): Likewise.
18908 (ctanh_test_tonearest): Likewise.
18909 (ctanh_test_towardzero): Likewise.
18910 (ctanh_test_downward): Likewise.
18911 (ctanh_test_upward): Likewise.
18912 (erf_test): Use END macro without arguments.
18913 (erfc_test): Likewise.
18914 (exp_test): Likewise.
18915 (exp_test_tonearest): Likewise.
18916 (exp_test_towardzero): Likewise.
18917 (exp_test_downward): Likewise.
18918 (exp_test_upward): Likewise.
18919 (exp10_test): Likewise.
18920 (exp2_test): Likewise.
18921 (expm1_test): Likewise.
18922 (fabs_test): Likewise.
18923 (fdim_test): Likewise.
18924 (finite_test): Likewise.
18925 (floor_test): Likewise.
18926 (fma_test): Likewise.
18927 (fma_test_towardzero): Likewise.
18928 (fma_test_downward): Likewise.
18929 (fma_test_upward): Likewise.
18930 (fmax_test): Likewise.
18931 (fmin_test): Likewise.
18932 (fmod_test): Likewise.
18933 (fpclassify_test): Likewise.
18934 (frexp_test): Likewise.
18935 (gamma_test): Likewise.
18936 (hypot_test): Likewise.
18937 (ilogb_test): Likewise.
18938 (isfinite_test): Likewise.
18939 (isgreater_test): Likewise.
18940 (isgreaterequal_test): Likewise.
18941 (isinf_test): Likewise.
18942 (isless_test): Likewise.
18943 (islessequal_test): Likewise.
18944 (islessgreater_test): Likewise.
18945 (isnan_test): Likewise.
18946 (isnormal_test): Likewise.
18947 (issignaling_test): Likewise.
18948 (isunordered_test): Likewise.
18949 (j0_test): Likewise.
18950 (j1_test): Likewise.
18951 (jn_test): Likewise.
18952 (ldexp_test): Likewise.
18953 (lgamma_test): Likewise.
18954 (lrint_test): Likewise.
18955 (lrint_test_tonearest): Likewise.
18956 (lrint_test_towardzero): Likewise.
18957 (lrint_test_downward): Likewise.
18958 (lrint_test_upward): Likewise.
18959 (llrint_test): Likewise.
18960 (llrint_test_tonearest): Likewise.
18961 (llrint_test_towardzero): Likewise.
18962 (llrint_test_downward): Likewise.
18963 (llrint_test_upward): Likewise.
18964 (log_test): Likewise.
18965 (log10_test): Likewise.
18966 (log1p_test): Likewise.
18967 (log2_test): Likewise.
18968 (logb_test): Likewise.
18969 (logb_test_downward): Likewise.
18970 (lround_test): Likewise.
18971 (llround_test): Likewise.
18972 (modf_test): Likewise.
18973 (nearbyint_test): Likewise.
18974 (nextafter_test): Likewise.
18975 (nexttoward_test): Likewise.
18976 (pow_test): Likewise.
18977 (pow_test_tonearest): Likewise.
18978 (pow_test_towardzero): Likewise.
18979 (pow_test_downward): Likewise.
18980 (pow_test_upward): Likewise.
18981 (remainder_test): Likewise.
18982 (remainder_test_tonearest): Likewise.
18983 (remainder_test_towardzero): Likewise.
18984 (remainder_test_downward): Likewise.
18985 (remainder_test_upward): Likewise.
18986 (remquo_test): Likewise.
18987 (rint_test): Likewise.
18988 (rint_test_tonearest): Likewise.
18989 (rint_test_towardzero): Likewise.
18990 (rint_test_downward): Likewise.
18991 (rint_test_upward): Likewise.
18992 (round_test): Likewise.
18993 (scalb_test): Likewise.
18994 (scalbn_test): Likewise.
18995 (scalbln_test): Likewise.
18996 (signbit_test): Likewise.
18997 (sin_test): Likewise.
18998 (sin_test_tonearest): Likewise.
18999 (sin_test_towardzero): Likewise.
19000 (sin_test_downward): Likewise.
19001 (sin_test_upward): Likewise.
19002 (sincos_test): Likewise.
19003 (sinh_test): Likewise.
19004 (sinh_test_tonearest): Likewise.
19005 (sinh_test_towardzero): Likewise.
19006 (sinh_test_downward): Likewise.
19007 (sinh_test_upward): Likewise.
19008 (sqrt_test): Likewise.
19009 (tan_test): Likewise.
19010 (tan_test_tonearest): Likewise.
19011 (tan_test_towardzero): Likewise.
19012 (tan_test_downward): Likewise.
19013 (tan_test_upward): Likewise.
19014 (tanh_test): Likewise.
19015 (tgamma_test): Likewise.
19016 (trunc_test): Likewise.
19017 (y0_test): Likewise.
19018 (y1_test): Likewise.
19019 (yn_test): Likewise.
19020 (significand_test): Likewise.
19022 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
19025 * libio/genops.c (_IO_no_init): Initialize wide struct info.
19027 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
19030 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
19031 __ppc_mdoio and __ppc_mdoom.
19032 * manual/platform.texi: Document new functions __ppc_yield,
19033 __ppc_mdoio and __ppc_mdoom.
19035 2013-05-22 Carlos O'Donell <carlos@redhat.com>
19037 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
19038 (main): Mention "tls" pseudo-hwcap is legacy.
19039 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
19041 2013-05-22 Joseph Myers <joseph@codesourcery.com>
19043 * math/gen-libm-test.pl (parse_args): Output only string of
19044 arguments as text for test name, not full call or descriptions of
19045 tests for extra outputs.
19046 (generate_testfile): Do not pass function name to parse_args.
19047 Generate this_func variable from START.
19048 * math/libm-test.inc (struct test_f_f_data): Rename test_name
19050 (struct test_ff_f_data): Likewise.
19051 (test_ff_f_data_nexttoward): Likewise.
19052 (struct test_fi_f_data): Likewise.
19053 (struct test_fl_f_data): Likewise.
19054 (struct test_if_f_data): Likewise.
19055 (struct test_fff_f_data): Likewise.
19056 (struct test_c_f_data): Likewise.
19057 (struct test_f_f1_data): Likewise. Remove field extra_name.
19058 (struct test_fF_f1_data): Likewise.
19059 (struct test_ffI_f1_data): Likewise.
19060 (struct test_c_c_data): Rename test_name field to arg_str.
19061 (struct test_cc_c_data): Likewise.
19062 (struct test_f_i_data): Likewise.
19063 (struct test_ff_i_data): Likewise.
19064 (struct test_f_l_data): Likewise.
19065 (struct test_f_L_data): Likewise.
19066 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
19068 (COMMON_TEST_SETUP): New macro.
19069 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
19070 (COMMON_TEST_CLEANUP): Likewise.
19071 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
19072 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
19074 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
19075 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
19077 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
19078 (RUN_TEST_fff_f): Take argument string. Call new setup and
19080 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
19081 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
19083 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
19084 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
19086 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
19087 (RUN_TEST_fF_f1): Take argument string. Call new setup and
19089 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
19090 (RUN_TEST_fI_f1): Take argument string. Call new setup and
19092 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
19093 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
19095 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
19096 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
19098 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
19099 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
19101 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
19102 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
19104 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
19105 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
19107 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
19108 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
19110 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
19111 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
19113 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
19114 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
19116 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
19117 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
19119 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
19120 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
19122 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
19123 (RUN_TEST_fFF_11): Take argument string. Call new setup and
19125 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
19127 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
19129 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
19130 to _sifields.sigfault.
19131 (si_addr_lsb): Define new macro.
19132 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
19133 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
19134 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
19136 2013-05-03 Carlos O'Donell <carlos at redhat.com>
19139 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
19141 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
19143 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
19144 loading the domain.
19146 2013-05-22 Joseph Myers <joseph@codesourcery.com>
19148 * math/gen-libm-test.pl (parse_args): Do not include expected
19149 result in test name.
19150 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
19151 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
19152 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
19153 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
19154 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
19155 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19157 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
19159 * benchtests/Makefile: Sort function entries.
19161 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
19162 tanh, asinh, acosh, atanh.
19163 * benchtests/acos-inputs: New file.
19164 * benchtests/acosh-inputs: New file.
19165 * benchtests/asin-inputs: New file.
19166 * benchtests/asinh-inputs: New file.
19167 * benchtests/atanh-inputs: New file.
19168 * benchtests/cosh-inputs: New file.
19169 * benchtests/log-inputs: New file.
19170 * benchtests/sinh-inputs: New file.
19171 * benchtests/tanh-inputs: New file.
19173 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
19176 * posix/tst-getaddrinfo4.c: New test.
19177 * posix/Makefile (tests): Add it.
19179 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
19182 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
19183 when no services were used.
19184 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
19185 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
19187 2013-05-21 Andreas Schwab <schwab@suse.de>
19190 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
19191 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
19193 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
19194 redundant variable declarations and reallocation of buffer when
19195 parsing as IPv6 address. Always set NSS status when called from
19196 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
19197 buffer too small. Correct computation of needed size.
19198 * nss/Makefile (tests): Add test-digits-dots.
19199 * nss/test-digits-dots.c: New test.
19201 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
19203 * benchtests/Makefile: Remove instructions for adding
19205 * benchtests/README: New file to explain how to execute and
19206 enhance the benchmark tests.
19208 2013-05-21 Andreas Schwab <schwab@suse.de>
19211 * setjmp/Makefile (tests): Add tst-sigsetjmp.
19212 * setjmp/tst-sigsetjmp.c: New test.
19214 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
19216 * sysdeps/x86_64/memset.S (memset): New implementation.
19217 (__bzero): Likewise.
19218 (__memset_tail): New function.
19220 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
19222 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
19223 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
19224 __memcpy_sse2_unaligned ifunc selection.
19225 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
19226 Add memcpy-sse2-unaligned.S.
19227 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
19228 Add: __memcpy_sse2_unaligned.
19230 2013-05-19 Joseph Myers <joseph@codesourcery.com>
19233 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
19234 math_force_eval before restoring floating-point envrionment.
19235 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
19236 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
19238 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
19240 (__nearbyintl): Use math_force_eval before restoring
19241 floating-point environment.
19242 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
19244 * math/gen-libm-test.pl (special_functions): Remove.
19245 (parse_args): Don't handle TEST_extra. Handle functions with no
19247 * math/libm-test.inc (struct test_sincos_data): Replace with
19248 struct test_fFF_11_data.
19249 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
19250 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
19251 (sincos_test_data): Change element type to struct
19252 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
19253 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
19254 RUN_TEST_LOOP_sincos.
19255 * math/README.libm-test: Don't mention special handling of
19256 individual functions.
19257 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
19258 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
19259 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
19260 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
19261 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
19262 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19264 * math/gen-libm-test.pl (get_variable): Remove function.
19265 (parse_args): Don't show pointer parameters to call in test
19266 names. Use "extra output N" in test names for extra outputs
19267 rather than naming variables.
19269 2013-05-18 Joseph Myers <joseph@codesourcery.com>
19272 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
19273 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
19274 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
19276 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
19278 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
19281 * math/gen-libm-test.pl (@tests): Remove variable.
19282 ($count): Likewise.
19283 (new_test): Remove function.
19284 (show_exceptions): New function.
19285 (special_functions): Use show_exceptions instead of new_test.
19286 (parse_args): Likewise.
19287 (generate_testfile): Pass only function name in generated call to
19288 print_max_error or print_complex_max_error.
19289 (get_ulps): Do not handle complex tests specially.
19290 (output_test): Rename to ...
19291 (get_all_ulps_for_test): ... this. Return a string rather than
19292 printing to a file. Require ulps to be present.
19293 (output_ulps): Generate arrays rather than #defines.
19294 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
19295 (struct ulp_data): New type.
19296 (BUILD_COMPLEX_ULP): Remove macro.
19297 (compare_ulp_data): New function.
19298 (find_ulps): Likewise.
19299 (find_test_ulps): Likewise.
19300 (find_function_ulps): Likewise.
19301 (find_complex_function_ulps): Likewise.
19302 (print_max_error): Determine allowed ulps using
19303 find_function_ulps.
19304 (print_complex_max_error): Determine allowed ulps using
19305 find_complex_function_ulps.
19306 (check_float_internal): Determine max ulps using find_test_ulps.
19307 (check_float): Do not take max_ulp parameter. Update call to
19308 check_float_internal.
19309 (check_complex): Likewise.
19310 (check_int): Do not take max_ulp parameter.
19311 (check_long): Likewise.
19312 (check_bool): Likewise.
19313 (check_longlong): Likewise.
19314 (struct test_f_f_data): Remove max_ulp field.
19315 (struct test_ff_f_data): Likewise.
19316 (struct test_ff_f_data_nexttoward): Likewise.
19317 (struct test_fi_f_data): Likewise.
19318 (struct test_fl_f_data): Likewise.
19319 (struct test_if_f_data): Likewise.
19320 (struct test_fff_f_data): Likewise.
19321 (struct test_c_f_data): Likewise.
19322 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
19323 (struct test_fF_f1_data): Likewise.
19324 (struct test_ffI_f1_data): Likewise.
19325 (struct test_c_c_data): Remove max_ulp field.
19326 (struct test_cc_c_data): Likewise.
19327 (struct test_f_i_data): Likewise.
19328 (struct test_ff_i_data): Likewise.
19329 (struct test_f_l_data): Likewise.
19330 (struct test_f_L_data): Likewise.
19331 (struct test_sincos_data): Likewise.
19332 (RUN_TEST_f_f): Do not handle ulps.
19333 (RUN_TEST_LOOP_f_f): Likewise.
19334 (RUN_TEST_2_f): Likewise.
19335 (RUN_TEST_LOOP_2_f): Likewise.
19336 (RUN_TEST_fff_f): Likewise.
19337 (RUN_TEST_LOOP_fff_f): Likewise.
19338 (RUN_TEST_c_f): Likewise.
19339 (RUN_TEST_LOOP_c_f): Likewise.
19340 (RUN_TEST_f_f1): Likewise.
19341 (RUN_TEST_LOOP_f_f1): Likewise.
19342 (RUN_TEST_fF_f1): Likewise.
19343 (RUN_TEST_LOOP_fF_f1): Likewise.
19344 (RUN_TEST_fI_f1): Likewise.
19345 (RUN_TEST_LOOP_fI_f1): Likewise.
19346 (RUN_TEST_ffI_f1): Likewise.
19347 (RUN_TEST_LOOP_ffI_f1): Likewise.
19348 (RUN_TEST_c_c): Likewise.
19349 (RUN_TEST_LOOP_c_c): Likewise.
19350 (RUN_TEST_cc_c): Likewise.
19351 (RUN_TEST_LOOP_cc_c): Likewise.
19352 (RUN_TEST_f_i): Likewise.
19353 (RUN_TEST_LOOP_f_i): Likewise.
19354 (RUN_TEST_f_i_tg): Likewise.
19355 (RUN_TEST_LOOP_f_i_tg): Likewise.
19356 (RUN_TEST_ff_i_tg): Likewise.
19357 (RUN_TEST_LOOP_ff_i_tg): Likewise.
19358 (RUN_TEST_f_b): Likewise.
19359 (RUN_TEST_LOOP_f_b): Likewise.
19360 (RUN_TEST_f_b_tg): Likewise.
19361 (RUN_TEST_LOOP_f_b_tg): Likewise.
19362 (RUN_TEST_f_l): Likewise.
19363 (RUN_TEST_LOOP_f_l): Likewise.
19364 (RUN_TEST_f_L): Likewise.
19365 (RUN_TEST_LOOP_f_L): Likewise.
19366 (RUN_TEST_sincos): Likewise.
19367 (RUN_TEST_LOOP_sincos): Likewise.
19369 2013-05-17 Joseph Myers <joseph@codesourcery.com>
19373 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
19374 main case of finite arguments, set rounding mode to FE_TONEAREST
19375 and discard exceptions.
19376 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
19378 (remainder_tonearest_test_data): New variable.
19379 (remainder_test_tonearest): New function.
19380 (remainder_towardzero_test_data): New variable.
19381 (remainder_test_towardzero): New function.
19382 (remainder_downward_test_data): New variable.
19383 (remainder_test_downward): New function.
19384 (remainder_upward_test_data): New variable.
19385 (remainder_test_upward): New function.
19386 (main): Call the new test functions.
19388 * math/libm-test.inc (struct test_f_f1_data): Remove field
19390 (struct test_fF_f1_data): Likewise.
19391 (struct test_ffI_f1_data): Likewise.
19392 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
19393 based on value of EXTRA_EXPECTED.
19394 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
19395 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
19396 EXTRA_VAR based on value of EXTRA_EXPECTED.
19397 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
19398 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
19399 EXTRA_VAR based on value of EXTRA_EXPECTED.
19400 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
19401 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
19402 EXTRA_VAR based on value of EXTRA_EXPECTED.
19403 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
19404 * math/gen-libm-test.pl (parse_args): Don't output initializers
19405 for extra output values.
19407 * math/libm-test.inc (check_int): Expect result to be exactly
19408 equal to expected value and do not handle ulps.
19409 (check_long): Likewise.
19410 (check_longlong): Likewise.
19412 * math/libm-test.inc (ceil_test_data): Test for "inexact"
19414 (cimag_test_data): Likewise.
19415 (conj_test_data): Likewise.
19416 (copysign_test_data): Likewise.
19417 (cproj_test_data): Likewise.
19418 (creal_test_data): Likewise.
19419 (fabs_test_data): Likewise.
19420 (fdim_test_data): Likewise.
19421 (finite_test_data): Likewise.
19422 (floor_test_data): Likewise.
19423 (fmax_test_data): Likewise.
19424 (fmin_test_data): Likewise.
19425 (fmod_test_data): Likewise.
19426 (fpclassify_test_data): Likewise.
19427 (frexp_test_data): Likewise.
19428 (ilogb_test_data): Likewise.
19429 (isfinite_test_data): Likewise.
19430 (isgreater_test_data): Likewise.
19431 (isgreaterequal_test_data): Likewise.
19432 (isinf_test_data): Likewise.
19433 (isless_test_data): Likewise.
19434 (islessequal_test_data): Likewise.
19435 (islessgreater_test_data): Likewise.
19436 (isnan_test_data): Likewise.
19437 (isnormal_test_data): Likewise.
19438 (issignaling_test_data): Likewise.
19439 (isunordered_test_data): Likewise.
19440 (ldexp_test_data): Likewise.
19441 (lrint_test_data): Likewise.
19442 (lrint_test_data) [TEST_FLOAT]: Disable one test.
19443 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
19444 (lrint_tonearest_test_data): Test for "inexact" exceptions.
19445 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
19446 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
19447 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
19449 (lrint_towardzero_test_data): Test for "inexact" exceptions.
19450 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
19451 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
19452 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
19454 (lrint_downward_test_data): Test for "inexact" exceptions.
19455 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
19456 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
19457 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
19459 (lrint_upward_test_data): Test for "inexact" exceptions.
19460 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
19462 (llrint_test_data): Test for "inexact" exceptions.
19463 (llrint_test_data) [TEST_FLOAT]: Disable one test.
19464 (llrint_tonearest_test_data): Test for "inexact" exceptions.
19465 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
19466 (llrint_towardzero_test_data): Test for "inexact" exceptions.
19467 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
19468 (llrint_downward_test_data): Test for "inexact" exceptions.
19469 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
19470 (llrint_upward_test_data): Test for "inexact" exceptions.
19471 (logb_test_data): Likewise.
19472 (logb_downward_test_data): Likewise.
19473 (nextafter_test_data): Likewise.
19474 (nexttoward_test_data): Likewise.
19475 (remainder_test_data): Likewise.
19476 (remquo_test_data): Likewise.
19477 (scalbn_test_data): Likewise.
19478 (scalbln_test_data): Likewise.
19479 (signbit_test_data): Likewise.
19480 (sqrt_test_data): Likewise.
19481 (significand_test_data): Likewise.
19483 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
19486 * benchtests/bench-modf.c (struct args): Mark arg0 as
19488 * scripts/bench.pl: Mark members of struct args as volatile.
19490 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19493 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
19494 negative infinity on POWER6 or lower.
19495 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
19497 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
19500 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
19501 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
19502 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
19503 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
19504 (_FP_SETQNAN): New macro.
19505 (_FP_SETQNAN_SEMIRAW): Likewise.
19506 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
19507 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
19508 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
19509 (FP_EXTEND): Use _FP_FRAC_SNANP.
19510 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
19511 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
19513 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
19515 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
19518 2013-05-16 Joseph Myers <joseph@codesourcery.com>
19520 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
19521 with DIVIDE_BY_ZERO_EXCEPTION.
19522 (gamma_test_data): Likewise.
19523 (lgamma_test_data): Likewise.
19524 (log_test_data): Likewise.
19525 (log10_test_data): Likewise.
19526 (log2_test_data): Likewise.
19527 (tgamma_test_data): Likewise.
19529 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
19530 (acos_test_tonearest): Likewise.
19531 (acos_test_towardzero): Likewise.
19532 (acos_test_downward): Likewise.
19533 (acos_test_upward): Likewise.
19534 (acosh_test): Likewise.
19535 (asin_test): Likewise.
19536 (asin_test_tonearest): Likewise.
19537 (asin_test_towardzero): Likewise.
19538 (asin_test_downward): Likewise.
19539 (asin_test_upward): Likewise.
19540 (asinh_test): Likewise.
19541 (atan_test): Likewise.
19542 (atanh_test): Likewise.
19543 (atan2_test): Likewise.
19544 (cabs_test): Likewise.
19545 (cacos_test): Likewise.
19546 (cacosh_test): Likewise.
19547 (casin_test): Likewise.
19548 (casinh_test): Likewise.
19549 (catan_test): Likewise.
19550 (catanh_test): Likewise.
19551 (cbrt_test): Likewise.
19552 (ccos_test): Likewise.
19553 (ccosh_test): Likewise.
19554 (cexp_test): Likewise.
19555 (clog_test): Likewise.
19556 (clog10_test): Likewise.
19557 (cos_test): Likewise.
19558 (cos_test_tonearest): Likewise.
19559 (cos_test_towardzero): Likewise.
19560 (cos_test_downward): Likewise.
19561 (cos_test_upward): Likewise.
19562 (cosh_test): Likewise.
19563 (cosh_test_tonearest): Likewise.
19564 (cosh_test_towardzero): Likewise.
19565 (cosh_test_downward): Likewise.
19566 (cosh_test_upward): Likewise.
19567 (cpow_test): Likewise.
19568 (csin_test): Likewise.
19569 (csinh_test): Likewise.
19570 (csqrt_test): Likewise.
19571 (ctan_test): Likewise.
19572 (ctan_test_tonearest): Likewise.
19573 (ctan_test_towardzero): Likewise.
19574 (ctan_test_downward): Likewise.
19575 (ctan_test_upward): Likewise.
19576 (ctanh_test): Likewise.
19577 (ctanh_test_tonearest): Likewise.
19578 (ctanh_test_towardzero): Likewise.
19579 (ctanh_test_downward): Likewise.
19580 (ctanh_test_upward): Likewise.
19581 (erf_test): Likewise.
19582 (erfc_test): Likewise.
19583 (exp_test): Likewise.
19584 (exp_test_tonearest): Likewise.
19585 (exp_test_towardzero): Likewise.
19586 (exp_test_downward): Likewise.
19587 (exp_test_upward): Likewise.
19588 (exp10_test): Likewise.
19589 (exp2_test): Likewise.
19590 (expm1_test): Likewise.
19591 (fmod_test): Likewise.
19592 (gamma_test): Likewise.
19593 (hypot_test): Likewise.
19594 (j0_test): Likewise.
19595 (j1_test): Likewise.
19596 (jn_test): Likewise.
19597 (lgamma_test): Likewise.
19598 (log_test): Likewise.
19599 (log10_test): Likewise.
19600 (log1p_test): Likewise.
19601 (log2_test): Likewise.
19602 (logb_test_downward): Likewise.
19603 (pow_test): Likewise.
19604 (pow_test_tonearest): Likewise.
19605 (pow_test_towardzero): Likewise.
19606 (pow_test_downward): Likewise.
19607 (pow_test_upward): Likewise.
19608 (remainder_test): Likewise.
19609 (remquo_test): Likewise.
19610 (sin_test): Likewise.
19611 (sin_test_tonearest): Likewise.
19612 (sin_test_towardzero): Likewise.
19613 (sin_test_downward): Likewise.
19614 (sin_test_upward): Likewise.
19615 (sincos_test): Likewise.
19616 (sinh_test): Likewise.
19617 (sinh_test_tonearest): Likewise.
19618 (sinh_test_towardzero): Likewise.
19619 (sinh_test_downward): Likewise.
19620 (sinh_test_upward): Likewise.
19621 (sqrt_test): Likewise.
19622 (tan_test): Likewise.
19623 (tan_test_tonearest): Likewise.
19624 (tan_test_towardzero): Likewise.
19625 (tan_test_downward): Likewise.
19626 (tan_test_upward): Likewise.
19627 (tanh_test): Likewise.
19628 (tgamma_test): Likewise.
19629 (y0_test): Likewise.
19630 (y1_test): Likewise.
19631 (yn_test): Likewise.
19633 * math/gen-libm-test.pl (adjust_arg): Remove function.
19634 (special_function): Remove argument $in_func. Only handle
19635 generating output for tables of tests, not inside functions.
19636 (parse_args): Likewise.
19637 (generate_testfile): Remove variable $in_func. Update call to
19639 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
19640 (MINUS_ZERO_INIT): Rename macro to minus_zero.
19641 (PLUS_INFTY_INIT): Rename macro to plus_infty.
19642 (MINUS_INFTY_INIT): Rename macro to minus_infty.
19643 (QNAN_VALUE_INIT): Rename macro to qnan_value.
19644 (MAX_VALUE_INIT): Rename macro to max_value.
19645 (MIN_VALUE_INIT): Rename macro to min_value.
19646 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
19647 (plus_zero): Remove variable.
19648 (minus_zero): Likewise.
19649 (plus_infty): Likewise.
19650 (minus_infty): Likewise.
19651 (qnan_value): Likewise.
19652 (max_value): Likewise.
19653 (min_value): Likewise.
19654 (min_subnorm_value): Likewise.
19656 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
19658 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
19659 uint64_t or uint32_t usage.
19660 * crypt/sha256-block.c: Likewise.
19661 * crypt/sha256-crypt.c: Likewise.
19662 * crypt/sha256.c: Likewise.
19663 * crypt/sha512-block.c: Likewise.
19664 * crypt/sha512-crypt.c: Likewise.
19665 * crypt/sha512.c: Likewise.
19666 * debug/backtrace-tst.c: Likewise.
19667 * debug/pcprofiledump.c: Likewise.
19668 * elf/cache.c: Likewise.
19669 * elf/dl-cache.c: Likewise.
19670 * elf/dl-misc.c: Likewise.
19671 * elf/dl-profile.c: Likewise.
19672 * elf/dl-support.c: Likewise.
19673 * elf/ldconfig.c: Likewise.
19674 * elf/sprof.c: Likewise.
19675 * iconv/dummy-repertoire.c: Likewise.
19676 * iconv/iconv_charmap.c: Likewise.
19677 * iconv/skeleton.c: Likewise.
19678 * iconvdata/8bit-generic.c: Likewise.
19679 * iconvdata/cp737.h: Likewise.
19680 * iconvdata/cp775.h: Likewise.
19681 * iconvdata/ibm1008.h: Likewise.
19682 * iconvdata/ibm1025.h: Likewise.
19683 * iconvdata/ibm1046.h: Likewise.
19684 * iconvdata/ibm1097.h: Likewise.
19685 * iconvdata/ibm1112.h: Likewise.
19686 * iconvdata/ibm1122.h: Likewise.
19687 * iconvdata/ibm1123.h: Likewise.
19688 * iconvdata/ibm1124.h: Likewise.
19689 * iconvdata/ibm1129.h: Likewise.
19690 * iconvdata/ibm1130.h: Likewise.
19691 * iconvdata/ibm1132.h: Likewise.
19692 * iconvdata/ibm1133.h: Likewise.
19693 * iconvdata/ibm1137.h: Likewise.
19694 * iconvdata/ibm1140.h: Likewise.
19695 * iconvdata/ibm1141.h: Likewise.
19696 * iconvdata/ibm1142.h: Likewise.
19697 * iconvdata/ibm1143.h: Likewise.
19698 * iconvdata/ibm1144.h: Likewise.
19699 * iconvdata/ibm1145.h: Likewise.
19700 * iconvdata/ibm1146.h: Likewise.
19701 * iconvdata/ibm1147.h: Likewise.
19702 * iconvdata/ibm1148.h: Likewise.
19703 * iconvdata/ibm1149.h: Likewise.
19704 * iconvdata/ibm1153.h: Likewise.
19705 * iconvdata/ibm1154.h: Likewise.
19706 * iconvdata/ibm1155.h: Likewise.
19707 * iconvdata/ibm1156.h: Likewise.
19708 * iconvdata/ibm1157.h: Likewise.
19709 * iconvdata/ibm1158.h: Likewise.
19710 * iconvdata/ibm1160.h: Likewise.
19711 * iconvdata/ibm1161.h: Likewise.
19712 * iconvdata/ibm1162.h: Likewise.
19713 * iconvdata/ibm1163.h: Likewise.
19714 * iconvdata/ibm1164.h: Likewise.
19715 * iconvdata/ibm1166.h: Likewise.
19716 * iconvdata/ibm1167.h: Likewise.
19717 * iconvdata/ibm12712.h: Likewise.
19718 * iconvdata/ibm1390.h: Likewise.
19719 * iconvdata/ibm1399.h: Likewise.
19720 * iconvdata/ibm16804.h: Likewise.
19721 * iconvdata/ibm4517.h: Likewise.
19722 * iconvdata/ibm4899.h: Likewise.
19723 * iconvdata/ibm4909.h: Likewise.
19724 * iconvdata/ibm4971.h: Likewise.
19725 * iconvdata/ibm5347.h: Likewise.
19726 * iconvdata/ibm803.h: Likewise.
19727 * iconvdata/ibm856.h: Likewise.
19728 * iconvdata/ibm901.h: Likewise.
19729 * iconvdata/ibm902.h: Likewise.
19730 * iconvdata/ibm9030.h: Likewise.
19731 * iconvdata/ibm9066.h: Likewise.
19732 * iconvdata/ibm921.h: Likewise.
19733 * iconvdata/ibm922.h: Likewise.
19734 * iconvdata/ibm9448.h: Likewise.
19735 * iconvdata/isiri-3342.h: Likewise.
19736 * iconvdata/jis0201.h: Likewise.
19737 * include/link.h: Likewise.
19738 * include/netdb.h: Likewise.
19739 * inet/check_native.c: Likewise.
19740 * inet/check_pf.c: Likewise.
19741 * inet/getipv4sourcefilter.c: Likewise.
19742 * inet/getnameinfo.c: Likewise.
19743 * inet/getsourcefilter.c: Likewise.
19744 * inet/htonl.c: Likewise.
19745 * inet/setipv4sourcefilter.c: Likewise.
19746 * inet/setsourcefilter.c: Likewise.
19747 * inet/test-inet6_opt.c: Likewise.
19748 * inet/tst-network.c: Likewise.
19749 * locale/C-collate.c: Likewise.
19750 * locale/C-ctype.c: Likewise.
19751 * locale/C-time.c: Likewise.
19752 * locale/C-translit.h: Likewise.
19753 * locale/loadarchive.c: Likewise.
19754 * locale/programs/3level.h: Likewise.
19755 * locale/programs/charmap.c: Likewise.
19756 * locale/programs/charmap.h: Likewise.
19757 * locale/programs/ld-address.c: Likewise.
19758 * locale/programs/ld-collate.c: Likewise.
19759 * locale/programs/ld-ctype.c: Likewise.
19760 * locale/programs/ld-identification.c: Likewise.
19761 * locale/programs/ld-measurement.c: Likewise.
19762 * locale/programs/ld-messages.c: Likewise.
19763 * locale/programs/ld-monetary.c: Likewise.
19764 * locale/programs/ld-name.c: Likewise.
19765 * locale/programs/ld-numeric.c: Likewise.
19766 * locale/programs/ld-paper.c: Likewise.
19767 * locale/programs/ld-telephone.c: Likewise.
19768 * locale/programs/ld-time.c: Likewise.
19769 * locale/programs/linereader.c: Likewise.
19770 * locale/programs/locale.c: Likewise.
19771 * locale/programs/locarchive.c: Likewise.
19772 * locale/programs/locfile.h: Likewise.
19773 * locale/programs/repertoire.c: Likewise.
19774 * locale/programs/simple-hash.c: Likewise.
19775 * locale/programs/simple-hash.h: Likewise.
19776 * malloc/memusage.c: Likewise.
19777 * malloc/memusagestat.c: Likewise.
19778 * nis/nis_defaults.c: Likewise.
19779 * nis/nis_hash.c: Likewise.
19780 * nis/nis_print.c: Likewise.
19781 * nis/nis_xdr.c: Likewise.
19782 * nscd/connections.c: Likewise.
19783 * nscd/hstcache.c: Likewise.
19784 * nscd/nscd_gethst_r.c: Likewise.
19785 * nscd/nscd_getserv_r.c: Likewise.
19786 * nscd/nscd_helper.c: Likewise.
19787 * nscd/servicescache.c: Likewise.
19788 * nss/makedb.c: Likewise.
19789 * nss/nss_db/db-XXX.c: Likewise.
19790 * nss/nss_db/db-initgroups.c: Likewise.
19791 * nss/nss_db/db-netgrp.c: Likewise.
19792 * nss/nss_files/files-network.c: Likewise.
19793 * nss/nss_files/files-parse.c: Likewise.
19794 * posix/bug-regex5.c: Likewise.
19795 * posix/fnmatch_loop.c: Likewise.
19796 * posix/regcomp.c: Likewise.
19797 * posix/regexec.c: Likewise.
19798 * posix/tst-rfc3484-2.c: Likewise.
19799 * posix/tst-rfc3484-3.c: Likewise.
19800 * posix/tst-rfc3484.c: Likewise.
19801 * resolv/nss_dns/dns-canon.c: Likewise.
19802 * resolv/nss_dns/dns-network.c: Likewise.
19803 * resolv/res_init.c: Likewise.
19804 * resolv/res_mkquery.c: Likewise.
19805 * resolv/tst-aton.c: Likewise.
19806 * stdlib/cxa_atexit.c: Likewise.
19807 * stdlib/cxa_finalize.c: Likewise.
19808 * stdlib/gen-fpioconst.c: Likewise.
19809 * stdlib/strtol_l.c: Likewise.
19810 * string/tst-endian.c: Likewise.
19811 * sunrpc/auth_des.c: Likewise.
19812 * sunrpc/clnt_udp.c: Likewise.
19813 * sunrpc/rtime.c: Likewise.
19814 * sunrpc/svcauth_des.c: Likewise.
19815 * sunrpc/xdr.c: Likewise.
19816 * sunrpc/xdr_intXX_t.c: Likewise.
19817 * sunrpc/xdr_rec.c: Likewise.
19818 * sysdeps/generic/ldconfig.h: Likewise.
19819 * sysdeps/generic/ldsodefs.h: Likewise.
19820 * sysdeps/generic/memusage.h: Likewise.
19821 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
19822 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
19823 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
19824 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
19825 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
19826 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
19827 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
19828 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
19829 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
19830 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
19831 * sysdeps/posix/getaddrinfo.c: Likewise.
19832 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
19833 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
19834 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
19835 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
19836 * sysdeps/powerpc/test-gettimebase.c: Likewise.
19837 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
19838 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
19839 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
19840 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
19841 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
19842 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
19843 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
19844 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
19845 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
19846 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
19847 * sysdeps/x86_64/dl-tls.h: Likewise.
19848 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
19849 * time/alt_digit.c: Likewise.
19850 * time/era.c: Likewise.
19851 * wcsmbs/tst-c16c32-1.c: Likewise.
19853 2013-05-16 Joseph Myers <joseph@codesourcery.com>
19855 * math/libm-test.inc (struct test_sincos_data): New type.
19856 (RUN_TEST_LOOP_sincos): New macro.
19857 (sincos_test_data): New variable.
19858 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
19860 2013-05-16 Richard Henderson <rth@redhat.com>
19862 * math/atest-exp2.c (LIMB64): New macro.
19863 (CONSTSZ): New macro.
19864 (mp_exp1, mp_exp_m1, mp_log2): New variables.
19866 (print_mpn_fp): ... to function scope.
19867 (read_mpn_hex): Remove.
19868 (get_log2): Remove.
19869 (exp2_mpn): Use mp_log2.
19870 (main): Use mp_exp1.
19872 2013-05-16 Joseph Myers <joseph@codesourcery.com>
19874 * math/libm-test.inc: Remove comment about not testing "inexact"
19876 (INEXACT_EXCEPTION): New macro.
19877 (NO_INEXACT_EXCEPTION): Likewise.
19878 (INVALID_EXCEPTION_OK): Update value.
19879 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
19880 (OVERFLOW_EXCEPTION_OK): Likewise.
19881 (UNDERFLOW_EXCEPTION_OK): Likewise.
19882 (IGNORE_ZERO_INF_SIGN): Likewise.
19883 (ERRNO_UNCHANGED): Likewise.
19884 (ERRNO_EDOM): Likewise.
19885 (ERRNO_ERANGE): Likewise.
19886 (test_exceptions): Handle testing "inexact" exceptions.
19887 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
19888 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
19889 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
19890 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
19892 (rint_towardzero_test_data): Likewise.
19893 (rint_downward_test_data): Likewise.
19894 (rint_upward_test_data): Likewise.
19896 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
19897 with OVERFLOW_EXCEPTION.
19898 (exp10_test_data): Likewise.
19899 (exp2_test_data): Likewise.
19900 (expm1_test_data): Likewise.
19901 (lgamma_test_data): Likewise.
19902 (pow_test_data): Likewise.
19903 (tgamma_test_data): Likewise.
19904 (yn_test_data): Remove duplicate test of overflow.
19906 * math/libm-test.inc (struct test_cc_c_data): New type.
19907 (RUN_TEST_LOOP_cc_c): New macro.
19908 (cpow_test_data): New variable.
19909 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
19911 * math/libm-test.inc (struct test_f_L_data): New type.
19912 (RUN_TEST_LOOP_f_L): New macro.
19913 (llrint_test_data): New variable.
19914 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
19915 (llrint_tonearest_test_data): New variable.
19916 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
19917 (llrint_towardzero_test_data): New variable.
19918 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
19919 (llrint_downward_test_data): New variable.
19920 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
19921 (llrint_upward_test_data): New variable.
19922 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
19923 (llround_test_data): New variable.
19924 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
19926 2013-05-13 Peter Collingbourne <pcc@google.com>
19928 * math/atest-exp2.c (get_log2): Remove const attribute.
19930 2013-05-15 Joseph Myers <joseph@codesourcery.com>
19932 * math/libm-test.inc (struct test_f_l_data): New type.
19933 (RUN_TEST_LOOP_f_l): New macro.
19934 (lrint_test_data): New variable.
19935 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
19936 (lrint_tonearest_test_data): New variable.
19937 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
19938 (lrint_towardzero_test_data): New variable.
19939 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
19940 (lrint_downward_test_data): New variable.
19941 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
19942 (lrint_upward_test_data): New variable.
19943 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
19944 (lround_test_data): New variable.
19945 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
19947 2013-05-15 Peter Collingbourne <pcc@google.com>
19949 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
19950 (EXTRACT_WORDS64) Use where appropriate.
19951 (INSERT_WORDS64) Likewise.
19953 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
19954 constraints with x constraints.
19955 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
19957 * malloc/obstack.c (_obstack_compat): Add initializer.
19959 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
19961 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
19962 si_trapno and add si_addr_lsb to _sifields.sigfault.
19963 (si_trapno): Remove macro.
19964 (si_addr_lsb): Define new macro.
19965 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
19967 2013-05-15 Joseph Myers <joseph@codesourcery.com>
19969 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
19970 instead of TEST_f_l.
19971 (llrint_test_tonearest): Likewise.
19972 (llrint_test_towardzero): Likewise.
19973 (llrint_test_downward): Likewise.
19974 (llrint_test_upward): Likewise.
19975 (llround_test): Likewise.
19977 * math/libm-test.inc (struct test_f_i_data): Add comment.
19978 (RUN_TEST_LOOP_f_b): New macro.
19979 (RUN_TEST_LOOP_f_b_tg): Likewise.
19980 (finite_test_data): New variable.
19981 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
19982 (isfinite_test_data): New variable.
19983 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19984 (isinf_test_data): New variable.
19985 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19986 (isnan_test_data): New variable.
19987 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19988 (isnormal_test_data): New variable.
19989 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19990 (issignaling_test_data): New variable.
19991 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19992 (signbit_test_data): New variable.
19993 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19995 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
19996 with INVALID_EXCEPTION.
19997 (acosh_test_data): Likewise.
19998 (asin_test_data): Likewise.
19999 (atanh_test_data): Likewise.
20000 (fmod_test_data): Likewise.
20001 (log_test_data): Likewise.
20002 (log10_test_data): Likewise.
20003 (log2_test_data): Likewise.
20004 (pow_test_data): Likewise.
20005 (sqrt_test_data): Likewise.
20006 (y0_test_data): Likewise.
20007 (y1_test_data): Likewise.
20008 (yn_test_data): Likewise.
20010 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
20013 * math/libm-test.inc (struct test_ff_i_data): New type.
20014 (RUN_TEST_LOOP_ff_i_tg): New macro.
20015 (isgreater_test_data): New variable.
20016 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20017 (isgreaterequal_test_data): New variable.
20018 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20019 (isless_test_data): New variable.
20020 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20021 (islessequal_test_data): New variable.
20022 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20023 (islessgreater_test_data): New variable.
20024 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20025 (isunordered_test_data): New variable.
20026 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20028 2013-05-14 David S. Miller <davem@davemloft.net>
20030 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20032 2013-05-14 Joseph Myers <joseph@codesourcery.com>
20034 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
20036 * math/libm-test.inc (struct test_fF_f1_data): Change type of
20038 (struct test_f_i_data): Change type of max_ulp to int.
20040 * math/libm-test.inc (test_ffI_f1_data): New type.
20041 (RUN_TEST_LOOP_ffI_f1): New macro.
20042 (remquo_test_data): New variable.
20043 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
20045 * setjmp/tst-setjmp-fp.c: New file.
20046 * setjmp/Makefile (tests): Add tst-setjmp-fp.
20047 (link-libm): New variable.
20048 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
20050 * math/libm-test.inc (struct test_f_i_data): New type.
20051 (RUN_TEST_LOOP_f_i): New macro.
20052 (RUN_TEST_LOOP_f_i_tg): Likewise.
20053 (fpclassify_test_data): New variable.
20054 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
20055 (ilogb_test_data): New variable.
20056 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
20058 * math/libm-test.inc (scalbln_test): Correct function name in END
20061 * math/libm-test.inc (struct test_f_f1_data): Add comment.
20062 (RUN_TEST_LOOP_fI_f1): New macro.
20063 (frexp_test_data): New variable.
20064 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
20066 * math/libm-test.inc (struct test_fF_f1_data): New type.
20067 (RUN_TEST_LOOP_fF_f1): New macro.
20068 (modf_test_data): New variable.
20069 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
20071 * math/libm-test.inc (struct test_f_f1_data): New type.
20072 (RUN_TEST_LOOP_f_f1): New macro.
20073 (gamma_test_data): New variable.
20074 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
20075 (lgamma_test_data): New variable.
20076 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
20078 2013-05-13 Carlos O'Donell <carlos@redhat.com>
20080 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
20081 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
20082 (main): Comment "tls" pseudo-hwcap.
20084 2013-05-13 Joseph Myers <joseph@codesourcery.com>
20086 * math/libm-test.inc (struct test_fl_f_data): New type.
20087 (RUN_TEST_LOOP_fl_f): New variable.
20088 (scalbln_test_data): New variable.
20089 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
20091 * math/libm-test.inc (struct test_fi_f_data): New type.
20092 (RUN_TEST_LOOP_fi_f): New macro.
20093 (ldexp_test_data): New variable.
20094 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
20095 (scalbn_test_data): New variable.
20096 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
20098 * math/libm-test.inc (struct test_c_f_data): New type.
20099 (RUN_TEST_LOOP_c_f): New macro.
20100 (cabs_test_data): New variable.
20101 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
20102 (carg_test_data): New variable.
20103 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
20104 (cimag_test_data): New variable.
20105 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
20106 (creal_test_data): New variable.
20107 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
20109 * math/libm-test.inc (struct test_if_f_data): New type.
20110 (RUN_TEST_LOOP_if_f): New macro.
20111 (jn_test_data): New variable.
20112 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
20113 (yn_test_data): New variable.
20114 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
20116 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
20118 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20120 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
20121 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
20123 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
20125 * benchtests/Makefile (CPPFLAGS-nonlib): Add
20126 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
20127 (bench-deps): Add bench-timing.h.
20128 * benchtests-bench-skeleton.c: Include bench-timing.h.
20129 (main): Use TIMING_* macros instead of clock_gettime.
20130 * benchtests/bench-timing.h: New file.
20133 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
20134 Renamed from _LIB_VERSION.
20135 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
20137 2013-05-12 Joseph Myers <joseph@codesourcery.com>
20139 * math/libm-test.inc (struct test_fff_f_data): New type.
20140 (RUN_TEST_LOOP_fff_f): New macro.
20141 (fma_test_data): New variable.
20142 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
20143 (fma_towardzero_test_data): New variable.
20144 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
20145 (fma_downward_test_data): New variable.
20146 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
20147 (fma_upward_test_data): New variable.
20148 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
20150 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
20151 (struct test_c_c_data): New type.
20152 (RUN_TEST_LOOP_c_c): New macro.
20153 (cacos_test_data): New variable.
20154 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
20155 (cacosh_test_data): New variable.
20156 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
20157 (casin_test_data): New variable.
20158 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
20159 (casinh_test_data): New variable.
20160 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
20161 (catan_test_data): New variable.
20162 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
20163 (catanh_test_data): New variable.
20164 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
20165 (ccos_test_data): New variable.
20166 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
20167 (ccosh_test_data): New variable.
20168 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
20169 (cexp_test_data): New variable.
20170 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
20171 (clog_test_data): New variable.
20172 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
20173 (clog10_test_data): New variable.
20174 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
20175 (conj_test_data): New variable.
20176 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
20177 (cproj_test_data): New variable.
20178 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
20179 (csin_test_data): New variable.
20180 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
20181 (csinh_test_data): New variable.
20182 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
20183 (csqrt_test_data): New variable.
20184 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
20185 (ctan_test_data): New variable.
20186 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
20187 (ctan_tonearest_test_data): New variable.
20188 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
20189 (ctan_towardzero_test_data): New variable.
20190 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
20191 (ctan_downward_test_data): New variable.
20192 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
20193 (ctan_upward_test_data): New variable.
20194 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
20195 (ctanh_test_data): New variable.
20196 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
20197 (ctanh_tonearest_test_data): New variable.
20198 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
20199 (ctanh_towardzero_test_data): New variable.
20200 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
20201 (ctanh_downward_test_data): New variable.
20202 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
20203 (ctanh_upward_test_data): New variable.
20204 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
20205 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
20208 * math/libm-test.inc (struct test_ff_f_data): New type.
20209 (struct test_ff_f_data_nexttoward): Likewise.
20210 (RUN_TEST_LOOP_2_f): New macro.
20211 (RUN_TEST_LOOP_ff_f): Likewise.
20212 (atan2_test_data): New variable.
20213 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
20214 (copysign_test_data): New variable.
20215 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
20216 (fdim_test_data): New variable.
20217 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
20218 (fmax_test_data): New variable.
20219 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
20220 (fmin_test_data): New variable.
20221 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
20222 (fmod_test_data): New variable.
20223 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
20224 (hypot_test_data): New variable.
20225 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
20226 (nextafter_test_data): New variable.
20227 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
20228 (nexttoward_test_data): New variable.
20229 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
20230 (pow_test_data): New variable.
20231 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
20232 (pow_tonearest_test_data): New variable.
20233 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
20234 (pow_towardzero_test_data): New variable.
20235 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
20236 (pow_downward_test_data): New variable.
20237 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
20238 (pow_upward_test_data): New variable.
20239 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
20240 (remainder_test_data): New variable.
20241 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
20242 (scalb_test_data): New variable.
20243 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
20244 * sysdeps/i386/fpu/libm-test-ulps: Update.
20246 2013-05-11 Joseph Myers <joseph@codesourcery.com>
20248 * math/libm-test.inc (fma_test): Use max_value instead of local
20250 (nextafter_test): Likewise.
20252 * math/libm-test.inc (acos_towardzero_test_data): New variable.
20253 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20254 (acos_downward_test_data): New variable.
20255 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20256 (acos_upward_test_data): New variable.
20257 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20258 (acosh_test_data): New variable.
20259 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
20260 (asin_test_data): New variable.
20261 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
20262 (asin_tonearest_test_data): New variable.
20263 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20264 (asin_towardzero_test_data): New variable.
20265 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20266 (asin_downward_test_data): New variable.
20267 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20268 (asin_upward_test_data): New variable.
20269 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20270 (asinh_test_data): New variable.
20271 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
20272 (atan_test_data): New variable.
20273 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
20274 (atanh_test_data): New variable.
20275 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
20276 (cbrt_test_data): New variable.
20277 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
20278 (ceil_test_data): New variable.
20279 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
20280 (cos_test_data): New variable.
20281 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
20282 (cos_tonearest_test_data): New variable.
20283 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20284 (cos_towardzero_test_data): New variable.
20285 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20286 (cos_downward_test_data): New variable.
20287 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20288 (cos_upward_test_data): New variable.
20289 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20290 (cosh_test_data): New variable.
20291 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
20292 (cosh_tonearest_test_data): New variable.
20293 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20294 (cosh_towardzero_test_data): New variable.
20295 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20296 (cosh_downward_test_data): New variable.
20297 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20298 (cosh_upward_test_data): New variable.
20299 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20300 (erf_test_data): New variable.
20301 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
20302 (erfc_test_data): New variable.
20303 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
20304 (exp_test_data): New variable.
20305 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
20306 (exp_tonearest_test_data): New variable.
20307 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20308 (exp_towardzero_test_data): New variable.
20309 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20310 (exp_downward_test_data): New variable.
20311 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20312 (exp_upward_test_data): New variable.
20313 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20314 (exp10_test_data): New variable.
20315 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
20316 (exp2_test_data): New variable.
20317 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
20318 (expm1_test_data): New variable.
20319 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
20320 (fabs_test_data): New variable.
20321 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
20322 (floor_test_data): New variable.
20323 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
20324 (j0_test_data): New variable.
20325 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
20326 (j1_test_data): New variable.
20327 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
20328 (log_test_data): New variable.
20329 (log_test): Run tests with RUN_TEST_LOOP_f_f.
20330 (log10_test_data): New variable.
20331 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
20332 (log1p_test_data): New variable.
20333 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
20334 (log2_test_data): New variable.
20335 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
20336 (logb_test_data): New variable.
20337 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
20338 (logb_downward_test_data): New variable.
20339 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20340 (nearbyint_test_data): New variable.
20341 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
20342 (rint_test_data): New variable.
20343 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
20344 (rint_tonearest_test_data): New variable.
20345 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20346 (rint_towardzero_test_data): New variable.
20347 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20348 (rint_downward_test_data): New variable.
20349 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20350 (rint_upward_test_data): New variable.
20351 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20352 (round_test_data): New variable.
20353 (round_test): Run tests with RUN_TEST_LOOP_f_f.
20354 (sin_test_data): New variable.
20355 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
20356 (sin_tonearest_test_data): New variable.
20357 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20358 (sin_towardzero_test_data): New variable.
20359 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20360 (sin_downward_test_data): New variable.
20361 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20362 (sin_upward_test_data): New variable.
20363 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20364 (sinh_test_data): New variable.
20365 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
20366 (sinh_tonearest_test_data): New variable.
20367 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20368 (sinh_towardzero_test_data): New variable.
20369 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20370 (sinh_downward_test_data): New variable.
20371 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20372 (sinh_upward_test_data): New variable.
20373 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20374 (sqrt_test_data): New variable.
20375 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
20376 (tan_test_data): New variable.
20377 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
20378 (tan_tonearest_test_data): New variable.
20379 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20380 (tan_towardzero_test_data): New variable.
20381 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20382 (tan_downward_test_data): New variable.
20383 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20384 (tan_upward_test_data): New variable.
20385 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20386 (tanh_test_data): New variable.
20387 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
20388 (tgamma_test_data): New variable.
20389 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
20390 (trunc_test_data): New variable.
20391 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
20392 (y0_test_data): New variable.
20393 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
20394 (y1_test_data): New variable.
20395 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
20396 (significand_test_data): New variable.
20397 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
20399 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
20402 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
20404 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
20406 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
20408 2013-05-10 Andreas Jaeger <aj@suse.de>
20411 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
20412 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
20414 2013-05-10 Joseph Myers <joseph@codesourcery.com>
20416 * math/gen-libm-test.pl (adjust_arg): New function.
20417 (special_functions): Handle generating output in both functions
20419 (parse_args): Likewise.
20420 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
20421 $in_func argument to parse_args.
20422 * math/libm-test.inc (struct test_f_f_data): New type.
20423 (IF_ROUND_INIT_): New macro.
20424 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
20425 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
20426 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
20427 (IF_ROUND_INIT_FE_UPWARD): Likewise.
20428 (ROUND_RESTORE_): Likewise.
20429 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
20430 (ROUND_RESTORE_FE_TONEAREST): Likewise.
20431 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
20432 (ROUND_RESTORE_FE_UPWARD): Likewise.
20433 (RUN_TEST_LOOP_f_f): New macro.
20434 (acos_test_data): New variable.
20435 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
20436 (acos_tonearest_test_data): New variable.
20437 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20439 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
20441 * benchtests/bench-skeleton.c (startup): Fix coding style.
20443 2013-05-10 Joseph Myers <joseph@codesourcery.com>
20446 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
20447 negative infinity argument.
20448 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
20449 negative infinity argument.
20450 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
20451 negative infinity argument.
20452 * math/libm-test.inc (tgamma_test): Expect errno to be set for
20455 2013-05-10 Florian Weimer <fweimer@redhat.com>
20457 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
20458 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
20459 * iconv/iconv_prog.c (main): Likewise.
20460 * locale/programs/charmap-dir.c (charmap_readdir)
20461 (fopen_uncompressed): Likewise.
20462 * locale/programs/locfile.c (siblings_uncached)
20463 (write_locale_data): Use lstat64 instead of lstat.
20464 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
20467 2013-05-10 Andreas Jaeger <aj@suse.de>
20470 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
20472 Include <locale.h>.
20474 2013-05-09 Carlos O'Donell <carlos@redhat.com>
20476 * elf/dl-close.c (_dl_close_worker): Add comments.
20478 2013-05-09 Joseph Myers <joseph@codesourcery.com>
20481 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
20483 (__ieee754_rem_pio2l): Update comments.
20486 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
20488 (__ieee754_rem_pio2l): Update comments.
20490 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
20491 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
20493 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
20496 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
20497 (M_PI_34_LOG10El): Likewise.
20498 (M_PI2_LOG10El): Likewise.
20499 (M_PI4_LOG10El): Likewise.
20500 (M_PI_LOG10El): Likewise.
20502 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20504 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20506 2013-05-08 Joseph Myers <joseph@codesourcery.com>
20508 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
20509 (MINUS_ZERO_INIT): Likewise.
20510 (PLUS_INFTY_INIT): Likewise.
20511 (MINUS_INFTY_INIT): Likewise.
20512 (QNAN_VALUE_INIT): Likewise.
20513 (MAX_VALUE_INIT): Likewise.
20514 (MIN_VALUE_INIT): Likewise.
20515 (MIN_SUBNORM_VALUE_INIT): Likewise.
20516 (plus_zero): Initialize with PLUS_ZERO_INIT.
20517 (minus_zero): Initialize with MINUS_ZERO_INIT.
20518 (plus_infty): Initialize with PLUS_INFTY_INIT.
20519 (minus_infty): Initialize with MINUS_INFTY_INIT.
20520 (qnan_value): Initialize with QNAN_VALUE_INIT.
20521 (max_value): Initialize with MAX_VALUE_INIT.
20522 (min_value): Initialize with MIN_VALUE_INIT.
20523 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
20525 * math/libm-test.inc (RUN_TEST_if_f): New macro.
20526 (jn_test): Use TEST_if_f instead of TEST_ff_f.
20527 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
20528 (yn_test): Use TEST_if_f instead of TEST_ff_f.
20530 * math/libm-test.inc (RUN_TEST_f_f): New macro.
20531 (RUN_TEST_2_f): Likewise.
20532 (RUN_TEST_ff_f): Likewise.
20533 (RUN_TEST_fi_f): Likewise.
20534 (RUN_TEST_fl_f): Likewise.
20535 (RUN_TEST_fff_f): Likewise.
20536 (RUN_TEST_c_f): Likewise.
20537 (RUN_TEST_f_f1): Likewise.
20538 (RUN_TEST_fF_f1): Likewise.
20539 (RUN_TEST_fI_f1): Likewise.
20540 (RUN_TEST_ffI_f1): Likewise.
20541 (RUN_TEST_c_c): Likewise.
20542 (RUN_TEST_cc_c): Likewise.
20543 (RUN_TEST_f_i): Likewise.
20544 (RUN_TEST_f_i_tg): Likewise.
20545 (RUN_TEST_ff_i_tg): Likewise.
20546 (RUN_TEST_f_b): Likewise.
20547 (RUN_TEST_f_b_tg): Likewise.
20548 (RUN_TEST_f_l): Likewise.
20549 (RUN_TEST_f_L): Likewise.
20550 (RUN_TEST_sincos): Likewise.
20551 * math/gen-libm-test.pl (new_test): Take new argument to indicate
20552 whether to show exceptions. Do not include ");\n" in return
20554 (special_functions): Output call to RUN_TEST_sincos instead of
20555 check_float calls. Update calls to new_test.
20556 (parse_args): Output call to single RUN_TEST_* macro instead of
20557 check_* calls and other assignments. Update calls to new_test.
20563 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
20564 input to result for tgamma overflow.
20565 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
20566 (gamma_coeff): New variable.
20567 (NCOEFF): New macro.
20568 (gamma_positive): New function.
20569 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
20570 underflow here. Use gamma_positive instead of exp (lgamma) for
20572 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
20573 (gamma_coeff): New variable.
20574 (NCOEFF): New macro.
20575 (gammaf_positive): New function.
20576 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
20577 underflow here. Use gamma_positive instead of exp (lgamma) for
20579 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
20580 (gamma_coeff): New variable.
20581 (NCOEFF): New macro.
20582 (gammal_positive): New function.
20583 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
20584 underflow here. Use gamma_positive instead of exp (lgamma) for
20586 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
20587 (gamma_coeff): New variable.
20588 (NCOEFF): New macro.
20589 (gammal_positive): New function.
20590 (__ieee754_gammal_r): Handle positive infinity, overflow and
20591 underflow here. Handle NaN the same as positive infinity. Remove
20592 check x < 0xffffffff for negative integers. Use gamma_positive
20593 instead of exp (lgamma) for other arguments.
20594 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
20595 (gamma_coeff): New variable.
20596 (NCOEFF): New macro.
20597 (gammal_positive): New function.
20598 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
20599 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
20600 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
20601 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
20602 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
20603 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
20604 * sysdeps/generic/math_private.h (__gamma_productf): New
20606 (__gamma_product): Likewise.
20607 (__gamma_productl): Likewise.
20608 * math/Makefile (libm-calls): Add gamma_product.
20609 * math/libm-test.inc (tgamma_test): Add more tests.
20610 * sysdeps/i386/fpu/libm-test-ulps: Update.
20611 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20613 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
20615 * benchtests/bench-skeleton.c (main): Preheat CPU.
20617 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
20619 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
20621 2013-05-07 Roland McGrath <roland@hack.frob.com>
20623 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
20624 and _dl_skip_args_internal.
20626 2013-05-07 Carlos O'Donell <carlos@redhat.com>
20628 * manual/message.texi (Message Translation): Talk about users.
20629 Message to key mapping impacts design.
20631 2013-05-06 Roland McGrath <roland@hack.frob.com>
20633 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
20635 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
20637 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
20638 * sysdeps/wordsize-64/glob64.c: ... here.
20640 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
20641 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
20644 * debug/getlogin_r_chk.c: Moved to ...
20645 * login/getlogin_r_chk.c: ... here.
20646 * debug/Makefile (routines): Move getlogin_r_chk to ...
20647 * login/Makefile (routines): ... here.
20648 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
20649 * login/Versions (libc: GLIBC_2.4): ... here.
20651 * io/poll.c (__poll): Renamed from poll.
20652 Add libc_hidden_def.
20653 (poll): Define as weak alias.
20655 * debug/ptsname_r_chk.c: Moved to ...
20656 * login/ptsname_r_chk.c: ... here.
20657 * debug/Makefile (routines): Move ptsname_r_chk to ...
20658 * login/Makefile (routines): ... here.
20659 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
20660 * login/Versions (libc: GLIBC_2.4): ... here.
20662 * posix/getlogin.c: Moved to ...
20663 * login/getlogin.c: ... here.
20664 * posix/getlogin_r.c: Moved to ...
20665 * login/getlogin_r.c: ... here.
20666 * posix/getlogin_r.c: Moved to ...
20667 * login/getlogin_r.c: ... here.
20668 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
20669 * login/Makefile (routines): ... here.
20670 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
20671 * login/Versions (libc: GLIBC_2.0): ... here.
20673 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
20674 (setrlimit): Define as weak alias.
20676 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
20677 Call __ names for open, ftruncate, and close.
20678 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
20679 (truncate): Define as weak alias.
20681 2013-05-06 Joseph Myers <joseph@codesourcery.com>
20683 * math/gen-libm-test.pl (parse_args): Initialize x before each
20684 test of frexp, modf and remquo.
20686 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
20687 test signgam value.
20689 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20693 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
20695 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
20697 2013-05-06 Roland McGrath <roland@hack.frob.com>
20699 * elf/dl-writev.h: New file.
20700 * elf/dl-misc.c: Include it.
20701 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
20702 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
20704 2013-05-04 Joseph Myers <joseph@codesourcery.com>
20706 * math/libm-test.inc (noXFails): Remove variable.
20707 (noXPasses): Likewise.
20708 (BUILD_COMPLEX_INT): Remove macro.
20709 (print_screen): Remove xfail argument.
20710 (print_screen_max_error): Likewise.
20711 (update_stats): Likewise.
20712 (print_max_error): Likewise. Update calls to other affected
20714 (print_complex_max_error): Likewise.
20715 (test_single_exception): Update calls to print_screen.
20716 (test_single_errno): Likewise.
20717 (check_float_internal): Remove xfail argument. Update calls to
20718 other affected functions.
20719 (check_float): Likewise.
20720 (check_complex): Likewise.
20721 (check_int): Likewise.
20722 (check_long): Likewise.
20723 (check_bool): Likewise.
20724 (check_longlong): Likewise.
20725 (main): Don't print noXFails and noXPasses.
20726 * math/gen-libm-test.pl (top level): Don't mention expected
20727 failure handling in comment.
20728 (new_test): Don't handle expected failures.
20729 (parse_args): Don't mention expected failure handling in comment.
20730 (generate_testfile): Don't handle expected failures.
20731 (parse_ulps): Likewise.
20732 (print_ulps_file): Likewise.
20733 (get_failure): Remove function.
20734 (output_test): Don't handle expected failures.
20735 * make/README.libm-test: Don't mention expected failure handling.
20737 * math/libm-test.inc (plus_zero): Make const. Add initializer.
20738 (minus_zero): Likewise.
20739 (plus_infty): Likewise.
20740 (minus_infty): Likewise.
20741 (qnan_value): Likewise.
20742 (max_value): Likewise.
20743 (min_value): Likewise.
20744 (min_subnorm_value): Likewise.
20745 (initialize): Do not initialize those variables dynamically.
20747 2013-05-03 Roland McGrath <roland@hack.frob.com>
20749 * io/open.c (__open_2): Moved to ...
20750 * io/open_2.c: ... this new file.
20751 * io/open64.c (__open64_2): Moved to ...
20752 * io/open64_2.c: ... this new file.
20753 * io/openat.c (__openat_2): Moved to ...
20754 * io/openat_2.c: ... this new file.
20755 * io/openat64.c (__openat64_2): Moved to ...
20756 * io/openat64_2.c: ... this new file.
20757 * io/Makefile (routines): Add them.
20758 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
20759 * sysdeps/unix/sysv/linux/open_2.c: File removed.
20760 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
20761 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
20762 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
20763 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
20764 (__openat64): Add hidden_ver.
20765 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
20766 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
20768 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
20769 Separately conditionalize setting of GLRO(dl_sysinfo) so
20770 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
20771 as well, but the actual setting is only under [NEED_DL_SYSINFO].
20773 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20775 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
20776 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
20778 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
20779 * sysdeps/unix/sysv/linux/powerpc/init-first.c
20780 (_libc_vdso_platform_setup): Add __vdso_time initialization.
20781 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
20782 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
20784 2013-05-03 Joseph Myers <joseph@codesourcery.com>
20786 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
20787 test signgam value.
20789 * math/libm-test.inc (hypot_test): Do not use
20790 IGNORE_ZERO_INF_SIGN.
20792 2013-05-03 Andreas Jaeger <aj@suse.de>
20794 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
20796 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
20797 (PF_MAX): Adjust for VSOCK change.
20799 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20801 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20803 2013-05-02 Carlos O'Donell <carlos@redhat.com>
20806 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
20807 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
20808 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
20810 2013-05-02 David S. Miller <davem@davemloft.net>
20812 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20814 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
20816 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
20818 2013-05-01 Roland McGrath <roland@hack.frob.com>
20820 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
20822 2013-05-01 Richard Smith <richard@metafoo.co.uk>
20825 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
20826 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
20827 Use __attribute__ ((__gnu_inline__)).
20828 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
20829 Don't use __attribute__ ((__gnu_inline__)).
20831 2013-05-01 Joseph Myers <joseph@codesourcery.com>
20834 * math/s_catan.c (__catan): Handle small real or imaginary part of
20835 input specially to avoid spurious underflow.
20836 * math/s_catanf.c (__catanf): Likewise.
20837 * math/s_catanh.c (__catanh): Likewise.
20838 * math/s_catanhf.c (__catanhf): Likewise.
20839 * math/s_catanhl.c (__catanhl): Likewise.
20840 * math/s_catanl.c (__catanl): Likewise.
20841 * math/libm-test.inc (catan_test): Add more tests.
20842 (catanh_test): Likewise.
20843 * sysdeps/i386/fpu/libm-test-ulps: Update.
20844 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20846 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20848 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20850 2013-04-30 Joseph Myers <joseph@codesourcery.com>
20853 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
20854 accurately for denominator in atan2.
20855 * math/s_catanf.c (__catanf): Likewise.
20856 * math/s_catanh.c (__catanh): Likewise.
20857 * math/s_catanhf.c (__catanhf): Likewise.
20858 * math/s_catanhl.c (__catanhl): Likewise.
20859 * math/s_catanl.c (__catanl): Likewise.
20860 * math/libm-test.inc (catan_test): Add more tests.
20861 (catanh_test): Likewise.
20862 * sysdeps/i386/fpu/libm-test-ulps: Update.
20863 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20865 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
20867 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
20869 * benchtests/Makefile (bench): Remove slow benchmarks.
20870 * benchtests/atan-inputs: Add slow benchmark inputs.
20871 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
20872 (BENCH_FUNC): Accept variant offset.
20874 * benchtests/bench-skeleton.c (main): Run benchmark for each
20876 * benchtests/cos-inputs: Add slow benchmark inputs.
20877 * benchtests/exp-inputs: Likewise.
20878 * benchtests/pow-inputs: Likewise.
20879 * benchtests/sin-inputs: Likewise.
20880 * benchtests/slowatan-inputs: Remove.
20881 * benchtests/slowatan.c: Remove.
20882 * benchtests/slowcos-inputs: Remove.
20883 * benchtests/slowcos.c: Remove.
20884 * benchtests/slowexp-inputs: Remove.
20885 * benchtests/slowexp.c: Remove.
20886 * benchtests/slowpow-inputs: Remove.
20887 * benchtests/slowpow.c: Remove.
20888 * benchtests/slowsin-inputs: Remove.
20889 * benchtests/slowsin.c: Remove.
20890 * benchtests/slowtan-inputs: Remove.
20891 * benchtests/slowtan.c: Remove.
20892 * benchtests/tan-inputs: Add slow benchmark inputs.
20893 * scripts/bench.pl: Parse comments and directives.
20895 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
20897 ($(objpfx)bench-%.c): Remove *-ITER.
20898 * benchtests/bench-modf.c: Remove definition of ITER.
20899 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
20900 (main): Loop for DURATION seconds instead of fixed number of
20902 * scripts/bench.pl: Don't expect iterations in parameters.
20904 2013-04-29 Roland McGrath <roland@hack.frob.com>
20906 * io/fchdir.c (__fchdir): Renamed from fchdir.
20907 (fchdir): Define as weak alias.
20909 2013-04-29 Joseph Myers <joseph@codesourcery.com>
20911 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
20912 (ERRNO_EDOM): Likewise.
20913 (ERRNO_ERANGE): Likewise.
20914 (noErrnoTests): New variable.
20915 (init_max_error): Set errno to 0.
20916 (test_single_errno): New function.
20917 (test_errno): Likewise.
20918 (check_float_internal): Call test_errno. Set errno to 0.
20919 (check_complex): Refer to errno tests in comment.
20920 (check_int): Call test_errno. Set errno to 0.
20921 (check_long): Likewise.
20922 (check_bool): Likewise.
20923 (check_longlong): Likewise.
20924 (cos_test): Use ERRNO_* flags for errno tests instead of
20926 (expm1_test): Likewise.
20927 (fmod_test): Likewise.
20928 (ilogb_test): Likewise.
20929 (lgamma_test): Likewise.
20930 (pow_test): Likewise.
20931 (remainder_test): Likewise.
20932 (sin_test): Likewise.
20933 (tan_test): Likewise.
20934 (yn_test): Likewise.
20935 (initialize): Set errno to 0.
20936 (main): Print number of errno tests.
20937 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
20939 2013-04-29 Andreas Jaeger <aj@suse.de>
20942 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
20946 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
20947 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
20951 * stdlib/random.c (__initstate): Return NULL if
20955 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
20956 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
20959 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20961 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20963 2013-04-29 Joseph Myers <joseph@codesourcery.com>
20965 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
20966 of individual tests.
20967 (casin_test): Likewise.
20968 (casinh_test): Likewise.
20970 2013-04-27 Joseph Myers <joseph@codesourcery.com>
20973 * math/s_catan.c (__catan): Handle arguments with large real or
20974 imaginary part separately without squaring.
20975 * math/s_catanf.c (__catanf): Likewise.
20976 * math/s_catanh.c (__catanh): Likewise.
20977 * math/s_catanhf.c (__catanhf): Likewise.
20978 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
20980 (__catanhl): Handle arguments with large real or imaginary part
20981 separately without squaring.
20982 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
20984 (__catanl): Handle arguments with large real or imaginary part
20985 separately without squaring.
20986 * math/libm-test.inc (catan_test): Add more tests.
20987 (catanh_test): Likewise.
20988 * sysdeps/i386/fpu/libm-test-ulps: Update.
20989 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20991 2013-04-27 Andreas Jaeger <aj@suse.de>
20994 * stdlib/stdlib.h: Update guards for qecvt.
20995 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
20998 2013-04-27 Allan McRae <allan@archlinux.org>
21000 * sysdeps/i386/fpu/libm-test-ulps: Update.
21002 2013-04-26 Joseph Myers <joseph@codesourcery.com>
21005 * math/s_catan.c: Include <float.h>.
21006 (__catan): Ensure underflow exception occurs for underflowed
21008 * math/s_catanf.c: Include <float.h>.
21009 (__catanf): Ensure underflow exception occurs for underflowed
21011 * math/s_catanh.c: Include <float.h>.
21012 (__catanh): Ensure underflow exception occurs for underflowed
21014 * math/s_catanhf.c: Include <float.h>.
21015 (__catanhf): Ensure underflow exception occurs for underflowed
21017 * math/s_catanhl.c: Include <float.h>.
21018 (__catanhl): Ensure underflow exception occurs for underflowed
21020 * math/s_catanl.c: Include <float.h>.
21021 (__catanl): Ensure underflow exception occurs for underflowed
21023 * math/libm-test.inc (catan_test): Add more tests.
21024 (catanh_test): Likewise.
21027 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
21028 underflowed result.
21029 * math/s_ccoshf.c (__ccoshf): Likewise.
21030 * math/s_ccoshl.c (__ccoshl): Likewise.
21031 * math/s_csin.c (__csin): Likewise.
21032 * math/s_csinf.c (__csinf): Likewise.
21033 * math/s_csinh.c (__csinh): Likewise.
21034 * math/s_csinhf.c (__csinhf): Likewise.
21035 * math/s_csinhl.c (__csinhl): Likewise.
21036 * math/s_csinl.c (__csinl): Likewise.
21037 * math/libm-test.inc (ccos_test): Add more tests.
21038 (ccosh_test): Likewise.
21039 (csin_test): Likewise.
21040 (csinh_test): Likewise.
21042 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21044 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
21045 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
21046 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
21047 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
21048 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
21049 powerpc/power5+/fpu folders.
21050 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
21053 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
21055 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21057 2013-04-25 Joseph Myers <joseph@codesourcery.com>
21059 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
21060 additions to variable.
21061 [$(config-machine) = x86_64] (modules-names): Likewise.
21062 ($(objpfx)tst-audit3): Remove dependency.
21063 ($(objpfx)tst-audit3.out): Likewise.
21064 ($(objpfx)tst-audit4): Likewise.
21065 ($(objpfx)tst-audit4.out): Likewise.
21066 ($(objpfx)tst-audit5): Likewise.
21067 ($(objpfx)tst-audit5.out): Likewise.
21068 ($(objpfx)tst-audit6): Likewise.
21069 ($(objpfx)tst-audit6.out): Likewise.
21070 ($(objpfx)tst-audit7): Likewise.
21071 ($(objpfx)tst-audit7.out): Likewise.
21072 (tst-audit3-ENV): Remove variable.
21073 (tst-audit4-ENV): Likewise.
21074 (tst-audit5-ENV): Likewise.
21075 (tst-audit6-ENV): Likewise.
21076 (tst-audit7-ENV): Likewise.
21077 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
21078 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
21079 addition to variable.
21080 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
21081 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
21082 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
21083 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
21084 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
21085 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
21086 tst-audit3, tst-audit4 and tst-audit5.
21087 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
21088 tst-audit6 and tst-audit7.
21089 [$(subdir) = elf] (modules-names): Add audit modules for those
21091 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
21092 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
21093 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
21094 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
21095 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
21096 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
21097 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
21098 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
21099 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
21100 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
21101 [$(subdir) = elf] (tst-audit3-ENV): New variable.
21102 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
21103 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
21104 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
21105 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
21106 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
21108 [$(subdir) = elf && $(config-cflags-avx) = yes]
21109 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
21110 [$(subdir) = elf && $(config-cflags-avx) = yes]
21111 (CFLAGS-tst-auditmod4a.c): Likewise.
21112 [$(subdir) = elf && $(config-cflags-avx) = yes]
21113 (CFLAGS-tst-auditmod4b.c): Likewise.
21114 [$(subdir) = elf && $(config-cflags-avx) = yes]
21115 (CFLAGS-tst-auditmod6b.c): Likewise.
21116 [$(subdir) = elf && $(config-cflags-avx) = yes]
21117 (CFLAGS-tst-auditmod6c.c): Likewise.
21118 [$(subdir) = elf && $(config-cflags-avx) = yes]
21119 (CFLAGS-tst-auditmod7b.c): Likewise.
21120 * elf/tst-audit3.c: Move to ...
21121 * sysdeps/x86_64/tst-audit3.c: ... here.
21122 * elf/tst-audit4.c: Move to ...
21123 * sysdeps/x86_64/tst-audit4.c: ... here.
21124 * elf/tst-audit5.c: Move to ...
21125 * sysdeps/x86_64/tst-audit5.c: ... here.
21126 * elf/tst-audit6.c: Move to ...
21127 * sysdeps/x86_64/tst-audit6.c: ... here.
21128 * elf/tst-audit7.c: Move to ...
21129 * sysdeps/x86_64/tst-audit7.c: ... here.
21130 * elf/tst-auditmod3a.c: Move to ...
21131 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
21132 * elf/tst-auditmod3b.c: Move to ...
21133 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
21134 * elf/tst-auditmod4a.c: Move to ...
21135 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
21136 * elf/tst-auditmod4b.c: Move to ...
21137 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
21138 * elf/tst-auditmod5a.c: Move to ...
21139 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
21140 * elf/tst-auditmod5b.c: Move to ...
21141 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
21142 * elf/tst-auditmod6a.c: Move to ...
21143 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
21144 * elf/tst-auditmod6b.c: Move to ...
21145 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
21146 * elf/tst-auditmod6c.c: Move to ...
21147 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
21148 * elf/tst-auditmod7a.c: Move to ...
21149 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
21150 * elf/tst-auditmod7b.c: Move to ...
21151 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
21153 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
21156 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
21157 define unconditionally.
21158 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
21159 define unconditionally.
21160 (INT8_C, INT16_C, etc.): Likewise.
21162 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
21164 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
21165 __ehdr_start with hidden visibility.
21167 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
21169 2013-04-24 Carlos O'Donell <carlos@redhat.com>
21171 * math/libm-test.inc (cos_test): Use accurate hex constants.
21172 (sincost_test): Likewise.
21174 2013-04-24 Joseph Myers <joseph@codesourcery.com>
21176 * math/libm-test.inc (catan_test): Add more tests.
21177 (catanh_test): Likewise.
21179 * math/s_catanf.c (__catanf): Use suffixed floating-point
21181 * math/s_catanhf.c (__catanhf): Likewise.
21182 * math/s_catanhl.c (__catanhl): Likewise.
21183 * math/s_catanl.c (__catanl): Likewise.
21186 * math/s_catan.c (__catan): Calculate imaginary part of result
21187 with log1p not log unless computing log of number close to 0.
21188 * math/s_catanf.c (__catanf): Likewise.
21189 * math/s_catanl.c (__catanl): Likewise.
21190 * math/s_catanh.c (__catanh): Calculate real part of result with
21191 log1p not log unless computing log of number close to 0.
21192 * math/s_catanhf.c (__catanhf): Likewise.
21193 * math/s_catanhl.c (__catanhl): Likewise.
21194 * math/libm-test.inc (catan_test): Add more tests.
21195 (catanh_test): Likewise.
21196 * sysdeps/i386/fpu/libm-test-ulps: Update.
21197 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21199 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
21201 * benchtests/Makefile: Mention files in which fast and slow
21202 paths of math functions are implemented.
21204 2013-04-23 Roland McGrath <roland@hack.frob.com>
21206 * sysdeps/posix/timespec_get.c: New file.
21208 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21210 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
21212 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
21214 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
21215 powerpc/power5/fpu folders.
21216 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
21217 * benchtests/Makefile: Add modf testcase.
21218 * benchtests/bench-modf.c: New file: Benchmark test for mo
21220 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
21223 * time/Makefile (tests): Add tst-strptime-whitespace.
21224 * time/strptime_l.c (get_number): Use ISSPACE.
21225 (__strptime_internal): Likewise.
21226 * time/tst-strptime-whitespace.c: New test case.
21228 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
21230 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
21232 (_nss_files_init): Set it here.
21234 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
21236 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
21237 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
21240 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
21242 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
21244 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
21246 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
21249 2013-04-21 David S. Miller <davem@davemloft.net>
21251 * po/ru.po: Update Russion translation from translation project.
21253 2013-04-17 Adam Conrad <adconrad@0c3.net>
21255 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
21258 2013-04-17 Carlos O'Donell <carlos@redhat.com>
21260 * configure.in: Remove i386 configure warning. Remove i386 case.
21261 * configure: Regenerate.
21262 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
21263 Add example to error message.
21264 * sysdeps/i386/configure: Regenerate.
21266 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
21268 * benchtests/Makefile (bench): Add cos, tan, slowcos and
21270 * benchtests/cos-inputs: New file.
21271 * benchtests/slowcos-inputs: New file.
21272 * benchtests/slowcos.c: New file.
21273 * benchtests/slowtan-inputs: New file.
21274 * benchtests/slowtan.c: New file.
21275 * benchtests/tan-inputs: New file.
21277 2013-04-16 Roland McGrath <roland@hack.frob.com>
21279 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
21282 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
21284 * benchtests/Makefile: Include cppflags-iterator.mk to add
21285 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
21287 * Makefile.in (bench-clean): New target.
21288 * benchtests/Makefile (bench-clean): Likewise.
21290 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
21292 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
21294 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
21296 * stdio-common/tstdiomisc.c: Fix coding-style violation.
21298 2013-04-15 Andreas Schwab <schwab@suse.de>
21300 * nscd/grpcache.c (cache_addgr): Properly check for short write.
21301 * nscd/initgrcache.c (addinitgroupsX): Likewise.
21302 * nscd/pwdcache.c (cache_addpw): Likewise.
21303 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
21306 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
21308 * benchtests/Makefile (bench): Write all output to
21309 bench-out.tmp together.
21311 2013-04-15 Andreas Schwab <schwab@suse.de>
21313 * nscd/nscd.c (main): Don't fork again after closing files.
21315 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
21317 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
21319 * benchtests/Rules (bench-deps): Collect dependencies into a
21320 single variable. Add Makefile to dependencies.
21321 ($(objpfx)bench-%.c): Depend on bench-deps.
21323 2013-04-12 Roland McGrath <roland@hack.frob.com>
21324 Xavier Roche <roche+kml2@exalead.com>
21327 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
21328 just that it's a file descriptor.
21329 * manual/llio.texi (Synchronizing AIO Operations): Update description
21330 for EBADF error from aio_fsync.
21332 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
21334 * Rules (bench): Move target definition...
21335 * benchtests/Makefile: ... here.
21337 2013-04-11 Carlos O'Donell <carlos@redhat.com>
21339 * math/libm-test.inc (cos_test): Fix PI/2 test.
21340 (sincos_test): Likewise.
21341 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
21342 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
21344 2013-04-11 Andreas Schwab <schwab@suse.de>
21347 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
21348 accept exponent character only when digits were seen.
21349 * stdio-common/Makefile (tests): Add bug26.
21350 * stdio-common/bug26.c: New file.
21353 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
21356 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
21358 * Makeconfig (rtld-prefix): Define built linker prefix.
21359 * Rules (run-bench): Use it.
21360 * math/Makefile (run-regen-ulps): Likewise.
21362 * Rules (bench): Remove eval.
21364 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
21365 Roland McGrath <roland@hack.frob.com>
21366 Ondrej Bilka <neleai@seznam.cz>
21369 * time/getdate.c: Include ctype.h and alloca.h.
21370 (__getdate_r): Trim leading and trailing spaces of input.
21371 * time/tst-getdate.c (tests): Add tests with leading and
21374 2013-04-08 Roland McGrath <roland@hack.frob.com>
21377 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
21378 when computing value.
21380 2013-04-06 Carlos O'Donell <carlos@redhat.com>
21382 * math/README.libm-test (How can I generate "libm-test-ulps"?):
21383 Use testrun.sh to run libm tests.
21386 * elf/dl-open.c (dl_open_worker): memset all of seen array.
21388 2013-04-06 Marko Myllynen <myllynen@redhat.com>
21391 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
21393 2013-04-06 Carlos O'Donell <carlos@redhat.com>
21395 * Makefile.in (regen-ulps): New target.
21396 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
21397 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
21398 [ifneq (no,$(PERL)] (regen-ulps): New target.
21399 [ifeq (no,$(PERL)] (regen-ulps): New target.
21400 * math/libm-test.inc (ulps_file_name): Define.
21401 (output_dir): New variable.
21402 (options): Add "output-dir" option.
21403 (parse_opt): Handle 'o' case.
21404 (main): If output_dir is non-NULL use it as a prefix
21406 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
21408 2013-04-06 Carlos O'Donell <carlos@redhat.com>
21410 [BZ #10060, #10062]
21411 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
21412 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
21413 fail configure if __sync_val_compare_and_swap is not inlined.
21414 * sysdeps/i386/configure: Regenerate.
21415 * configure.in: Build for i686 when configured for i386.
21416 * configure: Regenerate.
21417 * README: Remove i386 reference.
21419 2013-04-06 Carlos O'Donell <carlos@redhat.com>
21421 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
21422 * sysdeps/s390/s390-64/sysdep.h: Likewise.
21424 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
21426 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
21427 (lmsnanval): New variables.
21428 (F): Add conversion tests.
21429 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
21430 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
21432 * stdio-common/tstdiomisc.c (F): Properly collect individual
21435 [BZ #14686, #15336]
21436 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
21437 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
21438 Instead, use input NaN values or generate a qNaN by arithmetic
21439 operation. Also fix bugs to comply with the standard.
21440 * math/libm-test.inc (remainder_test): Add more tests.
21442 [BZ #15335, #15342]
21443 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
21444 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
21445 input NaN values or generate a qNaN by arithmetic operation.
21447 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
21450 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
21453 2013-04-03 Joseph Myers <joseph@codesourcery.com>
21456 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
21457 underflowed result.
21458 * math/s_cexpf.c (__cexpf): Likewise.
21459 * math/s_cexpl.c (__cexpl): Likewise.
21460 * math/libm-test.inc (cexp_test): Add more tests.
21462 2013-04-03 Andreas Schwab <schwab@suse.de>
21465 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
21466 order arrays from heap if bigger than alloca cutoff.
21468 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
21470 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
21471 (SNAN_TESTS_double): Refer to GCC PR56831.
21472 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
21475 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
21477 * Rules (bench): Move bench.out after the run is complete.
21479 * Rules (bench): Echo currently running benchmark.
21481 * benchtests/Makefile (bench): Add atan and slowatan.
21482 * benchtests/atan-inputs: New file.
21483 * benchtests/slowatan-inputs: New file.
21484 * benchtests/slowatan.c: New file.
21486 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
21487 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
21491 * sysdeps/unix/sysv/linux/kernel-features.h
21492 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
21493 __ASSUME_XFS_RESTRICTED_CHOWN.
21494 * sysdeps/unix/sysv/linux/pathconf.c
21495 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
21496 Save and restore errno.
21498 2013-04-02 Joseph Myers <joseph@codesourcery.com>
21501 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
21502 arguments using __kernel_casinh.
21503 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
21504 arguments using __kernel_casinhf.
21505 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
21506 arguments using __kernel_casinhl.
21507 * math/libm-test.inc (cacosh_test): Add more tests.
21508 * sysdeps/i386/fpu/libm-test-ulps: Update.
21509 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21511 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
21513 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
21514 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
21516 * bench/Makefile (bench): Add sin and slowsin.
21517 * benchtests/sin-inputs: New file.
21518 * benchtests/slowsin-inputs: New file.
21519 * benchtests/slowsin.c: New file.
21521 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
21522 (bench): Add slowexp and slowpow.
21523 (exp-ITER): Increase iterations.
21524 (pow-ITER): Likewise.
21525 * benchtests/exp-inputs: Change input.
21526 * benchtests/pow-inputs: Likewise.
21527 * benchtests/slowexp-inputs: New file.
21528 * benchtests/slowexp.c: New file.
21529 * benchtests/slowpow-inputs: New file.
21530 * benchtests/slowpow.c: New file.
21532 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21534 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
21536 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
21537 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
21538 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
21539 * benchtests/Makefile: Add rint benchtest.
21540 * benchtests/rint-inputs: Input for rint benchtest.
21542 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
21544 * Versions.def (libm): Add GLIBC_2.18.
21545 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
21546 hidden libm prototypes.
21547 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
21548 * math/Makefile (libm-calls): Add s_issignaling.
21549 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
21550 __issignalingf, __issignalingl. Adjust all libm.abilist files.
21551 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
21553 * math/math.h [__USE_GNU] (issignaling): New macro.
21554 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
21555 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
21556 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
21557 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
21558 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
21559 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
21560 * manual/arith.texi (issignaling): New section.
21561 * manual/libm-err-tab.pl (@all_functions): Update comment.
21562 * math/gen-libm-test.pl (parse_args): Apply special handling for
21564 * math/libm-test.inc (print_float, issignaling_test): New
21566 (check_float_internal): Add issignaling checks.
21567 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
21568 default definition.
21569 * sysdeps/powerpc/math-tests.h: New file.
21570 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
21572 * math/test-snan.c (TEST_FUNC): Likewise.
21574 2013-03-30 David S. Miller <davem@davemloft.net>
21576 * po/de.po: Update from translation team.
21578 2013-03-30 Joseph Myers <joseph@codesourcery.com>
21581 * math/k_casinh.c (__kernel_casinh): Handle arguments with
21582 imaginary part less than 1.0 and real part less than 0.5
21584 * math/k_casinhf.c (__kernel_casinhf): Likewise.
21585 * math/k_casinhl.c (__kernel_casinhl): Likewise.
21586 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
21587 (cacos_test): Add more tests.
21588 (casin_test): Likewise.
21589 (casinh_test): Likewise.
21590 * sysdeps/i386/fpu/libm-test-ulps: Update.
21591 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21593 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
21595 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
21596 ONE with its value.
21598 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
21599 (__pow_mp): Replace ONE and MONE with their values.
21600 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
21601 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
21602 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
21603 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
21604 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
21605 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
21607 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
21609 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
21610 (__pow_mp): Replace ZERO and MZERO with their values.
21611 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
21612 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
21613 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
21614 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
21615 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
21616 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
21619 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
21621 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
21623 2013-03-28 Roland McGrath <roland@hack.frob.com>
21625 * include/stdlib.h [!SHARED] (__call_tls_dtors):
21626 Declare with __attribute__ ((weak)).
21627 * stdlib/exit.c (__libc_atexit) [!SHARED]:
21628 Call __call_tls_dtors only if it's not NULL.
21630 2013-03-28 Roland McGrath <roland@hack.frob.com>
21632 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
21633 didn't do it already, then set _dl_phdr and _dl_phnum based on the
21634 magic __ehdr_start linker symbol if it's defined.
21635 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
21636 them up here if it was already done.
21638 * elf/dl-support.c (_dl_phdr): Make pointer to const.
21639 (_dl_aux_init): Use const in cast when setting it.
21640 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
21641 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
21642 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
21644 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
21646 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
21647 * csu/libc-tls.c: Nor here.
21648 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
21650 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
21651 (__libc_message): Never call vsyslog.
21653 2013-03-28 Alan Modra <amodra@gmail.com>
21655 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
21657 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
21660 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21663 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
21665 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21667 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21670 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
21671 Don't add gid passed as argument.
21673 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
21675 2013-03-27 Joseph Myers <joseph@codesourcery.com>
21678 * math/k_casinh.c (__kernel_casinh): Handle arguments with
21679 imaginary part between 1.0 and 1.5 and real part less than 0.5
21681 * math/k_casinhf.c (__kernel_casinhf): Likewise.
21682 * math/k_casinhl.c (__kernel_casinhl): Likewise.
21683 * math/libm-test.inc (cacos_test): Add more tests.
21684 (casin_test): Likewise.
21685 (casinh_test): Likewise.
21686 * sysdeps/i386/fpu/libm-test-ulps: Update.
21687 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21689 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
21691 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
21694 (denorm): Likewise.
21695 (__dbl_mp): Likewise.
21696 (add_magnitudes): Likewise.
21697 (sub_magnitudes): Likewise.
21705 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
21707 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
21708 (__dubcos): Likewise.
21709 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
21710 (__ieee754_acos): Likewise.
21711 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
21712 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
21713 (__exp1): Likewise.
21714 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
21715 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
21717 (my_log2): Likewise.
21718 (checkint): Likewise.
21719 * sysdeps/ieee754/dbl-64/e_remainder.c
21720 (__ieee754_remainder): Likewise.
21721 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
21722 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
21723 (bsloww): Likewise.
21724 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
21726 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
21727 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
21728 MANTISSA_STORE_T to store computations on mantissa. Use
21729 macros for rounding and division.
21730 (denorm): Likewise.
21731 (__dbl_mp): Likewise.
21732 (add_magnitudes): Likewise.
21733 (sub_magnitudes): Likewise.
21736 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
21737 powers of two in terms of TWOPOW macro.
21738 (mp_no): Make type of mantissa as MANTISSA_T.
21739 [!RADIXI]: Define RADIXI.
21740 [!TWO52]: Define TWO52.
21741 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
21743 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21745 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
21746 llroundl symbol when building for PPC32.
21748 2013-03-24 Mark H Weaver <mhw@netris.org>
21750 * manual/arith.texi (Normalization Functions): Fix prototypes for
21751 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
21753 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21756 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
21757 high value to check if expl overflow.
21758 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
21759 to check for underflow and overflow.
21760 * math/libm-test.inc: Add exp test.
21762 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
21765 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
21768 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21770 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
21773 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
21775 * math/gen-libm-test.pl (parse_args, special_functions): Properly
21776 wrap blocks consisting of several statements.
21778 * sysdeps/generic/math-tests.h: New file.
21779 * sysdeps/i386/fpu/math-tests.h: Likewise.
21780 * math/test-snan.c: Include it.
21781 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
21783 2013-03-21 Joseph Myers <joseph@codesourcery.com>
21786 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
21787 (__ieee754_j0l): Do not improve calculations using cos of twice
21788 input for inputs above LDBL_MAX / 2.0L.
21789 (__ieee754_y0l): Likewise.
21790 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
21791 (__ieee754_j1l): Do not improve calculations using cos of twice
21792 input for inputs above LDBL_MAX / 2.0L.
21793 (__ieee754_y1l): Likewise.
21794 * math/libm-test.inc (j0_test): Add another test.
21795 (j1_test): Likewise.
21796 (y0_test): Likewise.
21797 (y1_test): Likewise.
21798 * sysdeps/i386/fpu/libm-test-ulps: Update.
21800 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
21802 * Rules ($(objpfx)bench-%.c): Include code from a C source
21805 2013-03-21 Joseph Myers <joseph@codesourcery.com>
21808 * math/k_casinh.c (__kernel_casinh): Handle arguments with
21809 imaginary part 1.0 and real part less than 0.5 specially.
21810 * math/k_casinhf.c (__kernel_casinhf): Likewise.
21811 * math/k_casinhl.c (__kernel_casinhl): Likewise.
21812 * math/libm-test.inc (cacos_test): Add more tests.
21813 (casin_test): Likewise.
21814 (casinh_test): Likewise.
21815 * sysdeps/i386/fpu/libm-test-ulps: Update.
21816 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21818 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
21820 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
21821 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
21823 2013-03-20 Joseph Myers <joseph@codesourcery.com>
21825 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
21826 * config.make.in (config-cflags-sse4): Remove variable.
21827 (config-cflags-avx): Likewise.
21828 (config-cflags-sse2avx): Likewise.
21829 (config-cflags-novzeroupper): Likewise.
21830 (config-asflags-i686): Likewise.
21831 (have-mfma4): Likewise.
21832 (have-as-vis3): Likewise.
21834 * configure.in (MIG): Do not AC_SUBST.
21835 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
21836 (libc_cv_cc_sse4): Do not AC_SUBST.
21837 (libc_cv_cc_avx): Likewise.
21838 (libc_cv_cc_sse2avx): Likewise.
21839 (libc_cv_cc_novzeroupper): Likewise.
21840 (libc_cv_cc_fma4): Likewise.
21841 (libc_cv_as_i686): Likewise.
21842 (libc_cv_sparc_as_vis3): Likewise.
21843 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
21845 (config-asflags-i686): Likewise.
21846 (config-cflags-avx): Likewise.
21847 (config-cflags-sse2avx): Likewise.
21848 (have-mfma4): Likewise.
21849 (config-cflags-novzeroupper): Likewise.
21850 * sysdeps/mach/configure.in (MIG): Likewise.
21851 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
21852 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
21854 (config-cflags-avx): Likewise.
21855 (config-cflags-sse2avx): Likewise.
21856 (have-mfma4): Likewise.
21857 (config-cflags-novzeroupper): Likewise.
21858 * configure: Regenerated.
21859 * sysdeps/i386/configure: Likewise.
21860 * sysdeps/mach/configure: Likewise.
21861 * sysdeps/sparc/configure: Likewise.
21862 * sysdeps/x86_64/configure: Likewise.
21864 2013-03-20 Roland McGrath <roland@hack.frob.com>
21867 * locale/programs/localedef.c (options): Put N_ translation marker
21868 on argument names, not just descriptions.
21870 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21872 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
21874 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
21877 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
21879 2013-03-19 Roland McGrath <roland@hack.frob.com>
21881 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
21882 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
21883 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
21884 [!BEFORE_ABORT] (before_abort): New function.
21885 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
21886 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
21887 (writev_for_fatal): New function.
21888 (WRITEV_FOR_FATAL): New macro; call that.
21889 (backtrace_and_maps): New function.
21890 (BEFORE_ABORT): New macro; call that.
21891 (struct str_list): Type removed.
21892 (__libc_message, __libc_fatal): Functions removed.
21893 Include <sysdeps/posix/libc_fatal.c> instead.
21895 2013-03-19 Joseph Myers <joseph@codesourcery.com>
21897 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
21899 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
21902 2013-03-19 Andreas Schwab <schwab@suse.de>
21904 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
21905 * sysdeps/gnu/configure: Regenerate.
21907 * configure.in: Substitute libc_cv_rtlddir.
21908 * configure: Regenerate.
21909 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
21910 * Makeconfig (rtlddir, inst_rtlddir): New variables.
21911 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
21912 * elf/Makefile (install-others, CFLAGS-interp.c)
21913 (ldso_install, common-ldd-rewrite): Likewise.
21914 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
21915 $(inst_slibdir)/$(rtld-installed-name).
21916 * scripts/rellns-sh: Add -p option.
21917 * Makerules (make-shlib-link): Use rellns-sh to get relative name
21920 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
21922 * manual/nptl.texi: Renamed to ...
21923 * manual/threads.texi: ... this.
21924 * manual/Makefile (chapters): Update.
21926 2013-03-18 Roland McGrath <roland@hack.frob.com>
21929 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
21930 on argument names, not just descriptions.
21931 * malloc/memusagestat.c (options): Likewise.
21932 * nss/getent.c (options): Likewise.
21934 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
21937 * iconv/iconv_prog.c (options): Put N_ translation marker
21938 on argument names, not just descriptions.
21939 * iconv/iconvconfig.c (options): Likewise.
21941 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
21943 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
21944 implementation which is faster on all x86_64 architectures.
21945 Tested on AMD, Intel Nehalem, SNB, IVB.
21946 * sysdeps/x86_64/strnlen.S: Likewise.
21948 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
21949 Remove all multiarch strlen and strnlen versions.
21950 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
21951 Remove strlen and strnlen related parts.
21953 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
21954 Inline strlen part.
21955 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
21957 * sysdeps/x86_64/multiarch/strlen.S: Remove.
21958 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
21959 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
21960 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
21961 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
21962 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
21964 2013-03-17 Carlos O'Donell <carlos@redhat.com>
21966 * manual/memory.texi (Malloc Tunable Parameters):
21967 Sort parameters alphabetically. Add comments for missing entries.
21969 2013-03-17 David S. Miller <davem@davemloft.net>
21971 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21973 2013-03-16 Joseph Myers <joseph@codesourcery.com>
21976 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
21977 for arguments at most half maximum finite value.
21978 * math/libm-test.inc (j0_test): Add more tests.
21979 (j1_test): Likewise.
21980 (y0_test): Likewise.
21981 (y1_test): Likewise.
21982 * sysdeps/i386/fpu/libm-test-ulps: Update.
21983 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21986 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
21987 1 / x and functions P and Q for arguments above 0x1p256L.
21988 (__ieee754_y0l): Likewise.
21989 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
21990 (__ieee754_y1l): Likewise.
21991 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
21992 (j1_test): Likewise.
21993 (y0_test): Likewise.
21994 (y1_test): Likewise.
21996 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
21998 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
22001 2013-03-15 Roland McGrath <roland@hack.frob.com>
22003 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
22004 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
22005 zero since it's initialized to EXEC_PAGESIZE.
22007 * sysdeps/unix/sysv/linux/ldsodefs.h
22008 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
22009 * sysdeps/generic/ldsodefs.h: ... here.
22011 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
22013 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
22015 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
22017 * math/test-snan.c: Renamed from
22018 sysdeps/powerpc/fpu/test-powerpc-snan.c.
22019 * math/Makefile (tests): Add test-snan.
22020 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
22023 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
22024 SUFFIX. Initialize qNaN_var with __builtin_nan family of
22026 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
22027 __builtin_nan family of functions.
22028 * math/libm-test.inc (initialize): Initialize qnan_value with
22029 __builtin_nan family of functions.
22030 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
22032 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
22034 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
22035 storage class. Initialize qNaN_var and sNaN_var with
22036 __builtin_nan and __builtin_nans families of functions,
22039 * math/libm-test.inc (acosh_test): Also test with qNaN input.
22040 (sqrt_test): Remove duplicate test with qNaN input.
22041 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
22042 (round_test, signbit_test, significand_test): Note missing +/-Inf
22043 as well as qNaN tests.
22045 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
22046 qNaN_var. Fix a few strings, too.
22047 * math/libm-test.inc (nan_value): Rename to qnan_value.
22048 * math/gen-libm-test.pl (%beautify): Adjust to that.
22049 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
22050 * math/test-misc.c (main): Likewise.
22051 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
22052 to __qnan_bytes, and __qnan_union, respectively.
22053 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
22055 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
22056 and lqnanval, respectively.
22057 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
22058 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
22059 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
22060 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
22062 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
22063 * math/test-misc.c (main) [__x86_64__]: Enable test for long
22066 * math/test-misc.c (main): Fix copy'n'pastos.
22067 * misc/tst-efgcvt.c (special): Likewise.
22069 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
22070 Remove declarations.
22072 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
22074 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
22075 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
22076 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
22077 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
22079 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22081 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
22082 macro to return vdso values correctly in IFUNC implementations.
22083 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
22084 Optimization by using IFUNC.
22086 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
22087 Richard Henderson <rth@redhat.com>
22088 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22090 * Makefile.in (bench): New target.
22091 * NEWS: Mention the benchmark framework.
22092 * Rules (bench): Likewise.
22093 (binaries-bench): Generate binaries for functions to
22095 * benchtests/Makefile: New makefile for benchmark tests.
22096 * benchtests/bench-skeleton.c: New skeleton file for benchmark
22098 * benchtests/exp-inputs: New input file for EXP function.
22099 * benchtests/pow-inputs: New input file for POW function.
22100 * scripts/bench.pl: New script to generate source files for
22101 benchmark programs.
22103 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
22105 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
22106 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
22107 computations on mantissa. Use macros for rounding and
22109 (denorm): Likewise.
22110 (__dbl_mp): Likewise.
22111 (add_magnitudes): Likewise.
22112 (sub_magnitudes): Likewise.
22115 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
22116 powers of two in terms of TWOPOW macro.
22117 (mp_no): Make type of mantissa as MANTISSA_T.
22118 [!RADIXI]: Define RADIXI.
22119 [!TWO52]: Define TWO52.
22120 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
22122 * manual/nptl.texi (cindex): Modify threads to pthreads.
22124 2013-03-15 Joseph Myers <joseph@codesourcery.com>
22126 * sysdeps/x86_64/preconfigure: Regenerated.
22128 2013-03-14 Joseph Myers <joseph@codesourcery.com>
22131 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
22133 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
22134 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
22136 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
22137 * math/libm-test.inc (j0_test): Do not allow one spurious
22138 underflow exception.
22139 (y1_test): Likewise.
22141 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
22143 * manual/Makefile (chapters): Add nptl.
22144 * manual/debug.texi (Debugging Support): Add link to Threads
22146 * manual/nptl.texi: New file.
22148 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
22150 2013-03-14 Petr Baudis <pasky@ucw.cz>
22152 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
22153 for non-NULL pointer before the memory validity test. Pointed
22154 out by Holger Brunck <holger.brunck@keymile.com>.
22156 2013-03-13 Andreas Schwab <schwab@suse.de>
22158 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
22161 2013-03-13 Joseph Myers <joseph@codesourcery.com>
22163 * timezone/zic.c: Update from tzcode 2013b.
22165 2013-03-12 Carlos O'Donell <carlos@redhat.com>
22167 * manual/install.texi (Configuring and compiling):
22168 Mention i686 and i586.
22169 * INSTALL: Regenerate.
22171 2013-03-12 Roland McGrath <roland@hack.frob.com>
22173 * sysdeps/init_array/elf-init.c: New file.
22175 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
22176 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
22178 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
22179 __gmon_start__ as global, but as static with a .preinit_array pointer.
22180 * sysdeps/init_array/gmon-start.c: New file. Use that.
22181 * sysdeps/init_array/crti.S: New file, empty except for comments.
22182 * sysdeps/init_array/crtn.S: Likewise.
22184 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
22186 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
22188 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22189 Remove Prefer_SSE_for_memop.
22190 * sysdeps/x86_64/multiarch/init-arch.h: Remove
22191 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
22192 HAS_PREFER_SSE_FOR_MEMOP.
22193 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
22195 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
22196 Remove bzero, memset ifunc support.
22197 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
22198 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
22199 * sysdeps/x86_64/multiarch/memset.S: Likewise.
22200 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
22202 2013-03-11 Andreas Schwab <schwab@suse.de>
22205 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
22207 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
22208 (GLIBC_2.16): Remove pthread_atfork.
22210 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
22212 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
22213 (ptestcases.h): Likewise.
22215 2013-03-08 Roland McGrath <roland@hack.frob.com>
22217 * Makeconfig ($(common-objpfx)config.status): Depend on
22218 sysdeps/*/preconfigure{,.in} too.
22220 2013-03-08 Joseph Myers <joseph@codesourcery.com>
22222 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
22223 (__free_hook): Use void * instead of __malloc_ptr_t.
22224 (__malloc_hook): Likewise.
22225 (__realloc_hook): Likewise.
22226 (__memalign_hook): Likewise.
22227 (__after_morecore_hook): Likewise.
22228 * malloc/arena.c (save_malloc_hook): Likewise.
22229 (save_free_hook): Likewise.
22230 * malloc/hooks.c (malloc_hook_ini): Likewise.
22231 (realloc_hook_ini): Likewise.
22232 (memalign_hook_ini): Likewise.
22233 * malloc/malloc.c (malloc_hook_ini): Likewise.
22234 (realloc_hook_ini): Likewise.
22235 (memalign_hook_ini): Likewise.
22236 (__free_hook): Likewise.
22237 (__malloc_hook): Likewise.
22238 (__realloc_hook): Likewise.
22239 (__memalign_hook): Likewise.
22240 (__libc_malloc): Likewise.
22241 (__libc_free): Likewise.
22242 (__libc_realloc): Likewise.
22243 (__libc_memalign): Likewise.
22244 (__libc_valloc): Likewise.
22245 (__libc_pvalloc): Likewise.
22246 (__libc_calloc): Likewise.
22247 (__posix_memalign): Likewise.
22248 * malloc/morecore.c (__sbrk): Likewise.
22249 (__default_morecore): Likewise.
22251 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
22253 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
22254 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
22255 __malloc_ptrdiff_t.
22257 * malloc/malloc.h (__malloc_size_t): Remove macro.
22258 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
22260 (old_memalign_hook): Likewise.
22261 (old_realloc_hook): Likewise.
22262 (struct hdr): Likewise.
22264 (mallochook): Likewise.
22265 (memalignhook): Likewise.
22266 (reallochook): Likewise.
22267 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
22268 (tr_old_realloc_hook): Likewise.
22269 (tr_old_memalign_hook): Likewise.
22270 (tr_mallochook): Likewise.
22271 (tr_reallochook): Likewise.
22272 (tr_memalignhook): Likewise.
22274 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22276 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
22277 default_ldbl_pack and using as default implementation.
22278 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
22280 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
22281 redundant definition.
22282 (ldbl_insert_mantissa): Likewise.
22283 (ldbl_canonicalize): Likewise.
22284 (ldbl_nearbyint): Likewise.
22285 (ldbl_pack): Rename to ldbl_pack_ppc.
22286 (ldbl_unpack): Rename to ldbl_unpack_ppc.
22287 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
22288 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
22290 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
22292 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
22293 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
22294 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
22295 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
22296 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
22297 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
22298 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
22299 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
22301 2013-03-07 Andreas Jaeger <aj@suse.de>
22303 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22306 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
22308 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
22309 Include mpa.h and declare __MPEXP.
22310 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
22311 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
22312 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
22313 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
22314 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
22315 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
22316 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
22318 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
22319 (__slowpow): Use long double EXPL and LOGL functions to
22321 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
22322 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
22323 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
22324 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
22325 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
22326 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
22328 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
22329 intermediate variable to calculate exponent.
22331 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
22335 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
22336 [!NO__SQR]: Define __sqr.
22337 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
22338 and NO__SQR. Remove all code except __mul and __sqr. Include
22339 sysdeps/ieee754/dbl-64/mpa.c.
22340 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
22343 * posix/Makefile (tests): Add tst-pathconf.
22344 * posix/tst-pathconf.c: New test case.
22345 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
22347 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
22349 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
22351 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
22353 2013-03-06 Andreas Jaeger <aj@suse.de>
22355 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
22356 definition via __MAP_ANONYMOUS.
22358 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
22359 it's not part of Linux headers.
22361 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
22362 (MAP_HUGE_MASK): Define.
22364 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
22366 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
22367 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
22369 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
22370 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
22372 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
22373 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
22375 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
22377 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
22378 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
22379 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
22380 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
22381 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
22382 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
22384 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
22387 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
22388 Handle f2fs and efivarfs.
22390 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
22393 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
22394 (EFIVARFS_MAGIC): Add.
22395 (F2FS_LINK_MAX): Add.
22397 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
22399 * stdio-common/vfprintf.c: Replace __builtin_expect with
22402 2013-03-06 Joseph Myers <joseph@codesourcery.com>
22405 * sysdeps/generic/bp-sym.h: Remove file.
22406 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
22407 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
22408 <bp-sym.h> and <bp-asm.h>.
22409 (__longjmp): Don't use BP_SYM.
22410 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
22412 (memcpy): Don't use BP_SYM.
22413 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
22414 <bp-sym.h> and <bp-asm.h>.
22415 (memcpy): Don't use BP_SYM.
22416 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
22418 (memcpy): Don't use BP_SYM.
22419 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
22421 (memset): Don't use BP_SYM.
22422 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
22423 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
22424 (__bzero): Don't use BP_SYM.
22425 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
22426 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
22427 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
22428 <bp-sym.h> and <bp-asm.h>.
22429 (memcmp): Don't use BP_SYM. Remove comment about bounded
22431 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
22432 <bp-sym.h> and <bp-asm.h>.
22433 (memcpy): Don't use BP_SYM.
22434 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
22435 <bp-sym.h> and <bp-asm.h>.
22436 (memset): Don't use BP_SYM.
22437 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
22438 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
22439 (__bzero): Don't use BP_SYM.
22440 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
22441 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
22442 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
22443 <bp-sym.h> and <bp-asm.h>.
22444 (strncmp): Don't use BP_SYM. Remove comment about bounded
22446 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
22447 <bp-sym.h> and <bp-asm.h>.
22448 (memcpy): Don't use BP_SYM.
22449 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
22450 <bp-sym.h> and <bp-asm.h>.
22451 (memset): Don't use BP_SYM.
22452 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
22453 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
22454 (__bzero): Don't use BP_SYM.
22455 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
22456 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
22457 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
22458 <bp-sym.h> and <bp-asm.h>.
22459 (__memchr): Don't use BP_SYM.
22460 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
22461 <bp-sym.h> and <bp-asm.h>.
22462 (memcmp): Don't use BP_SYM. Remove comment about bounded
22464 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
22465 <bp-sym.h> and <bp-asm.h>.
22466 (memcpy): Don't use BP_SYM.
22467 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
22468 <bp-sym.h> and <bp-asm.h>.
22469 (__mempcpy): Don't use BP_SYM.
22470 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
22471 <bp-sym.h> and <bp-asm.h>.
22472 (__memrchr): Don't use BP_SYM.
22473 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
22474 <bp-sym.h> and <bp-asm.h>.
22475 (memset): Don't use BP_SYM.
22476 (__bzero): Likewise.
22477 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
22478 <bp-sym.h> and <bp-asm.h>.
22479 (__rawmemchr): Don't use BP_SYM.
22480 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
22481 <bp-sym.h> and <bp-asm.h>.
22482 (__STRCMP): Don't use BP_SYM.
22483 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
22484 <bp-sym.h> and <bp-asm.h>.
22485 (strchr): Don't use BP_SYM.
22486 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
22487 <bp-sym.h> and <bp-asm.h>.
22488 (__strchrnul): Don't use BP_SYM.
22489 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
22490 <bp-sym.h> and <bp-asm.h>.
22491 (strlen): Don't use BP_SYM.
22492 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
22493 <bp-sym.h> and <bp-asm.h>.
22494 (strncmp): Don't use BP_SYM. Remove comment about bounded
22496 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
22497 <bp-sym.h> and <bp-asm.h>.
22498 (__strnlen): Don't use BP_SYM.
22499 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
22500 <bp-sym.h> and <bp-asm.h>.
22501 (__GI__setjmp): Don't use BP_SYM.
22502 (_setjmp): Likewise.
22503 (__sigsetjmp): Likewise.
22504 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
22505 (L(start_addresses)): Don't use BP_SYM.
22506 (_start): Likewise.
22507 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
22509 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
22510 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
22511 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
22512 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
22513 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
22515 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
22516 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
22517 about bounded pointers.
22518 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
22519 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
22520 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
22522 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
22523 about bounded pointers. Remove GKM FIXME comments.
22524 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
22525 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
22527 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
22528 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
22529 Remove GKM FIXME comments.
22530 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
22531 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
22532 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
22534 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
22535 about bounded pointers. Remove GKM FIXME comment.
22536 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
22538 (strncmp): Don't use BP_SYM. Remove comment about bounded
22540 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
22541 <bp-sym.h> and <bp-asm.h>.
22542 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
22543 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
22544 <bp-sym.h> and <bp-asm.h>.
22545 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
22548 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
22550 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
22553 2013-03-05 David S. Miller <davem@davemloft.net>
22555 * po/es.po: Update from translation team.
22557 2013-03-05 Andreas Jaeger <aj@suse.de>
22559 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
22560 <bits/mman-linux.h>.
22561 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
22563 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
22564 <bits/mman-linux.h> to end of file.
22565 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
22567 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
22568 <bits/mman-linux.h> to end of file.
22569 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
22571 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
22572 <bits/mman-linux.h> to end of file.
22574 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
22575 (MCL_CURRENT, MCL_FUTURE): Define here.
22577 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22580 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
22582 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
22584 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22586 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
22587 fourth parameter needed for rt_sigprocmask syscall.
22588 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
22589 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
22590 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
22591 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
22592 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
22593 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
22595 2013-03-04 Joseph Myers <joseph@codesourcery.com>
22598 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
22599 comment about bounded pointers.
22600 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
22601 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
22603 2013-03-04 Andreas Jaeger <aj@suse.de>
22605 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
22606 common definitions.
22608 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
22609 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
22610 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
22611 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
22612 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
22613 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
22615 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22618 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
22619 __ieee754_sqrl instead of __sqrl.
22621 2013-03-01 Joseph Myers <joseph@codesourcery.com>
22623 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
22624 * sysdeps/powerpc/fpu_control.h: ... here.
22625 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
22626 * sysdeps/powerpc/bits/fenvinline.h: ... here.
22627 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
22628 * sysdeps/powerpc/bits/mathinline.h: ... here.
22630 2013-03-01 Roland McGrath <roland@hack.frob.com>
22632 * elf/dl-hwcaps.c (_dl_important_hwcaps):
22633 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
22634 to just [NEED_DL_SYSINFO_DSO].
22635 * elf/dl-support.c: Likewise.
22636 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
22637 * elf/rtld.c (dl_main): Likewise.
22638 * elf/setup-vdso.h (setup_vdso): Likewise.
22639 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
22640 * sysdeps/unix/sysv/linux/dl-sysdep.c
22641 (_dl_discover_osversion): Likewise.
22643 2013-03-01 Carlos O'Donell <carlos@redhat.com>
22645 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
22646 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
22648 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
22650 * NEWS: Mention libm performance improvements and non-x86 PI
22653 * csu/libc-start.c (__pthread_initialize_minimal): Change
22654 function arguments.
22655 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
22657 2013-02-28 Joseph Myers <joseph@codesourcery.com>
22660 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
22661 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
22662 <bp-sym.h> and <bp-asm.h>.
22663 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
22664 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
22666 (memcpy): Don't use BP_SYM.
22667 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
22669 (__mpn_add_n): Don't use BP_SYM.
22670 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
22671 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
22673 (__mpn_addmul_1): Don't use BP_SYM.
22674 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22675 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
22677 (_setjmp): Don't use BP_SYM.
22678 (__novmx_setjmp): Likewise.
22679 (__GI__setjmp): Likewise.
22680 (__vmx_setjmp): Likewise.
22681 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
22683 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
22684 (__bzero): Don't use BP_SYM.
22685 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
22686 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
22687 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
22688 <bp-sym.h> and <bp-asm.h>.
22689 (memcpy): Don't use BP_SYM.
22690 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
22691 <bp-sym.h> and <bp-asm.h>.
22692 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
22693 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
22694 <bp-sym.h> and <bp-asm.h>.
22695 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
22696 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
22698 (__mpn_lshift): Don't use BP_SYM.
22699 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22700 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
22702 (memset): Don't use BP_SYM.
22703 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
22704 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
22705 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
22707 (__mpn_mul_1): Don't use BP_SYM.
22708 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22709 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
22710 <bp-sym.h> and <bp-asm.h>.
22711 (memcmp): Don't use BP_SYM.
22712 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
22713 <bp-sym.h> and <bp-asm.h>.
22714 (memcpy): Don't use BP_SYM.
22715 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
22716 <bp-sym.h> and <bp-asm.h>.
22717 (memset): Don't use BP_SYM.
22718 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
22719 <bp-sym.h> and <bp-asm.h>.
22720 (strncmp): Don't use BP_SYM.
22721 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
22722 <bp-sym.h> and <bp-asm.h>.
22723 (memcpy): Don't use BP_SYM.
22724 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
22725 <bp-sym.h> and <bp-asm.h>.
22726 (memset): Don't use BP_SYM.
22727 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
22728 <bp-sym.h> and <bp-asm.h>.
22729 (__memchr): Don't use BP_SYM.
22730 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
22731 <bp-sym.h> and <bp-asm.h>.
22732 (memcmp): Don't use BP_SYM.
22733 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
22734 <bp-sym.h> and <bp-asm.h>.
22735 (memcpy): Don't use BP_SYM.
22736 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
22737 <bp-sym.h> and <bp-asm.h>.
22738 (__mempcpy): Don't use BP_SYM.
22739 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
22740 <bp-sym.h> and <bp-asm.h>.
22741 (__memrchr): Don't use BP_SYM.
22742 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
22743 <bp-sym.h> and <bp-asm.h>.
22744 (memset): Don't use BP_SYM.
22745 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
22746 <bp-sym.h> and <bp-asm.h>.
22747 (__rawmemchr): Don't use BP_SYM.
22748 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
22749 <bp-sym.h> and <bp-asm.h>.
22750 (__STRCMP): Don't use BP_SYM.
22751 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
22752 <bp-sym.h> and <bp-asm.h>.
22753 (strchr): Don't use BP_SYM.
22754 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
22755 <bp-sym.h> and <bp-asm.h>.
22756 (__strchrnul): Don't use BP_SYM.
22757 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
22758 <bp-sym.h> and <bp-asm.h>.
22759 (strlen): Don't use BP_SYM.
22760 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
22761 <bp-sym.h> and <bp-asm.h>.
22762 (strncmp): Don't use BP_SYM.
22763 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
22764 <bp-sym.h> and <bp-asm.h>.
22765 (__strnlen): Don't use BP_SYM.
22766 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
22768 (__mpn_rshift): Don't use BP_SYM.
22769 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22770 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
22771 <bp-sym.h> and <bp-asm.h>.
22772 (__sigsetjmp): Don't use BP_SYM.
22773 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
22774 (L(start_addresses)): Don't use BP_SYM.
22775 (_start): Likewise.
22776 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
22778 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
22779 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
22780 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
22781 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
22783 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
22784 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
22785 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
22786 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
22788 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
22790 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
22791 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
22793 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
22795 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
22796 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
22797 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
22799 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
22801 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
22803 (strncmp): Don't use BP_SYM,
22804 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
22806 (__mpn_sub_n): Don't use BP_SYM.
22807 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22808 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
22810 (__mpn_submul_1): Don't use BP_SYM.
22811 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22812 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
22813 <bp-sym.h> and <bp-asm.h>.
22814 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
22815 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
22816 <bp-sym.h> and <bp-asm.h>.
22817 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
22820 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22822 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
22823 Use ZK to minimize writes to Z.
22824 (sub_magnitudes): Simplify code a bit.
22825 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
22826 Use ZK to minimize writes to Z.
22827 (sub_magnitudes): Simplify code a bit.
22829 2013-02-27 Roland McGrath <roland@hack.frob.com>
22831 * csu/gmon-start.c: Add special exception to license text.
22833 2013-02-27 Richard Henderson <rth@redhat.com>
22835 * scripts/config.guess: Update from config.git.
22836 * scripts/config.sub: Likewise.
22838 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
22840 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
22842 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
22844 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
22846 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
22848 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
22850 2013-02-26 Roland McGrath <roland@hack.frob.com>
22852 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
22853 [$(build-shared = yes].
22855 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
22857 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
22858 (__mul): Reduce iterations for calculating mantissa.
22860 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
22862 (__mpranred): Likewise.
22865 * malloc/memusagestat.c (main): Draw graphs for heap and stack
22866 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
22868 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
22870 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
22871 Define __attribute__.
22873 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
22875 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
22877 * posix/regex_internal.h (__attribute): Remove.
22878 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
22879 (re_string_context_at): Likewise.
22880 (bitset_not): Use __attribute__ and mark function as possibly
22882 (bitset_merge): Likewise.
22883 (bitset_mask): Likewise.
22884 (re_string_char_size_at): Likewise.
22885 (re_string_wchar_at): Likewise.
22886 (re_string_elem_size_at): Likewise.
22888 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
22890 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
22894 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
22898 (denorm): Likewise.
22899 (__dbl_mp): Likewise.
22900 (add_magnitudes): Likewise.
22901 (sub_magnitudes): Likewise.
22905 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
22908 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
22911 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
22914 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
22915 up changes with default code.
22916 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
22919 2013-02-24 Allan McRae <allan@archlinux.org>
22921 * manual/socket.texi (The Internet Namespace): Order menu items
22922 to match that in the file.
22924 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
22925 node listing of the info page menu.
22927 2013-02-21 Joseph Myers <joseph@codesourcery.com>
22930 * sysdeps/i386/bp-asm.h: Remove file.
22931 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
22932 (PARMS): Do not use macros from bp-asm.h.
22936 (__mpn_add_n): Do not use BP_SYM
22937 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
22939 (PARMS): Do not use macros from bp-asm.h.
22942 (__mpn_addmul_1): Do not use BP_SYM
22943 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
22945 (PARMS): Do not use macros from bp-asm.h.
22946 (SIGMSK): Likewise.
22947 (_setjmp): Likewise. Do not use BP_SYM.
22948 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
22950 (PARMS): Do not use macros from bp-asm.h.
22951 (SIGMSK): Likewise.
22952 (setjmp): Likewise. Do not use BP_SYM.
22953 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
22955 (PARMS): Do not use macros from bp-asm.h.
22956 (__frexp): Do not use BP_SYM.
22958 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
22960 (PARMS): Do not use macros from bp-asm.h.
22961 (__frexpf): Do not use BP_SYM.
22962 (frexpf): Likewise.
22963 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
22965 (PARMS): Do not use macros from bp-asm.h.
22966 (__frexpl): Do not use BP_SYM.
22967 (frexpl): Likewise.
22968 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
22970 (PARMS): Do not use macros from bp-asm.h.
22971 (__remquo): Do not use BP_SYM.
22972 (remquo): Likewise.
22973 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
22975 (PARMS): Do not use macros from bp-asm.h.
22976 (__remquof): Do not use BP_SYM.
22977 (remquof): Likewise.
22978 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
22980 (PARMS): Do not use macros from bp-asm.h.
22981 (__remquol): Do not use BP_SYM.
22982 (remquol): Likewise.
22983 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
22985 (PARMS): Do not use macros from bp-asm.h.
22988 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
22989 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
22991 (PARMS): Do not use macros from bp-asm.h.
22992 (strlen): Do not use BP_SYM.
22993 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
22995 (PARMS): Do not use macros from bp-asm.h.
22999 (__mpn_add_n): Do not use BP_SYM.
23000 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
23002 (PARMS): Do not use macros from bp-asm.h.
23005 (__mpn_addmul_1): Do not use BP_SYM.
23006 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
23009 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
23011 (PARMS): Do not use macros from bp-asm.h.
23014 (__mpn_lshift): Do not use BP_SYM.
23015 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
23017 (PARMS): Do not use macros from bp-asm.h.
23021 (memcpy): Likewise. Do not use BP_SYM.
23022 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
23023 libc_hidden_def and weak_alias.
23024 (mempcpy): Do not use BP_SYM in weak_alias.
23025 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
23027 (PARMS): Do not use macros from bp-asm.h.
23030 [!BZERO_P] (CHR): Likewise.
23031 (memset): Likewise. Do not use BP_SYM.
23032 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
23034 (PARMS): Do not use macros from bp-asm.h.
23037 (__mpn_mul_1): Do not use BP_SYM.
23038 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
23040 (PARMS): Do not use macros from bp-asm.h.
23043 (__mpn_rshift): Do not use BP_SYM.
23044 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
23046 (PARMS): Do not use macros from bp-asm.h.
23049 (strchr): Likewise. Do not use BP_SYM.
23050 (index): Do not use BP_SYM in weak_alias.
23051 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
23053 (PARMS): Do not use macros from bp-asm.h.
23056 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
23057 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
23059 (PARMS): Do not use macros from bp-asm.h.
23060 (strlen): Do not use BP_SYM.
23061 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
23063 (PARMS): Do not use macros from bp-asm.h.
23067 (__mpn_sub_n): Do not use BP_SYM.
23068 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
23070 (PARMS): Do not use macros from bp-asm.h.
23073 (__mpn_submul_1): Do not use BP_SYM.
23074 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
23076 (PARMS): Do not use macros from bp-asm.h.
23080 (__mpn_add_n): Do not use BP_SYM.
23081 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
23084 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
23086 (PARMS): Do not use macros from bp-asm.h.
23089 (memcmp): Do not use BP_SYM.
23090 (bcmp): Do not use BP_SYM in weak_alias.
23091 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
23093 (PARMS): Do not use macros from bp-asm.h.
23097 (memcpy): Likewise. Do not use BP_SYM.
23098 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
23100 (PARMS): Do not use macros from bp-asm.h.
23104 (memmove): Likewise. Do not use BP_SYM.
23105 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
23107 (PARMS): Do not use macros from bp-asm.h.
23111 (__mempcpy): Likewise. Do not use BP_SYM.
23112 (mempcpy): Do not use BP_SYM in weak_alias.
23113 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
23115 (PARMS): Do not use macros from bp-asm.h.
23118 [!BZERO_P] (CHR): Likewise.
23119 (memset): Likewise. Do not use BP_SYM.
23120 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
23122 (PARMS): Do not use macros from bp-asm.h.
23124 (strcmp): Do not use BP_SYM.
23125 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
23127 (PARMS): Do not use macros from bp-asm.h.
23130 [USE_AS_STRTOK_R] (SAVE): Likewise.
23131 (FUNCTION): Likewise. Do not use BP_SYM.
23132 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
23134 (strtok_r): Likewise.
23135 (__GI___strtok_r): Likewise.
23136 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
23137 (PARMS): Do not use macros from bp-asm.h.
23140 (__mpn_lshift): Do not use BP_SYM.
23141 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
23142 (PARMS): Do not use macros from bp-asm.h.
23145 (__memchr): Do not use BP_SYM.
23146 (memchr): Do not use BP_SYM in weak_alias.
23147 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
23148 (PARMS): Do not use macros from bp-asm.h.
23151 (memcmp): Do not use BP_SYM.
23152 (bcmp): Do not use BP_SYM in weak_alias.
23153 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
23154 (PARMS): Do not use macros from bp-asm.h.
23157 (__mpn_mul_1): Do not use BP_SYM.
23158 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
23160 (PARMS): Do not use macros from bp-asm.h.
23163 (__rawmemchr): Do not use BP_SYM.
23164 (rawmemchr): Do not use BP_SYM in weak_alias.
23165 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
23166 (PARMS): Do not use macros from bp-asm.h.
23169 (__mpn_rshift): Do not use BP_SYM.
23170 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
23171 (PARMS): Do not use macros from bp-asm.h.
23172 (SIGMSK): Likewise.
23173 (__sigsetjmp): Likewise. Do not use BP_SYM.
23174 * sysdeps/i386/start.S: Do not include "bp-sym.h".
23175 (_start): Do not use BP_SYM.
23176 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
23177 (PARMS): Do not use macros from bp-asm.h.
23180 (__stpcpy): Likewise. Do not use BP_SYM.
23181 (stpcpy): Do not use BP_SYM in weak_alias.
23182 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
23184 (PARMS): Do not use macros from bp-asm.h.
23188 (__stpncpy): Likewise. Do not use BP_SYM.
23189 (stpncpy): Do not use BP_SYM in weak_alias.
23190 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
23191 (PARMS): Do not use macros from bp-asm.h.
23194 (strchr): Likewise. Do not use BP_SYM.
23195 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
23197 (PARMS): Do not use macros from bp-asm.h.
23200 (__strchrnul): Likewise. Do not use BP_SYM.
23201 (strchrnul): Do not use BP_SYM in weak_alias.
23202 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
23204 (PARMS): Do not use macros from bp-asm.h.
23206 (strcspn): Do not use BP_SYM.
23207 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
23209 (PARMS): Do not use macros from bp-asm.h.
23212 (strpbrk): Likewise. Do not use BP_SYM.
23213 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
23215 (PARMS): Do not use macros from bp-asm.h.
23218 (strrchr): Likewise. Do not use BP_SYM.
23219 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
23220 (PARMS): Do not use macros from bp-asm.h.
23222 (strspn): Do not use BP_SYM.
23223 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
23224 (PARMS): Do not use macros from bp-asm.h.
23228 (FUNCTION): Likewise. Do not use BP_SYM.
23229 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
23231 (strtok_r): Likewise.
23232 (__GI___strtok_r): Likewise.
23233 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
23234 (PARMS): Do not use macros from bp-asm.h.
23238 (__mpn_sub_n): Do not use BP_SYM.
23239 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
23241 (PARMS): Do not use macros from bp-asm.h.
23244 (__mpn_submul_1): Do not use BP_SYM.
23245 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
23247 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
23249 (PARMS): Do not use macros from bp-asm.h.
23254 (__clone): Do not use BP_SYM.
23255 (clone): Do not use BP_SYM in weak_alias.
23256 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
23258 (PARMS): Do not use macros from bp-asm.h.
23260 (__mmap64): Do not use BP_SYM.
23261 (mmap64): Do not use BP_SYM in weak_alias.
23262 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
23263 <bp-sym.h> and <bp-asm.h>.
23264 (PARMS): Do not use macros from bp-asm.h.
23265 (__posix_fadvise64_l64): Do not use BP_SYM.
23266 * sysdeps/unix/sysv/linux/i386/semtimedop.S
23267 (PARMS): Do not use macros from bp-asm.h.
23269 (semtimedop): Do not use BP_SYM.
23270 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
23273 2013-02-21 Allan McRae <allan@archlinux.org>
23275 * manual/message.texi (Charset conversion in gettext):
23276 Move @end statement to beginning of line.
23278 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
23280 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
23282 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
23285 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
23286 (denorm): Likewise.
23287 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
23288 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
23290 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23292 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
23293 tail-call to the resolved function if pltexit isn't needed.
23295 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
23297 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
23298 or Y being zero as being unlikely.
23299 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
23302 2013-02-20 Carlos O'Donell <carlos@redhat.com>
23304 * manual/nss.texi (System Databases and Name Service Switch):
23305 Remove frobnicate @pxref.
23307 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
23309 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
23310 __attribute__ ((unused)) to __attribute__ ((__unused__)).
23312 2013-02-20 Petr Machata <pmachata@redhat.com>
23314 * elf/elf.h (R_ARM_TARGET1): New macro.
23315 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
23316 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
23317 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
23318 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
23319 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
23320 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
23321 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
23322 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
23323 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
23324 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
23325 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
23326 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
23327 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
23328 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
23329 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
23330 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
23331 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
23332 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
23333 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
23334 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
23335 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
23336 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
23337 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
23338 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
23339 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
23340 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
23341 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
23342 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
23343 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
23344 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
23345 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
23346 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
23347 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
23348 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
23349 (R_ARM_THM_GOT_BREL12): Likewise.
23350 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
23351 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
23352 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
23353 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
23354 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
23355 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
23356 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
23357 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
23358 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
23360 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
23362 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
23363 __attribute_used__ to __attribute__ ((unused)).
23365 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
23367 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
23369 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
23370 comment formatting.
23371 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
23373 2013-02-19 Joseph Myers <joseph@codesourcery.com>
23376 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
23378 (ENTER): Remove both macro definitions.
23380 (CHECK_BOUNDS_LOW): Likewise.
23381 (CHECK_BOUNDS_HIGH): Likewise.
23382 (CHECK_BOUNDS_BOTH): Likewise.
23383 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
23384 (RETURN_BOUNDED_POINTER): Likewise.
23385 (RETURN_NULL_BOUNDED_POINTER): Likewise.
23386 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
23387 (POP_ERRNO_LOCATION_RETURN): Likewise.
23388 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
23389 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23390 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
23392 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23393 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
23394 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
23395 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
23396 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
23397 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
23398 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
23399 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
23400 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
23401 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
23402 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
23403 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
23404 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23405 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
23407 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23408 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
23410 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23411 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
23412 * sysdeps/i386/i586/memset.S (memset): Likewise.
23413 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
23414 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23415 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
23417 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23418 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
23419 Change uses of L(2) to L(out).
23420 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
23421 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
23422 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
23423 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23424 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
23426 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23427 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
23429 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23430 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
23431 (RETURN): Do not use macro LEAVE.
23432 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
23433 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
23434 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
23435 * sysdeps/i386/i686/memset.S (memset): Likewise.
23436 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
23437 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
23438 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
23439 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
23441 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
23442 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
23443 L(1_2) and L(1_3) into L(1).
23444 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
23445 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
23446 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23447 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
23448 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
23449 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
23450 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
23451 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23452 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
23454 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
23455 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23456 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
23457 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
23458 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
23459 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23460 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
23461 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
23462 * sysdeps/i386/strcspn.S (strcspn): Likewise.
23463 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
23464 * sysdeps/i386/strrchr.S (strrchr): Likewise.
23465 * sysdeps/i386/strspn.S (strspn): Likewise.
23466 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
23468 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
23469 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
23470 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
23471 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
23472 L(1_3) into L(1_1).
23473 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
23474 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23475 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
23477 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23479 2013-02-19 Jakub Jelinek <jakub@redhat.com>
23481 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
23484 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
23486 * math/atest-exp.c (exp_mpn): Remove ROUND.
23487 * math/atest-exp2.c (exp_mpn): Likewise.
23488 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
23490 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
23491 * stdlib/tst-tls-atexit-lib.c: Likewise.
23492 * stdlib/tst-tls-atexit.c: Likewise.
23494 2013-02-18 Mike Frysinger <vapier@gentoo.org>
23496 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
23497 and __attribute_alloc_size__.
23499 2013-02-18 Mike Frysinger <vapier@gentoo.org>
23501 * include/programs/xmalloc.h: Change __attribute_alloc_size to
23502 __attribute_alloc_size__.
23503 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
23504 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
23506 2013-02-18 Mike Frysinger <vapier@gentoo.org>
23508 * include/programs/xmalloc.h: New file.
23509 * catgets/gencat.c: Include it.
23510 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
23511 * elf/pldd.c: Likewise.
23512 * iconv/iconv_charmap.c: Likewise.
23513 * iconv/iconvconfig.c: Likewise.
23514 * iconv/strtab.c: Likewise.
23515 * locale/programs/locale.c: Likewise.
23516 * locale/programs/localedef.h: Likewise.
23517 * locale/programs/simple-hash.c: Likewise.
23518 * nscd/nscd.h: Likewise.
23519 * nss/makedb.c: Likewise.
23520 * sysdeps/generic/ldconfig.h: Likewise.
23522 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
23524 * Versions.def: Add GLIBC_2.18.
23525 * include/link.h (struct link_map): New member l_tls_dtor_count.
23526 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
23527 (__call_tls_dtors): Likewise.
23528 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
23529 __cxa_thread_atexit_impl.
23530 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23532 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
23534 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
23536 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
23538 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
23539 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
23541 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
23543 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
23544 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
23546 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
23547 (tests): Add test case tst-tls-atexit.
23548 (modules-names): Add shared library for tst-tls-atexit.
23549 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
23550 (GLIBC_PRIVATE): Add __call_tls_dtors.
23551 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
23553 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
23554 * stdlib/tst-tls-atexit.c: New test case.
23555 * stdlib/tst-tls-atexit-lib.c: New test case.
23557 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
23559 * elf/Versions (ld): Add _dl_find_dso_for_object.
23560 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
23561 * elf/dl-open.c (_dl_find_dso_for_object): New function.
23562 (dl_open_worker): Use _dl_find_dso_for_object.
23563 * elf/dl-sym.c (do_sym): Likewise.
23564 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
23566 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23568 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
23569 Syntactic changes only.
23570 (_dl_runtime_profile): Do a tail-call to the resolved function.
23572 2013-02-17 Joseph Myers <joseph@codesourcery.com>
23575 * sysdeps/x86_64/bp-asm.h: Remove file.
23576 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
23577 <bp-sym.h> and <bp-asm.h>.
23578 (__clone): Do not use BP_SYM.
23579 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
23580 <bp-sym.h> and <bp-asm.h>.
23581 * sysdeps/unix/x86_64/sysdep.S: Likewise.
23582 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
23584 (_setjmp): Do not use BP_SYM.
23585 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
23587 (setjmp): Do not use BP_SYM.
23588 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
23590 (mempcpy): Do not use BP_SYM in weak_alias.
23591 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
23593 (strchr): Do not use BP_SYM.
23594 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
23596 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
23597 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
23598 (_start): Do not use BP_SYM.
23599 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
23601 (strcat): Do not use BP_SYM.
23602 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
23604 (STRCMP): Do not use BP_SYM.
23605 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
23607 (STRCPY): Do not use BP_SYM.
23608 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
23610 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
23612 (FUNCTION): Do not use BP_SYM.
23613 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
23615 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
23617 2013-02-17 Andreas Jaeger <aj@suse.de>
23619 * time/Versions: Sort entries.
23620 * string/Versions: Likewise.
23621 * resolv/Versions: Likewise.
23622 * posix/Versions: Likewise.
23623 * iconv/Versions: Likewise.
23624 * elf/Versions: Likewise.
23625 * wcsmbs/Versions: Likewise.
23627 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
23629 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
23630 loop termination condition.
23632 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
23633 variable to calculate EZ.
23636 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
23637 the lower precision input.
23639 2013-02-15 Joseph Myers <joseph@codesourcery.com>
23642 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
23643 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
23644 (run-via-rtld-prefix): Do not handle %-bp tests.
23645 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
23646 (all-object-suffixes): Remove .ob.
23647 (bppfx): Remove variable.
23648 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
23649 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
23650 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
23651 [$(build-bounded) = yes] (libtype.ob): Likewise.
23652 * Makerules (elide-routines.ob): Remove variable.
23653 (do-tests-clean): Do not handle *-bp.out.
23654 (common-mostlyclean): Do not handle *-bp and *-bp.out.
23655 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
23656 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
23657 (tests): Do not include $(tests-bp.out).
23658 (xtests): Do not include $(xtests-bp.out).
23659 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
23660 [$(build-bounded) = yes] ($(addprefix
23661 $(objpfx),$(binaries-bounded))): Remove rule.
23662 ($(objpfx)%-bp.out): Remove rule.
23663 * config.make.in (build-bounded): Remove variable.
23664 * crypt/Makefile [$(build-bounded) = yes]
23665 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
23666 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
23667 append to variable.
23668 [$(build-bounded) = yes] (install-lib): Likewise.
23669 [$(build-bounded) = yes] (generated): Likewise.
23670 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
23672 * intl/Makefile [$(build-bounded) = yes]
23673 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
23674 * math/Makefile [$(build-bounded) = yes]
23675 ($(tests:%=$(objpfx)%-bp): Likewise.
23676 * misc/Makefile [$(build-bounded) = yes]
23677 ($(objpfx)tst-tsearch-bp): Likewise.
23678 * nptl/Makeconfig (bounded-thread-library): Remove variable.
23679 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
23681 * string/Makefile (o-objects.ob): Remove variable.
23682 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
23683 (CFLAGS-.ob): Remove variable.
23684 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
23685 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
23686 both definitions of variable.
23687 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
23688 (ASFLAGS-.ob): Remove variable.
23690 2013-02-14 Joseph Myers <joseph@codesourcery.com>
23693 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
23694 Remove __BOUNDED_POINTERS__ from condition.
23695 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
23696 * string/bits/string2.h [!__NO_STRING_INLINES &&
23697 !__BOUNDED_POINTERS__]: Likewise.
23698 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
23700 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
23701 Remove conditional code.
23702 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
23703 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
23704 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
23708 * csu/libc-start.c: Do not include <bp-sym.h>.
23709 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
23710 * elf/dl-open.c: Do not include <bp-sym.h>.
23711 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
23712 * math/fegetenv.c: Do not include <bp-sym.h>.
23713 (fegetenv): Do not use BP_SYM in versioned symbols.
23714 * nptl/sysdeps/pthread/bits/libc-lockP.h
23715 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
23717 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23718 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
23719 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23720 (__pthread_mutex_destroy): Likewise.
23721 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23722 (__pthread_mutex_lock): Likewise.
23723 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23724 (__pthread_mutex_trylock): Likewise.
23725 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23726 (__pthread_mutex_unlock): Likewise.
23727 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23728 (__pthread_mutexattr_init): Likewise.
23729 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23730 (__pthread_mutexattr_destroy): Likewise.
23731 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23732 (__pthread_mutexattr_settype): Likewise.
23733 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23734 (__pthread_rwlock_init): Likewise.
23735 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23736 (__pthread_rwlock_destroy): Likewise.
23737 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23738 (__pthread_rwlock_rdlock): Likewise.
23739 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23740 (__pthread_rwlock_tryrdlock): Likewise.
23741 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23742 (__pthread_rwlock_wrlock): Likewise.
23743 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23744 (__pthread_rwlock_trywrlock): Likewise.
23745 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23746 (__pthread_rwlock_unlock): Likewise.
23747 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23748 (__pthread_key_create): Likewise.
23749 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23750 (__pthread_setspecific): Likewise.
23751 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23752 (__pthread_getspecific): Likewise.
23753 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
23755 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23756 (_pthread_cleanup_push_defer): Likewise.
23757 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23758 (_pthread_cleanup_pop_restore): Likewise.
23759 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23760 (pthread_setcancelstate): Likewise.
23761 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
23763 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
23764 (memchr): Do not use BP_SYM in weak_alias.
23765 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
23766 (fegetenv): Do not use BP_SYM in versioned symbols.
23767 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
23768 (fesetenv): Do not use BP_SYM in versioned symbols.
23769 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
23770 (feupdateenv): Do not use BP_SYM in versioned symbols.
23771 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
23772 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
23773 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
23774 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
23775 (open64): Do not use BP_SYM in weak_alias.
23776 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
23777 (fegetenv): Do not use BP_SYM in versioned symbols.
23778 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
23779 (fesetenv): Do not use BP_SYM in versioned symbols.
23780 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
23781 (feupdateenv): Do not use BP_SYM in versioned symbols.
23782 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
23783 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
23784 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
23785 (feraiseexcept): Do not use BP_SYM in versioned symbols.
23786 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
23787 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
23788 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
23790 (__libc_start_main): Do not use BP_SYM.
23792 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
23794 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
23795 redundant return line.
23797 (denorm): Likewise.
23798 (dbl_mp): Likewise.
23799 (sub_magnitudes): Likewise.
23805 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
23807 (denorm): Likewise.
23808 (dbl_mp): Likewise.
23809 (sub_magnitudes): Likewise.
23816 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
23818 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
23819 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
23822 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
23823 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
23824 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
23825 of __mul for squares.
23826 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
23828 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
23830 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
23831 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
23833 2013-02-13 Joseph Myers <joseph@codesourcery.com>
23836 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
23838 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
23839 prototype or function definition. Rename ubp_* variables and
23840 parameters. Remove argv definitions conditional on
23841 [__BOUNDED_POINTERS__].
23842 * debug/backtrace.c (__backtrace): Do not use __unbounded.
23843 * elf/dl-runtime.c (_dl_fixup): Likewise.
23844 * include/set-hooks.h (RUN_HOOK): Likewise.
23845 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
23847 * string/strcpy.c (strcpy): Do not use __unbounded.
23848 * sysdeps/generic/frame.h (struct layout): Likewise.
23849 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
23850 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
23851 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
23852 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
23853 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
23854 (__backtrace): Likewise.
23855 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
23857 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
23858 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
23859 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
23861 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
23862 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
23863 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
23864 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
23865 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
23866 Do not use __unbounded.
23867 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
23868 Rename __unboundedrlimits parameter to rlimits in prototype.
23869 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
23870 Do not use __unbounded.
23871 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
23872 not use __ptrvalue.
23873 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
23874 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
23875 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
23876 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
23877 __ptrvalue or __unbounded.
23878 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
23879 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
23881 (__new_msgctl): Do not use __ptrvalue.
23882 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
23884 (__libc_msgrcv): Do not use __ptrvalue.
23885 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
23886 startup_info): Do not use __unbounded.
23887 (__libc_start_main): Likewise. Rename ubp_* variables and
23888 parameters. Remove argv definitions conditional on
23889 [__BOUNDED_POINTERS__].
23890 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
23892 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
23894 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
23896 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
23898 (__new_shmctl): Do not use __ptrvalue.
23899 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
23900 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
23902 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
23903 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
23904 (__libc_sigaction): Likewise.
23905 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
23906 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
23908 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
23910 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
23912 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
23914 * string/mempcpy.c: Implement by calling memcpy.
23916 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
23918 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
23920 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
23923 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
23924 values in the mantissa.
23926 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
23927 minimize writes to Z.
23928 (sub_magnitudes): Simplify code a bit.
23930 2013-02-12 Roland McGrath <roland@hack.frob.com>
23932 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
23933 from the message. The linker prefixes all warnings with that already.
23935 2013-02-12 Andreas Schwab <schwab@suse.de>
23938 * posix/regexec.c (extend_buffers): Add parameter min_len.
23939 (check_matching): Pass minimum needed length.
23940 (clean_state_log_if_needed): Likewise.
23941 (get_subexp): Likewise.
23942 * posix/Makefile (tests): Add bug-regex34.
23943 (bug-regex34-ENV): Define.
23944 * posix/bug-regex34.c: New file.
23947 * posix/regcomp.c (parse_bracket_exp): When looking up collating
23948 elements compare against the byte sequence of it, not its name.
23949 * posix/Makefile (tests): Add bug-regex35.
23950 (bug-regex35-ENV): Define.
23951 * posix/bug-regex35.c: New file.
23953 2013-02-11 Tom de Vries <tom@codesourcery.com>
23955 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
23957 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
23958 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
23959 (CHECK_EOL): Add undef.
23961 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
23963 * bits/stdlib-bsearch.h: New file.
23964 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
23965 * stdlib/stdlib.h: Likewise.
23967 2013-02-11 Roland McGrath <roland@hack.frob.com>
23969 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
23970 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
23972 * manual/search.texi (Array Search Function): Add missing const in
23974 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
23975 declaration to use rlim_t.
23976 (Basic Scheduling Functions): Remove erroneous const from
23977 sched_getparam prototype. Remove erroneous * from
23978 sched_get_priority_max and sched_get_priority_min prototypes.
23979 (Resource Usage): Fix summary @comment on vtimes to refer to
23980 sys/vtimes.h rather than vtimes.h.
23981 Add missing *s in vtimes prototype.
23982 (Limits on Resources): Fix ulimit prototype to return long int.
23983 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
23984 prototypes to use long int rather than double.
23985 (BSD Random): Fix initstate and setstate to use char *, not void *.
23986 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
23987 prototype to make second argument 'struct aiocb64 *const[]'.
23988 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
23989 (Status of AIO Operations): Remove erroneous const in aio_return and
23990 aio_return64 prototypes.
23991 (Synchronizing I/O): Fix sync prototype to return void.
23992 * manual/startup.texi (Suboptions): Remove an erroneous const in
23993 getsubopt prototype.
23994 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
23995 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
23996 use size_t rather than int.
23997 (Scanning All Users): Likewise for getpwent_r.
23998 (Setting Groups): Add missing const to setgroups prototype.
23999 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
24000 * manual/socket.texi (Host Names): Fix gethostbyaddr and
24001 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
24002 'const void *' rather than 'const char *'.
24003 (Host Address Functions): Likewise for inet_ntop.
24004 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
24005 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
24006 ssize_t for return value.
24007 (Sending Data): Likewise for send, sendto, sendmsg.
24008 (Socket Option Functions): Add a missing const in setsockopt prototype.
24009 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
24010 use wchar_t for the argument.
24011 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
24012 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
24014 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
24015 double/float/long double for second argument.
24016 Fix return types of significand, significandf, significandl.
24017 * manual/filesys.texi (Setting Permissions): Use mode_t for second
24018 argument in fchmod prototype.
24019 (File Owner): Use uid_t and gid_t in fchown prototype.
24020 (File Times): Add const to utimes, futimes, and lutimes prototypes.
24021 (Making Special Files): Use mode_t and dev_t in mknod prototype.
24022 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
24023 use 'const struct dirent **' as argument types to CMP function pointer
24025 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
24026 (File Times): Fix summary magic @comment for struct utimbuf and utime
24027 to refer to utime.h, not time.h.
24028 * manual/string.texi (Argz Functions): Add missing const in
24029 argz_extract and argz_next prototypes.
24030 (Finding Tokens in a String): Likewise for basename.
24031 (String/Array Comparison): Fix typo in wcscasecmp prototype.
24032 (Copying and Concatenation): Fix typo in wmemmove prototype.
24033 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
24034 (Signal Stack): Remove erroneous const in sigstack prototype.
24035 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
24037 (Simple Calendar Time): Likewise for stime.
24038 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
24040 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
24041 say sys/sysctl.h instead.
24042 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
24043 and vsyslog prototypes.
24045 2013-02-11 Tom de Vries <tom@codesourcery.com>
24047 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
24050 2013-02-11 Roland McGrath <roland@hack.frob.com>
24052 * misc/sys/mman.h: Fix typo in mremap comment.
24054 2013-02-08 Roland McGrath <roland@hack.frob.com>
24056 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
24057 the '\0' terminator.
24059 2013-02-08 Joseph Myers <joseph@codesourcery.com>
24062 * debug/segfault.c: Don't include <bp-checks.h>.
24063 * sysdeps/generic/bp-checks.h: Remove file.
24064 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
24065 (__GETDENTS): Don't use CHECK_N.
24066 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
24067 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
24068 (__getgroups): Don't use CHECK_N.
24069 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
24070 (setgroups): Don't use CHECK_N.
24071 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
24072 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
24073 (__libc_msgrcv): Don't use CHECK_N.
24074 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
24075 (__libc_msgsnd): Don't use CHECK_N.
24076 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
24078 (__libc_pread): Don't use CHECK_N.
24079 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
24080 include <bp-checks.h>.
24081 (__libc_pread64): Don't use CHECK_N.
24082 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
24083 include <bp-checks.h>.
24084 (__libc_pwrite): Don't use CHECK_N.
24085 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
24086 include <bp-checks.h>.
24087 (__libc_pwrite64): Don't use CHECK_N.
24088 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
24090 (__libc_pread): Don't use CHECK_N.
24091 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
24092 include <bp-checks.h>.
24093 (__libc_pread64): Don't use CHECK_N.
24094 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
24095 include <bp-checks.h>.
24096 (__libc_pwrite): Don't use CHECK_N.
24097 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
24098 include <bp-checks.h>.
24099 (__libc_pwrite64): Don't use CHECK_N.
24100 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
24101 (do_pread): Don't use CHECK_N.
24102 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
24103 (do_pread64): Don't use CHECK_N.
24104 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
24105 (do_pwrite): Don't use CHECK_N.
24106 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
24107 (do_pwrite64): Don't use CHECK_N.
24108 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
24109 (__libc_readv): Don't use CHECK_N.
24110 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
24111 (semop): Don't use CHECK_N.
24112 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
24114 (semtimedop): Don't use CHECK_N.
24115 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
24116 (__libc_pread): Don't use CHECK_N.
24117 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
24119 (__libc_pread64): Don't use CHECK_N.
24120 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
24122 (__libc_pwrite): Don't use CHECK_N.
24123 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
24125 (__libc_pwrite64): Don't use CHECK_N.
24126 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
24128 (__libc_msgrcv): Don't use CHECK_N.
24129 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
24130 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
24131 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
24132 (__libc_writev): Don't use CHECK_N.
24134 2013-02-08 Roland McGrath <roland@hack.frob.com>
24136 * string/strcpy.c: Removed unused variable.
24138 * Makeconfig (+sysdep-includes): Define with := rather than =.
24139 Use an existing include/ subdir of each sysdeps dir before it.
24141 2013-02-08 Carlos O'Donell <carlos@redhat.com>
24143 * nscd/connection.c (register_traced_file): Comment function.
24144 [HAVE_INOTIFY] (union __inev): Define.
24145 [HAVE_INOTIFY] (inotify_check_files): New function.
24146 [HAVE_INOTIFY] (clear_db_cache): Likewise.
24147 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
24149 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
24151 2013-02-08 Carlos O'Donell <carlos@redhat.com>
24153 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
24154 loaded if not already and that a failure is permanent.
24156 2013-02-08 Carlos O'Donell <carlos@redhat.com>
24159 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
24160 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
24162 2013-02-08 Joseph Myers <joseph@codesourcery.com>
24165 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
24166 (CHECK_1_NULL_OK): Likewise.
24167 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
24168 (__fxstat): Do not use CHECK_1.
24169 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
24171 (___fxstat64): Do not use CHECK_1.
24172 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
24174 (__fxstatat): Do not use CHECK_1.
24175 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
24177 (__fxstatat64): Do not use CHECK_1.
24178 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
24180 (__fxstat): Do not use CHECK_1.
24181 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
24183 (__fxstatat): Do not use CHECK_1.
24184 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
24186 (__getresgid): Do not use CHECK_1.
24187 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
24189 (__getresuid): Do not use CHECK_1.
24190 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
24192 (__lxstat): Do not use CHECK_1.
24193 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
24195 (__old_msgctl): Do not use CHECK_1.
24196 (__new_msgctl): Likewise.
24197 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
24199 (__new_setrlimit): Do not use CHECK_1.
24200 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
24202 (__old_shmctl): Do not use CHECK_1.
24203 (__new_shmctl): Likewise.
24204 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
24206 (__xstat): Do not use CHECK_1.
24207 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
24208 (__lxstat): Do not use CHECK_1.
24209 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
24211 (___lxstat64): Do not use CHECK_1.
24212 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
24213 (__old_msgctl): Do not use CHECK_1.
24214 (__new_msgctl): Likewise.
24215 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
24217 (__gettimeofday): Do not use CHECK_1.
24218 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
24219 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
24220 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
24222 (__gettimeofday): Do not use CHECK_1.
24223 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
24224 (__old_shmctl): Do not use CHECK_1_NULL_OK.
24225 (__new_shmctl): Do not use CHECK_1.
24226 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
24228 (do_sigtimedwait): Do not use CHECK_1.
24229 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
24231 (do_sigwaitinfo): Do not use CHECK_1.
24232 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
24234 (msgctl): Do not use CHECK_1.
24235 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
24237 (shmctl): Do not use CHECK_1.
24238 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
24239 (ustat): Do not use CHECK_1.
24240 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
24242 (__fxstat): Do not use CHECK_1.
24243 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
24245 (__fxstatat): Do not use CHECK_1.
24246 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
24248 (__lxstat): Do not use CHECK_1.
24249 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
24251 (__xstat): Do not use CHECK_1.
24252 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
24253 (__xstat): Do not use CHECK_1.
24254 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
24255 (___xstat64): Do not use CHECK_1.
24258 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
24260 (CHECK_BOUNDS_HIGH): Likewise.
24261 * string/strcpy.c: Do not include <bp-checks.h>.
24262 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
24264 2013-02-07 Roland McGrath <roland@hack.frob.com>
24266 * nscd/nscd-client.h (__nscd_drop_map_ref):
24267 Add __attribute__ ((unused)).
24268 * nis/nss-nisplus.h (niserr2nss): Likewise.
24270 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
24271 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
24273 * csu/libc-tls.c (init_static_tls, init_slotinfo):
24274 Remove inline keyword.
24275 * include/rounding-mode.h (round_away): Likewise.
24276 * libio/wfileops.c (adjust_wide_data): Likewise.
24277 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
24278 (__m128i_strloadu_tolower): Likewise.
24279 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
24280 (__m128i_strloadu_tolower): Likewise.
24281 * time/mktime.c (ydhms_diff): Likewise.
24282 * locale/elem-hash.h (elem_hash): Likewise.
24283 * locale/setlocale.c (setdata): Likewise.
24284 * posix/regex_internal.h (re_string_char_size_at): Likewise.
24285 (re_string_wchar_at): Likewise.
24286 (bitset_not, bitset_merge, bitset_mask): Likewise.
24287 [!(__GNUC__ > 3)] (inline): Remove macro.
24288 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
24289 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
24290 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
24291 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
24292 * string/memcmp.c (memcmp_bytes): Likewise.
24293 * locale/programs/locarchive.c (compute_hashval): Likewise.
24294 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
24295 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
24296 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
24297 * nss/getent.c (print_rpc, print_protocols): Likewise.
24298 (print_passwd, print_group, print_aliases): Likewise.
24299 * nis/nss-nisplus.h (niserr2nss): Likewise.
24300 * nscd/connections.c (restart_p): Likewise.
24301 Change return type to bool.
24303 2013-02-05 Roland McGrath <roland@hack.frob.com>
24305 * Makeconfig (all-Depend-files): Add existing
24306 $(sorted-subdirs:=/Depend) files.
24307 (all-subdirs): Remove nss.
24308 * sysdeps/unix/inet/Subdirs: Add it here instead.
24309 * hesiod/Depend: New file.
24311 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
24312 instead of calling alloca.
24314 * io/lseek.c (__lseek): Rename to __libc_lseek.
24315 Define __lseek as an alias.
24317 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
24319 2013-02-04 Carlos O'Donell <carlos@redhat.com>
24321 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
24322 else clause and remove check for non-standard endianness.
24324 2013-02-04 David S. Miller <davem@davemloft.net>
24326 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24328 2013-02-04 Joseph Myers <joseph@codesourcery.com>
24331 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
24332 (__ubp_memchr): Remove prototype.
24333 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
24334 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
24335 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
24336 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
24337 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
24339 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
24340 (__ubp_memchr): Likewise.
24341 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
24342 (__ubp_memchr): Likewise.
24343 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
24344 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
24345 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
24346 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
24348 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
24349 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
24350 (__getcwd): Do not use CHECK_STRING.
24351 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
24353 (__real_chown): Do not use CHECK_STRING.
24354 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
24356 (fchownat): Do not use CHECK_STRING.
24357 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
24359 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
24361 (__lchown): Do not use CHECK_STRING.
24362 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
24363 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
24364 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
24365 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
24366 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
24367 include <bp-checks.h>.
24368 (truncate64): Do not use CHECK_STRING.
24369 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
24371 (__real_chown): Do not use CHECK_STRING.
24372 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
24374 (__lchown): Do not use CHECK_STRING.
24375 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
24377 (__chown): Do not use CHECK_STRING.
24378 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
24380 (truncate64): Do not use CHECK_STRING.
24381 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
24383 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
24384 (__xmknod): Do not use CHECK_STRING.
24385 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
24387 (__xmknodat): Do not use CHECK_STRING.
24388 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
24389 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
24391 2013-02-04 Andreas Schwab <schwab@suse.de>
24394 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
24395 * include/netdb.h: Likewise for h_errno.
24396 * elf/tst-stackguard1.c: Include <tls.h>.
24398 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
24400 * elf/link.h (struct link_map): Extend the l_addr comment.
24401 * include/link.h (struct link_map): Likewise.
24403 2013-02-01 Joseph Myers <joseph@codesourcery.com>
24406 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
24407 (BOUNDED_1): Remove macro.
24408 * debug/backtrace.c: Don't include <bp-checks.h>.
24409 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
24410 (__backtrace): Likewise.
24411 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
24413 (__backtrace): Don't use BOUNDED_1.
24414 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
24416 (__backtrace): Don't use BOUNDED_1.
24417 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
24418 (__backtrace): Don't use BOUNDED_1.
24419 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
24420 (shmat): Don't use BOUNDED_N.
24422 2013-01-31 Joseph Myers <joseph@codesourcery.com>
24425 * sysdeps/generic/bp-start.h: Remove file.
24426 * csu/libc-start.c: Don't include <bp-start.h>.
24427 (LIBC_START_MAIN): Set up __environ directly instead of using
24428 INIT_ARGV_and_ENVIRON.
24429 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
24433 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
24435 (CHECK_FCNTL): Likewise.
24436 (CHECK_N_PAGES): Likewise.
24439 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
24441 (CHECK_SIGSET_NULL_OK): Likewise.
24442 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
24444 (sigpending): Don't use CHECK_SIGSET.
24445 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
24447 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
24448 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
24450 (do_sigsuspend): Don't use CHECK_SIGSET.
24451 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
24453 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
24454 (do_sigwait): Don't use CHECK_SIGSET.
24455 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
24457 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
24458 include <bp-checks.h>.
24459 (sigpending): Don't use CHECK_SIGSET.
24460 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
24461 include <bp-checks.h>.
24462 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
24463 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
24465 (sigpending): Don't use CHECK_SIGSET.
24466 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
24468 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
24471 * sysdeps/generic/bp-semctl.h: Remove file.
24472 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
24473 <bp-checks.h> and <bp-semctl.h>.
24474 (__old_semctl): Don't use CHECK_SEMCTL.
24475 (__new_semctl): Likewise.
24476 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
24478 (__old_semctl): Don't use CHECK_SEMCTL.
24479 (__new_semctl): Likewise.
24480 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
24481 <bp-checks.h> and <bp-semctl.h>.
24482 (__old_semctl): Don't use CHECK_SEMCTL.
24483 (__new_semctl): Likewise.
24484 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
24485 <bp-checks.h> and <bp-semctl.h>.
24486 (semctl): Don't use CHECK_SEMCTL.
24489 * Makerules (elide-bp-thunks): Remove variable.
24490 (elide-routines.oS): Don't use $(elide-bp-thunks).
24491 (elide-routines.os): Likewise.
24492 (elide-routines.o): Likewise.
24493 (elide-routines.op): Likewise.
24494 (elide-routines.og): Likewise.
24495 (objects): Don't use $(bp-thunks).
24496 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
24498 (common-generated): Do not add s-proto-bp.d.
24499 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
24502 Do not generate makefile rules for bounded-pointer thunks.
24503 * sysdeps/generic/bp-thunks.h: Remove file.
24504 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
24505 * sysdeps/unix/s-proto-bp.S: Likewise.
24508 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
24509 parts of result separately when argument is not close to line from
24510 -i to i and one part of argument is small.
24511 * math/k_casinhf.c (__kernel_casinhf): Likewise.
24512 * math/k_casinhl.c (__kernel_casinhl): Likewise.
24513 * math/libm-test.inc (cacos_test): Add more tests.
24514 (casin_test): Likewise.
24515 (casinh_test): Likewise.
24516 * sysdeps/i386/fpu/libm-test-ulps: Update.
24517 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24519 2013-01-31 David S. Miller <davem@davemloft.net>
24521 * po/de.po: Update from translation team.
24523 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
24525 * time/tzfile.c: Include stdint.h for SIZE_MAX.
24527 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
24529 * configure.in (_AC_PROG_CC_C89): New definition.
24530 * configure: Regenerate.
24532 * configure.in (AC_PROG_CPP): New definition.
24533 * configure: Regenerate.
24535 2013-01-23 Joseph Myers <joseph@codesourcery.com>
24537 * debug/tst-backtrace.h: New file.
24538 * debug/tst-backtrace2.c: Include tst-backtrace.h.
24539 (ret): Remove variable.
24541 (FAIL): Remove macro.
24542 (NO_INLINE): Likewise.
24543 (fn1): Use match function instead of strstr.
24544 * debug/tst-backtrace3.c: Include tst-backtrace.h.
24545 (ret): Remove variable.
24547 (FAIL): Remove macro.
24548 (NO_INLINE): Likewise.
24549 (fn): Use match function instead of strstr.
24550 * debug/tst-backtrace4.c: Include tst-backtrace.h.
24551 (ret): Remove variable.
24553 (FAIL): Remove macro.
24554 (NO_INLINE): Likewise.
24555 (handle_signal): Use match function instead of strstr.
24556 * debug/tst-backtrace5.c: Include tst-backtrace.h.
24557 (ret): Remove variable.
24559 (FAIL): Remove macro.
24560 (NO_INLINE): Likewise.
24561 (handle_signal): Use match function instead of strstr.
24563 2013-01-23 Roland McGrath <roland@hack.frob.com>
24565 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
24567 2013-01-23 David S. Miller <davem@davemloft.net>
24569 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
24570 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
24571 argument of CAS if possible.
24572 * sysdeps/sparc/sparc64/bits/atomic.h
24573 (__arch_compare_and_exchange_val_32_acq): Likewise.
24574 (__arch_compare_and_exchange_val_64_acq): Likewise.
24576 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
24578 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
24579 * sysdeps/posix/ulimit.c: ... this.
24580 Include <limits.h>.
24581 * sysdeps/unix/bsd/ulimit.c: Remove file.
24583 2013-01-23 Adam Conrad <adconrad@0c3.net>
24585 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
24586 (LDFLAGS-tst-array5): Likewise.
24588 2013-01-23 Joseph Myers <joseph@codesourcery.com>
24591 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
24592 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
24593 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
24594 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
24596 2013-01-21 David S. Miller <davem@davemloft.net>
24598 * sysdeps/sparc/backtrace.c: New file.
24599 * sysdeps/sparc/sparc32/backtrace.h: New file.
24600 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
24601 * sysdeps/sparc/sparc64/backtrace.h: New file.
24602 * sysdeps/sparc/sparc64/backtrace.c: Delete.
24603 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
24606 2013-01-21 Andreas Schwab <schwab@suse.de>
24609 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
24612 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
24614 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
24616 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
24618 2013-01-18 Joseph Myers <joseph@codesourcery.com>
24619 Mark Mitchell <mark@codesourcery.com>
24620 Tom de Vries <tom@codesourcery.com>
24621 Paul Pluzhnikov <ppluzhnikov@google.com>
24623 * debug/tst-backtrace2.c: New file.
24624 * debug/tst-backtrace3.c: Likewise.
24625 * debug/tst-backtrace4.c: Likewise.
24626 * debug/tst-backtrace5.c: Likewise.
24627 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
24628 (CFLAGS-tst-backtrace3.c): Likewise.
24629 (CFLAGS-tst-backtrace4.c): Likewise.
24630 (CFLAGS-tst-backtrace5.c): Likewise.
24631 (LDFLAGS-tst-backtrace2): Likewise.
24632 (LDFLAGS-tst-backtrace3): Likewise.
24633 (LDFLAGS-tst-backtrace4): Likewise.
24634 (LDFLAGS-tst-backtrace5): Likewise.
24635 (tests): Add new tests tst-backtrace2, tst-backtrace3,
24636 tst-backtrace4 and tst-backtrace5.
24638 2013-01-18 Anton Blanchard <anton@samba.org>
24639 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
24641 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
24642 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
24643 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
24644 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
24645 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
24646 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
24647 "+r" and remove output regs list as redundant. Add explicit inline
24648 asm to specify register of return val to work around compiler codegen
24649 bug. Remove (int) cast on return value. Add return type parameter to
24650 use in macro so that this macro does not truncate return value for
24652 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
24653 pass to INTERNAL_VSYSCALL_NCS.
24654 (INLINE_VSYSCALL): Add 'long int' as return type to
24655 INTERNAL_VSYSCALL_NCS macro invocation.
24656 (INTERNAL_VSYSCALL): Add 'long int' as return type to
24657 INTERNAL_VSYSCALL_NCS macro invocation.
24658 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
24660 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
24663 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
24664 Fix application of SIMD FP exception mask.
24666 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
24667 mp_no from a power of two.
24668 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
24669 __mpexp_twomm1. Use __pow_mp.
24671 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
24674 2013-01-17 David S. Miller <davem@davemloft.net>
24676 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24678 2013-01-17 Joseph Myers <joseph@codesourcery.com>
24681 * include/complex.h: Condition contents on [!_COMPLEX_H].
24682 (__kernel_casinhf): New prototype.
24683 (__kernel_casinh): Likewise.
24684 (__kernel_casinhl): Likewise.
24685 * math/Makefile (libm_calls): Add k_casinh.
24686 * math/k_casinh.c: New file.
24687 * math/k_casinhf.c: Likewise.
24688 * math/k_casinhl.c: Likewise.
24689 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
24690 finite nonzero arguments.
24691 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
24692 finite nonzero arguments.
24693 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
24694 finite nonzero arguments.
24695 * math/s_casinh.c: Do not include <float.h>.
24696 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
24697 * math/s_casinhf.c: Do not include <float.h>.
24698 (__casinhf): Move code for finite nonzero arguments to
24700 * math/s_casinhl.c: Do not include <float.h>.
24701 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
24703 (__casinhl): Move code for finite nonzero arguments to
24705 * math/libm-test.inc (cacos_test): Add more tests.
24706 * sysdeps/i386/fpu/libm-test-ulps: Update.
24707 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24709 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
24711 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
24712 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
24713 [!HAVE_MREMAP]: Remove [defined linux] case.
24714 * malloc/arena.c: Do not include <malloc-sysdep.h>.
24716 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
24718 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
24720 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
24722 * elf/elf.h (R_386_SIZE32): New relocation.
24723 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
24725 (elf_machine_rela): Likewise.
24726 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
24727 R_X86_64_SIZE64 and R_X86_64_SIZE32.
24729 2013-01-17 Joseph Myers <joseph@codesourcery.com>
24731 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
24732 (FP_FAST_FMA): Do not define.
24733 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
24734 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
24735 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
24736 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
24737 !_SOFT_FLOAT]: Likewise.
24738 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
24739 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
24741 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
24742 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
24743 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
24744 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
24745 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
24746 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
24749 2013-01-16 Andreas Schwab <schwab@suse.de>
24752 * include/stdlib.h (__mktemp): Add declaration.
24753 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
24754 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
24756 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
24758 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
24760 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
24761 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
24762 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
24764 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
24765 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
24767 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
24769 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
24770 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
24771 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
24773 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
24774 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
24776 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
24778 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
24780 2013-01-15 David S. Miller <davem@davemloft.net>
24782 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
24783 trunc{,f} to libm-sysdep_routes.
24784 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
24785 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
24787 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
24788 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
24790 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
24792 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
24793 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
24794 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
24795 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
24796 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
24797 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
24798 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
24799 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
24801 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
24802 nearbyint{,f} to libm-sysdep_routes.
24803 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
24804 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
24806 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
24808 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
24810 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
24812 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
24813 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
24814 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
24816 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
24817 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
24819 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
24820 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
24821 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
24823 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
24824 libc_feholdexcept and libc_fesetenv.
24826 2013-01-15 Mike Frysinger <vapier@gentoo.org>
24828 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
24830 2013-01-14 David S. Miller <davem@davemloft.net>
24832 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
24833 (SPARC_ASM_VIS2_IFUNC): Likewise.
24834 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
24835 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
24836 use of 'siam' instruction.
24837 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
24839 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
24841 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
24843 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
24844 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
24845 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
24846 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
24847 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
24849 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
24851 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
24853 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
24855 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
24856 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
24857 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
24858 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
24859 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
24861 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
24862 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
24863 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
24865 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
24866 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
24867 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
24868 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
24869 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
24870 routines to libm-sysdep_routines.
24871 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
24873 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
24874 fdim/fdimf to libm-sysdep_routines.
24875 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
24877 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
24878 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
24880 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
24881 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
24882 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
24883 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
24884 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
24885 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
24886 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
24888 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
24890 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
24891 to optimize copies.
24893 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
24894 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
24895 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
24897 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
24898 local variable MPTWO.
24899 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
24902 2013-01-13 Mike Frysinger <vapier@gentoo.org>
24904 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
24907 2013-01-13 Mike Frysinger <vapier@gentoo.org>
24909 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
24911 2013-01-13 Mike Frysinger <vapier@gentoo.org>
24913 * manual/pattern.texi (glob_t): Document gl_flags.
24914 (glob64_t): Likewise.
24916 2013-01-11 David S. Miller <davem@davemloft.net>
24918 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
24919 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
24920 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
24921 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
24922 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
24923 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
24924 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
24925 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
24926 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
24927 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
24928 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
24929 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
24930 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
24932 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
24933 sparc V9 rather than using V8 code.
24934 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
24935 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
24937 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
24939 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
24942 2013-01-11 Roland McGrath <roland@hack.frob.com>
24944 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
24945 not in the main loop.
24946 * configure: Regenerated.
24948 2013-01-11 Joseph Myers <joseph@codesourcery.com>
24950 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
24951 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
24953 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
24954 [!__GLIBC_HAVE_LONG_LONG] case.
24955 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
24956 condition to just #else.
24957 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
24958 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
24959 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
24960 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
24962 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
24963 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
24964 #elif condition to just #else.
24965 * sysdeps/unix/sysv/linux/sys/sysmacros.h
24966 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
24967 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
24968 #elif condition to just #else.
24970 2013-01-11 Steve Ellcey <sellcey@mips.com>
24972 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
24973 (EF_MIPS_ARCH_64): Fix value.
24974 (EF_MIPS_ARCH_32R2): New.
24975 (EF_MIPS_ARCH_64R2): New.
24977 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
24979 * Makeconfig (+link-pie-before-libc): New.
24980 (+link-pie-after-libc): Likewise.
24981 (+link-pie-tests): Likewise.
24982 (+link-pie): Rewritten.
24983 (link-before-libc): Remove $(config-LDFLAGS).
24984 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
24985 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
24986 (config-LDFLAGS): Renamed to ...
24987 (rtld-LDFLAGS): This.
24988 (rtld-tests-LDFLAGS): New macro.
24989 (link-libc-rpath-link): Likewise.
24990 (link-libc-tests-rpath-link): Likewise.
24991 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
24992 (link-libc): Prepand $(link-libc-rpath-link).
24993 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
24994 (test-program-prefix): New macro.
24995 (test-via-rtld-prefix): Likewise.
24996 (test-program-cmd): Likewise.
24997 (host-test-program-cmd): Likewise.
24998 * Makefile ($(common-objpfx)testrun.sh): Replace
24999 $(run-program-prefix) with $(test-program-prefix).
25000 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
25002 ($(common-objpfx)shlib.lds): Likewise.
25003 (build-module-helper): Likewise.
25004 ($(common-objpfx)format.lds): Likewise.
25005 * Rules (binaries-pie-tests): New.
25006 (binaries-pie-notests): Likewise.
25007 (binaries-pie): Rewritten.
25008 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
25009 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
25010 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
25011 (make-test-out): Replace $(host-built-program-cmd) with
25012 $(host-test-program-cmd).
25013 * config.make.in (build-hardcoded-path-in-tests): New variable.
25014 * configure.in (--enable-hardcoded-path-in-tests): New configure
25016 (hardcoded_path_in_tests): New AC_SUBST.
25017 * configure: Regenerated.
25018 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
25019 $(built-program-cmd) with $(test-program-cmd).
25020 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
25021 (test_program_cmd): This.
25022 * elf/Makefile ($(objpfx)order.out): Run test with
25023 $(test-program-prefix).
25024 ($(objpfx)order2.out): Likewise.
25025 ($(objpfx)tst-initorder.out): Likewise.
25026 ($(objpfx)tst-initorder2.out): Likewise.
25027 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
25028 $(test-program-cmd).
25029 ($(objpfx)tst-array1-static.out): Likewise.
25030 ($(objpfx)tst-array2.out): Likewise.
25031 ($(objpfx)tst-array3.out): Likewise.
25032 ($(objpfx)tst-array4.out): Likewise.
25033 ($(objpfx)tst-array5.out): Likewise.
25034 ($(objpfx)tst-array5-static.out): Likewise.
25035 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
25036 $(test-program-cmd).
25037 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
25038 $(run-program-prefix) with $(test-program-prefix).
25039 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
25040 (test_program_prefix): This.
25041 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
25042 $(run-program-prefix) with $(test-program-prefix).
25043 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
25044 (test_program_prefix): This.
25045 * iconvdata/tst-tables.sh: Likewise.
25046 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
25047 $(run-program-prefix) with $(test-program-prefix).
25048 ($(objpfx)tst-translit.out): Likewise.
25049 ($(objpfx)tst-gettext2.out): Likewise.
25050 ($(objpfx)tst-gettext4.out): Likewise.
25051 ($(objpfx)tst-gettext6.out): Likewise.
25052 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
25053 (test_program_prefix): This.
25054 * intl/tst-gettext2.sh: Likewise.
25055 * intl/tst-gettext4.sh Likewise.
25056 * intl/tst-gettext6.sh: Likewise.
25057 * intl/tst-translit.sh: Likewise.
25058 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
25059 with $(test-program-cmd).
25060 * libio/Makefile ($(objpfx)test-freopen.out): Replace
25061 $(run-program-prefix) with $(test-program-prefix).
25062 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
25063 (test_program_prefix): This.
25064 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
25065 $(run-program-prefix) with $(test-program-prefix).
25066 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
25067 (test_program_prefix): This.
25068 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
25069 * posix/Makefile ($(objpfx)globtest.out): Replace
25070 $(run-via-rtld-prefix) and $(test-wrapper) with
25071 $(test-program-prefix) and $(test-via-rtld-prefix).
25072 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
25073 $(test-program-prefix).
25074 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
25075 $(host-test-program-cmd).
25076 (tst-spawn-ARGS): Likewise.
25077 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
25078 $(test-program-prefix).
25079 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
25080 (test_via_rtld_prefix): This.
25081 (test_wrapper): Renamed to ...
25082 (test_program_prefix): This.
25083 (run_program_prefix): Replaced by test_program_prefix.
25084 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
25085 (test_program_prefix): This.
25086 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
25087 with $(host-test-program-cmd).
25088 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
25089 $(run-program-prefix) with $(test-program-prefix).
25090 ($(objpfx)tst-printf.out): Likewise.
25091 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
25092 $(test-program-cmd).
25093 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
25094 (test_program_prefix): This.
25095 * stdio-common/tst-unbputc.sh: Likewise.
25096 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
25097 $(run-program-prefix) with $(test-program-prefix).
25098 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
25099 (test_program_prefix): This.
25100 * string/Makefile ($(objpfx)tst-svc.out): Replace
25101 $(built-program-cmd) with $(test-program-cmd).
25103 2013-01-11 Andreas Jaeger <aj@suse.de>
25106 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
25107 value. Sync with Linux 3.7.
25109 2013-01-10 David S. Miller <davem@davemloft.net>
25111 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
25112 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
25113 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
25115 2013-01-10 Roland McGrath <roland@hack.frob.com>
25117 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
25119 * configure: Regenerated.
25121 2013-01-10 David S. Miller <davem@davemloft.net>
25123 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
25124 sparc V9 rather than using V8 code.
25125 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
25126 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
25128 2013-01-10 Roland McGrath <roland@hack.frob.com>
25130 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
25131 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
25132 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
25133 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
25134 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
25135 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
25136 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
25137 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
25138 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
25139 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
25140 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
25141 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
25142 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
25143 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
25144 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
25145 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
25146 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
25147 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
25148 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
25149 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
25150 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
25151 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
25152 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
25153 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
25154 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
25155 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
25156 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
25158 2013-01-10 David S. Miller <davem@davemloft.net>
25160 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25162 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
25164 * posix/Makefile (tests-static): New variable.
25165 (tests): Add $(tests-static).
25166 (tst-exec-static-ARGS): New variable.
25167 (tst-spawn-static-ARGS): Likewise.
25168 * posix/tst-exec-static.c: New file.
25169 * posix/tst-spawn-static.c: Likewise.
25170 * posix/tst-exec.c: Support run directly.
25171 * posix/tst-spawn.c: Likewise.
25173 2013-01-10 Joseph Myers <joseph@codesourcery.com>
25175 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
25177 * math/bits/mathcalls.h (llrint): Likewise.
25178 (llround): Likewise.
25179 * stdlib/stdlib.h (struct drand48_data): Likewise.
25180 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
25181 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
25182 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
25184 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
25186 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
25187 (elf_greg_t): Likewise.
25188 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
25189 (__jmp_buf): Likewise.
25190 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
25192 (llrint): Likewise, for all definitions.
25193 (llrintl): Likewise.
25195 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
25196 Remove [__GNUC__] condition.
25197 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
25198 condition to just [__USE_ISOC99].
25199 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
25201 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
25204 * sysdeps/unix/sysv/linux/x86/bits/environments.h
25205 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
25207 (_POSIX_V6_ILP32_OFF32): Likewise.
25208 (_XBS5_ILP32_OFF32): Likewise.
25209 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
25210 (__ILP32_OFFBIG_LDFLAGS): Likewise.
25212 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
25214 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
25216 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
25217 doubles __mpexp_twomm1. Adjust usage.
25218 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
25221 2013-01-10 Andreas Schwab <schwab@suse.de>
25224 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
25225 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
25227 2013-01-09 David S. Miller <davem@davemloft.net>
25230 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
25231 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
25232 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
25233 (TCP_FASTOPEN): Define.
25234 (tcp_repair_opt): New structure.
25235 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
25237 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
25238 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
25239 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
25240 (tcp_cookie_transactions): New structure.
25242 2013-01-09 Anton Blanchard <anton@samba.org>
25244 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
25245 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
25246 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
25247 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
25249 2013-01-09 Joseph Myers <joseph@codesourcery.com>
25251 * include/features.h (__USE_ANSI): Remove.
25253 2013-01-09 Roland McGrath <roland@hack.frob.com>
25255 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
25257 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
25259 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
25261 * sysdeps/s390/fpu/libm-test-ulps: Update.
25263 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25265 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
25269 (denorm): Likewise.
25270 (__mp_dbl): Likewise.
25271 (__dbl_mp): Likewise.
25272 (add_magnitudes): Likewise.
25273 (sub_magnitudes): Likewise.
25279 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
25283 (denorm): Likewise.
25284 (__mp_dbl): Likewise.
25285 (__dbl_mp): Likewise.
25286 (add_magnitudes): Likewise.
25287 (sub_magnitudes): Likewise.
25293 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
25297 (denorm): Likewise.
25298 (__mp_dbl): Likewise.
25299 (__dbl_mp): Likewise.
25300 (add_magnitudes): Likewise.
25301 (sub_magnitudes): Likewise.
25308 2013-01-08 Joseph Myers <joseph@codesourcery.com>
25310 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
25311 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
25312 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
25313 2 && __USE_EXTERN_INLINES]: Likewise.
25315 2013-01-08 Andreas Jaeger <aj@suse.de>
25318 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
25320 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
25321 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
25323 2013-01-07 Anton Blanchard <anton@samba.org>
25325 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
25326 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
25327 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
25328 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
25329 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
25330 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
25331 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
25332 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
25333 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
25334 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
25335 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
25336 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
25337 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
25338 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
25339 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
25340 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
25341 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
25342 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
25343 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
25344 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
25345 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
25346 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
25347 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
25348 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
25349 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
25350 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
25351 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
25352 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
25353 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
25354 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
25355 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
25356 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
25357 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
25358 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
25359 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
25360 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
25361 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
25362 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
25363 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
25364 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
25365 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
25366 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
25367 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
25369 2013-01-07 Joseph Myers <joseph@codesourcery.com>
25371 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
25372 (__MALLOC_PMT): Likewise.
25373 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
25374 [__GNUC__], only on [_LIBC].
25375 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
25376 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
25377 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
25378 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
25379 forward declaration.
25380 (realloc_hook_ini): Likewise.
25381 (memalign_hook_ini): Likewise.
25382 (__libc_memalign): Do not use __MALLOC_PMT in variable
25384 (__libc_valloc): Likewise.
25385 (__libc_pvalloc): Likewise.
25386 (__libc_calloc): Likewise.
25387 (__posix_memalign): Likewise.
25390 * math/s_casinh.c: Include <float.h>.
25391 (__casinh): Do not do computation with squaring and square root
25392 for large arguments.
25393 * math/s_casinhf.c: Include <float.h>.
25394 (__casinhf): Do not do computation with squaring and square root
25395 for large arguments.
25396 * math/s_casinhl.c: Include <float.h>.
25397 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
25398 (__casinhl): Do not do computation with squaring and square root
25399 for large arguments.
25400 * math/libm-test.inc (casin_test): Add more tests.
25401 (casinh_test): Likewise.
25402 * sysdeps/i386/fpu/libm-test-ulps: Update.
25403 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25405 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
25407 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
25408 (__x86_64_raw_data_cache_size): Likewise.
25409 (__x86_64_data_cache_size_half): Likewise.
25410 (__x86_64_raw_data_cache_size_half): Likewise.
25411 (__x86_64_shared_cache_size): Likewise.
25412 (__x86_64_raw_shared_cache_size): Likewise.
25413 (__x86_64_shared_cache_size_half): Likewise.
25414 (__x86_64_raw_shared_cache_size_half): Likewise.
25415 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
25417 (__x86_data_cache_size): This.
25418 (__x86_64_raw_data_cache_size): Renamed to ...
25419 (__x86_raw_data_cache_size): This.
25420 (__x86_64_data_cache_size_half): Renamed to ...
25421 (__x86_data_cache_size_half): This.
25422 (__x86_64_raw_data_cache_size_half): Renamed to ...
25423 (__x86_raw_data_cache_size_half): This.
25424 (__x86_64_shared_cache_size): Renamed to ...
25425 (__x86_shared_cache_size): This.
25426 (__x86_64_raw_shared_cache_size): Renamed to ...
25427 (__x86_raw_shared_cache_size): This.
25428 (__x86_64_shared_cache_size_half): Renamed to ...
25429 (__x86_shared_cache_size_half): This.
25430 (__x86_64_raw_shared_cache_size_half): Renamed to ...
25431 (__x86_raw_shared_cache_size_half): This.
25432 * sysdeps/x86_64/memcpy.S: Updated.
25433 * sysdeps/x86_64/memset.S: Likewise.
25434 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
25435 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
25436 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
25438 2013-01-04 David S. Miller <davem@davemloft.net>
25440 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25442 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
25444 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
25445 1 to avoid redefinition warning.
25446 (__USE_GNU): Don't define.
25447 (init_signaling_nan): Protoize.
25449 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25451 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
25453 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
25454 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
25455 (__cpymn): Likewise.
25456 (norm): Remove commented code.
25457 (denorm): Likewise.
25458 (__mp_dbl): Likewise.
25460 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
25461 (__cpymn): Likewise.
25462 (norm): Remove commented code.
25463 (denorm): Likewise.
25464 (__mp_dbl): Likewise.
25467 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
25468 mp_no value for 1.0 and 2.0.
25469 (norm): Use RADIXI instead of radixi.d.
25470 (denorm): Likewise.
25471 (__mul): Use 0.0 instead of zero.d.
25472 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
25473 mp_no value for 1.0 and 2.0.
25474 (norm): Use RADIXI instead of radixi.d.
25475 (denorm): Likewise.
25476 (__mul): Use 0.0 instead of zero.d.
25478 2013-01-04 Joseph Myers <joseph@codesourcery.com>
25481 * math/s_casinh.c (__casinh): Reduce finite argument to first
25482 quadrant then set signs of results at the end.
25483 * math/s_casinhf.c (__casinhf): Likewise.
25484 * math/s_casinhl.c (__casinhl): Likewise.
25485 * math/libm-test.inc (casin_test): Add more tests.
25486 (casinh_test): Likewise.
25487 * sysdeps/i386/fpu/libm-test-ulps: Update.
25488 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25490 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
25492 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
25494 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
25496 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
25498 (denorm): Likewise.
25499 (__mp_dbl): Likewise.
25502 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
25503 and adjust the header comment.
25505 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
25506 variable name from declaration.
25508 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
25510 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25511 Initialize COMMON_CPUID_INDEX_7 element.
25512 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
25513 (CPUID_RTM): Likewise.
25514 (HAS_RTM): Likewise.
25515 (COMMON_CPUID_INDEX_7): New enum.
25517 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
25520 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
25521 size is zero, record memory as freed.
25523 2013-01-03 Andreas Jaeger <aj@suse.de>
25525 * po/ia.po: Add new Interlingua translation.
25527 2012-01-03 Allan McRae <allan@archlinux.org>
25529 * locale/programs/localedef.c: Fix description of '--posix' flag.
25531 2013-01-02 Joseph Myers <joseph@codesourcery.com>
25533 * NEWS: Update dates in second copyright notice.
25534 * README: Update copyright dates in example.
25535 * manual/libc.texinfo: Update copyright dates.
25536 * scripts/test-installation.pl: Update copyright date in --version
25539 * hurd/ctty-input.c: Fix copyright notice formatting.
25540 * hurd/ctty-output.c: Likewise.
25541 * hurd/dtable.c: Likewise.
25542 * hurd/hurd-raise.c: Likewise.
25543 * hurd/hurdprio.c: Likewise.
25544 * hurd/msgportdemux.c: Likewise.
25545 * misc/sys/file.h: Likewise.
25546 * misc/sys/ioctl.h: Likewise.
25547 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
25548 * sysdeps/mach/hurd/chdir.c: Likewise.
25549 * sysdeps/mach/hurd/fchdir.c: Likewise.
25550 * sysdeps/mach/hurd/rename.c: Likewise.
25551 * sysdeps/mach/hurd/rmdir.c: Likewise.
25552 * sysdeps/mach/hurd/seekdir.c: Likewise.
25553 * sysdeps/mach/hurd/setsid.c: Likewise.
25554 * sysdeps/posix/wait3.c: Likewise.
25556 * All files with FSF copyright notices: Update copyright dates
25557 using scripts/update-copyrights.
25558 * intl/plural.c: Regenerated.
25559 * locale/programs/charmap-kw.h: Likewise.
25560 * locale/programs/locfile-kw.h: Likewise.
25562 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
25564 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
25567 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
25568 calculation loop and add branch prediction.
25570 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
25571 check access beyond bounds of m1np.
25573 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
25575 (__inv): Remove local variable MPTWO to use the global
25577 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
25578 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
25580 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
25581 MP3HALFS static const.
25583 2013-01-01 David S. Miller <davem@davemloft.net>
25585 * po/ca.po: Update from translation team.
25587 2013-01-01 Joseph Myers <joseph@codesourcery.com>
25589 * scripts/update-copyrights: New file.
25590 * Makeconfig: Reformat copyright notice.
25591 * ctype/ctype.h: Likewise.
25592 * debug/swprintf_chk.c: Likewise.
25593 * elf/dl-cache.c: Likewise.
25594 * elf/dl-debug.c: Likewise.
25595 * elf/dl-object.c: Likewise.
25596 * grp/initgroups.c: Likewise.
25597 * hurd/Makefile: Likewise.
25598 * hurd/hurd/signal.h: Likewise.
25599 * hurd/hurdfault.c: Likewise.
25600 * hurd/hurdioctl.c: Likewise.
25601 * hurd/hurdlookup.c: Likewise.
25602 * hurd/intr-msg.c: Likewise.
25603 * iconv/gconv_open.c: Likewise.
25604 * libio/swprintf.c: Likewise.
25605 * locale/lc-ctype.c: Likewise.
25606 * locale/nl_langinfo.c: Likewise.
25607 * mach/Machrules: Likewise.
25608 * mach/Makefile: Likewise.
25609 * malloc/obstack.h: Likewise.
25610 * manual/Makefile: Likewise.
25611 * manual/tsort.awk: Likewise.
25612 * misc/bits/stab.def: Likewise.
25613 * nis/nis_print_group_entry.c: Likewise.
25614 * nis/nis_table.c: Likewise.
25615 * nis/nss_compat/compat-pwd.c: Likewise.
25616 * nis/nss_compat/compat-spwd.c: Likewise.
25617 * po/Makefile: Likewise.
25618 * posix/fnmatch.c: Likewise.
25619 * posix/regex.h: Likewise.
25620 * resolv/Makefile: Likewise.
25621 * resolv/nss_dns/dns-network.c: Likewise.
25622 * resolv/res_hconf.c: Likewise.
25623 * scripts/gen-sorted.awk: Likewise.
25624 * soft-fp/soft-fp.h: Likewise.
25625 * stdio-common/printf.h: Likewise.
25626 * stdlib/monetary.h: Likewise.
25627 * stdlib/random.c: Likewise.
25628 * stdlib/random_r.c: Likewise.
25629 * sysdeps/generic/Makefile: Likewise.
25630 * sysdeps/gnu/Makefile: Likewise.
25631 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
25632 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
25633 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
25634 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
25635 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
25636 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25637 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
25638 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
25639 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
25640 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
25641 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
25642 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
25643 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
25644 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
25645 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
25646 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
25647 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
25648 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
25649 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
25650 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
25651 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
25652 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
25653 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
25654 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
25655 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
25656 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
25657 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
25658 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
25659 * sysdeps/mach/hurd/errnos.awk: Likewise.
25660 * sysdeps/mach/hurd/fork.c: Likewise.
25661 * sysdeps/mach/hurd/getcwd.c: Likewise.
25662 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
25663 * sysdeps/mach/hurd/mmap.c: Likewise.
25664 * sysdeps/mach/hurd/utimes.c: Likewise.
25665 * sysdeps/mach/hurd/xmknod.c: Likewise.
25666 * sysdeps/posix/profil.c: Likewise.
25667 * sysdeps/posix/readdir_r.c: Likewise.
25668 * sysdeps/powerpc/bits/mathdef.h: Likewise.
25669 * sysdeps/powerpc/bits/setjmp.h: Likewise.
25670 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
25671 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
25672 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
25673 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
25674 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
25675 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
25676 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
25677 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
25678 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
25679 * sysdeps/pthread/lio_listio.c: Likewise.
25680 * sysdeps/sparc/dl-procinfo.h: Likewise.
25681 * sysdeps/unix/i386/sysdep.S: Likewise.
25682 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
25683 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
25684 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
25685 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
25686 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
25687 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
25688 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
25689 * sysdeps/unix/sysv/linux/speed.c: Likewise.
25690 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
25691 * sysdeps/wordsize-32/divdi3.c: Likewise.
25692 * time/sys/time.h: Likewise.
25693 * wcsmbs/Makefile: Likewise.
25695 2013-01-01 David S. Miller <davem@davemloft.net>
25697 * po/fr.po: Update from translation team.
25699 * catgets/gencat.c: Update copyright year.
25700 * csu/version.c: Likewise.
25701 * debug/catchsegv.sh: Likewise.
25702 * debug/pcprofiledump.c: Likewise.
25703 * debug/xtrace.sh: Likewise.
25704 * elf/ldconfig.c: Likewise.
25705 * elf/ldd.bash.in: Likewise.
25706 * elf/pldd.c: Likewise.
25707 * elf/sotruss.ksh: Likewise.
25708 * elf/sprof.c: Likewise.
25709 * iconv/iconv_prog.c: Likewise.
25710 * iconv/iconvconfig.c: Likewise.
25711 * locale/programs/locale.c: Likewise.
25712 * locale/programs/localedef.c: Likewise.
25713 * login/programs/pt_chown.c: Likewise.
25714 * malloc/memusage.sh: Likewise.
25715 * malloc/memusagestat.c: Likewise.
25716 * malloc/mtrace.pl: Likewise.
25717 * nscd/nscd.c: Likewise.
25718 * nss/getent.c: Likewise.
25719 * nss/makedb.c: Likewise.
25720 * posix/getconf.c: Likewise.
25722 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
25724 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
25727 2012-12-30 Mike Frysinger <vapier@gentoo.org>
25729 * math/bits/mathcalls.h (modf): Use __nonnull.
25731 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
25733 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
25734 (split): Use macro CN instead of the bare value.
25735 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
25737 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
25738 instead of the bare value.
25739 (power1): Likewise.
25741 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25743 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
25745 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
25747 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
25749 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
25750 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
25751 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
25752 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
25754 2012-12-28 Andreas Jaeger <aj@suse.de>
25756 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
25757 values are from Linux 3.7.
25759 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
25760 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
25762 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25764 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
25767 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
25769 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
25770 variables with preprocessor constants.
25771 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
25772 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
25773 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
25775 2012-12-27 Bruno Haible <bruno@clisp.org>
25778 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
25781 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
25783 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
25784 and use variable directly.
25785 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
25787 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
25789 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
25790 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
25792 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
25793 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
25794 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
25795 include directive. Remove local variable MPONE.
25796 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
25797 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
25798 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
25800 2012-12-25 David S. Miller <davem@davemloft.net>
25802 * version.h (RELEASE): Set to "development".
25803 (VERSION): Set to "2.17.90".
25804 * NEWS: Add 2.18 section.
25806 2012-12-21 David S. Miller <davem@davemloft.net>
25808 * po/hr.po: Update from translation team.
25810 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25812 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
25814 2012-12-19 Steve Ellcey <sellcey@mips.com>
25816 * NEWS: Mention new memcpy for MIPS.
25818 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
25820 * manual/contrib.texi (Contributors): Spelling correction.
25822 2012-12-15 David S. Miller <davem@davemloft.net>
25824 * po/ru.po: Update from translation team.
25826 2012-12-13 David S. Miller <davem@davemloft.net>
25828 * NEWS: Mention IFUNC testsuite enhancements.
25830 * po/pl.po: Update from translation team.
25831 * po/bg.po: Likewise.
25833 * manual/contrib.texi (Contributors): Update entries for Hongjiu
25834 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
25836 2012-12-11 David S. Miller <davem@davemloft.net>
25838 * po/sv.po: Update from translation team.
25840 * po/vi.po: Update from translation team.
25842 * po/cs.po: Update from translation team.
25844 * po/de.po: Update from translation team.
25845 * po/eo.po: Likewise.
25846 * po/nl.po: Likewise.
25848 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
25851 * manual/argp.texi (Argp Helper Functions): Move node to follow
25852 Argp Parsing State.
25855 * manual/conf.texi (Limits on File System Capacity): Mention if
25856 terminating null is included in the max size.
25858 2012-12-10 Andreas Jaeger <aj@suse.de>
25860 * po/cs.po: Update from translation team.
25862 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
25864 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
25865 void pointer and cast to uintptr_t.
25866 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
25868 * sysdeps/s390/s390-64/memcpy.S: Likewise.
25869 * sysdeps/s390/s390-64/memset.S: Likewise.
25871 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
25874 * menual/message.texi (Message Translation): Fix typos.
25875 (Helper programs for gettext): Likewise.
25877 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
25880 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
25883 2012-12-07 David S. Miller <davem@davemloft.net>
25885 * po/libc.pot: Update.
25887 2012-12-07 Richard Henderson <rth@redhat.com>
25890 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
25891 normal/normal case to before the switch.
25892 (_FP_DIV): Likewise.
25894 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
25895 Mike Frysinger <vapier@gentoo.org>
25897 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
25898 check for __NR_fadvise64_64.
25900 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
25902 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
25903 0, not just to plain "0" as a statement.
25904 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
25907 2012-12-06 Joseph Myers <joseph@codesourcery.com>
25909 * NEWS: Use sourceware.org in Bugzilla URL.
25911 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
25913 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
25914 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
25916 * stdio-common/tst-put-error.c (do_test): Add newline to the
25917 padded test to ensure flush.
25919 2012-12-05 Jeff Law <law@redhat.com>
25921 * sunrpc/etc.rpc (fedfs_admin): Add entry.
25923 2012-12-05 Joseph Myers <joseph@codesourcery.com>
25925 * README: Don't refer to ports add-on as distributed separately.
25926 Mention AArch64 in list of systems supported in the ports add-on.
25928 * LICENSES: Add more non-FSF copyright and license notices.
25930 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
25933 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
25935 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
25936 10000 as width of padded output.
25938 2012-12-04 Joseph Myers <joseph@codesourcery.com>
25940 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
25942 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
25943 variable LX with __attribute__ ((unused)).
25944 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
25946 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
25947 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
25948 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
25949 with __attribute__ ((unused)).
25951 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
25953 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
25955 2012-12-04 Joseph Myers <joseph@codesourcery.com>
25957 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
25958 (CFLAGS-nldbl-acos.c): New variable.
25959 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
25960 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
25961 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
25962 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
25963 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
25964 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
25965 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
25966 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
25967 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
25968 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
25969 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
25970 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
25971 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
25972 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
25973 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
25974 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
25975 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
25976 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
25977 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
25978 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
25979 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
25980 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
25981 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
25982 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
25983 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
25984 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
25985 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
25986 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
25987 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
25988 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
25989 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
25990 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
25991 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
25992 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
25993 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
25994 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
25995 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
25996 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
25997 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
25998 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
25999 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
26000 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
26001 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
26002 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
26003 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
26004 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
26005 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
26006 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
26007 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
26008 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
26009 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
26010 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
26011 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
26012 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
26013 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
26014 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
26015 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
26016 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
26017 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
26018 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
26019 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
26020 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
26021 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
26022 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
26023 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
26024 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
26025 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
26026 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
26027 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
26028 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
26029 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
26030 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
26031 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
26032 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
26033 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
26034 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
26035 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
26036 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
26037 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
26038 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
26039 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
26040 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
26041 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
26042 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
26043 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
26044 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
26045 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
26046 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
26047 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
26048 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
26049 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
26050 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
26051 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
26052 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
26053 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
26054 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
26055 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
26057 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
26058 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
26061 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
26062 whole low double instead of just low 47 bits when splitting values
26065 2012-12-03 Allan McRae <allan@archlinux.org>
26067 * manual/stdio.texi (Predefined Printf Handlers): Remove
26068 @hsep and @vsep usage.
26070 2012-12-03 Mike Frysinger <vapier@gentoo.org>
26072 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
26073 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
26075 2012-12-03 Jeff Law <law@redhat.com>
26077 * time/sys/time.h (settimeofday): Do not mark TV argument
26080 2012-12-01 Mike Frysinger <vapier@gentoo.org>
26082 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
26083 when currently writing and seek to current position when not.
26084 * libio/Makefile (tests): Remove bug-fclose1.
26085 * libio/bug-fclose1.c: Delete.
26087 2012-12-01 Joseph Myers <joseph@codesourcery.com>
26089 * manual/arith.texi (feenableexcept): Fix typo.
26090 (fedisableexcept): Likewise.
26092 2012-11-30 Roland McGrath <roland@hack.frob.com>
26094 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
26095 second, differently-typed declaration, rather than a cast.
26097 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
26099 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
26100 * include/rpc/svc.h: ... here.
26102 2012-11-30 Aurelien Jarno <aurel32@debian.org>
26105 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
26106 depending n and resplen2 to catch cases where answer
26109 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
26111 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
26112 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
26114 2012-11-29 Mike Frysinger <vapier@gentoo.org>
26116 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
26118 2012-11-29 Roland McGrath <roland@hack.frob.com>
26120 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
26122 2012-11-28 Jeff Law <law@redhat.com>
26125 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
26126 dataset_temporary. Track alloca usage into alloca_used.
26127 If dataset is large allocate and release it via malloc/free.
26129 2012-06-04 Florian Weimer <fweimer@redhat.com>
26132 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
26134 2012-11-28 David S. Miller <davem@davemloft.net>
26136 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26138 2012-11-28 Joseph Myers <joseph@codesourcery.com>
26141 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
26142 of pi/2 rounded to nearest to 64 bits.
26143 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
26144 nearest to 64 bits.
26145 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
26148 2012-11-28 Jeff Law <law@redhat.com>
26149 Martin Osvald <mosvald@redhat.com>
26152 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
26153 * sunrpc/svc.c: Include time.h.
26154 (__svc_accept_failed): New function.
26155 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
26156 any reason other than EINTR, call __svc_accept_failed.
26157 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
26158 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
26160 2012-11-28 Andreas Schwab <schwab@suse.de>
26162 * scripts/abilist.awk: Also handle indirect functions in .opd
26165 2012-11-28 Joseph Myers <joseph@codesourcery.com>
26168 * sysdeps/x86/fpu/powl_helper.c: New file.
26169 * sysdeps/x86/fpu/Makefile: Likewise.
26170 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
26172 (__ieee754_powl): Use __powl_helper for finite arguments except
26173 integer exponents below 8.
26174 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
26176 (__ieee754_powl): Use __powl_helper for finite arguments except
26177 integer exponents below 8.
26178 * math/libm-test.inc (pow_test): Add more tests and enable some
26179 previously disabled tests.
26180 * sysdeps/i386/fpu/libm-test-ulps: Update.
26181 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26183 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
26184 Carlos O'Donell <carlos_odonell@mentor.com>
26186 * nss/makedb.c (is_prime): Assert that input is odd and greater
26187 than 4. Note that fact in a comment too.
26188 (next_prime): Add 4 to input.
26190 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
26193 * libio/Makefile (tests): Add test case tst-fwrite-error.
26194 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
26195 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
26196 * libio/tst-fwrite-error.c: New test case.
26198 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
26200 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
26201 before casting to void *.
26202 * include/libc-internal.h (__pointer_type): New macro.
26203 (__integer_if_pointer_type_sub): Likewise.
26204 (__integer_if_pointer_type): Likewise.
26205 (cast_to_integer): Likewise.
26206 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
26207 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
26208 before casting to atomic64_t.
26209 (atomic_exchange_acq): Likewise.
26210 (__arch_exchange_and_add_body): Likewise.
26211 (__arch_add_body): Likewise.
26212 (atomic_add_negative): Likewise.
26213 (atomic_add_zero): Likewise.
26215 2012-11-26 Joseph Myers <joseph@codesourcery.com>
26217 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
26218 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
26219 (add_fdes): Likewise.
26220 (linear_search_fdes): Likewise.
26221 (binary_search_unencoded_fdes): Likewise.
26223 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
26225 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
26227 2012-11-24 Adam Conrad <adconrad@0c3.net>
26229 * configure.in: Autodetect C++ header directories.
26230 * configure: Regenerated.
26232 2012-11-23 Mike Frysinger <vapier@gentoo.org>
26234 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
26236 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
26238 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26240 2012-11-22 Joseph Myers <joseph@codesourcery.com>
26242 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
26243 LDBL_MANT_DIG == 106]: Disable some tests.
26244 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
26246 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
26250 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
26251 input for small inputs. Return +/- pi/2 for large inputs.
26252 * math/libm-test.inc (atan_test): Add more tests.
26254 * sysdeps/generic/unwind-dw2-fde-glibc.c
26255 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
26256 __attribute__ ((unused)).
26259 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
26260 x * y if x and y are nonzero and z is zero.
26263 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
26264 nonzero exponents with absolute value below 0x1p-117 to +/-
26268 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
26269 up arguments below 2**-450, not just those below 2**-500.
26270 * math/libm-test.inc (hypot_test): Add another test.
26273 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
26274 Return a+b for ratio over 2**120, not 2**60.
26275 * math/libm-test.inc (hypot_test): Add another test.
26277 * math/libm-test.inc (clog_test): Use
26278 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
26279 (clog10_test): Likewise.
26282 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
26284 2012-11-22 Andreas Schwab <schwab@suse.de>
26286 * sysdeps/i386/fpu/libm-test-ulps: Update.
26288 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
26290 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
26291 printf output with newline.
26293 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
26296 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
26297 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
26298 -z nodlopen, -z initfirst and -z execstack support.
26299 * configure: Regenerated.
26301 * elf/elf.h (DF_1_NODIRECT): New macro.
26302 (DF_1_IGNMULDEF): Likewise.
26303 (DF_1_NOKSYMS): Likewise.
26304 (DF_1_NOHDR): Likewise.
26305 (DF_1_EDITED): Likewise.
26306 (DF_1_NORELOC): Likewise.
26307 (DF_1_SYMINTPOSE): Likewise.
26308 (DF_1_GLOBAUDIT): Likewise.
26309 (DF_1_SINGLETON): Likewise.
26310 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
26311 DT_1_SUPPORTED_MASK bits.
26312 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
26314 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
26316 * sysdeps/unix/make-syscalls.sh: Document prefixes.
26318 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
26320 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
26323 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
26324 (sendmmsg): Move declarations...
26325 * socket/sys/socket.h: ... here.
26326 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
26327 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
26329 * socket/recvmmsg.c: ... this new file.
26330 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
26331 (sendmmsg): Rename to __sendmmsg, create weak alias and make
26332 definition of __sendmmsg hidden.
26333 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
26334 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
26335 Move ENOSYS stub into and include it from...
26336 * socket/sendmmsg.c: ... this new file.
26337 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
26338 (sysdep_routines): Move recvmmsg and sendmmsg...
26339 * socket/Makefile (routines): ... here.
26340 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
26341 (GLIBC_PRIVATE): Add __sendmmsg.
26342 * include/sys/socket.h (__sendmmsg): Add declarations.
26343 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
26346 2012-11-20 Joseph Myers <joseph@codesourcery.com>
26348 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
26349 variable I1 with __attribute__ ((unused)).
26350 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
26352 2012-11-19 Joseph Myers <joseph@codesourcery.com>
26354 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
26355 DUMMY variables with __attribute__ ((unused)).
26357 * bits/byteswap.h: Include <bits/types.h>.
26358 (__bswap_64): Use __uint64_t instead of unsigned long long int.
26360 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
26362 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
26363 string_t. Do not manually set errno.
26364 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
26365 length with __strnlen. Make sure to both set errno and return it on
26368 2012-11-19 David S. Miller <davem@davemloft.net>
26370 With help from Joseph Myers.
26371 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
26372 very large arguments properly.
26373 * math/libm-test.inc (atan_test): New tests.
26374 (atan2_test): New tests.
26375 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26376 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26378 2012-11-19 Joseph Myers <joseph@codesourcery.com>
26381 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
26384 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
26385 [POSIX] (EADDRNOTAVAIL): Likewise.
26386 [POSIX] (EAFNOSUPPORT): Likewise.
26387 [POSIX] (EALREADY): Likewise.
26388 [POSIX] (ECONNABORTED): Likewise.
26389 [POSIX] (ECONNREFUSED): Likewise.
26390 [POSIX] (ECONNRESET): Likewise.
26391 [POSIX] (EDESTADDRREQ): Likewise.
26392 [POSIX] (EDQUOT): Likewise.
26393 [POSIX] (EHOSTUNREACH): Likewise.
26394 [POSIX] (EIDRM): Likewise.
26395 [POSIX] (EISCONN): Likewise.
26396 [POSIX] (ELOOP): Likewise.
26397 [POSIX] (EMULTIHOP): Likewise.
26398 [POSIX] (ENETDOWN): Likewise.
26399 [POSIX] (ENETUNREACH): Likewise.
26400 [POSIX] (ENOBUFS): Likewise.
26401 [POSIX] (ENODATA): Likewise.
26402 [POSIX] (ENOLINK): Likewise.
26403 [POSIX] (ENOMSG): Likewise.
26404 [POSIX] (ENOPROTOOPT): Likewise.
26405 [POSIX] (ENOSR): Likewise.
26406 [POSIX] (ENOSTR): Likewise.
26407 [POSIX] (ENOTCONN): Likewise.
26408 [POSIX] (ENOTSOCK): Likewise.
26409 [POSIX] (EOPNOTSUPP): Likewise.
26410 [POSIX] (EOVERFLOW): Likewise.
26411 [POSIX] (EPROTO): Likewise.
26412 [POSIX] (EPROTONOSUPPORT): Likewise.
26413 [POSIX] (EPROTOTYPE): Likewise.
26414 [POSIX] (ESTALE): Likewise.
26415 [POSIX] (ETIME): Likewise.
26416 [POSIX] (ETXTBSY): Likewise.
26417 [POSIX] (EWOULDBLOCK): Likewise.
26418 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
26419 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
26420 [POSIX] (SEEK_CUR): Likewise.
26421 [POSIX] (SEEK_END): Likewise.
26422 [POSIX || UNIX98] (mode_t): Do not require.
26423 [POSIX] (off_t): Likewise.
26424 [POSIX] (pid_t): Likewise.
26425 [POSIX] (sys/stat.h): Do not allow header.
26426 [POSIX] (unistd.h): Likewise.
26427 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
26428 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
26429 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
26430 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
26432 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
26433 sigevent): Specify elements.
26434 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
26436 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
26437 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
26439 * conform/data/cpio.h-data [POSIX]: Disable whole file.
26440 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
26441 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
26442 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
26443 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
26444 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
26445 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
26446 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
26447 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
26448 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
26449 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
26450 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
26451 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
26452 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
26454 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
26456 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
26458 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
26460 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
26461 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
26462 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
26463 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
26464 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
26465 Specify lower bound on value.
26466 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
26467 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
26468 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
26469 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
26470 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
26471 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
26472 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
26473 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
26475 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
26477 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
26478 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
26479 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
26480 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
26481 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
26482 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
26483 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
26484 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
26485 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
26486 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
26487 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
26488 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
26489 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
26490 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
26491 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
26492 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
26494 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
26496 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
26497 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
26498 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
26499 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
26500 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
26501 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
26503 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
26504 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
26505 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
26506 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
26507 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
26508 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
26509 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
26511 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
26512 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
26513 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
26514 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
26515 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
26516 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
26517 specify as optional.
26518 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
26519 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
26520 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
26521 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
26522 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
26523 [XPG3] (NL_LANGMAX): Likewise.
26524 [POSIX || XPG3] (NL_MSGMAX): Likewise.
26525 [POSIX || XPG3] (NL_NMAX): Likewise.
26526 [POSIX || XPG3] (NL_SETMAX): Likewise.
26527 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
26528 [XPG3] (NZERO): Likewise.
26529 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
26530 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
26531 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
26532 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
26533 (REG_ERANGE): Expect.
26534 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
26536 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
26537 Use (void) in prototype.
26538 [POSIX] (*_t): Allow.
26539 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
26540 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
26541 (WRDE_BADVAL): Expect.
26543 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
26545 [XPG3 || XPG4] (O_RSYNC): Likewise.
26546 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
26548 [XPG3 || XPG4] (pthread_sigmask): Likewise.
26549 [XPG3 || XPG4] (sigqueue): Likewise.
26550 [XPG3 || XPG4] (sigtimedwait): Likewise.
26551 [XPG3 || XPG4] (sigwaitinfo): Likewise.
26552 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
26553 [XPG3 || XPG4] (vsnprintf): Likewise.
26554 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
26556 [XPG3 || XPG4] (blksize_t): Likewise.
26557 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
26559 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
26560 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
26561 [XPG3 || XPG4] (struct itimerspec): Likewise.
26562 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
26563 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
26564 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
26565 [XPG3 || XPG4] (clockid_t): Likewise.
26566 [XPG3 || XPG4] (timer_t): Likewise.
26567 [XPG3 || XPG4] (clock_getres): Likewise.
26568 [XPG3 || XPG4] (clock_gettime): Likewise.
26569 [XPG3 || XPG4] (clock_settime): Likewise.
26570 [XPG3 || XPG4] (nanosleep): Likewise.
26571 [XPG3 || XPG4] (timer_create): Likewise.
26572 [XPG3 || XPG4] (timer_delete): Likewise.
26573 [XPG3 || XPG4] (timer_gettime): Likewise.
26574 [XPG3 || XPG4] (timer_getoverrun): Likewise.
26575 [XPG3 || XPG4] (timer_settime): Likewise.
26576 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
26577 [XPG3 || XPG4] (getlogin_r): Likewise.
26578 [XPG3 || XPG4] (pread): Likewise.
26579 [XPG3 || XPG4] (pthread_atfork): Likewise.
26580 [XPG3 || XPG4] (pwrite): Likewise.
26583 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
26586 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
26588 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
26589 finalizing MALLSTREAM.
26591 * sysdeps/mach/hurd/syncfs.c: New file.
26593 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
26596 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
26597 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
26598 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
26599 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
26600 (_nss_dns_gethostbyname4_r): Likewise.
26601 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
26602 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
26604 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
26607 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
26609 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
26611 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
26612 * elf/cache.c (print_entry): Print ",AArch64" for
26615 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
26616 * elf/cache.c (print_entry): Print ",hard-float" for
26619 2012-11-18 David S. Miller <davem@davemloft.net>
26621 With help from Joseph Myers.
26622 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
26624 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
26626 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
26627 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
26629 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
26630 * math/libm-test.inc (y0_test): New tests.
26631 (y1_test): New tests.
26632 * sysdeps/i386/fpu/libm-test-ulps: Update.
26633 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26634 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26636 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
26638 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
26640 * configure: Regenerated.
26642 2012-11-17 David S. Miller <davem@davemloft.net>
26645 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
26646 nonzero exponents with absolute value below 0x1p-128 to +/-
26649 2012-11-17 Joseph Myers <joseph@codesourcery.com>
26651 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
26653 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
26655 * posix/getconf-speclist.c: New file.
26656 * posix/posix-envs.def: Likewise.
26657 * posix/confstr.c (START_ENV_GROUP): New macro.
26658 (END_ENV_GROUP): Likewise.
26659 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
26660 (KNOWN_PRESENT_ENV_STRING): Likewise.
26661 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
26662 (UNKNOWN_ENVIRONMENT): Likewise.
26663 (confstr): Include posix-envs.def instead of handling
26664 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
26665 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
26666 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
26667 (END_ENV_GROUP): Likewise.
26668 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
26669 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
26670 (UNKNOWN_ENVIRONMENT): Likewise.
26671 (__sysconf): Include posix-envs.def instead of handling associated
26672 cases directly here.
26673 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
26674 preprocessing getconf-speclist.c rather than running getconf or
26675 generating empty file.
26677 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
26679 * scripts/check-local-headers.sh: Ignore 'mach' headers.
26681 2012-11-16 Andrej Lajovic <natrij@gmail.com>
26684 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
26686 2012-11-16 David S. Miller <davem@davemloft.net>
26688 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
26689 smaller than LDBL_EPSILON/2.0L, just return xm1.
26691 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
26693 * elf/tst-array1.c (init): Set constructor priority to 1000.
26694 (fini): Set destructor priority to 1000.
26695 * elf/tst-array2dep.c: Likewise.
26697 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
26700 * libio/fileops.c (_IO_new_file_write): Correctly return error.
26701 (_IO_new_file_xsputn): Also return EOF if none of the input
26702 data was written when overflow failed.
26703 * libio/iopadn.c (_IO_padn): Likewise.
26704 * libio/iowpadn.c (_IO_wpadn): Likewise.
26705 * stdio-common/tst-put-error.c: Add copyright notice.
26706 (do_test): Add case for printing padded string.
26707 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
26708 _IO_padn returned error.
26709 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
26710 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
26713 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
26715 * libio/libioP.h: Add comment note that the references to C++
26716 bits are now obsolete.
26718 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
26720 * math/libm-test.inc (check_complex): Use asprintf.
26722 2012-11-14 Joseph Myers <joseph@codesourcery.com>
26724 * debug/pcprofiledump.c (print_version): Update copyright year.
26725 * malloc/memusagestat.c (print_version): Likewise.
26727 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
26730 * elf/Makefile (tests): Add tst-audit8.
26731 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
26732 ($(objpfx)tst-audit8.out): New target.
26733 (tst-audit8-ENV): New variable.
26734 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
26735 audit if l_reloc_result is NULL.
26736 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
26737 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
26738 * elf/tst-audit8.c: New file.
26740 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
26742 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
26743 * misc/Makefile (CFLAGS-select.c): Define.
26744 * posix/Makefile (CFLAGS-pause.c): Define.
26746 2012-11-13 David S. Miller <davem@davemloft.net>
26748 * crypt/Makefile: Move test targets after toplevel Rules
26749 inclusion. Grab any necessary sysdep routines when linking.
26750 * crypt/md5.c (md5_process_block): Remove define, we will always
26751 name it __md5_process_block.
26752 (md5_finish_ctx): Update md5_process_block call.
26753 (md5_stream): Likewise.
26754 (md5_process_bytes): Likewise.
26755 (md5_process_block): Rename to __md5_process_block and move to ...
26756 * crypt/md5-block.c: ... here.
26757 * crypt/sha256.c (sha256_process_block): Move to ...
26758 * crypt/sha256-block.c: ... here.
26759 * crypt/sha512.c (sha512_process_block): Move to ...
26760 * crypt/sha512-block.c: ... here.
26761 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
26763 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
26764 * sysdeps/sparc/sparc64/multiarch/Makefile
26765 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
26767 (localedef-aux): Add md5 crypto assembler when in locale subdir.
26768 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
26770 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
26771 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
26772 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
26773 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
26774 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
26775 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
26776 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
26777 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
26778 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
26780 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
26781 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
26783 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
26785 2012-11-13 Joseph Myers <joseph@codesourcery.com>
26787 * timezone/tzselect.ksh: Update from tzcode git revision
26788 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
26789 * timezone/zdump.c: Likewise.
26790 * timezone/zic.c: Likewise.
26791 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
26792 in TZVERSION setting, not $(PKGVERSION).
26793 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
26794 REPORT_BUGS_TO settings.
26797 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
26800 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
26802 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
26803 detection to immediately after _FP_ROUND().
26804 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
26807 2012-11-11 David S. Miller <davem@davemloft.net>
26809 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
26811 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
26812 __close rather than their public counterparts.
26814 2012-11-10 Joseph Myers <joseph@codesourcery.com>
26816 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
26818 [UNIX98] (sem_timedwait): Do not expect.
26819 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
26820 [XPG4 || UNIX98] (sockatmark): Do not expect.
26821 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
26822 (clock_getcpuclockid): Do not expect.
26823 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
26824 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
26826 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
26827 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
26828 [UNIX98] (vwscanf): Likewise.
26829 [UNIX98] (vswscanf): Likewise.
26831 2012-11-09 Joseph Myers <joseph@codesourcery.com>
26833 * timezone/version.h: Remove file.
26834 * timezone/README: Do not refer to version.h.
26835 * timezone/Makefile ($(objpfx)zic.o): New dependency on
26836 $(objpfx)version.h.
26837 ($(objpfx)zdump.o): Likewise.
26838 ($(objpfx)version.h): New target.
26840 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
26842 * timezone/README: Don't mention modification to tzselect.ksh.
26843 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
26844 work on unmodified tzselect.ksh. Substitute version numbers in
26847 * Makefile (format-me): Remove.
26848 (INSTALL): Adjust indentation. Use commands directly instead of
26849 using $(format-me).
26851 * aclocal.m4 (ACX_PKGVERSION): New macro.
26852 (ACX_BUGURL): Likewise.
26853 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
26854 (PKGVERSION): New AC_DEFINE_UNQUOTED.
26855 (REPORT_BUGS_TO): Likewise.
26856 * configure: Regenerated.
26857 * config.h.in (PKGVERSION): New macro.
26858 (REPORT_BUGS_TO): Likewise.
26859 * config.make.in (PKGVERSION): New variable.
26860 (PKGVERSION_TEXI): Likewise.
26861 (REPORT_BUGS_TO): Likewise.
26862 (REPORT_BUGS_TEXI): Likewise.
26863 * Makefile (format-me): Use -I$(common-objpfx)manual.
26864 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
26865 ($(common-objpfx)manual/%): New target.
26866 (manual/%): Remove target.
26867 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
26868 (print_version): Use PKGVERSION.
26869 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
26870 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
26871 and REPORT_BUGS_TO.
26872 ($(objpfx)xtrace): Likewise.
26873 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
26874 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
26875 (print_version): Use PKGVERSION.
26876 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
26877 (do_version): Use PKGVERSION.
26878 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
26880 (common-ldd-rewrite): Likewise.
26881 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
26882 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
26883 (print_version): Use PKGVERSION.
26884 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
26885 * elf/pldd.c (argp_program_bug_address): Remove variable.
26886 (more_help): New function.
26887 (argp): Use more_help.
26888 (print_version): Use PKGVERSION.
26889 * elf/sln.c (main): Use PKGVERSION.
26890 (usage): Use REPORT_BUGS_TO.
26891 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
26892 (top level): Use PKGVERSION.
26893 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
26894 (print_version): Use PKGVERSION.
26895 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
26896 (print_version): Use PKGVERSION.
26897 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
26898 (print_version): Use PKGVERSION.
26899 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
26900 (print_version): Use PKGVERSION.
26901 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
26902 (print_version): Use PKGVERSION.
26903 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
26904 (print_version): Use PKGVERSION.
26905 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
26907 ($(objpfx)memusage): Likewise.
26908 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
26909 (do_version): Use PKGVERSION.
26910 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
26911 (print_version): Use PKGVERSION.
26912 * malloc/mtrace.pl ($PACKAGE): Remove variable.
26913 ($PKGVERSION): New variable.
26914 ($REPORT_BUGS_TO): Likewise.
26915 (usage): Use $REPORT_BUGS_TO.
26916 (top level): Use $PKGVERSION.
26917 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
26918 ($(objpfx)pkgvers.texi): New rule.
26919 ($(objpfx)stamp-pkgvers): Likewise.
26920 * manual/install.texi: Include pkgvers.texi.
26921 (--with-pkgversion): Document new configure option.
26922 (--with-bugurl): Likewise.
26923 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
26924 than necessarily for this particular distribution. Use
26925 REPORT_BUGS_TO for where to report bugs.
26926 * INSTALL: Regenerated.
26927 * manual/libc.texinfo: Include pkgvers.texi.
26928 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
26929 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
26930 (print_version): Use PKGVERSION.
26931 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
26932 (print_version): Use PKGVERSION.
26933 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
26934 (print_version): Use PKGVERSION.
26935 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
26936 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
26938 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
26939 (print_version): Use PKGVERSION.
26940 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
26941 (print_version): Use PKGVERSION.
26942 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
26945 * timezone/checktab.awk: Update from tzcode 2012i.
26946 * timezone/ialloc.c: Likewise.
26947 * timezone/private.h: Likewise.
26948 * timezone/scheck.c: Likewise.
26949 * timezone/tzfile.h: Likewise.
26950 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
26951 (TZVERSION): Hardcode tzcode version number.
26952 * timezone/zdump.c: Update from tzcode 2012i.
26953 * timezone/zic.c: Likewise.
26954 * timezone/version.h: New file.
26955 * timezone/README: Describe version.h. Update upstream location.
26958 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
26959 (mktemp): Enable declaration.
26960 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
26961 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
26962 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
26963 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
26965 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
26967 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
26969 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
26971 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
26973 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
26977 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
26978 offset in buffer as u_int32_t not u_long. Consistently use memcpy
26979 for copies of such integer values.
26980 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
26981 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
26983 2012-11-09 Andreas Jaeger <aj@suse.de>
26985 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
26986 definitions and declarations that are provided by
26987 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
26989 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26991 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
26992 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
26993 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
26996 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
26998 * elf/elf.h: Update comment before AArch64 relocations.
27000 2012-11-07 David S. Miller <davem@davemloft.net>
27002 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
27003 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
27004 (__start_context): Declare.
27005 (__makecontext_ret): Delete.
27006 (__makecontext): Hook up __start_context instead of
27008 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
27009 (sysdep_routines): Add __start_context when in stdlib.
27011 2012-11-07 Joseph Myers <joseph@codesourcery.com>
27013 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
27014 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
27015 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
27017 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
27018 (READELF): New variable. Use it instead of hardcoded "readelf".
27020 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
27022 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
27023 * sysdeps/x86/Makefile: Here.
27024 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
27025 * sysdeps/x86/tst-xmmymm.sh: This.
27027 2012-11-07 Joseph Myers <joseph@codesourcery.com>
27029 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
27031 [UNIX98] (pthread_barrier_t): Do not expect.
27032 [UNIX98] (pthread_barrierattr_t): Likewise.
27033 [UNIX98] (pthread_spinlock_t): Likewise.
27034 [UNIX98] (pthread_barrier_destroy): Likewise.
27035 [UNIX98] (pthread_barrier_init): Likewise.
27036 [UNIX98] (pthread_barrier_wait): Likewise.
27037 [UNIX98] (pthread_barrierattr_destroy): Likewise.
27038 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
27039 [UNIX98] (pthread_barrierattr_init): Likewise.
27040 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
27041 [UNIX98] (pthread_getcpuclockid): Likewise.
27042 [UNIX98] (pthread_mutex_timedlock): Likewise.
27043 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
27044 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
27045 [UNIX98] (pthread_sigmask): Likewise.
27046 [UNIX98] (pthread_spin_destroy): Likewise.
27047 [UNIX98] (pthread_spin_init): Likewise.
27048 [UNIX98] (pthread_spin_lock): Likewise.
27049 [UNIX98] (pthread_spin_trylock): Likewise.
27050 [UNIX98] (pthread_spin_unlock): Likewise.
27051 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
27053 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
27054 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
27055 [XPG3 || XPG4] (pthread_cond_t): Likewise.
27056 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
27057 [XPG3 || XPG4] (pthread_key_t): Likewise.
27058 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
27059 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
27060 [XPG3 || XPG4] (pthread_once_t): Likewise.
27061 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
27062 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
27063 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
27064 [XPG3 || XPG4] (pthread_t): Likewise.
27066 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
27068 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
27070 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
27071 Change function return type to int.
27073 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
27074 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
27075 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
27076 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
27077 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
27078 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
27079 [!POSIX] (posix_madvise): Likewise.
27080 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
27082 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
27083 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
27084 (mode_t): Likewise.
27085 (posix_mem_offset): Likewise.
27086 (posix_typed_mem_get_info): Likewise.
27087 (posix_typed_mem_open): Likewise.
27089 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
27090 Change condition to [XOPEN2K8].
27092 * conform/conformtest.pl: Preprocess allow-header data with -x c
27093 instead of from stdin.
27094 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
27095 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
27096 [C99-based standards] (cerfc): Likewise.
27097 [C99-based standards] (cexp2): Likewise.
27098 [C99-based standards] (cexpm1): Likewise.
27099 [C99-based standards] (clog10): Likewise.
27100 [C99-based standards] (clog1p): Likewise.
27101 [C99-based standards] (clog2): Likewise.
27102 [C99-based standards] (clgamma): Likewise.
27103 [C99-based standards] (ctgamma): Likewise.
27104 [C99-based standards] (cerff): Likewise.
27105 [C99-based standards] (cerfcf): Likewise.
27106 [C99-based standards] (cexp2f): Likewise.
27107 [C99-based standards] (cexpm1f): Likewise.
27108 [C99-based standards] (clog10f): Likewise.
27109 [C99-based standards] (clog1pf): Likewise.
27110 [C99-based standards] (clog2f): Likewise.
27111 [C99-based standards] (clgammaf): Likewise.
27112 [C99-based standards] (ctgammaf): Likewise.
27113 [C99-based standards] (cerfl): Likewise.
27114 [C99-based standards] (cerfcl): Likewise.
27115 [C99-based standards] (cexp2l): Likewise.
27116 [C99-based standards] (cexpm1l): Likewise.
27117 [C99-based standards] (clog10l): Likewise.
27118 [C99-based standards] (clog1pl): Likewise.
27119 [C99-based standards] (clog2l): Likewise.
27120 [C99-based standards] (clgammal): Likewise.
27121 [C99-based standards] (ctgammal): Likewise.
27122 * conform/data/inttypes.h-data [C99-based standards]: Include
27123 stdint.h-data. Remove all expectations for stdint.h contents.
27124 [C99-based standards] (PRI*): Do not allow.
27125 [C99-based standards] (SCN*): Likewise.
27126 [C99-based standards] (*_t): Likewise.
27127 [C99-based-standards] (PRId8): Expect macro.
27128 [C99-based-standards] (PRIi8): Likewise.
27129 [C99-based-standards] (PRIo8): Likewise.
27130 [C99-based-standards] (PRIu8): Likewise.
27131 [C99-based-standards] (PRIx8): Likewise.
27132 [C99-based-standards] (PRIX8): Likewise.
27133 [C99-based-standards] (SCNd8): Likewise.
27134 [C99-based-standards] (SCNi8): Likewise.
27135 [C99-based-standards] (SCNo8): Likewise.
27136 [C99-based-standards] (SCNu8): Likewise.
27137 [C99-based-standards] (SCNx8): Likewise.
27138 [C99-based-standards] (PRIdLEAST8): Likewise.
27139 [C99-based-standards] (PRIiLEAST8): Likewise.
27140 [C99-based-standards] (PRIoLEAST8): Likewise.
27141 [C99-based-standards] (PRIuLEAST8): Likewise.
27142 [C99-based-standards] (PRIxLEAST8): Likewise.
27143 [C99-based-standards] (PRIXLEAST8): Likewise.
27144 [C99-based-standards] (SCNdLEAST8): Likewise.
27145 [C99-based-standards] (SCNiLEAST8): Likewise.
27146 [C99-based-standards] (SCNoLEAST8): Likewise.
27147 [C99-based-standards] (SCNuLEAST8): Likewise.
27148 [C99-based-standards] (SCNxLEAST8): Likewise.
27149 [C99-based-standards] (PRIdFAST8): Likewise.
27150 [C99-based-standards] (PRIiFAST8): Likewise.
27151 [C99-based-standards] (PRIoFAST8): Likewise.
27152 [C99-based-standards] (PRIuFAST8): Likewise.
27153 [C99-based-standards] (PRIxFAST8): Likewise.
27154 [C99-based-standards] (PRIXFAST8): Likewise.
27155 [C99-based-standards] (SCNdFAST8): Likewise.
27156 [C99-based-standards] (SCNiFAST8): Likewise.
27157 [C99-based-standards] (SCNoFAST8): Likewise.
27158 [C99-based-standards] (SCNuFAST8): Likewise.
27159 [C99-based-standards] (SCNxFAST8): Likewise.
27160 [C99-based-standards] (PRId16): Likewise.
27161 [C99-based-standards] (PRIi16): Likewise.
27162 [C99-based-standards] (PRIo16): Likewise.
27163 [C99-based-standards] (PRIu16): Likewise.
27164 [C99-based-standards] (PRIx16): Likewise.
27165 [C99-based-standards] (PRIX16): Likewise.
27166 [C99-based-standards] (SCNd16): Likewise.
27167 [C99-based-standards] (SCNi16): Likewise.
27168 [C99-based-standards] (SCNo16): Likewise.
27169 [C99-based-standards] (SCNu16): Likewise.
27170 [C99-based-standards] (SCNx16): Likewise.
27171 [C99-based-standards] (PRIdLEAST16): Likewise.
27172 [C99-based-standards] (PRIiLEAST16): Likewise.
27173 [C99-based-standards] (PRIoLEAST16): Likewise.
27174 [C99-based-standards] (PRIuLEAST16): Likewise.
27175 [C99-based-standards] (PRIxLEAST16): Likewise.
27176 [C99-based-standards] (PRIXLEAST16): Likewise.
27177 [C99-based-standards] (SCNdLEAST16): Likewise.
27178 [C99-based-standards] (SCNiLEAST16): Likewise.
27179 [C99-based-standards] (SCNoLEAST16): Likewise.
27180 [C99-based-standards] (SCNuLEAST16): Likewise.
27181 [C99-based-standards] (SCNxLEAST16): Likewise.
27182 [C99-based-standards] (PRIdFAST16): Likewise.
27183 [C99-based-standards] (PRIiFAST16): Likewise.
27184 [C99-based-standards] (PRIoFAST16): Likewise.
27185 [C99-based-standards] (PRIuFAST16): Likewise.
27186 [C99-based-standards] (PRIxFAST16): Likewise.
27187 [C99-based-standards] (PRIXFAST16): Likewise.
27188 [C99-based-standards] (SCNdFAST16): Likewise.
27189 [C99-based-standards] (SCNiFAST16): Likewise.
27190 [C99-based-standards] (SCNoFAST16): Likewise.
27191 [C99-based-standards] (SCNuFAST16): Likewise.
27192 [C99-based-standards] (SCNxFAST16): Likewise.
27193 [C99-based-standards] (PRId32): Likewise.
27194 [C99-based-standards] (PRIi32): Likewise.
27195 [C99-based-standards] (PRIo32): Likewise.
27196 [C99-based-standards] (PRIu32): Likewise.
27197 [C99-based-standards] (PRIx32): Likewise.
27198 [C99-based-standards] (PRIX32): Likewise.
27199 [C99-based-standards] (SCNd32): Likewise.
27200 [C99-based-standards] (SCNi32): Likewise.
27201 [C99-based-standards] (SCNo32): Likewise.
27202 [C99-based-standards] (SCNu32): Likewise.
27203 [C99-based-standards] (SCNx32): Likewise.
27204 [C99-based-standards] (PRIdLEAST32): Likewise.
27205 [C99-based-standards] (PRIiLEAST32): Likewise.
27206 [C99-based-standards] (PRIoLEAST32): Likewise.
27207 [C99-based-standards] (PRIuLEAST32): Likewise.
27208 [C99-based-standards] (PRIxLEAST32): Likewise.
27209 [C99-based-standards] (PRIXLEAST32): Likewise.
27210 [C99-based-standards] (SCNdLEAST32): Likewise.
27211 [C99-based-standards] (SCNiLEAST32): Likewise.
27212 [C99-based-standards] (SCNoLEAST32): Likewise.
27213 [C99-based-standards] (SCNuLEAST32): Likewise.
27214 [C99-based-standards] (SCNxLEAST32): Likewise.
27215 [C99-based-standards] (PRIdFAST32): Likewise.
27216 [C99-based-standards] (PRIiFAST32): Likewise.
27217 [C99-based-standards] (PRIoFAST32): Likewise.
27218 [C99-based-standards] (PRIuFAST32): Likewise.
27219 [C99-based-standards] (PRIxFAST32): Likewise.
27220 [C99-based-standards] (PRIXFAST32): Likewise.
27221 [C99-based-standards] (SCNdFAST32): Likewise.
27222 [C99-based-standards] (SCNiFAST32): Likewise.
27223 [C99-based-standards] (SCNoFAST32): Likewise.
27224 [C99-based-standards] (SCNuFAST32): Likewise.
27225 [C99-based-standards] (SCNxFAST32): Likewise.
27226 [C99-based-standards] (PRId64): Likewise.
27227 [C99-based-standards] (PRIi64): Likewise.
27228 [C99-based-standards] (PRIo64): Likewise.
27229 [C99-based-standards] (PRIu64): Likewise.
27230 [C99-based-standards] (PRIx64): Likewise.
27231 [C99-based-standards] (PRIX64): Likewise.
27232 [C99-based-standards] (SCNd64): Likewise.
27233 [C99-based-standards] (SCNi64): Likewise.
27234 [C99-based-standards] (SCNo64): Likewise.
27235 [C99-based-standards] (SCNu64): Likewise.
27236 [C99-based-standards] (SCNx64): Likewise.
27237 [C99-based-standards] (PRIdLEAST64): Likewise.
27238 [C99-based-standards] (PRIiLEAST64): Likewise.
27239 [C99-based-standards] (PRIoLEAST64): Likewise.
27240 [C99-based-standards] (PRIuLEAST64): Likewise.
27241 [C99-based-standards] (PRIxLEAST64): Likewise.
27242 [C99-based-standards] (PRIXLEAST64): Likewise.
27243 [C99-based-standards] (SCNdLEAST64): Likewise.
27244 [C99-based-standards] (SCNiLEAST64): Likewise.
27245 [C99-based-standards] (SCNoLEAST64): Likewise.
27246 [C99-based-standards] (SCNuLEAST64): Likewise.
27247 [C99-based-standards] (SCNxLEAST64): Likewise.
27248 [C99-based-standards] (PRIdFAST64): Likewise.
27249 [C99-based-standards] (PRIiFAST64): Likewise.
27250 [C99-based-standards] (PRIoFAST64): Likewise.
27251 [C99-based-standards] (PRIuFAST64): Likewise.
27252 [C99-based-standards] (PRIxFAST64): Likewise.
27253 [C99-based-standards] (PRIXFAST64): Likewise.
27254 [C99-based-standards] (SCNdFAST64): Likewise.
27255 [C99-based-standards] (SCNiFAST64): Likewise.
27256 [C99-based-standards] (SCNoFAST64): Likewise.
27257 [C99-based-standards] (SCNuFAST64): Likewise.
27258 [C99-based-standards] (SCNxFAST64): Likewise.
27259 [C99-based-standards] (PRIdMAX): Likewise.
27260 [C99-based-standards] (PRIiMAX): Likewise.
27261 [C99-based-standards] (PRIoMAX): Likewise.
27262 [C99-based-standards] (PRIuMAX): Likewise.
27263 [C99-based-standards] (PRIxMAX): Likewise.
27264 [C99-based-standards] (PRIXMAX): Likewise.
27265 [C99-based-standards] (SCNdMAX): Likewise.
27266 [C99-based-standards] (SCNiMAX): Likewise.
27267 [C99-based-standards] (SCNoMAX): Likewise.
27268 [C99-based-standards] (SCNuMAX): Likewise.
27269 [C99-based-standards] (SCNxMAX): Likewise.
27270 [C99-based-standards] (PRIdPTR): Likewise.
27271 [C99-based-standards] (PRIiPTR): Likewise.
27272 [C99-based-standards] (PRIoPTR): Likewise.
27273 [C99-based-standards] (PRIuPTR): Likewise.
27274 [C99-based-standards] (PRIxPTR): Likewise.
27275 [C99-based-standards] (PRIXPTR): Likewise.
27276 [C99-based-standards] (SCNdPTR): Likewise.
27277 [C99-based-standards] (SCNiPTR): Likewise.
27278 [C99-based-standards] (SCNoPTR): Likewise.
27279 [C99-based-standards] (SCNuPTR): Likewise.
27280 [C99-based-standards] (SCNxPTR): Likewise.
27281 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
27283 * conform/data/stdint.h-data: Update comments to clarify
27285 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
27287 [C99-based standards] (INT8_MAX): Likewise.
27288 [C99-based standards] (INT16_MIN): Likewise.
27289 [C99-based standards] (INT16_MAX): Likewise.
27290 [C99-based standards] (INT32_MIN): Likewise.
27291 [C99-based standards] (INT32_MAX): Likewise.
27292 [C99-based standards] (INT64_MIN): Likewise.
27293 [C99-based standards] (INT64_MAX): Likewise.
27294 [C99-based standards] (UINT8_MAX): Likewise.
27295 [C99-based standards] (UINT16_MAX): Likewise.
27296 [C99-based standards] (UINT32_MAX): Likewise.
27297 [C99-based standards] (UINT64_MAX): Likewise.
27298 [C99-based standards] (INT_LEAST8_MIN): Likewise.
27299 [C99-based standards] (INT_LEAST8_MAX): Likewise.
27300 [C99-based standards] (INT_LEAST16_MIN): Likewise.
27301 [C99-based standards] (INT_LEAST16_MAX): Likewise.
27302 [C99-based standards] (INT_LEAST32_MIN): Likewise.
27303 [C99-based standards] (INT_LEAST32_MAX): Likewise.
27304 [C99-based standards] (INT_LEAST64_MIN): Likewise.
27305 [C99-based standards] (INT_LEAST64_MAX): Likewise.
27306 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
27307 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
27308 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
27309 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
27310 [C99-based standards] (INT_FAST8_MIN): Likewise.
27311 [C99-based standards] (INT_FAST8_MAX): Likewise.
27312 [C99-based standards] (INT_FAST16_MIN): Likewise.
27313 [C99-based standards] (INT_FAST16_MAX): Likewise.
27314 [C99-based standards] (INT_FAST32_MIN): Likewise.
27315 [C99-based standards] (INT_FAST32_MAX): Likewise.
27316 [C99-based standards] (INT_FAST64_MIN): Likewise.
27317 [C99-based standards] (INT_FAST64_MAX): Likewise.
27318 [C99-based standards] (UINT_FAST8_MAX): Likewise.
27319 [C99-based standards] (UINT_FAST16_MAX): Likewise.
27320 [C99-based standards] (UINT_FAST32_MAX): Likewise.
27321 [C99-based standards] (UINT_FAST64_MAX): Likewise.
27322 [C99-based standards] (INTPTR_MIN): Likewise.
27323 [C99-based standards] (INTPTR_MAX): Likewise.
27324 [C99-based standards] (UINTPTR_MAX): Likewise.
27325 [C99-based standards] (INTMAX_MIN): Likewise.
27326 [C99-based standards] (INTMAX_MAX): Likewise.
27327 [C99-based standards] (UINTMAX_MAX): Likewise.
27328 [C99-based standards] (PTRDIFF_MIN): Likewise.
27329 [C99-based standards] (PTRDIFF_MAX): Likewise.
27330 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
27331 [C99-based standards] (SIZE_MAX): Likewise.
27332 [C99-based standards] (WCHAR_MAX): Likewise.
27333 [C99-based standards] (WINT_MAX): Likewise.
27334 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
27335 constraint on value.
27336 [C99-based standards] (WCHAR_MIN): Likewise.
27337 [C99-based standards] (WINT_MIN): Likewise.
27338 [C99-based standards] (*_t): Allow.
27339 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
27340 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
27341 Include math.h-data and complex.h-data. Remove all expectations
27342 of math.h and complex.h contents.
27343 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
27345 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
27346 (struct tm): Expect tag.
27347 [C99-based-standards] (wcstof): Expect function.
27348 [C99-based-standards] (wcstold): Likewise.
27349 [C99-based-standards] (wcstoll): Likewise.
27350 [C99-based-standards] (wcstoull): Likewise.
27351 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
27352 macro-int-constant. Specify type.
27353 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
27354 constraint on value.
27355 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
27357 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
27359 [ISO C standards]: Do not allow headers.
27360 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
27361 wcs[abcdefghijklmnopqrstuvwxyz]*.
27362 [ISO C standards] (*_t): Do not allow.
27363 * conform/data/wctype.h-data [C99-based standards] (iswblank):
27365 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
27366 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
27368 [ISO C standards]: Do not allow headers.
27369 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
27370 is[abcdefghijklmnopqrstuvwxyz]*.
27371 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
27372 to[abcdefghijklmnopqrstuvwxyz]*.
27373 [ISO C standards] (*_t): Do not allow.
27374 * conform/data/stdalign.h-data: New file.
27375 * conform/data/stdbool.h-data: Likewise.
27376 * conform/data/stdnoreturn.h-data: Likewise.
27378 2012-11-07 Roland McGrath <roland@hack.frob.com>
27381 * manual/filesys.texi (Directory Entries): Typo fix.
27382 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
27384 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
27386 * elf/elf.h (EM_AARCH64): New macro.
27387 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
27388 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
27389 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
27390 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
27391 (R_AARCH64_TLSDESC): Likewise.
27392 (NT_ARM_TLS): Likewise.
27393 (NT_ARM_HW_BREAK): Likewise.
27394 (NT_ARM_HW_WATCH): Likewise.
27396 2012-11-07 Joseph Myers <joseph@codesourcery.com>
27399 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
27400 (__ieee754_powl): Saturate nonzero exponents with absolute value
27401 below 0x1p-79 to +/- 0x1p-79.
27402 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
27403 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
27404 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
27405 nonzero exponents with absolute value below 0x1p-32 to +/-
27407 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
27408 (__ieee754_powl): Saturate nonzero exponents with absolute value
27409 below 0x1p-79 to +/- 0x1p-79.
27410 * math/libm-test.inc (pow_test): Add more tests.
27412 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27414 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
27415 _dl_s390_cap_flags with kernel. Increase string length.
27416 (_dl_s390_platforms): Add z196 and zEC12.
27418 2012-11-07 Joseph Myers <joseph@codesourcery.com>
27420 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
27421 Change XOPEN21K to XOPEN2K.
27423 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
27425 * string/memmove.c: Use memcpy when possible.
27427 2012-11-06 Andreas Jaeger <aj@suse.de>
27429 * po/eo.po: Update from translation team.
27431 2012-11-06 Joseph Myers <joseph@codesourcery.com>
27434 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
27435 exponent and small x and y exponents, scale x or y up. Increase
27436 by 2 the exponent used in scaling up.
27437 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27438 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27439 * math/libm-test.inc (fma_test): Add more tests.
27440 (fma_test_towardzero): Likewise.
27441 (fma_test_downward): Likewise.
27442 (fma_test_upward): Likewise.
27444 2012-11-05 Joseph Myers <joseph@codesourcery.com>
27447 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
27451 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
27452 namespace for names of struct fields.
27453 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
27455 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
27456 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
27458 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
27461 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
27463 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
27465 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
27469 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
27472 2012-11-04 Joseph Myers <joseph@codesourcery.com>
27475 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
27476 definitely overflow as x * y not x * y + z.
27477 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27478 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27479 * math/libm-test.inc (fma_test): Add more tests.
27480 (fma_test_towardzero): Likewise.
27481 (fma_test_downward): Likewise.
27482 (fma_test_upward): Likewise.
27484 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
27488 * include/stub-tag.h: Remove file.
27489 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
27491 * manual/maint.texi (Porting): Don't reference it.
27492 * Makerules ($(objpfx)stubs): Likewise.
27493 * dirent/closedir.c: Don't include <stub-tag.h>.
27494 * dirent/dirfd.c: Likewise.
27495 * dirent/fdopendir.c: Likewise.
27496 * dirent/getdents.c: Likewise.
27497 * dirent/getdents64.c: Likewise.
27498 * dirent/opendir.c: Likewise.
27499 * dirent/readdir.c: Likewise.
27500 * dirent/readdir64.c: Likewise.
27501 * dirent/readdir64_r.c: Likewise.
27502 * dirent/readdir_r.c: Likewise.
27503 * dirent/rewinddir.c: Likewise.
27504 * dirent/seekdir.c: Likewise.
27505 * dirent/telldir.c: Likewise.
27506 * gmon/profil.c: Likewise.
27507 * grp/setgroups.c: Likewise.
27508 * inet/if_index.c: Likewise.
27509 * io/access.c: Likewise.
27510 * io/chdir.c: Likewise.
27511 * io/chmod.c: Likewise.
27512 * io/chown.c: Likewise.
27513 * io/close.c: Likewise.
27514 * io/dup.c: Likewise.
27515 * io/dup2.c: Likewise.
27516 * io/dup3.c: Likewise.
27517 * io/euidaccess.c: Likewise.
27518 * io/faccessat.c: Likewise.
27519 * io/fchdir.c: Likewise.
27520 * io/fchmod.c: Likewise.
27521 * io/fchmodat.c: Likewise.
27522 * io/fchown.c: Likewise.
27523 * io/fchownat.c: Likewise.
27524 * io/fcntl.c: Likewise.
27525 * io/flock.c: Likewise.
27526 * io/fstatfs.c: Likewise.
27527 * io/fstatfs64.c: Likewise.
27528 * io/fstatvfs.c: Likewise.
27529 * io/fstatvfs64.c: Likewise.
27530 * io/futimens.c: Likewise.
27531 * io/fxstat.c: Likewise.
27532 * io/fxstat64.c: Likewise.
27533 * io/fxstatat.c: Likewise.
27534 * io/fxstatat64.c: Likewise.
27535 * io/getcwd.c: Likewise.
27536 * io/isatty.c: Likewise.
27537 * io/lchmod.c: Likewise.
27538 * io/lchown.c: Likewise.
27539 * io/link.c: Likewise.
27540 * io/linkat.c: Likewise.
27541 * io/lseek.c: Likewise.
27542 * io/lseek64.c: Likewise.
27543 * io/lxstat64.c: Likewise.
27544 * io/mkdir.c: Likewise.
27545 * io/mkdirat.c: Likewise.
27546 * io/mkfifo.c: Likewise.
27547 * io/mkfifoat.c: Likewise.
27548 * io/open.c: Likewise.
27549 * io/open64.c: Likewise.
27550 * io/openat.c: Likewise.
27551 * io/openat64.c: Likewise.
27552 * io/pipe.c: Likewise.
27553 * io/pipe2.c: Likewise.
27554 * io/poll.c: Likewise.
27555 * io/posix_fadvise.c: Likewise.
27556 * io/posix_fadvise64.c: Likewise.
27557 * io/posix_fallocate.c: Likewise.
27558 * io/posix_fallocate64.c: Likewise.
27559 * io/read.c: Likewise.
27560 * io/readlink.c: Likewise.
27561 * io/readlinkat.c: Likewise.
27562 * io/rmdir.c: Likewise.
27563 * io/sendfile.c: Likewise.
27564 * io/sendfile64.c: Likewise.
27565 * io/statfs.c: Likewise.
27566 * io/statfs64.c: Likewise.
27567 * io/statvfs.c: Likewise.
27568 * io/statvfs64.c: Likewise.
27569 * io/symlink.c: Likewise.
27570 * io/symlinkat.c: Likewise.
27571 * io/ttyname.c: Likewise.
27572 * io/ttyname_r.c: Likewise.
27573 * io/umask.c: Likewise.
27574 * io/unlink.c: Likewise.
27575 * io/unlinkat.c: Likewise.
27576 * io/utime.c: Likewise.
27577 * io/utimensat.c: Likewise.
27578 * io/write.c: Likewise.
27579 * io/xmknod.c: Likewise.
27580 * io/xmknodat.c: Likewise.
27581 * io/xstat.c: Likewise.
27582 * io/xstat64.c: Likewise.
27583 * login/getpt.c: Likewise.
27584 * login/grantpt.c: Likewise.
27585 * login/unlockpt.c: Likewise.
27586 * math/e_acoshl.c: Likewise.
27587 * math/e_acosl.c: Likewise.
27588 * math/e_asinl.c: Likewise.
27589 * math/e_atan2l.c: Likewise.
27590 * math/e_atanhl.c: Likewise.
27591 * math/e_coshl.c: Likewise.
27592 * math/e_expl.c: Likewise.
27593 * math/e_fmodl.c: Likewise.
27594 * math/e_gammal_r.c: Likewise.
27595 * math/e_hypotl.c: Likewise.
27596 * math/e_j0l.c: Likewise.
27597 * math/e_j1l.c: Likewise.
27598 * math/e_jnl.c: Likewise.
27599 * math/e_lgammal_r.c: Likewise.
27600 * math/e_log10l.c: Likewise.
27601 * math/e_log2l.c: Likewise.
27602 * math/e_logl.c: Likewise.
27603 * math/e_powl.c: Likewise.
27604 * math/e_rem_pio2l.c: Likewise.
27605 * math/e_sinhl.c: Likewise.
27606 * math/e_sqrtl.c: Likewise.
27607 * math/fclrexcpt.c: Likewise.
27608 * math/fedisblxcpt.c: Likewise.
27609 * math/feenablxcpt.c: Likewise.
27610 * math/fegetenv.c: Likewise.
27611 * math/fegetexcept.c: Likewise.
27612 * math/fegetround.c: Likewise.
27613 * math/feholdexcpt.c: Likewise.
27614 * math/fesetenv.c: Likewise.
27615 * math/fesetround.c: Likewise.
27616 * math/feupdateenv.c: Likewise.
27617 * math/fgetexcptflg.c: Likewise.
27618 * math/fraiseexcpt.c: Likewise.
27619 * math/fsetexcptflg.c: Likewise.
27620 * math/ftestexcept.c: Likewise.
27621 * math/k_cosl.c: Likewise.
27622 * math/k_rem_pio2l.c: Likewise.
27623 * math/k_sinl.c: Likewise.
27624 * math/k_tanl.c: Likewise.
27625 * math/s_asinhl.c: Likewise.
27626 * math/s_atanl.c: Likewise.
27627 * math/s_cbrtl.c: Likewise.
27628 * math/s_erfl.c: Likewise.
27629 * math/s_expm1l.c: Likewise.
27630 * math/s_log1pl.c: Likewise.
27631 * math/s_tanhl.c: Likewise.
27632 * misc/acct.c: Likewise.
27633 * misc/brk.c: Likewise.
27634 * misc/chflags.c: Likewise.
27635 * misc/chroot.c: Likewise.
27636 * misc/fchflags.c: Likewise.
27637 * misc/fgetxattr.c: Likewise.
27638 * misc/flistxattr.c: Likewise.
27639 * misc/fremovexattr.c: Likewise.
27640 * misc/fsetxattr.c: Likewise.
27641 * misc/fsync.c: Likewise.
27642 * misc/ftruncate.c: Likewise.
27643 * misc/futimes.c: Likewise.
27644 * misc/futimesat.c: Likewise.
27645 * misc/getdomain.c: Likewise.
27646 * misc/getdtsz.c: Likewise.
27647 * misc/gethostid.c: Likewise.
27648 * misc/gethostname.c: Likewise.
27649 * misc/getloadavg.c: Likewise.
27650 * misc/getpagesize.c: Likewise.
27651 * misc/getsysstats.c: Likewise.
27652 * misc/getxattr.c: Likewise.
27653 * misc/gtty.c: Likewise.
27654 * misc/ioctl.c: Likewise.
27655 * misc/lgetxattr.c: Likewise.
27656 * misc/listxattr.c: Likewise.
27657 * misc/llistxattr.c: Likewise.
27658 * misc/lremovexattr.c: Likewise.
27659 * misc/lsetxattr.c: Likewise.
27660 * misc/lutimes.c: Likewise.
27661 * misc/madvise.c: Likewise.
27662 * misc/mincore.c: Likewise.
27663 * misc/mlock.c: Likewise.
27664 * misc/mlockall.c: Likewise.
27665 * misc/mmap.c: Likewise.
27666 * misc/mprotect.c: Likewise.
27667 * misc/msync.c: Likewise.
27668 * misc/munlock.c: Likewise.
27669 * misc/munlockall.c: Likewise.
27670 * misc/munmap.c: Likewise.
27671 * misc/preadv.c: Likewise.
27672 * misc/preadv64.c: Likewise.
27673 * misc/ptrace.c: Likewise.
27674 * misc/pwritev.c: Likewise.
27675 * misc/pwritev64.c: Likewise.
27676 * misc/readv.c: Likewise.
27677 * misc/reboot.c: Likewise.
27678 * misc/remap_file_pages.c: Likewise.
27679 * misc/removexattr.c: Likewise.
27680 * misc/revoke.c: Likewise.
27681 * misc/select.c: Likewise.
27682 * misc/setdomain.c: Likewise.
27683 * misc/setegid.c: Likewise.
27684 * misc/seteuid.c: Likewise.
27685 * misc/sethostid.c: Likewise.
27686 * misc/sethostname.c: Likewise.
27687 * misc/setregid.c: Likewise.
27688 * misc/setreuid.c: Likewise.
27689 * misc/setxattr.c: Likewise.
27690 * misc/sstk.c: Likewise.
27691 * misc/stty.c: Likewise.
27692 * misc/swapoff.c: Likewise.
27693 * misc/swapon.c: Likewise.
27694 * misc/sync.c: Likewise.
27695 * misc/syncfs.c: Likewise.
27696 * misc/syscall.c: Likewise.
27697 * misc/truncate.c: Likewise.
27698 * misc/ualarm.c: Likewise.
27699 * misc/usleep.c: Likewise.
27700 * misc/ustat.c: Likewise.
27701 * misc/utimes.c: Likewise.
27702 * misc/vhangup.c: Likewise.
27703 * misc/writev.c: Likewise.
27704 * posix/_exit.c: Likewise.
27705 * posix/alarm.c: Likewise.
27706 * posix/execve.c: Likewise.
27707 * posix/fexecve.c: Likewise.
27708 * posix/fork.c: Likewise.
27709 * posix/fpathconf.c: Likewise.
27710 * posix/getaddrinfo.c: Likewise.
27711 * posix/getegid.c: Likewise.
27712 * posix/geteuid.c: Likewise.
27713 * posix/getgid.c: Likewise.
27714 * posix/getgroups.c: Likewise.
27715 * posix/getlogin.c: Likewise.
27716 * posix/getlogin_r.c: Likewise.
27717 * posix/getpgid.c: Likewise.
27718 * posix/getpid.c: Likewise.
27719 * posix/getppid.c: Likewise.
27720 * posix/getresgid.c: Likewise.
27721 * posix/getresuid.c: Likewise.
27722 * posix/getsid.c: Likewise.
27723 * posix/getuid.c: Likewise.
27724 * posix/glob64.c: Likewise.
27725 * posix/nanosleep.c: Likewise.
27726 * posix/pathconf.c: Likewise.
27727 * posix/pause.c: Likewise.
27728 * posix/posix_madvise.c: Likewise.
27729 * posix/pread.c: Likewise.
27730 * posix/pread64.c: Likewise.
27731 * posix/pwrite.c: Likewise.
27732 * posix/pwrite64.c: Likewise.
27733 * posix/sched_getaffinity.c: Likewise.
27734 * posix/sched_getp.c: Likewise.
27735 * posix/sched_gets.c: Likewise.
27736 * posix/sched_primax.c: Likewise.
27737 * posix/sched_primin.c: Likewise.
27738 * posix/sched_rr_gi.c: Likewise.
27739 * posix/sched_setaffinity.c: Likewise.
27740 * posix/sched_setp.c: Likewise.
27741 * posix/sched_sets.c: Likewise.
27742 * posix/sched_yield.c: Likewise.
27743 * posix/setgid.c: Likewise.
27744 * posix/setlogin.c: Likewise.
27745 * posix/setpgid.c: Likewise.
27746 * posix/setresgid.c: Likewise.
27747 * posix/setresuid.c: Likewise.
27748 * posix/setsid.c: Likewise.
27749 * posix/setuid.c: Likewise.
27750 * posix/sleep.c: Likewise.
27751 * posix/spawni.c: Likewise.
27752 * posix/sysconf.c: Likewise.
27753 * posix/times.c: Likewise.
27754 * posix/wait.c: Likewise.
27755 * posix/wait3.c: Likewise.
27756 * posix/wait4.c: Likewise.
27757 * posix/waitpid.c: Likewise.
27758 * resolv/gai_sigqueue.c: Likewise.
27759 * resource/getpriority.c: Likewise.
27760 * resource/getrlimit.c: Likewise.
27761 * resource/getrusage.c: Likewise.
27762 * resource/nice.c: Likewise.
27763 * resource/setpriority.c: Likewise.
27764 * resource/setrlimit.c: Likewise.
27765 * resource/ulimit.c: Likewise.
27766 * rt/aio_cancel.c: Likewise.
27767 * rt/aio_fsync.c: Likewise.
27768 * rt/aio_read.c: Likewise.
27769 * rt/aio_sigqueue.c: Likewise.
27770 * rt/aio_suspend.c: Likewise.
27771 * rt/aio_write.c: Likewise.
27772 * rt/clock_getres.c: Likewise.
27773 * rt/clock_gettime.c: Likewise.
27774 * rt/clock_nanosleep.c: Likewise.
27775 * rt/clock_settime.c: Likewise.
27776 * rt/lio_listio.c: Likewise.
27777 * rt/mq_close.c: Likewise.
27778 * rt/mq_getattr.c: Likewise.
27779 * rt/mq_notify.c: Likewise.
27780 * rt/mq_open.c: Likewise.
27781 * rt/mq_receive.c: Likewise.
27782 * rt/mq_send.c: Likewise.
27783 * rt/mq_setattr.c: Likewise.
27784 * rt/mq_timedreceive.c: Likewise.
27785 * rt/mq_timedsend.c: Likewise.
27786 * rt/mq_unlink.c: Likewise.
27787 * rt/shm_open.c: Likewise.
27788 * rt/shm_unlink.c: Likewise.
27789 * rt/timer_create.c: Likewise.
27790 * rt/timer_delete.c: Likewise.
27791 * rt/timer_getoverr.c: Likewise.
27792 * rt/timer_gettime.c: Likewise.
27793 * rt/timer_settime.c: Likewise.
27794 * setjmp/__longjmp.c: Likewise.
27795 * setjmp/setjmp.c: Likewise.
27796 * signal/kill.c: Likewise.
27797 * signal/killpg.c: Likewise.
27798 * signal/raise.c: Likewise.
27799 * signal/sigaction.c: Likewise.
27800 * signal/sigaltstack.c: Likewise.
27801 * signal/sigblock.c: Likewise.
27802 * signal/sigignore.c: Likewise.
27803 * signal/sigintr.c: Likewise.
27804 * signal/signal.c: Likewise.
27805 * signal/sigpause.c: Likewise.
27806 * signal/sigpending.c: Likewise.
27807 * signal/sigqueue.c: Likewise.
27808 * signal/sigreturn.c: Likewise.
27809 * signal/sigset.c: Likewise.
27810 * signal/sigsetmask.c: Likewise.
27811 * signal/sigstack.c: Likewise.
27812 * signal/sigsuspend.c: Likewise.
27813 * signal/sigtimedwait.c: Likewise.
27814 * signal/sigvec.c: Likewise.
27815 * signal/sigwait.c: Likewise.
27816 * signal/sigwaitinfo.c: Likewise.
27817 * signal/sysv_signal.c: Likewise.
27818 * socket/accept.c: Likewise.
27819 * socket/accept4.c: Likewise.
27820 * socket/bind.c: Likewise.
27821 * socket/connect.c: Likewise.
27822 * socket/getpeername.c: Likewise.
27823 * socket/getsockname.c: Likewise.
27824 * socket/getsockopt.c: Likewise.
27825 * socket/isfdtype.c: Likewise.
27826 * socket/listen.c: Likewise.
27827 * socket/recv.c: Likewise.
27828 * socket/recvfrom.c: Likewise.
27829 * socket/recvmsg.c: Likewise.
27830 * socket/send.c: Likewise.
27831 * socket/sendmsg.c: Likewise.
27832 * socket/sendto.c: Likewise.
27833 * socket/setsockopt.c: Likewise.
27834 * socket/shutdown.c: Likewise.
27835 * socket/sockatmark.c: Likewise.
27836 * socket/socket.c: Likewise.
27837 * socket/socketpair.c: Likewise.
27838 * stdio-common/ctermid.c: Likewise.
27839 * stdio-common/cuserid.c: Likewise.
27840 * stdio-common/remove.c: Likewise.
27841 * stdio-common/rename.c: Likewise.
27842 * stdio-common/renameat.c: Likewise.
27843 * stdio-common/tempname.c: Likewise.
27844 * stdlib/getcontext.c: Likewise.
27845 * stdlib/makecontext.c: Likewise.
27846 * stdlib/setcontext.c: Likewise.
27847 * stdlib/swapcontext.c: Likewise.
27848 * stdlib/system.c: Likewise.
27849 * streams/fattach.c: Likewise.
27850 * streams/fdetach.c: Likewise.
27851 * streams/getmsg.c: Likewise.
27852 * streams/getpmsg.c: Likewise.
27853 * streams/putmsg.c: Likewise.
27854 * streams/putpmsg.c: Likewise.
27855 * sysdeps/unix/bsd/getpt.c: Likewise.
27856 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
27857 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
27858 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
27859 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
27861 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
27862 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
27863 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
27864 * sysvipc/msgctl.c: Likewise.
27865 * sysvipc/msgget.c: Likewise.
27866 * sysvipc/msgrcv.c: Likewise.
27867 * sysvipc/msgsnd.c: Likewise.
27868 * sysvipc/semctl.c: Likewise.
27869 * sysvipc/semget.c: Likewise.
27870 * sysvipc/semop.c: Likewise.
27871 * sysvipc/semtimedop.c: Likewise.
27872 * sysvipc/shmat.c: Likewise.
27873 * sysvipc/shmctl.c: Likewise.
27874 * sysvipc/shmdt.c: Likewise.
27875 * sysvipc/shmget.c: Likewise.
27876 * termios/tcdrain.c: Likewise.
27877 * termios/tcflow.c: Likewise.
27878 * termios/tcflush.c: Likewise.
27879 * termios/tcgetattr.c: Likewise.
27880 * termios/tcgetpgrp.c: Likewise.
27881 * termios/tcsendbrk.c: Likewise.
27882 * termios/tcsetattr.c: Likewise.
27883 * termios/tcsetpgrp.c: Likewise.
27884 * time/adjtime.c: Likewise.
27885 * time/clock.c: Likewise.
27886 * time/getitimer.c: Likewise.
27887 * time/gettimeofday.c: Likewise.
27888 * time/setitimer.c: Likewise.
27889 * time/settimeofday.c: Likewise.
27890 * time/stime.c: Likewise.
27891 * time/time.c: Likewise.
27893 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
27895 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
27898 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
27900 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
27902 2012-11-03 Joseph Myers <joseph@codesourcery.com>
27905 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
27906 FE_TONEAREST before applying Dekker multiplication and Knuth
27907 addition. Clear inexact exceptions and check for exact zero
27908 results afterwards.
27909 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27910 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
27911 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27912 * math/libm-test.inc (fma_test): Add more tests.
27913 (fma_test_towardzero): Likewise.
27914 (fma_test_downward): Likewise.
27915 (fma_test_upward): Likewise.
27916 * sysdeps/generic/math_private.h (default_libc_fesetround): New
27918 (libc_fesetround): New macro.
27919 (libc_fesetroundf): Likewise.
27920 (libc_fesetroundl): Likewise.
27921 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
27923 (libc_fesetround_387): Likewise.
27924 (libc_fesetroundf): New macro.
27925 (libc_fesetround): Likewise.
27926 (libc_fesetroundl): Likewise.
27927 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
27929 (libc_fesetroundf): New macro.
27930 (libc_fesetround): Likewise.
27931 (libc_fesetroundl): Likewise.
27932 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
27933 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
27934 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
27936 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
27937 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
27939 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
27940 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
27942 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
27946 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
27947 integer constant usable in #if and use that to give value to enum
27949 (FE_DIVBYZERO): Likewise.
27950 (FE_UNDERFLOW): Likewise.
27951 (FE_OVERFLOW): Likewise.
27952 (FE_INVALID): Likewise.
27953 (FE_INVALID_SNAN): Likewise.
27954 (FE_INVALID_ISI): Likewise.
27955 (FE_INVALID_IDI): Likewise.
27956 (FE_INVALID_ZDZ): Likewise.
27957 (FE_INVALID_IMZ): Likewise.
27958 (FE_INVALID_COMPARE): Likewise.
27959 (FE_INVALID_SOFTWARE): Likewise.
27960 (FE_INVALID_SQRT): Likewise.
27961 (FE_INVALID_INTEGER_CONVERSION): Likewise.
27962 (FE_TONEAREST): Likewise.
27963 (FE_TOWARDZERO): Likewise.
27964 (FE_UPWARD): Likewise.
27965 (FE_DOWNWARD): Likewise.
27966 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
27967 (FE_DIVBYZERO): Likewise.
27968 (FE_OVERFLOW): Likewise.
27969 (FE_UNDERFLOW): Likewise.
27970 (FE_INEXACT): Likewise.
27971 (FE_TONEAREST): Likewise.
27972 (FE_DOWNWARD): Likewise.
27973 (FE_UPWARD): Likewise.
27974 (FE_TOWARDZERO): Likewise.
27975 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
27976 (FE_UNDERFLOW): Likewise.
27977 (FE_OVERFLOW): Likewise.
27978 (FE_DIVBYZERO): Likewise.
27979 (FE_INVALID): Likewise.
27980 (FE_TONEAREST): Likewise.
27981 (FE_TOWARDZERO): Likewise.
27982 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
27983 (FE_OVERFLOW): Likewise.
27984 (FE_UNDERFLOW): Likewise.
27985 (FE_DIVBYZERO): Likewise.
27986 (FE_INEXACT): Likewise.
27987 (FE_TONEAREST): Likewise.
27988 (FE_TOWARDZERO): Likewise.
27989 (FE_UPWARD): Likewise.
27990 (FE_DOWNWARD): Likewise.
27991 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
27992 (FE_DIVBYZERO): Likewise.
27993 (FE_OVERFLOW): Likewise.
27994 (FE_UNDERFLOW): Likewise.
27995 (FE_INEXACT): Likewise.
27996 (FE_TONEAREST): Likewise.
27997 (FE_DOWNWARD): Likewise.
27998 (FE_UPWARD): Likewise.
27999 (FE_TOWARDZERO): Likewise.
28001 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
28003 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
28005 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
28007 * scripts/cross-test-ssh.sh (command): Use newlines to separate
28008 commands. Quote $PWD.
28009 (blacklist_exports): Don't use remove_newlines. Replace "declare
28011 (remove_newlines): Remove.
28013 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
28015 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
28016 * stdlib/stdlib.h (atof): Moved to ...
28017 * include/bits/stdlib-float.h: Here. New file.
28018 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
28019 * stdlib/bits/stdlib-float.h: New file.
28020 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
28022 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
28025 2012-11-02 Joseph Myers <joseph@codesourcery.com>
28027 * conform/conformtest.pl (@headers): Add fenv.h.
28028 * conform/data/fenv.h-data: New file.
28029 * include/fenv.h [_ISOMAC]: Disable all contents of file except
28030 include of <math/fenv.h>.
28032 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
28033 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
28034 && !UNIX98]. Enables tests for XOPEN2K8.
28035 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
28036 POSIX2008]: Likewise.
28038 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
28039 (struct rusage): Do not expect type or its members.
28042 * math/math.h (FP_NAN): Define macro to integer constant usable in
28043 #if and use that to give value to enum constant.
28044 (FP_INFINITE): Likewise.
28045 (FP_ZERO): Likewise.
28046 (FP_SUBNORMAL): Likewise.
28047 (FP_NORMAL): Likewise.
28049 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
28051 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
28052 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
28055 2012-11-02 Roland McGrath <roland@hack.frob.com>
28057 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
28058 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
28059 autoconf-time if not.
28060 * configure.in: Remove AC_PREREQ.
28062 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28064 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
28065 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
28066 of the internal implementation.
28068 2012-11-02 Joseph Myers <joseph@codesourcery.com>
28070 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
28071 except include of <misc/sys/syslog.h>.
28073 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
28075 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
28076 function returns with a NULL context exit with zero.
28078 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28080 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
28082 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
28084 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
28085 (run_program_cmd): This.
28086 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
28087 (tst_langinfo): New variable. Use it.
28089 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
28091 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
28092 floating point opcodes.
28094 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
28096 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
28099 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
28101 * sysdeps/mach/hurd/powerpc: Remove directory.
28102 * sysdeps/mach/powerpc: Likewise.
28104 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
28106 * scripts/check-local-headers.sh: Ignore c++ headers.
28108 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
28110 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
28111 __libc_cleanup_region_start argument.
28113 2012-11-01 Joseph Myers <joseph@codesourcery.com>
28117 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
28118 x * y using scaling, not as x * y + z.
28119 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28120 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28121 * math/libm-test.inc (fma_test): Add more tests.
28122 (fma_test_towardzero): Likewise.
28123 (fma_test_downward): Likewise.
28124 (fma_test_upward): Likewise.
28126 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
28128 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
28130 2012-10-31 Joseph Myers <joseph@codesourcery.com>
28132 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
28135 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
28137 * rt/tst-shm.c (worker): Correct checking for mmap failure.
28139 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
28141 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28143 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
28146 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28148 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28149 Fix the order of the list for glibc 2.17.
28150 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
28153 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
28155 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28157 2012-10-31 Joseph Myers <joseph@codesourcery.com>
28160 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
28161 for low part of x being zero before using __atanl (y).
28162 * math/libm-test.inc (atan2_test): Add another test.
28164 * manual/install.texi (Configuring and compiling): Document
28165 general use of test-wrapper and test-wrapper-env.
28166 * INSTALL: Regenerated.
28168 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
28169 (__fma): Do not extract and scale down low bits on after-rounding
28170 systems when result rounded to normal precision would have normal
28172 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
28173 (__fmal): Do not extract and scale down low bits on after-rounding
28174 systems when result rounded to normal precision would have normal
28176 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
28177 (__fmal): Do not extract and scale down low bits on after-rounding
28178 systems when result rounded to normal precision would have normal
28180 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
28182 (fma_test): Add more tests.
28183 (fma_test_towardzero): Likewise.
28184 (fma_test_downward): Likewise.
28185 (fma_test_upward): Likewise.
28187 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
28189 * sysdeps/i386/tininess.h: Renamed to ...
28190 * sysdeps/x86/tininess.h: This.
28191 * sysdeps/x86_64/tininess.h: Removed.
28193 2012-10-30 Joseph Myers <joseph@codesourcery.com>
28195 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
28196 input. Use $(build-program-cmd).
28197 ($(objpfx)tst-array1-static.out): Likewise.
28198 ($(objpfx)tst-array2.out): Likewise.
28199 ($(objpfx)tst-array3.out): Likewise.
28200 ($(objpfx)tst-array4.out): Likewise.
28201 ($(objpfx)tst-array5.out): Likewise.
28202 ($(objpfx)tst-array5-static.out): Likewise.
28204 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
28206 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
28209 * nss/nsswitch.h (nss_interface_function): Provide new
28210 macro for use with NSS functions.
28211 * grp/initgroups.c: Use new macro.
28212 * nss/getXXbyYY.c: Likewise.
28213 * nss/getXXbyYY_r.c: Likewise.
28214 * nss/getXXent.c: Likewise.
28215 * nss/getXXent_r.c: Likewise.
28216 * sysdeps/posix/getaddrinfo.c: Likewise.
28218 2012-10-30 Andreas Jaeger <aj@suse.de>
28220 * po/ru.po: Update Russion translation from translation project.
28222 2012-10-30 Joseph Myers <joseph@codesourcery.com>
28226 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
28227 result and shift together with sticky bit instead of replicating
28228 round-to-nearest rounding.
28229 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28230 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28231 * math/libm-test.inc (fma_test): Add more tests. Do not permit
28232 missing underflow exceptions.
28233 (fma_test_towardzero): Add more tests.
28234 (fma_test_downward): Likewise.
28235 (fma_test_upward): Likewise.
28238 * sysdeps/generic/tininess.h: New file.
28239 * sysdeps/i386/tininess.h: Likewise.
28240 * sysdeps/sh/tininess.h: Likewise.
28241 * sysdeps/x86_64/tininess.h: Likewise.
28242 * stdlib/tst-strtod-underflow.c: Likewise.
28243 * stdlib/tst-tininess.c: Likewise.
28244 * stdlib/strtod_l.c: Include <tininess.h>.
28245 (round_and_return): Do not set errno for exact underflow cases.
28246 Force an underflow exception when setting errno for underflow.
28247 Determine underflow based on rounding to normal precision if
28248 TININESS_AFTER_ROUNDING.
28249 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
28250 ERANGE for exact underflow cases.
28251 * stdlib/Makefile (tests): Add tst-tininess and
28252 tst-strtod-underflow.
28253 ($(objpfx)tst-tininess): Use $(link-libm).
28254 ($(objpfx)tst-strtod-underflow): Likewise.
28256 2012-10-30 Andreas Jaeger <aj@suse.de>
28259 * elf/Makefile (tests): Remove conditional for have-initfini-array
28260 since this is now always required and the variable does not exist
28262 (tests-static): Likewise.
28263 (modules-names): Likewise.
28265 * po/eo.po: Add Esperanto translation from translation project.
28267 * elf/tst-array1.c (fini_array): Make writeable so that it can be
28268 merged with constructor/destructor.
28269 (init_array): Likewise.
28270 * elf/tst-array2dep.c (fini_array): Likewise.
28271 (init_array): Likewise.
28273 2012-10-29 Mike Frysinger <vapier@gentoo.org>
28275 * manual/message.texi: Delete @cartouche tags.
28277 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
28279 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
28281 * sysdeps/mach/hurd/fsync.c: Likewise.
28283 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
28284 [_POSIX_REALTIME_SIGNALS]: Change condition to
28285 [_POSIX_REALTIME_SIGNALS > 0].
28287 2012-10-27 Andreas Jaeger <aj@suse.de>
28289 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
28290 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
28291 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
28292 [__WORDSIZE != 64]: Likewise.
28294 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
28296 * iconvdata/tst-table.sh: Remove ${SHELL}.
28297 * iconvdata/tst-tables.sh: Likewise.
28299 2012-10-25 David S. Miller <davem@davemloft.net>
28301 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
28302 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
28305 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
28307 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
28308 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
28309 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
28312 2012-10-25 Roland McGrath <roland@hack.frob.com>
28314 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
28315 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
28318 2012-10-25 Joseph Myers <joseph@codesourcery.com>
28319 Jim Blandy <jimb@codesourcery.com>
28321 * scripts/cross-test-ssh.sh: New file.
28322 * manual/install.texi (Configuring and compiling): Document use of
28324 * INSTALL: Regenerated.
28326 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
28328 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
28331 2012-10-25 Joseph Myers <joseph@codesourcery.com>
28333 * Makeconfig (run-program-prefix): Fix comment.
28335 2012-10-24 Joseph Myers <joseph@codesourcery.com>
28336 Jim Blandy <jimb@codesourcery.com>
28338 * Makeconfig (test-wrapper): New variable,
28339 (test-wrapper-env): Likewise.
28340 [$(cross-compiling) = yes && $(test-wrapper) != ""]
28341 (run-built-tests): Define to yes.
28342 (run-program-prefix): Use $(test-wrapper).
28343 (built-program-cmd): Likewise.
28344 * Rules (make-test-out): Use $(test-wrapper-env) and
28345 $(host-built-program-cmd).
28346 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
28347 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
28349 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
28350 $(test-wrapper-env) to tst-rtld-load-self.sh.
28351 ($(objpfx)order2.out): Use $(test-wrapper).
28352 ($(objpfx)tst-initorder.out): Likewise.
28353 ($(objpfx)tst-initorder2.out): Likewise.
28354 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
28355 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
28356 (test_wrapper_env): New variable. Use it to run ld.so.
28357 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
28358 Use it to run ld.so.
28359 (test_wrapper_env): Likewise.
28360 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
28361 $(test-wrapper) to run-iconv-test.sh.
28362 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
28363 (ICONV): Use $test_wrapper.
28364 * posix/Makefile ($(objpfx)globtest.out): Pass
28365 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
28366 globtest.sh, not $(run-program-prefix).
28367 * posix/globtest.sh (run_via_rtld_prefix): New variable.
28368 (test_wrapper): Likewise.
28369 (test_wrapper_env): Likewise. Use it to run globtest with HOME
28370 set together with run_via_rtld_prefix.
28371 (run_program_prefix): Define in terms of test_wrapper and
28372 run_via_rtld_prefix.
28374 2012-10-24 Roland McGrath <roland@hack.frob.com>
28376 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
28377 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
28381 * include/time.h: Remove librt_hidden_proto (clock_gettime).
28382 Declare __clock_getres, __clock_gettime, __clock_settime,
28383 __clock_nanosleep, and __clock_getcpuclockid.
28384 * rt/clock_gettime.c: Define __clock_gettime as an alias.
28385 Remove librt_hidden_def (clock_gettime).
28386 * sysdeps/unix/clock_gettime.c: Likewise.
28387 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
28388 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
28389 * rt/clock_getres.c: Define __clock_getres as an alias.
28390 * sysdeps/posix/clock_getres.c: Likewise.
28391 * rt/clock_settime.c: Define __clock_settime as an alias.
28392 * sysdeps/unix/clock_settime.c: Likewise.
28393 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
28394 * sysdeps/unix/clock_nanosleep.c: Likewise.
28395 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
28396 * rt/clock-compat.c: New file.
28397 * rt/Makefile (librt-routines): Add clock-compat and move
28398 $(clock-routines) to ...
28399 (routines): ... here, new variable.
28400 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
28401 Don't add get_clockfreq here.
28402 * rt/Versions (libc: GLIBC_2.17): New version set.
28403 Add clock_* symbols here.
28404 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
28405 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
28406 (GLIBC_2.17): Add clock_* symbols.
28407 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
28408 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
28409 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
28410 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
28412 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28414 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
28415 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
28416 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
28417 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
28418 * NEWS: Mention the move.
28420 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
28421 Use __open, __read, __close rather than their public counterparts.
28422 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
28423 (__get_clockfreq_via_cpuinfo): Likewise.
28424 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
28425 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
28427 * config.h.in (HAVE_IFUNC): New #undef.
28428 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
28430 * configure: Regenerated.
28432 2012-10-24 Mike Frysinger <vapier@gentoo.org>
28434 * configure.in: Move READELF check to start of file.
28435 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
28436 libc_cv_asm_gnu_indirect_function in the process.
28437 * configure: Regenerated.
28439 2012-10-24 Mike Frysinger <vapier@gentoo.org>
28441 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
28442 send the output to /dev/null.
28443 (libc_cv_cc_with_libunwind): Likewise.
28444 (libc_cv_as_noexecstack): Likewise.
28445 * configure: Regenerate.
28447 2012-10-24 Joseph Myers <joseph@codesourcery.com>
28449 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
28451 * posix/globtest.sh (TMPDIR): Do not set.
28452 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
28453 (testout): Likewise.
28455 2012-10-24 Andreas Jaeger <aj@suse.de>
28457 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
28458 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
28459 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
28460 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
28461 posix_fadvise64, posix_fallocate64.
28463 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
28464 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
28465 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
28467 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
28469 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
28471 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
28472 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
28473 <bits/fcntl-linux.h>.
28474 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
28476 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
28477 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
28478 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
28479 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
28480 [__WORDSIZE != 64]: Likewise.
28482 2012-10-23 Joseph Myers <joseph@codesourcery.com>
28484 * Makeconfig (run-built-tests): New variable.
28485 * Rules [$(cross-compiling) = yes]: Change condition to
28486 [$(run-built-tests) = no].
28487 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
28488 to [$(run-built-tests) = yes].
28489 * elf/Makefile [$(cross-compiling) = no]: Likewise
28490 * grp/Makefile [$(cross-compiling) = no]: Likewise.
28491 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
28492 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
28493 * intl/Makefile [$(cross-compiling) = no]: Likewise.
28494 * io/Makefile [$(cross-compiling) = no]: Likewise.
28495 * libio/Makefile [$(cross-compiling) = no]: Likewise.
28496 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
28497 * misc/Makefile [$(cross-compiling) = no]: Likewise.
28498 * posix/Makefile [$(cross-compiling) = no]: Likewise.
28499 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
28500 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
28501 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
28502 * string/Makefile [$(cross-compiling) = no]: Likewise.
28504 * posix/Makefile ($(objpfx)globtest.out): Pass
28505 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
28506 $(rtld-installed-name).
28507 * posix/globtest.sh (elf_objpfx): Remove variable.
28508 (rtld_installed_name): Likewise.
28509 (library_path): Likewise.
28510 (run_program_prefix): New variable. Use for running globtest
28513 2012-10-23 Jim Blandy <jimb@codesourcery.com>
28514 Joseph Myers <joseph@codesourcery.com>
28516 * Makeconfig (host-built-program-cmd): New variable.
28517 * elf/Makefile (tst-stackguard1-ARGS): Use
28518 $(host-built-program-cmd).
28519 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
28520 (tst-spawn-ARGS): Likewise.
28521 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
28523 2012-10-23 Joseph Myers <joseph@codesourcery.com>
28524 Jim Blandy <jimb@codesourcery.com>
28526 * Makeconfig (run-via-rtld-prefix): New variable.
28527 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
28528 (built-program-cmd): Likewise.
28530 2012-10-22 Andreas Jaeger <aj@suse.de>
28532 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
28533 __O_RSYNC if it exists, otherwise to O_SYNC.
28535 2012-10-22 Jim Blandy <jimb@codesourcery.com>
28536 Joseph Myers <joseph@codesourcery.com>
28538 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
28540 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
28542 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
28545 2012-10-22 Andreas Jaeger <aj@suse.de>
28547 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
28549 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
28551 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28552 bits/fcntl-linux.h.
28554 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
28555 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
28557 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
28559 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
28562 2012-10-21 Jim Blandy <jimb@codesourcery.com>
28563 Joseph Myers <joseph@codesourcery.com>
28565 * config.make.in (NM): New variable.
28567 2012-10-21 Andreas Jaeger <aj@suse.de>
28569 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
28570 definitions and declarations that are provided by
28571 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
28573 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
28576 * elf/Makefile (tests-static): Add tst-leaks1-static.
28577 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
28578 ($(objpfx)tst-leaks1-static): New rule.
28579 ($(objpfx)tst-leaks1-static-mem): Likewise.
28580 (tst-leaks1-static-ENV): New macro.
28581 * elf/dl-open.c (dl_open_worker): Check the main application
28582 only if SHARED is defined.
28583 * elf/tst-leaks1-static.c: New file.
28585 2012-10-20 Andreas Jaeger <aj@suse.de>
28587 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
28588 generic values for Linux.
28589 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
28590 and declarations that are provided by <bits/fcntl-linux.h> and
28591 include <bits/fcntl-linux.h>.
28592 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
28593 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
28595 2012-10-20 Roland McGrath <roland@hack.frob.com>
28597 * io/fcntl.h: Move include of <bits/types.h> to the top and
28598 include it unconditionally.
28600 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
28602 * wcsmbs/Makefile (tests-ifunc): New variable.
28603 (tests): Add $(tests-ifunc).
28604 * wcsmbs/test-wcschr-ifunc.c: New file.
28605 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
28606 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
28607 * wcsmbs/test-wcslen-ifunc.c: Likewise.
28608 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
28609 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
28611 * string/Makefile (tests-ifunc): New variable.
28612 (tests): Add $(tests-ifunc).
28613 * string/test-memccpy.c (TEST_NAME): New macro.
28614 * string/test-memchr.c (TEST_NAME): Likewise.
28615 * string/test-memcmp.c (TEST_NAME): Likewise.
28616 * string/test-memcpy.c (TEST_NAME): Likewise.
28617 * string/test-memmem.c (TEST_NAME): Likewise.
28618 * string/test-memmove.c (TEST_NAME): Likewise.
28619 * string/test-memset.c (TEST_NAME): Likewise.
28620 * string/test-rawmemchr.c (TEST_NAME): Likewise.
28621 * string/test-stpcpy.c (TEST_NAME): Likewise.
28622 * string/test-stpncpy.c (TEST_NAME): Likewise.
28623 * string/test-strcasecmp.c (TEST_NAME): Likewise.
28624 * string/test-strcasestr.c (TEST_NAME): Likewise.
28625 * string/test-strcat.c (TEST_NAME): Likewise.
28626 * string/test-strchr.c (TEST_NAME): Likewise.
28627 * string/test-strcmp.c(TEST_NAME): Likewise.
28628 * string/test-strcpy.c (TEST_NAME): Likewise.
28629 * string/test-strcspn.c (TEST_NAME): Likewise.
28630 * string/test-strlen.c (TEST_NAME): Likewise.
28631 * string/test-strncasecmp.c (TEST_NAME): Likewise.
28632 * string/test-strncmp.c (TEST_NAME): Likewise.
28633 * string/test-strncpy.c (TEST_NAME): Likewise.
28634 * string/test-strnlen.c (TEST_NAME): Likewise.
28635 * string/test-strpbrk.c (TEST_NAME): Likewise.
28636 * string/test-strrchr.c (TEST_NAME): Likewise.
28637 * string/test-strspn.c (TEST_NAME): Likewise.
28638 * string/test-strstr.c (TEST_NAME): Likewise.
28639 * string/test-bcopy-ifunc.c: New file.
28640 * string/test-bzero-ifunc.c: Likewise.
28641 * string/test-memccpy-ifunc.c: Likewise.
28642 * string/test-memchr-ifunc.c: Likewise.
28643 * string/test-memcmp-ifunc.c: Likewise.
28644 * string/test-memcpy-ifunc.c: Likewise.
28645 * string/test-memmem-ifunc.c: Likewise.
28646 * string/test-memmove-ifunc.c: Likewise.
28647 * string/test-mempcpy-ifunc.c: Likewise.
28648 * string/test-memset-ifunc.c: Likewise.
28649 * string/test-rawmemchr-ifunc.c: Likewise.
28650 * string/test-stpcpy-ifunc.c: Likewise.
28651 * string/test-stpncpy-ifunc.c: Likewise.
28652 * string/test-strcasecmp-ifunc.c: Likewise.
28653 * string/test-strcasestr-ifunc.c: Likewise.
28654 * string/test-strcat-ifunc.c: Likewise.
28655 * string/test-strchr-ifunc.c: Likewise.
28656 * string/test-strchrnul-ifunc.c: Likewise.
28657 * string/test-strcmp-ifunc.c: Likewise.
28658 * string/test-strcpy-ifunc.c: Likewise.
28659 * string/test-strcspn-ifunc.c: Likewise.
28660 * string/test-strlen-ifunc.c: Likewise.
28661 * string/test-strncasecmp-ifunc.c: Likewise.
28662 * string/test-strncat-ifunc.c: Likewise.
28663 * string/test-strncmp-ifunc.c: Likewise.
28664 * string/test-strncpy-ifunc.c: Likewise.
28665 * string/test-strnlen-ifunc.c: Likewise.
28666 * string/test-strpbrk-ifunc.c: Likewise.
28667 * string/test-strrchr-ifunc.c: Likewise.
28668 * string/test-strspn-ifunc.c: Likewise.
28669 * string/test-strstr-ifunc.c: Likewise.
28671 * debug/Makefile (tests-ifunc): New variable.
28672 (tests): Add $(tests-ifunc).
28673 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
28674 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
28675 * debug/test-stpcpy_chk-ifunc.c: New file.
28676 * debug/test-strcpy_chk-ifunc.c: Likewise.
28678 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
28681 * elf/dl-load.c (open_verify): Retry read if the entire ELF
28682 header is not read in.
28684 2012-10-19 Joseph Myers <joseph@codesourcery.com>
28686 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
28687 script to $(SHELL) as $<. Pass $(common-objpfx) to script
28688 directly. Pass built executable to script as
28689 $(built-program-cmd).
28690 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
28691 $testprogram without using LD_LIBRARY_PATH and $ldso.
28693 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
28694 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
28695 $(rtld-installed-name).
28696 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
28697 (rtld_installed_name): Likewise.
28698 (library_path): Likewise.
28699 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
28700 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
28701 $(run-program-prefix) to tst-tables.sh.
28702 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
28703 it to run tst-table-from and tst-table-to.
28704 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
28705 Pass it to tst-table.sh.
28706 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
28707 $(run-program-prefix) to tst-gettext.sh.
28708 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
28710 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
28712 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
28713 to run tst-gettext.
28714 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
28715 to run tst-gettext2.
28716 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
28717 to run tst-translit.
28718 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
28719 $(run-program-prefix) to tst-mtrace.sh.
28720 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
28722 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
28723 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
28724 $(rtld-installed-name).
28725 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
28726 (rtld_installed_name): Likewise.
28727 (run_program_prefix): New variable. Use it to run wordexp-test.
28729 * Makeconfig (ARCH): Remove all definitions.
28730 (machine): Likewise.
28731 [ARCH]: Remove conditional code.
28732 [!objdir]: Give error.
28733 [!objdir] (objpfx): Remove.
28734 [!objdir] (common-objpfx): Likewise.
28735 [!objdir] (common-objdir): Likewise.
28736 * configure.in (config_makefile): Remove. Hardcode Makefile in
28737 AC_CONFIG_FILES call.
28738 * configure: Regenerated.
28741 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
28743 (testout): Likewise.
28745 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
28746 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
28747 $(rtld-installed-name).
28748 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
28749 (rtld_installed_name): Likwise.
28750 (runit): Remove function.
28751 (run_getconf): New variable, Use it for running getconf binary.
28753 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
28756 * string/test-memmem.c (check_result): New function.
28757 (do_one_test): Use it.
28758 (check1): New function.
28759 (test_main): Use it.
28761 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
28763 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
28765 2012-10-18 Joseph Myers <joseph@codesourcery.com>
28767 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
28768 (_G_LSEEK64): Likewise.
28769 (_G_MMAP64): Likewise.
28770 (_G_FSTAT64): Likewise.
28771 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
28772 (_G_LSEEK64): Likewise.
28773 (_G_MMAP64): Likewise.
28774 (_G_FSTAT64): Likewise.
28775 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
28776 unconditional. Call __mmap64 directly.
28777 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
28778 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
28779 __lseek64 directly.
28780 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
28781 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
28783 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
28784 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
28785 __lseek64 directly.
28786 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
28787 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
28788 __lseek64 directly.
28789 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
28790 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
28791 __lseek64 directly.
28792 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
28793 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
28794 __fxstat64 directly.
28795 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
28796 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
28798 (freopen64) [!_G_OPEN64]: Remove conditional code.
28799 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
28801 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
28802 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
28804 (ftello64) [!_G_LSEEK64]: Remove conditional code.
28805 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
28807 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
28808 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
28810 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
28811 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
28813 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
28814 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
28816 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
28817 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
28819 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
28821 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
28824 * manual/memory.texi (Malloc Tunable Parameters): Add note
28825 about free list pointers overwriting some perturb bytes.
28826 Wording suggested by Roland McGrath.
28828 2012-10-17 Joseph Myers <joseph@codesourcery.com>
28830 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
28831 (lgamma_test): Likewise.
28832 (tgamma_test): Likewise.
28834 2012-10-16 Florian Weimer <fweimer@redhat.com>
28837 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
28838 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
28840 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
28842 * NEWS: Mention BZ #14716.
28843 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
28844 when removing AVAILABLE1_USES_J macro.
28846 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
28848 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
28849 (__bswap_64): __uint64_t for unsigned 64-bit int.
28851 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
28853 * include/string.h (memmem): Declare libc hidden alias.
28854 * string/memmem.c (memmem): Define libc hidden alias.
28855 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
28856 __read, __close instead of open, read, close.
28858 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
28860 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
28861 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
28863 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
28864 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
28865 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
28867 (__rawmemchr_sse2): Likewise.
28868 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
28869 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
28870 (__strchr_sse2): Likewise.
28871 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
28872 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
28873 (__strcasecmp_sse2): Likewise.
28874 (__strncasecmp_sse2): Likewise.
28875 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
28876 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
28877 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
28878 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
28879 (__strrchr_sse2): Likewise.
28880 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
28882 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
28883 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
28884 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
28885 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
28886 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
28887 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
28888 * sysdeps/x86_64/multiarch/memset.S: Likewise.
28889 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
28890 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
28891 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
28892 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
28893 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
28894 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
28895 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
28896 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
28897 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
28898 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
28899 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
28900 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
28901 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
28902 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
28903 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
28904 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
28905 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
28906 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
28907 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
28908 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
28909 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
28910 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
28911 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
28913 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
28915 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
28916 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
28917 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
28918 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
28920 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
28922 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
28923 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
28924 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
28925 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
28927 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
28928 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
28929 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
28930 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
28931 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
28932 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
28933 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
28934 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
28935 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
28936 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
28937 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
28938 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
28939 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
28940 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
28941 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
28942 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
28943 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
28944 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
28945 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
28946 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
28947 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
28948 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
28949 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
28950 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
28951 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
28952 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
28953 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
28954 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
28955 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
28956 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
28957 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
28958 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
28959 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
28960 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
28961 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
28962 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
28963 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
28964 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
28965 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
28966 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
28967 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
28969 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
28970 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
28971 * include/ifunc-impl-list.h: New file.
28972 * misc/ifunc-impl-list.c: Likewise.
28973 * misc/Makefile (routines): Add ifunc-impl-list.
28974 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
28975 * string/test-string.h: Include <ifunc-impl-list.h>.
28976 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
28977 TEST_NAME]: New variables.
28978 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
28980 (test_init): Call __libc_ifunc_impl_list to initialize
28981 func_list if TEST_IFUNC and TEST_NAME are defined.
28983 * string/Makefile (strop-tests): Add bcopy and bzero.
28984 * string/test-bcopy.c: New file.
28985 * string/test-bzero.c: Likewise.
28986 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
28988 * string/test-memset.c: Support bzero test if TEST_BZERO is
28990 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
28992 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
28994 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
28997 2012-10-10 Joseph Myers <joseph@codesourcery.com>
28999 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
29000 * configure: Regenerated.
29002 * Makeconfig (+link-static-before-libc): Don't include
29003 $(link-static-libc).
29005 * libio/libio.h (_IO_pos_t): Remove.
29007 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
29009 * NEWS: Add note about FIPS mode. Wording suggested by Roland
29012 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
29014 * crypt/crypt-entry.c: Include fips-private.h.
29015 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
29016 * crypt/md5c-test.c (main): Tolerate disabled MD5.
29017 * sysdeps/unix/sysv/linux/fips-private.h: New file.
29018 * sysdeps/generic/fips-private.h: New file, dummy fallback.
29020 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
29022 * crypt/crypt-private.h: Include stdbool.h.
29023 (_ufc_setup_salt_r): Return bool.
29024 * crypt/crypt-entry.c: Include errno.h.
29025 (__crypt_r): Return NULL with EINVAL for bad salt.
29026 * crypt/crypt_util.c (bad_for_salt): New.
29027 (_ufc_setup_salt_r): Check that salt is long enough and within
29028 the specified alphabet.
29029 * crypt/badsalttest.c: New file.
29030 * crypt/Makefile (tests): Add it.
29031 ($(objpfx)badsalttest): New.
29033 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
29035 * NEWS: Add entry for BZ #14602.
29037 2012-10-09 Joseph Myers <joseph@codesourcery.com>
29039 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
29041 * math/libm-test.inc: Update comment listing what functions and
29043 (isgreater_test): New function.
29044 (isgreaterequal_test): Likewise.
29045 (isless_test): Likewise.
29046 (islessequal_test): Likewise.
29047 (islessgreater_test): Likewise.
29048 (isunordered_test): Likewise.
29049 (main): Call the new functions.
29051 2012-10-09 Roland McGrath <roland@hack.frob.com>
29053 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
29054 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
29055 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
29056 * sysdeps/i386/configure: Regenerated.
29057 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
29058 * sysdeps/mach/configure: Regenerated.
29059 * sysdeps/mach/hurd/configure: Regenerated.
29060 * sysdeps/powerpc/configure: Regenerated.
29061 * sysdeps/powerpc/powerpc32/configure: Regenerated.
29062 * sysdeps/powerpc/powerpc64/configure: Regenerated.
29063 * sysdeps/s390/s390-32/configure: Regenerated.
29064 * sysdeps/s390/s390-64/configure: Regenerated.
29065 * sysdeps/sh/configure: Regenerated.
29066 * sysdeps/sparc/configure: Regenerated.
29067 * sysdeps/unix/sysv/linux/configure: Regenerated.
29068 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
29069 * sysdeps/x86_64/configure: Regenerated.
29071 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
29072 defined. Don't check if MAP is NULL.
29074 2012-10-09 Joseph Myers <joseph@codesourcery.com>
29076 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
29077 (_G_stat64): Likewise.
29078 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
29079 (_G_stat64): Likewise.
29080 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
29081 instead of struct _G_stat64.
29082 * libio/fileops.c (mmap_remap_check): Likewise.
29083 (decide_maybe_mmap): Likewise.
29084 (_IO_new_file_seekoff): Likewise.
29085 (_IO_file_stat): Likewise.
29086 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
29088 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
29089 instead of struct _G_stat64.
29090 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
29092 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
29095 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
29097 (CHECK_EOL): New macro.
29098 (two_way_short_needle): Check beginning of haystack for EOL. Use
29100 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
29101 Replace with CHECK_EOL.
29102 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
29103 Replace with CHECK_EOL.
29105 2012-10-08 Joseph Myers <joseph@codesourcery.com>
29107 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
29109 * math/libm-test.inc: Update comment listing what functions and
29111 (finite_test): New function.
29112 (isinf_test): Likewise.
29113 (isnan_test): Likewise.
29114 (fpclassify_test): Test subnormal input.
29115 (isfinite_test): Likewise.
29116 (isnormal_test): Likewise.
29117 (main): Call the new functions.
29119 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
29122 * Makerules (%.dynsym): Force C locale when running
29123 $(OBJDUMP) --dynamic-syms.
29125 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
29127 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
29130 2012-10-06 David S. Miller <davem@davemloft.net>
29132 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
29133 upper 32-bits of the length value in %o2 since we use branch-on-register
29134 tests which consider the entire 64-bit register.
29136 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
29138 * string/test-strstr.c (check2): Add a test for page boundary.
29140 2012-10-05 David S. Miller <davem@davemloft.net>
29142 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
29143 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
29145 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
29147 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
29148 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
29149 and bzero when HWCAP_SPARC_CRYPTO is present.
29151 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
29154 * string/test-strstr.c (check2): New function.
29155 (test_main): Call check2.
29157 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
29159 * string/bug-strcasestr1.c (do_test): Moved to ...
29160 * string/test-strcasestr.c (check1): Here. New function.
29161 (do_one_test): Break out result checking code into ...
29162 (check_result): This. New function.
29163 (do_one_test): Call check_result.
29164 (test_main): Call check1.
29165 * string/bug-strchr1.c (do_test): Moved to ...
29166 * string/test-strchr.c (check1): Here. New function.
29167 (do_one_test): Break out result checking code into ...
29168 (check_result): This. New function.
29169 (do_one_test): Call check_result.
29170 (test_main): Call check1.
29171 * string/bug-strstr1.c (main): Moved to ...
29172 * string/test-strstr.c (check1): Here. New function.
29173 (do_one_test): Break out result checking code into ...
29174 (check_result): This. New function.
29175 (do_one_test): Call check_result.
29176 (test_main): Call check1.
29177 * string/bug-strcasestr1.c: Removed.
29178 * string/bug-strchr1.c: Likewise.
29179 * string/bug-strstr1.c: Likewise.
29181 * elf/Makefile (dl-routines): Add hwcaps.
29182 * elf/dl-support.c (_dl_important_hwcaps): Removed.
29183 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
29184 (_dl_important_hwcaps): Moved to ...
29185 * elf/dl-hwcaps.c: Here. New file.
29186 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
29189 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
29190 if IS_IN_rtld isn't defined.
29192 * elf/dl-support.c (_dl_sysinfo_map): New.
29193 Include "get-dynamic-info.h" and "setup-vdso.h".
29194 (_dl_non_dynamic_init): Call setup_vdso.
29195 * elf/dynamic-link.h: Don't include <assert.h>.
29196 (elf_get_dynamic_info): Moved to ...
29197 * elf/get-dynamic-info.h: Here. New file.
29198 * elf/dynamic-link.h: Include "get-dynamic-info.h".
29199 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
29200 * elf/setup-vdso.h: Here. New file.
29201 * elf/rtld.c: Include "setup-vdso.h".
29202 (dl_main): Call setup_vdso.
29204 2012-10-05 Joseph Myers <joseph@codesourcery.com>
29206 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
29207 creal in comment listing functions tested. List finite, isinf,
29208 isnan, isless, islessequal, isgreater, isgreaterequal,
29209 islessgreater, isunordered, lgamma_r and pow10 as functions and
29210 macros not tested. Mention which functions not tested are aliases
29211 for other functions. Fix typo. Note that signs of NaNs are not
29214 * scripts/config.guess: Update from config.git.
29215 * scripts/config.sub: Likewise.
29217 2012-10-04 Roland McGrath <roland@hack.frob.com>
29219 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
29220 * misc/madvise.c (madvise): Renamed to __madvise.
29221 Make madvise a weak alias.
29222 * include/sys/mman.h: Declare __madvise.
29223 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
29224 * sysdeps/unix/syscalls.list
29225 (madvise): Make __madvise the strong name, and madvise a weak alias.
29226 * sysdeps/unix/sysv/linux/syscalls.list
29227 (madvise, mmap): Remove redundant entries.
29228 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
29229 * malloc/malloc.c (mtrim): Likewise.
29230 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
29232 2012-10-03 Roland McGrath <roland@hack.frob.com>
29234 * sysdeps/mach/hurd/dl-cache.c: File removed.
29235 * config.h.in (USE_LDCONFIG): New #undef.
29236 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
29237 * configure: Regenerated.
29238 * elf/Makefile (dl-routines): Add dl-cache only under
29239 [$(use-ldconfig) = yes].
29240 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
29241 cache on [USE_LDCONFIG].
29242 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
29244 * elf/rtld.c (dl_main): Likewise.
29246 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
29248 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
29249 _SC_LEVEL4_CACHE_LINESIZE.
29251 2012-10-03 Roland McGrath <roland@hack.frob.com>
29253 * sysdeps/unix/bsd/confstr.h: File removed.
29255 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
29257 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
29260 2012-10-02 Roland McGrath <roland@hack.frob.com>
29262 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
29263 Make 'mapoff' field ElfW(Off) rather than off_t.
29265 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
29267 * nscd/Makefile: Remove nscd-cflags and all its users.
29268 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
29269 (CFLAGS-nonlib): Add compiler flags for nscd modules.
29272 * malloc.c (malloc_printerr): Clarify error message.
29274 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
29277 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29278 Set bit_FMA_Usable if FMA is supported.
29279 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
29281 (bit_FMA4_Usable): Updated.
29282 (index_FMA_Usable): New macro.
29283 (CPUID_FMA): Likewise
29284 (HAS_FMA): Defined with bit_FMA_Usable.
29286 2012-10-01 Roland McGrath <roland@hack.frob.com>
29288 * bits/types.h (__swblk_t): Type removed.
29289 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
29290 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
29291 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
29292 (__SWBLK_T_TYPE): Likewise.
29293 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
29294 (__SWBLK_T_TYPE): Likewise.
29295 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
29296 (__SWBLK_T_TYPE): Likewise.
29297 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
29298 (__SWBLK_T_TYPE): Likewise.
29300 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
29301 Honza Horak <hhorak@redhat.com>
29303 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
29304 (xdr_mapname): Use YPMAXMAP as maxsize.
29305 (xdr_peername): Use YPMAXPEER as maxsize.
29306 (xdr_keydat): Use YPAXRECORD as maxsize.
29307 (xdr_valdat): Use YPMAXRECORD as maxsize.
29309 2012-10-01 Roland McGrath <roland@hack.frob.com>
29311 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
29313 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
29314 * csu/init-first.c: ... here.
29315 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
29316 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
29317 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
29318 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
29319 * sysdeps/i386/init-first.c: File removed.
29320 * sysdeps/sh/init-first.c: File removed.
29322 2012-10-01 Joseph Myers <joseph@codesourcery.com>
29325 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
29326 if x * y might underflow to zero and z is zero.
29327 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29328 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29329 * math/libm-test.inc (min_subnorm_value): New variable.
29330 (fma_test): Add more tests.
29331 (fma_test_towardzero): Likewise.
29332 (fma_test_downward): Likewise
29333 (fma_test_upward): Likewise.
29334 (initialize): Set min_subnorm_value.
29336 2012-09-29 Joseph Myers <joseph@codesourcery.com>
29339 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
29341 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
29342 mode for addition resulting in exact zero.
29343 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
29344 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
29346 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
29347 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29348 * math/libm-test.inc (fma_test): Add more tests.
29349 (fma_test_towardzero): New function.
29350 (fma_test_downward): Likewise.
29351 (fma_test_upward): Likewise.
29352 (main): Call the new functions.
29354 2012-09-28 David S. Miller <davem@davemloft.net>
29356 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
29358 2012-09-28 Roland McGrath <roland@hack.frob.com>
29360 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
29361 instead of SIGALRM.
29363 * sysdeps/gnu/_G_config.h: Moved to ...
29364 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
29365 * sysdeps/mach/hurd/_G_config.h: Moved to ...
29366 * sysdeps/generic/_G_config.h: ... here.
29368 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
29370 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
29372 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
29373 Conditionalize target on [libnss_test1.so-version].
29375 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
29377 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
29378 (elfobjdir): Move out of conditionals.
29380 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
29381 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
29382 (__nss_lookup_function): Conditionalize label remove_from_tree on
29383 [!DO_STATIC_NSS || SHARED], matching its only use.
29385 2012-09-28 David S. Miller <davem@davemloft.net>
29387 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
29388 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
29390 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
29392 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
29393 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
29394 when HWCAP_SPARC_CRYPTO is present.
29396 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
29398 * io/tst-mknodat.c: Create a FIFO instead of a socket.
29400 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
29403 * stdio-common/vfprintf.c (process_string_arg): Revert
29406 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
29408 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
29410 * stdio-common/tst-sprintf.c: Include <locale.h>
29411 (main): Test sprintf's handling of incomplete multibyte
29414 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
29416 * elf/dl-runtime.c (VERSYMIDX): Removed.
29417 * elf/dl-version.c (VERSYMIDX): Likewise.
29418 * elf/do-rel.h (VERSYMIDX): Likewise.
29419 (VALIDX): Likewise.
29420 * elf/dynamic-link.h (VERSYMIDX): Likewise.
29421 * elf/rtld.c (VALIDX): Likewise.
29422 (ADDRIDX): Likewise.
29423 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
29424 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
29425 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
29426 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
29427 (VALIDX): Likewise.
29428 (ADDRIDX): Likewise.
29430 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
29432 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
29434 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
29437 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
29439 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
29440 addresses are in the same scope as 192.0.2/24.
29441 * posix/gai.conf: Document new scope table defaults.
29443 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
29446 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
29447 for ftell. Compute offsets from write pointers instead.
29448 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
29450 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
29453 * libio/Makefile (tests): New test case tst-fseek.
29454 * libio/tst-fseek.c: New test case to verify that fseek/ftell
29455 combination works in wide mode.
29456 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
29457 state when the external buffer state changes.
29459 2012-09-27 David S. Miller <davem@davemloft.net>
29462 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
29463 pass reloc->r_addend in as the 'high' argument to
29464 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
29466 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29468 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
29470 * rt/tst-aio2.c: Include <pthread.h>.
29471 * rt/tst-aio3.c: Likewise.
29473 2012-09-27 Steve Ellcey <sellcey@mips.com>
29475 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
29477 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
29479 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
29480 contents on [SHARED].
29482 2012-09-26 Marek Polacek <polacek@redhat.com>
29486 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
29487 for C++ and GCC <4.3 as well as for non GCC compilers.
29489 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
29491 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29493 2012-09-25 Roland McGrath <roland@hack.frob.com>
29495 * Makefile.in (all, install): Declare with .PHONY.
29496 Reported by Michael Hope <michael.hope@linaro.org>.
29498 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
29500 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
29501 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
29503 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
29505 (sydep_routines): Add the new and the internal functions.
29506 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
29507 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
29508 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
29509 (GLIBC_2.17): Add the new function.
29510 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
29511 (GLIBC_2.17): Likewise.
29512 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
29513 (GLIBC_2.17): Likewise.
29514 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
29515 (GLIBC_2.17): Likewise.
29516 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
29518 2012-09-25 Alan Modra <amodra@gmail.com>
29520 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
29521 Add release barrier before setting once_control to say
29522 initialisation is done. Add hints on lwarx. Use macro in
29524 (clear_once_control): Add release barrier.
29526 2012-09-25 Joseph Myers <joseph@codesourcery.com>
29529 * math/s_clog.c (__clog): Handle more values close to |z| = 1
29531 * math/s_clog10.c (__clog10): Likewise.
29532 * math/s_clog10f.c (__clog10f): Likewise.
29533 * math/s_clog10l.c (__clog10l): Likewise.
29534 * math/s_clogf.c (__clogf): Likewise.
29535 * math/s_clogl.c (__clogl): Likewise.
29536 * math/Makefile (libm-calls): Add x2y2m1.
29537 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
29538 (__x2y2m1): Likewise.
29539 (__x2y2m1l): Likewise.
29540 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
29541 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
29542 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
29543 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
29544 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
29545 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
29546 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
29547 * sysdeps/i386/fpu/libm-test-ulps: Update.
29548 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29551 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
29552 int as type of variable DEPTH.
29553 (glob): Use size_t instead of int as type of variables NEWCOUNT
29556 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29558 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
29559 Add s_sincosf-sse2.
29560 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
29561 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
29562 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
29563 macros for using routine as __sincosf_ia32.
29564 Use macro for function declaration and weak_alias.
29565 * sysdeps/i386/fpu/libm-test-ulps: Update.
29567 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
29568 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29570 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
29571 subnormal argument.
29572 * math/s_cexpf.c (__cexpf): Likewise.
29573 * math/s_csinf.c (__csinf): Likewise.
29574 * math/s_csinhf.c (__csinhf): Likewise.
29575 * math/s_ctanf.c (__ctanf): Likewise.
29576 * math/s_ctanhf.c (__ctanhf): Likewise.
29577 * math/s_ccosh.c (__ccoshf): Likewise.
29578 * math/s_cexp.c (__cexpl): Likewise.
29579 * math/s_csin.c (__csin): Likewise.
29580 * math/s_csinh.c (__csinh): Likewise.
29581 * math/s_ctan.c (__ctan): Likewise.
29582 * math/s_ctanh.c (ctanh): Likewise.
29583 * math/s_ccoshl.c (__ccoshl): Likewise.
29584 * math/s_cexpl.c (__cexpl): Likewise.
29585 * math/s_csinl.c (__csinl): Likewise.
29586 * math/s_csinhl.c (__csinhl): Likewise.
29587 * math/s_ctanl.c (__ctanl): Likewise.
29588 * math/s_ctanhl.c (__ctanhl): Likewise.
29590 2012-09-25 Joseph Myers <joseph@codesourcery.com>
29592 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
29593 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
29594 (_IO_off_t): Define to __off_t, not _G_off_t.
29595 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
29596 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
29597 (_IO_wint_t): Define to wint_t, not _G_wint_t.
29598 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
29599 type of __dummy and __dummy2 fields.
29600 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
29601 (_G_ssize_t): Likewise.
29602 (_G_off_t): Likewise.
29603 (_G_pid_t): Likewise.
29604 (_G_uid_t): Likewise.
29605 (_G_wchar_t): Likewise.
29606 (_G_wint_t): Likewise.
29607 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
29608 (_G_ssize_t): Likewise.
29609 (_G_off_t): Likewise.
29610 (_G_pid_t): Likewise.
29611 (_G_uid_t): Likewise.
29612 (_G_wchar_t): Likewise.
29613 (_G_wint_t): Likewise.
29614 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
29615 (_G_ssize_t): Likewise.
29616 (_G_off_t): Likewise.
29617 (_G_pid_t): Likewise.
29618 (_G_uid_t): Likewise.
29619 (_G_wchar_t): Likewise.
29620 (_G_wint_t): Likewise.
29622 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
29624 * malloc/arena.c: Include malloc-sysdep.h.
29625 (shrink_heap): Use check_may_shrink_heap to decide if madvise
29626 is sufficient to shrink the heap or an unmap is needed.
29627 * sysdeps/generic/malloc-sysdep.h: New file. Define
29628 new function check_may_shrink_heap.
29629 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
29630 new function check_may_shrink_heap.
29632 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
29634 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
29637 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
29639 * catgets/test-gencat.sh: Add "set -e".
29640 * elf/tst-pathopt.sh: Likewise.
29641 * grp/tst_fgetgrent.sh: Likewise.
29642 * iconvdata/run-iconv-test.sh: Likewise.
29643 * intl/tst-gettext.sh: Likewise.
29644 * intl/tst-gettext2.sh: Likewise.
29645 * intl/tst-gettext4.sh: Likewise.
29646 * intl/tst-gettext6.sh: Likewise.
29647 * intl/tst-translit.sh: Likewise.
29648 * io/ftwtest-sh: Likewise.
29649 * libio/test-freopen.sh: Likewise.
29650 * malloc/tst-mtrace.sh: Likewise.
29651 * posix/globtest.sh: Likewise.
29652 * posix/tst-getconf.sh: Likewise.
29653 * posix/wordexp-tst.sh: Likewise.
29654 * stdio-common/tst-printf.sh: Likewise.
29655 * stdio-common/tst-unbputc.sh: Likewise.
29656 * stdlib/tst-fmtmsg.sh: Likewise.
29657 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
29658 * catgets/Makefile: Do not specify -e option when running
29659 testsuite shell scripts.
29660 * elf/Makefile: Likewise.
29661 * grp/Makefile: Likewise.
29662 * iconvdata/Makefile: Likewise.
29663 * intl/Makefile: Likewise.
29664 * io/Makefile: Likewise.
29665 * libio/Makefile: Likewise.
29666 * malloc/Makefile: Likewise.
29667 * posix/Makefile: Likewise.
29668 * stdio-common/Makefile: Likewise.
29669 * stdlib/Makefile: Likewise.
29670 * sysdeps/x86_64/Makefile: Likewise.
29672 * io/ftwtest-sh: Add copyright header.
29673 * posix/globtest.sh: Likewise.
29674 * posix/tst-getconf.sh: Likewise.
29675 * posix/wordexp-tst.sh: Likewise.
29676 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
29678 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
29681 * Makeconfig (+link): Defined as $(+link-static) if
29682 $(build-shared) isn't yes.
29683 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
29685 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
29687 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
29690 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
29691 new chunk size with MALLOC_ALIGN_MASK.
29693 2012-09-24 Joseph Myers <joseph@codesourcery.com>
29696 * stdio-common/printf_fphex.c: Include <stdbool.h> and
29698 (__printf_fphex): Determine rounding using get_rounding_mode and
29700 * stdio-common/tst-printf-round.c (struct hex_test): New
29702 (hex_tests): New variable.
29703 (test_hex_in_one_mode): New function.
29704 (do_test): Also run tests for hex float output.
29706 2012-09-21 Joseph Myers <joseph@codesourcery.com>
29708 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
29709 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
29710 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
29711 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
29712 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
29713 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
29714 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
29715 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
29717 2012-09-20 Joseph Myers <joseph@codesourcery.com>
29719 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
29720 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
29721 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
29722 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
29724 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
29727 * elf/rtld.c (dl_main): Limit the check for self loading to normal
29729 * elf/tst-rtld-load-self.sh: New test.
29730 * elf/Makefile: Run it.
29732 2012-09-18 Joseph Myers <joseph@codesourcery.com>
29734 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
29735 (tst-writev-ENV): Remove.
29736 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
29738 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
29740 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
29742 2012-09-17 Joseph Myers <joseph@codesourcery.com>
29744 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
29746 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
29748 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
29749 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
29750 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
29753 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
29756 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
29757 * config.make.in (have-cpp-asm-debuginfo): Removed.
29758 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
29759 * configure: Regenerated.
29761 2012-09-14 Joseph Myers <joseph@codesourcery.com>
29764 * stdio-common/printf_fp.c: Include <stdbool.h> and
29766 (___printf_fp): Determine rounding using get_rounding_mode and
29768 * stdio-common/tst-printf-round.c: New file.
29769 * stdio-common/Makefile (tests): Add tst-printf-round.
29770 (link-libm): New variable.
29771 ($(objpfx)tst-printf-round): Depend in $(link-libm).
29773 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
29776 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
29777 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
29779 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
29782 2012-09-13 Joseph Myers <joseph@codesourcery.com>
29784 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
29785 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
29786 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
29787 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
29789 2012-09-12 Joseph Myers <joseph@codesourcery.com>
29792 * include/rounding-mode.h: New file.
29793 * sysdeps/generic/get-rounding-mode.h: Likewise.
29794 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
29795 * stdlib/strtod_l.c: Include <rounding-mode.h>.
29796 (MAX_VALUE): New macro.
29797 (MIN_VALUE): Likewise.
29798 (overflow_value): New function.
29799 (underflow_value): Likewise.
29800 (round_and_return): Use overflow_value and underflow_value to
29801 determine return values in overflow and underflow cases. Use
29802 round_away to determine rounding depending on rounding mode.
29803 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
29804 determine return values in overflow and underflow cases.
29805 * stdlib/tst-strtod-round.c: Include <fenv.h>.
29806 (struct test_results): New structure.
29807 (struct test): Use struct test_results to store expected results
29808 for all rounding modes.
29809 (TEST): Include expected results for all rounding modes.
29810 (test_in_one_mode): New function.
29811 (do_test): Use test_in_one_mode to compute and check results.
29812 Check results for all rounding modes.
29813 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
29816 2012-12-09 Allan McRae <allan@archlinux.org>
29818 * sysdeps/i386/fpu/libm-test-ulps: Update
29820 2012-09-11 Joseph Myers <joseph@codesourcery.com>
29822 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
29823 (_G_int32_t): Likewise.
29824 (_G_uint16_t): Likewise.
29825 (_G_uint32_t): Likewise.
29826 (_G_HAVE_BOOL): Likewise.
29827 (_G_HAVE_ATEXIT): Likewise.
29828 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
29829 (_G_HAVE_IO_FILE_OPEN): Likewise.
29830 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
29831 (_G_int32_t): Likewise.
29832 (_G_uint16_t): Likewise.
29833 (_G_uint32_t): Likewise.
29834 (_G_HAVE_BOOL): Likewise.
29835 (_G_HAVE_ATEXIT): Likewise.
29836 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
29837 (_G_HAVE_IO_FILE_OPEN): Likewise.
29838 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
29839 (_G_int32_t): Likewise.
29840 (_G_uint16_t): Likewise.
29841 (_G_uint32_t): Likewise.
29842 (_G_HAVE_BOOL): Likewise.
29843 (_G_HAVE_ATEXIT): Likewise.
29844 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
29845 (_G_HAVE_IO_FILE_OPEN): Likewise.
29847 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
29849 * csu/libc-tls.c: Update copyright years.
29851 2012-09-10 Joseph Myers <joseph@codesourcery.com>
29853 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
29854 [!_G_USING_THUNKS]: Remove conditional code.
29855 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
29856 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
29858 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
29859 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
29860 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
29861 (_G_VTABLE_LABEL_PREFIX): Likewise.
29862 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
29863 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
29864 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
29865 (_G_VTABLE_LABEL_PREFIX): Likewise.
29866 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
29867 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
29868 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
29869 (_G_VTABLE_LABEL_PREFIX): Likewise.
29870 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
29872 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
29874 * libio/Makefile: Include ../Makeconfig before tests.
29875 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
29876 only if $(build-shared) is yes.
29878 * iconv/gconv_db.c: Update copyright years.
29880 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29882 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
29883 unwind info if defined PIC. Fix special cases description.
29884 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
29886 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
29888 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
29890 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
29892 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
29894 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
29897 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
29898 (LDLIBS-tst-chk4): This.
29899 (LDFLAGS-tst-chk5): Renamed to ...
29900 (LDLIBS-tst-chk5): This.
29901 (LDFLAGS-tst-chk6): Renamed to ...
29902 (LDLIBS-tst-chk6): This.
29903 (LDFLAGS-tst-lfschk4): Renamed to ...
29904 (LDLIBS-tst-lfschk4): This.
29905 (LDFLAGS-tst-lfschk5): Renamed to ...
29906 (LDLIBS-tst-lfschk5): This.
29907 (LDFLAGS-tst-lfschk6): Renamed to ...
29908 (LDLIBS-tst-lfschk6): This.
29910 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
29911 on $(common-objpfx)soversions.mk.
29913 2012-09-07 Joseph Myers <joseph@codesourcery.com>
29916 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
29919 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
29921 * malloc/arena.c (arena_get_retry): New function that gets
29922 another arena for the caller to try its request on.
29923 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
29924 current arena cannot fulfill the request.
29925 (__libc_memalign): Likewise.
29926 (__libc_memalign): Likewise.
29927 (__libc_pvalloc): Likewise.
29928 (__libc_calloc): Likewise.
29930 2012-09-05 John Tobey <john.tobey@gmail.com>
29933 * manual/arith.texi (Operations on Complex): Fix description
29934 of carg branch cut.
29936 2012-09-06 Joseph Myers <joseph@codesourcery.com>
29939 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
29943 * manual/memory.texi (Memory): Make order of menu items match
29946 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
29948 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
29949 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
29950 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
29952 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
29954 * csu/libc-tls.c (static_dtv): Renamed to ...
29955 (_dl_static_dtv): This. Make it global.
29956 (_dl_initial_dtv): Removed.
29957 (__libc_setup_tls): Updated.
29958 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
29959 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
29962 2012-09-06 Petr Machata <pmachata@redhat.com>
29964 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
29965 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
29966 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
29967 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
29969 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
29972 * csu/libc-tls.c (_dl_initial_dtv): New variable.
29973 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
29976 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
29979 * Makeconfig (link-static-before-libc): Replace $(+prector)
29981 (link-static-after-libc): Replace $(+postctor) with
29983 (link-bounded): Replace $(+prector)/$(+postctor) with
29984 $(+prectorT)/$(+postctorT).
29985 (+prectorT): New macro.
29986 (+postctorT): Likewise.
29988 2012-09-06 Joseph Myers <joseph@codesourcery.com>
29990 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
29991 (round_str): Handle values above the maximum for IBM long double
29993 * stdlib/tst-strtod-round.c (tests): Regenerated.
29995 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29997 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
29999 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
30000 zarch_nohighgprs around the zarch optimized routines.
30001 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
30002 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
30003 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
30006 2012-09-05 David S. Miller <davem@davemloft.net>
30008 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30010 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
30011 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
30012 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
30013 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
30016 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
30018 * malloc/arena.c: Fold copyright years.
30019 * malloc/mcheck.c, malloc/memusage.c: Likewise.
30021 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
30023 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
30025 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
30027 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
30029 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
30031 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
30032 change internal state upon failure.
30034 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
30036 * malloc/mcheck.c (mcheck_check_all): Fix typo.
30037 * malloc/memusage.c (mmap): Likewise.
30038 (mmap64, mremap): Likewise. Adjust name in comment.
30040 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
30042 * libio/fileops.c: Fix typos in comments.
30043 * libio/oldfileops.c: Likewise.
30044 * libio/wfileops.c: Likewise.
30046 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
30049 * malloc/Makefile (tests): Add tst-malloc-usable test case.
30050 (tst-malloc-usable-ENV): Set environment for test case.
30051 * malloc/hooks.c (malloc_check_get_size): New function to get
30053 * malloc/malloc.c (musable): Use malloc_check_get_size.
30054 * malloc/tst-malloc-usable.c: New test case.
30056 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
30058 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
30060 2012-09-05 Allan McRae <allan@archlinux.org>
30063 * configure.in (CXX_SYSINCLUDES): Use compiler output to
30064 determine header location.
30065 * configure: Regenerated.
30067 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
30069 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
30071 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
30072 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
30074 (test): Regenerate.
30076 2012-09-04 David S. Miller <davem@davemloft.net>
30078 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
30079 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
30080 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
30082 2012-09-04 Florian Weimer <fweimer@redhat.com>
30084 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
30087 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
30089 2012-09-04 Joseph Myers <joseph@codesourcery.com>
30092 * libio/iogetdelim.c: Include <limits.h>.
30093 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
30094 + len + 1 would overflow.
30096 2012-09-03 Andreas Jaeger <aj@suse.de>
30098 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30099 * sysdeps/i386/fpu/libm-test-ulps: Update.
30101 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30103 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
30104 Add s_sinf-sse2, s_conf-sse2.
30106 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
30107 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
30108 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
30109 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
30111 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
30112 for using routine as __sinf_ia32.
30113 Use macro for function declaration and weak_alias.
30114 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
30115 for using routine as __cosf_ia32.
30116 Use macro for function declaration and weak_alias.
30118 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
30119 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
30121 * sysdeps/x86_64/fpu/s_sinf.S: New file.
30122 * sysdeps/x86_64/fpu/s_cosf.S: New file.
30123 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30125 * math/libm-test.inc (cos_test): Add more test cases.
30126 (sin_test): Likewise.
30127 (sincos_test): Likewise.
30129 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30131 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
30132 (IFUNC_RESOLVE): Make pointers to the specialized implementations
30134 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
30136 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
30139 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
30140 first element of the GOT.
30141 (elf_machine_load_address): Return the difference between
30142 the runtime address of _DYNAMIC and elf_machine_dynamic ().
30144 2012-09-01 Allan McRae <allan@archlinux.org>
30147 * configure.in (AWK): Require gawk version 3.0 or later.
30148 * configure: Regenerated.
30150 2012-09-01 Joseph Myers <joseph@codesourcery.com>
30152 * sysdeps/unix/sysv/linux/kernel-features.h
30153 (__ASSUME_POSIX_CPU_TIMERS): Remove.
30154 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
30155 [__NR_clock_getres]: Make code unconditional.
30156 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
30157 (clock_getcpuclockid): Remove code left unreachable by removal of
30159 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
30160 code unconditional.
30161 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
30162 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
30163 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
30164 Make code unconditional.
30165 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
30166 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
30167 * sysdeps/unix/sysv/linux/clock_settime.c
30168 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
30170 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
30171 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
30173 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
30176 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
30177 scripts/test-installation.pl.
30179 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
30180 and $ld_so_version if it is set.
30182 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
30185 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
30186 failure if reading from procfs failed.
30187 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
30189 2012-08-27 Joseph Myers <joseph@codesourcery.com>
30191 * sysdeps/unix/sysv/linux/kernel-features.h
30192 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
30193 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
30194 Remove conditional code.
30195 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30196 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
30197 Remove conditional code.
30198 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30199 * sysdeps/unix/sysv/linux/i386/fxstat.c
30200 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
30201 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30202 * sysdeps/unix/sysv/linux/i386/fxstatat.c
30203 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
30204 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30205 * sysdeps/unix/sysv/linux/i386/lxstat.c
30206 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
30207 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30208 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
30209 Remove conditional code.
30210 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30211 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
30212 Remove conditional code.
30213 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30214 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
30215 <kernel-features.h>.
30216 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
30218 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
30219 Remove conditional code.
30220 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30221 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
30222 Remove conditional.
30224 2012-08-27 Mike Frysinger <vapier@gentoo.org>
30227 * NEWS: Add fixed bug number.
30229 2012-08-27 Joseph Myers <joseph@codesourcery.com>
30232 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
30233 underflowing exponent in case of negative sign.
30234 * stdlib/tst-strtod-round-data: Add more tests.
30235 * stdlib/tst-strtod-round.c (tests): Regenerated.
30238 * stdlib/strtod_l.c (NDIG): Remove.
30239 (HEXNDIG): Likewise.
30240 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
30241 smallest representable value.
30242 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
30243 lie within an exact representation of 1/2 ulp of the result.
30244 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
30246 (TENS_P9_IDX): Define unconditionally.
30247 (TENS_P9_SIZE): Likewise.
30248 (TENS_P10_IDX): Likewise.
30249 (TENS_P10_SIZE): Likewise.
30250 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
30251 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
30252 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
30253 entries for 10^2^13 and 10^2^14.
30254 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
30255 (TENS_P13_IDX): Define.
30256 (TENS_P13_SIZE): Likewise.
30257 (TENS_P14_IDX): Likewise.
30258 (TENS_P14_SIZE): Likewise.
30259 (_fpioconst_pow10): Change array size to
30260 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
30262 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
30263 1024]: Add entries for 10^2^13 and 10^2^14.
30264 [LAST_POW10 > _LAST_POW10]: Remove #error.
30265 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
30266 (_fpioconst_pow10): Change array size to
30267 FPIOCONST_POW10_ARRAY_SIZE.
30268 * stdlib/gen-fpioconst.c: New file.
30269 * stdlib/gen-tst-strtod-round.c: Likewise.
30270 * stdlib/tst-strtod-round-data: Likewise.
30271 * stdlib/tst-strtod-round.c: Likewise.
30272 * stdlib/Makefile (tests): Add tst-strtod-round.
30275 * stdlib/strtod_l.c: Include <stdint.h>.
30276 (NDEBUG): Do not define.
30277 (round_and_return): Change EXPONENT parameter to type intmax_t.
30278 Rearrange calculations to avoid internal overflow possibilities.
30279 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
30280 Rearrange calculations to avoid internal overflow possibilities.
30281 Assert that number fits inside MPNSIZE limbs.
30282 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
30283 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
30284 calculations and add assertions to avoid internal overflow
30285 possibilities. Add casts to avoid signed/unsigned operations.
30286 * stdlib/tst-strtod-overflow.c: New file.
30287 * stdlib/Makefile (tests): Add tst-strtod-overflow.
30289 2012-08-25 Marek Polacek <polacek@redhat.com>
30291 * time/time.h: Fix some typos in comments.
30293 2012-08-23 Roland McGrath <roland@hack.frob.com>
30295 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
30296 * posix/tst-rfc3484-2.c: Likewise.
30297 * posix/tst-rfc3484-3.c: Likewise.
30299 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
30301 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
30302 (EF_ARM_ABI_FLOAT_HARD): Likewise.
30304 2012-08-23 Joseph Myers <joseph@codesourcery.com>
30306 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
30307 #include of fxstatat64.c.
30309 2012-08-22 Roland McGrath <roland@hack.frob.com>
30311 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
30312 * shadow/getspent_r.c: Likewise.
30313 * shadow/getspnam.c: Likewise.
30314 * shadow/getspnam_r.c: Likewise.
30315 * gshadow/getsgent.c: Likewise.
30316 * gshadow/getsgent_r.c: Likewise.
30317 * gshadow/getsgnam.c: Likewise.
30318 * gshadow/getsgnam_r.c: Likewise.
30319 * inet/getnetbyad.c: Likewise.
30320 * inet/getnetbyad_r.c: Likewise.
30321 * inet/getnetbynm.c: Likewise.
30322 * inet/getnetbynm_r.c: Likewise.
30323 * inet/getnetent.c: Likewise.
30324 * inet/getnetent_r.c: Likewise.
30325 * inet/getproto.c: Likewise.
30326 * inet/getproto_r.c: Likewise.
30327 * inet/getprtent.c: Likewise.
30328 * inet/getprtent_r.c: Likewise.
30329 * inet/getprtname.c: Likewise.
30330 * inet/getprtname_r.c: Likewise.
30331 * inet/getrpcbyname.c: Likewise.
30332 * inet/getrpcbyname_r.c: Likewise.
30333 * inet/getrpcbynumber.c: Likewise.
30334 * inet/getrpcbynumber_r.c: Likewise.
30335 * inet/getrpcent.c: Likewise.
30336 * inet/getrpcent_r.c: Likewise.
30337 * inet/getaliasent.c: Likewise.
30338 * inet/getaliasent_r.c: Likewise.
30339 * inet/getaliasname.c: Likewise.
30340 * inet/getaliasname_r.c: Likewise.
30341 * nscd/getgrgid_r.c: Likewise.
30342 * nscd/getgrnam_r.c: Likewise.
30343 * nscd/gethstbyad_r.c: Likewise.
30344 * nscd/gethstbynm3_r.c: Likewise.
30345 * nscd/getpwnam_r.c: Likewise.
30346 * nscd/getpwuid_r.c: Likewise.
30347 * nscd/getsrvbynm_r.c: Likewise.
30348 * nscd/getsrvbypt_r.c: Likewise.
30349 * nscd/gai.c: Likewise.
30351 * configure.in (build_nscd): New substituted variable, set
30352 by --disable-build-nscd and defaults to $use_nscd.
30353 * configure: Regenerated.
30354 * config.make.in (build-nscd): New substituted variable.
30355 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
30356 Change conditional to require [$(build-nscd) = yes] as well.
30357 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
30360 * configure.in (use_nscd): New substituted variable, set by
30361 --disable-nscd. If enabled, define USE_NSCD.
30362 * configure: Regenerated.
30363 * config.h.in: Add USE_NSCD.
30364 * config.make.in (use-nscd): New substituted variable.
30365 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
30366 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
30367 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
30368 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
30369 (CFLAGS-getgrnam_r.c): Likewise.
30370 (CFLAGS-initgroups.c): Likewise.
30371 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
30372 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
30374 * inet/getnetgrent_r.c
30375 (nscd_setnetgrent): New function, broken out of ...
30376 (setnetgrent): ... here. Call it.
30377 (innetgr): Conditionalize nscd bits on [USE_NSCD].
30378 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
30379 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
30380 * nscd/Makefile (routines, aux): Move definitions after include of
30381 Makeconfig. Conditionalize on [$(use-nscd) != no].
30382 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
30383 Conditionalize on [USE_NSCD].
30384 (is_nscd, nscd_init_cb): Likewise.
30385 (nss_load_library): Conditionalize init callback on [USE_NSCD].
30386 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
30387 * nss/nss_db/db-init.c: Likewise.
30388 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
30390 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
30391 (make_request): Use it.
30392 (cache_valid_p): New function.
30393 (__check_pf): Use it.
30394 * NEWS: Add item for --disable-nscd.
30396 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
30398 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
30399 to support sed >= 4.2.1-20-ga9bf076.
30400 * configure: Regenerated.
30402 2012-08-22 Roland McGrath <roland@hack.frob.com>
30404 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
30405 Conditionalize whole body on [IREL].
30407 2012-08-22 Jeff Law <law@redhat.com>
30410 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
30411 if the family is PF_UNSPEC.
30413 2012-08-22 Mike Frysinger <vapier@gentoo.org>
30415 * Makerules (lib-version): Rename from V.
30416 (install-lib-nosubdir): Change V to lib-version.
30418 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
30421 * powerpc32/power6/wcschr.c: New file.
30422 * powerpc32/power6/wcscpy.c: New file.
30423 * powerpc32/power6/wcsrchr.c: New file.
30424 * powerpc64/power6/wcschr.c: New file.
30425 * powerpc64/power6/wcscpy.c: New file.
30426 * powerpc64/power6/wcsrchr.c: New file.
30428 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
30430 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
30431 (two_way_short_needle): Use it.
30432 * string/strstr.c (AVAILABLE1_USES_J): Define.
30433 * string/strcasestr.c: Likewise.
30435 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
30437 * string/strcasestr.c (TOLOWER): Make side-effect safe.
30440 * NEWS: Add an entry.
30441 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
30442 define their defaults.
30443 (two_way_short_needle): Detect end-of-string on-the-fly.
30444 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
30445 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
30446 * string/bug-strcasestr1.c: New test.
30447 * string/Makefile: Run it.
30449 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
30452 * string/str-two-way.h (two_way_short_needle): Optimize matching of
30453 the first character.
30455 2012-08-21 Roland McGrath <roland@hack.frob.com>
30457 * csu/elf-init.c (__libc_csu_irel): Function removed.
30458 * csu/libc-start.c (apply_irel): New function.
30459 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
30461 2012-08-21 Joseph Myers <joseph@codesourcery.com>
30463 * sysdeps/unix/sysv/linux/kernel-features.h
30464 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
30465 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
30466 <kernel-features.h>.
30467 [__NR_fadvise64_64]: Make code unconditional.
30468 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
30469 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
30470 !__NR_fadvise64_64)]: Likewise.
30471 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
30472 !__NR_fadvise64_64))]: Likewise.
30473 [__NR_fadvise64]: Make code unconditional.
30474 [!__NR_fadvise64]: Remove conditional code.
30475 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
30476 <kernel-features.h>.
30477 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
30479 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
30481 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
30482 not include <kernel-features.h>.
30483 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
30485 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
30487 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
30488 include <kernel-features.h>.
30489 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
30491 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
30494 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
30496 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
30497 slight instruction rearrangements per scrollpipe analysis.
30498 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
30500 2012-08-20 Roland McGrath <roland@hack.frob.com>
30502 * manual/syslog.texi (syslog; vsyslog, closelog):
30503 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
30504 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
30506 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
30507 DSOCAPS to match condition on defining it.
30509 2012-08-20 Joseph Myers <joseph@codesourcery.com>
30511 * sysdeps/unix/sysv/linux/kernel-features.h
30512 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
30513 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
30514 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
30515 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
30516 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
30517 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
30518 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
30519 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
30520 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
30521 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
30523 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
30524 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
30526 * sysdeps/unix/sysv/linux/kernel-features.h
30527 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
30528 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
30530 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
30531 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
30532 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
30533 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
30534 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
30535 Make code unconditional.
30536 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
30537 (__mmap64) [!__NR_mmap2]: Likewise.
30538 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
30539 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
30540 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
30541 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
30542 [__NR_mmap2]: Make code unconditional.
30543 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
30544 (__mmap64) [!__NR_mmap2]: Likewise.
30546 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30548 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
30550 2012-08-18 Andreas Jaeger <aj@suse.de>
30552 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
30554 2012-08-18 Mike Frysinger <vapier@gentoo.org>
30556 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
30557 * include/unistd.h (__have_sock_cloexec): Likewise.
30558 (__have_pipe2): Likewise.
30559 (__have_dup3): Likewise.
30561 2012-08-18 Mike Frysinger <vapier@gentoo.org>
30564 * include/unistd.h (__have_pipe2): Change define into an extern int.
30565 (__have_dup3): Likewise.
30566 * socket/have_sock_cloexec.c: Include fcntl.h.
30567 (__have_pipe2): New variable.
30568 (__have_dup3): Likewise.
30570 2012-08-17 Mike Frysinger <vapier@gentoo.org>
30572 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
30574 2012-08-17 Marek Polacek <polacek@redhat.com>
30576 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
30577 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
30579 2012-08-17 Roland McGrath <roland@hack.frob.com>
30581 * configure.in: Add AC_SUBST for sysheaders.
30582 * configure: Regenerated.
30583 * config.make.in (sysheaders): New substituted variable.
30585 * sysdeps/unix/mkfifo.c: Moved ...
30586 * sysdeps/posix/mkfifo.c: ... here.
30587 * sysdeps/unix/mkfifoat.c: Moved ...
30588 * sysdeps/posix/mkfifoat.c: ... here.
30590 * sysdeps/unix/utime.c: Moved ...
30591 * sysdeps/posix/utime.c: ... here.
30593 * sysdeps/unix/time.c: Moved ...
30594 * sysdeps/posix/time.c: ... here.
30595 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
30596 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
30598 * sysdeps/unix/nice.c: Moved ...
30599 * sysdeps/posix/nice.c: ... here.
30601 * sysdeps/unix/alarm.c: Moved ...
30602 * sysdeps/posix/alarm.c: ... here.
30604 * intl/Makefile ($(codeset_mo)): Depend on the input file.
30606 2012-08-17 Jeff Law <law@redhat.com>
30608 * intl/Makefile (codeset_mo): New variable.
30609 ($(codeset_mo)): New target.
30610 (tst-codeset.out): Depend on that. Remove explicit rule.
30611 (tst-gettext3.out, tst-gettext5.out): Likewise.
30612 (LOCPATH-ENV, tst-codeset-ENV): New variables.
30613 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
30614 * intl/tst-codeset.sh: Remove.
30615 * intl/tst-gettext3.sh: Likewise.
30616 * intl/tst-gettext5.sh: Likewise.
30618 2012-08-17 Roland McGrath <roland@hack.frob.com>
30620 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
30621 * sysdeps/unix/syscalls.list: ... here.
30623 * sysdeps/posix/getaddrinfo.c
30624 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
30625 (gaiconf_init, gaiconf_reload): Use them.
30626 [!_STATBUF_ST_NSEC]
30627 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
30628 Define using time_t rather than struct timespec.
30630 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
30631 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
30633 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
30635 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
30636 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
30639 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
30640 __libc_cleanup_push argument.
30642 * bits/param.h: New file.
30643 * misc/sys/param.h: New file.
30644 * include/sys/param.h: New file.
30645 * misc/Makefile (headers): Add bits/param.h.
30646 * sysdeps/generic/sys/param.h: File removed.
30647 * sysdeps/unix/sysv/linux/bits/param.h: New file.
30648 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
30649 * sysdeps/mach/hurd/bits/param.h: New file.
30650 * sysdeps/mach/hurd/sys/param.h: File removed.
30652 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
30655 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
30657 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
30658 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
30661 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
30662 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
30663 rather than -D_IO_MTSAFE_IO conditionally.
30664 * stdio-common/Makefile (CPPFLAGS): Likewise.
30665 * wcsmbs/Makefile (CPPFLAGS): Likewise.
30666 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
30667 Use $(libio-mtsafe).
30668 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
30669 of -D_IO_MTSAFE_IO.
30670 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
30671 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
30672 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
30673 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
30674 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
30675 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
30676 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
30677 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
30678 (CFLAGS-fread_u_chk.c): Likewise.
30679 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
30680 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
30681 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
30682 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
30683 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
30684 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
30685 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
30686 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
30687 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
30689 * libio/Makefile: Test [$(libc-reentrant) = yes]
30690 instead of [$(filter %REENTRANT, $(defines)) nonempty].
30693 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
30694 * sysdeps/pthread/configure: File removed.
30695 * sysdeps/pthread/Makeconfig: New file.
30696 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
30697 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
30699 2012-08-16 Gary Benson <gbenson@redhat.com>
30701 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
30702 unmapping the first object in a namespace.
30704 2012-08-16 Roland McGrath <roland@hack.frob.com>
30706 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
30707 (__internal_setnetgrent): ... this. Add internal_function to
30708 definition. Add libc_hidden_def.
30709 (setnetgrent): Update caller.
30710 (internal_endnetgrent): Renamed to ...
30711 (__internal_endnetgrent): ... this. Add internal_function to
30712 definition. Add libc_hidden_def.
30713 (endnetgrent): Update caller.
30714 (internal_getnetgrent_r): Renamed to ...
30715 (__internal_getnetgrent_r): ... this. Add internal_function to
30716 definition. Add libc_hidden_def.
30717 (__getnetgrent_r): Update caller.
30718 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
30720 2012-08-16 Joseph Myers <joseph@codesourcery.com>
30722 * stdlib/longlong.h: Update from GCC.
30724 2012-08-16 Roland McGrath <roland@hack.frob.com>
30726 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
30727 on _QL, which is set by umul_ppmm but never used.
30728 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
30729 variables, which are set by GMP macros but never used.
30730 * stdio-common/_itowa.c (_itowa): Likewise.
30731 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
30732 * stdlib/mod_1.c (mpn_mod_1): Likewise.
30734 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
30736 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
30737 struct La_sh_regs is not constant.
30738 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
30739 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
30740 and struct La_sparc64_regs are not constant.
30742 2012-08-16 Joseph Myers <joseph@codesourcery.com>
30744 * sysdeps/unix/sysv/linux/kernel-features.h
30745 (__ASSUME_POSIX_TIMERS): Remove.
30746 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
30747 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
30748 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
30749 Make code unconditional.
30750 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
30751 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
30752 Make code unconditional.
30753 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
30754 * sysdeps/unix/sysv/linux/clock_nanosleep.c
30755 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
30756 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
30757 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
30758 Make code unconditional.
30759 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
30760 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
30761 (__libc_missing_posix_timers): Remove.
30763 2012-08-15 Roland McGrath <roland@hack.frob.com>
30765 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
30766 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
30768 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
30770 * elf/dl-sym.c: Include <stdlib.h>.
30772 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
30773 constants, which avoids warnings in 32-bit builds.
30775 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
30776 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
30778 * misc/lseek.c: File moved to ...
30779 * io/lseek.c: ... here.
30781 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
30783 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
30784 shifting LEN more than 31 bits at once.
30786 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30789 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
30790 segmentation fault for a case of two empty input strings.
30791 * string/test-strncasecmp.c (check1): Renamed to...
30792 (bz12205): ...this.
30793 (bz14195): Add new testcase for two empty input strings and N > 0.
30794 (test_main): Call new testcase, adapt for renamed function.
30796 2012-08-15 Andreas Jaeger <aj@suse.de>
30799 * crypt/md5test2.c: New test, based on test supplied by Serge
30800 Belyshev <belyshev@depni.sinp.msu.ru>.
30801 * crypt/Makefile (xtests): Add md5test-giant..
30802 * crypt/Makefile ($(objpfx)md5test-giant): Add.
30804 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
30807 * crypt/md5.c (md5_process_block): Don't assume the buffer
30808 length is less than 2**32.
30809 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
30810 length is less than 2**64.
30812 2012-08-15 Roland McGrath <roland@hack.frob.com>
30814 * string/str-two-way.h: Include <sys/param.h>.
30815 (MAX): Macro removed.
30817 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
30818 Move #define and #undef of memmove to just before and after
30819 including <string.h>.
30821 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
30822 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
30823 and after including <string.h>. Move declarations of
30824 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
30825 to before #include "string/memmove.c".
30827 * include/dirent.h: Declare __getdirentries.
30829 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
30830 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
30832 2012-08-14 Mike Frysinger <vapier@gentoo.org>
30834 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
30835 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
30836 * sysdeps/i386/configure: Regenerated.
30837 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
30838 STABS_CURRENT_FILE, and STABS_FUN.
30839 (END): Remove call to STABS_FUN_END.
30840 (STABS_CURRENT_FILE1): Delete.
30841 (STABS_CURRENT_FILE): Likewise.
30842 (STABS_FUN): Likewise.
30843 (STABS_FUN_END): Likewise.
30844 (STABS_FUN2): Likewise.
30845 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
30846 * sysdeps/x86_64/configure: Regenerated.
30848 2012-08-14 Roland McGrath <roland@hack.frob.com>
30850 * elf/dl-open.c: Include <atomic.h>.
30851 * elf/dl-lookup.c: Likewise.
30853 2012-08-14 Joseph Myers <joseph@codesourcery.com>
30855 * sysdeps/unix/sysv/linux/kernel-features.h
30856 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
30857 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
30859 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
30861 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
30862 condition on __ASSUME_CLONE_THREAD_FLAGS.
30864 2012-08-14 Andreas Jaeger <aj@suse.de>
30866 * sysdeps/i386/fpu/libm-test-ulps: Update.
30868 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
30870 * include/atomic.h (atomic_exchange_and_add): Split into ...
30871 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
30874 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
30876 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30878 2012-08-13 Jeff Law <law@redhat.com>
30880 * manual/stdio.texi (snprintf): Clarify handling of the trailing
30881 null byte in the output string.
30883 2012-08-10 Joseph Myers <joseph@codesourcery.com>
30885 * sysdeps/unix/sysv/linux/kernel-features.h
30886 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
30887 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
30888 (__ASSUME_ARG_MAX_STACK_BASED): Define.
30889 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
30890 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
30891 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
30892 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
30894 2012-08-09 Jeff Law <law@redhat.com>
30897 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
30898 When avoid_arena is set, don't retry in the that arena. Pick the
30899 next one, whatever it might be.
30900 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
30901 (arena_lock): Pass in new parameter to arena_get2.
30902 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
30904 (__libc_malloc): Unify retrying after main arena failure with
30905 __libc_memalign version.
30906 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
30908 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
30911 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
30912 to __redirect_strstr.
30913 (__strstr_sse42): Use typeof __redirect_strstr.
30914 (__strstr_ia32): Likewise.
30915 (__libc_strstr): New prototype.
30916 (strstr): Renamed to ...
30917 (__libc_strstr): This.
30918 (strstr): New strong alias of __libc_strstr.
30919 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
30920 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
30923 (__libc_time): New prototype.
30924 (time_ifunc): Replace time with __libc_time.
30925 (time): New strong alias and hidden definition of __libc_time.
30926 (__GI_time): Remove strong alias.
30927 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
30928 Include <stddef.h>.
30929 (memmove): Redefined to __redirect_memmove.
30930 (__memmove_sse2): Use typeof __redirect_memmove.
30931 (__memmove_ssse3): Likewise.
30932 (__memmove_ssse3_back): Likewise.
30933 (__libc_memmove): New prototype.
30934 (memmove): Renamed to ...
30935 (__libc_memmove): This.
30936 (memmove): New strong alias of __libc_memmove.
30938 2012-08-08 Mark Salter <msalter@redhat.com>
30941 (R_MN10300_TLS_GD): Define.
30942 (R_MN10300_TLS_LD): Likewise.
30943 (R_MN10300_TLS_LDO): Likewise.
30944 (R_MN10300_TLS_GOTIE): Likewise.
30945 (R_MN10300_TLS_IE): Likewise.
30946 (R_MN10300_TLS_LE): Likewise.
30947 (R_MN10300_TLS_DTPMOD): Likewise.
30948 (R_MN10300_TLS_DTPOFF): Likewise.
30949 (R_MN10300_TLS_TPOFF): Likewise.
30950 (R_MN10300_SYM_DIFF): Likewise.
30951 (R_MN10300_ALIGN): Likewise.
30952 (R_MN10300_NUM): Update.
30954 2012-08-08 Joseph Myers <joseph@codesourcery.com>
30956 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
30959 2012-08-08 Roland McGrath <roland@hack.frob.com>
30961 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
30963 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
30964 sysdeps/unix -> sysdeps/posix move.
30965 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
30967 2012-08-07 Allan McRae <allan@archlinux.org>
30970 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
30971 (SUNOS_CPP): Likewise.
30972 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
30974 (open_input): Call CPP using execvp.
30976 2012-08-07 Joseph Myers <joseph@codesourcery.com>
30978 * sysdeps/unix/sysv/linux/kernel-features.h
30979 (__ASSUME_PROT_GROWSUPDOWN): Remove.
30980 (__ASSUME_NO_CLONE_DETACHED): Likewise.
30981 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
30982 (__ASSUME_WAITID_SYSCALL): Likewise.
30983 * sysdeps/unix/sysv/linux/dl-execstack.c
30984 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
30985 code unconditional.
30986 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
30988 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
30989 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
30990 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
30992 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
30994 [__ASSUME_WAITID_SYSCALL]: Likewise.
30995 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
30997 2012-08-07 Roland McGrath <roland@hack.frob.com>
30999 * sysdeps/unix/closedir.c: Renamed to ...
31000 * sysdeps/posix/closedir.c: ... here.
31001 * sysdeps/unix/dirfd.c: Renamed to ...
31002 * sysdeps/posix/dirfd.c: ... here.
31003 * sysdeps/unix/dirstream.h: Renamed to ...
31004 * sysdeps/posix/dirstream.h: ... here.
31005 * sysdeps/unix/fdopendir.c: Renamed to ...
31006 * sysdeps/posix/fdopendir.c: ... here.
31007 * sysdeps/unix/opendir.c: Renamed to ...
31008 * sysdeps/posix/opendir.c: ... here.
31009 * sysdeps/unix/readdir.c: Renamed to ...
31010 * sysdeps/posix/readdir.c: ... here.
31011 * sysdeps/unix/readdir_r.c: Renamed to ...
31012 * sysdeps/posix/readdir_r.c: ... here.
31013 * sysdeps/unix/rewinddir.c: Renamed to ...
31014 * sysdeps/posix/rewinddir.c: ... here.
31015 * sysdeps/unix/seekdir.c: Renamed to ...
31016 * sysdeps/posix/seekdir.c: ... here.
31017 * sysdeps/unix/telldir.c: Renamed to ...
31018 * sysdeps/posix/telldir.c: ... here.
31019 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
31020 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
31021 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
31022 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
31024 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
31025 * bits/fcntl.h: ... here.
31027 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
31029 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
31030 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
31031 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
31032 (struct flock): Move l_start, l_len to the beginning.
31033 Use __pid_t for l_pid.
31034 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
31035 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
31036 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
31037 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
31038 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
31039 [__USE_LARGEFILE64] (struct flock64): New type.
31040 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
31042 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
31043 * bits/dirent.h: ... here.
31045 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
31046 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
31048 2012-08-07 Joseph Myers <joseph@codesourcery.com>
31050 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
31051 Change from 2.6.0 to 2.6.16.
31052 * sysdeps/unix/sysv/linux/configure: Regenerated.
31053 * sysdeps/unix/sysv/linux/kernel-features.h
31054 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
31055 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
31057 (__ASSUME_UTIMES): Likewise.
31058 (__ASSUME_CLONE_STOPPED): Remove.
31059 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
31060 architectures, not kernel version.
31061 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
31062 (__ASSUME_NO_CLONE_DETACHED): Likewise.
31063 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
31064 (__ASSUME_WAITID_SYSCALL): Likewise.
31065 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
31066 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
31067 * README: State 2.6.16 as minimum Linux kernel version. Do not
31068 refer to older versions.
31070 2012-08-06 Roland McGrath <roland@hack.frob.com>
31072 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
31073 Define alphasort64 as an alias.
31074 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
31075 Define versionsort64 as an alias.
31076 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
31077 Define scandir64 as an alias.
31078 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
31079 Define scandirat64 as an alias.
31080 * dirent/alphasort64.c (alphasort64):
31081 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
31082 * dirent/versionsort64.c: Likewise.
31083 * dirent/scandir64.c: Likewise.
31084 * dirent/scandirat64.c: Likewise.
31085 * sysdeps/wordsize-64/alphasort.c: File removed.
31086 * sysdeps/wordsize-64/alphasort64.c: File removed.
31087 * sysdeps/wordsize-64/scandir.c: File removed.
31088 * sysdeps/wordsize-64/scandir64.c: File removed.
31089 * sysdeps/wordsize-64/scandirat.c: File removed.
31090 * sysdeps/wordsize-64/scandirat64.c: File removed.
31091 * sysdeps/wordsize-64/versionsort.c: File removed.
31092 * sysdeps/wordsize-64/versionsort64.c: File removed.
31093 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
31094 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
31095 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
31096 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
31097 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
31098 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
31099 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
31100 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
31102 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
31103 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
31104 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
31105 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31106 [defined __arch64__ || defined __sparcv9]
31107 (__INO_T_MATCHES_INO64_T): New macro.
31108 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
31109 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
31110 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
31111 * sysdeps/unix/sysv/linux/bits/dirent.h
31112 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
31113 (_DIRENT_MATCHES_DIRENT64): New macro.
31115 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
31116 Define lockf64 as an alias.
31117 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
31118 Define fseeko64 as an alias.
31119 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
31120 Define ftello64 as an alias.
31121 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
31122 Define _IO_fgetpos64 and fgetpos64 as aliases.
31123 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
31124 Define _IO_fsetpos64 and fsetpos64 as aliases.
31125 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
31126 Conditionalize body on this.
31127 * libio/fseeko64.c: Likewise.
31128 * libio/ftello64.c: Likewise.
31129 * libio/iofgetpos64.c: Likewise.
31130 * libio/iofsetpos64.c: Likewise.
31131 * sysdeps/wordsize-64/lockf.c: File removed.
31132 * sysdeps/wordsize-64/lockf64.c: File removed.
31133 * sysdeps/wordsize-64/fseeko.c: File removed.
31134 * sysdeps/wordsize-64/fseeko64.c: File removed.
31135 * sysdeps/wordsize-64/ftello.c: File removed.
31136 * sysdeps/wordsize-64/ftello64.c: File removed.
31137 * sysdeps/wordsize-64/iofgetpos.c: File removed.
31138 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
31139 * sysdeps/wordsize-64/iofsetpos.c: File removed.
31140 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
31141 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
31142 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
31143 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
31144 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
31145 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
31146 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
31147 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
31148 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
31149 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
31150 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
31152 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
31153 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
31154 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
31155 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31156 [defined __arch64__ || defined __sparcv9]
31157 (__OFF_T_MATCHES_OFF64_T): New macro.
31158 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
31159 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
31160 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
31161 (__OFF_T_MATCHES_OFF64_T): New macro.
31163 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
31165 * stdlib/secure-getenv.c (__secure_getenv): Replace
31166 GLIBC_2_16 with GLIBC_2_17.
31168 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
31170 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
31171 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
31173 2012-08-03 David S. Miller <davem@davemloft.net>
31175 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31177 2012-08-03 Joseph Myers <joseph@codesourcery.com>
31179 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
31181 (__ASSUME_CORRECT_SI_PID): Likewise.
31182 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
31183 (__ASSUME_TMPFS_NAME): Likewise.
31184 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
31185 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
31186 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
31187 (HAVE_AUX_SECURE): Make definition unconditional.
31188 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
31189 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
31191 2012-08-03 Roland McGrath <roland@hack.frob.com>
31193 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
31194 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
31195 * sysdeps/mach/hurd/eloop-threshold.h: New file.
31196 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
31197 __eloop_threshold instead of SYMLOOP_MAX.
31199 * sysdeps/generic/eloop-threshold.h: New file.
31200 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
31202 * elf/chroot_canon.c (chroot_canon): Likewise.
31204 2012-08-03 Joseph Myers <joseph@codesourcery.com>
31207 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
31208 Change to 2.6.0 everywhere.
31209 * sysdeps/unix/sysv/linux/configure: Regenerated.
31210 * sysdeps/unix/sysv/linux/kernel-features.h
31211 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
31212 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
31214 (__ASSUME_POSIX_TIMERS): Define unconditionally.
31215 (__ASSUME_FUTEX_REQUEUE): Remove.
31216 (__ASSUME_STATFS64): Define unconditionally.
31217 (__ASSUME_AT_SECURE): Likewise.
31218 (__ASSUME_CORRECT_SI_PID): Likewise.
31219 (__ASSUME_TGKILL): Define without depending on kernel version for
31221 (__ASSUME_UTIMES): Likewise.
31222 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
31224 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
31225 (__ASSUME_TMPFS_NAME): Likewise.
31226 * README: Update reference to Linux kernel versions.
31228 2012-08-02 Marek Polacek <polacek@redhat.com>
31231 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
31232 libc_cv_asm_type_prefix with %.
31233 * configure: Regenerated.
31234 * include/libc-symbols.h: Remove comment about
31235 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
31236 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
31237 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
31238 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
31239 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
31240 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
31241 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
31242 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
31243 * elf/tst-unique2mod1.c: Likewise.
31244 * elf/tst-unique1mod2.c: Likewise.
31245 * elf/tst-unique1mod1.c: Likewise.
31246 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
31247 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
31248 Replace ASM_TYPE_DIRECTIVE with .type.
31249 * sysdeps/s390/s390-64/sysdep.h: Likewise.
31250 * sysdeps/i386/sysdep.h: Likewise.
31251 * sysdeps/x86_64/sysdep.h: Likewise.
31252 * sysdeps/sh/sysdep.h: Likewise.
31253 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
31254 Do not define ASM_TYPE_DIRECTIVE.
31255 * sysdeps/powerpc/sysdep.h: Likewise.
31256 * sysdeps/powerpc/powerpc32/sysdep.h:
31257 Replace ASM_TYPE_DIRECTIVE with .type.
31258 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
31259 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
31260 * sysdeps/i386/fpu/e_powf.S: Likewise.
31261 * sysdeps/i386/fpu/e_expl.S: Likewise.
31262 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
31263 * sysdeps/i386/fpu/e_acosh.S: Likewise.
31264 * sysdeps/i386/fpu/e_pow.S: Likewise.
31265 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
31266 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
31267 * sysdeps/i386/fpu/s_expm1.S: Likewise.
31268 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
31269 * sysdeps/i386/fpu/e_log2.S: Likewise.
31270 * sysdeps/i386/fpu/e_log2l.S: Likewise.
31271 * sysdeps/i386/fpu/e_scalb.S: Likewise.
31272 * sysdeps/i386/fpu/e_powl.S: Likewise.
31273 * sysdeps/i386/fpu/e_log10f.S: Likewise.
31274 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
31275 * sysdeps/i386/fpu/e_logl.S: Likewise.
31276 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
31277 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
31278 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
31279 * sysdeps/i386/fpu/e_log2f.S: Likewise.
31280 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
31281 * sysdeps/i386/fpu/e_log.S: Likewise.
31282 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
31283 * sysdeps/i386/fpu/e_logf.S: Likewise.
31284 * sysdeps/i386/fpu/e_log10l.S: Likewise.
31285 * sysdeps/i386/fpu/e_atanh.S: Likewise.
31286 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
31287 * sysdeps/i386/fpu/e_log10.S: Likewise.
31288 * sysdeps/i386/fpu/s_frexp.S: Likewise.
31289 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
31290 * sysdeps/i386/fpu/s_asinh.S: Likewise.
31291 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
31292 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
31293 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
31294 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
31295 * sysdeps/i386/i686/strtok.S: Likewise.
31296 * sysdeps/i386/i386-mcount.S: Likewise.
31297 * sysdeps/i386/strtok.S: Likewise.
31298 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
31299 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
31300 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
31301 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
31302 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
31303 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
31304 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
31305 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
31306 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
31307 * sysdeps/x86_64/_mcount.S: Likewise.
31308 * sysdeps/x86_64/strtok.S: Likewise.
31309 * sysdeps/sh/_mcount.S: Likewise.
31311 2012-08-01 Roland McGrath <roland@hack.frob.com>
31313 * libio/iofopen.c: Include <fcntl.h>.
31314 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
31315 (_IO_fopen64, fopen64): Define as aliases.
31316 * libio/iofopen64.c: Include <fcntl.h>.
31317 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
31318 Conditionalize body on this.
31319 * sysdeps/wordsize-64/iofopen.c: File removed.
31320 * sysdeps/wordsize-64/iofopen64.c: File removed.
31322 2012-08-01 Marek Polacek <polacek@redhat.com>
31324 * libc/Makeconfig: Use elf in place of binfmt-subdir.
31325 Use dlfcn directly instead of a variable.
31326 (binfmt-subdir): Do not define.
31329 2012-08-01 Joseph Myers <joseph@codesourcery.com>
31331 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
31332 Remove all definitions.
31333 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
31334 <kernel-features.h>.
31335 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
31336 (miss_F_GETOWN_EX): Remove all definitions.
31337 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
31339 [!__ASSUME_FCNTL64]: Remove conditional code.
31340 [__ASSUME_FCNTL64]: Make code unconditional.
31341 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
31342 <kernel-features.h>.
31343 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
31344 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
31345 (lockf64) [__NR_fcntl64]: Make code unconditional.
31346 (lockf64) [__ASSUME_FCNTL64]: Likewise.
31348 * sysdeps/unix/sysv/linux/kernel-features.h
31349 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
31350 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
31351 Make code unconditional.
31352 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
31353 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
31354 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
31355 [__NR_vfork]: Make code unconditional.
31356 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
31357 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
31358 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
31359 [__NR_vfork]: Make code unconditional.
31360 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
31361 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
31363 2012-08-01 Roland McGrath <roland@hack.frob.com>
31365 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
31366 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
31368 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
31369 Define mkstemp64 as an alias.
31370 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
31371 Define mkstemps64 as an alias.
31372 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
31373 Define mkostemp64 as an alias.
31374 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
31375 Define mkostemps64 as an alias.
31376 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
31377 Conditionalize body on this.
31378 * misc/mkostemp64.c: Likewise.
31379 * misc/mkostemps64.c: Likewise.
31380 * misc/mkstemps64.c: Likewise.
31381 * sysdeps/wordsize-64/mkstemp64.c: File removed.
31382 * sysdeps/wordsize-64/mkostemp64.c: File removed.
31383 * sysdeps/wordsize-64/mkostemp.c: File removed.
31384 * sysdeps/wordsize-64/mkstemp.c: File removed.
31385 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
31386 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
31387 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
31388 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
31391 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
31392 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
31393 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
31394 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
31396 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
31397 compat_symbol macros from <shlib-compat.h> rather than the underlying
31398 default_symbol_version and symbol_version macros, so that DEFAULT
31399 lines in shlib-versions are respected.
31400 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
31402 2012-08-01 Florian Weimer <fweimer@redhat.com>
31404 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
31405 Declare with warn_unused_result.
31406 (setgid, setregid, setegid, setresgid): Likewise.
31407 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
31409 * WUR-REPORT: Remove set*id functions.
31411 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
31413 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
31415 2012-07-31 Roland McGrath <roland@hack.frob.com>
31418 * include/sys/socket.h (__libc_accept, __libc_accept4):
31419 Add attribute_hidden.
31420 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
31422 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
31424 * inet/getnetgrent_r.c (setup): Likewise.
31426 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
31428 2012-07-31 David S. Miller <davem@davemloft.net>
31430 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31432 2012-07-31 Joseph Myers <joseph@codesourcery.com>
31435 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
31436 value between 1.0 and 2.0 and smaller part has absolute value less
31438 * math/s_clog10.c (__clog10): Likewise.
31439 * math/s_clog10f.c (__clog10f): Likewise.
31440 * math/s_clog10l.c (__clog10l): Likewise.
31441 * math/s_clogf.c (__clogf): Likewise.
31442 * math/s_clogl.c (__clogl): Likewise.
31443 * math/libm-test.inc (clog_test): Add more tests.
31444 (clog10_test): Likewise.
31445 * sysdeps/i386/fpu/libm-test-ulps: Update.
31446 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31448 2012-07-31 Florian Weimer <fweimer@redhat.com>
31450 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
31451 Exit with zero in case no suitable GID is found, and write a
31452 message to standard error.
31454 2012-07-30 Roland McGrath <roland@hack.frob.com>
31456 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
31458 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
31459 (MAXPATHLEN): Removed.
31460 (NOGROUP, NODEV): New macros.
31461 (setbit, clrbit, isset, isclr): New macros.
31462 (howmany, roundup, powerof2): New macros.
31463 (DEV_BSIZE): New macro.
31465 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
31466 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
31468 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
31469 definition on [!__NO_LONG_DOUBLE_MATH].
31471 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
31472 PTR_MANGLE and PTR_DEMANGLE.
31474 * socket/accept4.c (accept4): Rename to __libc_accept4.
31475 Define accept4 as a weak alias.
31477 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
31478 on [_DIRENT_HAVE_D_TYPE].
31479 * io/ftw.c (ftw_dir): Likewise.
31481 * io/xmknod.c (__xmknod): Don't check PATH for being null.
31483 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
31485 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
31486 Use the BSD numbers rather than the arbitrary ones we had.
31487 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
31488 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
31489 (SIGXCPU, SIGXFSZ): New macros.
31492 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
31493 initializer on [_LIBC_REENTRANT].
31495 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
31496 definitions inside [_POSIX_MAPPED_FILES].
31498 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
31500 * dirent/opendir.c: Include <fcntl.h>.
31502 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
31503 (__libc_getspecific): Likewise.
31504 (__libc_key_create): Likewise.
31506 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
31507 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
31508 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
31509 (tmpfile64): Define as alias.
31510 * sysdeps/wordsize-64/tmpfile.c: File removed.
31511 * sysdeps/wordsize-64/tmpfile64.c: File removed.
31512 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
31513 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
31515 * stdio-common/vfscanf.c: Include <stdbool.h>.
31516 * nss/makedb.c: Likewise.
31517 * stdio-common/_i18n_number.h: Likewise.
31518 * argp/argp-help.c: Likewise.
31519 * posix/wordexp.c: Likewise.
31520 * sysdeps/posix/spawni.c: Likewise.
31521 * nss/nss_files/files-initgroups.c: Likewise.
31522 * stdio-common/reg-modifier.c: Include <stdlib.h>.
31523 * nss/nss_files/files-initgroups.c: Likewise.
31524 * nss/nss_db/db-netgrp.c: Likewise.
31525 * nss/nss_db/db-initgroups.c: Likewise.
31526 * io/fchmodat.c: Include <sys/stat.h>.
31528 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
31529 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
31531 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
31534 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
31535 Add multiple inclusion protection.
31537 2012-07-27 David S. Miller <davem@davemloft.net>
31539 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31541 2012-07-27 Gary Benson <gbenson@redhat.com>
31544 * elf/rtld.c: Include <stap-probe.h>.
31545 (dl_main): Added static probes "init_start" and "init_complete".
31546 * elf/dl-load.c: Include <stap-probe.h>.
31547 (lose): Take new parameter "nsid".
31548 Added static probe "map_failed".
31549 (_dl_map_object_from_fd): Pass namespace id to lose.
31550 Added static probe "map_start".
31551 (open_verify): Pass namespace id to lose.
31552 * elf/dl-open.c: Include <stap-probe.h>.
31553 (dl_open_worker) Added static probes "map_complete", "reloc_start"
31554 and "reloc_complete".
31555 * elf/dl-close.c: Include <stap-probe.h>.
31556 (_dl_close_worker): Added static probes "unmap_start" and
31558 * elf/rtld-debugger-interface.txt: New file documenting the above.
31560 2012-07-26 Roland McGrath <roland@hack.frob.com>
31562 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
31563 rather than a string variable.
31564 * sunrpc/rpc_main.c (h_output): Likewise.
31565 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
31567 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
31569 * inet/check_native.c: New file.
31571 2012-07-26 Joseph Myers <joseph@codesourcery.com>
31574 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
31575 if larger part has absolute value 1.0.
31576 * math/s_clog10.c (__clog10): Likewise.
31577 * math/s_clog10f.c (__clog10f): Likewise.
31578 * math/s_clog10l.c (__clog10l): Likewise.
31579 * math/s_clogf.c (__clogf): Likewise.
31580 * math/s_clogl.c (__clogl): Likewise.
31581 * math/libm-test.inc (clog_test): Add more tests.
31582 (clog10_test): Likewise.
31583 * sysdeps/i386/fpu/libm-test-ulps: Update.
31584 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31586 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
31587 (pltexit): Likewise.
31588 (La_regs): Likewise.
31589 (La_retval): Likewise.
31590 (int_retval): Likewise.
31591 Update #error for removed macros to refer only to definitions in
31593 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
31595 (pltexit): Likewise.
31596 (La_regs): Likewise.
31597 (La_retval): Likewise.
31598 (int_retval): Likewise.
31599 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
31601 (pltexit): Likewise.
31602 (La_regs): Likewise.
31603 (La_retval): Likewise.
31604 (int_retval): Likewise.
31605 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
31607 (pltexit): Likewise.
31608 (La_regs): Likewise.
31609 (La_retval): Likewise.
31610 (int_retval): Likewise.
31611 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
31613 (pltexit): Likewise.
31614 (La_regs): Likewise.
31615 (La_retval): Likewise.
31616 (int_retval): Likewise.
31617 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
31619 (pltexit): Likewise.
31620 (La_regs): Likewise.
31621 (La_retval): Likewise.
31622 (int_retval): Likewise.
31623 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
31625 (pltexit): Likewise.
31626 (La_regs): Likewise.
31627 (La_retval): Likewise.
31628 (int_retval): Likewise.
31629 * sysdeps/generic/tst-audit.h: Update comment to refer only to
31630 macro definitions in tst-audit.h.
31631 * sysdeps/i386/tst-audit.h: New file.
31632 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
31633 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
31634 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
31635 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
31636 * sysdeps/sh/tst-audit.h: Likewise.
31637 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
31638 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
31639 * sysdeps/x86_64/tst-audit.h: Likewise.
31641 2012-07-26 Andreas Jaeger <aj@suse.de>
31643 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
31646 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
31647 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
31648 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
31650 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
31651 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
31652 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
31654 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
31657 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
31659 (si_call_addr, si_syscall, si_arch): Define new macro.
31660 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
31662 (si_call_addr, si_syscall, si_arch): Define new marcro.
31663 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
31665 (si_call_addr, si_syscall, si_arch): Define new macro.
31666 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
31668 (si_call_addr, si_syscall, si_arch): Define new macro.
31670 2012-07-25 Joseph Myers <joseph@codesourcery.com>
31673 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
31674 Change to 2.4.21 where previously 2.4.1.
31675 * sysdeps/unix/sysv/linux/configure: Regenerated.
31676 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
31677 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
31678 Linux kernel version.
31679 (__ASSUME_STD_AUXV): Remove.
31680 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
31682 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
31683 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
31684 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
31685 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
31686 (__ASSUME_NETLINK_SUPPORT): Likewise.
31687 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
31688 (__no_netlink_support): Remove conditional definition.
31689 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
31691 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
31692 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
31693 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
31694 (if_nameindex_ioctl): Remove.
31695 (if_nameindex_netlink): Do not handle __no_netlink_support.
31696 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
31698 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
31699 Remove conditional code.
31700 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
31702 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
31704 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
31705 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
31706 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
31708 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
31709 [!__ASSUME_STD_AUXV]: Remove conditional code.
31710 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
31711 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
31712 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
31713 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
31714 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
31715 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
31717 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
31718 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
31719 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
31720 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
31722 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
31723 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
31724 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
31726 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
31727 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
31729 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
31730 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
31731 code unconditional.
31732 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31734 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
31736 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31738 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
31739 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
31741 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31743 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
31744 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
31745 code unconditional.
31746 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31748 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
31750 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31752 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
31753 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
31754 code unconditional.
31755 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31757 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
31759 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31762 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
31764 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
31765 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
31766 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
31767 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
31768 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
31769 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
31770 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
31771 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
31772 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
31773 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
31774 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
31775 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
31776 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
31777 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
31778 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
31779 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
31780 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
31781 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
31782 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
31783 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
31784 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
31785 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
31786 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
31788 2012-07-25 Florian Weimer <fweimer@redhat.com>
31790 * Versions.def: Add GLIBC_2.17.
31791 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
31792 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
31793 Introduce __libc_secure_getenv.
31794 * stdlib/Versions (2.17): Add secure_getenv
31795 (GLIBC_PRIVATE): Add __libc_secure_getenv.
31796 * stdlib/secure-getenv.c: Rename __secure_getenv to
31797 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
31798 symbol __secure_getenv for GLIBC_2.0.
31799 * stdlib/tst-secure-getenv.c: New.
31800 * stdlib/Makefile (tests): Add testcase.
31801 * manual/startup.texi (Environment Access): Document
31803 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
31804 __libc_secure_getenv.
31805 * inet/ruserpass.c (ruserpass): Likewise.
31806 * malloc/mtrace.c (mtrace): Likewise.
31807 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
31808 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
31809 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
31810 * sysdeps/posix/tempname.c: Likewise. Evaluate
31811 HAVE_SECURE_GETENV.
31812 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
31813 __secure_getenv to __libc_secure_getenv.
31814 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
31815 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31817 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
31819 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
31820 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
31821 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
31822 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
31823 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
31824 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
31825 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
31827 2012-07-25 Joseph Myers <joseph@codesourcery.com>
31829 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
31830 (struct La_i86_retval): Likewise.
31831 (struct La_x86_64_regs): Likewise.
31832 (struct La_x86_64_retval): Likewise.
31833 (struct La_x32_regs): Likewise.
31834 (struct La_x32_retval): Likewise.
31835 (struct La_ppc32_regs): Likewise.
31836 (struct La_ppc32_retval): Likewise.
31837 (struct La_ppc64_regs): Likewise.
31838 (struct La_ppc64_retval): Likewise.
31839 (struct La_sh_regs): Likewise.
31840 (struct La_sh_retval): Likewise.
31841 (struct La_s390_32_regs): Likewise.
31842 (struct La_s390_32_retval): Likewise.
31843 (struct La_s390_64_regs): Likewise.
31844 (struct La_s390_64_retval): Likewise.
31845 (struct La_sparc32_regs): Likewise.
31846 (struct La_sparc32_retval): Likewise.
31847 (struct La_sparc64_regs): Likewise.
31848 (struct La_sparc64_retval): Likewise.
31849 (struct audit_ifaces): Remove architecture-specific pltenter and
31851 * sysdeps/i386/ldsodefs.h: New file.
31852 * sysdeps/powerpc/ldsodefs.h: Likewise.
31853 * sysdeps/s390/ldsodefs.h: Likewise.
31854 * sysdeps/sh/ldsodefs.h: Likewise.
31855 * sysdeps/sparc/ldsodefs.h: Likewise.
31856 * sysdeps/x86_64/ldsodefs.h: Likewise.
31858 2012-07-25 Marek Polacek <polacek@redhat.com>
31861 * math/libm-test.inc (yn_test): Add another test.
31862 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
31863 to ERANGE when the result is +-Inf.
31864 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
31865 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
31866 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
31867 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
31869 2012-07-24 Joseph Myers <joseph@codesourcery.com>
31871 * conform/data/time.h-data (NULL): Use macro-constant. Require
31873 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
31875 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
31877 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
31879 * configure.in <sysdeps resolving>: Correct printing
31881 * configure: Regenerate.
31883 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
31885 * math/w_ilogb.c: Include <limits.h>.
31886 * math/w_ilogbl.c: Likewise.
31888 2012-07-20 Joseph Myers <joseph@codesourcery.com>
31890 * manual/lang.texi (__va_copy): Document primarily as ISO C99
31891 va_copy. Document allowing for unavailable va_copy only as
31892 pre-C99 compatibility.
31893 * manual/string.texi (Copying and Concatenation): Use va_copy
31894 instead of __va_copy in concat example.
31896 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
31898 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
31899 (__sendto): Use create_address_port. Initialize APORT and deallocate
31902 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
31903 with O_NOLINK passed to __file_name_lookup.
31905 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
31906 with O_NOLINK passed to __file_name_lookup.
31908 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
31909 negative N or less than NGIDS.
31911 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
31912 type to string_t. Set ERANGE as errno and return it if NAME is not big
31913 enough. Use memcpy instead of strncpy.
31915 2012-07-20 Joseph Myers <joseph@codesourcery.com>
31917 * elf/Makefile (check-data): Remove.
31918 (localplt.data): New vpath directive.
31919 ($(objpfx)check-localplt.out): Use localplt.data from vpath
31920 instead of $(check-data).
31921 * scripts/data/localplt-generic.data: Move to ...
31922 * sysdeps/generic/localplt.data: ... here.
31923 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
31924 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
31925 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
31926 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
31928 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
31929 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
31931 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
31932 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
31934 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
31935 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
31937 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
31938 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
31940 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
31941 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
31944 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31946 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
31947 PPC32 and PPC64 files.
31948 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
31949 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
31951 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31953 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
31954 __makecontext_ret to ...
31955 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
31956 ... here and call exit if uc_link is NULL. New file.
31957 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
31958 __makecontext_ret.S.
31959 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
31960 __makecontext_ret to ...
31961 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
31962 ... here and call exit if uc_link is NULL. New file.
31963 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
31964 __makecontext_ret.S.
31966 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31968 * elf/elf.h (R_390_IRELATIVE): New definition.
31969 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
31970 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
31971 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
31972 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
31973 (elf_machine_lazy_rel): Likewise.
31974 * sysdeps/s390/dl-irel.h: New file.
31975 * sysdeps/s390/s390-64/memcpy.S: New asm code.
31976 * sysdeps/s390/s390-64/memset.S: New asm code.
31977 * sysdeps/s390/s390-64/memcmp.S: New asm code.
31978 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
31979 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
31980 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
31981 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
31982 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
31983 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
31984 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
31985 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
31986 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
31987 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
31988 * sysdeps/s390/s390-32/memcpy.S: New asm code.
31989 * sysdeps/s390/s390-32/memset.S: New asm code.
31990 * sysdeps/s390/s390-32/memcmp.S: New asm code.
31992 2012-07-17 Marek Polacek <polacek@redhat.com>
31995 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
31996 * sysdeps/s390/s390-64/configure.in: Likewise.
31997 * sysdeps/sparc/configure.in: Likewise.
31998 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
31999 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
32000 * sysdeps/i386/configure.in: Likewise.
32001 * sysdeps/x86_64/configure.in: Likewise.
32002 * sysdeps/sh/configure.in: Likewise.
32003 * sysdeps/s390/s390-32/configure: Regenerated.
32004 * sysdeps/s390/s390-64/configure: Likewise.
32005 * sysdeps/x86_64/configure: Likewise.
32006 * sysdeps/sh/configure: Likewise.
32007 * sysdeps/powerpc/powerpc64/configure: Likewise.
32008 * sysdeps/powerpc/powerpc32/configure: Likewise.
32009 * sysdeps/sparc/configure: Likwise.
32010 * sysdeps/i386/configure: Likewise.
32012 * elf/dl-open.c: Comment fixes.
32014 2012-07-17 Joseph Myers <joseph@codesourcery.com>
32016 * Makefile [CXX] (check-data): Remove.
32017 [CXX] (c++-types.data): New vpath directive.
32018 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
32019 vpath. Do not allow for C++ type data being missing.
32020 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
32021 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
32022 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
32023 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
32024 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
32025 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
32026 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
32027 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
32029 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
32030 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
32032 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
32033 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
32035 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
32036 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
32038 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
32039 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
32041 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
32042 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
32044 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
32045 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
32047 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
32048 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
32050 * elf/tls-macros.h (TLS_LE): Move architecture-specific
32051 definitions to architecture-specific files.
32052 (TLS_IE): Likewise.
32053 (TLS_LD): Likewise.
32054 (TLS_GD): Likewise.
32055 * sysdeps/i386/tls-macros.h: New file.
32056 * sysdeps/powerpc/tls-macros.h: Likewise.
32057 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
32058 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
32059 * sysdeps/sh/tls-macros.h: Likewise.
32060 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
32061 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
32062 * sysdeps/x86_64/tls-macros.h: Likewise.
32064 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
32066 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
32067 zero value for regular exit case.
32069 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
32070 (__start_context): Preserve zero value for regular exit case.
32072 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
32073 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32075 * manual/setjmp.texi (setcontext): Clarify normal process
32076 termination when uc_link is the null pointer.
32077 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
32080 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
32082 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
32083 preprocessor. Test for each exception mask separately.
32085 2012-07-16 Andreas Jaeger <aj@suse.de>
32087 * po/ru.po: Update from translation team.
32089 2012-07-15 Joseph Myers <joseph@codesourcery.com>
32091 * conform/data/string.h-data (NULL): Use macro-constant. Require
32093 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
32094 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
32095 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
32096 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
32097 [ISO || ISO99 || ISO11] (*_t): Do not allow.
32099 2012-07-13 Andreas Jaeger <aj@suse.de>
32101 * po/fr.po: Update from translation team.
32103 2012-07-12 Marek Polacek <polacek@redhat.com>
32106 * math/libm-test.inc (yn_test): Add test for BZ #14173.
32107 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
32110 2012-07-12 Joseph Myers <joseph@codesourcery.com>
32113 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
32114 Change to 2.4.1 where previously 2.4.0.
32115 * sysdeps/unix/sysv/linux/configure: Regenerated.
32116 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
32117 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
32119 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
32120 (__ASSUME_AT_CLKTCK): Remove.
32121 (__ASSUME_AT_PAGESIZE): Likewise.
32122 (__ASSUME_AT_XID): Likewise.
32123 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
32124 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
32125 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
32127 (HAVE_AUX_PAGESIZE): Likewise.
32128 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
32129 [__ASSUME_AT_CLKTCK]: Make code unconditional.
32130 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
32132 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
32135 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
32136 the temporary buffer used to invoke __gethostbyname2_r,
32137 __gethostbyaddr_r and gethostbyname4_r to make room for struct
32138 host_data / struct gaih_addrtuple.
32139 * resolv/nss_dns/dns-host.c (global scope): Move definition of
32140 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
32141 header file nss/nsswitch.h.
32142 * nss/nsswitch.h (global scope): Add definition of implementation
32143 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
32144 resolv/nss_dns/dns-host.c).
32146 2012-07-11 Andreas Jaeger <aj@suse.de>
32148 * po/fr.po: Update from translation team.
32150 * po/sv.po: Update from translation team
32151 * po/fr.po: Another update from translation team.
32153 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32155 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
32156 for subnormals or multiply small sinh result by itself.
32157 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
32158 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32160 2012-07-11 David S. Miller <davem@davemloft.net>
32162 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32164 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
32167 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
32168 (INTERNAL_MARK): Shift it here.
32170 2012-07-10 Marek Polacek <polacek@redhat.com>
32173 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
32174 libc_cv_asm_global_directive with .globl.
32175 * configure: Regenerated.
32176 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
32178 * sysdeps/i386/configure: Regenerated.
32179 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
32181 * sysdeps/x86_64/configure: Regenerated.
32182 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
32183 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
32184 * elf/tst-unique2mod2.c: Likewise.
32185 * elf/tst-unique2mod1.c: Likewise.
32186 * elf/tst-unique1mod2.c: Likewise.
32187 * elf/tst-unique1mod1.c: Likewise.
32188 * sysdeps/s390/s390-32/sysdep.h: Likewise.
32189 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
32190 * sysdeps/s390/s390-64/sysdep.h: Likewise.
32191 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
32192 * sysdeps/mach/sysdep.h: Likewise.
32193 * sysdeps/i386/sysdep.h: Likewise.
32194 * sysdeps/i386/i386-mcount.S: Likewise.
32195 * sysdeps/x86_64/_mcount.S: Likewise.
32196 * sysdeps/x86_64/sysdep.h: Likewise.
32197 * sysdeps/sh/_mcount.S: Likewise.
32198 * sysdeps/sh/sysdep.h: Likewise.
32199 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
32200 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
32201 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
32202 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
32203 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
32204 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
32205 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
32206 * locale/localeinfo.h: Likewise.
32207 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
32208 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
32210 2012-07-09 Roland McGrath <roland@hack.frob.com>
32213 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
32215 * manual/message.texi (The Uniforum approach): Likewise.
32216 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
32217 (glibc iconv Implementation): Likewise.
32219 2012-07-09 Joseph Myers <joseph@codesourcery.com>
32222 * math/s_clog.c (__clog): Avoid scaling a value down where that
32223 could result in underflow.
32224 * math/s_clog10.c (__clog10): Likewise.
32225 * math/s_clog10f.c (__clog10f): Likewise.
32226 * math/s_clog10l.c (__clog10l): Likewise.
32227 * math/s_clogf.c (__clogf): Likewise.
32228 * math/s_clogl.c (__clogl): Likewise.
32229 * math/libm-test.inc (clog_test): Add more tests.
32230 (clog10_test): Likewise.
32231 * sysdeps/i386/fpu/libm-test-ulps: Update.
32232 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32234 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
32237 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
32238 by 7 not 8 to examine high bit of fractional part.
32241 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
32242 for call to __mcount_internal.
32243 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
32244 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
32245 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
32247 2012-07-06 Joseph Myers <joseph@codesourcery.com>
32250 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
32251 approximation for values within 0x1p-13f of an odd multiple of
32253 * math/libm-test.inc (tan_test): Do not allow spurious underflow
32254 exception. Add more tests.
32255 * sysdeps/i386/fpu/libm-test-ulps: Update.
32258 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
32259 inputs and return -1 for them. Do not check for +Inf in case not
32260 reachable for +Inf.
32261 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
32262 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
32263 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
32264 and return -1 for them. Do not check for +Inf in case not
32265 reachable for +Inf.
32266 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
32268 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
32269 and return -1 for them. Do not check for +Inf in case not
32270 reachable for +Inf.
32271 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
32272 spurious underflow.
32273 * sysdeps/i386/fpu/libm-test-ulps: Update.
32274 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32276 2012-07-06 Mike Frysinger <vapier@gentoo.org>
32278 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
32280 2012-07-05 Joseph Myers <joseph@codesourcery.com>
32284 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
32285 could result in spurious underflow. Scale down values above
32286 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
32287 * math/s_csqrtf.c (__csqrtf): Likewise.
32288 * math/s_csqrtl.c (__csqrtl): Likewise.
32289 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
32290 spurious underflow.
32291 * sysdeps/i386/fpu/libm-test-ulps: Update.
32292 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32294 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
32296 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
32298 * catgets/xopen-msg.awk: New file.
32299 * catgets/xopen-msg.sed: Removed.
32301 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
32303 * intl/po2test.awk: New file.
32304 * intl/po2test.sed: Removed.
32306 2012-07-04 Joseph Myers <joseph@codesourcery.com>
32309 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
32310 or multiply small sinh result by itself.
32311 * math/s_ctanf.c (__ctanf): Likewise.
32312 * math/s_ctanh.c (__ctanh): Likewise.
32313 * math/s_ctanhf.c (__ctanhf): Likewise.
32314 * math/s_ctanhl.c (__ctanhl): Likewise.
32315 * math/s_ctanl.c (__ctanl): Likewise.
32316 * math/libm-test.inc (ctan_test_tonearest): New function.
32317 (ctan_test_towardzero): Likewise.
32318 (ctan_test_downward): Likewise.
32319 (ctan_test_upward): Likewise.
32320 (ctanh_test_tonearest): Likewise.
32321 (ctanh_test_towardzero): Likewise.
32322 (ctanh_test_downward): Likewise.
32323 (ctanh_test_upward): Likewise.
32324 (main): Call these new functions.
32325 * sysdeps/i386/fpu/libm-test-ulps: Update.
32326 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32328 2012-07-03 Mike Frysinger <vapier@gentoo.org>
32330 * .gitignore: Delete /ports entry.
32332 2012-07-03 Andreas Jaeger <aj@suse.de>
32334 * po/bg.po: Update from translation team.
32335 * po/cs.po: Likewise.
32336 * po/de.po: Likewise.
32337 * po/hr.po: Likewise.
32338 * po/nl.pl: Likewise.
32339 * po/pl.po: Likewise.
32340 * po/vi.po: Likewise.
32342 2012-07-03 Joseph Myers <joseph@codesourcery.com>
32344 * Makeconfig [!+link] (+link-before-libc): New variable.
32345 [!+link] (+link-after-libc): Likewise.
32346 [!+link] (+link-tests): Likewise.
32347 [!+link] (+link): Define in terms of $(+link-before-libc) and
32348 $(+link-after-libc).
32349 [!+link-static] (+link-static-before-libc): New variable.
32350 [!+link-static] (+link-static-after-libc): Likewise.
32351 [!+link-static] (+link-static-tests): Likewise.
32352 [!+link-static] (+link-static): Define in terms of
32353 $(+link-static-before-libc) and $(+link-static-after-libc).
32354 [build-shared] (link-libc-before-gnulib): New variable.
32355 [build-shared] (link-libc-tests): Likewise.
32356 [build-shared] (link-libc): Define in terms of
32357 $(link-libc-before-gnulib).
32358 [!build-shared] (link-libc-tests): New variable.
32359 (link-libc-static-tests): New variable.
32360 [!gnulib] (gnulib-arch): New variable.
32361 [!gnulib] (gnulib-tests): Likewise.
32362 [!gnulib] (static-gnulib-arch): Likewise.
32363 [!gnulib] (static-gnulib-tests): Likewise.
32364 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
32365 Define with "=" instead of ":=".
32366 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
32367 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
32368 * Rules (binaries-all-notests): New variable.
32369 (binaries-all-tests): Likewise.
32370 (binaries-static-notests): Likewise.
32371 (binaries-static-tests): Likewise.
32372 (binaries-all): Define using $(binaries-all-notests) and
32373 $(binaries-all-tests).
32374 (binaries-static): Define using $(binaries-static-notests) and
32375 $(binaries-static-tests).
32376 (binaries-shared-tests): New variable.
32377 (binaries-shared-notests): Likewise.
32378 (binaries-shared): Remove variable.
32379 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
32380 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
32381 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
32382 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
32383 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
32384 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
32385 * elf/Makefile (sln-modules): New variable.
32386 (extra-objs): Add $(sln-modules:=.o).
32387 (ldconfig-modules): Add static-stubs.
32388 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
32389 * elf/static-stubs.c: New file.
32392 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
32393 by 7 not 8 to examine high bit of fractional part. Use volatile
32394 variables when splitting into final array of floats if
32395 __FLT_EVAL_METHOD__ != 0.
32396 * math/libm-test.inc (cos_test): Add another test.
32397 (sin_test): Likewise.
32398 * sysdeps/i386/fpu/libm-test-ulps: Update.
32401 * math/libm-test.inc (cosh_test): Add more tests.
32403 * version.h (RELEASE): Set to "development".
32404 (VERSION): Set to "2.16.90".
32406 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
32408 * NEWS: Update copyright. Remove last-updated date.
32409 Mention math library bug fixes and timezone data changes.
32410 * README: Mention GNU/Hurd, x32, and HPPA support status.
32412 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
32414 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
32416 2012-06-27 Andreas Jaeger <aj@suse.de>
32418 * manual/contrib.texi (Contributors): Add Samuel Thibault.
32420 2012-06-25 Andreas Jaeger <aj@suse.de>
32422 * sysdeps/s390/fpu/libm-test-ulps: Update.
32424 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
32425 Thomas Schwinge <thomas@codesourcery.com>
32427 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
32428 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
32429 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
32432 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
32434 * sysdeps/mach/start.c: Remove file.
32435 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
32436 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
32437 * sysdeps/sh/init-first.c: Likewise.
32439 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
32440 registers for frame unwinding purposes, add CFI directives.
32441 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
32442 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
32443 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
32446 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
32447 __fortify_fail returning.
32448 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
32450 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
32451 sysdeps/sh/____longjmp_chk.S.
32452 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
32453 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
32454 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
32455 (gen-as-const-headers): Append sigaltstack-offsets.sym.
32457 * sysdeps/sh/abort-instr.h: New file.
32458 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
32459 process in case exit returns.
32461 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
32462 initialize the GOT register before use.
32464 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
32465 calculation of ARGC > 4.
32467 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
32468 meaningful names to some local labels.
32470 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
32471 Kaz Kojima <kkojima@rr.iij4u.or.jp>
32473 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
32474 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
32475 (__arch_compare_and_exchange_val_16_acq): Likewise.
32476 (__arch_compare_and_exchange_val_32_acq): Likewise.
32477 (atomic_exchange_and_add): Fix gUSA sequence.
32478 (atomic_add): Likewise.
32479 (atomic_add_negative): Likewise.
32480 (atomic_add_zero): Likewise.
32481 (atomic_bit_test_set): Likewise.
32483 2012-06-22 Andreas Schwab <schwab@redhat.com>
32486 * include/link.h (struct link_map): Add l_free_initfini.
32487 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
32489 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
32490 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
32491 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
32494 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
32496 * configure.in: Use AC_LANG_SOURCE.
32497 * configure: Regenerate.
32499 2012-06-22 Roland McGrath <roland@hack.frob.com>
32501 * configure.in (libc_cv_localstatedir): New substituted variable.
32502 * configure: Regenerated.
32503 * config.make.in (localstatedir): New variable, substituted from
32504 libc_cv_localstatedir.
32505 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
32506 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
32507 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
32508 * sysdeps/gnu/configure: Regenerated.
32510 2012-06-21 Jeff Law <law@redhat.com>
32513 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
32514 free. Simplify list management for _LIBC case.
32516 2012-06-21 Joseph Myers <joseph@codesourcery.com>
32519 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
32520 Clear sign bit of 64-bit integer value before comparing against
32523 * sysdeps/mach/configure: Regenerated.
32525 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
32528 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
32530 2012-06-21 Jeff Law <law@redhat.com>
32533 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
32534 uint16_t for elements in the "seen" array to avoid char overflows.
32535 * elf/dl-fini.c (_dl_sort_fini): Likewise.
32536 * elf/dl-open.c (dl_open_worker): Likewise.
32538 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
32540 * scripts/list-sources.sh: Scan PORTS for translations.
32541 * po/libc.pot: Regenerated.
32543 2012-06-21 Andreas Jaeger <aj@suse.de>
32546 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
32548 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
32549 * bits/byteswap-16.h (__bswap_16): Likewise.
32550 * bits/byteswap.h (__bswap_constant_16): Likewise.
32552 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
32555 * sysdeps/i386/fpu_control.h: Removed.
32556 * sysdeps/x86_64/fpu_control.h: Moved to ...
32557 * sysdeps/x86/fpu_control.h: Here.
32559 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
32560 (_FPU_SETCW): Likewise.
32562 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
32565 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
32566 * sysdeps/x86/fpu/bits/mathinline.h: This.
32567 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
32571 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
32572 functions if __x86_64__ is defined.
32574 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
32576 * string/endian.h: Add !__ASSEMBLER__ condition for including
32577 conversion interfaces.
32579 2012-06-15 Joseph Myers <joseph@codesourcery.com>
32582 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
32583 of ABS(x) in calculating zero to negative powers other than odd
32585 * math/libm-test.inc (pow_test): Add more tests.
32587 2012-06-15 Andreas Jaeger <aj@suse.de>
32589 * manual/contrib.texi (Contributors): Update entry of Liubov
32590 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
32593 2012-06-15 Cyril Hrubis <metan@ucw.cz>
32595 * string/string.h: Add __wur to GNU version of strerror_r.
32597 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
32600 * string/Makefile (tests): Add tst-strtok_r.
32601 * string/tst-strtok_r.c: New file.
32602 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
32603 RAX_LP/RDX_LP on SAVE_PTR.
32605 2012-06-14 Roland McGrath <roland@hack.frob.com>
32607 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
32609 2012-06-14 Joseph Myers <joseph@codesourcery.com>
32611 * libm_test.inc (csqrt_test): Allow more spurious underflow
32613 (j0_test): Likewise.
32614 (j1_test): Likewise.
32615 (y0_test): Likewise.
32616 (y1_test): Likewise.
32618 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
32620 * po/Makefile (libc.pot): Use UTF-8 charset.
32622 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
32625 Suppress sign-conversion warning from FD_SET.
32626 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
32627 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
32628 not unsigned long int.
32629 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
32631 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
32635 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
32636 __extern_always_inline instead of __extern_inline.
32637 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
32638 (__signbit): Likewise.
32639 (__signbitl): Support C++ namespace.
32640 (lrintf): New inline function.
32642 (llrintf): Likewise.
32643 (llrint): Likewise.
32653 (floorf): Likewise.
32654 (nearbyint): Likewise.
32655 (nearbyintf): Likewise.
32657 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
32659 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
32660 non-default versions.
32662 2012-06-11 Roland McGrath <roland@hack.frob.com>
32665 * manual/argp.texi (Argp): Reword argp_parse description slightly.
32667 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
32669 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
32670 (FE_UPWARD, FE_DOWNWARD): Don't define.
32671 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
32672 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
32674 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
32676 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
32677 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
32679 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
32681 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
32682 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
32683 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
32684 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
32686 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
32689 * sysdeps/i386/fpu/bits/fenv.h: Removed.
32690 * sysdeps/i386/fpu/Implies: New file.
32691 * sysdeps/x86_64/fpu/Implies: Likewise.
32692 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
32693 * sysdeps/x86/fpu/bits/fenv.h: This.
32695 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
32698 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
32701 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
32702 character 0xffff that matches the last element of the
32705 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32707 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
32710 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32712 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
32713 values higher than 25.6283.
32715 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32717 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
32718 subnormal exponent extraction and add some __builtin_expect.
32719 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
32720 Fix for subnormal mantissa calculation.
32722 2012-06-04 Mike Frysinger <vapier@gentoo.org>
32724 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
32725 cpu2 is -1 and errno is not ENOSYS.
32727 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
32730 * sysdeps/i386/i486/bits/string.h: Renamed to ...
32731 * sysdeps/x86/bits/string.h: This.
32732 * sysdeps/x86_64/bits/string.h: Removed.
32734 * sysdeps/i386/i486/bits/string.h: Define inline functions only
32735 if not compiling for x86-64, but compiling for >= i486.
32737 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
32738 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
32740 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
32741 New macro from Linux kernel 3.4.0.
32742 (FP_XSTATE_MAGIC2): Likewise.
32743 (FP_XSTATE_MAGIC2_SIZE): Likewise.
32744 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
32745 (struct _fpx_sw_bytes): New struct.
32746 (struct _xsave_hdr): Likewise.
32747 (struct _ymmh_state): Likewise.
32748 (struct _xstate): Likewise.
32750 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
32751 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
32752 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
32753 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
32754 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
32755 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
32757 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
32758 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
32759 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
32760 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
32761 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
32762 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
32764 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32767 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
32768 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
32769 (sysdep_headers): Include sys/platform/ppc.h.
32770 * sysdeps/powerpc/test-gettimebase.c: Test for
32771 __ppc_get_timebase() to catch future ISA opcode/insn changes.
32772 * manual/Makefile (appendices): Include platform.texi.
32773 * manual/contrib.texi (Contributors): Update @node pointers.
32774 * manual/maint.texi (Maintenance): Likewise.
32775 (Platform): New node.
32776 * manual/platform.texi: New file. Document the new features.
32778 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
32779 Jakub Jelinek <jakub@redhat.com>
32782 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
32783 where __builtin_expect is unavailable.
32785 2012-06-03 David S. Miller <davem@davemloft.net>
32787 * stdlib/longlong.h: Updated from GCC.
32789 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
32792 * sysdeps/powerpc/powerpc32/mcount.c: New file.
32793 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
32795 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
32796 (GLIBC_2.16): Likewise.
32798 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
32800 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
32802 2012-06-01 Joseph Myers <joseph@codesourcery.com>
32804 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
32805 (default-abi): New variable.
32806 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
32807 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
32809 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
32811 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
32813 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
32816 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
32817 definition. Document in comment.
32819 2012-06-01 David S. Miller <davem@davemloft.net>
32821 * stdlib/longlong.h: Updated from GCC.
32823 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
32826 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
32827 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
32828 sys/debugreg.h sys/io.h here.
32829 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
32830 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
32832 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
32833 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
32834 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
32835 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
32836 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
32837 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
32839 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
32840 Define only if __x86_64__ is defined.
32842 2012-06-01 Joseph Myers <joseph@codesourcery.com>
32845 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
32846 Use int64_t for variable i.
32847 * math/libm-test.inc (fmod_test): Add more tests.
32849 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
32850 z computation is not scheduled after fetestexcept.
32851 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
32852 Use math_force_eval instead of asm to ensure calculation scheduled
32853 before exception test.
32854 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
32855 Ensure a1 + u.d computation is not scheduled after fetestexcept.
32857 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
32859 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
32860 computation is not scheduled after fetestexcept.
32862 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
32865 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
32866 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
32868 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32870 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
32871 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
32873 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
32876 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
32878 (__WCHAR_MIN): Support __WORDSIZE == 64.
32879 (__WCHAR_MAX): Likewise.
32881 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
32882 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
32885 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
32886 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
32889 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
32890 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
32892 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
32893 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
32895 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
32896 Defined to 1 if __x86_64__ isn't defined.
32897 (_STAT_VER_LINUX_OLD): New.
32898 (st_atime): Remove duplicate.
32899 (st_mtime): Likewise.
32900 (st_ctime): Likewise.
32902 2012-05-31 David S. Miller <davem@davemloft.net>
32904 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
32907 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
32909 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
32913 * elf/dl-reloc.c: Include <_itoa.h>.
32914 (_dl_reloc_bad_type): Remove use of INTUSE.
32915 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
32916 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
32917 * stdio-common/psiginfo.c (psiginfo): Likewise.
32918 * stdio-common/psignal.c (psignal): Likewise.
32919 * string/strsignal.c (strsignal): Likewise.
32920 * include/signal.h (_sys_siglist): Declare hidden proto.
32921 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
32922 INTVARDEF with libc_hidden_data_def.
32923 * stdio-common/itoa-udigits.c: Likewise.
32924 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
32925 (_itoa_lower_digits_internal): Remove declaration.
32926 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
32927 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
32928 (_sys_sigabbrev_internal): Remove aliases.
32929 (_sys_siglist): Define hidden alias.
32931 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
32933 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32936 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
32939 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
32940 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
32942 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
32943 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
32944 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
32945 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
32946 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
32947 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
32949 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
32950 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
32951 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
32953 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
32961 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
32962 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
32963 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
32965 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
32966 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
32967 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
32968 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
32969 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
32970 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
32972 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
32973 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
32975 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
32976 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
32978 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
32979 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
32980 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
32982 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
32983 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
32985 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
32987 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
32988 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
32989 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
32991 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
32993 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
32995 2012-05-31 Joseph Myers <joseph@codesourcery.com>
32997 * math/math.h (M_El): Use two more decimal places.
32998 (M_LOG2El): Likewise.
32999 (M_LOG10El): Likewise.
33000 (M_LN2l): Likewise.
33001 (M_LN10l): Likewise.
33003 (M_PI_2l): Likewise.
33004 (M_PI_4l): Likewise.
33005 (M_1_PIl): Likewise.
33006 (M_2_PIl): Likewise.
33007 (M_2_SQRTPIl): Likewise.
33008 (M_SQRT2l): Likewise.
33009 (M_SQRT1_2l): Likewise.
33011 2012-05-31 David S. Miller <davem@davemloft.net>
33013 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
33014 values between float registers.
33015 * sysdeps/sparc/sparc64/memset.S: Likewise.
33016 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
33018 2012-05-31 Mike Frysinger <vapier@gentoo.org>
33020 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
33021 -D_FORTIFY_SOURCE=1.
33022 (CPPFLAGS-tst-longjmp_chk.c): Define.
33023 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
33024 (CPPFLAGS-tst-longjmp_chk2.c): Define.
33025 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
33026 CFLAGS-tst-wchar-h.c.
33028 2012-05-31 Marek Polacek <polacek@redhat.com>
33031 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
33032 __endmntent_internal): Remove declaration.
33033 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
33034 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
33035 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
33037 2012-05-30 David S. Miller <davem@davemloft.net>
33039 * sysdeps/sparc/sparc32/soft-fp/q_util.c
33040 (___Q_simulate_exceptions): Use real FP ops rather than writing
33042 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
33045 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
33048 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
33049 * sysdeps/x86/bits/xtitypes.h: This.
33051 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
33052 * sysdeps/x86/bits/wordsize.h: This.
33054 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
33055 * sysdeps/x86/bits/huge_vall.h: This.
33057 * sysdeps/i386/bits/select.h: Removed.
33058 * sysdeps/x86_64/bits/select.h: Renamed to ...
33059 * sysdeps/x86/bits/select.h: This.
33061 * sysdeps/i386/bits/setjmp.h: Removed.
33062 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
33063 * sysdeps/x86/bits/setjmp.h: This.
33065 * sysdeps/i386/bits/mathdef.h: Removed.
33066 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
33067 * sysdeps/x86/bits/mathdef.h: This.
33069 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
33072 * include/sys/socket.h (__connect_internal)
33073 (__libc_sa_len_internal): Remove declaration.
33074 (__connect, __libc_sa_len): Declare hidden_proto.
33075 (SA_LEN): Remove use of INTUSE.
33076 * socket/connect.c: Add libc_hidden_def.
33077 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
33078 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
33079 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
33081 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
33082 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
33083 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
33084 of adding _internal alias.
33086 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
33089 * sysdeps/i386/bits/link.h: Removed.
33090 * sysdeps/i386/bits/linkmap.h: Likewise.
33091 * sysdeps/x86_64/bits/link.h: Renamed to ...
33092 * sysdeps/x86/bits/link.h: This.
33093 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
33094 * sysdeps/x86/bits/linkmap.h: This.
33096 * sysdeps/i386/bits/endian.h: Removed.
33097 * sysdeps/x86_64/bits/endian.h: Renamed to ...
33098 * sysdeps/x86/bits/endian.h: This.
33100 * sysdeps/i386/bits/byteswap.h: Removed.
33101 * sysdeps/i386/bits/byteswap-16.h: Likewise.
33102 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
33103 * sysdeps/x86/bits/byteswap.h: This.
33104 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
33105 * sysdeps/x86/bits/byteswap-16.h: This.
33106 * sysdeps/i386/Implies: Add x86.
33107 * sysdeps/x86_64/Implies: Likewise.
33109 2012-05-30 David S. Miller <davem@davemloft.net>
33111 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
33112 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
33113 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
33114 (FP_TRAPPING_EXCEPTIONS): Define.
33115 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
33116 (FP_TRAPPING_EXCEPTIONS): Define.
33117 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
33118 subnormals only when inexact has been signalled or underflow
33119 exceptions are enabled.
33120 (_FP_PACK_CANONICAL): Likewise.
33122 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
33125 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
33126 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
33128 2012-05-30 Richard Henderson <rth@twiddle.net>
33130 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
33131 with #ifndef NOT_IN_libc.
33133 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
33134 marked to avoid plt entry.
33136 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
33139 * Makeconfig (default-abi): New macro.
33140 (abi-includes): Likewise.
33141 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
33142 $(abi-$(default-abi)-lib-soname) for soname if defined.
33143 ($(common-objpfx)gnu/lib-names.stmp): Generate from
33145 * Makefile (installed-stubs): Likewise.
33146 * include/stubs-biarch.h: Removed.
33147 * scripts/lib-names.awk: Only handle one library at a time.
33148 * scripts/soversions.awk: Remove WORDSIZE support.
33149 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
33151 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
33153 (syscall-list-default-condition): Likewise.
33154 (syscall-list-default-condition): Likewise.
33155 (syscall-list-includes): Likewise.
33156 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
33157 syscall-list-* with abi-*. Handle undefined abi-variants.
33158 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
33159 * sysdeps/unix/sysv/linux/i386/Implies: New file.
33160 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
33161 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
33162 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
33163 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
33165 (syscall-list-32-options): Likewise.
33166 (syscall-list-32-condition): Likewise.
33167 (syscall-list-64-options): Likewise.
33168 (syscall-list-64-condition): Likewise.
33169 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
33171 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
33174 (abi-64-ld-soname): New macro.
33175 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
33176 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
33179 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
33180 * sysdeps/x86_64/x32/shlib-versions: Likewise.
33182 2012-05-30 Joseph Myers <joseph@codesourcery.com>
33184 * sysdeps/unix/sysv/linux/kernel-features.h
33185 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
33186 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
33187 include <kernel-features.h>.
33188 [!__NR_ftruncate64]: Remove conditional code.
33189 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33190 [__NR_ftruncate64]: Make code unconditional.
33191 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33192 * sysdeps/unix/sysv/linux/truncate64.c: Do not
33193 include <kernel-features.h>.
33194 [!__NR_ftruncate64]: Remove conditional code.
33195 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33196 [__NR_ftruncate64]: Make code unconditional.
33197 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33198 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
33199 include <kernel-features.h>.
33200 [!__NR_ftruncate64]: Remove conditional code.
33201 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33202 [__NR_ftruncate64]: Make code unconditional.
33203 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33204 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
33205 include <kernel-features.h>.
33206 [!__NR_ftruncate64]: Remove conditional code.
33207 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33208 [__NR_ftruncate64]: Make code unconditional.
33209 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33211 * configure.in (libc_cv_fpie): Weaken to a compile test using
33212 LIBC_TRY_CC_OPTION.
33213 * configure: Regenerated.
33215 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33217 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
33218 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
33219 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
33220 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
33222 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
33223 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
33224 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
33225 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
33226 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
33227 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
33230 2012-05-27 David S. Miller <davem@davemloft.net>
33232 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
33234 (__Q_simulate_exceptions): Return void. Change to simulate
33235 exceptions by writing into the %fsr.
33236 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
33237 (__Qp_handle_exceptions): Likewise.
33239 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
33240 __Qp_handle_exceptions.
33241 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
33242 __Qp_handle_exceptions.
33243 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
33244 as unused and give dummy FP_RND_NEAREST initializer.
33245 (FP_INHIBIT_RESULTS): Define.
33246 (___Q_simulate_exceptions): Update declaration.
33247 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
33249 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
33250 as unused and give dummy FP_RND_NEAREST initializer.
33251 (__Qp_handle_exceptions): Update declaration.
33252 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
33255 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
33257 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
33258 the temporary FPU control word.
33259 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
33260 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
33261 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
33262 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
33263 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
33264 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
33265 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
33266 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
33267 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
33268 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
33269 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
33271 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
33273 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
33276 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
33278 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
33279 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
33280 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
33281 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
33283 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
33284 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
33287 2012-05-27 Ulrich Drepper <drepper@gmail.com>
33289 * po/h.po: Update from translation team.
33291 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
33293 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
33295 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
33296 handling of denormals.
33297 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
33298 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
33299 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
33300 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
33301 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
33302 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
33303 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
33306 2012-05-26 Marek Polacek <polacek@redhat.com>
33309 * math/libm-test.inc (fma_test): Don't always expect underflow
33312 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
33315 * elf/tst-execstack.c: Include stackinfo.h.
33316 (do_test): Adjust test case to ensure that pthread_getattr_np
33317 behaviour remains the same after marking stack executable.
33319 2012-05-25 Joseph Myers <joseph@codesourcery.com>
33321 * sysdeps/unix/sysv/linux/kernel-features.h
33322 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
33323 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
33325 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
33326 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
33327 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
33329 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
33330 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
33332 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
33334 * configure.in: Define the default includes to being none.
33335 * configure: Regenerated.
33337 2012-05-25 Roland McGrath <roland@hack.frob.com>
33339 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
33340 * sysdeps/x86_64/setjmp.S: Likewise.
33341 * sysdeps/i386/bsd-setjmp.S: Likewise.
33342 * sysdeps/i386/bsd-_setjmp.S: Likewise.
33343 * sysdeps/i386/setjmp.S: Likewise.
33344 * sysdeps/i386/__longjmp.S: Likewise.
33345 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
33346 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
33348 * include/stap-probe.h: New file.
33349 * configure.in: Handle --enable-systemtap.
33350 * configure: Regenerated.
33351 * config.h.in (USE_STAP_PROBE): New #undef.
33352 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
33353 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
33354 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
33356 2012-05-25 Joseph Myers <joseph@codesourcery.com>
33359 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
33360 to 2.4.0 where earlier.
33361 * sysdeps/unix/sysv/linux/configure: Regenerated.
33362 * sysdeps/unix/sysv/linux/i386/chown.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/fchown.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/fchownat.c (fchownat)
33371 [__ASSUME_32BITUIDS]: Make code unconditional.
33372 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
33373 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
33374 <kernel-features.h>.
33375 [__ASSUME_32BITUIDS]: Make code unconditional.
33376 [!__ASSUME_32BITUIDS]: Remove conditional code.
33377 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
33378 <kernel-features.h>.
33379 [__ASSUME_32BITUIDS]: Make code unconditional.
33380 [!__ASSUME_32BITUIDS]: Remove conditional code.
33381 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
33382 <kernel-features.h>.
33383 [__ASSUME_32BITUIDS]: Make code unconditional.
33384 [!__ASSUME_32BITUIDS]: Remove conditional code.
33385 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
33386 <kernel-features.h>.
33387 [__ASSUME_32BITUIDS]: Make code unconditional.
33388 [!__ASSUME_32BITUIDS]: Remove conditional code.
33389 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
33390 <kernel-features.h>.
33391 [__ASSUME_32BITUIDS]: Make code unconditional.
33392 [!__ASSUME_32BITUIDS]: Remove conditional code.
33393 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
33394 <kernel-features.h>.
33395 [__ASSUME_32BITUIDS]: Make code unconditional.
33396 [!__ASSUME_32BITUIDS]: Remove conditional code.
33397 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
33398 <kernel-features.h>.
33399 [__ASSUME_32BITUIDS]: Make code unconditional.
33400 [!__ASSUME_32BITUIDS]: Remove conditional code.
33401 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
33402 <kernel-features.h>.
33403 [__ASSUME_32BITUIDS]: Make code unconditional.
33404 [!__ASSUME_32BITUIDS]: Remove conditional code.
33405 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
33406 <kernel-features.h>.
33407 [__ASSUME_32BITUIDS]: Make code unconditional.
33408 [!__ASSUME_32BITUIDS]: Remove conditional code.
33409 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
33410 <kernel-features.h>.
33411 [__ASSUME_32BITUIDS]: Make code unconditional.
33412 [!__ASSUME_32BITUIDS]: Remove conditional code.
33413 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
33414 <kernel-features.h>.
33415 [__NR_setresgid] (__setresgid): Do not declare.
33416 [__ASSUME_32BITUIDS]: Make code unconditional.
33417 [!__ASSUME_32BITUIDS]: Remove conditional code.
33418 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
33419 <kernel-features.h>.
33420 [__NR_setresuid] (__setresuid): Do not declare.
33421 [__ASSUME_32BITUIDS]: Make code unconditional.
33422 [!__ASSUME_32BITUIDS]: Remove conditional code.
33423 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
33424 <kernel-features.h>.
33425 [__ASSUME_32BITUIDS]: Make code unconditional.
33426 [!__ASSUME_32BITUIDS]: Remove conditional code.
33427 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
33428 <kernel-features.h>.
33429 [__ASSUME_32BITUIDS]: Make code unconditional.
33430 [!__ASSUME_32BITUIDS]: Remove conditional code.
33431 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
33432 <kernel-features.h>.
33433 [__ASSUME_32BITUIDS]: Make code unconditional.
33434 [!__ASSUME_32BITUIDS]: Remove conditional code.
33435 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
33436 <kernel-features.h>.
33437 [__ASSUME_32BITUIDS]: Make code unconditional.
33438 [!__ASSUME_32BITUIDS]: Remove conditional code.
33439 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
33440 <kernel-features.h>.
33441 [__ASSUME_32BITUIDS]: Make code unconditional.
33442 [!__ASSUME_32BITUIDS]: Remove conditional code.
33443 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
33444 <kernel-features.h>.
33445 [__ASSUME_32BITUIDS]: Make code unconditional.
33446 [!__ASSUME_32BITUIDS]: Remove conditional code.
33447 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
33448 <kernel-features.h>.
33449 [__ASSUME_32BITUIDS]: Make code unconditional.
33450 [!__ASSUME_32BITUIDS]: Remove conditional code.
33451 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
33452 <kernel-features.h>.
33453 [__ASSUME_32BITUIDS]: Make code unconditional.
33454 [!__ASSUME_32BITUIDS]: Remove conditional code.
33455 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
33456 <kernel-features.h>.
33457 [__ASSUME_32BITUIDS]: Make code unconditional.
33458 [!__ASSUME_32BITUIDS]: Remove conditional code.
33459 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
33460 <kernel-features.h>.
33461 [__ASSUME_32BITUIDS]: Make code unconditional.
33462 [!__ASSUME_32BITUIDS]: Remove conditional code.
33463 * sysdeps/unix/sysv/linux/kernel-features.h
33464 (__ASSUME_SETRESUID_SYSCALL): Remove.
33465 (__ASSUME_SETRESGID_SYSCALL): Likewise.
33466 (__ASSUME_32BITUIDS): Likewise.
33467 (__ASSUME_LDT_WORKS): Likewise.
33468 (__ASSUME_O_DIRECTORY): Likewise.
33469 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
33470 architecture but not kernel version.
33471 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
33472 (__ASSUME_MMAP2_SYSCALL): Likewise.
33473 (__ASSUME_STAT64_SYSCALL): Likewise.
33474 (__ASSUME_IPC64): Likewise.
33475 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
33476 <kernel-features.h>.
33477 [__ASSUME_32BITUIDS]: Make code unconditional.
33478 [!__ASSUME_32BITUIDS]: Remove conditional code.
33479 * sysdeps/unix/sysv/linux/opendir.c: Do not include
33480 <kernel-features.h>.
33481 [__ASSUME_O_DIRECTORY]: Make code unconditional.
33482 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
33483 132096]: Remove conditional code.
33484 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
33485 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
33486 <kernel-features.h>.
33487 [__ASSUME_32BITUIDS]: Make code unconditional.
33488 [!__ASSUME_32BITUIDS]: Remove conditional code.
33489 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
33490 <kernel-features.h>.
33491 [__ASSUME_32BITUIDS]: Make code unconditional.
33492 [!__ASSUME_32BITUIDS]: Remove conditional code.
33493 * sysdeps/unix/sysv/linux/setegid.c: Do not include
33494 <kernel-features.h>.
33495 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
33497 (__setresgid): Do not declare.
33498 [__ASSUME_32BITUIDS]: Make code unconditional.
33499 [!__ASSUME_32BITUIDS]: Remove conditional code.
33500 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
33501 <kernel-features.h>.
33502 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
33504 (__setresuid): Do not declare.
33505 [__ASSUME_32BITUIDS]: Make code unconditional.
33506 [!__ASSUME_32BITUIDS]: Remove conditional code.
33507 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
33508 <kernel-features.h>.
33509 [__ASSUME_32BITUIDS]: Make code unconditional.
33510 [!__ASSUME_32BITUIDS]: Remove conditional code.
33511 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
33512 <kernel-features.h>.
33513 [__ASSUME_32BITUIDS]: Make code unconditional.
33514 [!__ASSUME_32BITUIDS]: Remove conditional code.
33516 2012-05-25 Richard Henderson <rth@twiddle.net>
33518 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
33519 dl_hwcap to ifunc resolver.
33520 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
33522 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
33523 dl_hwcap to ifunc resolver.
33524 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
33526 2012-05-24 Joseph Myers <joseph@codesourcery.com>
33529 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
33530 for |x| <= 2**-26, not 2**-57.
33531 * math/libm-test.inc (acos_test): Do not allow spurious underflow
33534 2012-05-24 Jeff Law <law@redhat.com>
33536 * stdio-common/Makefile (tests): Add bug25.
33537 * stdio-common/bug25.c: New test.
33539 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
33542 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
33543 multiple of MALLOC_ALIGNMENT in size.
33544 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
33546 2012-05-24 Joseph Myers <joseph@codesourcery.com>
33548 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
33550 (FILENAME_MAX): Use macro-int-constant.
33551 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
33552 (_IOFBF): Use macro-int-constant.
33553 (_IOLBF): Likewise.
33554 (_IONBF): Likewise.
33555 (SEEK_CUR): Likewise.
33556 (SEEK_END): Likewise.
33557 (SEEK_SET): Likewise.
33558 (TMP_MAX): Likewise.
33559 (EOF): Use macro-int-constant. Require < 0.
33560 (NULL): Use macro-constant. Require == 0.
33561 (stdin): Require type to be FILE *.
33562 (stdout): Likewise.
33563 (stderr): Likewise.
33564 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
33565 macro-int-constant.
33566 (EXIT_SUCCESS): Likewise.
33567 (NULL): Use macro-constant. Require == 0.
33568 (RAND_MAX): Use macro-int-constant.
33569 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
33570 [C99-based standards] (strtof): Require function.
33571 [C99-based standards] (strtold): Likewise.
33572 [C99-based standards] (strtoll): Likewise.
33573 [C99-based standards] (strtoull): Likewise.
33574 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
33575 [ISO || ISO99 || ISO11] (limits.h): Likewise.
33576 [ISO || ISO99 || ISO11] (math.h): Likewise.
33577 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
33578 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
33579 [ISO || ISO99 || ISO11] (*_t): Do not allow.
33581 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
33584 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
33585 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
33586 * intl/dgettext.c (DCGETTEXT): Likewise.
33587 * intl/gettext.c (DCGETTEXT): Likewise.
33588 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
33589 * posix/regex_internal.h (gettext): Likewise.
33590 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
33591 Remove declaration.
33592 * include/argz.h (__argz_count_internal)
33593 (__argz_stringify_internal): Remove declaration.
33594 (__argz_count, __argz_stringify): Declare hidden proto.
33595 * intl/dcgettext.c: Remove use of INTDEF.
33596 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
33597 * string/argz-stringify.c: Likewise.
33598 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
33599 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
33600 Declare hidden proto.
33601 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
33602 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
33603 Declare hidden proto.
33604 * include/stdio.h (__asprintf_internal): Don't declare.
33605 (__asprintf): Don't define as macro. Declare hidden proto.
33606 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
33607 (__fsetlocking): Declare hidden proto.
33608 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
33609 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
33611 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
33612 (_IO_setlinebuf): Remove use of INTUSE.
33613 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
33614 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
33615 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
33616 Remove declaration.
33617 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
33618 (_IO_do_flush): Remove use of INTUSE.
33619 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
33620 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
33621 (_IO_adjust_column, _IO_least_wmarker)
33622 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
33623 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
33624 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
33625 (_IO_default_doallocate, _IO_wdefault_doallocate)
33626 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
33627 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
33628 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
33629 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
33630 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
33631 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
33632 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
33633 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
33634 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
33635 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
33636 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
33637 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
33638 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
33640 (_IO_flush_all_internal, _IO_adjust_column_internal)
33641 (_IO_default_uflow_internal, _IO_default_finish_internal)
33642 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
33643 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
33644 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
33645 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
33646 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
33647 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
33648 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
33649 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
33650 (_IO_file_close_internal, _IO_file_close_it_internal)
33651 (_IO_file_underflow_internal, _IO_file_overflow_internal)
33652 (_IO_file_init_internal, _IO_file_attach_internal)
33653 (_IO_file_fopen_internal, _IO_file_read_internal)
33654 (_IO_file_sync_internal, _IO_file_seek_internal)
33655 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
33656 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
33657 (_IO_str_underflow_internal, _IO_str_overflow_internal)
33658 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
33659 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
33660 (_IO_list_all_internal, _IO_link_in_internal)
33661 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
33662 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
33663 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
33664 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
33665 (_IO_do_write_internal, _IO_padn_internal)
33666 (_IO_getline_info_internal, _IO_getline_internal)
33667 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
33668 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
33669 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
33670 (_IO_vfscanf_internal, _IO_vfprintf_internal)
33671 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
33672 (_IO_init_internal, _IO_un_link_internal): Don't declare.
33673 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
33674 with libc_hidden_ver, remove use of INTUSE.
33675 * libio/genops.c: Likewise.
33676 * libio/freopen.c: Likewise.
33677 * libio/freopen64.c: Likewise.
33678 * libio/iofclose.c: Likewise.
33679 * libio/iofdopen.c: Likewise.
33680 * libio/iofflush.c: Likewise.
33681 * libio/iofflush_u.c: Likewise.
33682 * libio/iofgets.c: Likewise.
33683 * libio/iofgets_u.c: Likewise.
33684 * libio/iofopen.c: Likewise.
33685 * libio/iofopncook.c: Likewise.
33686 * libio/iofread.c: Likewise.
33687 * libio/iofread_u.c: Likewise.
33688 * libio/ioftell.c: Likewise.
33689 * libio/iofwrite.c: Likewise.
33690 * libio/iogetline.c: Likewise.
33691 * libio/iogets.c: Likewise.
33692 * libio/iogetwline.c: Likewise.
33693 * libio/iopadn.c: Likewise.
33694 * libio/iopopen.c: Likewise.
33695 * libio/ioseekoff.c: Likewise.
33696 * libio/ioseekpos.c: Likewise.
33697 * libio/iosetbuffer.c: Likewise.
33698 * libio/iosetvbuf.c: Likewise.
33699 * libio/ioungetc.c: Likewise.
33700 * libio/ioungetwc.c: Likewise.
33701 * libio/iovdprintf.c: Likewise.
33702 * libio/iovsprintf.c: Likewise.
33703 * libio/iovsscanf.c: Likewise.
33704 * libio/memstream.c: Likewise.
33705 * libio/obprintf.c: Likewise.
33706 * libio/oldfileops.c: Likewise.
33707 * libio/oldiofclose.c: Likewise.
33708 * libio/oldiofdopen.c: Likewise.
33709 * libio/oldiofopen.c: Likewise.
33710 * libio/oldiopopen.c: Likewise.
33711 * libio/oldstdfiles.c: Likewise.
33712 * libio/putc.c: Likewise.
33713 * libio/setbuf.c: Likewise.
33714 * libio/setlinebuf.c: Likewise.
33715 * libio/stdfiles.c: Likewise.
33716 * libio/strops.c: Likewise.
33717 * libio/vasprintf.c: Likewise.
33718 * libio/vscanf.c: Likewise.
33719 * libio/vsnprintf.c: Likewise.
33720 * libio/vswprintf.c: Likewise.
33721 * libio/wfiledoalloc.c: Likewise.
33722 * libio/wfileops.c: Likewise.
33723 * libio/wgenops.c: Likewise.
33724 * libio/wmemstream.c: Likewise.
33725 * libio/wstrops.c: Likewise.
33726 * libio/__fpurge.c: Likewise.
33727 * libio/__fsetlocking.c: Likewise.
33728 * assert/assert.c: Likewise.
33729 * debug/fgets_chk.c: Likewise.
33730 * debug/fgets_u_chk.c: Likewise.
33731 * debug/fread_chk.c: Likewise.
33732 * debug/fread_u_chk.c: Likewise.
33733 * debug/gets_chk.c: Likewise.
33734 * debug/obprintf_chk.c: Likewise.
33735 * debug/vasprintf_chk.c: Likewise.
33736 * debug/vdprintf_chk.c: Likewise.
33737 * debug/vsnprintf_chk.c: Likewise.
33738 * debug/vsprintf_chk.c: Likewise.
33739 * malloc/mtrace.c: Likewise.
33740 * misc/error.c: Likewise.
33741 * misc/syslog.c: Likewise.
33742 * stdio-common/asprintf.c: Likewise.
33743 * stdio-common/fxprintf.c: Likewise.
33744 * stdio-common/getw.c: Likewise.
33745 * stdio-common/isoc99_fscanf.c: Likewise.
33746 * stdio-common/isoc99_scanf.c: Likewise.
33747 * stdio-common/isoc99_vfscanf.c: Likewise.
33748 * stdio-common/isoc99_vscanf.c: Likewise.
33749 * stdio-common/isoc99_vsscanf.c: Likewise.
33750 * stdio-common/printf-prs.c: Likewise.
33751 * stdio-common/printf_fp.c: Likewise.
33752 * stdio-common/printf_fphex.c: Likewise.
33753 * stdio-common/printf_size.c: Likewise.
33754 * stdio-common/putw.c: Likewise.
33755 * stdio-common/scanf.c: Likewise.
33756 * stdio-common/sprintf.c: Likewise.
33757 * stdio-common/tmpfile.c: Likewise.
33758 * stdio-common/vfprintf.c: Likewise.
33759 * stdio-common/vfscanf.c: Likewise.
33760 * stdlib/strfmon_l.c: Likewise.
33761 * sunrpc/openchild.c: Likewise.
33762 * sunrpc/xdr_stdio.c: Likewise.
33763 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
33764 * sysdeps/mach/hurd/tmpfile.c: Likewise.
33766 2012-05-24 Roland McGrath <roland@hack.frob.com>
33768 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
33770 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
33771 in the third column, to generate for the shared library an IFUNC
33772 that uses _dl_vdso_vsym.
33773 * Makerules (COMPILE.c, compile-stdin.c): New variables.
33774 * Makeconfig (object-suffixes-noshared): New variable.
33776 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
33777 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
33778 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
33779 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
33782 * include/sys/time.h (__gettimeofday): Remove macro.
33783 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
33784 * time/gettimeofday.c (__gettimeofday): Remove #undef.
33786 (__gettimeofday): Add libc_hidden_def.
33787 (gettimeofday): Add libc_hidden_weak.
33788 * sysdeps/mach/gettimeofday.c: Likewise.
33789 * sysdeps/posix/gettimeofday.c: Likewise.
33790 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
33791 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
33792 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
33793 (__gettimeofday_internal): Remove strong_alias.
33794 (__gettimeofday): Add libc_hidden_def.
33795 (gettimeofday): Add libc_hidden_weak.
33796 * sysdeps/unix/syscalls.list (gettimeofday):
33797 Remove __gettimeofday_internal alias.
33799 2012-05-24 Daniel Jacobowitz <drow@false.org>
33800 H.J. Lu <hongjiu.lu@intel.com>
33803 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
33804 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
33805 (largebin_index_32_big): New.
33806 (largebin_index): Use it for 16-byte alignment.
33807 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
33808 correction with front_misalign.
33810 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
33812 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
33813 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
33815 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
33817 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
33819 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
33821 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
33823 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
33825 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
33827 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
33829 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
33831 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
33833 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
33835 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
33838 * scripts/data/c++-types-x32-linux-gnu.data: New file.
33839 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
33841 2012-05-24 Joseph Myers <joseph@codesourcery.com>
33845 * math/libm-test.inc (exp_test): Add test from bug 14036.
33846 (pow_test): Add test from bug 10846.
33848 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
33850 (special_function): Do not include flags in test name.
33851 (parse_args): Likewise.
33852 * sysdeps/i386/fpu/libm-test-ulps: Update.
33853 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
33854 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
33855 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
33856 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33858 * math/gen-libm-test.pl (%beautify): Add entries for underflow
33860 * math/libm-test.inc ("Philosophy"): Update comment about
33862 (UNDERFLOW_EXCEPTION): New macro.
33863 (UNDERFLOW_EXCEPTION_OK): Likewise.
33864 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
33865 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
33866 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
33867 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
33868 (INVALID_EXCEPTION_OK): Update value.
33869 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
33870 (OVERFLOW_EXCEPTION_OK): Likewise.
33871 (IGNORE_ZERO_INF_SIGN): Likewise.
33872 (test_exceptions): Handle underflow exceptions.
33873 (acos_test): Update for underflow exception expectations.
33874 (cexp_test): Likewise.
33875 (clog_test): Likewise.
33876 (clog10_test): Likewise.
33877 (csqrt_test): Likewise.
33878 (ctan_test): Likewise.
33879 (ctanh_test): Likewise.
33880 (exp_test): Likewise.
33881 (exp10_test): Likewise.
33882 (exp2_test): Likewise.
33883 (expm1_test): Likewise.
33884 (fma_test): Likewise.
33885 (j0_test): Likewise.
33886 (jn_test): Likewise.
33887 (nexttoward_test): Likewise.
33888 (pow_test): Likewise.
33889 (scalbn_test): Likewise.
33890 (scalbln_test): Likewise.
33891 (tan_test): Likewise.
33892 (y1_test): Likewise.
33893 * sysdeps/i386/fpu/libm-test-ulps: Update.
33894 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33896 2012-05-23 David S. Miller <davem@davemloft.net>
33898 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
33899 (__libc_sigaction): Remove unused local variables.
33901 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
33903 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
33905 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
33907 mktime: avoid signed integer overflow
33908 * time/mktime.c (__mktime_internal): Do not mishandle the case
33909 where diff == INT_MIN.
33911 mktime: simplify computation of average
33912 * time/mktime.c (ranged_convert): Use new time_t_avg function
33913 instead of rolling our own (probably-slower) code.
33915 mktime: do not assume signed right shift propagates sign bit
33916 * time/mktime.c (isdst_differ): New static function.
33917 (__mktime_internal): No need to normalize tm_isdst now.
33918 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
33921 mktime: merge another wrapv change from gnulib
33922 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
33923 from some compilers.
33925 mktime: remove incorrect attempt at unusual arithmetics
33926 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
33927 The code didn't really work on such machines anyway.
33928 (TYPE_MINIMUM): Assume two's complement.
33929 (twos_complement_arithmetic): Verify that long_int and time_t
33930 are two's complement (or unsigned, in the latter case).
33932 mktime: check signed shifts on long_int and time_t, too
33933 * time/mktime.c (SHR): Check that shifts work as desired
33934 on the types long_int and time_t too, as SHR is used on
33937 mktime: do not assume 'long' is wide enough
33938 * time/mktime.c (verify): Move decl up.
33939 (long_int): New type.
33940 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
33941 to remove assumption in the code that 'long' is wide enough to
33942 store year values. This assumption is not true on x32 and on
33943 some non-glibc platforms.
33945 mktime: merge wrapv change from gnulib
33946 * time/mktime.c (WRAPV): New macro.
33947 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
33948 (guess_time_tm, __mktime_internal): Do not assume that signed
33949 integer overflow wraps around; modern compilers generate code
33950 where this assumption is no longer valid.
33952 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
33954 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
33955 Replace "jmp L(pseudo_end)" with "ret".
33956 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
33959 2012-05-23 Andreas Jaeger <aj@suse.de>
33961 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
33962 * sysdeps/unix/sysv/linux/poll.c: Remove file.
33964 2012-05-23 Andreas Jaeger <aj@suse.de>
33965 Maximilian Attems <max@stro.at>
33967 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
33970 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
33972 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
33973 code so that pseudo_end is just ret and the stack pointer is
33974 correct also for static library in error case.
33976 2012-05-23 Joseph Myers <joseph@codesourcery.com>
33978 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
33979 move to syscalls.list.
33980 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
33981 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
33982 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
33983 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
33985 * manual/install.texi (Running make install): Do not mention Linux
33986 kernel version for which pt_chown is not needed.
33987 (Linux): Do not mention problems with nscd with 2.0 kernels.
33988 * INSTALL: Regenerated.
33990 2012-05-23 Andreas Jaeger <aj@suse.de>
33992 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
33993 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
33995 * sysdeps/unix/sysv/linux/s390/bits/mman.h
33996 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
33997 * sysdeps/unix/sysv/linux/sh/bits/mman.h
33998 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
33999 * sysdeps/unix/sysv/linux/i386/bits/mman.h
34000 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
34001 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
34002 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
34003 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
34004 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
34005 * sysdeps/unix/sysv/linux/bits/in.h
34006 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
34008 2012-05-22 Roland McGrath <roland@hack.frob.com>
34010 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
34011 (PREPARE_VERSION): Just use assert instead, it will be elided
34012 under [NDEBUG] anyway.
34014 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
34016 * sysdeps/unix/sysv/linux/Makefile: Include
34017 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
34018 (sysdep_routines): Remove sysctl.
34019 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
34020 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
34021 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
34022 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
34023 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
34025 2012-05-22 Andreas Jaeger <aj@suse.de>
34027 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
34028 that pseudo_end is just ret and the stack pointer is correct also
34029 for static library in error case.
34031 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
34034 * nss/nsswitch.c (defconfig_entries): New variable.
34035 (__nss_database_lookup): Don't leak defconfig entries.
34036 (nss_parse_service_list): Don't leak on error paths.
34037 (free_database_entries): New function.
34038 (free_defconfig): New function.
34039 (free_mem): Move common code to free_database_entries.
34041 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
34043 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
34045 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
34047 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
34048 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
34049 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
34051 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
34052 (INTERNAL_SYSCALL_TYPES): Likewise.
34053 (LOAD_ARGS_TYPES_[1-6]): Likewise.
34054 (LOAD_REGS_TYPES_[1-6]): Likewise.
34055 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
34056 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
34058 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34060 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
34061 copysignl for GLIBC_2_0.
34062 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
34063 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
34064 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
34065 logbl for GLIBC_2_0.
34066 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
34067 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
34069 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
34071 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
34072 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
34074 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
34077 * time/mktime.c: Update copyright years.
34079 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
34081 mktime: merge comment-quoting-style change from gnulib
34082 * time/mktime.c: Quote 'like this' in comments.
34083 The GNU coding standards suggest that we no longer quote `like this',
34084 as "`" and "'" are typically rendered asymmetrically nowadays.
34085 The typical gnulib style is to quote 'like this' when quoting
34086 code, and "like this" when quoting English.
34088 * time/mktime.c (compile-command): Add "-I.".
34090 mktime: merge mktime-internal.h change from gnulib
34091 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
34093 mktime: merge time_r change from gnulib
34094 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
34096 mktime: merge DEBUG change from gnulib
34097 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
34098 case system <time.h> has a #define.
34100 mktime: merge <sys/types.h> change from gnulib
34101 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
34102 since <time.t> is now guaranteed to define time_t.
34104 mktime: merge HAVE_CONFIG_H change from gnulib
34105 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
34107 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
34109 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
34112 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
34114 (struct rusage): Use anonymous union to pad each field to
34117 2012-05-21 David S. Miller <davem@davemloft.net>
34119 * Makefules (o-iterator): Remove .s cases.
34120 (compile-command.s): Delete.
34121 (COMPILE.s): Delete.
34122 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
34124 2012-05-21 Joseph Myers <joseph@codesourcery.com>
34126 * configure.in (libc_cv_predef_stack_protector): Only consider
34127 "foobar" and "__stack_chk_fail" lines in libc_undefs.
34128 * configure: Regenerated.
34130 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
34132 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
34133 New macro. Use R*LP on int and pointer.
34134 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
34135 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
34136 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
34137 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
34139 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
34140 [__WORDSIZE_TIME64_COMPAT32] instead of
34141 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
34142 (struct utmp): Likewise.
34143 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
34144 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
34146 (__WORDSIZE_TIME64_COMPAT32): This.
34147 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
34148 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
34149 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
34150 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
34151 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
34152 (__WORDSIZE_TIME64_COMPAT32): New macro.
34154 2012-05-21 Andreas Jaeger <aj@suse.de>
34156 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
34157 only if [SHARED]. Add prototype for __wcschr_ia32.
34159 2012-05-21 Roland McGrath <roland@hack.frob.com>
34161 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
34162 of %rbp unmolested in the jmp_buf while mangling the low bits.
34163 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
34164 unmolested high bits of %rbp while demangling the low bits.
34165 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
34167 2012-05-21 Andreas Jaeger <aj@suse.de>
34169 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
34170 * sunrpc/svc_simple.c: Use it for registerrpc.
34171 * sunrpc/xcrypt.c: Use it for passwd2des.
34173 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
34175 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
34177 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
34178 Don't define if [__SYSCALL_WORDSIZE != 32].
34179 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
34182 2012-05-21 Bruno Haible <bruno@clisp.org>
34183 Andreas Jaeger <aj@suse.de>
34185 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
34186 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
34187 inptr and inend for must_buffer_ch.
34188 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
34189 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
34190 * stdio-common/Makefile (tests): Remove bug15.
34191 (bug15-ENV): Remove macro.
34192 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
34195 2012-05-19 Andreas Jaeger <aj@suse.de>
34196 Roland McGrath <roland@hack.frob.com>
34198 * manual/contrib.texi: Completely rewritten. It contains now an
34199 alphabetical list of contributors and their contributions.
34201 2012-05-21 Richard Henderson <rth@twiddle.net>
34203 * misc/getauxval.c (__getauxval): Use unsigned long int.
34204 * misc/sys/auxv.h: Include <sys/cdefs.h>.
34205 (getauxval): Use unsigned long int.
34207 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
34209 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
34211 2012-05-21 Roland McGrath <roland@hack.frob.com>
34213 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
34214 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
34215 __alignof__ (long double).
34217 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34219 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34221 2012-05-20 Richard Henderson <rth@twiddle.net>
34223 * misc/getauxval.c: New file.
34224 * misc/sys/auxv.h: New file.
34225 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
34226 (routines): Add getauxval.
34227 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
34228 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
34229 * elf/dl-sysdep.c (_dl_auxv): Remove.
34230 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
34231 * elf/dl-support.c (_dl_auxv): New variable.
34232 (_dl_aux_init): Initialize it.
34233 * manual/startup.texi (Auxiliary Vector): New node.
34234 * sysdeps/generic/bits/hwcap.h: New file.
34235 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
34236 * sysdeps/powerpc/sysdep.h: ... here. Include it.
34237 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
34238 * sysdeps/sparc/sysdep.h: ... here. Include it.
34239 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
34240 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
34241 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
34243 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
34244 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
34245 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
34246 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
34247 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
34248 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
34249 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
34250 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
34252 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34254 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34256 2012-05-19 David S. Miller <davem@davemloft.net>
34258 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34260 2012-05-19 Joseph Myers <joseph@codesourcery.com>
34263 * math/s_ccosh.c: Include <float.h>
34264 (__ccosh): Avoid internal overflow calculating sinh and cosh
34265 values before multiplying by sin and cos values.
34266 * math/s_ccoshf.c: Likewise.
34267 * math/s_ccoshl.c: Likewise.
34268 * math/s_csin.c: Likewise.
34269 * math/s_csinf.c: Likewise.
34270 * math/s_csinl.c: Likewise.
34271 * math/s_csinh.c: Likewise.
34272 * math/s_csinhf.c: Likewise.
34273 * math/s_csinhl.c: Likewise.
34274 * math/libm-test.inc (ccos_test): Add more tests.
34275 (ccosh_test): Likewise.
34276 (csin_test): Likewise.
34277 (csinh_test): Likewise.
34278 * sysdeps/i386/fpu/libm-test-ulps: Update.
34279 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34281 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
34283 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
34284 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
34286 * sysdeps/x86_64/x32/_itoa.h: Add comment.
34288 2012-05-19 Joseph Myers <joseph@codesourcery.com>
34290 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
34291 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
34292 * sysdeps/powerpc/soft-fp/Versions: Likewise.
34293 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
34294 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
34295 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
34296 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
34297 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
34298 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
34299 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
34300 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
34301 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
34302 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
34303 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
34304 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
34305 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
34306 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
34307 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
34308 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
34309 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
34310 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
34311 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
34312 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
34313 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
34314 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
34315 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
34316 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
34317 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
34318 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
34319 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
34320 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
34322 2012-05-18 Andreas Jaeger <aj@suse.de>
34324 * csu/.gitignore: Delete.
34326 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
34328 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
34329 (timex): Use __syscall_slong_t.
34331 2012-05-18 Andreas Jaeger <aj@suse.de>
34332 Carlos O'Donell <carlos_odonell@mentor.com>
34334 * manual/install.texi (Configuring and compiling): Update
34335 description about files modified in the source directory.
34336 * INSTALL: Regenerated.
34338 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
34340 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
34341 value. Use "or" to set return value to -1.
34342 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
34343 negate return value.
34345 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
34347 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
34348 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
34349 failure if the compiler has Graphite support disabled.
34350 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
34352 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
34353 (CFLAGS-memmove.c): Likewise.
34354 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
34357 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
34359 * sysdeps/x86_64/x32/_itoa.h: New file.
34361 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
34362 getdents system call only if kernel and user dirents have the
34363 same d_ino and d_off.
34365 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
34366 LLONG_MAX != LONG_MAX.
34367 (_itoa_word): Use _ITOA_WORD_TYPE on value.
34368 (_fitoa_word): Likewise.
34370 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
34372 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
34373 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
34374 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
34376 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
34377 include <bits/wordsize.h>. Check __x86_64__ instead of
34379 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
34380 if __x86_64__ is defined. Use anonymous union on fpstate.
34382 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
34385 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
34387 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
34388 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
34389 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
34390 Refer to _rtld_local_ro instead of _rtld_global_ro.
34391 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
34393 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
34395 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
34397 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
34398 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
34399 of _rtld_global, and rtld_progname instead of _dl_argv[0].
34401 * sysdeps/powerpc/powerpc32/dl-machine.c
34402 (__elf_machine_runtime_setup) [PROF]: Don't reference
34405 2012-05-18 Andreas Jaeger <aj@suse.de>
34407 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
34408 function only available for GCCs before 3.4 since GCC 3.4
34409 introduced a builtin.
34411 (llrintf): Likewise.
34412 (llrint): Likewise.
34419 (nearbyint): Likewise.
34420 (nearbyintf): Likewise.
34424 (floorf): Likewise.
34426 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
34428 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
34429 on both fields and cast pointer to __syscall_ulong_t.
34431 * bits/types.h (__fsword_t): New type.
34432 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
34433 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
34434 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
34435 (__FSWORD_T_TYPE): Likewise.
34436 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
34437 (__FSWORD_T_TYPE): Likewise.
34438 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34439 (__FSWORD_T_TYPE): Likewise.
34440 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
34441 (__FSWORD_T_TYPE): Likewise.
34442 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
34443 __SWORD_TYPE with __fsword_t.
34444 (statfs64): Likewise.
34446 2012-05-17 David S. Miller <davem@davemloft.net>
34448 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
34450 2012-05-17 Andreas Jaeger <aj@suse.de>
34452 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
34455 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
34457 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
34459 2012-05-17 Andreas Jaeger <aj@suse.de>
34461 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
34464 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
34466 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
34468 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
34470 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
34471 * sysdeps/x86_64/tst-mallocalign1.c: New file.
34473 2012-05-17 Andreas Jaeger <aj@suse.de>
34474 Carlos O'Donell <carlos_odonell@mentor.com>
34477 * sysdeps/x86_64/multiarch/init-arch.h
34478 (bit_YMM_Usable): Rename to...
34479 (bit_AVX_Usable): ... this.
34480 (bit_FMA4_Usable): New macro.
34481 (bit_XMM_state): New macro.
34482 (bit_YMM_state): New macro.
34483 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
34484 [__ASSEMBLER__] (index_AVX_Usable): ... this.
34485 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
34486 (CPUID_OSXSAVE): New macro.
34487 (CPUID_AVX): New macro.
34488 (CPUID_FMA4): New macro.
34489 (index_YMM_Usable): Rename to...
34490 (index_AVX_Usable): ... this.
34491 (HAS_AVX): Use HAS_ARCH_FEATURE.
34492 (HAS_FMA4): Likewise.
34493 (HAS_YMM_USABLE): Remove.
34494 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34495 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
34497 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
34498 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
34499 * sysdeps/x86_64/multiarch/Makefile: Likewise.
34500 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
34501 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
34503 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
34505 * math/libm-test.c: Support platforms without multiple rounding modes.
34506 * math/bug-nextafter.c: Support platforms without FP exceptions.
34507 * math/bug-nexttoward.c: Likewise.
34508 * math/test-fenv.c: Likewise.
34509 * math/test-misc.c: Likewise.
34510 * stdlib/bug-getcontext.c: Likewise.
34512 2012-05-17 Andreas Jaeger <aj@suse.de>
34514 * manual/examples/search.c (critter_cmp): Change signature to
34516 * manual/string.texi (Collation Functions): Likewise.
34518 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
34520 * bits/types.h: Fold copyright years.
34521 * bits/typesizes.h: Likewise.
34522 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
34523 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
34524 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
34525 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
34526 * time/time.h: Likewise.
34528 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
34531 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
34532 in instead of returning them. Return void.
34533 (__libc_mallinfo): Accumulate over all arenas.
34534 (__malloc_stats): Adjust for change in int_mallinfo interface.
34536 2012-05-16 Roland McGrath <roland@hack.frob.com>
34539 * configure.in (NM): Add AC_CHECK_TOOL for it.
34540 (libc_extra_cflags): New substituted variable.
34541 Check for -fstack-protector being used implicitly.
34542 * configure: Regenerated.
34543 * config.make.in (config-extra-cflags): New variable,
34544 gets @libc_extra_cflags@.
34545 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
34548 * configure.in: Check for _FORTIFY_SOURCE being predefined.
34549 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
34550 * configure: Regenerated.
34551 * config.make.in (CPPUNDEFS): New substituted variable.
34552 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
34553 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
34554 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
34556 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
34558 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
34559 (mq_attr): Use __syscall_slong_t.
34561 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
34563 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
34564 Check __x86_64__ instead of __WORDSIZE.
34565 (_STAT_VER_LINUX): Likewise.
34566 (stat): Check __x86_64__ instead of __WORDSIZE. Use
34567 __syscall_ulong_t and __syscall_slong_t.
34568 (stat64): Likewise.
34570 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
34572 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
34574 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
34576 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
34578 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
34580 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
34583 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
34584 include <bits/wordsize.h>. Check __x86_64__ instead of
34586 (greg_t): Use "__extension__ long long int" if __x86_64__ is
34588 (mcontext_t): Replace "unsigned long" with "unsigned long long".
34590 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
34591 include <bits/wordsize.h>. Check __x86_64__ instead of
34593 (user_regs_struct): Use "__extension__ unsigned long long"
34594 instead of "unsigned long" if __x86_64__ is defined.
34595 (user): Likewise. Pad after pointer field if __ILP32__ is
34598 2012-05-16 Joseph Myers <joseph@codesourcery.com>
34600 * configure.in (makeinfo): Require version 4.5 or later. Allow
34602 * configure: Regenerated.
34603 * manual/install.texi (texinfo): Increase version requirement to
34605 * INSTALL: Regenerated.
34607 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
34609 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
34611 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
34613 * sysdeps/x86_64/x32/ffs.c: New file.
34615 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
34617 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
34618 defined. Use __syscall_ulong_t.
34619 (shminfo): Use __syscall_ulong_t.
34620 (shm_info): Likewise.
34622 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
34625 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
34627 (msgqnum_t): Use __syscall_ulong_t.
34628 (msglen_t): Likewise.
34629 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
34632 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
34633 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
34635 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
34637 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
34638 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
34640 * sysvipc/sys/msg.h (msgbuf): Replace long int with
34643 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
34644 include <bits/wordsize.h>. Check __x86_64__ instead of
34647 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
34648 "unsigned long long int" if __x86_64__ is defined.
34649 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
34651 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
34652 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
34653 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
34655 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
34657 (GET_PC): Cast to uintptr_t first.
34658 (GET_FRAME): Likewise.
34659 (GET_STACK): Likewise.
34661 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
34662 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
34663 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
34664 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
34665 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
34666 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
34667 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
34668 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
34669 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
34670 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
34671 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
34672 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
34673 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
34674 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
34675 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
34676 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
34677 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
34678 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
34679 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
34680 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
34681 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
34682 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
34683 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
34684 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
34685 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
34686 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
34687 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
34688 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
34689 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
34691 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
34693 * Makerules (+depfiles): Also collect depfiles from .oS in
34695 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
34696 .oS, $(libnldbl-routines)).
34698 * Makerules (native-compile-mkdep-flags): Define.
34699 * sunrpc/Makefile (extra-objs): Add $(addprefix
34700 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
34701 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
34702 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
34703 calling $(make-target-directory).
34705 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34707 * bits/types.h (__snseconds_t): Removed.
34708 * time/time.h (struct timespec): Replace __snseconds_t with
34710 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
34711 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
34713 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
34714 (__SNSECONDS_T_TYPE): Likewise.
34715 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
34716 (__SNSECONDS_T_TYPE): Likewise.
34717 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34718 (__SNSECONDS_T_TYPE): Likewise.
34720 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34722 * sysdeps/mach/hurd/bits/typesizes.h
34723 (__SYSCALL_SLONG_TYPE): New macro.
34724 (__SYSCALL_ULONG_TYPE): Likewise.
34726 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34728 * bits/types.h (__syscall_slong_t): New type.
34729 (__syscall_ulong_t): Likewise.
34731 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
34732 (__SYSCALL_ULONG_TYPE): Likewise.
34733 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
34734 (__SYSCALL_SLONG_TYPE): Likewise.
34735 (__SYSCALL_ULONG_TYPE): Likewise.
34736 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
34737 (__SYSCALL_SLONG_TYPE): Likewise.
34738 (__SYSCALL_ULONG_TYPE): Likewise.
34739 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34740 (__SYSCALL_SLONG_TYPE): Likewise.
34741 (__SYSCALL_ULONG_TYPE): Likewise.
34743 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34745 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
34746 Add sigaltstack-offsets.sym.
34747 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
34748 <sigaltstack-offsets.h>.
34749 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
34750 longjmp_msg pointer.
34751 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
34752 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
34754 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
34756 2012-05-15 Joseph Myers <joseph@codesourcery.com>
34758 * elf/stackguard-macros.h: Remove file.
34759 * sysdeps/generic/stackguard-macros.h: New file.
34760 * sysdeps/i386/stackguard-macros.h: Likewise.
34761 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
34762 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
34763 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
34764 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
34765 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
34766 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
34767 * sysdeps/x86_64/stackguard-macros.h: Likewise.
34768 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
34769 <elf/stackguard-macros.h>.
34772 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
34773 __aligned__ in attribute.
34774 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
34775 (gregset_t): Likewise.
34777 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34779 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
34780 * sysdeps/x86_64/64/Implies-after: Here. New file.
34781 * sysdeps/x86_64/x32/Implies-after: New file.
34783 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34785 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
34786 and access return value for _dl_profile_fixup. Use R10_LP to
34789 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34791 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
34793 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34795 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
34796 * sysdeps/x86_64/x32/sysdep.h: New file.
34798 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34800 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
34801 * sysdeps/x86_64/setjmp.S: Likewise.
34803 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34805 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
34806 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
34807 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
34808 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
34809 remove unused global constant.
34811 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
34813 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
34814 include of <not-cancel.h>.
34816 2012-05-15 Roland McGrath <roland@hack.frob.com>
34818 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
34820 2012-05-15 Jeff Law <law@redhat.com>
34821 Andreas Jaeger <aj@suse.de>
34824 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
34826 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
34827 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
34828 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
34829 code changing __hst_map_handle.map.
34831 2012-05-15 Roland McGrath <roland@hack.frob.com>
34833 * configure.in (sysnames): Look for Implies-before and Implies-after
34835 * configure: Regenerated.
34837 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34839 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
34840 8-byte data alignment with LP_SIZE alignment.
34842 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34844 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
34847 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34849 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
34851 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34853 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
34854 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
34855 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
34857 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
34859 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34861 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
34862 (stackinfo_sub_sp): Likewise.
34864 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34866 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
34869 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34871 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
34874 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34876 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
34879 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34881 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
34883 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34885 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
34886 into R11_LP and load __x86_64_shared_cache_size_half into
34889 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34891 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
34894 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34896 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
34898 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
34900 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
34902 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
34903 powerpc32/power7/fpu/s_logb.c via #include.
34904 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
34905 powerpc32/power7/fpu/s_logbf.c via #include.
34906 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
34907 powerpc32/power7/fpu/s_logbl.c via #include.
34909 2012-05-15 Joseph Myers <joseph@codesourcery.com>
34911 * README.libm: Remove file.
34913 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34915 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
34916 count for x32. Use R*_LP and omit operand-size suffix.
34918 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34920 * shlib-versions: Move x86_64-.*-linux.* entries to ...
34921 * sysdeps/x86_64/64/shlib-versions: Here. New file.
34922 * sysdeps/x86_64/x32/shlib-versions: New file.
34924 2012-05-14 Roland McGrath <roland@hack.frob.com>
34926 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
34927 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
34928 Use _dl_fatal_printf instead.
34930 2012-05-14 Joseph Myers <joseph@codesourcery.com>
34932 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
34933 set if not set by the user. Do not allow for being unset.
34934 * sysdeps/unix/sysv/linux/configure: Regenerated.
34936 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34938 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
34939 the `q' suffix from lea and replace .quad with ASM_ADDR.
34941 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34943 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
34944 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
34946 (PTR_DEMANGLE): Likewise.
34948 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34950 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
34952 (ASM_ADDR): Likewise.
34953 (RAX_LP): Likewise.
34954 (RBP_LP): Likewise.
34955 (RBX_LP): Likewise.
34956 (RCX_LP): Likewise.
34957 (RDI_LP): Likewise.
34958 (RSI_LP): Likewise.
34959 (RSP_LP): Likewise.
34962 (R10_LP): Likewise.
34963 (R10_LP): Likewise.
34964 (R11_LP): Likewise.
34965 (R12_LP): Likewise.
34966 (R13_LP): Likewise.
34967 (R14_LP): Likewise.
34968 (R15_LP): Likewise.
34970 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34972 * sysdeps/x86_64/x32/dl-machine.h: New file.
34974 2012-05-14 Andreas Jaeger <aj@suse.de>
34976 * manual/Makefile (subdir): Remove export of subdir.
34977 (all): Remove target.
34978 (.PHONY): Remove all from list.
34979 (mkinstalldirs): Remove.
34980 (.PHONY): Remove installdirs from list.
34981 ($(inst_infodir)/libc.info): Use make-target-directory.
34982 (installdirs): Remove.
34983 (subdir_%): Remove.
34984 (glibc-targets): Remove.
34987 ($(objpfx)stubs ../po/manual.pot): Remove.
34988 ($(objpfx)stamp%): Remove.
34989 (make-target-directory): Remove.
34990 (subdir_install): Remove.
34991 (routines): Remove.
34998 * manual/.gitignore: Remove, it's not needed anymore.
34999 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
35001 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
35003 (texis): Renamed to $(objpfx)texis.
35004 (texis-path): New, contains path to generated files.
35005 (chapters.%): Use texis-path for complete path, add extra argument
35007 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
35008 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
35009 (summary,texi, stamp-summary): Use complete path of
35010 files. Generate files in build dir.
35011 (dir-add.texi): Build in build dir.
35012 (libm-err.texi,stamp-libm-err): Likewise.
35013 (version.texi, stamp-version): Likewise.
35014 (.%c.texi): Likewise.
35015 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
35016 (mostlyclean): Remove target.
35017 (realclean): Remove target.
35018 (generated): Add new variable with contents from mostlyclean and
35019 realclean, remove entries duplicated in common-mostlyclean, add
35020 stamp-libm-err and stamp-version.
35021 (generated-dirs): Add libc directory.
35022 ($(inst_infodir)/libc.info): Install files from build dir.
35024 * manual/install.texi (Configuring and compiling): Adjust since
35025 the info files are not part of the tar ball anymore.
35027 2012-05-14 Andreas Jaeger <aj@suse.de>
35029 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
35032 2012-05-14 Joseph Myers <joseph@codesourcery.com>
35035 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
35036 to 2.2.0 where earlier.
35037 * sysdeps/unix/sysv/linux/configure: Regenerated.
35038 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
35039 Remove conditional code.
35040 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
35041 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
35042 Remove conditional code.
35043 [!__NR_lchown]: Likewise.
35044 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
35045 [__NR_lchown]: Likewise.
35046 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
35047 comment referencing __ASSUME_LCHOWN_SYSCALL.
35048 * sysdeps/unix/sysv/linux/i386/sigaction.c
35049 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35050 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35051 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
35052 Remove conditional code.
35053 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
35054 (__protocol_available): Remove #if 0 code.
35055 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
35057 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
35058 * sysdeps/unix/sysv/linux/kernel-features.h
35059 (__ASSUME_GETCWD_SYSCALL): Don't define.
35060 (__ASSUME_REALTIME_SIGNALS): Likewise.
35061 (__ASSUME_PREAD_SYSCALL): Likewise.
35062 (__ASSUME_PWRITE_SYSCALL): Likewise.
35063 (__ASSUME_POLL_SYSCALL): Likewise.
35064 (__ASSUME_LCHOWN_SYSCALL): Likewise.
35065 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
35067 (__ASSUME_SIOCGIFNAME): Don't define.
35068 (__ASSUME_MSG_NOSIGNAL): Likewise.
35069 (__ASSUME_SENDFILE): Define unconditionally.
35070 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
35071 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
35073 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
35074 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
35075 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
35076 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
35077 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
35078 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
35079 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
35080 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
35081 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
35082 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35083 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
35084 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
35085 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35086 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
35087 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35088 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35089 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
35090 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35091 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35092 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
35093 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
35094 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35095 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
35096 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
35097 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35098 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
35099 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35100 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35101 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
35102 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35103 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35104 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
35105 Remove conditional code.
35106 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35107 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
35108 Remove conditional code.
35109 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35110 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
35111 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
35112 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
35113 Remove conditional code.
35114 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35115 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
35116 Remove conditional code.
35117 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35118 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
35119 Remove conditional code.
35120 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35121 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
35122 Remove conditional code.
35123 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35124 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
35125 Remove conditional code.
35126 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35127 * sysdeps/unix/sysv/linux/sh/pwrite64.c
35128 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35129 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35130 * sysdeps/unix/sysv/linux/sigaction.c
35131 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35132 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35133 * sysdeps/unix/sysv/linux/sigpending.c
35134 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35135 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35136 * sysdeps/unix/sysv/linux/sigprocmask.c
35137 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35138 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35139 * sysdeps/unix/sysv/linux/sigsuspend.c
35140 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35141 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35142 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
35143 (__libc_missing_rt_sigs): Remove.
35144 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
35145 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
35146 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
35147 Remove conditional code.
35148 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
35149 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
35151 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
35152 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
35153 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
35154 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
35156 2012-05-14 Andreas Jaeger <aj@suse.de>
35158 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
35159 it's not used in glibc.
35160 (__coshm1): Likewise.
35161 (__acosh1p): Likewise.
35164 * manual/string.texi (Copying and Concatenation): Add missing
35165 variable in concat example.
35166 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
35168 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35171 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
35172 __builtin_clzl with __builtin_clzll.
35174 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35177 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
35180 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35182 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
35183 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
35184 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
35185 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
35187 2012-05-14 Mike Frysinger <vapier@gentoo.org>
35189 * NEWS: Update ia64 info.
35191 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
35193 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
35196 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
35198 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
35199 * sysdeps/unix/syscalls.list (dup3): Likewise.
35200 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
35201 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
35203 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
35205 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
35206 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
35208 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
35210 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
35212 (TLS_IE): Use mov/add instead of movq/addq to load thread
35214 (TLS_GD_PREFIX): New.
35217 2012-05-11 David S. Miller <davem@davemloft.net>
35219 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
35220 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
35221 (_FPU_SETCW): Likewise.
35223 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
35225 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
35226 is 32-byte aligned.
35228 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
35231 * iconvdata/gb18030.c: Update tables.
35232 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
35233 characters specially.
35234 (BODY for TO_LOOP): Add encoding of missing ranges.
35236 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
35239 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
35240 * sysdeps/mach/hurd/dup3.c: Likewise.
35241 * sysdeps/mach/hurd/readlinkat.c: Likewise.
35242 * sysdeps/powerpc/memmove.c:: Likewise.
35244 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
35246 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
35247 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
35249 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
35251 * elf/elf.h (R_X86_64_RELATIVE64): New.
35252 (R_X86_64_NUM): Updated.
35253 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
35254 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
35255 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
35256 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
35257 tst-quad1pie tst-quad2pie
35258 (modules-names): Add tst-quadmod1 tst-quadmod2.
35259 ($(objpfx)tst-quad1): New dependency.
35260 ($(objpfx)tst-quad2): Likewise.
35261 ($(objpfx)tst-quad1pie): Likewise.
35262 ($(objpfx)tst-quad2pie): Likewise.
35263 * sysdeps/x86_64/tst-quad1.c: New file.
35264 * sysdeps/x86_64/tst-quad1pie.c: New file.
35265 * sysdeps/x86_64/tst-quad2.c: Likewise.
35266 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
35267 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
35268 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
35269 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
35270 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
35272 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35274 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
35275 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
35276 * streams/stropts.h (t_scalar_t): Define type.
35278 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
35279 (_PATH_PRESERVE): Set to "/var/lib".
35280 (_PATH_RWHODIR): Set to "/var/spool/rwho".
35282 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
35285 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
35286 if __dir_mkfile succeeded.
35288 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
35289 checking for _hurd_dtablesize. Unlock it right after having
35290 finished _hurd_dtable allocation.
35292 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
35294 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
35295 * sysdeps/mach/hurd/configure: Regenerated.
35296 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
35297 special-casing to...
35298 * sysdeps/gnu/configure.in: ... this new file.
35299 * sysdeps/unix/sysv/linux/configure: Regenerated.
35300 * sysdeps/gnu/configure: New generated file.
35302 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
35303 for Linux: use nsec instead of usec, as well as:
35304 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
35305 members of type struct timespec.
35306 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
35308 (struct stat64): Likewise.
35309 (_STATBUF_ST_NSEC): New macro.
35310 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
35312 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
35313 __strtoul_internal rather than strtoul.
35315 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
35317 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
35320 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35322 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
35323 which preserves existing values.
35324 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
35326 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
35328 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
35329 TIMEOUT values. Return EINVAL for NFDS values either negative or
35330 greater than FD_SETSIZE.
35332 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35334 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
35335 allocated, call __vm_protect to finish enabling the existing space, and
35336 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
35337 allocate the remainder.
35339 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
35341 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
35342 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
35344 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35346 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
35347 sysdeps/mach/hurd/readlink.c.
35349 * posix/tst-sysconf.c (posix_options): Only use
35350 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
35351 _POSIX_SYNCHRONIZED_IO when they are defined
35352 * sysdeps/mach/hurd/bits/posix_opt.h:
35353 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
35354 (_XOPEN_REALTIME): Undefine macro.
35355 (_XOPEN_REALTIME_THREADS): Undefine macro.
35356 (_XOPEN_SHM): Undefine macro.
35357 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
35359 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
35361 (_POSIX_ASYNC_IO): Undefine macro.
35362 (_POSIX_PRIORITIZED_IO): Undefine macro.
35363 (_POSIX_SPIN_LOCKS): Define macro to -1.
35365 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
35366 SA_NODEFER, SA_RESETHAND.
35367 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
35368 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
35371 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
35373 * elf/Makefile (pldd-modules): Define unconditionally.
35375 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
35377 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
35379 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35381 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
35382 Return ENOENT when name is empty.
35383 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
35385 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
35387 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
35389 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
35391 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35393 Fix mlock in all cases except non-readable pages.
35394 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
35395 instead of VM_PROT_ALL as parameter to __vm_wire function.
35397 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
35398 (__mkdir): When path is `/', just fail with EEXIST.
35399 * sysdeps/mach/hurd/mkdirat.c: Likewise.
35401 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
35403 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
35404 <sys/uio.h> (for writev).
35405 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
35406 and <sys/param.h> (for MIN).
35408 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
35410 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
35411 REQUESTED_TIME. Properly set the remaining time and return EINTR
35414 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
35416 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
35417 Depend on against $(link-rpcuserlibs).
35419 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35421 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
35422 (__libc_stack_end): Do not use attribute_relro.
35423 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
35424 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
35425 to libthread-provided value.
35426 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
35429 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
35432 * bits/libc-lock.h (__libc_once_get): New macro.
35433 * sysdeps/mach/bits/libc-lock.h: Likewise.
35434 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
35435 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
35436 instead of using implementation details.
35438 * libio/fileops.c: Unconditionally include <kernel-features.h>.
35439 * libio/freopen.c: Likewise.
35440 * libio/freopen64.c: Likewise.
35441 * misc/syslog.c: Likewise.
35442 * nscd/connections.c: Likewise.
35443 * nscd/netgroupcache.c: Likewise.
35444 * sysdeps/posix/getcwd.c: Likewise.
35446 2012-05-10 Roland McGrath <roland@hack.frob.com>
35448 * math/w_ilogbf.c: Add #include <limits.h>.
35450 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35452 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
35453 path instead of returning without unlocking.
35455 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
35456 immediate-write ioctls.
35457 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
35459 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
35461 * sysdeps/mach/hurd/i386/init-first.c (init): Use
35462 __builtin_frame_address instead of making assumptions about the
35463 location of the return address relative to DATA. Force early load of
35464 the return address.
35465 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
35466 __builtin_frame_address.
35469 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
35470 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
35471 implement dup3 and do some further code clean-ups.
35472 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
35473 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
35475 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35477 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
35479 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
35480 HURD_CRITICAL_END around holding _hurd_dtable_lock.
35481 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
35482 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
35483 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
35486 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
35487 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
35488 when handler == SIG_ERR, not when handler != SIG_ERR.
35490 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
35492 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
35493 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
35496 accept4 for GNU Hurd.
35497 * include/sys/socket.h (__libc_accept4): New prototype.
35498 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
35499 to implement __libc_accept4.
35500 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
35502 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
35504 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
35505 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
35506 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
35507 signal-defines.sym.
35509 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35511 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
35513 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
35515 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
35516 assertion on O_CLOEXEC flag.
35517 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
35518 * hurd/intern-fd.c: Likewise.
35519 * hurd/port2fd.c: Likewise.
35521 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35524 * bits/in.h (IPV6_PKTINFO): Define new macro.
35525 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
35527 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35532 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
35533 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
35534 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
35535 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
35536 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
35537 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
35538 * math/libm-test.inc (logb_test) : Additional logb tests.
35540 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
35541 Andreas Jaeger <aj@suse.de>
35543 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
35544 * configure: Regenerated.
35545 * config.h.in (LINK_OBSOLETE_RPC): New macro.
35546 * config.make.in (link-obsolete-rpc): New substituted variable.
35547 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
35548 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
35549 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
35550 (shared-only-routines): Don't set it under [link-obsolete-rpc],
35551 so that libc.a contains the symbols.
35552 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
35553 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
35554 * sunrpc/auth_none.c: Likewise.
35555 * sunrpc/auth_unix.c: Likewise.
35556 * sunrpc/authdes_prot.c: Likewise.
35557 * sunrpc/authuxprot.c: Likewise.
35558 * sunrpc/clnt_gen.c: Likewise.
35559 * sunrpc/clnt_perr.c: Likewise.
35560 * sunrpc/clnt_raw.c: Likewise.
35561 * sunrpc/clnt_simp.c: Likewise.
35562 * sunrpc/clnt_tcp.c: Likewise.
35563 * sunrpc/clnt_udp.c: Likewise.
35564 * sunrpc/clnt_unix.c: Likewise.
35565 * sunrpc/des_crypt.c: Likewise.
35566 * sunrpc/des_soft.c: Likewise.
35567 * sunrpc/get_myaddr.c: Likewise.
35568 * sunrpc/key_call.c: Likewise.
35569 * sunrpc/key_prot.c: Likewise.
35570 * sunrpc/netname.c: Likewise.
35571 * sunrpc/pm_getmaps.c: Likewise.
35572 * sunrpc/pm_getport.c: Likewise.
35573 * sunrpc/pmap_clnt.c: Likewise.
35574 * sunrpc/pmap_prot.c: Likewise.
35575 * sunrpc/pmap_prot2.c: Likewise.
35576 * sunrpc/pmap_rmt.c: Likewise.
35577 * sunrpc/publickey.c: Likewise.
35578 * sunrpc/rpc_cmsg.c: Likewise.
35579 * sunrpc/rpc_common.c: Likewise.
35580 * sunrpc/rpc_dtable.c: Likewise.
35581 * sunrpc/rpc_prot.c: Likewise.
35582 * sunrpc/rpc_thread.c: Likewise.
35583 * sunrpc/rtime.c: Likewise.
35584 * sunrpc/svc.c: Likewise.
35585 * sunrpc/svc_auth.c: Likewise.
35586 * sunrpc/svc_raw.c: Likewise.
35587 * sunrpc/svc_run.c: Likewise.
35588 * sunrpc/svc_tcp.c: Likewise.
35589 * sunrpc/svc_udp.c: Likewise.
35590 * sunrpc/svc_unix.c: Likewise.
35591 * sunrpc/svcauth_des.c: Likewise.
35592 * sunrpc/xcrypt.c: Likewise.
35593 * sunrpc/xdr.c: Likewise.
35594 * sunrpc/xdr_array.c: Likewise.
35595 * sunrpc/xdr_float.c: Likewise.
35596 * sunrpc/xdr_intXX_t.c: Likewise.
35597 * sunrpc/xdr_mem.c: Likewise.
35598 * sunrpc/xdr_rec.c: Likewise.
35599 * sunrpc/xdr_ref.c: Likewise.
35600 * sunrpc/xdr_sizeof.c: Likewise.
35601 * sunrpc/xdr_stdio.c: Likewise.
35603 2012-05-10 Roland McGrath <roland@hack.frob.com>
35605 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
35606 change. Update copyright years.
35608 2012-05-10 Joseph Myers <joseph@codesourcery.com>
35610 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
35612 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
35613 Joseph Myers <joseph@codesourcery.com>
35614 Paul Pluzhnikov <ppluzhnikov@google.com>
35617 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
35619 [cross-compiling] (extra-libs): Likewise.
35620 [cross-compiling] (extra-libs-others): Likewise.
35621 [cross-compiling] (librpcsvc-routines): Likewise.
35622 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
35623 [cross-compiling] (omit-deps): Likewise.
35624 (sunrpc-CPPFLAGS): New variable.
35625 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
35626 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
35627 (cross-rpcgen-objs): New variable.
35628 (extra-objs): Append $(cross-rpcgen-objs).
35629 ($(cross-rpcgen-objs)): New rule.
35630 ($(objpfx)cross-rpcgen): Likewise.
35631 (rpcgen-cmd): Define to use $(built-program-file). Expand
35633 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
35634 ($(objpfx)x%.stmp): Likewise.
35635 * sunrpc/proto.h [IS_IN_build] (_): Define.
35636 [IS_IN_build] (_libc_intl_domainname): Likewise.
35638 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
35640 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
35641 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
35642 and R_X86_64_TPOFF64.
35644 2012-05-10 Joseph Myers <joseph@codesourcery.com>
35646 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
35647 sysdeps/unix/sysv/syscalls.list.
35650 * sysdeps/unix/sysv/syscalls.list: Remove file.
35652 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
35655 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
35656 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
35657 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
35658 (__LC_IDENTIFICATION): Make these macros useful in #if
35659 expressions, as required by C99.
35661 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
35663 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
35664 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
35667 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
35669 * stdlib/longlong.h: Updated from GCC.
35671 2012-05-09 Andreas Jaeger <aj@suse.de>
35673 * nscd/nscd.c (run_modes): Make named enum, reorder so that
35674 default is first entry.
35675 (run_mode): Set type.
35676 (main): Remove informal message about syslog.
35677 (options): Fix typo.
35680 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
35683 (llrintf): Likewise.
35684 (llrint): Likewise.
35687 (nearbyint): Likewise.
35688 (nearbyintf): Likewise.
35690 2012-05-09 Andreas Jaeger <aj@suse.de>
35691 Pedro Alves <palves@redhat.com>
35693 * nscd/nscd.c (run_mode): Use enum.
35694 (main): Cleanup coding style issue.
35696 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
35697 Andreas Jaeger <aj@suse.de>
35699 * nscd/nscd.c (go_background): Replaced with...
35700 (run_mode): ... this.
35701 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
35702 (options): Add -F --foreground.
35703 (main): Implement it.
35704 (parse_opt): Parse it.
35706 2012-05-09 Andreas Jaeger <aj@suse.de>
35709 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
35710 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
35711 -Wconversion warning.
35712 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
35715 2012-05-09 Joseph Myers <joseph@codesourcery.com>
35717 * conform/data/locale.h-data (NULL): Use macro-constant. Require
35719 (LC_ALL): Use macro-int-constant.
35720 (LC_COLLATE): Likewise.
35721 (LC_CTYPE): Likewise.
35722 (LC_MESSAGES): Likewise.
35723 (LC_MONETARY): Likewise.
35724 (LC_NUMERIC): Likewise.
35725 (LC_TIME): Likewise.
35726 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
35727 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
35728 [ISO || ISO99 || ISO11] (*_t): Do not allow.
35729 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
35731 [C99-based standards] (float_t): Expect type.
35732 [C99-based standards] (double_t): Expect type.
35733 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
35735 [C99-based standards] (HUGE_VALL): Likewise.
35736 [C99-based standards] (INFINITY): Likewise.
35737 [C99-based standards] (NAN): Likewise.
35738 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
35739 [C99-based standards] (FP_NAN): Likewise.
35740 [C99-based standards] (FP_NORMAL): Likewise.
35741 [C99-based standards] (FP_SUBNORMAL): Likewise.
35742 [C99-based standards] (FP_ZERO): Likewise.
35743 [C99-based standards] (FP_FAST_FMA): Use
35744 optional-macro-int-constant. Specify type. Require == 1.
35745 [C99-based standards] (FP_FAST_FMAF): Likewise.
35746 [C99-based standards] (FP_FAST_FMAL): Likewise.
35747 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
35748 [C99-based standards] (FP_ILOGBNAN): Likewise.
35749 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
35751 [C99-based standards] (MATH_ERREXCEPT): Likewise.
35752 [C99-based standards] (math_errhandling): Specify type.
35753 [ISO99 || ISO11] (signgam): Do not allow.
35754 [non-C99-based standards] (copysignf): Do not allow.
35755 [non-C99-based standards] (exp2f): Likewise.
35756 [non-C99-based standards] (log2f): Likewise.
35757 [non-C99-based standards] (modff): Allow.
35758 [non-C99-based standards] (erff): Do not allow.
35759 [non-C99-based standards] (erfcf): Likewise.
35760 [non-C99-based standards] (gammaf): Likewise.
35761 [non-C99-based standards] (hypotf): Likewise.
35762 [non-C99-based standards] (j0f): Likewise.
35763 [non-C99-based standards] (j1f): Likewise.
35764 [non-C99-based standards] (jnf): Likewise.
35765 [non-C99-based standards] (lgammaf): Likewise.
35766 [non-C99-based standards] (tgammaf): Likewise.
35767 [non-C99-based standards] (y0f): Likewise.
35768 [non-C99-based standards] (y1f): Likewise.
35769 [non-C99-based standards] (ynf): Likewise.
35770 [non-C99-based standards] (isnanf): Likewise.
35771 [non-C99-based standards] (acoshf): Likewise.
35772 [non-C99-based standards] (asinhf): Likewise.
35773 [non-C99-based standards] (atanhf): Likewise.
35774 [non-C99-based standards] (cbrtf): Likewise.
35775 [non-C99-based standards] (expm1f): Likewise.
35776 [non-C99-based standards] (ilogbf): Likewise.
35777 [non-C99-based standards] (log1pf): Likewise.
35778 [non-C99-based standards] (logbf): Likewise.
35779 [non-C99-based standards] (nextafterf): Likewise.
35780 [non-C99-based standards] (remainderf): Likewise.
35781 [non-C99-based standards] (rintf): Likewise.
35782 [non-C99-based standards] (scalbf): Likewise.
35783 [non-C99-based standards] (copysignl): Likewise.
35784 [non-C99-based standards] (exp2l): Likewise.
35785 [non-C99-based standards] (log2l): Likewise.
35786 [non-C99-based standards] (modfl): Allow.
35787 [non-C99-based standards] (erfl): Do not allow.
35788 [non-C99-based standards] (erfcl): Likewise.
35789 [non-C99-based standards] (gammal): Likewise.
35790 [non-C99-based standards] (hypotl): Likewise.
35791 [non-C99-based standards] (j0l): Likewise.
35792 [non-C99-based standards] (j1l): Likewise.
35793 [non-C99-based standards] (jnl): Likewise.
35794 [non-C99-based standards] (lgammal): Likewise.
35795 [non-C99-based standards] (tgammal): Likewise.
35796 [non-C99-based standards] (y0l): Likewise.
35797 [non-C99-based standards] (y1l): Likewise.
35798 [non-C99-based standards] (ynl): Likewise.
35799 [non-C99-based standards] (isnanl): Likewise.
35800 [non-C99-based standards] (acoshl): Likewise.
35801 [non-C99-based standards] (asinhl): Likewise.
35802 [non-C99-based standards] (atanhl): Likewise.
35803 [non-C99-based standards] (cbrtl): Likewise.
35804 [non-C99-based standards] (expm1l): Likewise.
35805 [non-C99-based standards] (ilogbl): Likewise.
35806 [non-C99-based standards] (log1pl): Likewise.
35807 [non-C99-based standards] (logbl): Likewise.
35808 [non-C99-based standards] (nextafterl): Likewise.
35809 [non-C99-based standards] (remainderl): Likewise.
35810 [non-C99-based standards] (rintl): Likewise.
35811 [non-C99-based standards] (scalbl): Likewise.
35812 [ISO || ISO99 || ISO11] (*_t): Do not allow.
35813 [non-C99-based standards] (FP_*): Do not allow.
35814 [C99-based standards] (FP_*): Change to
35815 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
35816 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
35818 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
35819 (SIG_ERR): Likewise.
35820 [X/Open-based standards] (SIG_HOLD): Likewise.
35821 (SIG_IGN): Likewise.
35822 (SIGABRT): Use macro-int-constant. Specify type. Require
35824 (SIGFPE): Likewise.
35825 (SIGILL): Likewise.
35826 (SIGINT): Likewise.
35827 (SIGSEGV): Likewise.
35828 (SIGTER): Likewise.
35829 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
35830 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
35831 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
35832 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
35833 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
35834 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
35835 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
35836 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
35837 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
35838 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
35839 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
35840 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
35841 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
35842 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
35843 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
35844 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
35845 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
35846 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
35847 [X/Open-based standards] (SIGTRAP): Likewise.
35848 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
35849 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
35850 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
35851 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
35852 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
35855 2012-05-08 Ian Wienand <ianw@vmware.com>
35858 * time/tzset.c (__tzset_parse_tz): Update default rules for
35859 daylight time changes in the Energy Policy Act of 2005.
35861 2012-05-09 Andreas Jaeger <aj@suse.de>
35864 * elf/ldconfig.c (parse_conf): Change string to make clear that
35865 ldconfig only issued a warning if ld.so.conf does not exist.
35867 2012-05-08 David S. Miller <davem@davemloft.net>
35869 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
35870 movxtod instead of popping the value on the stack.
35872 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35874 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
35876 * config.h.in: Add HAVE_ARM_PCS_VFP.
35878 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
35881 * include/features.h: Warn if user requests __FORTIFY_SOURCE
35882 checking but the checks are disabled for any reason.
35884 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
35886 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
35887 and ELF64_R_TYPE with ELFW(R_TYPE).
35889 2012-05-08 Joseph Myers <joseph@codesourcery.com>
35891 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
35892 (ulimit): Likewise.
35894 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
35895 (settimeofday): Likewise.
35897 2012-05-08 Mike Frysinger <vapier@gentoo.org>
35899 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
35900 a struct th_u2 inside the union, and move tu_block/tu_code into
35901 a new th_u3 union of tu_block/tu_code inside of that. Move
35902 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
35903 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
35904 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
35905 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
35906 (th_stuff): Change to th_u1.tu_stuff.
35908 (th_msg): Change to th_u1.th_u2.tu_data.
35910 2012-05-07 David S. Miller <davem@davemloft.net>
35912 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35915 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
35916 (SETUP_PIC_REG): Use it.
35917 (SETUP_PIC_REG_LEAF): Use it.
35919 2012-05-07 Joseph Myers <joseph@codesourcery.com>
35923 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
35925 (EXPL_FINITE): Likewise.
35926 (FLDLOG): Likewise.
35927 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
35928 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
35930 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
35932 (EXPL_FINITE): Likewise.
35933 (FLDLOG): Likewise.
35934 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
35935 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
35937 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
35938 test of -max_value argument for long double.
35939 * sysdeps/i386/fpu/libm-test-ulps: Update.
35940 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35942 2012-05-06 David S. Miller <davem@davemloft.net>
35944 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
35945 quad soft-float symbols whose references which are compiler
35947 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
35949 2012-05-06 Joseph Myers <joseph@codesourcery.com>
35953 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
35955 (EXPL_FINITE): Likewise.
35956 (FLDLOG): Likewise.
35959 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
35960 Adjust comments for base varying.
35961 (__expl_finite): Change alias to EXPL_FINITE.
35962 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
35964 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
35965 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
35966 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
35967 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
35968 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
35970 (EXPL_FINITE): Likewise.
35971 (FLDLOG): Likewise.
35974 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
35975 Adjust comments for base varying.
35976 (__expl_finite): Change alias to EXPL_FINITE.
35977 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
35979 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35982 * math/libm-test.inc (check_float_internal): Correct ulp
35983 calculation for subnormal expected results.
35985 2012-05-06 Andreas Jaeger <aj@suse.de>
35987 * Makeconfig (+math-flags): New, set to -frounding-math.
35988 (+cflags): Add +math-flags so that all of glibc gets compiled with
35991 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
35993 2012-05-05 Joseph Myers <joseph@codesourcery.com>
35995 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
36001 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
36002 (__ieee754_expl): Allow for and saturate large arguments.
36003 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
36004 (u_threshold): Likewise.
36005 (__exp): Call __ieee754_exp before checking for overflow and
36007 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
36008 (u_threshold): Likewise.
36009 (__expf): Call __ieee754_expf before checking for overflow and
36011 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
36012 (u_threshold): Likewise.
36013 (__expl): Call __ieee754_expl before checking for overflow and
36015 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
36016 (__ieee754_expl): Allow for and saturate large arguments.
36017 * math/libm-test.inc (exp_test): Add another test. Do not allow
36018 missing overflow exception on overflow.
36019 (expm1_test): Do not allow missing overflow exception on overflow.
36021 * sysdeps/i386/fpu/e_expl.c: Move to ...
36022 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
36023 rather than using inline asm.
36024 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
36025 * sysdeps/x86_64/fpu/e_expl.S: Copy from
36026 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
36028 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
36031 (signal): Likewise.
36035 2012-05-04 Joseph Myers <joseph@codesourcery.com>
36037 * sysdeps/unix/syscalls.list (adjtime): Add entry from
36038 sysdeps/unix/common/syscalls.list.
36039 (fchmod): Likewise.
36040 (fchown): Likewise.
36041 (ftruncate): Likewise.
36042 (getrusage): Likewise.
36043 (gettimeofday): Likewise.
36044 (setpgid): Likewise.
36045 (setregid): Likewise.
36046 (setreuid): Likewise.
36047 (sigaction): Likewise.
36048 (truncate): Likewise.
36049 (vhangup): Likewise.
36050 * sysdeps/unix/common/syscalls.list: Remove file.
36051 * sysdeps/unix/bsd/Implies: Don't include unix/common.
36052 * sysdeps/unix/sysv/linux/Implies: Likewise.
36054 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
36056 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
36057 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
36058 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
36060 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
36062 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
36064 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
36065 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
36067 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
36068 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
36070 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
36071 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
36073 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
36074 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
36076 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
36077 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
36079 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
36080 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
36082 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
36084 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
36086 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
36088 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
36090 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
36091 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
36093 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
36095 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
36097 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
36099 2012-05-04 Joseph Myers <joseph@codesourcery.com>
36101 * sysdeps/unix/common/bits/dirent.h: Remove file.
36102 * sysdeps/unix/common/bits/fcntl.h: Likewise.
36104 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
36105 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
36106 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
36107 * sysdeps/unix/bsd/isatty.c: Likewise.
36108 * sysdeps/unix/bsd/tcdrain.c: Likewise.
36109 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
36110 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
36112 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36115 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
36116 long double comparison inaccuracies.
36117 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
36118 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36120 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
36122 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
36123 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
36125 2012-05-04 Joseph Myers <joseph@codesourcery.com>
36128 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
36129 nonzero digits before rounding a hex value.
36130 * stdlib/tst-strtod.c (tests): Add another test.
36132 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36134 * sysdeps/s390/fpu/libm-test-ulps: Update.
36136 2012-05-03 Andreas Jaeger <aj@suse.de>
36138 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
36139 does not get optimized out.
36140 (malloc_opt_barrier): New.
36142 2012-05-03 Andreas Jaeger <aj@suse.de>
36143 Roland McGrath <roland@hack.frob.com>
36145 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
36146 intermediate file deletion.
36147 (generated): Add .symlist files.
36149 2012-05-03 Joseph Myers <joseph@codesourcery.com>
36152 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
36153 Redirect under this condition.
36154 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
36155 [__USE_GNU] (__dprintf_chk): Not under this condition.
36156 [__USE_GNU] (__vdprintf_chk): Likewise.
36157 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
36158 under this condition.
36159 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
36160 [__USE_XOPEN2K8] (dprintf): Define under this condition.
36161 [__USE_XOPEN2K8] (vdprintf): Likewise.
36162 [__USE_GNU] (__dprintf_chk): Not under this condition.
36163 [__USE_GNU] (__vdprintf_chk): Likewise.
36164 [__USE_GNU] (dprintf): Likewise.
36165 [__USE_GNU] (vdprintf): Likewise.
36167 2012-05-03 Roland McGrath <roland@hack.frob.com>
36169 * elf/Makefile (common-generated): Set this instead of generated for
36170 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
36171 $(all-built-dso)-derived lists.
36173 2012-05-03 Andreas Jaeger <aj@suse.de>
36175 * sysdeps/i386/fpu/libm-test-ulps: Update.
36178 * FAQ.in: Likewise.
36179 * scripts/gen-FAQ.pl: Likewise.
36180 * manual/install.texi (Installation): Point to online location of
36182 * Makefile (files-for-dist): Remove FAQ.
36185 2012-05-02 Allan McRae <allan@archlinux.org>
36187 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
36188 (LDFLAGS-reldepmod5.so): Likewise.
36189 (LDFLAGS-reldep6mod1.so): Likewise.
36190 (LDFLAGS-reldep6mod4.so): Likewise.
36191 (LDFLAGS-reldep8mod3.so): Likewise.
36192 (LDFLAGS-unload4mod1.so): Likewise.
36193 (LDFLAGS-unload4mod2.so): Likewise.
36194 (LDFLAGS-tst-initorder): Likewise.
36195 (LDFLAGS-tst-initordera2.so): Likewise.
36196 (LDFLAGS-tst-initordera3.so): Likewise.
36197 (LDFLAGS-tst-initordera4.so): Likewise.
36198 (LDFLAGS-tst-initorderb2.so): Likewise.
36199 (LDFLAGS-noload): Likewise.
36200 (LDFLAGS-next): Likewise.
36201 (LDFLAGS-order2mod1.so): Likewise.
36202 (LDFLAGS-order2mod2.so): Likewise.
36203 (LDFLAGS-tst-initorder2): Likewise.
36204 (LDFLAGS-tst-initorder2a.so): Likewise.
36205 (LDFLAGS-tst-initorder2b.so): Likewise.
36206 (LDFLAGS-tst-initorder2c.so): Likewise.
36207 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
36209 2012-05-02 David S. Miller <davem@davemloft.net>
36211 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36213 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
36216 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
36218 2012-05-02 Andreas Jaeger <aj@suse.de>
36220 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
36221 since we manipulate rounding mode.
36222 (CPPFLAGS-test-idouble.c): Likewise.
36223 (CPPFLAGS-test-ifloat.c): Likewise.
36224 (CFLAGS-test-ldouble.c): Likewise.
36225 (CFLAGS-test-double.c): Likewise.
36226 (CFLAGS-test-float.c): Likewise.
36227 (CFLAGS-test-misc.c): Likewise.
36228 (CFLAGS-test-test-fenv.c): Likewise.
36230 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36234 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
36235 comparisons to determine direction to adjust input.
36237 2012-05-01 Roland McGrath <roland@hack.frob.com>
36239 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
36240 output to the target.
36242 * scripts/localplt.awk: New file.
36243 * elf/Makefile ($(objpfx)check-localplt): Target removed.
36244 (check-localplt-CFLAGS): Variable removed.
36245 ($(all-built-dso:=.jmprel)): New static pattern rule.
36246 (generated): Add those targets.
36247 (localplt-built-dso): New variable.
36248 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
36250 * elf/check-localplt.c: File removed.
36252 * scripts/check-execstack.awk: New file.
36253 * elf/Makefile ($(objpfx)check-execstack): Target removed.
36254 (check-execstack-CFLAGS): Variable removed.
36255 ($(objpfx)check-execstack.h): Target removed.
36256 ($(objpfx)execstack-default): New target.
36257 (generated): Add that instead of check-execstack.h.
36258 ($(all-built-dso:=.phdr)): New static pattern rule.
36259 (generated): Add those targets.
36260 * elf/check-execstack.c: File removed.
36262 * scripts/check-textrel.awk: New file.
36263 * elf/Makefile ($(objpfx)check-textrel): Target removed.
36264 (check-textrel-CFLAGS): Variable removed.
36265 (all-built-dso): Use := to define.o
36266 ($(all-built-dso:=.dyn)): New static pattern rule.
36267 (generated): Add those targets.
36268 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
36269 * config.make.in (READELF): New substituted variable.
36270 * elf/check-textrel.c: File removed.
36272 2012-05-01 Joseph Myers <joseph@codesourcery.com>
36274 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
36276 * conform/data/ctype.h-data [C99-based standards] (isblank):
36278 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
36279 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
36280 [ISO || ISO99 || ISO11] (*_t): Do not allow.
36281 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
36282 Specify type. Require positive value.
36283 (EILSEQ): Likewise.
36284 (ERANGE): Likewise.
36285 [ISO || POSIX] (EILSEQ): Do not expect.
36286 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
36287 Specify type. Require positive value.
36288 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
36289 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
36290 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
36291 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
36292 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
36293 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
36294 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
36295 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
36296 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
36297 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
36298 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
36299 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
36300 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
36301 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
36302 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
36303 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
36304 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
36305 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
36306 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
36307 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
36308 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
36309 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
36310 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
36311 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
36312 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
36313 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
36314 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
36315 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
36316 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
36317 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
36318 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
36319 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
36320 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
36321 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
36322 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
36323 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
36324 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
36325 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
36326 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
36327 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
36328 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
36329 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
36330 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
36331 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
36332 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
36333 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
36334 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
36335 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
36336 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
36337 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
36338 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
36339 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
36340 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
36341 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
36342 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
36343 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
36344 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
36345 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
36346 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
36347 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
36348 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
36349 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
36350 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
36351 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
36352 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
36353 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
36354 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
36355 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
36356 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
36357 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
36358 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
36359 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
36360 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
36361 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
36362 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
36363 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
36364 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
36366 (FLT_ROUNDS): Expect as macro, not constant.
36367 (FLT_MANT_DIG): Use macro-int-constant.
36368 (DBL_MANT_DIG): Likewise.
36369 (LDBL_MANT_DIG): Likewise.
36370 (FLT_DIG): Likewise.
36371 (DBL_DIG): Likewise.
36372 (LDBL_DIG): Likewise.
36373 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
36374 (DBL_MIN_EXP): Likewise.
36375 (LDBL_MIN_EXP): Likewise.
36376 (FLT_MAX_EXP): Use macro-int-constant.
36377 (DBL_MAX_EXP): Likewise.
36378 (LDBL_MAX_EXP): Likewise.
36379 (FLT_MAX_10_EXP): Likewise.
36380 (DBL_MAX_10_EXP): Likewise.
36381 (LDBL_MAX_10_EXP): Likewise.
36382 (FLT_MAX): Use macro-constant.
36383 (DBL_MAX): Likewise.
36384 (LDBL_MAX): Likewise.
36385 (FLT_EPSILON): Use macro-constant. Give upper bound.
36386 (DBL_EPSILON): Likewise.
36387 (LDBL_EPSILON): Likewise.
36388 (FLT_MIN): Likewise.
36389 (DBL_MIN): Likewise.
36390 (LDBL_MIN): Likewise.
36391 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
36392 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
36393 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
36394 [ISO11] (FLT_HAS_SUBNORM): Likewise.
36395 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
36396 [ISO11] (DBL_DECIMAL_DIG): Likewise.
36397 [ISO11] (FLT_DECIMAL_DIG): Likewise.
36398 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
36399 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
36400 [ISO11] (FLT_TRUE_MIN): Likewise.
36401 [ISO11] (LDBL_TRUE_MIN): Likewise.
36402 [ISO || ISO99 || ISO11] (*_t): Do not allow.
36403 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
36404 (SCHAR_MIN): Use macro-int-constant. Specify type.
36405 (SCHAR_MAX): Likewise.
36406 (UCHAR_MAX): Likewise.
36407 (CHAR_MIN): Likewise.
36408 (CHAR_MAX): Likewise.
36409 (MB_LEN_MAX): Use macro-int-constant.
36410 (SHRT_MIN): Use macro-int-constant. Specify type.
36411 (SHRT_MAX): Likewise.
36412 (USHRT_MAX): Likewise.
36413 (INT_MAX): Likewise.
36414 (INT_MIN): Use macro-int-constant. Specify type. Make upper
36416 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
36418 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
36420 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
36421 bound negative. Suffix upper bound with "L".
36422 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
36424 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
36426 [C99-based standards] (LLONG_MAX): Likewise.
36427 [C99-based standards] (ULLONG_MAX): Likewise.
36428 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
36430 [ISO11] (max_align_t): Require type.
36431 [ISO || ISO99 || ISO11] (*_t): Do not allow.
36433 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
36434 from $CFLAGS, without defining away __attribute__ calls.
36435 (checknamespace): Use $CFLAGS_namespace.
36437 * conform/conformtest.pl (@keywords): Only include C99 keywords
36438 for standards based on C99 or C11.
36440 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
36442 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
36445 * conform/conformtest.pl: Handle "macro-int-constant" and test for
36446 usability of symbols in #if.
36448 * conform/conformtest.pl: If macro or constant types start
36449 "promoted:", expect the symbol to be of the following type
36450 promoted by the integer promotions.
36452 * conform/conformtest.pl: Parse all "constant" and "macro" lines
36453 in one place. Also handle "macro-constant".
36455 * conform/conformtest.pl: Only accept expected macro values with
36456 "==". Parse all "macro" lines in one place.
36457 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
36459 * conform/conformtest.pl: Handle braced types on "constant" lines
36460 instead of handling "typed-constant".
36461 * conform/data/signal.h-data: Use "constant" instead of
36464 * conform/conformtest.pl: Handle "optional-" at start of lines in
36465 one place rather than duplicating several cases. Handle each
36466 format of "macro" line with initial "optional-".
36468 * conform/conformtest.pl: Only accept expected constant or
36469 optional-constant values with "==". Parse all "constant" lines in
36470 one place. Parse all "optional-constant" lines in one place.
36471 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
36472 * conform/data/fmtmsg.h-data: Likewise.
36473 * conform/data/netinet/in.h-data: Likewise.
36474 * conform/data/tar.h-data: Likewise.
36475 * conform/data/limits.h-data: Use "==" form on "constant" and
36476 "optional-constant" lines.
36478 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
36479 Use -std=c99 for XOPEN2K.
36480 (@knownproblems): Remove.
36481 (newtoken): Don't check %isknown.
36483 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
36484 Do not expect macro.
36485 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
36486 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
36487 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
36488 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
36489 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
36490 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
36491 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
36492 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
36493 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
36494 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
36495 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
36496 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
36497 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
36498 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
36499 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
36500 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
36501 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
36502 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
36503 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
36504 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
36505 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
36506 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
36507 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
36508 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
36509 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
36510 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
36511 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
36512 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
36513 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
36514 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
36515 [XPG3] (acosh): Likewise.
36516 [XPG3] (asinh): Likewise.
36517 [XPG3] (atanh): Likewise.
36518 [XPG3] (cbrt): Likewise.
36519 [XPG3] (expm1): Likewise.
36520 [XPG3] (ilogb): Likewise.
36521 [XPG3] (log1p): Likewise.
36522 [XPG3] (logb): Likewise.
36523 [XPG3] (nextafter): Likewise.
36524 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
36525 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
36526 [XPG3] (remainder): Likewise.
36527 [XPG3] (rint): Likewise.
36528 [XPG3 || XPG4 || UNIX98] (round): Likewise.
36529 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
36530 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
36531 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
36532 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
36533 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
36534 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
36535 [UNIX98 || XOPEN2K] (scalb): Expect.
36536 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
36537 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
36538 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
36539 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
36540 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
36541 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
36542 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
36543 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
36544 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
36545 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
36546 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
36547 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
36548 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
36549 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
36550 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
36551 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
36552 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
36553 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
36554 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
36555 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
36556 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
36557 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
36558 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
36559 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
36560 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
36561 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
36562 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
36563 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
36564 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
36565 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
36566 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
36567 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
36568 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
36569 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
36570 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
36571 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
36572 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
36573 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
36574 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
36575 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
36576 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
36577 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
36578 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
36579 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
36580 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
36581 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
36582 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
36583 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
36584 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
36585 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
36586 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
36587 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
36588 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
36589 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
36590 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
36591 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
36592 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
36593 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
36594 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
36595 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
36596 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
36597 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
36598 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
36599 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
36600 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
36601 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
36602 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
36603 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
36604 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
36605 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
36606 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
36607 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
36608 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
36609 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
36610 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
36611 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
36612 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
36613 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
36614 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
36615 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
36616 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
36617 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
36618 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
36619 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
36620 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
36621 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
36622 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
36623 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
36624 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
36625 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
36626 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
36627 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
36628 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
36629 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
36630 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
36631 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
36632 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
36633 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
36634 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
36635 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
36636 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
36637 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
36638 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
36639 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
36640 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
36641 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
36642 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
36643 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
36644 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
36645 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
36646 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
36647 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
36648 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
36649 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
36650 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
36651 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
36652 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
36653 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
36654 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
36655 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
36656 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
36657 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
36658 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
36659 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
36660 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
36661 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
36662 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
36663 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
36664 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
36665 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
36666 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
36667 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
36668 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
36669 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
36670 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
36671 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
36672 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
36674 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
36675 _XOPEN_SOURCE_EXTENDED for XPG4.
36677 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
36679 * Makeconfig (localtime): Remove variable.
36680 (inst_localtime-file): Likewise.
36682 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
36684 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
36686 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
36688 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
36690 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
36692 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
36694 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
36696 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
36698 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
36700 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
36703 2012-05-01 Joseph Myers <joseph@codesourcery.com>
36707 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
36708 comparisons to determine direction to adjust input.
36709 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
36710 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
36711 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
36713 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
36715 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
36717 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
36718 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
36720 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
36722 * math/libm-test.inc (nexttoward_test): Add more tests.
36724 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
36727 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
36728 in version GLIBC_2.1, not GLIBC_2.0.
36729 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
36732 2012-04-30 Joseph Myers <joseph@codesourcery.com>
36735 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
36737 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
36738 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
36739 * math/libm-test.inc (acos_test): Add more tests.
36740 (asin_test): Likewise.
36741 * sysdeps/i386/fpu/libm-test-ulps: Update.
36742 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36745 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
36747 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
36748 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
36749 * math/libm-test.inc (acos_test_tonearest): New function.
36750 (acos_test_towardzero): Likewise.
36751 (acos_test_downward): Likewise.
36752 (acos_test_upward): Likewise.
36753 (asin_test_tonearest): Likewise.
36754 (asin_test_towardzero): Likewise.
36755 (asin_test_downward): Likewise.
36756 (asin_test_upward): Likewise.
36757 (main): Call the new functions.
36758 * sysdeps/i386/fpu/libm-test-ulps: Update.
36759 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36763 * math/e_exp10.c: Include <float.h>.
36764 (__ieee754_exp10): Handle underflow here rather than multiplying
36765 large negative argument by M_LN10.
36766 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
36768 * math/e_exp10l.c: Include <float.h>.
36769 (__ieee754_exp10l): Handle underflow here rather than multiplying
36770 large negative argument by M_LN10l.
36771 * math/libm-test.inc (exp10_test): Add another test. Do not allow
36772 spurious overflow exception on underflow.
36774 2012-04-29 Marek Polacek <polacek@redhat.com>
36776 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
36777 (__fortify_function): New macro.
36778 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
36779 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
36780 __extern_always_inline.
36781 * libio/bits/stdio2.h: Likewise.
36782 * libio/bits/stdio.h: Likewise.
36783 * string/string.h: Likewise.
36784 * string/bits/string3.h: Likewise.
36785 * include/stdio.h: Likewise.
36786 * stdlib/bits/stdlib.h: Likewise.
36787 * stdlib/stdlib.h: Likewise.
36788 * rt/bits/mqueue2.h: Likewise.
36789 * rt/mqueue.h: Likewise.
36790 * posix/bits/unistd.h: Likewise.
36791 * posix/unistd.h: Likewise.
36792 * io/bits/poll2.h: Likewise.
36793 * io/bits/fcntl2.h: Likewise.
36794 * io/fcntl.h: Likewise.
36795 * io/sys/poll.h: Likewise.
36796 * misc/bits/syslog.h: Likewise.
36797 * misc/bits/syslog-ldbl.h: Likewise.
36798 * misc/sys/syslog.h: Likewise.
36799 * socket/bits/socket2.h: Likewise.
36800 * socket/sys/socket.h: Likewise.
36801 * debug/tst-chk1.c: Likewise.
36802 * wcsmbs/bits/wchar2.h: Likewise.
36803 * wcsmbs/bits/wchar-ldbl.h: Likewise.
36804 * wcsmbs/wchar.h: Likewise.
36806 2012-04-29 Andreas Jaeger <aj@suse.de>
36808 * Makerules (tests): Remove enable-check-abi protection.
36809 (check-abi-warn): Remove.
36810 (check-abi-%): Remove check-abi-warn usage.
36812 * configure.in: Remove check-abi configure option.
36813 * configure: Regenerated.
36814 * config.make.in (enable-check-abi): Remove.
36816 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
36819 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
36820 double functions to double *_finite functions.
36823 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
36824 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
36826 * stdio-common/Makefile (tests): Add tst-sprintf3.
36827 * stdio-common/tst-sprintf3.c: New file.
36829 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
36830 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
36832 2012-04-28 Joseph Myers <joseph@codesourcery.com>
36834 * conform/conformtest.pl: Remove duplicate typed-constant
36837 2012-04-28 David S. Miller <davem@davemloft.net>
36839 * Makerules (%.abilist): Add vpath on sysdep_dirs.
36840 (check-abi-%): Remove AWK script prerequisite and explicit
36842 (check-abi): Rewrite to just diff the symlist with the abilist.
36843 (config-tls, config-abi-config): Delete, no longer used.
36844 (update-abi-%): Remove AWK script and explicit abilist directory.
36845 (update-abi): Rewrite to simply compare and conditionally copy the
36846 symlist and the sysdep abilist file. Remove update-abi-config
36848 * abilist/ld.abilist: Remove.
36849 * abilist/libBrokenLocale.abilist: Remove.
36850 * abilist/libanl.abilist: Remove.
36851 * abilist/libcrypt.abilist: Remove.
36852 * abilist/libdl.abilist: Remove.
36853 * abilist/librt.abilist: Remove.
36854 * abilist/libthread_db.abilist: Remove.
36855 * abilist/libutil.abilist: Remove.
36856 * scripts/extract-abilist.awk: Remove.
36857 * scripts/merge-abilist.awk: Remove.
36858 * sysdeps/generic/libcidn.abilist: New file.
36859 * sysdeps/generic/libnss_compat.abilist: New file.
36860 * sysdeps/generic/libnss_db.abilist: New file.
36861 * sysdeps/generic/libnss_dns.abilist: New file.
36862 * sysdeps/generic/libnss_files.abilist: New file.
36863 * sysdeps/generic/libnss_hesiod.abilist: New file.
36864 * sysdeps/generic/libnss_nis.abilist: New file.
36865 * sysdeps/generic/libnss_nisplus.abilist: New file.
36866 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
36867 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
36868 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
36870 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
36871 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
36872 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
36873 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
36874 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
36875 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
36876 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
36877 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
36878 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
36880 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
36881 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
36882 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
36883 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
36885 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
36886 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
36887 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
36888 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
36889 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
36890 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
36892 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
36893 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
36894 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
36896 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
36897 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
36899 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
36901 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
36903 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
36905 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
36907 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
36909 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
36911 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
36913 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
36915 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
36917 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
36919 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
36921 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
36923 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
36925 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
36927 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
36929 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
36931 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
36933 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
36935 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
36937 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
36939 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
36941 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
36943 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
36945 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
36947 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
36949 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
36950 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
36952 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
36954 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
36956 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
36958 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
36960 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
36962 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
36964 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
36966 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
36968 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
36970 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
36972 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
36974 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
36975 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
36977 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
36979 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
36981 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
36983 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
36985 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
36987 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
36989 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
36991 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
36993 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
36995 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
36997 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
36999 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
37000 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
37001 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
37003 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
37004 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
37005 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
37006 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
37007 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
37008 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
37009 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
37010 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
37011 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
37012 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
37013 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
37014 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
37016 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
37018 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
37020 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
37022 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
37024 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
37026 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
37028 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
37030 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
37032 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
37034 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
37036 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
37038 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
37039 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
37041 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
37043 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
37045 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
37047 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
37049 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
37051 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
37053 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
37055 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
37057 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
37059 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
37061 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
37064 2012-04-28 Joseph Myers <joseph@codesourcery.com>
37066 * conform/conformtest.pl: Fix typo in handling typed-constant from
37069 2012-04-27 Joseph Myers <joseph@codesourcery.com>
37071 * README: Cut down references to pre-2.6 Linux kernels and
37072 Linuxthreads. Update lists of configurations in libc and ports
37073 and sort alphabetically. Say "or newer" with Linux kernel version
37076 * config.h.in [IS_IN_build]: Allow compiling without optimization.
37078 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
37081 * math/libm-test.inc (logb_test_downward): New test to expose
37082 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
37085 2012-04-27 Joseph Myers <joseph@codesourcery.com>
37088 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
37090 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
37091 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
37093 2012-04-26 Joseph Myers <joseph@codesourcery.com>
37095 * sysdeps/unix/i386/brk.S: Remove file.
37096 * sysdeps/unix/i386/dl-brk.S: Likewise.
37097 * sysdeps/unix/i386/pipe.S: Likewise.
37098 * sysdeps/unix/i386/sigreturn.S: Likewise.
37099 * sysdeps/unix/i386/syscall.S: Likewise.
37100 * sysdeps/unix/i386/vfork.S: Likewise.
37101 * sysdeps/unix/i386/wait.S: Likewise.
37103 * sysdeps/unix/common/tcsendbrk.c: Move to ...
37104 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
37106 * configure.in (arm*-none*): Do not allow without
37107 --enable-hacker-mode.
37108 (netbsd*): Remove case setting base_os.
37109 (386bsd*): Likewise.
37110 (freebsd*): Likewise.
37113 (sunos*): Likewise.
37114 (ultrix*): Likewise.
37115 (newsos*): Likewise.
37116 (dynix*): Likewise.
37122 (minix*): Likewise.
37123 (irix4*): Likewise.
37124 (irix6*): Likewise.
37125 (solaris[2-9]*): Likewise.
37127 * configure: Regenerated.
37129 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37132 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
37133 overflow or cancellation in calculating denominator.
37134 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
37135 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
37136 down expression to avoid unexpected rounding in newer GCCs.
37137 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
37139 2012-04-26 David S. Miller <davem@davemloft.net>
37141 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
37142 long-double compat symbols.
37143 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
37144 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
37145 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
37146 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
37147 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
37148 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
37149 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
37150 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
37151 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
37152 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
37153 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
37154 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
37155 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
37157 2012-04-25 David S. Miller <davem@davemloft.net>
37159 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
37160 HWCAP_* values only after the memory barriers have been defined.
37161 (atomic_full_barrier): Define.
37162 (atomic_read_barrier): Define.
37163 (atomic_write_barrier): Define.
37165 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
37167 * shlib-versions: Add libgcc_s version information.
37168 * sysdeps/generic/libgcc_s.h: Remove.
37169 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
37171 * sysdeps/gnu/unwind-resume.c: Likewise.
37172 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
37174 2012-04-25 David S. Miller <davem@davemloft.net>
37176 * sysdeps/unix/sparc/brk.S: Delete.
37177 * sysdeps/unix/sparc/dl-brk.S: Delete.
37178 * sysdeps/unix/sparc/pipe.S: Delete.
37179 * sysdeps/unix/sparc/sysdep.S: Delete.
37180 * sysdeps/unix/sparc/sysdep.h: Delete.
37181 * sysdeps/unix/sparc/vfork.S: Delete.
37182 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
37183 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
37184 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
37185 (ret_ERRVAL, r0, r1, MOVE): Define.
37186 (JUMPTARGET): Remove.
37187 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
37188 sysdeps/unix/sparc/sysdep.h
37189 (ENTRY, END): Remove.
37190 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
37192 2012-04-25 Joseph Myers <joseph@codesourcery.com>
37194 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
37195 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
37198 * timezone/README: Update upstream location and email address for
37200 * timezone/zdump.c: Update from tzcode 2012b.
37201 * timezone/zic.c: Likewise.
37203 * configure.in (libc_cv_as_needed): Remove test.
37204 * configure: Regenerated.
37205 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
37206 conditional definition.
37207 [$(have-as-needed) != yes] (no-as-needed): Likewise.
37208 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
37209 * config.make.in (have-as-needed): Remove variable.
37211 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
37212 Paul Pluzhnikov <ppluzhnikov@google.com>
37214 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
37217 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
37219 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
37220 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
37221 * sysdeps/sh/strlen.S: Likewise.
37223 2012-04-24 Joseph Myers <joseph@codesourcery.com>
37225 * sysdeps/unix/fork.S: Remove file.
37226 * sysdeps/unix/i386/fork.S: Likewise.
37227 * sysdeps/unix/sparc/fork.S: Likewise.
37229 * sysdeps/unix/system.c: Remove file.
37230 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
37232 * sysdeps/unix/getegid.S: Remove file.
37233 * sysdeps/unix/geteuid.S: Likewise.
37235 2012-04-24 Roland McGrath <roland@hack.frob.com>
37237 * scripts/check-localplt.awk: New file.
37238 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
37240 * scripts/data/localplt-generic.data: Add a comment.
37242 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
37243 NODE when __dir_mkfile failed.
37244 * sysdeps/mach/hurd/symlinkat.c: Likewise.
37245 Reported by Ludovic Courtès <ludo@gnu.org>.
37247 2012-04-24 Andreas Jaeger <aj@suse.de>
37249 * Makerules (common-clean): Also remove gen-as-const-headers
37252 2012-04-24 Joseph Myers <joseph@codesourcery.com>
37254 * Makerules (native-compile): Do not change working directory for
37255 build. Use $(OUTPUT_OPTION) in command.
37256 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
37258 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37261 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
37262 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
37263 * math/libm-test.inc (floor_test): Add more tests.
37264 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
37266 2012-04-24 Joseph Myers <joseph@codesourcery.com>
37268 * sysdeps/unix/getdents.c: Remove file.
37269 * sysdeps/unix/sysv/getdents.c: Likewise.
37270 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
37272 * sysdeps/unix/syscalls.list (madvise): Add syscall from
37273 sysdeps/unix/mman/syscalls.list.
37275 (mprotect): Likewise.
37277 (munmap): Likewise.
37278 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
37279 * sysdeps/unix/mman/syscalls.list: Remove.
37280 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
37282 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
37283 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
37284 * configure: Regenerated.
37285 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
37286 $(libgcc_s_suffix).
37287 * config.make.in (libgcc_s_suffix): Remove variable.
37289 2012-04-23 Joseph Myers <joseph@codesourcery.com>
37291 * sysdeps/unix/sysv/gethostname.c: Move to ...
37292 * sysdeps/posix/gethostname.c: ... here.
37294 * sysdeps/unix/execve.S: Remove file.
37296 * sysdeps/unix/_exit.S: Remove file.
37298 2012-04-23 Andreas Jaeger <aj@suse.de>
37301 * manual/Makefile: Remove make dist support, there's no
37302 need for a stand-alone documentation tar ball.
37303 (TEXI2DVI): Define always, it's not in Makeconfig.
37306 (edition): Removed.
37307 (glibc-doc-$(edition).tar): Removed
37311 (ETAGS): Remove, it's in Makeconfig.
37312 (move-if-change): Remove, it's in Makeconfig.
37314 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
37317 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
37318 (strtod, strtof, strtold, strtol, strtoul, strtoq)
37319 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
37320 (strtod_l, strtof_l, strtold_l): Remove __wur.
37321 It is not necessarily an error to ignore strtol's return value.
37322 One can reliably look at the stored endptr to decide whether
37323 the number had valid syntax.
37325 2012-04-21 Andreas Jaeger <aj@suse.de>
37328 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
37330 2012-04-21 Joseph Myers <joseph@codesourcery.com>
37332 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
37333 * sysdeps/unix/sysv/Versions: Remove file.
37335 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
37338 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37340 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
37343 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
37344 version from __vm86.
37346 2012-04-20 Joseph Myers <joseph@codesourcery.com>
37348 * sysdeps/unix/common/lxstat.c: Remove file.
37349 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
37351 * sysdeps/unix/sysv/Makefile: Remove file.
37353 * sysdeps/unix/sysv/direct.h: Remove file.
37355 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
37356 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
37357 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
37358 * sysdeps/unix/sysv/bits/signum.h: Likewise.
37359 * sysdeps/unix/sysv/bits/stat.h: Likewise.
37360 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
37361 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
37363 * sysdeps/unix/sysv/setrlimit.c: Remove file.
37365 * sysdeps/unix/xmknod.c: Remove file.
37366 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
37368 * sysdeps/unix/sysv/settimeofday.c: Remove file.
37370 * sysdeps/unix/sysv/i386/time.S: Remove file.
37372 * sysdeps/unix/fxstat.c: Remove file.
37373 * sysdeps/unix/xstat.c: Likewise.
37374 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
37376 * sysdeps/unix/sysv/sigaction.c: Remove file.
37378 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
37379 (sysdep_headers): Remove variable.
37380 [termio.h not in sysdep_headers] (generated): Likewise.
37381 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
37382 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
37383 * sysdeps/unix/sysv/tcdrain.c: Likewise.
37384 * sysdeps/unix/sysv/tcflow.c: Likewise.
37385 * sysdeps/unix/sysv/tcflush.c: Likewise.
37386 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
37387 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
37388 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
37389 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
37390 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
37392 * sysdeps/unix/siglist.c: Remove file.
37394 * sysdeps/unix/getppid.S: Remove file.
37396 * sysdeps/unix/mkdir.c: Remove file.
37397 * sysdeps/unix/rmdir.c: Likewise.
37399 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
37401 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
37403 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
37404 errlist-compat value.
37406 2012-04-18 David S. Miller <davem@davemloft.net>
37408 * sysdeps/generic/memcopy.h (reg_char): Delete.
37409 * debug/strcat_chk.c: Use char, not reg_char.
37410 * debug/strcpy_chk.c: Likewise.
37411 * debug/strncat_chk.c: Likewise.
37412 * debug/strncpy_chk.c: Likewise.
37413 * string/memchr.c: Likewise.
37414 * string/memrchr.c: Likewise.
37415 * string/rawmemchr.c: Likewise.
37416 * string/strcat.c: Likewise.
37417 * string/strchr.c: Likewise.
37418 * string/strchrnul.c: Likewise.
37419 * string/strcmp.c: Likewise.
37420 * string/strcpy.c: Likewise.
37421 * string/strncat.c: Likewise.
37422 * string/strncmp.c: Likewise.
37423 * string/strncpy.c: Likewise.
37425 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
37427 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
37428 __builtin_memcopy is called when src and dest ranges are known to not
37431 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
37433 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
37434 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
37435 fwd_align_merge macro call.
37436 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
37437 bwd_align_merge macro call.
37438 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
37440 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
37442 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
37443 bwd_align_merge macros.
37444 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
37445 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
37446 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
37448 2012-04-18 David S. Miller <davem@davemloft.net>
37450 * sysdeps/sparc/sparc64/memcopy.h: Delete.
37452 2012-04-18 Andreas Jaeger <aj@suse.de>
37455 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
37456 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
37457 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
37459 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
37460 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
37461 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
37463 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
37464 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
37465 Adjust for changed ldbl-128 files.
37467 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
37468 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
37469 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
37471 2012-04-17 David S. Miller <davem@davemloft.net>
37473 * sysdeps/sparc/sparc32/memcopy.h: Delete.
37475 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
37477 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
37478 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
37479 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
37480 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
37481 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
37482 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
37484 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37487 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
37488 * math/libm-test.inc: Add ilogb errno and exception tests.
37489 * math/w_ilogb.c: New file: ilogb wrapper.
37490 * math/w_ilogbf.c: New file: ilogbf wrapper.
37491 * math/w_ilogbl.c: New file: ilogbl wrapper.
37492 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
37493 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
37494 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
37495 exception being thrown with 0.0 as argument.
37496 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
37497 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
37498 exception being thrown with 0.0 as argument.
37499 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
37500 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
37501 exception being thrown with 0.0 as argument.
37502 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
37503 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
37504 exception being thrown with 0.0 as argument.
37505 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
37506 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
37507 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
37508 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
37509 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
37510 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
37511 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
37512 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
37513 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
37515 2012-04-17 Petr Baudis <pasky@ucw.cz>
37517 * include/sys/uio.h: Change __vector to __iovec to avoid clash
37520 2012-04-16 Marek Polacek <polacek@redhat.com>
37522 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
37524 2012-04-16 Marek Polacek <polacek@redhat.com>
37526 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
37527 operands of fdivp instruction.
37529 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
37531 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
37532 * elf/tst-auditmod3b.c: Likewise.
37533 * elf/tst-auditmod4b.c: Likewise.
37534 * elf/tst-auditmod5b.c: Likewise.
37535 * elf/tst-auditmod6b.c: Likewise.
37536 * elf/tst-auditmod6c.c: Likewise.
37537 * elf/tst-auditmod7b.c: Likewise.
37538 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
37539 * sysdeps/x86_64/preconfigure.in: Likewise.
37540 * sysdeps/x86_64/preconfigure: Regenerated.
37542 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
37544 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
37547 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
37549 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
37550 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
37552 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
37555 * locale/iso-639.def: Fix gl language name. Spotted by
37558 2012-04-12 Roland McGrath <roland@hack.frob.com>
37561 * libio/libio.h (__io_write_fn): Update comment.
37563 2012-04-12 Petr Baudis <pasky@ucw.cz>
37566 * stdio.texi (Hook Functions): The user provided writer function
37567 is not allowed to return -1.
37569 2012-04-11 David S. Miller <davem@davemloft.net>
37571 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37573 2012-04-11 Mike Frysinger <vapier@gentoo.org>
37575 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
37576 Add a leading slash to rtkaio.
37578 2012-04-11 Jim Meyering <meyering@redhat.com>
37581 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
37582 It is not necessarily an error to ignore fwrite's return
37583 value. One can reliably use ferror to test for errors after
37586 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
37588 * bits/types.h (__snseconds_t): New type.
37589 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
37591 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
37592 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
37593 (__SNSECONDS_T_TYPE): Likewise.
37594 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
37595 (__SNSECONDS_T_TYPE): Likewise.
37596 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
37597 (__SNSECONDS_T_TYPE): Likewise.
37599 2012-04-10 Andreas Jaeger <aj@suse.de>
37602 * manual/time.texi (Processor Time): Return type of times is
37603 elapsed real time since an arbitrary point in the past.
37604 (CPU Time): Move CLK_TCK from here...
37605 (Processor Time): ...to here. Correct description.
37606 * manual/conf.texi (Constants for Sysconf): Correct description of
37609 2012-04-10 David S. Miller <davem@davemloft.net>
37612 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
37613 where the is a gap between DT_REL(A) and DT_JMPREL.
37615 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
37617 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
37618 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
37619 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
37621 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
37623 * elf/dl-support.c (_dl_inhibit_cache): New variable.
37624 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
37625 (dl_main): Handle --inhibit-cache.
37626 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
37628 * elf/dl-load.c (_dl_map_object): Use it.
37629 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
37631 2012-04-09 Joseph Myers <joseph@codesourcery.com>
37634 * sysdeps/i386/fpu/e_powl.S (p78): New object.
37635 (__ieee754_powl): Saturate large exponents rather than testing for
37636 overflow of y*log2(x).
37637 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
37638 * math/libm-test.inc (pow_test): Do not permit spurious overflow
37642 * math/s_ctan.c: Include <float.h>.
37643 (__ctan): Avoid internal overflow or cancellation in calculating
37645 * math/s_ctanf.c: Likewise.
37646 * math/s_ctanl.c: Likewise.
37647 * math/s_ctanh.c: Likewise.
37648 * math/s_ctanhf.c: Likewise.
37649 * math/s_ctanhl.c: Likewise.
37650 * math/libm-test.inc (ctan_test): Add more tests.
37651 (ctanh_test): Likewise.
37652 * sysdeps/i386/fpu/libm-test-ulps: Update.
37653 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37655 2012-04-09 Andreas Jaeger <aj@suse.de>
37658 * manual/filesys.texi (Directory Entries): Mention that d_namlen
37659 is an optional BSD extension.
37662 * manual/stdio.texi (Opening Streams): Document additional fopen
37665 2012-04-09 Roland McGrath <roland@hack.frob.com>
37667 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
37668 %eax without telling the compiler.
37670 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
37673 * manual/install.texi: Use sourceware.org.
37675 2012-04-09 Joseph Myers <joseph@codesourcery.com>
37678 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
37679 (__ieee754_pow): Generate overflow and underflow using huge*huge
37680 and tiny*tiny rather than just returning constant infinity or zero
37681 for large exponents.
37682 * math/libm-test.inc (pow_test): Require overflow exceptions for
37683 applicable cases of large exponents.
37686 * sysdeps/i386/fpu/e_pow.S (p10): New object.
37687 (__ieee754_pow): Use iterative multiplication algorithm only for
37688 integer exponents with absolute value below 1024. Check for odd
37689 integer exponents when using algorithm for real exponents.
37690 * math/libm-test.inc (pow_test): Add more tests.
37691 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37693 2012-04-08 Joseph Myers <joseph@codesourcery.com>
37696 * math/libm-test.inc (exp_test): Do not allow overflow exception
37699 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
37702 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
37703 instead of __kernel_standard_f.
37705 2012-04-08 Mike Frysinger <vapier@gentoo.org>
37707 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
37708 * sysdeps/x86_64/memset_chk.S: Likewise.
37710 2012-04-08 Andreas Jaeger <aj@suse.de>
37713 * manual/startup.texi (Environment Access): Describe return value
37714 for putenv and setenv.
37717 * manual/filesys.texi (Directory Entries): Add description for
37721 * manual/filesys.texi (Directory Entries): Clarify that it's file
37722 system not operating system in the description of DT_UNKNOWN.
37725 * manual/syslog.texi (closelog): Fix reference, it's openlog.
37727 2012-04-08 Stephen Compall <s11@member.fsf.org>
37730 * manual/llio.texi (Opening and Closing Files): Add cross
37731 reference to explain mode argument.
37733 2012-04-07 Mike Frysinger <vapier@gentoo.org>
37735 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
37736 * sysdeps/x86_64/memset_chk.S: Likewise.
37738 2012-04-07 David S. Miller <davem@davemloft.net>
37740 * elf/elf.h (R_SPARC_WDISP10): Define.
37741 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
37743 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
37744 R_SPARC_SIZE64 and R_SPARC_H34.
37746 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
37748 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
37749 conditions and remove no longer applicable assertion.
37751 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
37753 * bits/byteswap.h: Include <features.h>.
37754 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
37755 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
37757 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
37759 * bits/byteswap.h (__bswap_16): Removed.
37760 Include <bits/byteswap-16.h> to get __bswap_16.
37761 * sysdeps/i386/bits/byteswap.h: Likewise.
37762 * sysdeps/s390/bits/byteswap.h: Likewise.
37763 * sysdeps/x86_64/bits/byteswap.h: Likewise.
37764 * bits/byteswap-16.h: New file.
37765 * sysdeps/i386/bits/byteswap-16.h: Likewise.
37766 * sysdeps/s390/bits/byteswap-16.h: Likewise.
37767 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
37768 * string/Makefile (headers): Add bits/byteswap-16.h.
37770 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
37773 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
37775 * nss/Makefile (tests-static, tests): Add tst-nss-static.
37776 * nss/tst-nss-static.c: New.
37778 2012-04-06 Robert Millan <rmh@gnu.org>
37781 * manual/llio.texi (File Position Primitive): lseek
37782 refers to WHENCE when it really means OFFSET.
37784 2012-04-06 Andreas Jaeger <aj@suse.de>
37786 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
37787 strncmp declarations.
37789 * abilist/libc.abilist: Add __poll and __ppoll.
37791 2012-04-05 David S. Miller <davem@davemloft.net>
37793 * scripts/check-local-headers.sh: Accept a host triplet in the
37794 path matched by the exclude regexp.
37796 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
37798 * sysdeps/powerpc/powerpc32/dl-machine.h
37799 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
37800 * sysdeps/s390/s390-32/dl-machine.h
37801 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
37802 * sysdeps/sparc/sparc32/dl-machine.h
37803 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
37804 * sysdeps/sparc/sparc64/dl-machine.h
37805 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
37807 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
37809 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
37810 undefined symbol errors.
37812 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
37815 2012-04-05 Michael Matz <matz@suse.de>
37818 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
37820 2012-04-05 Andreas Jaeger <aj@suse.de>
37823 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
37826 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
37828 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
37829 which ROUND is no valid rounding mode.
37831 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
37833 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
37835 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
37837 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
37839 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
37840 an exception using FPU order intentionally.
37842 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
37844 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
37845 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
37846 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
37847 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
37849 2012-04-05 Simon Josefsson <simon@josefsson.org>
37852 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
37853 EINVAL when BUFLEN is too smal.
37855 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
37858 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
37859 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
37861 2012-04-03 Andreas Jaeger <aj@suse.de>
37864 * manual/setjmp.texi (System V contexts): Fix sentence.
37867 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
37868 New macro for this case.
37869 [!__GNUC__] (__bswap_64): New inline function for this case.
37870 * sysdeps/x86_64/bits/byteswap.h: Likewise.
37871 * bits/byteswap.h: Likewise.
37872 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
37873 ull, guard with __GLIBC_HAVE_LONG_LONG.
37875 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
37876 __GLIBC_HAVE_LONG_LONG.
37878 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
37879 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
37881 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
37884 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
37885 inptr and inend, rather than using last_ch.
37887 2012-04-02 David S. Miller <davem@davemloft.net>
37889 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
37890 * stdio-common/printf-parse.h (read_int): Change return type to
37891 'int', return -1 on INT_MAX overflow.
37892 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
37893 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
37894 overflows INT_MAX. Check for overflow of in-format-string precision
37895 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
37896 SIZE_MAX not INT_MAX for integer overflow test.
37897 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
37898 skip the construct in the format string but do not record anything.
37899 * stdio-common/bug22.c: Adjust to test both width/prevision
37900 INT_MAX overflow as well as total length INT_MAX overflow. Check
37901 explicitly for proper errno values.
37903 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
37905 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
37907 * string/test-strcmp.c [! WIDE]: Likewise.
37908 * time/tst-mktime2.c: Likewise for INT_MAX.
37909 * string/test-string.h: #include <sys/param.h> for MIN.
37911 * csu/init-first.c (__libc_init_first): Call __ctype_init.
37912 * sysdeps/i386/init-first.c (init): Likewise.
37913 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
37914 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
37915 * sysdeps/sh/init-first.c (init): Likewise.
37917 2012-04-01 Ulrich Drepper <drepper@gmail.com>
37919 * po/ru.po: Update from translation team.
37920 * po/vi.po: Likewise.
37922 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
37924 * resolv/nss_dns/dns-host.c: Merge copyright years.
37926 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37928 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
37929 Optimize memcpy with prefetch if
37930 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
37931 src, dst pointers have unequal 16 byte alignments.
37933 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
37936 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
37937 from a CNAME entry and return the minimum ttl for the query.
37938 (gaih_getanswer_slice): Likewise.
37940 2012-03-30 Jeff Law <law@redhat.com>
37942 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
37944 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
37945 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
37947 * resolv/nss_dns/dns-host.c: Update copyright year.
37949 2012-03-30 Ulrich Drepper <drepper@gmail.com>
37951 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
37952 requests to save a system call. Fix check that all bytes are sent.
37954 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
37955 comments for sendmmsg.
37957 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
37960 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
37961 with only 1 character between 0x0041 and 0x01b0.
37962 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
37963 * wcsmbs/tst-mbsnrtowcs.c: New file.
37965 2012-03-29 David S. Miller <davem@davemloft.net>
37967 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
37968 small copies by hand.
37970 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
37973 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
37974 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
37977 2012-03-28 David S. Miller <davem@davemloft.net>
37979 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
37980 that branches into memcpy.
37981 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
37982 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
37983 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
37984 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
37985 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
37987 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
37988 implementation too.
37989 * sysdeps/sparc/mempcpy.S: New file.
37991 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
37992 the IFUNC routine in the libc case.
37993 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
37995 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
37996 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
37997 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
37998 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
37999 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
38000 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
38001 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
38002 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
38004 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
38005 loop to 256 bytes instead of 64 bytes and fix test signedness.
38007 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
38008 * sysdeps/sparc/sparc32/Makefile: rather than here...
38009 * sysdeps/sparc/sparc64/Makefile: and here.
38011 2012-03-28 Ulrich Drepper <drepper@gmail.com>
38013 * malloc/mallocbug.c: Avoid warnings about unused variables.
38015 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
38018 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
38019 in the right place. Discard and retry query if response is
38020 larger than input buffer size.
38022 2012-03-28 Joseph Myers <joseph@codesourcery.com>
38027 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
38028 x for large integer exponent.
38029 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
38030 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
38031 sign of result as needed afterwards.
38032 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
38033 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
38034 result for underflowing pow the same as for overflow.
38035 (__kernel_standard_l): Handle powl overflow and underflow here
38036 rather than calling __kernel_standard.
38037 * math/libm-test.inc (pow_test): Add more tests.
38052 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
38053 * sysdeps/ieee754/k_standard.c: Include <float.h>.
38054 (__kernel_standard_l): New function.
38055 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
38057 * math/w_acosl.c (__acosl): Likewise.
38058 * math/w_asinl.c (__asinl): Likewise.
38059 * math/w_atan2l.c (__atan2l): Likewise.
38060 * math/w_atanhl.c (__atanhl): Likewise.
38061 * math/w_coshl.c (__coshl): Likewise.
38062 * math/w_exp10l.c (__exp10l): Likewise.
38063 * math/w_exp2l.c (__exp2l): Likewise.
38064 * math/w_fmodl.c (__fmodl): Likewise.
38065 * math/w_hypotl.c (__hypotl): Likewise.
38066 * math/w_j0l.c (__j0l, __y0l): Likewise.
38067 * math/w_j1l.c (__j1l, __y1l): Likewise.
38068 * math/w_jnl.c (__jnl, __ynl): Likewise.
38069 * math/w_lgammal.c (__lgammal): Likewise.
38070 * math/w_log10l.c (__log10l): Likewise.
38071 * math/w_log2l.c (__log2l): Likewise.
38072 * math/w_logl.c (__logl): Likewise.
38073 * math/w_powl.c (__powl): Likewise.
38074 * math/w_remainderl.c (__remainderl): Likewise.
38075 * math/w_scalbl.c (sysv_scalbl): Likewise.
38076 * math/w_sinhl.c (__sinhl): Likewise.
38077 * math/w_sqrtl.c (__sqrtl): Likewise.
38078 * math/w_tgammal.c (__tgammal): Likewise.
38079 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
38080 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
38081 * math/libm-test.inc (acos_test): Add more tests.
38082 (acosh_test): Likewise.
38083 (asin_test): Likewise.
38084 (atanh_test): Likewise.
38085 (exp_test): Likewise.
38086 (exp10_test): Likewise.
38087 (exp2_test): Likewise.
38088 (expm1_test): Likewise.
38089 (lgamma_test): Likewise.
38090 (log_test): Likewise.
38091 (log10_test): Likewise.
38092 (log1p_test): Likewise.
38093 (log2_test): Likewise.
38094 (pow_test): Do not allow some spurious overflow exceptions.
38095 (sqrt_test): Add more tests.
38096 (tgamma_test): Likewise.
38097 (y0_test): Likewise.
38098 (y1_test): Likewise.
38099 (yn_test): Likewise.
38101 2012-03-27 Anton Blanchard <anton@samba.org>
38103 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
38105 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
38106 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
38107 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
38109 2012-03-27 David S. Miller <davem@davemloft.net>
38111 * conform/Makefile: Run run-conformtest.sh using $(BASH).
38113 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
38114 have-as-vis3 check.
38116 2012-03-27 Andreas Jaeger <aj@suse.de>
38118 * sysdeps/x86_64/elf/configure.in: Moved to ...
38119 * sysdeps/x86_64/configure.in: ... here.
38120 * sysdeps/x86_64/elf/start.S: Moved to ...
38121 * sysdeps/x86_64/start.S: ... here.
38122 * sysdeps/x86_64/elf/configure: Delete.
38124 * sysdeps/x86_64/configure.in: Merge contents from
38125 sysdeps/i386/configure.in (without i686 check).
38127 * sysdeps/i386/elf/Versions: Merge into ...
38128 * sysdeps/i386/Versions: ... this.
38129 * sysdeps/i386/elf/Versions: Delete file.
38130 * sysdeps/i386/elf/start.S: Moved to ...
38131 * sysdeps/i386/start.S: ...here.
38132 * sysdeps/i386/elf/configure.in: Merge into...
38133 * sysdeps/i386/configure.in: ...here.
38134 * sysdeps/i386/elf/configure.in: Delete file.
38135 * sysdeps/i386/elf/configure: Delete file.
38137 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
38138 * debug/backtracesyms.c: ... here.
38139 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
38140 * debug/backtracesymsfd.c: ... here.
38141 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
38142 * sysdeps/generic/ifunc-sel.h: ... here.
38144 * sysdeps/unix/i386/start.c: Delete file.
38145 * sysdeps/unix/sparc/start.c: Delete file.
38146 * sysdeps/unix/start.c: Delete file.
38148 * sysdeps/sh/elf/configure.in: Moved to ...
38149 * sysdeps/sh/configure.in: ... here.
38150 * sysdeps/sh/elf/start.S: Moved to ...
38151 * sysdeps/sh/start.S: ... here.
38152 * sysdeps/sh/elf/configure: Delete file.
38154 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
38155 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
38156 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
38157 * sysdeps/powerpc/powerpc64/entry.h: ... here.
38158 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
38159 * sysdeps/powerpc/powerpc64/start.S: here.
38160 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
38161 * sysdeps/powerpc/powerpc64/Makefile: ... this.
38162 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
38163 * sysdeps/powerpc/powerpc64/configure.in: ... this.
38164 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
38166 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
38167 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
38168 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
38169 * sysdeps/powerpc/powerpc32/start.S: ... here.
38170 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
38171 * sysdeps/powerpc/powerpc32/configure.in: ... this.
38172 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
38174 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
38175 * sysdeps/powerpc/ifunc-sel.h: ... here.
38176 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
38177 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
38179 * sysdeps/sparc/elf/configure.in: Moved to ...
38180 * sysdeps/sparc/configure.in: ... here.
38181 * sysdeps/sparc/elf/configure: Delete file.
38182 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
38183 * sysdeps/sparc/sparc32/start.S: ... here.
38184 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
38185 * sysdeps/sparc/sparc64/start.S: ... here.
38186 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
38187 * sysdeps/sparc/sparc32/Makefile: ... this.
38188 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
38189 * sysdeps/sparc/sparc64/Makefile: ... this.
38191 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
38192 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
38193 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
38194 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
38195 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
38196 * sysdeps/s390/s390-32/setjmp.S: ... here.
38197 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
38198 * sysdeps/s390/s390-32/configure.in: ... here.
38199 * sysdeps/s390/s390-32/elf/configure: Delete file.
38200 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
38201 * sysdeps/s390/s390-32/start.S: ... here.
38203 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
38204 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
38205 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
38206 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
38207 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
38208 * sysdeps/s390/s390-64/setjmp.S: ... here.
38209 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
38210 * sysdeps/s390/s390-64/configure.in: ... here
38211 * sysdeps/s390/s390-64/elf/configure: Delete file.
38212 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
38213 * sysdeps/s390/s390-64/start.S: ... here.
38214 * sysdeps/s390/s390-64/elf/configure: Delete.
38216 * configure.in: Remove support for elf directories in sysdeps.
38218 * configure: Regenerated.
38219 * sysdeps/i386/configure: Regenerated.
38220 * sysdeps/powerpc/powerpc32/configure: Regenerated.
38221 * sysdeps/powerpc/powerpc64/configure: Regenerated.
38222 * sysdeps/s390/s390-32/configure: Regenerated.
38223 * sysdeps/s390/s390-64/configure: Regenerated.
38224 * sysdeps/sh/configure: Regenerated.
38225 * sysdeps/sparc/configure: Regenerated.
38226 * sysdeps/x86_64/configure: Regenerated.
38228 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
38230 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38232 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
38233 denormal result into account.
38235 2012-03-25 Roland McGrath <roland@hack.frob.com>
38237 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
38238 Reported by Allan McRae <allan@archlinux.org>.
38240 2012-03-23 Jeff Law <law@redhat.com>
38242 * nss/getnssent.c (__nss_getent): Fix typo.
38244 2012-03-23 David S. Miller <davem@davemloft.net>
38246 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38248 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
38250 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
38251 to pad to uint64_t for each field.
38252 (dl_tls_index): Replace unsigned long with uint64_t.
38254 2012-03-23 Daniel Jacobowitz <dmj@google.com>
38255 Paul Pluzhnikov <ppluzhnikov@google.com>
38258 * grp/Makefile (otherlibs): Don't set it.
38259 * inet/Makefile (otherlibs): Likewise.
38260 * login/Makefile (otherlibs): Likewise.
38261 * nscd/Makefile (otherlibs): Likewise.
38262 * posix/Makefile (otherlibs): Likewise.
38263 * pwd/Makefile (otherlibs): Likewise.
38264 * rt/Makefile (otherlibs): Likewise.
38265 * sunrpc/Makefile (otherlibs): Likewise.
38266 * nss/Makefile (otherlibs): Likewise.
38267 Add libnss_files to routines and static-only-routines.
38268 ($(objpfx)getent): Remove rule.
38269 * resolv/Makefile: Add libnss_dns and libresolv to routines and
38270 static-only-routines.
38272 2012-03-22 Joseph Myers <joseph@codesourcery.com>
38275 * math/s_cexp.c: Include <float.h>.
38276 (__cexp): Handle exp result overflowing not necessarily
38277 overflowing both real and imaginary parts of result.
38278 * math/s_cexpf.c: Likewise.
38279 * math/s_cexpl.c: Likewise.
38280 * math/libm-test.inc (cexp_test): Add more tests.
38281 * sysdeps/i386/fpu/libm-test-ulps: Update.
38282 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38284 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
38286 * include/link.h (ELFW): New macro.
38287 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
38288 Replace ELF64_R_TYPE with ELFW(R_TYPE).
38290 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
38292 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
38295 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
38297 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
38299 (struct La_x32_retval): Likewise.
38301 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
38303 * sysdeps/x86_64/preconfigure.in: New file.
38304 * sysdeps/x86_64/preconfigure: New generated file.
38306 2012-03-22 Joseph Myers <joseph@codesourcery.com>
38309 * math/e_exp2l.c: Include <float.h>.
38310 (__ieee754_exp2l): Handle overflow and underflow cases
38311 separately. Only pass fractional part of argument to
38313 * math/libm-test.inc (exp2_test): Add more tests.
38315 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
38316 negating x to take absolute value.
38317 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
38319 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
38320 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
38322 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
38323 computing low part if x was negated.
38324 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
38326 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
38328 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
38329 la_x32_gnu_pltexit.
38330 (pltexit): Cast int_retval to ptrdiff_t.
38331 * elf/tst-auditmod3b.c: Likewise.
38332 * elf/tst-auditmod4b.c: Likewise.
38333 * elf/tst-auditmod5b.c: Likewise.
38334 * elf/tst-auditmod6b.c: Likewise.
38335 * elf/tst-auditmod6c.c: Likewise.
38336 * elf/tst-auditmod7b.c: Likewise.
38338 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
38339 and x32_gnu_pltexit.
38341 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
38342 __ELF_NATIVE_CLASS.
38343 (La_x32_regs): New macro.
38344 (La_x32_retval): Likewise.
38345 (la_x32_gnu_pltenter): New function prototype.
38346 (la_x32_gnu_pltexit): Likewise.
38348 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
38350 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
38353 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38355 * configure.in (libc_cv_cc_nofma): Check for option to disable
38356 generation of FMA instructions.
38357 * configure: Regenerate.
38358 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
38359 * sysdeps/ieee754/dbl-64/Makefile: New file.
38360 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
38361 Remove brandred-fma4.
38362 (CFLAGS-brandred-fma4.c): Remove.
38363 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
38364 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
38366 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
38369 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
38371 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
38372 LLONG_MAX != LONG_MAX.
38373 (_itoa_word): Use _ITOA_WORD_TYPE on value.
38374 (_fitoa_word): Likewise.
38375 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
38376 LLONG_MAX != LONG_MAX.
38377 * stdio-common/_itowa.h: Include <_itoa.h>.
38378 (_itowa_word): Use _ITOA_WORD_TYPE on value.
38379 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
38380 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
38381 only if not defined.
38382 (_ITOA_WORD_TYPE): Likewise.
38383 (_itoa_word): Use _ITOA_WORD_TYPE on value.
38384 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
38386 2012-03-21 David S. Miller <davem@davemloft.net>
38388 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38390 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
38392 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
38393 of x86_64 when setting libc_cv_slibdir, libdir and
38395 * sysdeps/unix/sysv/linux/configure: Regenerated.
38397 2012-03-21 Joseph Myers <joseph@codesourcery.com>
38399 * manual/lang.texi (Old Varargs): Remove section.
38400 (How Variadic): Update menu.
38401 (va_start): Do not mention varargs.h.
38403 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
38404 Joseph Myers <joseph@codesourcery.com>
38406 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
38408 * configure: Regenerated.
38410 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
38412 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
38413 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
38416 2012-03-21 Joseph Myers <joseph@codesourcery.com>
38419 * Makefile (files-for-dist): Remove NOTES.
38420 (NOTES): Remove rule.
38421 * README: Don't refer to NOTES.
38422 * manual/creature.texi: Don't include macros.texi.
38423 * manual/intro.texi (creature.texi): Remove comment referring to
38426 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
38427 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
38428 * configure: Regenerated.
38429 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
38430 LIBC_TRY_CC_OPTION.
38431 (libc_cv_as_i686): Likewise.
38432 (libc_cv_cc_avx): Likewise.
38433 (libc_cv_cc_sse2avx): Likewise.
38434 (libc_cv_cc_fma4): Likewise.
38435 (libc_cv_cc_novzeroupper): Likewise.
38436 * sysdeps/i386/configure: Regenerated.
38439 * sysdeps/i386/fpu/s_cexp.S: Remove.
38440 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
38441 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
38442 * math/libm-test.inc (cexp_test): Add more tests.
38443 * sysdeps/i386/fpu/libm-test-ulps: Update.
38444 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38446 2012-03-21 Allan McRae <allan@archlinux.org>
38448 * timezone/Makefile: Do not install iso3166.tab and zone.tab
38450 2012-03-21 Joseph Myers <joseph@codesourcery.com>
38453 * math/w_exp2.c: Do not include <float.h>.
38454 (o_threshold, u_threshold): Remove.
38455 (__exp2): Calculate result before checking finiteness and calling
38457 * math/w_exp2f.c: Likewise.
38458 * math/w_exp2l.c: Likewise.
38459 * math/libm-test.inc (exp2_test): Require overflow exception for
38463 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
38464 range of signed 64-bit integers before using fistpll. Remove
38465 checks for whether integers fit in mantissa bits.
38466 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
38467 the range of signed 32-bit integers before using fistpl. Remove
38468 checks for whether integers fit in mantissa bits.
38469 * sysdeps/i386/fpu/e_powl.S (p64): New object.
38470 (__ieee754_powl): Test for y outside the range of signed 64-bit
38471 integers before using fistpll. Reduce 64-bit values to 63-bit
38473 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
38474 divide-by-zero is raised for zero to large negative powers.
38475 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
38476 (__ieee754_powl): Test for y outside the range of signed 64-bit
38477 integers before using fistpll. Reduce 64-bit values to 63-bit
38479 * math/libm-test.inc (pow_test): Add more tests.
38481 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
38483 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
38484 <stdio-common/_itoa.h>.
38485 * debug/segfault.c: Likewise.
38486 * elf/dl-cache.c: Likewise.
38487 * elf/dl-minimal.c: Likewise.
38488 * elf/dl-misc.c: Likewise.
38489 * elf/dl-sysdep.c: Likewise.
38490 * elf/dl-version.c: Likewise.
38491 * elf/rtld.c: Likewise.
38492 * hurd/hurdsock.c: Likewise.
38493 * hurd/lookup-retry.c: Likewise.
38494 * malloc/malloc.c: Likewise.
38495 * malloc/mtrace.c: Likewise.
38496 * nscd/nscd_getgr_r.c: Likewise.
38497 * nscd/nscd_getpw_r.c: Likewise.
38498 * nscd/nscd_getserv_r.c: Likewise.
38499 * posix/getopt_init.c: Likewise.
38500 * posix/wordexp.c: Likewise.
38501 * stdio-common/_itoa.c: Likewise.
38502 * stdio-common/printf_fphex.c: Likewise.
38503 * stdio-common/vfprintf.c: Likewise.
38504 * string/_strerror.c: Likewise.
38505 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
38506 * sysdeps/i386/i686/hp-timing.h: Likewise.
38507 * sysdeps/mach/_strerror.c: Likewise.
38508 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
38509 * sysdeps/mach/hurd/sethostid.c: Likewise.
38510 * sysdeps/mach/hurd/xmknodat.c: Likewise.
38511 * sysdeps/mach/xpg-strerror.c: Likewise.
38512 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
38513 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
38514 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
38515 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
38516 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
38517 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
38518 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
38519 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
38520 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
38521 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
38522 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
38523 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
38524 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
38525 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
38526 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
38527 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
38528 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
38529 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
38530 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
38531 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
38532 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
38534 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
38536 * stdio-common/_itoa.h: Moved to ...
38537 * sysdeps/generic/_itoa.h: Here.
38539 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
38541 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
38542 instead of "_itoa.h" and "_itowa.h".
38543 * stdio-common/vfprintf.: Likewise.
38545 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
38547 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
38549 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
38550 (__signbit): Likwise.
38551 (llrintf): Likwise.
38554 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
38556 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
38559 2012-03-20 Joseph Myers <joseph@codesourcery.com>
38561 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
38562 OVERFLOW_EXCEPTION_OK.
38563 * math/libm-test.inc ("Philosophy"): Update comment about
38565 (OVERFLOW_EXCEPTION): Define.
38566 (OVERFLOW_EXCEPTION_OK): Likewise.
38567 (INVALID_EXCEPTION_OK): Renumber.
38568 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
38569 (IGNORE_ZERO_INF_SIGN): Likewise.
38570 (test_exceptions): Handle FE_OVERFLOW.
38571 (exp10_test): Expect overflow exceptions.
38572 (exp2_test): Likewise.
38573 (expm1_test): Likewise.
38574 (nextafter_test): Likewise.
38575 (pow_test): Likewise.
38576 (scalbn_test): Likewise.
38577 (scalbln_test): Likewise.
38579 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
38581 * sysdeps/x86_64/bits/atomic.h
38582 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
38584 (atomic_exchange_acq): Likewise.
38585 (__arch_exchange_and_add_body): Likewise.
38586 (__arch_add_body): Likewise.
38587 (atomic_add_negative): Likewise.
38588 (atomic_add_zero): Likewise.
38590 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
38592 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
38593 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
38595 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
38597 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
38598 Check __x86_64__ instead of __WORDSIZE.
38600 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
38602 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
38604 2012-03-19 David S. Miller <davem@davemloft.net>
38606 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38608 * sysdeps/sparc/fpu/fenv_private.h: New file.
38609 * sysdeps/sparc/fpu/math_private.h: Use it.
38610 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
38612 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
38613 (libc_feholdexcept_setroundl): Remove.
38614 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
38616 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
38617 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
38619 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
38621 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
38622 int64_t instead of long int.
38623 (INSERT_WORDS64): Likwise.
38625 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
38627 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
38628 _Unwind_GetCFA return to _Unwind_Ptr first.
38630 2012-03-19 Joseph Myers <joseph@codesourcery.com>
38633 * math/s_clog.c: Include <float.h>.
38634 (__clog): Scale large or subnormal inputs.
38635 * math/s_clogf.c: Likewise.
38636 * math/s_clogl.c: Likewise.
38637 * math/s_clog10.c: Include <float.h>.
38638 (M_LOG10_2): Define.
38639 (__clog10): Scale large or subnormal inputs.
38640 * math/s_clog10f.c: Likewise.
38641 * math/s_clog10l.c: Likewise.
38642 * math/libm-test.inc (clog_test): Add more tests.
38643 (clog10_test): Likewise.
38644 * sysdeps/i386/fpu/libm-test-ulps: Update.
38645 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38648 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
38650 * math/libm-test.inc (atan2_test): Add another test.
38652 * Makerules (common-objdir-compile): Remove.
38653 * sysdeps/unix/Makefile (config-generated): Do not add
38654 $(unix-generated) to variable.
38655 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
38656 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
38658 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
38660 [generic bits/local_lim.h] (before-compile): Do not append to
38662 [generic bits/local_lim.h] (common-generated): Likewise.
38663 [generic sys/param.h] (before-compile): Do not append to variable.
38664 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
38665 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
38666 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
38667 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
38669 [generic sys/param.h] (sys/param.h-includes): Remove variable.
38670 [generic sys/param.h] (sys/param.h-includes): Remove rule.
38671 [generic sys/param.h] ($(addprefix
38672 $(common-objpfx),$(sys/param.h-includes))): Likewise.
38673 [generic sys/param.h] (common-generated): Do not append to
38675 [generic sys/param.h] (sysdep_headers): Likewise.
38676 [generic bits/errno.h] (before-compile): Do not append to
38678 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
38680 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
38681 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
38682 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
38683 [generic bits/errno.h] (common-generated): Do not append to
38685 [generic bits/ioctls.h] (before-compile): Do not append to
38687 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
38689 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
38690 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
38691 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
38693 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
38694 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
38695 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
38696 [generic bits/ioctls.h] (common-generated): Do not append to
38698 [generic sys/syscall.h] (syscall.h): Remove variable.
38699 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
38701 [generic sys/syscall.h] (before-compile): Do not append to
38703 [generic sys/syscall.h] (common-generated): Likewise.
38704 * sysdeps/unix/errnos-tmpl.c: Remove file.
38705 * sysdeps/unix/errnos.awk: Likewise.
38706 * sysdeps/unix/ioctls-tmpl.c: Likewise.
38707 * sysdeps/unix/ioctls.awk: Likewise.
38708 * sysdeps/unix/mk-local_lim.c: Likewise.
38709 * sysdeps/unix/snarf-ioctls: Likewise.
38711 2012-03-19 Richard Henderson <rth@twiddle.net>
38713 * sysdeps/i386/fpu/fenv_private.h: New file.
38714 * sysdeps/i386/fpu/math_private.h: Use it.
38715 (math_opt_barrier, math_force_eval): Remove.
38716 (libc_feholdexcept_setround_53bit): Remove.
38717 (libc_feupdateenv_53bit): Remove.
38718 * sysdeps/x86_64/fpu/math_private.h: Likewise.
38719 (math_opt_barrier, math_force_eval): Remove.
38720 (libc_feholdexcept): Remove.
38721 (libc_feholdexcept_setround): Remove.
38722 (libc_fetestexcept, libc_fesetenv): Remove.
38723 (libc_feupdateenv_test): Remove.
38724 (libc_feupdateenv, libc_feholdsetround): Remove.
38725 (libc_feresetround): Remove.
38727 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
38728 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
38730 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
38731 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
38732 (libc_feupdateenv_testl): New.
38733 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
38734 (libc_feupdateenv_testf): New.
38735 (libc_feupdateenv): Use libc_feupdateenv_test.
38736 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
38737 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
38739 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
38740 (libc_feholdsetroundf, libc_feholdsetroundl): New.
38741 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
38742 (libc_feresetround_noex): New.
38743 (libc_feresetround_noexf): New.
38744 (libc_feresetround_noexl): New.
38745 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
38746 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
38747 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
38748 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
38750 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
38751 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
38753 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
38754 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
38755 SET_RESTORE_ROUND_NOEX.
38756 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
38757 SET_RESTORE_ROUND_NOEXF.
38758 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
38759 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
38760 (libc_feholdsetroundf): New.
38761 (libc_feresetround, libc_feresetroundf): New.
38763 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
38764 (libc_feholdexcept_setround_53bit): Convert from macro to function.
38765 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
38767 * sysdeps/generic/math_private.h: Include <fenv.h>.
38768 (default_libc_feholdexcept): New.
38769 (default_libc_feholdexcept_setround): New.
38770 (default_libc_fesetenv, default_libc_feupdateenv): New.
38771 (libc_feholdexcept): Only define if undefined.
38772 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
38773 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
38774 (libc_feholdexcept_setroundl): Likewise.
38775 (libc_feholdexcept_setround_53bit): Likewise.
38776 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
38777 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
38778 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
38779 (libc_feupdateenv_53bit): Likewise.
38780 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
38781 (libc_feholdexcept): Convert from macro to inline function.
38782 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
38783 (libc_fesetenv, libc_feupdateenv): Likewise.
38785 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
38786 not previously defined.
38787 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
38788 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
38789 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
38790 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
38791 * sysdeps/ieee754/flt-32/math_private.h: New file.
38792 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
38793 math_private.h below SET_FLOAT_WORD.
38794 (__isnan, __isinf_ns, __finite): Remove.
38795 (__isnanf, __isinf_nsf, __finitef): Remove.
38797 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
38799 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38801 2012-03-17 David S. Miller <davem@davemloft.net>
38804 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
38807 2012-03-16 David S. Miller <davem@davemloft.net>
38809 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
38813 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
38815 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
38816 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
38817 sysdep_routines when subdir is sysvipc.
38818 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
38819 __getshmlba helper.
38821 * sysdeps/sparc/fpu/libm-test/ulps: Update.
38823 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
38825 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
38828 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
38830 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
38831 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
38832 (__lround): Renamed to ...
38833 (__llround): This. Replace long int with long long int.
38834 Define lround functions as aliases of llround functions.
38835 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
38837 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
38839 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
38840 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
38841 adresses to uintptr_t. Replace "long int" and "unsigned long
38842 int" with "greg_t" on va_arg.
38844 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
38846 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
38847 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
38849 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
38850 Move e_machine check before EI_CLASS check. Handle x32
38851 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
38852 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
38853 SKIP_EM_IA_64 and include
38854 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
38856 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
38857 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
38858 (add_system_dir): New macro.
38860 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
38861 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
38863 2012-03-16 Joseph Myers <joseph@codesourcery.com>
38874 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
38876 * math/w_j0f.c (j0f): Likewise.
38878 * math/w_j0l.c (__j0l): Likewise.
38880 * math/w_j1.c (j1): Likewise.
38882 * math/w_j1f.c (j1f): Likewise.
38884 * math/w_j1l.c (__j1l): Likewise.
38886 * math/w_jn.c (jn): Likewise.
38888 * math/w_jnf.c (jnf): Likewise.
38890 * math/w_jnl.c (__jnl): Likewise.
38892 * math/libm-test.inc (j0_test): Add more tests.
38893 (j1_test): Likewise.
38894 (jn_test): Likewise. Add trailing semicolon to existing test.
38895 (y0_test): Likewise.
38896 (y1_test): Likewise.
38897 * sysdeps/i386/fpu/libm-test-ulps: Update.
38898 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38902 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
38903 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
38904 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
38905 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
38906 (__tanl): Set errno for infinite argument.
38907 * sysdeps/i386/fpu/mptan.c: Remove.
38908 * sysdeps/i386/fpu/s_tan.S: Likewise.
38909 * sysdeps/i386/fpu/s_tanl.S: Likewise.
38910 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
38911 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
38912 * math/libm-test.inc (tan_test): Add more tests and enable more
38913 tests for double and long double.
38914 * sysdeps/i386/fpu/libm-test-ulps: Update.
38915 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38917 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
38919 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
38920 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
38922 2012-03-16 Roland McGrath <roland@hack.frob.com>
38924 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
38925 * configure.in: Use it for both main tree and add-ons.
38926 * configure: Regenerated.
38928 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
38930 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
38932 2012-03-16 Joseph Myers <joseph@codesourcery.com>
38934 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
38938 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
38939 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
38940 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
38941 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
38942 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
38944 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
38945 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
38946 != 0 for prec == 2.
38947 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
38948 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
38949 * sysdeps/i386/fpu/s_cosl.S: Likewise.
38950 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
38951 * sysdeps/i386/fpu/s_sinl.S: Likewise.
38952 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
38953 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
38954 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
38955 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
38956 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
38957 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
38958 * math/libm-test.inc (cos_test): Add more tests and enable more
38959 tests for long double.
38960 (sin_test): Likewise.
38961 (sincos_test): Likewise.
38962 * sysdeps/i386/fpu/libm-test-ulps: Update.
38963 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38965 2012-03-16 David S. Miller <davem@davemloft.net>
38967 * sysdeps/sparc/fpu/math_private.h: New file.
38969 2012-03-15 David S. Miller <davem@davemloft.net>
38971 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
38973 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
38974 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
38976 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
38977 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
38978 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
38979 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
38980 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
38981 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
38983 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
38985 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
38986 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
38988 * sysdeps/sparc/sparc-ifunc.h: New file.
38989 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
38991 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
38992 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
38994 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
38996 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
38997 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
38998 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
38999 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
39001 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
39002 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
39003 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
39004 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
39005 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
39007 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
39009 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
39010 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
39011 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
39012 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
39013 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
39014 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
39015 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
39016 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
39017 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
39018 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
39019 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
39020 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
39021 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
39022 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
39023 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
39024 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
39025 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
39026 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
39027 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
39028 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
39029 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
39030 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
39031 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
39032 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
39034 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
39036 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
39038 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39040 2012-03-15 Andreas Jaeger <aj@suse.de>
39043 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
39044 ieee754/flt-32 implementation for sin, cos and sincos.
39045 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
39046 * sysdeps/i386/fpu/s_cosf.S: Likewise.
39047 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
39048 * sysdeps/i386/fpu/s_sinf.S: Likewise.
39049 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
39050 ieee754/flt-32 implementation for tan.
39052 * math/libm-test.inc (cos_test): Enable some large input tests for
39054 (sin_test): Likewise.
39055 (sincos_test): Likewise.
39056 (tan_test): Add tests for large input.
39058 * sysdeps/i386/fpu/libm-test-ulps: Update.
39060 2012-03-15 Andreas Jaeger <aj@suse.de>
39063 * math/libm-test.inc (cos_test): Add more test cases.
39064 (sin_test): Likewise.
39065 (sincos_test): Likewise.
39067 2012-03-15 Andreas Jaeger <aj@suse.de>
39070 * math/libm-test.inc (cos_test): Add a test case for large input
39072 (sin_test): Likewise.
39073 (sincos_test): Likewise.
39075 2012-03-15 Andreas Jaeger <aj@suse.de>
39076 Joseph Myers <joseph@codesourcery.com>
39079 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
39080 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
39081 * sysdeps/i386/fpu/branred.c: Likewise.
39082 * sysdeps/i386/fpu/dosincos.c: Likewise.
39083 * sysdeps/i386/fpu/mpa.c: Likewise.
39084 * sysdeps/i386/fpu/s_cos.S: Likewise.
39085 * sysdeps/i386/fpu/s_sin.S: Likewise.
39086 * sysdeps/i386/fpu/s_sincos.S: Likewise.
39087 * sysdeps/i386/fpu/sincos32.c: Likewise.
39089 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
39091 (libc_feupdateenv_53bit): Define.
39092 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
39094 (libc_feupdateenv_53bit): Define.
39096 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
39097 53 bit (without extend i386 double precision).
39099 * math/libm-test.inc (sincos_test): Add tests for large input.
39103 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
39105 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
39107 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39109 2012-03-15 David S. Miller <davem@davemloft.net>
39111 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
39112 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
39113 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
39114 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
39115 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
39116 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
39117 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
39118 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
39119 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
39120 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
39121 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
39122 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
39123 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
39124 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
39125 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
39126 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
39128 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
39129 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
39131 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
39132 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
39134 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
39135 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
39137 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
39138 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
39139 fmin/fmax sysdep routines.
39140 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
39142 2012-03-14 David S. Miller <davem@davemloft.net>
39144 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
39145 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
39146 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
39147 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
39148 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
39149 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
39150 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
39151 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
39152 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
39153 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
39154 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
39155 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
39156 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
39157 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
39158 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
39159 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
39160 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
39161 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
39162 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
39163 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
39164 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
39165 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
39166 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
39167 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
39168 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
39169 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
39170 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
39171 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
39172 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
39174 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
39176 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
39177 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
39179 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
39180 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
39182 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
39183 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
39185 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
39186 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
39188 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
39189 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
39191 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
39193 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
39195 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
39197 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
39199 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
39201 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
39203 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
39204 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
39206 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
39207 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
39209 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
39210 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
39212 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
39213 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
39216 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
39219 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39221 * sysdeps/sparc/configure.in: New file.
39222 * sysdeps/sparc/configure: Generate.
39223 * configure.in (libc_cv_sparc_as_vis3): Substitute.
39224 * configure: Regenerate.
39225 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
39226 * config.make.in (have-as-vis3): New.
39227 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
39228 available use -Av9d instead of -Av9a.
39229 * sysdeps/sparc/sparc64/Makefile: Likewise.
39230 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
39231 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
39233 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
39235 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
39237 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
39239 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
39240 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
39241 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
39242 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
39243 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
39245 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
39246 fzeros/fnegs to load 0x80000000 into a float register instead of
39248 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
39250 2012-03-14 Joseph Myers <joseph@codesourcery.com>
39252 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39254 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
39255 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
39256 ($(inst_includedir)/bits/syscall.h): Remove rule.
39257 ($(objpfx)bits/syscall.d): Include instead of
39258 $(objpfx)syscall-list.d.
39259 (generated): Change syscall-list.h and syscall-list.d to
39260 bits/syscall.h and bits/syscall.d.
39262 2012-03-14 Roland McGrath <roland@hack.frob.com>
39265 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
39267 2012-03-14 Joseph Myers <joseph@codesourcery.com>
39270 * math/s_csqrt.c: Include <float.h>.
39271 (__csqrt): Scale large or subnormal inputs.
39272 * math/s_csqrtf.c: Likewise.
39273 * math/s_csqrtl.c: Likewise.
39274 * math/libm-test.inc (csqrt_test): Add more tests.
39275 * sysdeps/i386/fpu/libm-test-ulps: Update.
39276 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39279 * math/libm-test.inc (hypot_test): Add more tests.
39281 2012-03-13 David S. Miller <davem@davemloft.net>
39284 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
39285 double-precision for the calculation instead of scaling.
39287 2012-03-13 Joseph Myers <joseph@codesourcery.com>
39289 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
39290 manipulate bits before adding and subtracting TWO52[sx].
39291 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
39292 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
39294 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
39296 2012-03-13 David S. Miller <davem@davemloft.net>
39298 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
39299 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
39300 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
39301 rtld-global-offsets.h
39302 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
39304 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
39307 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
39309 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
39310 'err' in the ifdef scope in which it is actually used.
39312 * nss/nss_db/db-init.c: Include string.h
39314 2012-03-12 David S. Miller <davem@davemloft.net>
39316 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
39317 masking out of the most significant byte of random value used.
39318 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
39319 Fix coding style in previous change.
39321 * sysdeps/unix/sysv/linux/kernel-features.h
39322 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
39323 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
39325 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
39328 2012-03-11 David S. Miller <davem@davemloft.net>
39330 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
39331 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
39332 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
39333 for 'resultvar' otherwise things get truncated on 64-bit.
39335 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
39336 Fix masking out of the most significant byte of random value used.
39338 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39340 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
39342 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39344 2012-03-09 David S. Miller <davem@davemloft.net>
39346 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
39347 variables with appropriate CPP guards.
39348 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
39349 from the frame pointer, not the stack pointer. Correct layout
39350 comments. Fix test on resulting framesize and the management of
39351 the outregs buffer for pltexit. Preserve floating point return
39352 values across _dl_call_pltexit call.
39353 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
39354 framesize and the management of the outregs buffer for pltexit.
39355 Preserve floating point return values across _dl_call_pltexit
39357 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
39358 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
39359 (la_sparc64_gnu_pltexit): New functions.
39360 (print_exit): Fix format string for return register value.
39362 2012-03-10 Joseph Myers <joseph@codesourcery.com>
39364 * sunrpc/Makefile (others): Add rpcgen.
39365 ($(objpfx)rpcgen): Remove special build rule and dependency on
39367 * sunrpc/rpcgen.c: New file.
39369 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
39372 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
39373 * stdio-common/bug-vfprintf-nargs.c: Likewise.
39374 * sysdeps/i386/crti.S: Likewise.
39375 * sysdeps/i386/crtn.S: Likewise.
39376 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
39377 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
39378 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
39379 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
39380 * sysdeps/sh/crti.S: Likewise.
39381 * sysdeps/sh/crtn.S: Likewise.
39382 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
39385 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
39387 * locale/programs/locfile-kw.gperf: Likewise.
39388 * locale/programs/charmap-kw.h: Regenerated.
39389 * locale/programs/locfile-kw.h: Likewise.
39392 * intl/plural.y: Replace FSF snail mail address with URL.
39393 * intl/plural.c: Regenerated.
39395 2012-03-09 Richard Henderson <rth@twiddle.net>
39397 * include/math_private.h: Remove file.
39398 * math/math_private.h: Move file ...
39399 * sysdeps/generic/math_private.h: ... here.
39401 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
39402 * sysdeps/powerpc/fpu/math_private.h: Likewise.
39403 * sysdeps/x86_64/fpu/math_private.h: Likewise.
39405 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
39406 and <math_private.h>.
39407 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
39408 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
39409 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
39410 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
39411 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
39412 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
39413 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
39414 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
39415 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
39416 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
39417 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
39418 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
39419 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
39420 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
39421 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
39422 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
39423 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
39424 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
39425 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
39426 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
39427 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39428 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
39429 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
39430 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39431 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
39432 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
39433 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
39434 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
39435 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
39436 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
39437 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
39438 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
39439 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
39440 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
39441 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
39442 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
39443 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
39444 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
39445 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
39446 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
39447 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
39448 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
39449 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
39450 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
39451 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
39452 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
39453 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
39454 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
39455 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
39456 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
39457 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
39458 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
39459 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
39460 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
39461 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
39462 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
39463 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
39464 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
39465 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
39466 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
39467 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
39468 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
39469 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
39470 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
39471 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
39472 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
39473 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
39474 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
39475 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
39476 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
39477 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
39478 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
39479 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
39480 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
39481 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
39482 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
39483 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
39484 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
39485 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
39486 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
39487 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
39488 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
39489 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
39490 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
39491 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
39492 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
39493 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
39494 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
39495 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
39496 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
39497 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
39498 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
39499 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
39500 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
39501 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
39502 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
39503 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
39504 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
39505 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
39506 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
39507 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
39508 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
39509 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
39510 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
39511 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
39512 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
39513 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
39514 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
39515 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
39516 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
39517 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
39518 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
39519 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
39520 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
39521 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
39522 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
39523 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
39524 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
39525 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
39526 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
39527 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
39528 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
39529 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
39530 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
39531 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
39532 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
39533 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
39534 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
39535 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
39536 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
39537 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
39538 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
39539 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
39540 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
39541 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
39542 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
39543 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
39544 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
39545 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
39546 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
39547 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
39548 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
39549 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
39550 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
39551 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
39552 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
39553 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
39554 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
39555 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
39556 * sysdeps/ieee754/k_standard.c: Likewise.
39557 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
39558 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
39559 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
39560 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
39561 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
39562 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
39563 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
39564 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
39565 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
39566 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
39567 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
39568 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
39569 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
39570 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
39571 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
39572 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
39573 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
39574 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
39575 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
39576 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
39577 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
39578 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
39579 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
39580 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
39581 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
39582 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
39583 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
39584 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
39585 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
39586 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
39587 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
39588 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
39589 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
39590 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
39591 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
39592 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
39593 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
39594 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
39595 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
39596 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
39597 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
39598 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
39599 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
39600 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
39601 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
39602 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
39603 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
39604 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
39605 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
39606 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
39607 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
39608 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
39609 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
39610 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
39611 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
39612 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
39613 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
39614 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
39615 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
39616 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
39617 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
39618 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
39619 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
39620 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
39621 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
39622 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
39623 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
39624 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
39625 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
39626 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
39627 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
39628 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
39629 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
39630 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
39631 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
39632 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
39633 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
39634 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
39635 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
39636 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
39637 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
39638 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
39639 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
39640 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
39641 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
39642 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
39643 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
39644 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
39645 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
39646 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
39647 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
39648 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
39649 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
39650 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
39651 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
39652 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
39653 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
39654 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
39655 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
39656 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
39657 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
39658 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
39659 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
39660 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
39661 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
39662 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
39663 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
39664 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
39665 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
39666 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
39667 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
39668 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
39669 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
39670 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
39671 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
39672 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
39673 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
39674 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
39675 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
39676 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
39677 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
39678 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
39679 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
39680 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
39681 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
39682 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
39683 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
39684 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
39685 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
39686 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
39687 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
39688 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
39689 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
39690 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
39691 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
39692 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
39693 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
39694 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
39695 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
39696 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
39697 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
39698 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
39699 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
39700 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
39701 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
39702 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
39703 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
39704 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
39705 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
39706 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
39707 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
39708 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
39709 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
39710 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
39711 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
39712 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
39713 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
39714 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
39715 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
39716 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
39717 * sysdeps/ieee754/s_lib_version.c: Likewise.
39718 * sysdeps/ieee754/s_matherr.c: Likewise.
39719 * sysdeps/ieee754/s_signgam.c: Likewise.
39720 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
39721 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
39722 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
39723 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
39724 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
39725 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
39726 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
39727 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
39728 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
39729 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
39730 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
39731 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
39732 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
39733 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
39734 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
39735 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
39736 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
39737 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
39738 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
39739 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
39740 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
39742 2012-03-09 Joseph Myers <joseph@codesourcery.com>
39744 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
39745 * sunrpc/rpc_main.c: Likewise.
39746 * sunrpc/rpc_svcout.c: Likewise.
39748 2012-03-09 David S. Miller <davem@davemloft.net>
39750 * include/math_private.h: New file.
39752 2012-03-09 Joseph Myers <joseph@codesourcery.com>
39754 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
39755 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
39756 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
39757 from <bits/socket_type.h>.
39758 (enum __socket_type): Don't define here.
39759 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
39760 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39761 bits/socket_type.h.
39764 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
39765 checking __USE_GNU.
39767 * Makerules ($(inst_includedir)/%.h): New rule.
39768 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
39769 (install-others): Remove variable setting.
39770 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
39772 2012-03-08 Richard Henderson <rth@twiddle.net>
39774 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
39775 from macro to inline function; merge with the
39776 !__LIBC_INTERNAL_MATH_INLINES version.
39777 (__ieee754_sqrtf): Likewise.
39779 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
39780 to inline function.
39781 (__rintf, __floor, __floorf): Likewise.
39783 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
39784 macro to inline function.
39785 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
39787 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
39788 not <math/math_private.h>.
39790 2012-03-08 David S. Miller <davem@davemloft.net>
39792 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
39794 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
39796 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
39798 * resolv/gai_misc.c (handle_requests): Fix struct timespec
39800 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
39801 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
39803 2012-03-08 Ulrich Drepper <drepper@gmail.com>
39805 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
39806 be defined individually, they must be defined as a block. Define
39807 S for printing a string instead of hidint the different by using a
39808 macro for adding the 'l'.
39809 * stdio-common/tst-fphex-wide.c: Adjust.
39811 2012-03-07 Marek Polacek <polacek@redhat.com>
39813 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
39815 2012-03-08 Marek Polacek <polacek@redhat.com>
39818 * stdio-common/Makefile (tests): Add tst-fphex-wide.
39819 * stdio-common/tst-fphex.c: Define a few macros to make the
39820 test reusable. Use them.
39821 * stdio-common/tst-fphex-wide.c: New file.
39823 2012-03-08 Joseph Myers <joseph@codesourcery.com>
39826 * manual/macros.texi (gnusystems): New macro.
39827 (nongnusystems): Likewise.
39828 (gnulinuxhurdsystems): Likewise.
39829 (gnuhurdsystems): Likewise..
39830 (gnulinuxsystems): Likewise.
39831 * manual/charset.texi: Use new macros or @theglibc{} to refer to
39832 variants of the GNU system, not "GNU system".
39833 * manual/conf.texi: Likewise.
39834 * manual/errno.texi: Likewise. Update example of errno macro
39836 * manual/filesys.texi: Likewise.
39837 (getumask): Document as specific to GNU/Hurd.
39838 * manual/install.texi: Likewise. Reword some references to
39840 * manual/intro.texi: Likewise.
39841 * manual/io.texi: Likewise.
39842 (File Name Portability): Detail which constraints are inapplicable
39843 to all GNU systems and which are only inapplicable to GNU/Hurd.
39844 * manual/job.texi: Likewise.
39845 * manual/llio.texi: Likewise.
39846 (O_NOCTTY): Document as present on GNU/Linux.
39847 * manual/maint.texi: Likewise.
39848 * manual/memory.texi: Likewise.
39849 * manual/pattern.texi: Likewise.
39850 * manual/pipe.texi: Likewise.
39851 * manual/process.texi: Likewise.
39852 * manual/resource.texi: Likewise.
39853 (RUSAGE_CHILDREN): Remove statement about specifying a particular
39855 * manual/setjmp.texi: Likewise.
39856 * manual/signal.texi: Likewise.
39857 * manual/startup.texi: Likewise.
39858 * manual/stdio.texi: Likewise.
39859 * manual/terminal.texi: Likewise.
39860 (ONLCR): Document as POSIX.
39861 (OXTABS): Document availability on GNU/Linux as XTABS.
39862 (ONOEOT): Document availability separately from other bits.
39863 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
39864 * manual/time.texi: Likewise.
39865 * manual/users.texi: Likewise.
39866 * INSTALL: Regenerated.
39867 * sysdeps/gnu/errlist.c: Regenerated.
39869 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
39870 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
39871 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
39873 * configure: Regenerated.
39875 2012-03-07 Joseph Myers <joseph@codesourcery.com>
39877 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
39878 default includes instead of AC_HEADER_CHECK.
39879 * sysdeps/i386/configure: Regenerated.
39882 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
39883 * math/s_cacoshf.c (__cacoshf): Likewise.
39884 * math/s_cacoshl.c (__cacoshl): Likewise.
39885 * math/s_casinh.c (__casinh): Set signs of result from argument.
39886 * math/s_casinhf.c (__casinhf): Likewise.
39887 * math/s_casinhl.c (__casinhl): Likewise.
39888 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
39889 (casinh_test): Add more tests.
39890 * sysdeps/i386/fpu/libm-test-ulps: Update.
39891 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39893 2012-03-07 Ulrich Drepper <drepper@gmail.com>
39895 * po/zh_TW.po: Update from translation team.
39897 * login/Makefile (distribute): Remove variable.
39898 * catgets/Makefile: Likewise.
39899 * mach/Makefile: Likewise.
39900 * malloc/Makefile: Likewise.
39901 * misc/Makefile: Likewise.
39902 * iconv/Makefile: Likewise.
39903 * nscd/Makefile: Likewise.
39904 * hurd/Makefile: Likewise.
39905 * manual/Makefile: Likewise.
39906 * locale/Makefile: Likewise.
39907 * intl/Makefile: Likewise.
39908 * conform/Makefile: Likewise.
39909 * nss/Makefile: Likewise.
39910 * time/Makefile: Likewise.
39911 * soft-fp/Makefile: Likewise.
39912 * dirent/Makefile: Likewise.
39913 * gmon/Makefile: Likewise.
39914 * po/Makefile: Likewise.
39915 * rt/Makefile: Likewise.
39916 * socket/Makefile: Likewise.
39917 * math/Makefile: Likewise.
39918 * signal/Makefile: Likewise.
39919 * debug/Makefile: Likewise.
39920 * elf/Makefile: Likewise.
39921 * timezone/Makefile: Likewise.
39922 * stdlib/Makefile: Likewise.
39923 * iconvdata/Makefile: Likewise.
39924 * sunrpc/Makefile: Likewise.
39925 * io/Makefile: Likewise.
39926 * argp/Makefile: Likewise.
39927 * inet/Makefile: Likewise.
39928 * hesiod/Makefile: Likewise.
39929 * grp/Makefile: Likewise.
39930 * csu/Makefile: Likewise.
39931 * wctype/Makefile: Likewise.
39932 * crypt/Makefile: Likewise.
39933 * libio/Makefile: Likewise.
39934 * string/Makefile: Likewise.
39935 * nis/Makefile: Likewise.
39936 * resolv/Makefile: Likewise.
39937 * stdio-common/Makefile: Likewise.
39938 * wcsmbs/Makefile: Likewise.
39939 * dlfcn/Makefile: Likewise.
39940 * posix/Makefile: Likewise.
39943 * timezone/Makefile: Don't install timezone files, just the programs
39946 2012-03-06 Ulrich Drepper <drepper@gmail.com>
39948 * nss/databases.def: Add missing gshadow entry.
39950 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
39952 2012-03-06 Marek Polacek <polacek@redhat.com>
39955 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
39956 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
39957 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
39958 * stdio-common/tst-long-dbl-fphex.c: New file.
39960 2012-03-06 David S. Miller <davem@davemloft.net>
39962 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
39963 (set_obp_int): New function.
39964 (get_obp_int): New function.
39965 (__get_clockfreq_via_dev_openprom): Likewise.
39966 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
39967 Avoid unused variable warnings on 'val' and use builtin_expect.
39968 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
39970 (INLINE_CLONE_SYSCALL): Likewise.
39972 2012-03-05 David S. Miller <davem@davemloft.net>
39974 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39976 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
39978 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39980 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
39981 only for |x| >= 40.
39982 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
39984 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
39986 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
39987 Replace gettimeofday with __vdso_gettimeofday.
39989 * sysdeps/unix/sysv/linux/x86_64/init-first.c
39990 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
39991 __vdso_clock_gettime and __vdso_getcpu.
39993 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
39994 time with __vdso_time.
39996 2012-03-05 Joseph Myers <joseph@codesourcery.com>
39998 * manual/lang.texi (size_t): Note types to which size_t may be
39999 equivalent with the GNU C Library, but do not describe when
40000 differences between them are significant.
40002 2012-03-05 Andreas Jaeger <aj@suse.de>
40004 * sysdeps/i386/fpu/libm-test-ulps: Update.
40006 2012-03-05 Joseph Myers <joseph@codesourcery.com>
40009 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
40010 (__ieee754_pow): Save and restore rounding mode and use
40011 round-to-nearest for main computations.
40012 * math/libm-test.inc (pow_test_tonearest): New function.
40013 (pow_test_towardzero): Likewise.
40014 (pow_test_downward): Likewise.
40015 (pow_test_upward): Likewise.
40016 (main): Call the new functions.
40017 * sysdeps/i386/fpu/libm-test-ulps: Update.
40018 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40021 * math/libm-test.inc (cosh_test_tonearest): New function.
40022 (cosh_test_towardzero): Likewise.
40023 (cosh_test_downward): Likewise.
40024 (cosh_test_upward): Likewise.
40025 (sinh_test_tonearest): Likewise.
40026 (sinh_test_towardzero): Likewise.
40027 (sinh_test_downward): Likewise.
40028 (sinh_test_upward): Likewise.
40029 (main): Call the new functions.
40030 * sysdeps/i386/fpu/libm-test-ulps: Update.
40031 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40033 2012-03-05 Tom de Vries <tom@codesourcery.com>
40035 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
40036 default stack guard is set in last bytes.
40037 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
40039 2012-03-05 Kees Cook <keescook@chromium.org>
40041 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
40044 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
40045 possibly allocate from heap instead of stack.
40046 * stdio-common/bug-vfprintf-nargs.c: New file.
40047 * stdio-common/Makefile (tests): Add nargs overflow test.
40049 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
40051 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40053 2012-03-03 Marek Polacek <polacek@redhat.com>
40055 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
40056 * math/math_private.h: Likewise.
40057 * stdlib/tst-strtod.c: Likewise.
40058 * sysdeps/i386/i486/bits/atomic.h: Likewise.
40059 * sysdeps/x86_64/bits/atomic.h: Likewise.
40061 2012-03-02 David S. Miller <davem@davemloft.net>
40063 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
40064 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
40065 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
40066 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
40067 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
40068 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
40069 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
40070 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
40072 2012-03-02 Roland McGrath <roland@hack.frob.com>
40075 * manual/examples/README: New file, says the example source files
40076 can be used under GPL>=2.
40077 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
40078 line containing just "*/".
40079 * manual/examples/add.c: Add copyright header (GPL>=2).
40080 * manual/examples/argp-ex1.c: Likewise.
40081 * manual/examples/argp-ex2.c: Likewise.
40082 * manual/examples/argp-ex3.c: Likewise.
40083 * manual/examples/argp-ex4.c: Likewise.
40084 * manual/examples/atexit.c: Likewise.
40085 * manual/examples/db.c: Likewise.
40086 * manual/examples/dir.c: Likewise.
40087 * manual/examples/dir2.c: Likewise.
40088 * manual/examples/execinfo.c: Likewise.
40089 * manual/examples/filecli.c: Likewise.
40090 * manual/examples/filesrv.c: Likewise.
40091 * manual/examples/fmtmsgexpl.c: Likewise.
40092 * manual/examples/genpass.c: Likewise.
40093 * manual/examples/inetcli.c: Likewise.
40094 * manual/examples/inetsrv.c: Likewise.
40095 * manual/examples/isockad.c: Likewise.
40096 * manual/examples/longopt.c: Likewise.
40097 * manual/examples/memopen.c: Likewise.
40098 * manual/examples/memstrm.c: Likewise.
40099 * manual/examples/mkfsock.c: Likewise.
40100 * manual/examples/mkisock.c: Likewise.
40101 * manual/examples/mygetpass.c: Likewise.
40102 * manual/examples/pipe.c: Likewise.
40103 * manual/examples/popen.c: Likewise.
40104 * manual/examples/rprintf.c: Likewise.
40105 * manual/examples/search.c: Likewise.
40106 * manual/examples/select.c: Likewise.
40107 * manual/examples/setjmp.c: Likewise.
40108 * manual/examples/sigh1.c: Likewise.
40109 * manual/examples/sigusr.c: Likewise.
40110 * manual/examples/stpcpy.c: Likewise.
40111 * manual/examples/strdupa.c: Likewise.
40112 * manual/examples/strftim.c: Likewise.
40113 * manual/examples/strncat.c: Likewise.
40114 * manual/examples/subopt.c: Likewise.
40115 * manual/examples/swapcontext.c: Likewise.
40116 * manual/examples/termios.c: Likewise.
40117 * manual/examples/testopt.c: Likewise.
40118 * manual/examples/testpass.c: Likewise.
40119 * manual/examples/timeval_subtract.c: Likewise.
40122 * manual/time.texi (Elapsed Time): Move timeval_subtract example
40124 * manual/timeval_subtract.c.texi: ... here, new file.
40126 2012-03-02 David S. Miller <davem@davemloft.net>
40128 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
40130 2012-03-02 Joseph Myers <joseph@codesourcery.com>
40133 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
40134 (__sin): Save and restore rounding mode and use round-to-nearest
40135 for all computations.
40136 (__cos): Save and restore rounding mode and use round-to-nearest
40137 for all computations.
40138 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
40140 (tan): Save and restore rounding mode and use round-to-nearest for
40142 * math/libm-test.inc (cos_test_tonearest): New function.
40143 (cos_test_towardzero): Likewise.
40144 (cos_test_downward): Likewise.
40145 (cos_test_upward): Likewise.
40146 (sin_test_tonearest): Likewise.
40147 (sin_test_towardzero): Likewise.
40148 (sin_test_downward): Likewise.
40149 (sin_test_upward): Likewise.
40150 (tan_test_tonearest): Likewise.
40151 (tan_test_towardzero): Likewise.
40152 (tan_test_downward): Likewise.
40153 (tan_test_upward): Likewise.
40154 (main): Call the new functions.
40155 * sysdeps/i386/fpu/libm-test-ulps: Update.
40156 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40159 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
40160 small n, then large n, before computing and testing k+n.
40161 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
40162 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
40164 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
40166 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
40167 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
40168 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
40169 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
40170 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
40171 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
40172 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
40173 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
40174 * math/libm-test.inc (scalbn_test): Add more tests.
40175 (scalbln_test): Likewise.
40177 * manual/filesys.texi (mode_t): Describe constraints on size and
40178 signedness, not exact equivalence to a particular type.
40180 (ino64_t): Likewise.
40182 (nlink_t): Likewise.
40183 (blkcnt_t): Likewise.
40184 (blkcnt64_t): Likewise.
40185 * manual/llio.texi (off_t): Likewise.
40188 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
40189 (__ieee754_exp): Save and restore rounding mode and use
40190 round-to-nearest for all computations.
40191 * math/libm-test.inc (exp_test_tonearest): New function.
40192 (exp_test_towardzero): Likewise.
40193 (exp_test_downward): Likewise.
40194 (exp_test_upward): Likewise.
40195 (main): Call the new functions.
40196 * sysdeps/i386/fpu/libm-test-ulps: Update.
40197 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40199 2012-03-01 Chris Demetriou <cgd@google.com>
40201 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
40202 have predictable order.
40204 2012-03-01 David S. Miller <davem@davemloft.net>
40206 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
40208 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
40209 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
40210 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
40211 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
40213 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
40214 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
40215 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
40216 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
40217 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
40218 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
40219 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
40220 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
40221 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
40223 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40225 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
40226 * sysdeps/sparc/fpu/libm-test-ulps: to here.
40227 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
40229 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
40230 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
40231 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
40232 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
40233 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
40234 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
40235 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
40236 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
40237 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
40238 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
40239 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
40240 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
40241 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
40242 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
40243 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
40244 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
40245 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
40246 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
40247 * sysdeps/sparc/elf/configure: Regenerated.
40249 2012-03-01 Joseph Myers <joseph@codesourcery.com>
40251 * configure.in (AS, LD): Require binutils 2.20 or later.
40252 * configure: Regenerated.
40253 * manual/install.texi (Tools for Compilation): Give binutils 2.20
40254 as required minimum version.
40255 * INSTALL: Regenerated.
40259 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
40260 before squaring exponent.
40261 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
40262 bottom long double and 27 bits of top long double before squaring
40264 * math/libm-test.inc (erfc_test): Add more tests.
40265 * sysdeps/i386/fpu/libm-test-ulps: Update.
40266 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
40267 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40269 2012-03-01 Kai Tietz <ktietz@redhat.com>
40271 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
40272 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
40273 containing bit-fields.
40274 * soft-fp/extended.h (_FP_UNION_E): Likewise.
40275 * soft-fp/single.h (_FP_UNION_S): Likewise.
40276 * soft-fp/double.h (_FP_UNION_D): Likewise.
40278 2012-02-29 Joseph Myers <joseph@codesourcery.com>
40281 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
40282 not include ../strcmp.S.
40283 [USE_AS_STRNCASECMP_L]: Likewise.
40284 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
40285 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
40286 * sysdeps/i386/i686/multiarch/strncase_l-c.c
40287 (__strncasecmp_l_ia32): Define as alias to
40288 __strncasecmp_l_nonascii.
40291 * math/libm-test.inc (expm1_test): Add test for bug 5794.
40292 * sysdeps/i386/fpu/libm-test-ulps: Update.
40293 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40295 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
40296 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40298 2012-02-29 Jeff Law <law@redhat.com>
40300 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
40301 out of bounds read.
40303 2012-02-29 Marek Polacek <polacek@redhat.com>
40306 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
40307 * elf/Makefile: Add rules to run tst-unused-dep.out.
40309 2012-02-28 David S. Miller <davem@davemloft.net>
40311 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
40312 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
40313 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
40314 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
40315 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
40316 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
40318 2012-02-29 Joseph Myers <joseph@codesourcery.com>
40320 * math/libm-test.inc (llround_test): Move one test from
40321 lround_test. Use TEST_f_L in moved test.
40322 (lround_test): Move misplaced test to llround_test. Add testcase
40325 2012-02-28 Ulrich Drepper <drepper@gmail.com>
40327 * sysdeps/x86_64/fpu/e_expf.S: New file.
40328 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
40330 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
40333 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
40334 of remain_len that may cause incomplete multi-byte character and
40336 * posix/bug-regex33.c: New file.
40337 * posix/Makefile (tests): Add bug-regex33.
40339 2012-02-28 Joseph Myers <joseph@codesourcery.com>
40341 * manual/macros.texi: New file.
40342 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
40343 * manual/libc.texinfo: Include macros.texi.
40344 * manual/creatute.texi: Likewise.
40345 * manual/install.texi: Likewise.
40346 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
40347 @glibcadj{} in references to the GNU C Library.
40348 * manual/charset.texi: Likewise.
40349 * manual/conf.texi: Likewise.
40350 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
40351 when not using those macros.
40352 * manual/creature.texi: Likewise.
40353 * manual/crypt.texi: Likewise.
40354 * manual/errno.texi: Likewise.
40355 * manual/filesys.texi: Likewise.
40356 * manual/header.texi: Likewise.
40357 * manual/install.texi: Likewise.
40358 * manual/intro.texi: Likewise.
40359 * manual/io.texi: Likewise.
40360 * manual/job.texi: Likewise.
40361 * manual/lang.texi: Likewise.
40362 * manual/libc.texiinfo: Likewise.
40363 * manual/llio.texi: Likewise.
40364 * manual/locale.texi: Likewise.
40365 * manual/maint.texi: Likewise.
40366 * manual/math.texi: Likewise.
40367 * manual/memory.texi: Likewise.
40368 * manual/message.texi: Likewise.
40369 * manual/nss.texi: Likewise.
40370 * manual/pattern.texi: Likewise.
40371 * manual/process.texi: Likewise.
40372 * manual/resource.texi: Likewise.
40373 * manual/search.texi: Likewise.
40374 * manual/setjmp.texi: Likewise.
40375 * manual/signal.texi: Likewise.
40376 * manual/socket.texi: Likewise.
40377 * manual/startup.texi: Likewise.
40378 * manual/stdio.texi: Likewise.
40379 * manual/string.texi: Likewise.
40380 * manual/sysinfo.texi: Likewise.
40381 * manual/syslog.texi: Likewise.
40382 * manual/terminal.texi: Likewise.
40383 * manual/time.texi: Likewise.
40384 * manual/users.texi: Likewise.
40385 * INSTALL: Regenerated.
40386 * NOTES: Regenerated.
40387 * sysdeps/gnu/errlist.c: Regenerated.
40389 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
40391 * include/dirent.h: Include <dirstream.h> before
40394 2012-02-28 David S. Miller <davem@davemloft.net>
40396 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
40397 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
40398 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
40399 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
40401 2012-02-27 David S. Miller <davem@davemloft.net>
40403 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
40404 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
40405 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
40406 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
40408 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
40409 frame pointer instead of stack pointer relative arg slot.
40410 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
40411 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
40412 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
40414 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
40417 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
40419 2012-02-27 David S. Miller <davem@davemloft.net>
40421 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
40422 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
40423 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
40424 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
40425 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
40426 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
40427 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
40428 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
40430 2012-02-27 Joseph Myers <joseph@codesourcery.com>
40432 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
40433 later. Allow versions 5-9.
40434 * configure: Regenerated.
40435 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
40436 required minimum version and 4.6 as recommended version. Do not
40437 mention bugs in GCC 2.7 and 2.8.
40438 * INSTALL: Regenerated.
40440 2012-02-27 David S. Miller <davem@davemloft.net>
40442 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
40443 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
40444 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
40445 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
40446 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
40447 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
40448 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
40449 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
40451 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
40452 manipulate bits before adding and subtracting TWO112[sx].
40453 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
40455 2012-02-27 Roland McGrath <roland@hack.frob.com>
40458 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
40459 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
40460 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
40461 being in POSIX, because they are in 1003.1-2008.
40463 * rt/tst-aio.c: Include <fcntl.h>.
40464 * rt/tst-aio7.c: Likewise.
40465 * rt/tst-aio64.c: Likewise.
40467 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
40469 2012-02-27 Joseph Myers <joseph@codesourcery.com>
40471 * manual/install.texi (--with-headers): Describe headers as
40472 interface headers, not private headers.
40473 (Specific advice for GNU/Linux systems): Describe use of headers
40474 from "make headers_install", not private headers from older
40476 * INSTALL: Regenerated.
40477 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
40479 * sysdeps/unix/sysv/linux/configure: Regenerated.
40481 * manual/llio.texi (fclean): Remove documentation.
40483 * manual/Makefile (libc-texi-generated): New variable. Include
40485 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
40486 $(libc-texi-generated), not duplicated list of files.
40487 (version.texi, stamp-version): New rules.
40488 (realclean): Remove $(libc-texi-generated), not individual files
40489 from that list. Do not remove dir-add.texinfo.
40490 * manual/libc.texinfo: Comment out uses of edition numbers and
40491 references to printed manual. Remove last-updated dates.
40492 (EDITION): Comment out.
40494 (VERSION, UPDATED): Remove.
40495 (version.texi): Include.
40497 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
40499 * sysdeps/posix/spawni.c: Include <signal.h>.
40500 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
40501 * sysdeps/pthread/aio_fsync.c: Likewise.
40503 2012-02-26 Ulrich Drepper <drepper@gmail.com>
40505 * conform/Makefile (tests): Run only when not cross-compiling and
40506 when fast-check is not defined.
40508 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
40509 * conform/data/limits.h-data: Fixes for POSIX2008.
40510 * conform/run-conformtest.sh: Run all tests.
40511 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
40513 * include/bits/dlfcn.h: Likewise.
40514 * include/langinfo.h: Likewise.
40515 * include/monetary.h: Likewise.
40516 * include/sys/poll.h: Likewise.
40518 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
40520 * posix/spawn.h: Define __need_sigset_t.
40521 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
40522 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
40523 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
40524 to get sigevent_t only.
40525 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
40526 only for __USE_GNU.
40527 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
40528 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
40529 process_vm_writev only for __USE_GNU.
40530 * termios/termios.h: Declare tcgetsid also for POSIX2008.
40532 * conform/Makefile: For now ignore errors from run-conformtest.
40533 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
40534 POSIX to avoid namespace pollution. Don't prepend headers.
40535 * conform/data/aio.h-data: Fixes for POSIX testing.
40536 * conform/data/fcntl.h-data: Likewise.
40537 * conform/data/glob.h-data: Likewise.
40538 * conform/data/grp.h-data: Likewise.
40539 * conform/data/pthread.h-data: Likewise.
40540 * conform/data/pwd.h-data: Likewise.
40541 * conform/data/signal.h-data: Likewise.
40542 * conform/data/spawn.h-data: Likewise.
40543 * conform/data/stdio.h-data: Likewise.
40544 * conform/data/stdlib.h-data: Likewise.
40545 * conform/data/stropts.h-data: Likewise.
40546 * conform/data/sys/mman.h-data: Likewise.
40547 * conform/data/sys/stat.h-data: Likewise.
40548 * conform/data/sys/types.h-data: Likewise.
40549 * conform/data/sys/wait.h-data: Likewise.
40550 * conform/data/time.h-data: Likewise.
40551 * conform/data/unistd.h-data: Likewise.
40552 * conform/data/utime.h-data: Likewise.
40554 * io/sys/stat.h: fchmod was always in POSIX.
40555 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
40556 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
40557 * rt/aio.h: Define __need_timespec before including <time.h>.
40558 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
40559 struct. Add forward declaration of pthread_attr_t and use it in
40561 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
40562 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
40563 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
40564 always remove CLK_TCK definition.
40566 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
40568 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
40570 2012-02-25 Ulrich Drepper <drepper@gmail.com>
40572 * conform/run-conformtest.sh: New file.
40573 * conform/Makefile: Run run-conformtest for tests.
40574 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
40577 * conform/data/uchar.h-data: New file.
40578 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
40579 * conform/data/arpa/inet.h-data: Likewise.
40580 * conform/data/assert.h-data: Likewise.
40581 * conform/data/complex.h-data: Likewise.
40582 * conform/data/cpio.h-data: Likewise.
40583 * conform/data/ctype.h-data: Likewise.
40584 * conform/data/dirent.h-data: Likewise.
40585 * conform/data/dlfcn.h-data: Likewise.
40586 * conform/data/errno.h-data: Likewise.
40587 * conform/data/fcntl.h-data: Likewise.
40588 * conform/data/float.h-data: Likewise.
40589 * conform/data/fmtmsg.h-data: Likewise.
40590 * conform/data/fnmatch.h-data: Likewise.
40591 * conform/data/ftw.h-data: Likewise.
40592 * conform/data/glob.h-data: Likewise.
40593 * conform/data/grp.h-data: Likewise.
40594 * conform/data/iconv.h-data: Likewise.
40595 * conform/data/inttypes.h-data: Likewise.
40596 * conform/data/langinfo.h-data: Likewise.
40597 * conform/data/libgen.h-data: Likewise.
40598 * conform/data/limits.h-data: Likewise.
40599 * conform/data/locale.h-data: Likewise.
40600 * conform/data/math.h-data: Likewise.
40601 * conform/data/monetary.h-data: Likewise.
40602 * conform/data/mqueue.h-data: Likewise.
40603 * conform/data/ndbm.h-data: Likewise.
40604 * conform/data/net/if.h-data: Likewise.
40605 * conform/data/netdb.h-data: Likewise.
40606 * conform/data/netinet/in.h-data: Likewise.
40607 * conform/data/nl_types.h-data: Likewise.
40608 * conform/data/poll.h-data: Likewise.
40609 * conform/data/pthread.h-data: Likewise.
40610 * conform/data/pwd.h-data: Likewise.
40611 * conform/data/regex.h-data: Likewise.
40612 * conform/data/sched.h-data: Likewise.
40613 * conform/data/search.h-data: Likewise.
40614 * conform/data/semaphore.h-data: Likewise.
40615 * conform/data/setjmp.h-data: Likewise.
40616 * conform/data/signal.h-data: Likewise.
40617 * conform/data/spawn.h-data: Likewise.
40618 * conform/data/stdarg.h-data: Likewise.
40619 * conform/data/stdio.h-data: Likewise.
40620 * conform/data/stdlib.h-data: Likewise.
40621 * conform/data/string.h-data: Likewise.
40622 * conform/data/strings.h-data: Likewise.
40623 * conform/data/stropts.h-data: Likewise.
40624 * conform/data/sys/ipc.h-data: Likewise.
40625 * conform/data/sys/mman.h-data: Likewise.
40626 * conform/data/sys/msg.h-data: Likewise.
40627 * conform/data/sys/resource.h-data: Likewise.
40628 * conform/data/sys/select.h-data: Likewise.
40629 * conform/data/sys/sem.h-data: Likewise.
40630 * conform/data/sys/shm.h-data: Likewise.
40631 * conform/data/sys/socket.h-data: Likewise.
40632 * conform/data/sys/stat.h-data: Likewise.
40633 * conform/data/sys/statvfs.h-data: Likewise.
40634 * conform/data/sys/time.h-data: Likewise.
40635 * conform/data/sys/timeb.h-data: Likewise.
40636 * conform/data/sys/times.h-data: Likewise.
40637 * conform/data/sys/types.h-data: Likewise.
40638 * conform/data/sys/uio.h-data: Likewise.
40639 * conform/data/sys/un.h-data: Likewise.
40640 * conform/data/sys/utsname.h-data: Likewise.
40641 * conform/data/sys/wait.h-data: Likewise.
40642 * conform/data/syslog.h-data: Likewise.
40643 * conform/data/tar.h-data: Likewise.
40644 * conform/data/termios.h-data: Likewise.
40645 * conform/data/utime.h-data: Likewise.
40646 * conform/data/utmpx.h-data: Likewise.
40647 * conform/data/varargs.h-data: Likewise.
40648 * conform/data/wchar.h-data: Likewise.
40649 * conform/data/wctype.h-data: Likewise.
40650 * conform/data/wordexp.h-data: Likewise.
40652 * include/stropts.h: New file.
40653 * include/uchar.h: New file.
40654 * include/aio.h: Changes to allow conformtest.pl to use the headers.
40655 * include/assert.h: Likewise.
40656 * include/ctype.h: Likewise.
40657 * include/dirent.h: Likewise.
40658 * include/dlfcn.h: Likewise.
40659 * include/fcntl.h: Likewise.
40660 * include/fnmatch.h: Likewise.
40661 * include/glob.h: Likewise.
40662 * include/grp.h: Likewise.
40663 * include/libio.h: Likewise.
40664 * include/locale.h: Likewise.
40665 * include/math.h: Likewise.
40666 * include/net/if.h: Likewise.
40667 * include/netdb.h: Likewise.
40668 * include/netinet/in.h: Likewise.
40669 * include/pthread.h: Likewise.
40670 * include/pwd.h: Likewise.
40671 * include/regex.h: Likewise.
40672 * include/sched.h: Likewise.
40673 * include/search.h: Likewise.
40674 * include/setjmp.h: Likewise.
40675 * include/signal.h: Likewise.
40676 * include/stdio.h: Likewise.
40677 * include/stdlib.h: Likewise.
40678 * include/string.h: Likewise.
40679 * include/sys/cdefs.h: Likewise.
40680 * include/sys/mman.h: Likewise.
40681 * include/sys/msg.h: Likewise.
40682 * include/sys/resource.h: Likewise.
40683 * include/sys/select.h: Likewise.
40684 * include/sys/socket.h: Likewise.
40685 * include/sys/stat.h: Likewise.
40686 * include/sys/statvfs.h: Likewise.
40687 * include/sys/time.h: Likewise.
40688 * include/sys/times.h: Likewise.
40689 * include/sys/uio.h: Likewise.
40690 * include/sys/utsname.h: Likewise.
40691 * include/sys/wait.h: Likewise.
40692 * include/termios.h: Likewise.
40693 * include/time.h: Likewise.
40694 * include/ulimit.h: Likewise.
40695 * include/unistd.h: Likewise.
40696 * include/utime.h: Likewise.
40697 * include/wchar.h: Likewise.
40698 * include/wctype.h: Likewise.
40699 * include/wordexp.h: Likewise.
40701 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
40703 * time/time.h: TIME_UTC must be a macro.
40704 Make timespec_get available for ISO C11 only as well.
40706 2012-02-24 Ulrich Drepper <drepper@gmail.com>
40708 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
40709 Reported by Peng Haitao <penght@cn.fujitsu.com>.
40711 2012-02-24 Joseph Myers <joseph@codesourcery.com>
40713 * configure.in: Use -o not -a in test for unsupported multi-arch.
40715 2012-02-24 Joseph Myers <joseph@codesourcery.com>
40717 * manual/texinfo.tex: Update to version 2012-01-19.16.
40719 2012-02-24 Joseph Myers <joseph@codesourcery.com>
40721 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
40723 2012-02-24 Roland McGrath <roland@hack.frob.com>
40726 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
40727 * manual/fdl-1.3.texi: New file.
40728 * manual/fdl-1.1.texi: File removed.
40731 * manual/libc.texinfo (FDL_VERSION): New @set.
40732 Use it for mention of FDL in cover text.
40733 (Documentation License): Use it in @include file name.
40735 2012-02-22 Joseph Myers <joseph@codesourcery.com>
40736 Roland McGrath <roland@hack.frob.com>
40739 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
40740 (not LONG_LONG_MAX and LONG_LONG_MIN.
40741 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
40742 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
40744 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
40746 2012-02-22 Joseph Myers <joseph@codesourcery.com>
40750 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
40751 manipulate bits before adding and subtracting TWO23[sx].
40752 * math/libm-test.inc (nearbyint_test): Add more tests.
40754 2012-02-22 Joseph Myers <joseph@codesourcery.com>
40757 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
40758 bits before adding and subtracting TWO23[sx].
40759 * math/libm-test.inc (rint_test): Add more tests.
40760 (rint_test_tonearest): Likewise.
40761 (rint_test_towardzero): Likewise.
40762 (rint_test_downward): Likewise.
40763 (rint_test_upward: Likewise.
40765 2012-02-22 Joseph Myers <joseph@codesourcery.com>
40768 * include/stdc-predef.h: New file. Extracted from features.h.
40769 * include/features.h: Include stdc-predef.h.
40770 * Makefile (headers): Add stdc-predef.h.
40771 * CONFORMANCE (Compiler limitations): Update.
40773 2012-02-22 Joseph Myers <joseph@codesourcery.com>
40775 * manual/libc.texinfo (VERSION, UPDATED): Revert.
40777 2012-02-21 David S. Miller <davem@davemloft.net>
40779 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
40780 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
40782 2012-02-20 David S. Miller <davem@davemloft.net>
40784 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
40785 using a normal save/restore sequence, rather than allocating a
40786 dummy stack frame just to store a frame pointer and restore.
40787 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
40789 2012-02-21 Joseph Myers <joseph@codesourcery.com>
40791 * manual/install.texi: Fix stray word in line-wrapped comment.
40793 2012-02-20 David S. Miller <davem@davemloft.net>
40795 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
40796 both binutils and gcc support GOTDATA.
40798 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
40799 "rd %pc" in the PIC register setup sequences.
40801 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
40802 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
40803 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
40804 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
40805 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
40806 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
40807 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
40808 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
40809 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
40810 (SYSCALL_ERROR_HANDLER): Likewise.
40811 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
40812 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
40813 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
40814 (SYSCALL_ERROR_HANDLER): Likewise.
40816 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
40817 (HAVE_GCC_GOTDATA): New.
40818 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
40819 relocation support in both binutils and gcc.
40820 * sysdeps/sparc/elf/configure: Regenerate.
40822 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
40823 * sysdeps/sparc/sparc32/elf/configure: Delete.
40824 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
40825 * sysdeps/sparc/sparc64/elf/configure: Delete.
40826 * sysdeps/sparc/elf/configure.in: New file.
40827 * sysdeps/sparc/elf/configure: Generate.
40829 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
40830 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
40831 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
40832 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
40833 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
40835 2012-02-21 Joseph Myers <joseph@codesourcery.com>
40837 * manual/install.texi: Do not mention specific glibc version
40839 * manual/libc.texinfo (VERSION, UPDATED): Update.
40840 (@copying): Use @copyright{} and range of years.
40842 2012-02-21 Joseph Myers <joseph@codesourcery.com>
40845 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
40846 [crti.S not in sysdirs] (generated): Do not append.
40847 [crti.S not in sysdirs] (omit-deps): Likewise.
40848 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
40849 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
40850 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
40851 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
40852 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
40854 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
40855 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
40856 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
40857 * csu/defs.awk: Remove file.
40858 * sysdeps/generic/initfini.c: Likewise.
40859 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
40861 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
40864 2012-02-20 Joseph Myers <joseph@codesourcery.com>
40866 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
40867 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
40868 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
40869 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
40870 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
40871 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
40873 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
40874 (__EPOLL_PACKED): Define to empty if not defined by
40876 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
40877 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40880 2012-02-20 Joseph Myers <joseph@codesourcery.com>
40882 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
40883 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
40884 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
40885 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
40887 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
40888 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40891 2012-02-20 Joseph Myers <joseph@codesourcery.com>
40893 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
40895 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
40896 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
40897 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
40898 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40900 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
40902 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
40903 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
40905 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
40907 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
40908 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
40910 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
40912 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
40915 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
40917 * math/w_acos.c: Use non-signaling floating-point comparisons.
40918 * math/w_acosf.c: Likewise.
40919 * math/w_acosh.c: Likewise.
40920 * math/w_acoshf.c: Likewise.
40921 * math/w_acoshl.c: Likewise.
40922 * math/w_acosl.c: Likewise.
40923 * math/w_asin.c: Likewise.
40924 * math/w_asinf.c: Likewise.
40925 * math/w_asinl.c: Likewise.
40926 * math/w_atanh.c: Likewise.
40927 * math/w_atanhf.c: Likewise.
40928 * math/w_atanhl.c: Likewise.
40929 * math/w_exp2.c: Likewise.
40930 * math/w_exp2f.c: Likewise.
40931 * math/w_exp2l.c: Likewise.
40932 * math/w_j0.c: Likewise.
40933 * math/w_j0f.c: Likewise.
40934 * math/w_j0l.c: Likewise.
40935 * math/w_j1.c: Likewise.
40936 * math/w_j1f.c: Likewise.
40937 * math/w_j1l.c: Likewise.
40938 * math/w_jn.c: Likewise.
40939 * math/w_jnf.c: Likewise.
40940 * math/w_log.c: Likewise.
40941 * math/w_log10.c: Likewise.
40942 * math/w_log10f.c: Likewise.
40943 * math/w_log10l.c: Likewise.
40944 * math/w_log2.c: Likewise.
40945 * math/w_log2f.c: Likewise.
40946 * math/w_log2l.c: Likewise.
40947 * math/w_logf.c: Likewise.
40948 * math/w_logl.c: Likewise.
40949 * math/w_sqrt.c: Likewise.
40950 * math/w_sqrtf.c: Likewise.
40951 * math/w_sqrtl.c: Likewise.
40952 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
40953 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
40954 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
40955 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
40956 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
40958 2012-02-19 Joseph Myers <joseph@codesourcery.com>
40961 * manual/string.texi (strnlen): Use correct parameter name in
40962 equivalent expression.
40964 2012-02-19 Joseph Myers <joseph@codesourcery.com>
40967 * manual/users.texi (seteuid): Consistently use neweuid for
40970 2012-02-19 Joseph Myers <joseph@codesourcery.com>
40973 * manual/nss.texi (Services in the NSS configuration): Correct
40974 list of services in example configuration file.
40976 2012-02-19 Nick Bowler <nbowler@draconx.ca>
40979 * manual/arith.texi: Remove statements about negative zero
40980 behaving identically to zero.
40982 2012-02-18 Joseph Myers <joseph@codesourcery.com>
40985 * manual/install.texi: Do not document upgrading from libc5.
40987 2012-02-18 Joseph Myers <joseph@codesourcery.com>
40990 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
40992 2012-02-18 David S. Miller <davem@davemloft.net>
40994 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
40995 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
40996 %o7 across the call.
40997 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
40999 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
41000 SETUP_PIC_REG_LEAF.
41001 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
41002 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
41003 * sysdeps/sparc/crtn.S: Likewise.
41005 2012-02-17 Ulrich Drepper <drepper@gmail.com>
41007 * aout/Makefile: Remove.
41009 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
41012 * manual/examples/argp-ex1.c (main): Format definition in GNU
41014 * manual/examples/argp-ex2.c (main): Likewise.
41015 * manual/examples/argp-ex3.c (main): Likewise.
41016 * manual/examples/argp-ex4.c (main): Likewise.
41017 * manual/examples/longopt.c (main): Use new-style prototype
41019 * manual/examples/strncat.c (main): Specify return type and use
41020 (void) for arguments.
41021 * manual/examples/subopt.c (main): Use char **argv argument.
41023 2012-02-17 Joseph Myers <joseph@codesourcery.com>
41026 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
41029 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
41032 * manual/string.texi (strchr): Change when strchrnul is
41035 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
41038 * manual/locale.texi (setlocale): Document LOCPATH.
41040 2012-02-17 Joseph Myers <joseph@codesourcery.com>
41043 * manual/process.texi (execle): Move @dots{} before last argument.
41045 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
41048 * manual/charset.texi (Generic Charset Conversion): Fix typo
41049 (LC_TYPE -> LC_CTYPE).
41051 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
41054 * manual/arith.texi (scalbn): Use @var{} on parameter names.
41055 (scalbnf): Likewise.
41056 (scalbnl): Likewise.
41057 (scalbln): Likewise.
41058 (scalblnf): Likewise.
41059 (scalblnl): Likewise.
41060 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
41061 (vwarnx): Likewise.
41064 * manual/filesys.texi (telldir): Use braces around return type.
41065 * manual/llio.texi (mmap): Add space after comma.
41066 (mmap64): Likewise.
41067 * manual/math.texi (jn): Use @var{} on parameter names.
41073 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
41075 * manual/resource.texi (ulimit): Use @dots{} instead of literal
41077 (sched_get_priority_min): Remove semicolon on @deftypefun line.
41078 (sched_get_priority_max): Likewise.
41079 * manual/signal.texi (sigvec): Add space after comma.
41080 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
41082 (if_indextoname): Likewise.
41083 (if_freenameindex): Likewise.
41084 (sendto): Use ',' instead of '.' in prototype.
41085 * manual/startup.texi (syscall): Use @dots{} instead of literal
41087 * manual/stdio.texi (__fpending): Separate initial words of
41088 paragraph from @deftypefun line.
41089 * manual/syslog.texi (syslog): Use @dots{} instead of literal
41091 (vsyslog): Use @var{} on parameter names.
41092 * manual/terminal.texi (stty): Use @var{} on parameter names.
41093 * manual/users.texi (getutmp): Use @var{} on parameter names.
41094 (getutmpx): Likewise.
41096 2012-02-17 Joseph Myers <joseph@codesourcery.com>
41099 * manual/stdio.texi (fopen): Fix typos in description of
41102 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
41105 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
41106 get clock_id definition.
41108 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
41111 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
41112 (madvise): Cast every argument to void on its own.
41114 2012-02-17 Joseph Myers <joseph@codesourcery.com>
41117 * manual/startup.texi (Exit Status): Fix typo.
41119 2012-02-17 Joseph Myers <joseph@codesourcery.com>
41122 * manual/examples/argp-ex1.c: Include <stdlib.h>.
41123 * manual/examples/argp-ex2.c: Likewise.
41124 * manual/examples/argp-ex3.c: Likewise.
41126 2012-02-16 Richard Henderson <rth@redhat.com>
41128 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
41129 * sysdeps/s390/s390-32/initfini.c: Remove.
41130 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
41131 * sysdeps/s390/s390-64/initfini.c: Remove.
41133 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
41135 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
41136 compiler output for sysdeps/generic/initfini.c.
41137 * sysdeps/sh/elf/initfini.c: Remove file.
41139 2012-02-16 David S. Miller <davem@davemloft.net>
41142 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
41144 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
41145 * sysdeps/sparc/crti.S: New file.
41146 * sysdeps/sparc/crtn.S: New file.
41147 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
41148 * sysdeps/sparc/sparc64/Makefile: Likewise.
41150 2012-02-15 Mike Frysinger <vapier@gentoo.org>
41153 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
41155 2012-02-15 Roland McGrath <roland@hack.frob.com>
41158 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
41160 * mach/devstream.c (cookie_io_functions_t): Macro removed.
41161 (write, read, close): Likewise.
41162 Patch by Aurelien Jarno <aurelien@aurel32.net>.
41164 2012-02-15 Joseph Myers <joseph@codesourcery.com>
41166 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
41167 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
41168 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
41169 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
41171 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
41172 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41175 2012-02-14 Marek Polacek <polacek@redhat.com>
41177 * sysdeps/x86_64/crti.S: New file.
41178 * sysdeps/x86_64/crtn.S: New file.
41179 * sysdeps/x86_64/elf/initfini.c: Remove file.
41181 2012-02-13 Joseph Myers <joseph@codesourcery.com>
41183 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
41184 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
41185 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
41186 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
41188 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
41189 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41192 2012-02-13 Joseph Myers <joseph@codesourcery.com>
41194 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
41195 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
41196 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
41197 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
41199 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
41200 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41203 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
41205 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
41206 __feraiseexcept instead of feraiseexcept.
41208 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
41209 nanosleep invocations.
41210 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
41211 strings, and add error checking for a nanosleep invocations.
41213 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
41215 Replace FSF snail mail address with URLs, as per GNU coding standards.
41216 Most of the snail mail addresses were wrong anyway, and omitting
41217 them makes the source code easier to maintain. Almost all of the
41218 changes are to license notices and to locale LC_IDENTIFICATION
41219 addresses, except for this one:
41220 * manual/libc.texinfo: In "Published by", give the FSF's URL,
41221 not its snail mail address.
41223 2012-02-09 Richard Henderson <rth@twiddle.net>
41225 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
41226 of kernel-features.h.
41228 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
41230 2012-02-08 Marek Polacek <polacek@redhat.com>
41232 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
41233 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
41234 * sysdeps/gnu/_G_config.h: Likewise.
41235 * sysdeps/generic/_G_config.h: Likewise.
41237 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
41239 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
41241 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41243 * sysdeps/powerpc/powerpc32/crti.S: New file.
41244 * sysdeps/powerpc/powerpc32/crtn.S: New file.
41245 * sysdeps/powerpc/powerpc64/crti.S: New file.
41246 * sysdeps/powerpc/powerpc64/crtn.S: New file.
41248 * Makeconfig (have-initfini): Don't set.
41249 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
41250 * configure.in (nopic_initfini): Don't substitute.
41251 * config.h.in (HAVE_INITFINI): Don't #undef.
41252 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
41253 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
41255 2012-02-08 Joseph Myers <joseph@codesourcery.com>
41257 Support crti.S and crtn.S provided directly by architectures.
41258 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
41259 [crti.S in sysdirs] (omit-deps): Likewise.
41260 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
41261 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
41262 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
41263 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
41264 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
41265 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
41266 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
41267 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
41268 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
41269 compiler output for sysdeps/generic/initfini.c.
41270 * sysdeps/i386/elf/Makefile: Remove file.
41271 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
41273 2012-02-07 Marek Polacek <polacek@redhat.com>
41275 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
41276 * sysdeps/gnu/_G_config.h: Likewise.
41277 * sysdeps/mach/hurd/_G_config.h: Likewise.
41279 2012-02-07 Marek Polacek <polacek@redhat.com>
41281 * math/Makefile (tests): Add tst-CMPLX2.
41282 * math/tst-CMPLX2.c: New file.
41284 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
41286 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
41288 * math/libm-test.inc (jn_test): Add missing L suffix.
41290 2012-02-06 Marek Polacek <polacek@redhat.com>
41292 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
41293 * sysdeps/i386/fpu/e_powf.S: Likewise.
41294 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
41295 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
41296 * sysdeps/i386/fpu/e_acosh.S: Likewise.
41297 * sysdeps/i386/fpu/e_pow.S: Likewise.
41298 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
41299 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
41300 * sysdeps/i386/fpu/s_expm1.S: Likewise.
41301 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
41302 * sysdeps/i386/fpu/e_log2.S: Likewise.
41303 * sysdeps/i386/fpu/e_log2l.S: Likewise.
41304 * sysdeps/i386/fpu/e_scalb.S: Likewise.
41305 * sysdeps/i386/fpu/e_powl.S: Likewise.
41306 * sysdeps/i386/fpu/s_log1p.S: Likewise.
41307 * sysdeps/i386/fpu/e_log10f.S: Likewise.
41308 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
41309 * sysdeps/i386/fpu/e_logl.S: Likewise.
41310 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
41311 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
41312 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
41313 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
41314 * sysdeps/i386/fpu/e_log2f.S: Likewise.
41315 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
41316 * sysdeps/i386/fpu/e_log.S: Likewise.
41317 * sysdeps/i386/fpu/s_cexp.S: Likewise.
41318 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
41319 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
41320 * sysdeps/i386/fpu/e_logf.S: Likewise.
41321 * sysdeps/i386/fpu/e_log10l.S: Likewise.
41322 * sysdeps/i386/fpu/e_atanh.S: Likewise.
41323 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
41324 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
41325 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
41326 * sysdeps/i386/fpu/e_log10.S: Likewise.
41327 * sysdeps/i386/fpu/s_frexp.S: Likewise.
41328 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
41329 * sysdeps/i386/fpu/s_asinh.S: Likewise.
41330 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
41331 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
41332 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
41333 * sysdeps/i386/asm-syntax.h: Likewise.
41334 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
41335 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
41336 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
41337 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
41338 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
41339 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
41340 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
41341 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
41342 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
41343 * sysdeps/powerpc/sysdep.h: Likewise.
41344 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
41345 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
41347 2012-02-06 Joseph Myers <joseph@codesourcery.com>
41350 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
41352 2012-02-06 Joseph Myers <joseph@codesourcery.com>
41354 * sysdeps/i386/sysdep.h: Include <features.h>.
41355 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
41358 2012-02-05 Joseph Myers <joseph@codesourcery.com>
41360 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
41362 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
41365 2012-02-03 Joseph Myers <joseph@codesourcery.com>
41367 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
41368 (SETUP_PIC_REG): Use GET_PC_THUNK.
41369 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
41372 2012-02-03 Joseph Myers <joseph@codesourcery.com>
41374 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
41375 for non-PIC compilation.
41376 (SETUP_PIC_REG): Add .p2align directive.
41377 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
41378 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
41379 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
41380 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
41381 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
41382 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
41383 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
41384 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
41385 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
41386 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
41387 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
41388 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
41389 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
41390 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
41391 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
41392 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
41393 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
41394 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
41395 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
41396 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
41397 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
41398 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
41399 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
41400 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
41401 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
41402 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
41403 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
41404 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
41405 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
41406 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
41407 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
41408 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
41409 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
41410 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
41411 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
41412 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
41413 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
41414 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
41415 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
41416 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
41417 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
41419 2012-02-03 Joseph Myers <joseph@codesourcery.com>
41421 * math/tst-CMPLX.c: Include <stdio.h>.
41423 2012-01-31 Joseph Myers <joseph@codesourcery.com>
41425 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
41427 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
41428 * sysdeps/sparc/bits/mathdef.h: Likewise.
41430 2012-01-31 Marek Polacek <polacek@redhat.com>
41432 * libio/libio.h: Don't define _PARAMS.
41433 * locale/programs/config.h: Don't define PARAMS.
41434 * stdlib/strtol_l.c: Likewise.
41435 (__strtol_l): Remove PARAMS from the prototype.
41437 2012-01-31 Ulrich Drepper <drepper@gmail.com>
41439 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
41440 names. Just use the correct names. Remove unnecessary wrapper
41442 * malloc/arena.c: Likewise.
41443 * malloc/hooks.c: Likewise.
41445 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
41446 ARENA_TEST says not to. Simplify test for creation of a new arena.
41447 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
41449 2012-01-30 Ulrich Drepper <drepper@gmail.com>
41451 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
41453 (update_get_addr): New function.
41454 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
41455 GET_ADDR_MODULE parameter.
41457 2012-01-30 Joseph Myers <joseph@codesourcery.com>
41459 * crypt/cert.c: Remove __STDC__ conditionals.
41460 * crypt/crypt-entry.c: Likewise.
41461 * crypt/crypt_util.c: Likewise.
41462 * libio/filedoalloc.c: Likewise.
41463 * libio/fileops.c: Likewise.
41464 * libio/genops.c: Likewise.
41465 * libio/iofclose.c: Likewise.
41466 * libio/iofdopen.c: Likewise.
41467 * libio/iofopen.c: Likewise.
41468 * libio/iofopen64.c: Likewise.
41469 * libio/iogetdelim.c: Likewise.
41470 * libio/iopopen.c: Likewise.
41471 * libio/obprintf.c: Likewise.
41472 * libio/oldfileops.c: Likewise.
41473 * libio/oldiofclose.c: Likewise.
41474 * libio/oldiofdopen.c: Likewise.
41475 * libio/oldiofopen.c: Likewise.
41476 * libio/oldiopopen.c: Likewise.
41477 * libio/wfiledoalloc.c: Likewise.
41478 * libio/wgenops.c: Likewise.
41479 * locale/programs/xmalloc.c: Likewise.
41480 * misc/syslog.c: Likewise.
41481 * stdio-common/xbug.c: Likewise.
41482 * string/memchr.c: Likewise.
41483 * string/memcmp.c: Likewise.
41484 * string/memrchr.c: Likewise.
41485 * string/rawmemchr.c: Likewise.
41486 * sysdeps/posix/getcwd.c: Likewise.
41487 * time/strftime_l.c: Likewise.
41489 2012-01-30 Joseph Myers <joseph@codesourcery.com>
41491 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
41492 * config.make.in (config-cflags-sse2avx): Define.
41493 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
41496 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
41498 * scripts/config.guess: Update from upstream config git repository.
41499 * scripts/config.sub: Likewise.
41501 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
41503 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
41505 (R_TILEPRO_*, R_TILEGX_*): New macros.
41507 * scripts/firstversions.awk: Fix bug in version range handling.
41509 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
41511 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
41513 * include/sys/epoll.h: New file.
41514 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
41517 2012-01-28 Ulrich Drepper <drepper@gmail.com>
41519 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
41520 Avoid unnecessary __WORDSIZE == 64 test.
41521 (fmaxf): Use VEX format if possible.
41526 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
41527 * math/math_private.h: Remove libc_fegetround* and
41529 * sysdeps/i386/configure.in: Check for -msse2avx.
41530 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
41531 also if SSE2AVX is defined.
41532 Remove libc_fegetround* and libc_fesetround*.
41533 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
41534 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
41535 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
41537 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
41538 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
41539 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
41540 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
41541 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
41543 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
41545 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41547 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
41549 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
41551 2012-01-27 Ulrich Drepper <drepper@gmail.com>
41554 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
41556 * Makeconfig (libm): Define.
41557 * elf/Makefile: Add rules to build and run tst-relsort1.
41558 * elf/tst-relsort1.c: New file.
41559 * elf/tst-relsort1mod1.c: New file.
41560 * elf/tst-relsort1mod2.c: New file.
41562 2012-01-27 Joseph Myers <joseph@codesourcery.com>
41564 * math/s_ldexp.c: Remove __STDC__ conditionals.
41565 * math/s_ldexpf.c: Likewise.
41566 * math/s_ldexpl.c: Likewise.
41567 * math/s_nextafter.c: Likewise.
41568 * math/s_nexttowardf.c: Likewise.
41569 * math/s_significand.c: Likewise.
41570 * math/s_significandf.c: Likewise.
41571 * math/s_significandl.c: Likewise.
41572 * math/w_jnl.c: Likewise.
41573 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
41574 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
41575 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
41576 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
41577 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
41578 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
41579 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
41580 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
41581 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
41582 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
41583 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
41584 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
41585 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
41586 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
41587 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
41588 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
41589 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
41590 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
41591 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
41592 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
41593 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
41594 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
41595 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
41596 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
41597 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
41598 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
41599 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
41600 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
41601 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
41602 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
41603 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
41604 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
41605 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
41606 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
41607 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
41608 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
41609 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
41610 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
41611 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
41612 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
41613 * sysdeps/ieee754/k_standard.c: Likewise.
41614 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
41615 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
41616 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
41617 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
41618 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
41619 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
41620 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
41621 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
41622 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
41623 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
41624 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
41625 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
41626 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
41627 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
41628 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
41629 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
41630 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
41631 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
41632 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
41633 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
41634 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
41635 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
41636 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
41637 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
41638 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
41639 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
41640 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
41641 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
41642 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
41643 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
41644 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
41645 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
41646 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
41647 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
41648 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
41649 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
41650 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
41651 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
41652 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
41653 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
41654 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
41655 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
41656 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
41657 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
41658 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
41659 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
41660 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
41661 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
41662 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
41663 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
41664 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
41665 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
41666 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
41667 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
41668 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
41669 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
41670 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
41671 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
41672 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
41673 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
41674 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
41675 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
41676 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
41677 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
41678 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
41679 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
41680 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
41681 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
41682 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
41683 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
41684 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
41685 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
41686 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
41687 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
41688 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
41689 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
41690 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
41691 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
41692 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
41693 * sysdeps/ieee754/s_matherr.c: Likewise.
41694 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
41695 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
41696 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
41697 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
41699 2012-01-26 Joseph Myers <joseph@codesourcery.com>
41701 * crypt/md5.h: Remove __STDC__ conditionals.
41702 * libio/libioP.h: Likewise.
41703 * locale/programs/config.h: Likewise.
41704 * sysdeps/generic/sysdep.h: Likewise.
41705 * sysdeps/i386/asm-syntax.h: Likewise.
41706 * sysdeps/s390/asm-syntax.h: Likewise.
41707 * sysdeps/unix/sysdep.h: Likewise.
41708 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
41709 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
41711 2012-01-26 Joseph Myers <joseph@codesourcery.com>
41713 * libio/libio.h: Remove __STDC__ conditionals.
41714 * malloc/obstack.h: Likewise.
41715 * math/complex.h: Likewise.
41716 * math/math.h: Likewise.
41717 * sysdeps/generic/_G_config.h: Likewise.
41718 * sysdeps/gnu/_G_config.h: Likewise.
41719 * sysdeps/mach/hurd/_G_config.h: Likewise.
41720 * sysdeps/powerpc/bits/mathdef.h: Likewise.
41721 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
41722 * sysdeps/sparc/bits/mathdef.h: Likewise.
41724 2012-01-26 Ulrich Drepper <drepper@gmail.com>
41727 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
41728 Clean up HAS_* macros.
41729 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
41730 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
41732 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
41734 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
41735 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
41736 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
41737 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
41738 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
41740 2012-01-25 Joseph Myers <joseph@codesourcery.com>
41742 * elf/tst-unique3.cc (gets): Remove declaration.
41743 * elf/tst-unique3lib.cc (gets): Likewise.
41744 * elf/tst-unique3lib2.cc (gets): Likewise.
41745 * elf/tst-unique4.cc (gets): Likewise.
41747 2012-01-24 Ulrich Drepper <drepper@gmail.com>
41749 * include/stdio.h: Add C++ protection. Add gets declarations and
41751 * debug/tst-chk1.c: Don't declare gets here.
41752 * stdio-common/tst-gets.c: Likewise.
41754 2012-01-24 Joseph Myers <joseph@codesourcery.com>
41756 * posix/glob: Remove directory.
41758 2012-01-24 Joseph Myers <joseph@codesourcery.com>
41760 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
41762 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
41764 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
41765 of the non-standard EPFNOSUPPORT.
41767 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
41769 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
41770 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
41771 ANYWHERE set to 1 only on KERN_NO_SPACE error.
41773 2012-01-21 Ulrich Drepper <drepper@gmail.com>
41775 * wcsmbs/uchar.h: Test __STDC_VERSION__.
41777 2012-01-20 Ulrich Drepper <drepper@gmail.com>
41779 * nscd/aicache.c (addhstaiX): Do not cache negative results of
41781 * nscd/grpcache.c (cache_addgr): Likewise.
41782 * nscd/hstcache.c (cache_addhst): Likewise.
41783 * nscd/initgrcache.c (addinitgroupsX): Likewise.
41784 * nscd/pwdcache.c (cache_addpw): Likewise.
41785 * nscd/servicescache.c (cache_addserv): Likewise.
41787 2012-01-16 Ulrich Drepper <drepper@gmail.com>
41789 * malloc/malloc.c: Various cleanups.
41790 * malloc/hooks.c: Likewise.
41792 * stdlib/Makefile (tests): Add bug-fmtmsg1.
41793 * stdlib/bug-fmtmsg1.c: New file.
41795 * stdlib/fmtmsg.c (init): Add missing unlock.
41796 Patch by Peng Haitao <penght@cn.fujitsu.com>.
41798 2012-01-12 Marek Polacek <polacek@redhat.com>
41800 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
41803 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
41805 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
41806 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
41807 macro to ensure uniqueness of label name.
41808 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
41809 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
41811 2012-01-11 Ulrich Drepper <drepper@gmail.com>
41813 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
41815 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
41816 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
41817 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
41818 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
41820 2012-01-10 Ulrich Drepper <drepper@gmail.com>
41822 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
41824 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
41825 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
41826 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
41828 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
41830 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
41831 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
41832 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41833 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
41835 * math/bits/math-finite.h: Add ldexp support.
41837 2012-01-10 Marek Polacek <polacek@redhat.com>
41839 * locale/programs/localedef.h (show_archive_content): Add noreturn
41842 2012-01-09 Ulrich Drepper <drepper@gmail.com>
41844 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
41846 2012-01-08 Ulrich Drepper <drepper@gmail.com>
41848 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
41850 * io/Makefile (headers): Add bits/poll2.h.
41852 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
41854 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
41855 typo #include statement.
41857 2012-01-08 Ulrich Drepper <drepper@gmail.com>
41859 * include/sys/cdefs.h: Define __attribute_alloc_size.
41860 * catgets/gencat.c: Add alloc_size attribute and apply consistently
41861 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
41862 * elf/pldd.c: Likewise.
41863 * iconv/iconv_charmap.c: Likewise.
41864 * iconv/iconvconfig.c: Likewise.
41865 * iconv/strtab.c: Likewise.
41866 * locale/programs/locale.c: Likewise.
41867 * locale/programs/localedef.h: Likewise.
41868 * locale/programs/simple-hash.c: Likewise.
41869 * nscd/nscd.h: Likewise.
41870 * nss/makedb.c: Likewise.
41871 * sysdeps/generic/ldconfig.h: Likewise.
41872 * locale/programs/localedef.c: Remove xmalloc prototype.
41873 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
41875 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
41877 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
41880 2012-01-08 Ulrich Drepper <drepper@gmail.com>
41882 * math/Makefile (tests): Add tst-CMPLX.
41883 * math/tst-CMPLX.c: New file.
41885 * math/complex.h (CMPLXL): Fix typo.
41887 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
41888 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
41890 * debug/tst-chk1.c: Add poll and ppoll tests.
41891 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
41892 * include/sys/poll.h: Add hidden proto for ppoll.
41893 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
41894 * sysdeps/mach/hurd/ppoll.c: Likewise.
41895 * io/ppoll.c: Likewise.
41896 * debug/poll_chk.c: New file.
41897 * debug/ppoll_chk.c: New file.
41898 * include/bits/poll2.h: New file.
41899 * io/bits/poll2.h: New file.
41902 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
41904 * configure.in: static is always set to yes. Remove.
41905 * config.make.in: Don't set build-static.
41906 * Makeconfig: Remove use of build-static.
41907 * dlfcn/Makefile: Likewise.
41908 * elf/Makefile: Likewise.
41909 * math/Makefile: Likewise.
41910 * misc/Makefile: Likewise.
41911 * nptl/Makefile: Likewise.
41912 * sysdeps/mach/hurd/Makefile: Likewise.
41914 * configure.in: PWD_P is not used anymore.
41915 * config.make.in: Remove PWD_P entry.
41917 * configure.in: Remove last remnants of RANLIB.
41918 No need to check for signed size_t anymore.
41919 Don't set libc_commonpagesize and libc_relro_required here for Alpha
41921 Remove __builtin_expect test because we require at least gcc 3.4.
41922 * aclocal.m4: Likewise.
41924 * wcsmbs/mbrtoc16.c: Implement using towc function.
41925 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
41926 * wcsmbs/wcsmbsload.c: Likewise.
41927 * iconv/gconv_simple.c: Likewise.
41928 * iconv/gconv_int.h: Likewise.
41929 * iconv/gconv_builtin.h: Likewise.
41930 * iconv/iconv_prog.c: Remove CHAR16 handling.
41932 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
41934 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
41936 * configure.in: Remove --with-elf and --enable-bounded options.
41937 Dont set base_machine for ia64. More non-ELF conditions removed.
41938 Remove testing and setting of leading underscore information.
41939 * config.make.in (build-bounded): Set to no.
41940 * config.h.in: Remove NO_UNDERSCORES entry.
41941 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
41943 * csu/start.c: Remove !NO_UNDERSCORE code.
41944 * locale/localeinfo.h: Likewise.
41945 * sysdeps/generic/machine-gmon.h: Likewise.
41946 * sysdeps/generic/sysdep.h: Likewise.
41947 * sysdeps/i386/sysdep.h: Likewise.
41948 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
41949 * sysdeps/mach/sysdep.h: Likewise.
41950 * sysdeps/s390/s390-32/sysdep.h: Likewise.
41951 * sysdeps/s390/s390-64/sysdep.h: Likewise.
41952 * sysdeps/sh/sysdep.h: Likewise.
41953 * sysdeps/sparc/sparc32/alloca.S: Likewise.
41954 * sysdeps/unix/i386/sysdep.S: Likewise.
41955 * sysdeps/unix/sparc/start.c: Likewise.
41956 * sysdeps/unix/sparc/sysdep.S: Likewise.
41957 * sysdeps/unix/sparc/sysdep.h: Likewise.
41958 * sysdeps/unix/start.c: Likewise.
41959 * sysdeps/unix/x86_64/sysdep.S: Likewise.
41960 * sysdeps/x86_64/sysdep.h: Likewise.
41962 2012-01-07 Ulrich Drepper <drepper@gmail.com>
41965 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
41967 * argp/argp-fmtstream.h: Use const instead __const.
41968 * argp/argp.h: Likewise.
41969 * assert/assert.h: Likewise.
41970 * bits/fenv.h: Likewise.
41971 * bits/sched.h: Likewise.
41972 * bits/sigset.h: Likewise.
41973 * bits/sigthread.h: Likewise.
41974 * catgets/nl_types.h: Likewise.
41975 * conform/data/pthread.h-data: Likewise.
41976 * crypt/crypt-private.h: Likewise.
41977 * crypt/crypt.h: Likewise.
41978 * crypt/crypt_util.c: Likewise.
41979 * ctype/ctype.h: Likewise.
41980 * debug/execinfo.h: Likewise.
41981 * debug/mbsnrtowcs_chk.c: Likewise.
41982 * debug/mbsrtowcs_chk.c: Likewise.
41983 * debug/wcsnrtombs_chk.c: Likewise.
41984 * debug/wcsrtombs_chk.c: Likewise.
41985 * debug/wcstombs_chk.c: Likewise.
41986 * dirent/dirent.h: Likewise.
41987 * dlfcn/dlfcn.h: Likewise.
41988 * elf/neededtest4.c: Likewise.
41989 * grp/grp.h: Likewise.
41990 * gshadow/gshadow.h: Likewise.
41991 * iconv/gconv.h: Likewise.
41992 * iconv/gconv_int.h: Likewise.
41993 * iconv/gconv_simple.c: Likewise.
41994 * iconv/iconv.h: Likewise.
41995 * iconv/loop.c: Likewise.
41996 * iconv/skeleton.c: Likewise.
41997 * include/aio.h: Likewise.
41998 * include/aliases.h: Likewise.
41999 * include/argz.h: Likewise.
42000 * include/arpa/inet.h: Likewise.
42001 * include/assert.h: Likewise.
42002 * include/dirent.h: Likewise.
42003 * include/dlfcn.h: Likewise.
42004 * include/execinfo.h: Likewise.
42005 * include/fcntl.h: Likewise.
42006 * include/fenv.h: Likewise.
42007 * include/glob.h: Likewise.
42008 * include/grp.h: Likewise.
42009 * include/libintl.h: Likewise.
42010 * include/mntent.h: Likewise.
42011 * include/netdb.h: Likewise.
42012 * include/pwd.h: Likewise.
42013 * include/rpc/netdb.h: Likewise.
42014 * include/sched.h: Likewise.
42015 * include/search.h: Likewise.
42016 * include/shadow.h: Likewise.
42017 * include/signal.h: Likewise.
42018 * include/stdio.h: Likewise.
42019 * include/stdlib.h: Likewise.
42020 * include/string.h: Likewise.
42021 * include/sys/socket.h: Likewise.
42022 * include/sys/stat.h: Likewise.
42023 * include/sys/statfs.h: Likewise.
42024 * include/sys/statvfs.h: Likewise.
42025 * include/sys/syslog.h: Likewise.
42026 * include/sys/time.h: Likewise.
42027 * include/sys/uio.h: Likewise.
42028 * include/time.h: Likewise.
42029 * include/unistd.h: Likewise.
42030 * include/utmp.h: Likewise.
42031 * include/wchar.h: Likewise.
42032 * include/wctype.h: Likewise.
42033 * inet/aliases.h: Likewise.
42034 * inet/arpa/inet.h: Likewise.
42035 * inet/netinet/ether.h: Likewise.
42036 * inet/netinet/in.h: Likewise.
42037 * intl/libintl.h: Likewise.
42038 * io/bits/fcntl2.h: Likewise.
42039 * io/fcntl.h: Likewise.
42040 * io/ftw.h: Likewise.
42041 * io/sys/poll.h: Likewise.
42042 * io/sys/stat.h: Likewise.
42043 * io/sys/statfs.h: Likewise.
42044 * io/sys/statvfs.h: Likewise.
42045 * io/utime.h: Likewise.
42046 * libio/bits/stdio.h: Likewise.
42047 * libio/bits/stdio2.h: Likewise.
42048 * libio/libio.h: Likewise.
42049 * libio/libioP.h: Likewise.
42050 * libio/stdio.h: Likewise.
42051 * locale/lc-ctype.c: Likewise.
42052 * locale/locale.h: Likewise.
42053 * login/utmp.h: Likewise.
42054 * malloc/arena.c: Likewise.
42055 * malloc/malloc.c: Likewise.
42056 * malloc/malloc.h: Likewise.
42057 * malloc/mcheck.c: Likewise.
42058 * malloc/mtrace.c: Likewise.
42059 * math/bits/mathcalls.h: Likewise.
42060 * math/fenv.h: Likewise.
42061 * math/math_private.h: Likewise.
42062 * misc/bits/error.h: Likewise.
42063 * misc/bits/syslog.h: Likewise.
42064 * misc/err.h: Likewise.
42065 * misc/error.h: Likewise.
42066 * misc/fstab.h: Likewise.
42067 * misc/mntent.h: Likewise.
42068 * misc/regexp.h: Likewise.
42069 * misc/search.h: Likewise.
42070 * misc/sgtty.h: Likewise.
42071 * misc/sys/mman.h: Likewise.
42072 * misc/sys/syslog.h: Likewise.
42073 * misc/sys/uio.h: Likewise.
42074 * misc/sys/xattr.h: Likewise.
42075 * misc/ttyent.h: Likewise.
42076 * nis/rpcsvc/ypclnt.h: Likewise.
42077 * nss/nss.h: Likewise.
42078 * posix/bits/unistd.h: Likewise.
42079 * posix/fnmatch.h: Likewise.
42080 * posix/glob.h: Likewise.
42081 * posix/sched.h: Likewise.
42082 * posix/spawn.h: Likewise.
42083 * posix/sys/wait.h: Likewise.
42084 * posix/unistd.h: Likewise.
42085 * posix/wordexp.h: Likewise.
42086 * pwd/pwd.h: Likewise.
42087 * resolv/netdb.h: Likewise.
42088 * resource/sys/resource.h: Likewise.
42089 * rt/aio.h: Likewise.
42090 * rt/bits/mqueue2.h: Likewise.
42091 * rt/mqueue.h: Likewise.
42092 * shadow/shadow.h: Likewise.
42093 * signal/signal.h: Likewise.
42094 * socket/send.c: Likewise.
42095 * socket/sendto.c: Likewise.
42096 * socket/sys/socket.h: Likewise.
42097 * stdio-common/printf.h: Likewise.
42098 * stdlib/bits/stdlib.h: Likewise.
42099 * stdlib/fmtmsg.h: Likewise.
42100 * stdlib/monetary.h: Likewise.
42101 * stdlib/stdlib.h: Likewise.
42102 * stdlib/ucontext.h: Likewise.
42103 * streams/stropts.h: Likewise.
42104 * string/argz.h: Likewise.
42105 * string/bits/string2.h: Likewise.
42106 * string/string.h: Likewise.
42107 * string/strings.h: Likewise.
42108 * sunrpc/rpc/auth.h: Likewise.
42109 * sunrpc/rpc/auth_des.h: Likewise.
42110 * sunrpc/rpc/clnt.h: Likewise.
42111 * sunrpc/rpc/netdb.h: Likewise.
42112 * sunrpc/rpc/pmap_clnt.h: Likewise.
42113 * sunrpc/rpc/xdr.h: Likewise.
42114 * sysdeps/generic/inttypes.h: Likewise.
42115 * sysdeps/generic/net/if.h: Likewise.
42116 * sysdeps/generic/sys/swap.h: Likewise.
42117 * sysdeps/gnu/net/if.h: Likewise.
42118 * sysdeps/gnu/utmpx.h: Likewise.
42119 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
42120 * sysdeps/i386/i486/bits/string.h: Likewise.
42121 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
42122 * sysdeps/s390/bits/string.h: Likewise.
42123 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
42124 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
42125 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
42126 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
42127 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
42128 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
42129 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
42130 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
42131 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
42132 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
42133 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
42134 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
42135 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
42136 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
42137 * sysdeps/unix/sysv/linux/readv.c: Likewise.
42138 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
42139 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
42140 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
42141 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
42142 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
42143 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
42144 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
42145 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
42146 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
42147 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
42148 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
42149 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
42150 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
42151 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
42152 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
42153 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
42154 * sysvipc/sys/ipc.h: Likewise.
42155 * sysvipc/sys/msg.h: Likewise.
42156 * sysvipc/sys/sem.h: Likewise.
42157 * sysvipc/sys/shm.h: Likewise.
42158 * termios/termios.h: Likewise.
42159 * time/sys/time.h: Likewise.
42160 * time/time.h: Likewise.
42161 * wcsmbs/bits/wchar2.h: Likewise.
42162 * wcsmbs/uchar.h: Likewise.
42163 * wcsmbs/wchar.h: Likewise.
42164 * wctype/wctype.h: Likewise.
42167 * Makeconfig: Remove all but ELF support including AIX support.
42168 * Makerules: Likewise.
42169 * config.h.in: Likewise.
42170 * config.make.in: Likewise.
42171 * configure: Likewise.
42172 * configure.in: Likewise.
42173 * csu/Makefile: Likewise.
42174 * csu/version.c: Likewise.
42175 * debug/Makefile: Likewise.
42176 * dlfcn/Makefile: Likewise.
42177 * elf/Makefile: Likewise.
42178 * extra-lib.mk: Likewise.
42179 * iconv/Makefile: Likewise.
42180 * include/libc-symbols.h: Likewise.
42181 * include/shlib-compat.h: Likewise.
42182 * resolv/Makefile: Likewise.
42183 * resolv/res_libc.c: Likewise.
42184 * rt/Makefile: Likewise.
42185 * sysdeps/i386/asm-syntax.h: Likewise.
42186 * sysdeps/i386/sysdep.h: Likewise.
42187 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
42188 * sysdeps/mach/sysdep.h: Likewise.
42189 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
42190 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
42191 * sysdeps/s390/asm-syntax.h: Likewise.
42192 * sysdeps/s390/s390-32/sysdep.h: Likewise.
42193 * sysdeps/s390/s390-64/sysdep.h: Likewise.
42194 * sysdeps/sh/sysdep.h: Likewise.
42195 * sysdeps/unix/sparc/sysdep.h: Likewise.
42196 * sysdeps/wordsize-32/divdi3.c: Likewise.
42197 * sysdeps/x86_64/sysdep.h: Likewise.
42199 * argp/Versions: Remove _argp_unlock_xxx.
42202 * abilist/ld.abilist: Update. Adjust for removal of tls option.
42203 * abilist/libBrokenLocale.abilist: Likewise.
42204 * abilist/libanl.abilist: Likewise.
42205 * abilist/libc.abilist: Likewise.
42206 * abilist/libcrypt.abilist: Likewise.
42207 * abilist/libdl.abilist: Likewise.
42208 * abilist/libm.abilist: Likewise.
42209 * abilist/libnsl.abilist: Likewise.
42210 * abilist/libpthread.abilist: Likewise.
42211 * abilist/libresolv.abilist: Likewise.
42212 * abilist/librt.abilist: Likewise.
42213 * abilist/libthread_db.abilist: Likewise.
42214 * abilist/libutil.abilist: Likewise.
42215 * abilist/libnss_db.abilist: New file.
42217 * scripts/abilist.awk: Add support for indirect functions.
42219 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
42221 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
42223 * shlib-versions: Remove entries for ports architectures.
42225 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
42227 * elf/stackguard-macros.h: Remove support for IA-64.
42228 * elf/tst-auditmod1.c: Likewise.
42229 * sysdeps/generic/ldsodefs.h: Likewise.
42231 * sysdeps/unix/sysv/linux/configure.in: Ports should define
42232 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
42236 * configure.in: Remove --enable-omitfp support.
42238 * config.make.in: Likewise.
42239 * Makeconfig: Likewise.
42240 * manual/install.texi: Likewise.
42242 In case anyone cares, the IA-64 architecture could move to ports.
42243 * sysdeps/ia64/*: Removed.
42244 * sysdeps/unix/sysv/linux/ia64/*: Removed.
42245 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
42248 * configure.in: Remove entries for unsupported architectures.
42251 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
42252 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
42254 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
42255 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
42256 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
42257 fall back to using wcrtomb.
42258 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
42259 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
42261 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
42262 * wcsmbs/tst-c16c32-1.c: New file.
42264 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
42267 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
42269 * elf/tst-unique3.cc: Add explicit declaration of gets.
42270 * elf/tst-unique3lib.cc: Likewise.
42271 * elf/tst-unique3lib2.cc: Likewise.
42272 * elf/tst-unique4.cc: Likewise.
42274 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
42276 2012-01-06 Joseph Myers <joseph@codesourcery.com>
42279 * assert/assert.h (static_assert): Don't define for C++.
42280 * libio/stdio.h (gets): Do declare for C++ <= C++11.
42281 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
42283 2012-01-03 Ulrich Drepper <drepper@gmail.com>
42285 * iconv/loop.c (single loop): Fix assertion in storing of
42288 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
42290 2012-01-01 Ulrich Drepper <drepper@gmail.com>
42292 * posix/getconf.c: Update copyright year.
42293 * nss/getent.c: Likewise.
42294 * nss/makedb.c: Likewise.
42295 * iconv/iconvconfig.c: Likewise.
42296 * iconv/iconv_prog.c: Likewise.
42297 * elf/ldconfig.c: Likewise.
42298 * elf/pldd.c: Likewise.
42299 * elf/sotruss.ksh: Likewise.
42300 * catgets/gencat.c: Likewise.
42301 * csu/version.c: Likewise.
42302 * elf/ldd.bash.in: Likewise.
42303 * elf/sprof.c (print_version): Likewise.
42304 * locale/programs/locale.c: Likewise.
42305 * locale/programs/localedef.c: Likewise.
42306 * login/programs/pt_chown.c: Likewise.
42307 * nscd/nscd.c (print_version): Likewise.
42308 * debug/xtrace.sh: Likewise.
42309 * malloc/memusage.sh: Likewise.
42310 * malloc/mtrace.pl: Likewise.
42311 * debug/catchsegv.sh: Likewise.
42313 2011-12-30 Jakub Jelinek <jakub@redhat.com>
42315 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
42318 2011-12-24 Ulrich Drepper <drepper@gmail.com>
42321 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
42322 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
42324 * iconv/gconv_int.h: Likewise.
42325 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
42326 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
42327 from libc for GLIBC_2.16.
42328 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
42329 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
42330 * wcsmbs/uchar.h: Really define mbstate_t.
42331 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
42332 * wcsmbs/c16rtomb.c: New file.
42333 * wcsmbs/mbrtoc16.c: New file.
42334 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
42335 for C/POSIX locale.
42336 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
42337 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
42339 * wcsmbs/wchar.h: Add missing __restrict.
42341 2011-12-23 Ulrich Drepper <drepper@gmail.com>
42344 * time/Makefile (routines): Add timespec_get.
42345 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
42346 * time/time.h: Define TIME_UTC and declare timespec_get. Define
42347 timespec for ISO C11.
42348 * time/timespec_get.c: New file.
42349 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
42350 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
42353 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
42354 * stdlib/stdlib.h: Declare aligned_alloc.
42355 * Versions.def: Add GLIBC_2.16 for libc.
42356 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
42359 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
42362 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
42366 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
42369 * assert/assert.h (static_assert): Define.
42371 * version.h: Update for 2.16 development version.
42374 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
42377 * version.h (RELEASE): Bump for 2.15 release.
42378 * include/features.h (__GLIBC_MINOR__): Bump to 15.
42380 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
42381 Patch by Marek Polacek <mpolacek@redhat.com>.
42383 * bits/byteswap.h: Protect long long constants with __extension__.
42384 * sysdeps/i386/bits/byteswap.h: Likewise.
42385 * sysdeps/ia64/bits/byteswap.h: Likewise.
42386 * sysdeps/s390/bits/byteswap.h: Likewise.
42387 * sysdeps/x86_64/bits/byteswap.h: Likewise.
42389 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42392 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
42393 destination buffer.
42394 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
42396 2011-12-23 Marek Polacek <polacek@redhat.com>
42398 * elf/dl-addr.c (determine_info): Add inline keyword.
42399 * elf/tst-auditmod4b.c (check_avx): Likewise.
42400 * elf/tst-auditmod6b.c (check_avx): Likewise.
42401 * elf/tst-auditmod6c.c (check_avx): Likewise.
42402 * elf/tst-auditmod7b.c (check_avx): Likewise.
42404 2011-12-23 Ulrich Drepper <drepper@gmail.com>
42406 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
42409 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42412 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
42413 processing for last bytes.
42415 2011-08-06 Bruno Haible <bruno@clisp.org>
42418 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
42419 U+0385, not to U+1FEE.
42422 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
42423 entry for U+00A5 U+0301.
42425 2011-12-22 Ulrich Drepper <drepper@gmail.com>
42428 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
42429 buffer for the output is too small.
42431 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
42435 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
42436 SSE flags if possible.
42438 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42441 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
42442 processing for last bytes.
42444 2011-12-22 Joseph Myers <joseph@codesourcery.com>
42446 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
42447 (syscall-list-default-options, syscall-list-default-condition)
42448 (syscall-list-includes): Define.
42449 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
42450 list of ABIs and options and #if conditions for each ABI. Do not
42451 handle common syscalls between ABIs specially.
42452 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
42454 (syscall-list-variants, syscall-list-32bit-options)
42455 (syscall-list-32bit-condition, syscall-list-64bit-options)
42456 (syscall-list-64bit-condition): Define.
42457 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
42458 (syscall-list-variants, syscall-list-32bit-options)
42459 (syscall-list-32bit-condition, syscall-list-64bit-options)
42460 (syscall-list-64bit-condition): Define.
42461 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
42463 (syscall-list-variants, syscall-list-32bit-options)
42464 (syscall-list-32bit-condition, syscall-list-64bit-options)
42465 (syscall-list-64bit-condition): Define.
42466 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
42468 (syscall-list-variants, syscall-list-32bit-options)
42469 (syscall-list-32bit-condition, syscall-list-64bit-options)
42470 (syscall-list-64bit-condition): Define.
42472 2011-12-22 Ulrich Drepper <drepper@gmail.com>
42474 * locale/iso-639.def: Add brx entry.
42477 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
42478 Proposed by Mariusz_Cukr <marcukr@op.pl>.
42480 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
42481 __feraiseexcept_renamed.
42483 2011-12-21 Ulrich Drepper <drepper@gmail.com>
42486 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
42487 EPOLLET with unsigned values.
42488 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
42489 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
42491 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
42492 to large cancellation.
42493 * math/s_cacoshf.c: Likewise.
42494 * math/s_cacoshl.c: Likewise.
42496 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
42500 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
42501 * math/s_cacoshf.c: Likewise.
42502 * math/s_cacoshl.c: Likewise.
42504 2011-12-21 Ulrich Drepper <drepper@gmail.com>
42507 * iconv/gconv.h: Define __GCONV_SWAP.
42508 * iconvdata/unicode.c: The swap bit must be stored in __flags.
42509 * iconvdata/utf-16.c: Likewise.
42510 * iconvdata/utf-32.c: Likewise.
42512 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
42515 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
42516 numerator after shifting it by one limb.
42518 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
42520 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
42521 under [__USE_EXTERN_INLINES].
42523 2011-12-17 Ulrich Drepper <drepper@gmail.com>
42526 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
42528 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42530 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
42531 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
42533 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
42534 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
42535 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
42536 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
42537 for strncasecmp/strncasecmp_l compilation.
42538 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
42539 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
42541 2011-12-08 Marek Polacek <mpolacek@redhat.com>
42544 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
42547 2011-12-17 Ulrich Drepper <drepper@gmail.com>
42550 * time/tzfile.c (__tzfile_read): Check values from file header.
42552 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
42554 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
42555 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
42556 * powerpc/powerpc32/dl-start.S: Likewise.
42557 * powerpc/powerpc32/elf/start.S: Likewise.
42558 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
42559 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
42560 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
42561 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
42562 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
42563 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
42564 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
42565 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
42566 * powerpc/powerpc32/fpu/s_round.S: Likewise.
42567 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
42568 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
42569 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
42570 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
42571 * powerpc/powerpc32/memset.S: Likewise.
42572 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
42573 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
42574 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
42575 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
42576 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
42577 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
42578 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
42579 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
42580 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
42581 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
42582 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
42583 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
42584 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
42586 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42588 * math/libm-test.inc: Added more nearbyint tests.
42589 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
42590 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
42591 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
42592 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
42594 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
42596 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
42599 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42601 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
42602 Add wcscpy-ssse3 wcscpy-c.
42603 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
42604 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
42605 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
42606 * sysdeps/x86_64/wcschr.S: New file.
42607 * sysdeps/x86_64/wcsrchr.S: New file.
42608 * string/test-strcmp.c: Remove checking of wcscmp function for
42610 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
42611 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
42612 wcsrchr-sse2 wcsrchr-c.
42613 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
42614 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
42615 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
42616 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
42617 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
42618 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
42619 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
42620 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
42621 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
42622 * wcsmbc/wcschr.c (WCSCHR): New macro.
42624 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42626 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
42627 * wcsmbs/test-wcsrchr.c: New file.
42628 * string/test-strrchr.c: Add wcsrchr support.
42630 * wcsmbs/test-wcscpy.c: New file.
42631 * string/test-strcpy.c: Add wcscpy support.
42634 2011-12-10 Ulrich Drepper <drepper@gmail.com>
42636 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
42639 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
42642 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
42644 2011-12-04 Ulrich Drepper <drepper@gmail.com>
42646 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
42647 Minor optimizations.
42649 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
42650 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
42651 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
42653 2011-12-03 Ulrich Drepper <drepper@gmail.com>
42655 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
42656 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
42657 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
42658 for gcc to avoid warnings.
42659 * inet/Makefile (tests): Add tst-checks.
42660 * inet/tst-checks.c: New file.
42662 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
42665 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
42668 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
42669 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
42671 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
42673 2011-12-02 Ulrich Drepper <drepper@gmail.com>
42675 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
42678 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
42680 2011-11-29 Joseph Myers <joseph@codesourcery.com>
42682 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
42683 conditional on GCC version.
42684 (__arch_compare_and_exchange_val_8_acq)
42685 (__arch_compare_and_exchange_val_16_acq)
42686 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
42687 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
42688 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
42690 2011-12-02 Joseph Myers <joseph@codesourcery.com>
42692 * sysdeps/sh/backtrace.c: New file.
42694 2011-12-02 Andreas Schwab <schwab@redhat.com>
42696 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
42699 2011-12-01 Andreas Schwab <schwab@redhat.com>
42701 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
42702 falling back to utime.
42704 2011-11-30 Andreas Schwab <schwab@redhat.com>
42706 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
42707 expectations for float.
42709 2011-11-29 Andreas Schwab <schwab@redhat.com>
42711 * locale/weight.h (findidx): Add parameter len.
42712 * locale/weightwc.h (findidx): Likewise.
42713 * posix/fnmatch_loop.c (FCT): Adjust caller.
42714 * posix/regcomp.c (build_equiv_class): Likewise.
42715 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
42716 * posix/regexec.c (check_node_accept_bytes): Likewise.
42717 * string/strcoll_l.c (STRCOLL): Likewise.
42718 * string/strxfrm_l.c (STRXFRM): Likewise.
42720 2011-11-17 Ulrich Drepper <drepper@gmail.com>
42722 * Makefile.in: Remove CVSOPT handling.
42723 * configure.in: Remove use of AC_REVISION.
42724 * iconvdata/Makefile (distribute): No need to filter out CVS.
42725 * scripts/list-sources.sh: Remove CVS, subversion and monotone
42728 2011-11-16 Andreas Schwab <schwab@redhat.com>
42730 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
42731 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
42732 [USE_AS_STRNCASECMP_L]: Likewise.
42733 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
42734 NO_TLS_DIRECT_SEG_REFS.
42735 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
42736 Fix argument offsets for non-PIC.
42737 [USE_AS_STRNCASECMP_L]: Likewise.
42738 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
42739 NO_TLS_DIRECT_SEG_REFS.
42741 2011-11-15 Ulrich Drepper <drepper@gmail.com>
42743 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
42745 * locale/loadlocale.c (_nl_load_locale): Likewise.
42747 2011-11-15 Andreas Schwab <schwab@redhat.com>
42749 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
42750 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
42751 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
42752 (SYSCALL_GETTIME): Set errno on error.
42754 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
42755 count references to noai6ai_cached.
42757 2011-11-15 Ulrich Drepper <drepper@gmail.com>
42759 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
42761 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
42762 FD_CLOEXEC for /proc/self/maps.
42764 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
42765 FD_CLOEXEC for /proc/meminfo.
42767 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
42770 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
42771 FD_CLOEXEC for given file.
42773 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
42775 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
42776 FD_CLOEXEC for /etc/hosts.
42777 (_gethtent): Likewise.
42779 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
42781 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
42782 cancellation and set FD_CLOEXEC for /etc/netgroup.
42784 * nss/nss_files/files-key.c (search): Don't allow cancellation when
42785 reading /etc/publickey.
42787 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
42788 allow cancellation when reading /etc/group.
42790 * nss/nss_files/files-alias.c (internal_setent): Don't allow
42792 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
42794 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
42795 when using data file.
42797 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
42799 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
42800 (write_nis_obj): Use "c" and "e" in fopen.
42802 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
42804 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
42806 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
42808 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
42810 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
42813 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
42815 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
42817 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
42819 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
42820 file parsing and set FD_CLOEXEC.
42822 2011-11-14 Ulrich Drepper <drepper@gmail.com>
42824 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
42826 2011-11-14 Andreas Schwab <schwab@redhat.com>
42828 * malloc/arena.c (arena_get2): Don't call reused_arena when
42829 _int_new_arena failed.
42831 2011-11-14 Ulrich Drepper <drepper@gmail.com>
42833 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
42834 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
42835 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
42836 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
42837 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
42838 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
42839 to compile strcasecmp and strncasecmp.
42840 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
42841 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
42843 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
42845 2011-11-13 Ulrich Drepper <drepper@gmail.com>
42847 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
42848 locale-defines.sym to gen-as-const-headers.
42849 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
42850 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
42851 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
42852 to compile strcasecmp and strncasecmp.
42853 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
42854 strcasecmp_l and strncasecmp_l.
42855 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
42856 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
42857 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
42858 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
42859 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
42860 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
42861 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
42862 * sysdeps/i386/i686/multiarch/strncase.S: New file.
42863 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
42864 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
42865 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
42867 2011-11-12 Ulrich Drepper <drepper@gmail.com>
42869 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
42870 result of SYSDEP_GETTIME_CPU to retval.
42871 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
42872 parameter list to macro. Remove trailing semicolon. Adjust users.
42874 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
42877 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
42879 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
42881 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
42882 from unused variable.
42884 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
42886 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
42889 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
42892 * sunrpc/rpc_prot.c (rejected): Fix case value.
42894 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
42895 unsigned long long int to avoid warnings in shift.
42897 * posix/regex_internal.c (re_string_reconstruct): Actually use result
42899 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
42902 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
42903 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
42904 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
42906 * nis/nis_table.c (nis_list): Use variable of correct type for
42907 result of __follow_path call.
42909 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42911 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
42912 of math functions ceil, trunc, floor, round, and sqrt, when
42913 avaliable on the platform.
42914 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
42916 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
42917 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
42918 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
42920 2011-10-30 Marek Polacek <mpolacek@redhat.com>
42922 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
42923 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
42925 2011-11-11 Roland McGrath <roland@hack.frob.com>
42927 * include/unistd.h: Fix __readlink return type.
42928 Reported by Chris Metcalf <cmetcalf@tilera.com>.
42930 2011-11-11 Ulrich Drepper <drepper@gmail.com>
42932 * stdlib/ucontext.h: Undo last change for makecontext.
42934 2011-11-11 Andreas Schwab <schwab@redhat.com>
42936 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
42938 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
42939 * setjmp/setjmp.h: Mark functions as non-leaf.
42940 * setjmp/bits/setjmp2.h: Likewise.
42941 * stdlib/ucontext.h: Likewise.
42943 2011-11-10 Andreas Schwab <schwab@redhat.com>
42945 * malloc/arena.c (_int_new_arena): Don't increment narenas.
42946 (reused_arena): Don't check arena limit.
42947 (arena_get2): Atomically check arena limit.
42949 2011-11-08 Ulrich Drepper <drepper@gmail.com>
42951 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
42952 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
42954 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
42957 2011-11-07 Andreas Schwab <schwab@redhat.com>
42959 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
42960 handler when locking.
42962 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
42963 Fix size of allocated buffer.
42965 2011-11-04 Andreas Schwab <schwab@redhat.com>
42968 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
42969 declarations for long double functions.
42970 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
42972 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
42974 2011-11-03 Andreas Schwab <schwab@redhat.com>
42976 * nscd/nscd.c (main): Don't start AVC thread until credentials are
42979 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
42982 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
42984 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
42986 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
42988 * include/alloca.h (stackinfo_alloca_round): Define.
42989 (extend_alloca): Use it.
42990 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
42991 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
42994 * scripts/check-local-headers.sh: Ignore libaudit.h.
42996 * nscd/Makefile (extra-objs): Make recursively expanded.
42998 2011-11-01 Ulrich Drepper <drepper@gmail.com>
43000 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
43001 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
43003 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
43004 * posix/tst-rfc3484-2.c: Likewise.
43005 * posix/tst-rfc3484-3.c: Likewise.
43007 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
43009 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
43011 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
43012 process_vm_writev from libc using GLIBC_2.15 version.
43014 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
43016 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
43018 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
43021 2011-10-31 Ulrich Drepper <drepper@gmail.com>
43024 * nss/getent.c (initgroups_keys): Show error message in case no group
43027 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
43028 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
43029 __bump_nl_timestamp.
43030 * nscd/connections (nscd_init): When host database is served open
43031 netlink socket and request notification about configuration changes.
43032 (main_loop_poll): Track netlink file descriptor and bump timestamp
43033 in case data becomes available.
43034 (main_loop_epoll): Likewise.
43035 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
43036 (database_pers_head): Add extra_data fileds.
43037 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
43038 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
43039 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
43041 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
43042 in6ai data, call __free_in6ai.
43043 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
43044 Add -DHAVE_NETLINK.
43045 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
43046 interface information. Reuse previous data if netlink timestamp
43048 (__bump_nl_timestamp): New function.
43049 (__free_in6ai): New function.
43051 2011-10-30 Ulrich Drepper <drepper@gmail.com>
43053 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
43054 close_not_cancel_no_status here.
43055 (__check_pf): Reorganize code a bit to not call close twice if OOM.
43057 2011-10-29 Ulrich Drepper <drepper@gmail.com>
43060 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
43063 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
43064 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
43065 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
43067 2011-07-03 Andreas Jaeger <aj@suse.de>
43070 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
43071 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
43072 * math/libm-test.inc (sin_test): Add test case.
43074 2011-10-29 Ulrich Drepper <drepper@gmail.com>
43077 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
43078 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
43080 * elf/chroot_canon.c (chroot_canon): Cleanups.
43082 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
43085 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
43086 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
43088 * string/test-strchr.c: Make usable for strchrnul testing.
43089 * string/test-strchrnul.c: New file.
43090 * string/Makefile (strop-tests): Add strchrnul.
43092 * po/it.po: Update from translation team.
43093 * po/es.po: Likewise.
43095 2011-10-28 Ulrich Drepper <drepper@gmail.com>
43097 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
43098 the three constants needed as parameters. Drop the others.
43099 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
43100 __m128i_strloadu_tolower.
43101 Create and initialize variable zero and use it in all the places
43102 where _mm_setzero_si128 was used.
43104 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
43105 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
43106 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
43107 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
43109 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
43110 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
43111 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
43112 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
43113 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
43114 __mpranred, __mptan.
43115 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
43116 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
43117 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
43118 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
43119 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
43120 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
43121 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
43122 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
43123 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
43125 2011-10-28 Andreas Schwab <schwab@redhat.com>
43127 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
43128 redefine if SHARED.
43129 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
43131 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
43132 wide char related routines to wcsmbs subdir.
43134 2011-10-27 Andreas Schwab <schwab@redhat.com>
43137 * misc/sys/cdefs.h (__THROWNL): Define.
43138 * posix/unistd.h: Use __THREADNL instead of __THREAD
43139 for memory synchronization functions.
43141 2011-10-26 Roland McGrath <roland@hack.frob.com>
43144 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
43146 * manual/stdio.texi (Obstack Streams): Node removed.
43148 2011-10-26 Andreas Schwab <schwab@redhat.com>
43150 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
43151 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
43152 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
43154 * math/math_private.h (math_force_eval): Allow non-addressable
43156 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
43158 2011-10-25 Ulrich Drepper <drepper@gmail.com>
43160 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
43161 file is not needed.
43163 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
43164 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
43165 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
43166 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
43167 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
43168 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
43169 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
43170 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
43172 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
43173 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
43174 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
43175 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
43176 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
43177 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
43178 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
43179 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
43180 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
43181 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
43182 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
43183 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
43184 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
43185 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
43186 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
43187 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
43188 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
43189 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
43190 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
43192 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
43193 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
43195 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
43196 place. Use VEX encoding when compiling for AVX.
43198 2011-10-25 Andreas Schwab <schwab@redhat.com>
43200 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
43201 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
43203 * string/test-strchr.c (do_test): Don't generate NUL bytes.
43205 2011-10-25 Ulrich Drepper <drepper@gmail.com>
43207 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
43208 useless if() expression.
43209 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
43210 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
43211 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
43212 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
43213 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
43214 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
43215 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
43216 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
43217 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
43218 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
43219 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
43220 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
43221 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
43222 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
43223 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
43224 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
43225 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
43226 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
43227 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
43229 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
43231 2011-10-25 Andreas Schwab <schwab@redhat.com>
43233 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
43235 * elf/dl-fini.c (_dl_sort_fini): Likewise.
43237 2011-10-25 Ulrich Drepper <drepper@gmail.com>
43239 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
43240 .text section. Avoid duplicate constants.
43241 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
43242 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43243 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
43244 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43245 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
43246 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43247 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43248 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43249 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
43250 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
43251 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
43252 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
43253 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
43254 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
43255 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
43256 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
43257 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
43258 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
43259 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
43260 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
43261 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
43262 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
43263 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
43264 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
43265 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
43266 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
43267 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
43268 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
43269 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
43270 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
43271 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
43272 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
43273 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
43274 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
43275 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
43276 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
43277 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
43278 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
43279 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
43280 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
43281 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
43282 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
43283 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
43284 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
43285 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
43287 2011-10-24 Ulrich Drepper <drepper@gmail.com>
43289 * sysdeps/x86_64/dla.h: Move to ...
43290 * sysdeps/x86_64/fpu/dla.h: ...here.
43291 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
43292 situations. Use __builtin_fma only for gcc 4.6 and up.
43294 * config.make.in: Add have-mfma4 entry.
43295 * configure.in: Substitute libc_cv_cc_fma4.
43296 * math/Makefile (dbl-only-routines): Add sincostab.
43297 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
43298 Use __sincostab not sincos.
43299 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
43301 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
43302 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43303 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43304 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
43306 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
43307 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
43308 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
43309 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
43311 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
43312 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
43314 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
43315 define aliases when function name is a macro.
43316 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
43317 sysdeps/ieee754/dbl-64/sincos.tbl.
43318 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
43319 fma4-enabled routines.
43320 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
43321 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
43322 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
43323 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
43324 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
43325 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
43326 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
43327 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
43328 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
43329 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
43330 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
43331 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
43332 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
43333 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
43334 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
43335 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
43336 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
43337 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
43338 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
43339 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
43340 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
43341 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
43342 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
43343 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
43344 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
43345 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
43346 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
43347 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
43348 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
43349 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
43351 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
43353 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43354 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43355 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43356 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43357 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43358 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43359 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
43360 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
43362 2011-10-24 Andreas Schwab <schwab@redhat.com>
43364 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
43366 2011-10-23 Ulrich Drepper <drepper@gmail.com>
43368 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
43370 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
43372 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
43374 * string/strnlen.c: Don't define STRNLEN, reverse logic.
43375 Remove unused variable magic_bits.
43376 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
43378 * string/strnlen.c: Define and use STRNLEN macro.
43379 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
43380 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
43381 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
43382 * wcsmbs/wcslen.c: Define and use WCSLEN.
43383 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
43384 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
43385 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
43386 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
43387 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
43388 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
43389 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
43391 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43393 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43394 strnlen-sse2-no-bsf.
43395 Rename strlen-no-bsf to strlen-sse2-no-bsf.
43396 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
43397 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
43398 Add strnlen support.
43399 (USE_AS_STRNLEN): New macro.
43400 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
43401 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
43402 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
43403 * sysdeps/x86_64/wcslen.S: New file.
43405 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
43407 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
43408 XMM-moves are used for copying on small sizes.
43410 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43412 * wcsmbs/Makefile (strop-tests): Add wcschr.
43413 * wcsmbs/test-wcschr.c: New file.
43414 * string/test-strchr.c: Update.
43415 Add wcschr support.
43418 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43420 * wcsmbs/Makefile (strop-tests): Add wcslen.
43421 * wcsmbs/test-wcslen.c: New file.
43422 * string/test-strlen.c: Update.
43423 Add wcslen support.
43426 2011-10-23 Ulrich Drepper <drepper@gmail.com>
43428 * po/it.po: Update from translation team.
43430 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43432 * sysdeps/x86_64/wcscmp.S: Update.
43433 Fix wrong comparison semantics.
43434 wcscmp shall use signed comparison not unsigned.
43435 Don't use substraction to avoid overflow bug.
43436 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
43437 * wcsmbc/wcscmp.c: Likewise.
43438 * string/test-strcmp.c: Likewise.
43439 Add new tests to check cases with negative values.
43441 2011-10-23 Ulrich Drepper <drepper@gmail.com>
43443 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
43444 * sysdeps/x86_64/dla.h: ...here. New file.
43445 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
43446 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43447 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43448 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43449 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43450 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
43451 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43452 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
43453 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
43455 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
43457 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
43458 __ynl_finite aliases.
43460 2011-10-22 Ulrich Drepper <drepper@gmail.com>
43462 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43464 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
43466 [DLA_FMA] (EMULV): Use DLA_FMA.
43467 [DLA_FMA] (MUL12): Use EMULV.
43468 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
43469 that are not needed.
43470 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43471 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43472 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43473 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43474 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43475 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
43476 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
43478 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
43480 * math/s_nan.c: Undef __nan.
43481 * math/s_nanf.c: Undef __nanf.
43482 * math/s_nanl.c: Undef __nanl.
43483 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
43486 2011-10-22 Ulrich Drepper <drepper@gmail.com>
43488 * math/s_catan.c: Add branch predictions.
43489 * math/s_catanf.c: Likewise.
43490 * math/s_catanh.c: Likewise.
43491 * math/s_catanhf.c: Likewise.
43492 * math/s_catanhl.c: Likewise.
43493 * math/s_catanl.c: Likewise.
43494 * math/s_cexp.c: Likewise.
43495 * math/s_cexpf.c: Likewise.
43496 * math/s_cexpl.c: Likewise.
43497 * math/s_clog.c: Likewise.
43498 * math/s_clog10.c: Likewise.
43499 * math/s_clog10f.c: Likewise.
43500 * math/s_clog10l.c: Likewise.
43501 * math/s_clogf.c: Likewise.
43502 * math/s_clogl.c: Likewise.
43503 * math/s_csqrt.c: Likewise.
43504 * math/s_csqrtf.c: Likewise.
43505 * math/s_csqrtl.c: Likewise.
43506 * math/s_ctanf.c: Likewise.
43507 * math/s_ctanh.c: Likewise.
43508 * math/s_ctanhf.c: Likewise.
43509 * math/s_ctanhl.c: Likewise.
43510 * math/s_ctanl.c: Likewise.
43512 * math/math_private.h: Define __nan, __nanf, __nanl.
43513 * math/s_cacosh.c: Include <math_private.h>.
43514 * math/s_cacoshl.c: Likewise.
43515 * math/s_casinh.c: Likewise.
43516 * math/s_casinhf.c: Likewise.
43517 * math/s_casinhl.c: Likewise.
43518 * math/s_ccos.c: Rely entire on ccosh.
43519 * math/s_ccosf.c: Rely entire on ccoshf.
43520 * math/s_ccosl.c: Rely entirely on ccoshl.
43521 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
43522 Remove tests for FE_INVALID.
43523 * math/s_ccoshf.c: Likewise.
43524 * math/s_ccoshl.c: Likewise.
43525 * math/s_csin.c: Likewise.
43526 * math/s_csinf.c: Likewise.
43527 * math/s_csinh.c Likewise.
43528 * math/s_csinhf.c: Likewise.
43529 * math/s_csinhl.c: Likewise.
43530 * math/s_csinl.c: Likewise.
43531 * math/s_ctan.c: Likewise.
43532 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
43533 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
43534 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
43536 2011-10-21 Ulrich Drepper <drepper@gmail.com>
43538 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
43539 compilation problems.
43541 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
43544 2011-10-20 Ulrich Drepper <drepper@gmail.com>
43546 * sysdeps/i386/configure.in: Test for -mfma4 option.
43547 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
43548 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
43549 COMMON_CPUID_INDEX_80000001.
43550 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
43551 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
43552 use it if FMA3 is not supported.
43553 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
43555 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
43556 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
43558 2011-10-20 Andreas Schwab <schwab@redhat.com>
43561 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
43562 it would create a cycle with a link time dependency.
43564 2011-10-19 Ulrich Drepper <drepper@gmail.com>
43566 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
43568 * string/Makefile (strop-tests): Add rawmemchr.
43569 * string/test-rawmemchr.c: New file.
43571 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
43572 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
43573 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
43574 when compiling str{,n}casecmp and when AVX is available. Hook up
43575 new optimized code in initializers.
43577 2011-10-19 Andreas Schwab <schwab@redhat.com>
43579 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
43580 __feraiseexcept instead of feraiseexcept.
43582 2011-10-18 Ulrich Drepper <drepper@gmail.com>
43584 * math/math_private.h: Define defaults for libc_fetestexcept and
43586 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
43587 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
43588 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
43589 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
43590 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
43591 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
43592 libc_fetestexcept and libc_feupdateenv.
43594 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
43595 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
43596 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
43597 * sysdeps/x86_64/fpu/math_private.h: Define special version of
43598 libc_feholdexcept_setround.
43600 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
43601 Add s_nearbyint-c and s_nearbyintf-c.
43602 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
43603 nearbyintf inlines.
43604 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
43605 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
43606 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
43607 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
43609 * math/math_private.h: Define defaults for libc_fegetround,
43610 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
43611 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
43612 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
43613 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
43614 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
43615 standard functions.
43616 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
43617 Remove comments and hacks for old compiler versions.
43618 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
43619 libc_fegetround, libc_fesetround, libc_feholdexcept, and
43620 libc_feholdexceptl.
43622 2011-10-18 Andreas Schwab <schwab@redhat.com>
43624 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
43625 (__feraiseexcept_renamed): Add __NTH.
43626 (feraiseexcept): Add __NTH. Rename local variables to fix
43627 namespace violations.
43629 2011-10-17 Ulrich Drepper <drepper@gmail.com>
43631 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
43633 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
43635 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
43636 recently added interfaces.
43637 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
43639 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
43640 about macro parameter expansion.
43642 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
43643 __NO_MATH_INLINES is defined. Cleanups.
43645 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
43646 and __floorf is target has SSE4.1.
43647 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
43648 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
43649 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
43650 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
43652 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
43654 (floorf): Likewise.
43656 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
43658 2011-10-17 Andreas Schwab <schwab@redhat.com>
43660 * misc/sys/cdefs.h: Fix last change.
43662 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
43665 2011-10-16 Ulrich Drepper <drepper@gmail.com>
43667 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
43669 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
43670 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
43671 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
43672 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
43673 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
43674 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
43675 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
43676 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
43677 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
43678 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
43679 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
43680 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
43681 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
43682 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
43683 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
43684 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
43685 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
43686 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
43687 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
43688 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
43689 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
43690 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
43692 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
43693 ceil, ceilf, floor, floorf.
43695 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
43696 Perform IRELATIVE relocations last.
43698 * elf/do-rel.h: Add another parameter nrelative, replacing the
43699 local variable with the same name. Change name of the function
43700 to end in Rel or Rela (uppercase).
43701 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
43702 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
43703 elf_dynamic_do_##reloc function.
43705 2011-10-15 Ulrich Drepper <drepper@gmail.com>
43707 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
43708 is sufficient, at least on modern CPUs.
43710 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
43712 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
43713 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
43715 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
43717 * math/bits/math-finite.h: Add entries for exp.
43718 * math/e_expl.c: Add __*_finite alias.
43719 * sysdeps/i386/fpu/e_exp.S: Likewise.
43720 * sysdeps/i386/fpu/e_expf.S: Likewise.
43721 * sysdeps/i386/fpu/e_expl.c: Likewise.
43722 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
43723 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
43724 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
43725 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
43726 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
43727 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
43728 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
43730 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
43731 is sufficient, at least on modern CPUs.
43733 * ctype/ctype-info.c (__ctype_init): Define.
43734 * include/ctype.h (__ctype_init): Declare.
43735 (__ctype_b_loc): The variable is always initialized.
43736 (__ctype_toupper_loc): Likewise.
43737 (__ctype_tolower_loc): Likewise.
43738 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
43739 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
43741 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
43743 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
43745 * configure.in: Also look in $cxxmachine/include for C++ system
43748 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43750 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
43751 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
43752 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
43753 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
43754 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
43755 (USE_AS_WMEMCMP): New macro.
43757 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
43758 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
43759 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
43760 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
43761 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43762 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
43763 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
43764 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
43765 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
43766 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
43767 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
43768 (USE_AS_WMEMCMP): New macro.
43769 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
43770 * sysdeps/string/test-memcmp.c: Update.
43771 Fix simple_wmemcmp.
43773 * wcsmbs/wmemcmp.c: Update.
43774 (WMEMCMP): New macro.
43777 2011-10-12 Andreas Jaeger <aj@suse.de>
43780 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
43782 2011-10-15 Ulrich Drepper <drepper@gmail.com>
43784 * libio/iofwide.c (do_length): Avoid warning.
43786 * ctype/ctype.h (__isctype_f): Add missing __THROW.
43788 2011-10-14 Ulrich Drepper <drepper@gmail.com>
43790 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
43792 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
43793 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
43794 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
43795 * sysdeps/i386/i686/fpu/e_log.S: New file.
43796 * sysdeps/i386/i686/fpu/e_logf.S: New file.
43797 * sysdeps/i386/i686/fpu/e_logl.S: New file.
43799 * ctype/ctype.h: Add support for inlined isXXX functions when
43800 compiling C++ code.
43802 2011-10-14 Andreas Schwab <schwab@redhat.com>
43804 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
43806 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
43808 2011-10-13 Roland McGrath <roland@hack.frob.com>
43811 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
43813 2011-10-13 Andreas Schwab <schwab@redhat.com>
43815 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
43816 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
43819 * sysdeps/x86_64/memrchr.S: Check for zero size.
43821 * string/stratcliff.c: Add memrchr tests.
43823 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43825 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43826 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
43827 rawmemchr-sse2 rawmemchr-sse2-bsf.
43828 * sysdeps/i386/i686/multiarch/memchr.S: New file.
43829 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
43830 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
43831 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
43832 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
43833 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
43834 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
43835 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
43836 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
43837 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
43838 * string/memrchr.c (MEMRCHR): New macro.
43840 2011-10-12 Ulrich Drepper <drepper@gmail.com>
43842 Add integration with gcc's -ffinite-math-only and optimize wrapper
43844 * Versions.def: Define GLIBC_2.15 version for libm.
43845 * math/Makefile (headers): Add bits/math-finite.h.
43846 * math/bits/math-finite.h: New file.
43847 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
43848 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
43849 * math/e_acoshl.c: Add __*_finite alias.
43850 * math/e_acosl.c: Likewise.
43851 * math/e_asinl.c: Likewise.
43852 * math/e_atan2l.c: Likewise.
43853 * math/e_atanhl.c: Likewise.
43854 * math/e_coshl.c: Likewise.
43855 * math/e_exp10.c: Likewise.
43856 * math/e_exp10f.c: Likewise.
43857 * math/e_exp10l.c: Likewise.
43858 * math/e_exp2l.c: Likewise.
43859 * math/e_fmodl.c: Likewise.
43860 * math/e_gammal_r.c: Likewise.
43861 * math/e_hypotl.c: Likewise.
43862 * math/e_j0l.c: Likewise.
43863 * math/e_j1l.c: Likewise.
43864 * math/e_jnl.c: Likewise.
43865 * math/e_lgammal_r.c: Likewise.
43866 * math/e_log10l.c: Likewise.
43867 * math/e_log2l.c: Likewise.
43868 * math/e_logl.c: Likewise.
43869 * math/e_powl.c: Likewise.
43870 * math/e_sinhl.c: Likewise.
43871 * math/e_sqrtl.c: Likewise.
43872 * math/e_scalb.c: Completely rewritten and optimized.
43873 * math/e_scalbf.c: Likewise.
43874 * math/e_scalbl.c: Likewise.
43875 * math/w_acos.c: Likewise.
43876 * math/w_acosf.c: Likewise.
43877 * math/w_acosl.c: Likewise.
43878 * math/w_acosh.c: Likewise.
43879 * math/w_acoshf.c: Likewise.
43880 * math/w_acoshl.c: Likewise.
43881 * math/w_asin.c: Likewise.
43882 * math/w_asinf.c: Likewise.
43883 * math/w_asinl.c: Likewise.
43884 * math/w_atan2.c: Likewise.
43885 * math/w_atan2f.c: Likewise.
43886 * math/w_atan2l.c: Likewise.
43887 * math/w_atanh.c: Likewise.
43888 * math/w_atanhf.c: Likewise.
43889 * math/w_atanhl.c: Likewise.
43890 * math/w_exp10.c: Likewise.
43891 * math/w_exp10f.c: Likewise.
43892 * math/w_exp10l.c: Likewise.
43893 * math/w_fmod.c: Likewise.
43894 * math/w_fmodf.c: Likewise.
43895 * math/w_fmodl.c: Likewise.
43896 * math/w_j0.c: Likewise.
43897 * math/w_j0f.c: Likewise.
43898 * math/w_j0l.c: Likewise.
43899 * math/w_j1.c: Likewise.
43900 * math/w_j1f.c: Likewise.
43901 * math/w_j1l.c: Likewise.
43902 * math/w_jn.c: Likewise.
43903 * math/w_jnf.c: Likewise.
43904 * math/w_log.c: Likewise.
43905 * math/w_logf.c: Likewise.
43906 * math/w_logl.c: Likewise.
43907 * math/w_log10.c: Likewise.
43908 * math/w_log10f.c: Likewise.
43909 * math/w_log10l.c: Likewise.
43910 * math/w_log2.c: Likewise.
43911 * math/w_log2f.c: Likewise.
43912 * math/w_log2l.c: Likewise.
43913 * math/w_pow.c: Likewise.
43914 * math/w_powf.c: Likewise.
43915 * math/w_powl.c: Likewise.
43916 * math/w_remainder.c: Likewise.
43917 * math/w_remainderf.c: Likewise.
43918 * math/w_remainderl.c: Likewise.
43919 * math/w_scalb.c: Likewise.
43920 * math/w_scalbf.c: Likewise.
43921 * math/w_scalbl.c: Likewise.
43922 * math/w_sqrt.c: Likewise.
43923 * math/w_sqrtf.c: Likewise.
43924 * math/w_sqrtl.c: Likewise.
43925 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
43926 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
43928 * math/math_private.h: Declare __kernel_standard_f.
43929 * math/w_cosh.c: Remove cruft and optimize a bit.
43930 * math/w_coshf.c: Likewise.
43931 * math/w_coshl.c: Likewise.
43932 * math/w_exp2.c: Likewise.
43933 * math/w_exp2f.c: Likewise.
43934 * math/w_exp2l.c: Likewise.
43935 * math/w_hypot.c: Likewise.
43936 * math/w_hypotf.c: Likewise.
43937 * math/w_hypotl.c: Likewise.
43938 * math/w_lgamma.c: Likewise.
43939 * math/w_lgamma_r.c: Likewise.
43940 * math/w_lgammaf.c: Likewise.
43941 * math/w_lgammaf_r.c: Likewise.
43942 * math/w_lgammal.c: Likewise.
43943 * math/w_lgammal_r.c: Likewise.
43944 * math/w_sinh.c: Likewise.
43945 * math/w_sinhf.c: Likewise.
43946 * math/w_sinhl.c: Likewise.
43947 * math/w_tgamma.c: Likewise.
43948 * math/w_tgammaf.c: Likewise.
43949 * math/w_tgammal.c: Likewise.
43950 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
43951 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
43952 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
43953 Minor optimizations. Pretty printing. Remove cruft.
43954 * sysdeps/i386/fpu/e_acosf.S: Likewise.
43955 * sysdeps/i386/fpu/e_acosh.S: Likewise.
43956 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
43957 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
43958 * sysdeps/i386/fpu/e_acosl.c: Likewise.
43959 * sysdeps/i386/fpu/e_asin.S: Likewise.
43960 * sysdeps/i386/fpu/e_asinf.S: Likewise.
43961 * sysdeps/i386/fpu/e_atan2.S: Likewise.
43962 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
43963 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
43964 * sysdeps/i386/fpu/e_atanh.S: Likewise.
43965 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
43966 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
43967 * sysdeps/i386/fpu/e_exp10.S: Likewise.
43968 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
43969 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
43970 * sysdeps/i386/fpu/e_exp2.S: Likewise.
43971 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
43972 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
43973 * sysdeps/i386/fpu/e_fmod.S: Likewise.
43974 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
43975 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
43976 * sysdeps/i386/fpu/e_hypot.S: Likewise.
43977 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
43978 * sysdeps/i386/fpu/e_log.S: Likewise.
43979 * sysdeps/i386/fpu/e_log10.S: Likewise.
43980 * sysdeps/i386/fpu/e_log10f.S: Likewise.
43981 * sysdeps/i386/fpu/e_log10l.S: Likewise.
43982 * sysdeps/i386/fpu/e_log2.S: Likewise.
43983 * sysdeps/i386/fpu/e_log2f.S: Likewise.
43984 * sysdeps/i386/fpu/e_log2l.S: Likewise.
43985 * sysdeps/i386/fpu/e_logf.S: Likewise.
43986 * sysdeps/i386/fpu/e_logl.S: Likewise.
43987 * sysdeps/i386/fpu/e_pow.S: Likewise.
43988 * sysdeps/i386/fpu/e_powf.S: Likewise.
43989 * sysdeps/i386/fpu/e_powl.S: Likewise.
43990 * sysdeps/i386/fpu/e_remainder.S: Likewise.
43991 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
43992 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
43993 * sysdeps/i386/fpu/e_scalb.S: Likewise.
43994 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
43995 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
43996 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
43997 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
43998 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
43999 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
44000 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
44001 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44002 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
44003 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
44004 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
44005 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
44006 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
44007 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
44008 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
44009 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
44010 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
44011 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44012 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
44013 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
44014 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44015 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
44016 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
44017 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
44018 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44019 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
44020 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
44021 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
44022 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
44023 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
44024 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
44025 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
44026 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
44027 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
44028 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
44029 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
44030 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
44031 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
44032 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
44033 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
44034 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
44035 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
44036 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
44037 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
44038 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
44039 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
44040 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
44041 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
44042 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
44043 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
44044 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
44045 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
44046 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
44047 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
44048 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
44049 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
44050 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
44051 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
44052 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
44053 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
44054 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
44055 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
44056 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
44057 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
44058 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
44059 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
44060 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
44061 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
44062 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
44063 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
44064 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
44065 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
44066 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
44067 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
44068 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
44069 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
44070 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
44071 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
44072 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
44073 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
44074 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
44075 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
44076 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
44077 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
44078 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
44079 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
44080 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
44081 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
44082 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
44083 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
44084 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
44085 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
44086 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
44087 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
44088 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
44089 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
44090 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
44091 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
44092 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
44093 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
44094 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
44095 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
44096 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
44097 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
44098 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
44099 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
44100 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
44101 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
44102 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
44103 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
44104 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
44105 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
44106 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
44107 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
44108 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
44109 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
44110 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
44111 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
44112 (__isnanf): Likewise.
44113 (__isinf_ns): Likewise.
44114 (__isinf_nsf): Likewise.
44115 (__finite): Likewise.
44116 (__finitef): Likewise.
44117 (__ieee754_sqrt): Define as macro.
44118 (__ieee754_sqrtf): Define as macro.
44119 (__ieee754_sqrtl): Define as macro.
44120 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
44122 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
44123 __FINITE_MATH_ONLY__ consistent.
44124 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
44126 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
44128 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
44131 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
44133 2011-10-09 Ulrich Drepper <drepper@gmail.com>
44135 * po/ja.po: Update from translation team.
44137 2011-10-08 Roland McGrath <roland@hack.frob.com>
44139 * locale/programs/locarchive.c (prepare_address_space): New function.
44140 (create_archive, enlarge_archive, open_archive): Use it.
44142 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
44143 inside [SHARED], where it is used.
44145 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
44147 * nss/getent.c (netgroup_keys): Remove unused variable.
44148 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
44150 2011-10-08 Ulrich Drepper <drepper@gmail.com>
44152 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
44153 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
44154 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
44155 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
44156 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
44157 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
44158 * math/Makefile (libm-calls): Add s_isinf_ns.
44159 * math/divtc3.c: Use __isinf_nsl instead of isinf.
44160 * math/multc3.c: Likewise.
44161 * math/s_casin.c: Likewise.
44162 * math/s_casinf.c: Likewise.
44163 * math/s_casinl.c: Likewise.
44164 * math/s_ccos.c: Likewise.
44165 * math/s_ccosf.c: Likewise.
44166 * math/s_ccosl.c: Likewise.
44167 * math/s_ctan.c: Likewise.
44168 * math/s_ctanf.c: Likewise.
44169 * math/s_ctanh.c: Likewise.
44170 * math/s_ctanhf.c: Likewise.
44171 * math/s_ctanhl.c: Likewise.
44172 * math/s_ctanl.c: Likewise.
44173 * math/w_fmod.c: Likewise.
44174 * math/w_fmodf.c: Likewise.
44175 * math/w_fmodl.c: Likewise.
44176 * math/w_remainder.c: Likewise.
44177 * math/w_remainderf.c: Likewise.
44178 * math/w_remainderl.c: Likewise.
44179 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
44180 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
44181 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
44182 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
44183 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
44184 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
44185 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
44186 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
44188 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
44190 * stdio-common/printf_fphex.c: Likewise.
44191 * stdio-common/printf_size.c: Likewise.
44193 * math/e_exp10.c: Include math_private.h using <...> not "...".
44194 * math/e_exp10f.c: Likewise.
44195 * math/e_exp10l.c: Likewise.
44196 * math/e_exp2l.c: Likewise.
44197 * math/e_j0l.c: Likewise.
44198 * math/e_j1l.c: Likewise.
44199 * math/e_jnl.c: Likewise.
44200 * math/e_lgammal_r.c: Likewise.
44201 * math/e_rem_pio2l.c: Likewise.
44202 * math/e_scalb.c: Likewise.
44203 * math/e_scalbf.c: Likewise.
44204 * math/e_scalbl.c: Likewise.
44205 * math/k_cosl.c: Likewise.
44206 * math/k_sinl.c: Likewise.
44207 * math/k_tanl.c: Likewise.
44208 * math/s_cacoshf.c: Likewise.
44209 * math/s_catan.c: Likewise.
44210 * math/s_catanf.c: Likewise.
44211 * math/s_catanh.c: Likewise.
44212 * math/s_catanhf.c: Likewise.
44213 * math/s_catanhl.c: Likewise.
44214 * math/s_catanl.c: Likewise.
44215 * math/s_ccosh.c: Likewise.
44216 * math/s_ccoshf.c: Likewise.
44217 * math/s_ccoshl.c: Likewise.
44218 * math/s_cexp.c: Likewise.
44219 * math/s_cexpf.c: Likewise.
44220 * math/s_cexpl.c: Likewise.
44221 * math/s_clog.c: Likewise.
44222 * math/s_clog10.c: Likewise.
44223 * math/s_clog10f.c: Likewise.
44224 * math/s_clog10l.c: Likewise.
44225 * math/s_clogf.c: Likewise.
44226 * math/s_clogl.c: Likewise.
44227 * math/s_csin.c: Likewise.
44228 * math/s_csinf.c: Likewise.
44229 * math/s_csinh.c: Likewise.
44230 * math/s_csinhf.c: Likewise.
44231 * math/s_csinhl.c: Likewise.
44232 * math/s_csinl.c: Likewise.
44233 * math/s_csqrt.c: Likewise.
44234 * math/s_csqrtf.c: Likewise.
44235 * math/s_csqrtl.c: Likewise.
44236 * math/s_ctan.c: Likewise.
44237 * math/s_ctanf.c: Likewise.
44238 * math/s_ctanh.c: Likewise.
44239 * math/s_ctanhf.c: Likewise.
44240 * math/s_ctanhl.c: Likewise.
44241 * math/s_ctanl.c: Likewise.
44242 * math/s_ldexp.c: Likewise.
44243 * math/s_ldexpf.c: Likewise.
44244 * math/s_ldexpl.c: Likewise.
44245 * math/s_significand.c: Likewise.
44246 * math/s_significandf.c: Likewise.
44247 * math/s_significandl.c: Likewise.
44248 * math/w_acos.c: Likewise.
44249 * math/w_acosf.c: Likewise.
44250 * math/w_acosh.c: Likewise.
44251 * math/w_acoshf.c: Likewise.
44252 * math/w_acoshl.c: Likewise.
44253 * math/w_acosl.c: Likewise.
44254 * math/w_asin.c: Likewise.
44255 * math/w_asinf.c: Likewise.
44256 * math/w_asinl.c: Likewise.
44257 * math/w_atan2.c: Likewise.
44258 * math/w_atan2f.c: Likewise.
44259 * math/w_atan2l.c: Likewise.
44260 * math/w_atanh.c: Likewise.
44261 * math/w_atanhf.c: Likewise.
44262 * math/w_atanhl.c: Likewise.
44263 * math/w_cosh.c: Likewise.
44264 * math/w_coshf.c: Likewise.
44265 * math/w_coshl.c: Likewise.
44266 * math/w_dremf.c: Likewise.
44267 * math/w_exp10.c: Likewise.
44268 * math/w_exp10f.c: Likewise.
44269 * math/w_exp10l.c: Likewise.
44270 * math/w_exp2.c: Likewise.
44271 * math/w_exp2f.c: Likewise.
44272 * math/w_fmod.c: Likewise.
44273 * math/w_fmodf.c: Likewise.
44274 * math/w_fmodl.c: Likewise.
44275 * math/w_hypot.c: Likewise.
44276 * math/w_hypotf.c: Likewise.
44277 * math/w_hypotl.c: Likewise.
44278 * math/w_j0.c: Likewise.
44279 * math/w_j0f.c: Likewise.
44280 * math/w_j0l.c: Likewise.
44281 * math/w_j1.c: Likewise.
44282 * math/w_j1f.c: Likewise.
44283 * math/w_j1l.c: Likewise.
44284 * math/w_jn.c: Likewise.
44285 * math/w_jnf.c: Likewise.
44286 * math/w_jnl.c: Likewise.
44287 * math/w_lgamma.c: Likewise.
44288 * math/w_lgamma_r.c: Likewise.
44289 * math/w_lgammaf.c: Likewise.
44290 * math/w_lgammaf_r.c: Likewise.
44291 * math/w_lgammal.c: Likewise.
44292 * math/w_lgammal_r.c: Likewise.
44293 * math/w_log.c: Likewise.
44294 * math/w_log10.c: Likewise.
44295 * math/w_log10f.c: Likewise.
44296 * math/w_log10l.c: Likewise.
44297 * math/w_log2.c: Likewise.
44298 * math/w_log2f.c: Likewise.
44299 * math/w_log2l.c: Likewise.
44300 * math/w_logf.c: Likewise.
44301 * math/w_logl.c: Likewise.
44302 * math/w_pow.c: Likewise.
44303 * math/w_powf.c: Likewise.
44304 * math/w_powl.c: Likewise.
44305 * math/w_remainder.c: Likewise.
44306 * math/w_remainderf.c: Likewise.
44307 * math/w_remainderl.c: Likewise.
44308 * math/w_scalb.c: Likewise.
44309 * math/w_scalbf.c: Likewise.
44310 * math/w_scalbl.c: Likewise.
44311 * math/w_sinh.c: Likewise.
44312 * math/w_sinhf.c: Likewise.
44313 * math/w_sinhl.c: Likewise.
44314 * math/w_sqrt.c: Likewise.
44315 * math/w_sqrtf.c: Likewise.
44316 * math/w_sqrtl.c: Likewise.
44317 * math/w_tgamma.c: Likewise.
44318 * math/w_tgammaf.c: Likewise.
44319 * math/w_tgammal.c: Likewise.
44321 * po/ja.po: Update from translation team.
44323 2011-09-29 Andreas Jaeger <aj@suse.de>
44326 * sunrpc/netname.c (netname2host): Fix logic.
44330 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
44332 * math/w_remainder.c (__remainder): Likewise.
44333 * math/w_remainderf.c (__remainderf): Likewise.
44334 * math/libm-test.inc (remainder_test): Add test cases.
44336 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44338 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
44341 2011-10-07 Ulrich Drepper <drepper@gmail.com>
44343 * string/test-memcmp.c: Avoid unncessary #defines.
44344 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
44346 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44348 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
44349 Use new sse2 version for core i3 - i7 as it's faster
44350 than sse42 version.
44351 (bit_Prefer_PMINUB_for_stringop): New.
44352 * sysdeps/x86_64/rawmemchr.S: Update.
44353 Replace with faster SSE2 version.
44354 * sysdeps/x86_64/memrchr.S: New file.
44355 * sysdeps/x86_64/memchr.S: Update.
44356 Replace with faster SSE2 version.
44358 2011-09-12 Marek Polacek <mpolacek@redhat.com>
44360 * elf/dl-load.c (lose): Add cast to avoid warning.
44362 2011-10-07 Ulrich Drepper <drepper@gmail.com>
44364 * po/ca.po: Update from translation team.
44366 * inet/getnetgrent_r.c: Hook up nscd.
44367 * nscd/Makefile (routines): Add nscd_netgroup.
44368 (nscd-modules): Add netgroupcache.
44369 (CFLAGS-netgroupcache.c): Define.
44370 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
44371 (cache_search): Add const to second parameter.
44372 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
44374 (dbs): Add netgrdb entry.
44375 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
44376 (verify_persistent_db): Handle netgrdb.
44377 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
44378 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
44380 (netgroup_response_header): Define.
44381 (innetgroup_response_header): Define.
44382 (datahead): Add netgroup_response_header and innetgroup_response_header
44384 * nscd/nscd.conf: Add entries for netgroup cache.
44385 * nscd/nscd.h (dbtype): Add netgrdb.
44386 (_PATH_NSCD_NETGROUP_DB): Define.
44387 (netgroup_iov_disabled): Declare.
44388 (xmalloc, xcalloc, xrealloc): Move declarations here.
44389 (cache_search): Adjust prototype.
44390 Add netgroup-related prototypes.
44391 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
44392 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
44393 (__nscd_innetgr): Declare.
44394 * nscd/selinux.c (perms): Use access_vector_t as element type and
44395 add netgroup-related initializers.
44396 * nscd/netgroupcache.c: New file.
44397 * nscd/nscd_netgroup.c: New file.
44398 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
44399 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
44400 For four parameters use innetgr.
44401 * nss/nss_files/files-init.c: Add definition and callback for netgr.
44402 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
44403 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
44404 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
44406 * nscd/connections.c (register_traced_file): Don't register file
44407 for disabled databases.
44409 2011-10-06 Ulrich Drepper <drepper@gmail.com>
44411 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
44413 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
44414 from tree and freeing node.
44416 2011-09-25 Jiri Olsa <jolsa@redhat.com>
44418 * nss/nsswitch.c (__nss_database_lookup): Handle
44419 nss_parse_service_list out of memory case.
44421 2011-09-15 Jiri Olsa <jolsa@redhat.com>
44423 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
44424 out of memory case.
44426 2011-10-04 Andreas Schwab <schwab@redhat.com>
44428 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
44429 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
44431 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
44432 elf_machine_rela, elf_machine_lazy_rel.
44433 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
44434 (ELF_DYNAMIC_DO_REL): Likewise.
44435 (ELF_DYNAMIC_DO_RELA): Likewise.
44436 (ELF_DYNAMIC_RELOCATE): Likewise.
44437 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
44438 to ELF_DYNAMIC_DO_REL.
44439 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
44440 (dl_main): In trace mode always set __RTLD_NOIFUNC.
44441 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
44443 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
44444 skip_ifunc, don't call ifunc function if non-zero.
44445 (elf_machine_rela): Likewise.
44446 (elf_machine_lazy_rel): Likewise.
44447 (elf_machine_lazy_rela): Likewise.
44448 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
44449 (elf_machine_lazy_rel): Likewise.
44450 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
44452 (elf_machine_lazy_rel): Likewise.
44453 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
44455 (elf_machine_lazy_rel): Likewise.
44456 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
44457 (elf_machine_lazy_rel): Likewise.
44458 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
44459 (elf_machine_lazy_rel): Likewise.
44460 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
44461 (elf_machine_lazy_rel): Likewise.
44462 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
44463 (elf_machine_lazy_rel): Likewise.
44464 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
44465 (elf_machine_lazy_rel): Likewise.
44466 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
44467 (elf_machine_lazy_rel): Likewise.
44469 2011-09-28 Ulrich Drepper <drepper@gmail.com>
44471 * nss/nss_files/files-init.c (_nss_files_init): Use static
44472 initialization for all the *_traced_file variables.
44474 2011-09-28 Andreas Schwab <schwab@redhat.com>
44476 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
44478 2011-09-27 Roland McGrath <roland@hack.frob.com>
44481 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
44483 2011-09-27 Andreas Schwab <schwab@redhat.com>
44485 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
44486 Reread the line before reparsing it.
44488 2011-09-26 Andreas Schwab <schwab@redhat.com>
44490 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
44492 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
44493 Maxim Kuvyrkov <maxim@codesourcery.com>
44494 Joseph Myers <joseph@codesourcery.com>
44496 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
44497 if needed for __stack_chk_guard.
44499 2011-09-19 Roland McGrath <roland@hack.frob.com>
44501 * sysdeps/posix/spawni.c (script_execute): Always define it.
44502 It will be optimized away if unused.
44503 (maybe_script_execute): New function.
44504 (__spawni): Call it.
44506 * Makerules: Don't include tls.make.
44507 (config-tls): Always set to thread.
44508 * tls.make.c: File removed.
44510 2011-09-19 Mike Frysinger <vapier@gentoo.org>
44512 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
44513 * config.make.in (CPPFLAGS-config): New substituted variable.
44515 2011-09-15 Ulrich Drepper <drepper@gmail.com>
44517 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
44520 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
44521 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
44523 2011-09-15 Roland McGrath <roland@hack.frob.com>
44525 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
44526 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
44527 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
44528 (CALL_FAIL): Likewise.
44529 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
44530 (CALL_FAIL): Macro removed.
44531 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
44533 2011-09-15 Ulrich Drepper <drepper@gmail.com>
44535 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
44536 for __FINITE_MATH_ONLY__ == 1.
44538 2011-09-15 Andreas Schwab <schwab@redhat.com>
44540 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
44541 __ieee754_sqrt instead of sqrt.
44542 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
44543 __ieee754_sqrtf instead of sqrtf.
44544 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
44545 __floorf instead of floorf.
44546 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
44547 __floorf, __truncf instead of floorf, truncf.
44549 2011-09-14 Ulrich Drepper <drepper@gmail.com>
44551 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
44553 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
44554 __extern_always_inline.
44555 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
44558 2011-09-14 Andreas Schwab <schwab@redhat.com>
44560 * elf/rtld.c (dl_main): Also relocate in dependency order when
44561 doing symbol dependency testing.
44563 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
44565 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
44566 Always define `refsym'.
44568 2011-09-13 Andreas Schwab <schwab@redhat.com>
44570 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
44571 (__FD_ELT): Renamed from __FDELT.
44572 * misc/bits/select2.h (__FD_ELT): Likewise.
44573 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
44574 __FD_MASK instead of __FDELT, __FDMASK.
44575 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
44577 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
44580 * elf/Makefile (gen-ldd): Fix pattern.
44582 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
44583 (init_tls): Likewise.
44585 2011-09-12 Ulrich Drepper <drepper@gmail.com>
44587 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
44589 2011-09-12 Andreas Schwab <schwab@redhat.com>
44591 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
44592 `struct cmsghdr *' instead of `void *'.
44593 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
44596 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
44598 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
44600 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
44601 ldd_rewrite_script.
44603 2011-09-11 Ulrich Drepper <drepper@gmail.com>
44605 * configure.in: Remove --with-tls option.
44606 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
44607 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
44608 out in case it is missing.
44609 * sysdeps/ia64/elf/configure.in: Likewise.
44610 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
44611 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
44612 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
44613 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
44614 * sysdeps/sh/elf/configure.in: Likewise.
44615 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
44616 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
44617 * sysdeps/x86_64/elf/configure.in: Likewise.
44618 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
44619 * sysdeps/mach/hurd/tls.h: Likewise.
44622 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
44625 * configure.in: Fix use of AC_INIT.
44627 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
44629 2011-09-10 Ulrich Drepper <drepper@gmail.com>
44631 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
44633 * malloc/hooks.c: Likewise.
44636 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
44637 variables statically.
44638 (narenas): Initialize.
44639 (list_lock): Initialize.
44640 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
44641 initializtion of main_arena and list_lock. Small cleanups.
44642 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
44643 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
44644 Add initializers to main_arena and mp_.
44645 (malloc_state): Remove pagesize member. Change all users to use
44648 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
44649 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
44650 is always initialized.
44652 * malloc/malloc.c: Removed unused configurations and dead code.
44653 * malloc/arena.c: Likewise.
44654 * malloc/hooks.c: Likewise.
44655 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
44657 * include/tls.h: Removed. USE___THREAD must always be defined.
44658 * bits/libc-tsd.h: Don't handle !USE___THREAD.
44659 * elf/dl-libc.c: Likewise.
44660 * elf/dl-tsd.c: Likewise.
44661 * include/errno.h: Likewise.
44662 * include/netdb.h: Likewise.
44663 * include/resolv.h: Likewise.
44664 * inet/herrno-loc.c: Likewise.
44665 * inet/herrno.c: Likewise.
44666 * malloc/arena.c: Likewise.
44667 * malloc/hooks.c: Likewise.
44668 * malloc/malloc.c: Likewise.
44669 * resolv/res-state.c: Likewise.
44670 * resolv/res_libc.c: Likewise.
44671 * sysdeps/i386/dl-machine.h: Likewise.
44672 * sysdeps/ia64/dl-machine.h: Likewise.
44673 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
44674 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
44675 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
44676 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
44677 * sysdeps/sh/dl-machine.h: Likewise.
44678 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
44679 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
44680 * sysdeps/unix/i386/sysdep.S: Likewise.
44681 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
44682 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
44683 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
44684 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
44685 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
44686 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
44687 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
44688 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
44689 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
44690 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
44691 * sysdeps/unix/x86_64/sysdep.S: Likewise.
44692 * sysdeps/x86_64/dl-machine.h: Likewise.
44693 * tls.make.c: Likewise.
44695 * configure.in: Remove --with-__thread option. Make tests for
44696 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
44697 tls_model attribute fail if no support is available. Remove
44699 * Makeconfig: Adjust for dropped configure option. All features are
44701 * Makerules: Likewise.
44702 * Versions.def: Likewise.
44703 * argp/argp-fmtstream.c: Likewise.
44704 * argp/argp-fmtstream.h: Likewise.
44705 * argp/argp-help.c: Likewise.
44706 * assert/assert.c: Likewise.
44707 * config.h.in: Likewise.
44708 * config.make.in: Likewise.
44709 * configure: Likewise.
44710 * configure.in: Likewise.
44711 * csu/Versions: Likewise.
44712 * csu/init.c: Likewise.
44713 * elf/tst-audit2.c: Likewise.
44714 * elf/tst-tls10.c: Likewise.
44715 * elf/tst-tls10.h: Likewise.
44716 * elf/tst-tls11.c: Likewise.
44717 * elf/tst-tls12.c: Likewise.
44718 * elf/tst-tls14.c: Likewise.
44719 * elf/tst-tlsmod11.c: Likewise.
44720 * elf/tst-tlsmod12.c: Likewise.
44721 * elf/tst-tlsmod13.c: Likewise.
44722 * elf/tst-tlsmod13a.c: Likewise.
44723 * elf/tst-tlsmod14a.c: Likewise.
44724 * elf/tst-tlsmod15b.c: Likewise.
44725 * elf/tst-tlsmod16a.c: Likewise.
44726 * elf/tst-tlsmod16b.c: Likewise.
44727 * elf/tst-tlsmod7.c: Likewise.
44728 * elf/tst-tlsmod8.c: Likewise.
44729 * elf/tst-tlsmod9.c: Likewise.
44730 * gmon/gmon.c: Likewise.
44731 * grp/fgetgrent_r.c: Likewise.
44732 * grp/putgrent.c: Likewise.
44733 * hurd/fopenport.c: Likewise.
44734 * include/libc-symbols.h: Likewise.
44735 * include/tls.h: Likewise.
44736 * intl/gettextP.h: Likewise.
44737 * intl/loadinfo.h: Likewise.
44738 * locale/global-locale.c: Likewise.
44739 * locale/localeinfo.h: Likewise.
44740 * mach/devstream.c: Likewise.
44741 * malloc/arena.c: Likewise.
44742 * malloc/set-freeres.c: Likewise.
44743 * misc/err.c: Likewise.
44744 * misc/getttyent.c: Likewise.
44745 * misc/mntent_r.c: Likewise.
44746 * posix/getopt.c: Likewise.
44747 * posix/wordexp.c: Likewise.
44748 * pwd/fgetpwent_r.c: Likewise.
44749 * resolv/Versions: Likewise.
44750 * resolv/res_hconf.c: Likewise.
44751 * shadow/fgetspent_r.c: Likewise.
44752 * shadow/putspent.c: Likewise.
44753 * stdio-common/printf_fphex.c: Likewise.
44754 * stdio-common/tmpfile.c: Likewise.
44755 * stdlib/abort.c: Likewise.
44756 * stdlib/fmtmsg.c: Likewise.
44757 * sunrpc/auth_unix.c: Likewise.
44758 * sunrpc/clnt_perr.c: Likewise.
44759 * sunrpc/clnt_tcp.c: Likewise.
44760 * sunrpc/clnt_udp.c: Likewise.
44761 * sunrpc/clnt_unix.c: Likewise.
44762 * sunrpc/openchild.c: Likewise.
44763 * sunrpc/svc_simple.c: Likewise.
44764 * sunrpc/svc_tcp.c: Likewise.
44765 * sunrpc/svc_udp.c: Likewise.
44766 * sunrpc/svc_unix.c: Likewise.
44767 * sunrpc/xdr.c: Likewise.
44768 * sunrpc/xdr_array.c: Likewise.
44769 * sunrpc/xdr_rec.c: Likewise.
44770 * sunrpc/xdr_ref.c: Likewise.
44771 * sunrpc/xdr_stdio.c: Likewise.
44773 2011-09-09 Ulrich Drepper <drepper@gmail.com>
44775 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
44777 2011-07-03 Andreas Jaeger <aj@suse.de>
44779 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
44780 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
44781 regenerate with gen-libm-tests.pl.
44783 2010-05-12 Petr Baudis <pasky@suse.cz>
44786 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
44787 around j0() zero points by switching to j1().
44788 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
44789 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
44790 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
44791 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
44793 2011-09-09 Ulrich Drepper <drepper@gmail.com>
44795 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
44797 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
44799 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
44800 Patch in part by Pavel Roskin <proski@gnu.org>.
44803 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
44805 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
44806 Free memory block if necessary.
44809 * libio/genops.c (INTDEF): For string streams the _lock pointer can
44810 be NULL. Don't lock in this case.
44812 2011-09-09 Roland McGrath <roland@hack.frob.com>
44814 * elf/elf.h (ELFOSABI_GNU): New macro.
44815 (ELFOSABI_LINUX): Define to that.
44817 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
44819 * string/strncat.c (strncat): Undef the symbol in case it has been
44820 defined in bits/string.h.
44822 2011-09-09 Ulrich Drepper <drepper@gmail.com>
44824 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
44826 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
44829 2011-08-17 Andreas Jaeger <aj@suse.de>
44831 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
44833 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
44834 Ian Lance Taylor <iant@google.com>
44836 * math/libm-test.inc (lround_test): New testcase.
44837 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
44839 2011-09-08 Ulrich Drepper <drepper@gmail.com>
44841 * Makefile: Remove support for automatic cvs check-ins.
44842 * Makerules: Likewise.
44843 * config.make.in: Likewise.
44844 * configure.in: Likewise.
44845 * intl/Makefile: Likewise.
44846 * locale/Makefile: Likewise.
44847 * po/Makefile: Likewise.
44848 * posix/Makefile: Likewise.
44849 * sysdeps/gnu/Makefile: Likewise.
44850 * sysdeps/mach/hurd/Makefile: Likewise.
44851 * sysdeps/sparc/sparc32/Makefile: Likewise.
44854 * posix/Makefile (bug-regex32-ENV): Define.
44855 Patch by John Stanley <jpsinthemix@verizon.net>.
44857 * misc/Makefile (headers): Add bits/select2.h.
44858 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
44859 * misc/bits/select2.h: New file.
44860 * include/bits/select2.h: New file.
44861 * debug/Makefile (routines): Add fdelt_chk.
44862 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
44863 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
44865 * debug/fdelt_chk.c: New file.
44867 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
44868 * wcsmbs/test-wmemcmp.c: Likewise.
44869 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
44870 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
44872 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44874 * string/Makefile (strop-tests): Add memcmp.
44875 * string/test-wmemcmp.c: New file.
44876 * string/test-memcmp.c: Add wmemcmp support.
44878 2011-09-08 Roland McGrath <roland@hack.frob.com>
44881 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
44884 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
44885 garbage value in a __mach_port_mod_refs call in the cases of the
44886 task-self and thread-self ports.
44888 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
44890 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
44892 2011-09-08 Andreas Schwab <schwab@redhat.com>
44894 * elf/dl-load.c (lose): Check for non-null L.
44896 2011-09-07 Ulrich Drepper <drepper@gmail.com>
44898 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
44900 * elf/dl-libc.c (dlerror_run): Pass back error code from
44904 * elf/dl-load.c (lose): Free l_origin if it is valid.
44906 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
44908 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
44909 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
44910 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
44911 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
44912 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
44913 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
44915 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44917 * sysdeps/powerpc/fpu/e_hypot.c: New file.
44918 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
44919 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
44920 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
44921 * sysdeps/powerpc/fpu/k_cosf.c: New file.
44922 * sysdeps/powerpc/fpu/k_sinf.c: New file.
44923 * sysdeps/powerpc/fpu/s_cosf.c: New file.
44924 * sysdeps/powerpc/fpu/s_sinf.c: New file.
44925 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
44926 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
44928 2011-08-15 Alan Modra <amodra@gmail.com>
44931 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
44932 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
44933 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
44934 ppc_mcount to static-only-routines.
44935 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
44937 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
44938 __mcount_internal with usual JUMPTARGET. Remove useless nop.
44940 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
44942 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
44943 for finite and infinity parameters.
44945 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
44947 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
44948 and add nop instructions for throughput optimization.
44949 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
44951 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
44953 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
44954 aligned copy for power7 with vector-scalar instructions.
44955 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
44957 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
44959 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
44962 2011-09-07 Andreas Schwab <schwab@redhat.com>
44965 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
44968 2011-09-07 Ulrich Drepper <drepper@gmail.com>
44970 * sysdeps/unix/sysv/linux/x86_64/init-first.c
44971 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
44972 syscall wrapper around clock_gettime in __vdso_clock_gettime.
44973 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
44976 2011-09-06 Ulrich Drepper <drepper@gmail.com>
44978 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
44979 Forgot to demangle the pointer.
44981 * sysdeps/i386/sysdep.h: Define atom_text_section.
44982 * sysdeps/x86_64/sysdep.h: Likewise.
44983 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
44984 section with atom_text_section.
44985 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
44986 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
44987 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
44988 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
44989 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
44991 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
44992 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
44993 already be defined. Change to take two parameters and don't assign
44994 result to variable. Adjust all users.
44995 Define INTERNAL_GETTIME if not already defined.
44996 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
44998 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
44999 HAVE_CLOCK_GETTIME_VSYSCALL.
45000 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
45002 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
45003 gettimeofday vsyscall, just use time.
45005 2011-09-06 Andreas Schwab <schwab@redhat.com>
45007 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
45010 2011-09-06 Ulrich Drepper <drepper@gmail.com>
45012 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
45014 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
45016 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
45017 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
45018 syscall if possible.
45020 2011-09-05 Ulrich Drepper <drepper@gmail.com>
45022 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
45023 e_ident. Don't pass to find_mapsXX.
45024 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
45026 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
45028 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45029 strchr-sse2-no-bsf strrchr-sse2-no-bsf
45030 * sysdeps/x86_64/multiarch/strchr.S: Update.
45031 Check bit_slow_BSF bit.
45032 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
45033 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
45034 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
45036 2011-09-05 Ulrich Drepper <drepper@gmail.com>
45039 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
45041 (tryshell): Define.
45042 (__spawni): Change last parameter to be flag. Test
45043 SPAWN_XFLAGS_USE_PATH flag to use path or not.
45044 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
45045 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
45046 * posix/spawni.c: Likewise.
45047 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
45048 * posix/spawnp.c: Likewise. Change normal version to use
45049 SPAWN_XFLAGS_USE_PATH.
45050 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
45051 SPAWN_XFLAGS_TRY_SHELL.
45054 * posix/glob.h: Remove gcc 1.x support.
45057 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
45059 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
45061 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45062 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
45064 * sysdeps/i386/i686/multiarch/strchr.S: New file.
45065 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
45066 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
45067 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
45068 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
45069 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
45071 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45073 * sysdeps/x86_64/wcscmp.S: New file.
45075 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
45076 wcscmp-c wcscmp-sse2
45077 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
45078 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
45079 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
45080 * wcsmbs/wcscmp.c: Allow renaming.
45082 2011-09-05 David S. Miller <davem@davemloft.net>
45084 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
45085 stack slot, rather than the struct return pointer slot.
45086 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
45087 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
45088 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
45089 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
45091 2011-09-05 Ulrich Drepper <drepper@gmail.com>
45093 * po/ja.po: Update from translation team.
45096 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
45097 kernel in 64-bit binaries.
45099 2011-09-01 David S. Miller <davem@davemloft.net>
45101 * elf/elf.h (HWCAP_SPARC_*): Move to..
45102 * sysdeps/sparc/sysdep.h: this new file and add new values.
45103 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
45104 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
45105 _DL_HWCAP_COUNT to 24.
45106 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
45108 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
45109 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
45110 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
45111 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
45112 instead of magic constants.
45113 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
45115 2011-08-31 David S. Miller <davem@davemloft.net>
45117 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
45118 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
45119 Reimplement to do errno handling inline.
45120 (SYSCALL_ERROR_HANDLER): New macro.
45121 (__SYSCALL_STRING): Do not do errno handling in asm.
45122 (__CLONE_SYSCALL_STRING): Delete.
45123 (__INTERNAL_SYSCALL_STRING): Delete.
45124 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
45125 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
45126 (PSEUDO): Reimplement to do errno handling inline.
45127 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
45128 (SYSCALL_ERROR_HANDLER): New macro.
45129 (__SYSCALL_STRING): Do not do errno handling in asm.
45130 (__CLONE_SYSCALL_STRING): Delete.
45131 (__INTERNAL_SYSCALL_STRING): Delete.
45132 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
45133 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
45135 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
45136 (inline_syscall*): Add 'err' argument.
45137 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
45138 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
45139 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
45140 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
45142 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
45143 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
45145 2011-08-30 Andreas Schwab <schwab@redhat.com>
45147 * elf/rtld.c (dl_main): Relocate objects in dependency order.
45149 2011-08-29 Jiri Olsa <jolsa@redhat.com>
45151 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
45154 2011-08-24 David S. Miller <davem@davemloft.net>
45156 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
45158 2011-08-24 Andreas Schwab <schwab@redhat.com>
45160 * elf/Makefile: Add rules to build and run unload8 test.
45161 * elf/unload8.c: New file.
45162 * elf/unload8mod1.c: New file.
45163 * elf/unload8mod1x.c: New file.
45164 * elf/unload8mod2.c: New file.
45165 * elf/unload8mod3.c: New file.
45167 * elf/dl-close.c (_dl_close_worker): Reset private search list if
45170 2011-08-23 David S. Miller <davem@davemloft.net>
45172 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
45173 subtract stack bias.
45174 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
45175 %sp not %fp in calculations.
45176 (_JMPBUF_UNWINDS_ADJ): Likewise.
45178 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
45179 (aio_suspend): Call it to force an exception region around the
45180 AIO_MISC_WAIT() invocation.
45182 2011-08-23 Andreas Schwab <schwab@redhat.com>
45184 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
45187 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
45189 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
45191 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
45192 and <dl-machine.h>.
45193 (Elf64_FuncDesc): Remove.
45195 2011-08-22 David S. Miller <davem@davemloft.net>
45197 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
45198 sigaltstack check, add missing cfi directives.
45199 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
45200 missing cfi directives, and sigaltstack handling.
45202 2011-08-16 Andreas Schwab <schwab@redhat.com>
45205 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
45206 object is seen twice.
45207 * elf/dl-fini.c (_dl_sort_fini): Likewise.
45209 * elf/Makefile (distribute): Add tst-initorder2.c.
45210 (tests): Add tst-initorder2.
45211 (modules-names): Add tst-initorder2a tst-initorder2b
45212 tst-initorder2c tst-initorder2d. Add rules to build them.
45213 ($(objpfx)tst-initorder2.out): New rule.
45214 * elf/tst-initorder2.c: New file.
45215 * elf/tst-initorder2.exp: New file.
45217 2011-08-22 Andreas Schwab <schwab@redhat.com>
45219 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
45221 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
45222 dependencies back to end of function.
45224 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
45225 $(elfobjdir)/ld.so.
45227 2011-08-21 Ulrich Drepper <drepper@gmail.com>
45229 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
45230 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
45231 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
45232 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
45233 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
45234 of __vdso_gettimeofday.
45235 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
45236 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
45238 (_libc_vdso_platform_setup): Remove initialization of
45239 __vdso_gettimeofday and __vdso_time.
45241 2011-08-20 Ulrich Drepper <drepper@gmail.com>
45243 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
45244 and fgetc_unlocked.
45245 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
45248 * elf/dl-open.c (add_to_global): Report additions to the global scope
45249 for LD_DEBUG=scopes.
45250 (dl_open_worker): Also print scope of newly loaded dependencies.
45251 (_dl_show_scope): Indicate if there is no scope.
45254 * stdio-common/Makefile (tests): Add bug24.
45255 * stdio-common/bug24.c: New file.
45257 2011-08-19 Andreas Jaeger <aj@suse.de>
45260 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
45261 non-existant file when using close-on-exec mode.
45263 2011-08-20 Ulrich Drepper <drepper@gmail.com>
45265 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
45266 the very first instruction.
45268 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
45269 the CFI state in the end.
45270 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
45271 inclusion of dl-trampoline.h.
45272 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
45274 2011-08-19 Andreas Schwab <schwab@redhat.com>
45276 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
45277 expectations for long double.
45279 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
45280 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
45282 2011-08-14 David S. Miller <davem@davemloft.net>
45284 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
45285 artificual limit depends upon the system page size.
45287 2011-08-17 Ulrich Drepper <drepper@gmail.com>
45289 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
45290 * resolv/Makefile: Define CFLAGS-libresolv.
45292 2011-08-17 Andreas Schwab <schwab@redhat.com>
45294 * nss/makedb.c (compute_tables): Make variables used in nested
45297 2011-08-17 Ulrich Drepper <drepper@gmail.com>
45299 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
45300 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
45301 if buffer was too small.
45303 * elf/pldd.c (main): Attach to all threads in the process.
45304 Rewrite /proc handling to use *at functions.
45306 2011-08-16 Ulrich Drepper <drepper@gmail.com>
45308 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
45309 specifies first scope to show.
45310 (dl_open_worker): Update callers. Move printing scope of new
45311 object to before the relocation.
45312 * elf/rtld.c (dl_main): Update _dl_show_scope call.
45313 * sysdeps/generic/ldsodefs.h: Update declaration.
45315 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
45316 string for the scope number.
45318 2011-08-14 Ulrich Drepper <drepper@gmail.com>
45320 * nscd/servicescache.c (cache_addserv): Make sure written is always
45323 2011-08-14 Roland McGrath <roland@hack.frob.com>
45325 * sysdeps/i386/i486/bits/atomic.h
45326 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
45327 statement expression, so as to suppress "set but not used" warning.
45328 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
45330 * string/strncat.c (STRNCAT): Use prototype definition.
45332 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
45333 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
45335 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
45336 (localedef-modules): Add localedef.
45337 (locale-modules): Add locale.
45339 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
45340 * elf/rtld.c (dl_main): Invert order of assignment in last change,
45341 to avoid a warning.
45343 2011-08-14 David S. Miller <davem@davemloft.net>
45345 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
45346 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
45348 2011-08-13 Ulrich Drepper <drepper@gmail.com>
45350 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
45351 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
45352 * elf/rtld.c (dl_main): Set l_name of vDSO.
45353 Call _dl_show_scope when DL_DEBUG_SCOPES.
45354 (process_dl_debug): Recognize scopes flag and also set it for all.
45355 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
45356 Declare _dl_show_scope.
45358 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
45359 (do_dlopen): Pass caller_dlopen to dl_open.
45360 (__libc_dlopen_mode): Initialize caller_dlopen.
45362 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
45363 of libc. Make tolower call locale-independent. Optimize a bit by
45364 using isdigit instead of isalnum.
45365 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
45367 2011-08-12 Ulrich Drepper <drepper@gmail.com>
45369 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
45370 was a dependency or dynamically loaded.
45372 2011-08-11 Ulrich Drepper <drepper@gmail.com>
45374 * intl/l10nflist.c: Allow architecture-specific pop function.
45375 * sysdeps/x86_64/l10nflist.c: New file.
45377 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
45380 2011-08-10 Andreas Schwab <schwab@redhat.com>
45382 * include/dirent.h: Add libc_hidden_proto for scandirat and
45383 scandirat64. Don't declare __scandirat64.
45384 * dirent/scandirat.c: Add libc_hidden_def.
45385 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
45386 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
45388 2011-08-10 David S. Miller <davem@davemloft.net>
45390 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
45392 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
45393 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
45394 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
45396 2011-08-09 Ulrich Drepper <drepper@gmail.com>
45398 * Versions.def [libc]: Add GLIBC_2.15.
45399 * dirent/Makefile (routines): Add scandirat and scandirat64.
45400 * dirent/Versions [libc]: Export scandirat and scandirat64 for
45402 * dirent/dirent.h: Declare scandirat and scandirat64.
45403 * dirent/scandirat.c: New file.
45404 * dirent/scandirat64.c: New file.
45405 * sysdeps/wordsize-64/scandirat.c: New file.
45406 * sysdeps/wordsize-64/scandirat64.c: New file.
45407 * dirent/opendir.c: Define opendirat.
45408 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
45410 * dirent/scandir64.c: Adjust for scandir.c change.
45411 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
45412 __scandirat64, and __scandir_cancel_handler.
45413 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
45414 additional parameter and use openat instead of open (outside of ld.so).
45415 Add new __opendir as wrapper around __opendirat.
45416 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
45417 here without requiring old scandirat implementation.
45419 2011-08-08 Ulrich Drepper <drepper@gmail.com>
45421 * dirent/scandir.c (cancel_handler): Renamed to
45422 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
45423 defined. Adjust users.
45424 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
45425 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
45427 2011-08-04 Ulrich Drepper <drepper@gmail.com>
45429 * string/test-string.h (IMPL): Use __STRING to expand name and then
45432 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
45435 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45437 * string/Makefile: Update.
45438 (strop-tests): Append strncat.
45439 * string/test-wcscmp.c: New file.
45440 New comprehensive test for wcscmp.
45441 * string/test-strcmp.c: Update.
45442 (WIDE): New define.
45444 2011-07-22 Andreas Schwab <schwab@redhat.com>
45446 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
45449 2011-07-26 Andreas Schwab <schwab@redhat.com>
45451 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
45452 encoding to ACE if AI_IDN.
45454 2011-08-01 Jakub Jelinek <jakub@redhat.com>
45456 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
45457 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
45459 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
45461 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
45462 Fix overflow bug in strncat.
45463 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
45465 * string/test-strncat.c: Update.
45466 Add new tests for checking overflow bugs.
45468 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
45470 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45471 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
45472 * sysdeps/i386/i686/multiarch/strcat.S: New file.
45473 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
45474 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
45475 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
45476 * sysdeps/i386/i686/multiarch/strncat.S: New file.
45477 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
45478 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
45480 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
45481 (USE_AS_STRCAT): Define.
45482 Add strcat and strncat support.
45483 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
45485 2011-07-25 Andreas Schwab <schwab@redhat.com>
45487 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
45488 __n bigger than INT_MAX+1.
45489 (__strncmp_g): Likewise.
45491 2011-07-23 Ulrich Drepper <drepper@gmail.com>
45493 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
45494 * libio/stido.h: Likewise.
45496 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
45498 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
45501 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
45502 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
45503 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
45504 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
45505 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
45508 * scripts/test-installation.pl: Don't expect libnss_test1 to be
45511 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
45513 (_dl_x86_64_save_sse): Likewise.
45515 2011-07-22 Ulrich Drepper <drepper@gmail.com>
45517 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
45519 (_dl_x86_64_save_sse): Likewise.
45521 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
45523 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
45525 2011-07-21 Andreas Schwab <schwab@redhat.com>
45527 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
45529 (_dl_x86_64_save_sse): Use correct AVX check.
45531 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45533 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
45534 bug in strncpy/strncat.
45535 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
45537 2011-07-21 Ulrich Drepper <drepper@gmail.com>
45539 * string/tester.c (test_strcat): Add tests for different alignments
45540 of source and destination.
45541 (test_strncat): Likewise.
45543 2011-07-20 Ulrich Drepper <drepper@gmail.com>
45546 * posix/glob.c (glob): Check passed in values before using them in
45547 expressions to avoid some overflows.
45548 (glob_in_dir): Likewise.
45551 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
45552 check for AVX enablement so that we don't crash with old kernels and
45554 * elf/tst-audit4.c: Add same checks here.
45555 * elf/tst-audit6.c: Likewise.
45557 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
45559 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
45561 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
45563 2011-07-20 Ulrich Drepper <drepper@gmail.com>
45565 * po/cs.po: Update from translation team.
45566 * po/bg.po: Likewise.
45568 2011-07-12 Marek Polacek <mpolacek@redhat.com>
45570 * misc/sys/cdefs.h: Add support for const attribute.
45571 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
45572 to gnu_dev_{major,minor,makedev} functions.
45574 2011-07-20 Marek Polacek <mpolacek@redhat.com>
45576 * intl/dcigettext.c (get_output_charset): Add missing bracket.
45578 2011-07-20 Andreas Schwab <schwab@redhat.com>
45580 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
45583 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45585 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
45586 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
45587 register in order to avoid conflicts with the soft frame pointer
45588 being held in r11 when necessary.
45589 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
45590 (INTERNAL_VSYSCALL_NCS): Likewise.
45592 2011-07-14 Marek Polacek <mpolacek@redhat.com>
45594 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
45595 * elf/dl-fini.c (_dl_fini): Adjust caller.
45596 * elf/dl-close.c (_dl_close_worker): Likewise.
45597 * sysdeps/generic/ldsodefs.h: Adjust declaration.
45599 2011-07-15 Marek Polacek <mpolacek@redhat.com>
45601 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
45602 "aux_cache->nlibs < 0".
45604 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
45605 in the reload-count case.
45607 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
45609 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45610 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
45611 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
45612 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
45613 * sysdeps/x86_64/multiarch/strcat.S: New file.
45614 * sysdeps/x86_64/multiarch/strncat.S: New file.
45615 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
45616 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
45617 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
45618 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
45619 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
45620 (USE_AS_STRCAT): Define.
45621 Add strcat and strncat support.
45622 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
45623 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
45624 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
45625 * string/strncat.c: Update.
45626 (USE_AS_STRNCAT): Define.
45627 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45628 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
45630 * sysdeps/x86_64/multiarch/init-arch.h
45631 (bit_Prefer_PMINUB_for_stringop): New.
45632 (index_Prefer_PMINUB_for_stringop): Likewise.
45633 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
45634 bit_Prefer_PMINUB_for_stringop.
45636 2011-07-19 Ulrich Drepper <drepper@gmail.com>
45638 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
45640 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
45641 of casting of buffer.
45642 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
45643 buffer32 and buffer64.
45644 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
45645 writes instead of casting of buffer.
45646 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
45648 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
45651 2011-07-19 Andreas Schwab <schwab@redhat.com>
45653 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
45655 2011-07-19 Ulrich Drepper <drepper@gmail.com>
45657 * nscd/nscd.c (termination_handler): Don't do anything for a database
45658 if it has not yet been initialized.
45660 2011-07-18 Ulrich Drepper <drepper@gmail.com>
45662 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
45664 2011-07-15 Marek Polacek <mpolacek@redhat.com>
45666 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
45668 2011-07-18 Ulrich Drepper <drepper@gmail.com>
45670 * po/nl.po: Update from translation team.
45671 * po/sv.po: Likewise.
45673 2011-07-16 Roland McGrath <roland@hack.frob.com>
45675 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
45676 now disallowed by GCC.
45678 * configure.in (use-default-link): Default to yes if a test -shared
45679 link meets our qualifications.
45680 * configure: Regenerated.
45682 * config.make.in (output-format): New variable.
45683 * configure.in: Check for ld --print-output-format support.
45684 * configure: Regenerated.
45685 * Makerules ($(common-objpfx)format.lds)
45686 [$(output-format) != unknown]: Just use $(output-format),
45687 instead of the linker-script munging.
45689 2011-07-14 Roland McGrath <roland@hack.frob.com>
45691 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
45692 of $(common-objpfx)shlib.lds.
45693 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
45695 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
45696 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
45698 * configure.in (-z relro check): Adjust test code to add a large
45699 writable data section after it.
45700 * configure: Regenerated.
45702 2011-07-11 Roland McGrath <roland@hack.frob.com>
45704 * configure.in (-z relro check): Fix test code to make the variable
45706 * configure: Regenerated.
45708 2011-07-11 Ulrich Drepper <drepper@gmail.com>
45710 * nscd/nscd.h (struct traced_file): Define.
45711 (struct database_dyn): Remove inotify_descr, reset_res, and filename
45712 elements. Add traced_files.
45713 (inotify_fd): Declare.
45714 (register_traced_file): Declare.
45715 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
45716 (inotify_fd): Export.
45717 (resolv_conf_descr): Remove.
45718 (nscd_init): Move inotify descriptor creation to main.
45719 Don't register files for notification here.
45720 (register_traced_file): New function.
45721 (invalidate_cache): Don't use reset_res to determine whether to call
45722 res_init, go through the list of registered files.
45723 (main_loop_poll): The inotify descriptors are now stored in the
45724 structures for the traced files.
45725 (main_loop_epoll): Likewise
45726 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
45727 to __nss_disable_nscd.
45728 * nscd/cache.c (prune_cache): There is no single inotify descriptor
45729 for a database anymore. Check the records for all the registered
45731 * nss/Makefile (libnss_files-routines): Add files-init.
45732 (libnss_db-routines): Add db-init.
45733 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
45734 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
45735 * nss/nss_db/db-init.c: New file.
45736 * nss/nss_files/files-init.c: New file.
45737 * nss/nsswitch.c (nss_load_library): New function. Broken out of
45738 __nss_lookup_function.
45739 (__nss_lookup_function): Call nss_load_library.
45740 (nss_load_all_libraries): New function.
45741 (__nss_disable_nscd): Take parameter with callback function for files
45742 to register. Set is_nscd. Load all the DSOs for the NSS modules
45743 used for the cached services.
45744 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
45745 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
45746 options for features to all the files in nscd.
45748 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
45750 2011-07-10 Roland McGrath <roland@hack.frob.com>
45752 * csu/elf-init.c (__libc_csu_init): Comment typo.
45754 2011-07-09 Ulrich Drepper <drepper@gmail.com>
45756 * po/pl.po: Update from translation team.
45757 * po/ja.po: Likewise.
45758 * po/ru.po: Likewise.
45759 * po/ko.po: Likewise.
45760 * po/fr.po: Likewise.
45762 2011-07-09 Roland McGrath <roland@hack.frob.com>
45764 * configure.in (.ctors/.dtors header and trailer check):
45765 Use an empirical test on a built program.
45766 * configure: Regenerated.
45768 * configure.in (-z relro check): Use an empirical test on a built DSO.
45769 Detect, but do not require, on ia64.
45770 * configure: Regenerated.
45772 * configure.in (READELF): Find it with AC_CHECK_TOOL.
45773 Update tests that use readelf to use $READELF instead.
45774 * configure: Regenerated.
45776 2011-07-08 Ulrich Drepper <drepper@gmail.com>
45778 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
45779 if the result is not used.
45781 2011-07-05 Andreas Jaeger <aj@suse.de>
45784 * stdlib/tst-strtod.c: Add testcase.
45786 2011-07-07 Ulrich Drepper <drepper@gmail.com>
45788 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
45789 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
45790 The latter has a higher limit. Take additional parameter to pass to
45792 (__pathconf): Pass file to __statfs_link_max.
45793 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
45795 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
45799 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
45800 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
45802 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
45803 (__statfs_filesize_max): Likewise.
45804 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
45806 2011-07-05 Andreas Jaeger <aj@suse.de>
45808 * resolv/res_comp.c (dn_skipname): Remove unused variable.
45810 2011-07-06 Marek Polacek <mpolacek@redhat.com>
45812 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
45814 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
45817 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
45819 * Makefile (strop-tests): Add strncat.
45820 * string/test-strncat.c: New file.
45822 2011-06-30 Marek Polacek <mpolacek@redhat.com>
45824 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
45826 2011-06-21 Andreas Jaeger <aj@suse.de>
45828 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
45829 Copy rule from iconvdata/Makefile.
45831 2011-07-06 Ulrich Drepper <drepper@gmail.com>
45834 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
45835 but no long options are defined, just return 'W'.
45837 2011-06-22 Marek Polacek <mpolacek@redhat.com>
45840 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
45842 2011-07-06 Ulrich Drepper <drepper@gmail.com>
45844 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
45846 (innetgr): Likewise.
45848 2011-07-05 Roland McGrath <roland@hack.frob.com>
45850 * config.make.in (install_root): Default to $(DESTDIR).
45852 2011-07-05 Ulrich Drepper <drepper@gmail.com>
45854 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
45856 2011-07-02 Roland McGrath <roland@hack.frob.com>
45858 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
45860 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
45861 containing directory rather than embedding absolute directory names.
45863 * scripts/check-local-headers.sh: Rewritten using awk.
45864 Match by word, not by line. Print error messages for matches.
45865 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
45867 * Makerules [shlib-lds-flags empty]:
45868 ($(common-objpfx)libc_pic.opts): New target.
45869 ($(common-objpfx)libc_pic.os.clean): New target.
45870 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
45872 * config.make.in (OBJCOPY): New variable.
45873 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
45874 * configure: Regenerated.
45876 * config.make.in (use-default-link): New variable.
45877 * configure.in (use_default_link): Grok --with-default-link to set it.
45878 * configure: Regenerated.
45879 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
45880 (shlib-lds, shlib-lds-flags): Define to empty.
45882 * Makerules (shlib-lds): New variable.
45883 (shlib-lds-flags): New variable.
45884 (build-shlib, build-moduile, build-module-asneeded): Use it.
45885 ($(common-objpfx)libc.so): Use $(shlib-lds).
45886 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
45887 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
45889 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
45890 DT_FLAGS/DT_FLAGS_1 with zero flags.
45892 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
45893 linker script munging.
45895 2011-07-02 Ulrich Drepper <drepper@gmail.com>
45897 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
45899 * crypt/sha512.c (sha512_process_block): Perform total addition using
45900 128-bit if possible.
45901 (__sha512_finish_ctx): Likewise.
45902 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
45904 * crypt/sha256.c (SWAP64): Define.
45905 (sha256_process_block): Perform total addition using 64-bit if
45907 (__sha256_finish_ctx): Likewise.
45909 2011-07-01 Ulrich Drepper <drepper@gmail.com>
45911 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
45912 * nscd/initgrcache.c (addinitgroupsX): Likewise.
45913 * nscd/hstcache.c (cache_addhst): Likewise.
45914 * nscd/grpcache.c (cache_addgr): Likewise.
45915 * nscd/aicache.c (addhstaiX): Likewise
45916 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
45918 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
45920 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
45921 * nscd/initgrcache.c (addinitgroupsX): Likewise.
45922 * nscd/hstcache.c (cache_addhst): Likewise.
45923 * nscd/grpcache.c (cache_addgr): Likewise.
45924 * nscd/aicache.c (addhstaiX): Likewise
45926 2011-07-01 Andreas Schwab <schwab@redhat.com>
45928 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
45929 domain only when needed.
45931 2011-06-30 Andreas Schwab <schwab@redhat.com>
45933 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
45934 is always restored.
45936 2011-06-29 Ulrich Drepper <drepper@gmail.com>
45938 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
45939 are re-adding the entry.
45940 * nscd/servicescache.c (cache_addserv): Likewise.
45942 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
45944 * sysdeps/generic/dl-irel.h: fix protection against multiple
45946 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
45948 2011-06-28 Ulrich Drepper <drepper@gmail.com>
45951 * malloc/memusage.sh: Fix quoting in message.
45952 * debug/xtrace.sh: Likewise.
45954 * configure.in: Remove support for --experimental-malloc option, make
45956 * config.make.in: Likewise.
45957 * malloc/Makefile: Likewise.
45959 2011-06-27 Andreas Schwab <schwab@redhat.com>
45961 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
45962 two-byte characters.
45964 2011-06-27 Roland McGrath <roland@hack.frob.com>
45966 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
45967 AC_CACHE_CHECK invocation.
45968 * configure: Regenerated.
45970 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
45972 2011-06-27 Ulrich Drepper <drepper@gmail.com>
45975 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
45976 bit from old_res_options.
45978 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
45980 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
45981 value type for setfct.
45983 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
45985 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
45986 __gettimeofday instead of gettimeofday.
45988 2011-06-26 Ulrich Drepper <drepper@gmail.com>
45990 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
45992 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
45994 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
45996 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
45999 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
46001 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46002 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
46003 strcpy-sse2-unaligned strncpy-sse2-unaligned
46004 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
46005 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
46006 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
46007 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
46008 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
46009 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
46010 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
46011 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
46012 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
46013 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
46014 (STRCPY): Support SSE2 and SSSE3 versions.
46016 2011-06-24 Ulrich Drepper <drepper@gmail.com>
46019 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
46020 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
46021 kernels which artificially limit size of requests.
46023 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
46025 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46026 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
46027 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
46028 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
46029 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
46030 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
46031 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
46032 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
46033 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
46034 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
46035 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
46036 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
46037 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
46038 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
46039 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
46040 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46041 Enable unaligned load optimization for Intel Core i3, i5 and i7
46043 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
46045 (index_Fast_Unaligned_Load): Define.
46046 (HAS_FAST_UNALIGNED_LOAD): Define.
46048 2011-06-23 Marek Polacek <mpolacek@redhat.com>
46050 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
46052 2011-06-22 Ulrich Drepper <drepper@gmail.com>
46055 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
46056 until it is clear that the information is realy needed.
46057 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
46059 2011-06-22 Andreas Schwab <schwab@redhat.com>
46061 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
46063 2011-06-22 Ulrich Drepper <drepper@gmail.com>
46065 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
46066 /sys/devices/system/cpu/online if it is usable.
46068 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
46069 reading the information from the /proc filesystem to once a second.
46071 2011-06-21 Andreas Jaeger <aj@suse.de>
46073 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
46074 NULL after inclusion of kernel headers.
46076 2011-06-21 Ulrich Drepper <drepper@gmail.com>
46078 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
46079 calls to internal_setent.
46082 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
46083 addresses using gethostbyname4_r ignore IPv4 addresses.
46085 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
46086 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
46088 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
46090 2011-06-20 David S. Miller <davem@davemloft.net>
46092 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
46094 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
46096 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
46097 (elf_irel): Use it.
46098 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
46099 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
46100 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
46101 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
46102 * sysdeps/x86_64/dl-irel.h: Likewise.
46104 * elf/dl-runtime.c: Use elf_ifunc_invoke.
46105 * elf/dl-sym.c: Likewise.
46107 2011-06-15 Ulrich Drepper <drepper@gmail.com>
46109 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
46110 need to dereference resplen2.
46112 2011-06-14 Andreas Schwab <schwab@redhat.com>
46114 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
46116 2011-06-15 Ulrich Drepper <drepper@gmail.com>
46118 * Makeconfig: Define vardbdir and inst_vardbdir.
46119 * nss/Makefile: Add rules to install db-Makefile.
46121 * nss/nss_db/db-XXX.c: Cleanup.
46123 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
46124 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
46126 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
46127 * nss/makedb.c: Implement -g option to specify that value strings
46128 are generated and should not be added to table iterated over for
46130 * nss/nss_db/db-initgroups.c: New file.
46132 * nss/getent.c: Add support for initgroups lookups through getgrouplist
46135 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
46136 (internal_getgrouplist): Adjust to name change.
46137 Update use_initgroups_entry if this is not the first call.
46138 * nss/databases.def: Add initgroups entry.
46140 * nss/makedb.c (compute_tables): Check result of multiple hash table
46141 sizes to minimize maximum chain length.
46143 2011-06-14 Ulrich Drepper <drepper@gmail.com>
46145 * Versions.def: Add entry for libnss_db.
46146 * shlib-versions: Likewise.
46147 * nss/Makefile: Add rules to build libnss_db.
46148 * nss/Versions: Add libnss_db information. Organize libnss_files
46150 * nss/db-Makefile: Add gshadow support. Change rules for the new
46151 makedb progra. Some minor improvements to generate smaller files.
46152 * nss/nss_db/nss_db.h: Move NSS database header data structures to
46154 * nss/makedb.c: ...here.
46155 Improve database format to be smaller and require less memory at
46157 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
46159 * nss/nss_db/db-netgrp.c: Likewise.
46160 * nss/nss_db/db-open.c: Likewise.
46161 * nss/nss_files/flies-XXX.x: Adjust comments.
46162 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
46163 * nss/nss_files/files-grp.c: Likewise.
46164 * nss/nss_files/files-hosts.c: Likewise.
46165 * nss/nss_files/files-network.c: Likewise.
46166 * nss/nss_files/files-proto.c: Likewise.
46167 * nss/nss_files/files-pwd.c: Likewise.
46168 * nss/nss_files/files-rpc.c: Likewise.
46169 * nss/nss_files/files-service.c: Likewise.
46170 * nss/nss_files/files-sgrp.c: Likewise.
46171 * nss/nss_files/files-spwd.c: Likewise.
46172 * nss/nss_db/db-alias.c: Removed.
46173 * nss/nss_db/dummy-db.h: Removed.
46175 2011-06-02 Ulrich Drepper <drepper@gmail.com>
46177 * nss/makedb.c: Rewritten to not use database library.
46178 * nss/Makefile: Update to build new makedb program.
46180 2011-06-14 Andreas Jaeger <aj@suse.de>
46182 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
46183 memset declaration.
46185 2011-06-10 Andreas Schwab <schwab@redhat.com>
46187 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
46190 2011-06-10 Roland McGrath <roland@hack.frob.com>
46192 * Makerules (shlib.lds): Fail if the linker script comes out empty.
46193 * elf/Makefile ($(objpfx)ld.so): Likewise.
46195 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
46196 Don't list ld.so twice in dependencies.
46198 * posix/bug-regex31.c: Include <stdlib.h>.
46200 * nscd/hstcache.c (cache_addhst): Remove unused variable.
46202 * nis/nss_compat/compat-spwd.c
46203 (getspent_next_nss_netgr): Remove unused variable.
46204 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
46206 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
46207 nonmembers" output to use the right array.
46209 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
46211 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
46213 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
46214 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
46215 * catgets/gencat.c (read_input_file): Likewise.
46216 * locale/programs/locarchive.c (enlarge_archive): Likewise.
46218 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
46219 variable definition inside #if's controlling its use.
46221 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
46223 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
46225 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
46227 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
46230 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
46232 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
46233 * configure: Regenerated.
46235 * Makerules: Revert last change.
46236 * elf/Makefile: Likewise.
46238 2011-06-09 Roland McGrath <roland@hack.frob.com>
46240 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
46241 * elf/Makefile ($(objpfx)librtld.os): Likewise.
46242 (reloc-link): Likewise.
46244 2011-06-09 Ulrich Drepper <drepper@gmail.com>
46246 * elf/Makefile: Add rules to build pldd.
46247 * elf/pldd.c: New file.
46248 * elf/pldd-xx.c: New file.
46250 2011-06-07 Ulrich Drepper <drepper@gmail.com>
46252 * version.h: Update for 2.15 development version.
46254 2011-06-07 David S. Miller <davem@davemloft.net>
46256 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
46258 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
46259 elf_machine_lazy_rel): Likewise.
46260 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
46261 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
46262 elf_machine_lazy_rel): Likewise.
46263 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
46264 dl_hwcap via passed in argument.
46265 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
46268 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46270 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
46272 2011-06-06 Roland McGrath <roland@hack.frob.com>
46275 * manual/fdl-1.1.texi: New file, verbatim from:
46276 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
46277 * manual/lgpl-2.1.texi: New file, verbatim from:
46278 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
46279 * manual/Makefile (licenses): New variable, list those new file names.
46281 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
46283 * manual/fdl.texi: File removed.
46284 * manual/lesser.texi: File removed.
46285 * manual/libc.texinfo (Copying, Documentation License):
46286 Use new @include file names, put @appendix directive before @include.
46288 2011-06-04 Jakub Jelinek <jakub@redhat.com>
46291 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
46292 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
46293 (mq_open): Add __NTH.
46295 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
46297 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46298 Assume Intel Core i3/i5/i7 processor if AVX is available.
46300 2011-05-31 Ulrich Drepper <drepper@gmail.com>
46302 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
46305 2011-05-31 Andreas Schwab <schwab@redhat.com>
46307 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
46308 memory. Use alloca_account. Fix memory leak when retrying.
46310 2011-05-31 Ulrich Drepper <drepper@gmail.com>
46312 * version.h (RELEASE): Bump for 2.14 release.
46313 * include/features.h (__GLIBC_MINOR__): Bump to 14.
46315 * config.make.in (RANLIB): Remove entry.
46317 2011-05-30 Ulrich Drepper <drepper@gmail.com>
46319 * po/Makefile (po-sed-cmd): Add ksh to extensions.
46320 (libc.pot): Work around missing support for .ksh extension in xgettext.
46323 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
46324 if both request failed.
46325 (send_dg): In case of server errors clear resplen or *resplen2.
46328 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
46329 when there are multiple maps.
46330 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
46331 (_dl_fini): Remove test here.
46333 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
46335 2011-05-29 Ulrich Drepper <drepper@gmail.com>
46338 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
46339 bit from old_res_options.
46340 (gaih_inet): Likewise.
46343 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
46346 * resolv/res_init.c (res_setoptions): Make the code more compact.
46349 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
46353 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
46355 * malloc/malloc.h: Mark malloc hook variables as deprecated.
46358 * malloc/malloc.h: Declare malloc hook variables as volatile.
46360 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
46364 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
46365 raise in the comment.
46366 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
46367 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
46368 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
46370 2011-05-28 Ulrich Drepper <drepper@gmail.com>
46373 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
46374 grow the buffers more if it already has to be sufficient.
46375 (build_wcs_upper_buffer): Likewise.
46376 * posix/regexec.c (check_matching): Likewise.
46377 (clean_state_log_if_needed): Likewise.
46378 (extend_buffers): Don't enlarge buffers beyond size of the input
46380 Patches mostly by Emil Wojak <emil@wojak.eu>.
46381 * posix/bug-regex32.c: New file.
46382 * posix/Makefile (tests): Add bug-regex32.
46384 * locale/findlocale.c (_nl_find_locale): Return right away if
46385 _nl_explode_name failed.
46386 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
46388 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
46390 * debug/xtrace.sh: Unify messages.
46391 * malloc/memusage.sh: Likewise.
46394 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
46395 time symbol from vDSO. Substitute with vsyscall if not available.
46396 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
46399 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
46400 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
46401 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
46402 Add sendmmsg and internal_sendmmsg.
46403 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
46404 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
46405 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
46407 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
46408 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
46409 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
46411 2011-05-27 Ulrich Drepper <drepper@gmail.com>
46414 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
46415 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
46417 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
46421 * iconvdata/Makefile (tests): Add bug-iconv9.
46422 * iconvdata/bug-iconv9.c: New file.
46424 2011-05-27 Andreas Schwab <schwab@redhat.com>
46427 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
46429 2011-05-25 Jakub Jelinek <jakub@redhat.com>
46431 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
46432 (struct user_regs_struct): Change intcs field back to cs.
46434 2011-05-25 Ulrich Drepper <drepper@gmail.com>
46436 * po/ja.po: Update from translation team.
46438 2011-05-23 Ulrich Drepper <drepper@gmail.com>
46441 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
46442 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
46444 2011-05-20 Andreas Schwab <schwab@redhat.com>
46446 * stdlib/longlong.h: Update from GCC.
46448 2011-05-23 Andreas Schwab <schwab@redhat.com>
46450 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
46452 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
46453 Add parameter name.
46454 (__sysconf): Pass it down.
46456 2011-05-22 Ulrich Drepper <drepper@gmail.com>
46459 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
46461 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
46462 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
46463 add in in __libc_use_alloca calls. Adjust callers.
46464 (glob): Use malloc in some situations.
46466 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
46467 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
46470 2011-05-21 Ulrich Drepper <drepper@gmail.com>
46472 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
46473 and CLOCK_BOOTTIME_ALARM.
46476 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
46479 * string/_strerror.c (__strerror_r): Print negative errors as signed
46483 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
46484 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
46485 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
46487 * configure.in: Fix typo in redirection and correct removal of test
46488 files in two cases.
46491 * locale/setlocale.c (new_composite_name): Fix test to check for
46492 identical name of all categories.
46495 * libio/filedoalloc.c (local_isatty): New function.
46496 (_IO_file_doallocate): Use local_isatty.
46497 * stdio-common/perror.c (perror): In case a new stream is used
46498 forward the stream error.
46499 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
46502 2011-05-20 Ulrich Drepper <drepper@gmail.com>
46505 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
46507 * include/alloca.h (extend_alloca_account): Define.
46510 * posix/regex.h: Fix comments with documentation of user-accessible
46511 fields after compilation and describe correct free'ing of pattern
46512 after re_compile_pattern.
46513 Patch by Reuben Thomas <rrt@sc3d.org>.
46515 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
46517 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
46518 and -mno-altivec to prevent the compiler from using Altivec and/or
46519 VSX instructions when the corresponding registers are not available.
46521 2011-05-19 Andreas Schwab <schwab@redhat.com>
46523 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
46525 2011-05-19 Ulrich Drepper <drepper@gmail.com>
46527 * libio/freopen.c (freopen): Use __dup2, not dup2.
46528 * libio/freopen64.c (freopen64): Likewise.
46530 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
46533 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
46534 * math/Makefile (tests): Add test-powl.
46535 (CFLAGS-test-powl.c): Define.
46536 * math/test-powl.c: New file.
46538 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
46540 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
46542 2011-05-17 Ulrich Drepper <drepper@gmail.com>
46545 * iconvdata/gb18030.c: Update to GB18020-2005.
46547 2011-05-16 Ulrich Drepper <drepper@gmail.com>
46549 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
46550 RE_SYNTAX_POSIX_AWK): Update to match recent development.
46551 Patch by Aharon Robbins <arnold@skeeve.com>.
46554 * stdlib/putenv.c (putenv): Don't always create copy of the variable
46558 * misc/pselect.c (__pselect): Handle timeout value errors hidden
46559 through underflows.
46562 * misc/error.c (error_at_line): Ensure file_name and old_file_name
46563 point to strings before performing equality test for error_one_per_line
46567 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
46570 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
46571 (struct user_fpregs_struct): Avoid __uint*_t types.
46574 * malloc/mtrace.c (tr_where): Add additional parameter to point to
46575 symbol info. Use it instead of calling _dl_addr locally.
46576 (lock_and_info): New function.
46577 (tr_freehook): Call lock_and_info and pass symbol info as additional
46578 parameter to tr_where.
46579 (tr_mallochook): Likewise.
46580 (tr_reallochook): Likewise.
46581 (tr_memalignhook): Likewise.
46583 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
46584 used and couldn't be at all thread-safe.
46586 2011-05-15 Ulrich Drepper <drepper@gmail.com>
46588 * libio/freopen.c (freopen): Don't close old file descriptor
46589 before the new one is opened. Instead dup the new file descriptor
46590 to the old one after the new stream is created.
46591 * libio/freopen64.c (freopen64): Likewise.
46592 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
46593 * libio/fileops.c (_IO_new_file_close_it): Handle new
46594 _IO_FLAGS2_NOCLOSE flag.
46595 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
46596 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
46597 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
46598 _IO_FLAGS2_NOCLOSE flag.
46599 * include/unistd.h: Add hidden_proto for dup3.
46600 Define __have_dup3.
46601 * io/dup3.c: Define hidden symbol.
46602 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
46605 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
46606 when an incomplete long option is used.
46607 * posix/tst-getopt_long1.c: New file.
46608 * posix/Makefile (tests): Add tst-getopt_long1.
46611 * scripts/config.guess: Update from autoconf-2.68.
46612 * scripts/config.sub: Likewise.
46615 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
46617 (has_cpuclock): ...this. New function.
46618 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
46619 macro here based on has_cpuclock code.
46622 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
46623 First byte (not low byte) is now always NUL.
46624 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
46626 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
46627 Use non-cancelable interfaces.
46630 * locale/iso-639.def: Add entry for Sorani.
46633 * include/stdlib.h: Move include protection to the right place.
46634 Define abort_msg_s. Declare __abort_msg with it.
46635 * stdlib/abort.c (__abort_msg): Adjust type.
46636 * assert/assert.c (__assert_fail_base): New function. Majority
46637 of code from __assert_fail. Allocate memory for __abort_msg with
46639 (__assert_fail): Now call __assert_fail_base.
46640 * assert/assert-perr.c: Remove bulk of implementation. Use
46641 __assert_fail_base.
46642 * include/assert.hL Declare __assert_fail_base.
46643 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
46645 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
46647 2011-05-14 Ulrich Drepper <drepper@gmail.com>
46651 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
46652 until all modules are registered in the DTV.
46653 * elf/Makefile: Add rules to build and run tst-tls19.
46654 * elf/tst-tls19.c: New file.
46655 * elf/tst-tls19mod1.c: New file.
46656 * elf/tst-tls19mod2.c: New file.
46657 * elf/tst-tls19mod3.c: New file.
46658 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
46661 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
46665 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
46666 two-byte sequence errors.
46667 * iconvdata/Makefile (tests): Add bug-iconv8.
46668 * iconvdata/bug-iconv8.c: New file.
46671 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
46674 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
46677 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
46678 (dummy_getcfa): New function.
46679 (init): Get _Unwind_GetCFA address, use dummy if not found.
46680 (backtrace_helper): In recursion check, also check whether CFA changes.
46681 (__backtrace): Completely initialize arg.
46683 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
46684 storing incomplete byte sequence in state object. Avoid testing for
46685 guaranteed too small input if we know there is enough data available.
46687 2011-05-11 Andreas Schwab <schwab@redhat.com>
46689 * Makeconfig (+link-pie): Indent.
46690 * Rules (binaries-pie): Define if $(have-fpie) and
46692 (binaries-shared): Also filter out $(binaries-pie).
46693 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
46694 * nscd/Makefile (others-pie): Add nscd.
46695 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
46696 ($(objpfx)nscd): Remove command override.
46697 * login/Makefile (others-pie): Add pt_chown.
46698 ($(objpfx)pt_chown): Remove command override.
46699 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
46700 remove command overrides.
46702 2011-05-13 Ulrich Drepper <drepper@gmail.com>
46704 * libio/tst_putwc.c: Fix error messages.
46707 * libio/fileops.c (_IO_new_file_close_it): Always flush when
46708 currently writing and seek to current position when not.
46709 * libio/Makefile (tests): Add bug-fclose1.
46710 * libio/bug-fclose1.c: New file.
46712 2011-05-12 Ulrich Drepper <drepper@gmail.com>
46715 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
46716 don't set DF_1_NODELETE here.
46717 (do_lookup_x): When entering new entry test for copy relocation
46718 and if necessary set DF_1_NODELETE flag.
46719 * elf/tst-unique4.cc: New file.
46720 * elf/tst-unique4.h: New file.
46721 * elf/tst-unique4lib.cc: New file.
46722 * elf/Makefile: Add rules to build and run tst-unique4.
46723 Patch by Piotr Bury <pbury@goahead.com>.
46725 2011-05-11 Ulrich Drepper <drepper@gmail.com>
46728 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
46731 * misc/mntent_r.c (addmntent): Flush the stream after the output
46734 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
46735 (is_trusted_path_normalize): Skip initial colon. Append slash
46736 to empty buffer. Duplicate is_trusted_path code but allow
46737 constructed patch to be prefix.
46738 (is_dst): Allow $ORIGIN followed by /.
46739 (_dl_dst_substitute): Correct clearing of check_for_trusted.
46740 Correct testing of result of is_trusted_path_normalize
46741 (decompose_rpath): Fix warning.
46743 2011-05-10 Ulrich Drepper <drepper@gmail.com>
46746 * grp/initgroups.c (internal_getgrouplist): When we found the service
46747 list through the initgroups entry in nsswitch.conf do not always
46748 continue on a successful lookup. Don't always use the
46749 __nss_group_database value if it is set.
46750 * nss/nsswitch.conf (initgroups): Change action for successful db
46751 lookup to continue for compatibility.
46753 2011-05-09 Ulrich Drepper <drepper@gmail.com>
46756 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
46758 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
46760 * iconvdata/tst-tables.sh: Likewise.
46761 * iconvdata/cp770.c: New file.
46762 * iconvdata/cp771.c: New file.
46763 * iconvdata/cp772.c: New file.
46764 * iconvdata/cp773.c: New file.
46765 * iconvdata/cp774.c: New file.
46766 * iconvdata/testdata/CP770: New file.
46767 * iconvdata/testdata/CP770..UTF8: New file.
46768 * iconvdata/testdata/CP771: New file.
46769 * iconvdata/testdata/CP771..UTF8: New file.
46770 * iconvdata/testdata/CP772: New file.
46771 * iconvdata/testdata/CP772..UTF8: New file.
46772 * iconvdata/testdata/CP773: New file.
46773 * iconvdata/testdata/CP773..UTF8: New file.
46774 * iconvdata/testdata/CP774: New file.
46775 * iconvdata/testdata/CP774..UTF8: New file.
46777 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
46779 * iconvdata/gen-8bit-gap.sh: Likewise.
46780 * iconvdata/gen-8bit.sh: Likewise.
46782 * locale/iso-639.def: Add ary entry.
46785 * locale/C-translit.h.in: Add U20A1 transliteration.
46788 * locale/iso-639.def: Add wae entry.
46789 Patch by Kevin Bortis <bortis@translate-wae.ch>.
46792 * locale/programs/localedef.c (construct_output_path): Use ssize_t
46796 * locale/C-translit.h.in: Add entry for U20B9.
46797 Patch by pravin.d.s@gmail.com.
46799 2011-05-08 Ulrich Drepper <drepper@gmail.com>
46802 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
46803 ENAMETOOLONG use generic getcwd.
46804 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
46805 in rtld. Use *stat64.
46806 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
46807 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
46808 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
46809 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
46810 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
46811 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
46812 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
46813 __fstatat64 macros.
46814 * include/dirent.h: Add libc_hidden_proto for rewinddir.
46815 * dirent/rewinddir.c: Add libc_hidden_def.
46816 * sysdeps/mach/hurd/rewinddir.c: Likewise.
46817 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
46819 * include/dirent.h (__alloc_dir): Add flags parameter.
46820 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
46821 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
46823 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
46824 from fdopendir if O_CLOEXEC is already set.
46826 2011-03-15 Alan Modra <amodra@gmail.com>
46828 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
46829 l_tls_firstbyte_offset non-zero. Save padding offset in
46830 l_tls_firstbyte_offset for later use.
46831 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
46832 freeing static tls block.
46834 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
46836 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
46837 where #ifdef was intended. The intent is to prevent ARG_MAX from
46838 being defined by the kernel headers.
46840 2011-05-07 Ulrich Drepper <drepper@gmail.com>
46843 * resolv/resolv.h: Define RES_NOTLDQUERY.
46844 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
46845 no-tld-query and set RES_NOTLDQUERY.
46846 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
46847 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
46848 modern BIND to search name as TLD unless forbidden.
46850 2011-05-07 Petr Baudis <pasky@suse.cz>
46851 Ulrich Drepper <drepper@gmail.com>
46854 * elf/dl-load.c (fillin_rpath): Move trusted path check...
46855 (is_trusted_path): ...to here.
46856 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
46857 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
46858 using is_trusted_path_normalize() in setuid scripts.
46860 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
46862 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
46863 __BEGIN/__END_DECLS.
46865 2011-05-06 Ulrich Drepper <drepper@gmail.com>
46867 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
46868 NSS_STATUS_NOTFOUND if no record was found.
46870 2011-05-05 Andreas Schwab <schwab@redhat.com>
46872 * sunrpc/Makefile (headers): Add rpc/netdb.h.
46873 (headers-not-in-tirpc): Remove rpc/netdb.h
46874 * resolv/netdb.h: Revert last change.
46876 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
46878 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
46879 circular dependency between libgcc.a and libc.a.
46881 2011-05-05 Andreas Schwab <schwab@redhat.com>
46883 * resolv/netdb.h: Don't include <rpc/netdb.h>.
46884 * nis/Makefile: Don't install rpcsvc/*.
46885 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
46886 instead of <rpc/types.h>.
46887 (MAXHOSTNAMELEN): Define.
46889 2011-05-03 Andreas Schwab <schwab@redhat.com>
46891 * elf/ldconfig.c (add_dir): Don't crash on empty path.
46893 2011-04-28 Maciej Babinski <mbabinski@google.com>
46896 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
46897 gethostbyname4_r when IPv6 results are possible.
46899 2011-05-02 Ulrich Drepper <drepper@gmail.com>
46902 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
46903 _PC_PIPE_BUF handling.
46905 2011-04-30 Bruno Haible <bruno@clisp.org>
46908 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
46909 * resolv/netdb.h (getnameinfo): Change type of flags parameter
46911 * inet/getnameinfo.c (getnameinfo): Likewise.
46913 2011-04-29 Ulrich Drepper <drepper@gmail.com>
46915 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
46916 to groups setting in database lookup.
46917 * nss/nsswitch.conf: Add initgroups entry.
46919 2011-04-22 Ulrich Drepper <drepper@gmail.com>
46922 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
46924 Patch by Eric Blake <eblake@redhat.com>.
46926 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
46928 * sunrpc/Makefile (need-export-routines): Add svc_run.
46929 (routines): Remove svc_run.
46930 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
46931 * sunrpc/clnt_perr.c (clnt_perrno): Export.
46932 * sunrpc/svc_run.c (svc_run): Likewise.
46933 * sunrpc/svc_udp.c (svcudp_create): Likewise.
46935 2011-04-21 Ulrich Drepper <drepper@gmail.com>
46937 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
46938 problem in reallocation in last patch.
46940 2011-04-20 Ulrich Drepper <drepper@gmail.com>
46942 * sunrpc/Makefile: Move inclusion of Rules.
46944 2011-04-19 Ulrich Drepper <drepper@gmail.com>
46946 * nss/nss_files/files-initgroups.c: New file.
46947 * nss/Makefile (libnss_files-routines): Add files-initgroups.
46948 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
46949 _nss_files_initgroups_dyn.
46951 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
46953 * elf/elf.h (R_ARM_IRELATIVE): Define.
46955 2011-04-19 Ulrich Drepper <drepper@gmail.com>
46957 * po/ru.po: Update from translation team.
46959 2011-04-17 Ulrich Drepper <drepper@gmail.com>
46961 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
46964 2011-02-06 Mike Frysinger <vapier@gentoo.org>
46967 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
46968 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
46969 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
46970 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
46971 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
46973 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
46975 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
46977 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
46978 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
46979 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
46981 2011-04-17 Ulrich Drepper <drepper@gmail.com>
46984 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
46986 * stdlib/bug-getcontext.c: New file.
46987 * stdlib/Makefile: Add rules to build and run bug-getcontext.
46989 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46991 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
46992 instructions into .machine "z9-109".
46993 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
46994 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
46996 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46998 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
46999 between environment variables and auxiliary vector.
47001 2011-04-16 Ulrich Drepper <drepper@gmail.com>
47003 * Makefile: Add rules to build linkobj/libc.so.
47004 * include/libc-symbols.h: Define libc_hidden_nolink.
47005 * include/rpc/auth.h: Mark functions which are to be hidden.
47006 * include/rpc/auth_des.h: Likewise.
47007 * include/rpc/auth_unix.h: Likewise.
47008 * include/rpc/clnt.h: Likewise.
47009 * include/rpc/des_crypt.h: Likewise.
47010 * include/rpc/key_prot.h: Likewise.
47011 * include/rpc/pmap_clnt.h: Likewise.
47012 * include/rpc/pmap_prot.h: Likewise.
47013 * include/rpc/pmap_rmt.h: Likewise.
47014 * include/rpc/rpc_msg.h: Likewise.
47015 * include/rpc/svc.h: Likewise.
47016 * include/rpc/svc_auth.h: Likewise.
47017 * include/rpc/xdr.h: Likewise.
47018 * nis/Makefile: Link all DSOs against linkobj/libc.so.
47019 * nss/Makefile: Likewise.
47020 * sunrpc/Makefile: Don't install headers. Build library with normal
47021 entry points. Don't build rpcinfo. Link RPC tests appropriately.
47022 * sunrpc/auth_des.c: Hide exported symbols by default, export some
47023 for the compat linking library. Remove use of INTDEF/INTUSE.
47024 * sunrpc/auth_none.c: Likewise.
47025 * sunrpc/auth_unix.c: Likewise.
47026 * sunrpc/authdes_prot.c: Likewise.
47027 * sunrpc/authuxprot.c: Likewise.
47028 * sunrpc/clnt_gen.c: Likewise.
47029 * sunrpc/clnt_perr.c: Likewise.
47030 * sunrpc/clnt_raw.c: Likewise.
47031 * sunrpc/clnt_simp.c: Likewise.
47032 * sunrpc/clnt_tcp.c: Likewise.
47033 * sunrpc/clnt_udp.c: Likewise.
47034 * sunrpc/clnt_unix.c: Likewise.
47035 * sunrpc/des_crypt.c: Likewise.
47036 * sunrpc/des_soft.c: Likewise.
47037 * sunrpc/get_myaddr.c: Likewise.
47038 * sunrpc/key_call.c: Likewise.
47039 * sunrpc/key_prot.c: Likewise.
47040 * sunrpc/netname.c: Likewise.
47041 * sunrpc/pm_getmaps.c: Likewise.
47042 * sunrpc/pm_getport.c: Likewise.
47043 * sunrpc/pmap_clnt.c: Likewise.
47044 * sunrpc/pmap_prot.c: Likewise.
47045 * sunrpc/pmap_prot2.c: Likewise.
47046 * sunrpc/pmap_rmt.c: Likewise.
47047 * sunrpc/publickey.c: Likewise.
47048 * sunrpc/rpc_cmsg.c: Likewise.
47049 * sunrpc/rpc_common.c: Likewise.
47050 * sunrpc/rpc_dtable.c: Likewise.
47051 * sunrpc/rpc_prot.c: Likewise.
47052 * sunrpc/rpc_thread.c: Likewise.
47053 * sunrpc/rtime.c: Likewise.
47054 * sunrpc/svc.c: Likewise.
47055 * sunrpc/svc_auth.c: Likewise.
47056 * sunrpc/svc_authux.c: Likewise.
47057 * sunrpc/svc_raw.c: Likewise.
47058 * sunrpc/svc_run.c: Likewise.
47059 * sunrpc/svc_simple.c: Likewise.
47060 * sunrpc/svc_tcp.c: Likewise.
47061 * sunrpc/svc_udp.c: Likewise.
47062 * sunrpc/svc_unix.c: Likewise.
47063 * sunrpc/svcauth_des.c: Likewise.
47064 * sunrpc/xcrypt.c: Likewise.
47065 * sunrpc/xdr.c: Likewise.
47066 * sunrpc/xdr_array.c: Likewise.
47067 * sunrpc/xdr_float.c: Likewise.
47068 * sunrpc/xdr_intXX_t.c: Likewise.
47069 * sunrpc/xdr_mem.c: Likewise.
47070 * sunrpc/xdr_rec.c: Likewise.
47071 * sunrpc/xdr_ref.c: Likewise.
47072 * sunrpc/xdr_sizeof.c: Likewise.
47073 * sunrpc/xdr_stdio.c: Likewise.
47075 2011-04-10 Ulrich Drepper <drepper@gmail.com>
47078 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
47079 * sysdeps/ia64/dl-tls.h: Likewise.
47080 * sysdeps/powerpc/dl-tls.h: Likewise.
47081 * sysdeps/s390/dl-tls.h: Likewise.
47082 * sysdeps/sh/dl-tls.h: Likewise.
47083 * sysdeps/sparc/dl-tls.h: Likewise.
47084 * sysdeps/x86_64/dl-tls.h: Likewise.
47085 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
47087 2011-03-14 Andreas Schwab <schwab@redhat.com>
47089 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
47090 rpath element also skip the following colon.
47091 (expand_dynamic_string_token): Add is_path parameter and pass
47092 down to DL_DST_REQUIRED and _dl_dst_substitute.
47093 (decompose_rpath): Call expand_dynamic_string_token with
47094 non-zero is_path. Ignore empty rpaths.
47095 (_dl_map_object_from_fd): Call expand_dynamic_string_token
47098 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
47100 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
47103 2011-04-09 Ulrich Drepper <drepper@gmail.com>
47106 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
47107 Patch by Filipe David Manana <fdmanana@apache.org>.
47109 2011-04-07 Andreas Schwab <schwab@redhat.com>
47111 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
47112 Maintain aligned stack.
47113 (CHECK_RSP): Remove unused macro.
47115 2011-04-03 Ulrich Drepper <drepper@gmail.com>
47117 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
47118 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
47120 2011-04-02 Ulrich Drepper <drepper@gmail.com>
47122 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
47124 * include/features.h: Mention __USE_XOPEN2K8 in comment.
47126 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
47129 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
47130 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
47131 * sysdeps/x86_64/memmove.c: New file.
47132 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
47133 (memcpy): Renamed to ...
47134 (__new_memcpy): This.
47135 (memcpy): Provide GLIBC_2_14 memcpy.
47136 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
47137 (memcpy): Provide GLIBC_2_2_5 memcpy.
47139 2011-04-01 Ulrich Drepper <drepper@gmail.com>
47142 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
47144 2011-03-30 Andreas Schwab <schwab@redhat.com>
47146 * misc/syncfs.c: New file.
47147 * misc/Makefile (routines): Add syncfs.
47148 * posix/unistd.h: Declare syncfs.
47149 * sysdeps/unix/syscalls.list: Add syncfs.
47151 2011-04-01 Andreas Schwab <schwab@redhat.com>
47153 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
47155 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
47156 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
47157 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
47158 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
47159 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
47160 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
47161 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
47163 2011-04-01 Ulrich Drepper <drepper@gmail.com>
47165 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
47166 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
47167 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
47168 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
47169 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
47170 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
47171 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
47173 * io/Makefile: Compile fallocate.c, fallocate64.c, and
47174 sync_file_range.c with -fexceptions.
47175 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
47176 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
47177 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
47178 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
47179 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
47180 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
47181 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
47182 sync_file_range as cancellation point
47183 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
47184 now a wrapper around __call_sync_file_range with cancellation handling.
47185 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
47186 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
47187 function name to __call_sync_file_range.
47188 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
47189 Add call_sync_file_range.
47191 2011-04-01 Andreas Schwab <schwab@redhat.com>
47193 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47196 2011-04-01 Ulrich Drepper <drepper@gmail.com>
47198 * iconv/iconv.h: Fix typo in comment.
47199 * io/fcntl.h: Likewise.
47200 * libio/stdio.h: Likewise.
47201 * posix/spawn.h: Likewise.
47202 * posix/unistd.h: Likewise.
47203 * stdlib/stdlib.h: Likewise.
47204 * time/time.h: Likewise.
47205 * wcsmbs/wchar.h: Likewise.
47207 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
47208 open_by_handle): Add.
47209 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
47210 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
47211 Augment a few comments.
47212 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
47213 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
47214 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
47215 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
47216 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
47217 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
47220 * io/fcntl.h (AT_EMPTY_PATH): Define.
47222 2011-03-30 Ulrich Drepper <drepper@gmail.com>
47224 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
47225 * sysdeps/unix/sysv/linux/bits/time.h: New file.
47226 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
47228 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
47229 * Versions.def: Add GLIBC_2.14.
47230 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
47233 2011-03-22 Ulrich Drepper <drepper@gmail.com>
47235 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
47237 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
47239 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
47242 * string/test-strncmp.c (do_page_test): New function.
47243 (check2): Likewise.
47244 (test_main): Call check2.
47245 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
47247 2011-03-20 Ulrich Drepper <drepper@gmail.com>
47250 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
47251 Handle cache information in CPU leaf 4.
47252 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
47254 2011-03-18 Ulrich Drepper <drepper@gmail.com>
47257 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
47258 character representation.
47259 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
47261 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
47263 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
47264 END(__isnan) to END(__isnanf) to match function entry point/label
47265 EALIGN(__isnanf,...).
47267 2011-03-10 Jakub Jelinek <jakub@redhat.com>
47269 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
47271 2011-03-10 Ulrich Drepper <drepper@gmail.com>
47274 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
47275 copy from the symbol referenced in the relocation to initialize the
47277 Patch by Piotr Bury <pbury@goahead.com>.
47278 * elf/Makefile: Add rules to build and tst-unique3.
47279 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
47280 * elf/tst-unique3.cc: New file.
47281 * elf/tst-unique3.h: New file.
47282 * elf/tst-unique3lib.cc: New file.
47283 * elf/tst-unique3lib2.cc: New file.
47285 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
47287 2011-03-10 Mike Frysinger <vapier@gentoo.org>
47289 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
47290 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
47293 2011-03-06 Ulrich Drepper <drepper@gmail.com>
47295 * elf/dl-load.c (_dl_map_object): If we are looking for the first
47296 to-be-loaded object along a path to loader is ld.so.
47298 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
47299 Ulrich Drepper <drepper@gmail.com>
47301 * sysdeps/x86_64/memset.S: After aligning destination, code
47302 branches to different locations depending on the value of
47303 misalignment, when multiarch is enabled. Fix this.
47305 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
47307 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
47308 Set _x86_64_preferred_memory_instruction for AMD processsors.
47309 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47310 Set bit_Prefer_SSE_for_memop for AMD processors.
47312 2011-03-04 Ulrich Drepper <drepper@gmail.com>
47314 * libio/fmemopen.c (fmemopen): Optimize a bit.
47316 2011-03-03 Andreas Schwab <schwab@redhat.com>
47318 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
47320 2011-03-03 Roland McGrath <roland@redhat.com>
47322 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
47324 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
47326 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
47327 __bzero_ultra1 instead of __memset_ultra1.
47329 2011-02-23 Andreas Schwab <schwab@redhat.com>
47330 Ulrich Drepper <drepper@gmail.com>
47333 * include/link.h (struct link_map): Add l_orig_initfini.
47334 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
47335 returning unsuccessfully.
47336 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
47337 close of a file loaded at startup, restore the original l_initfini
47339 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
47340 list, store the pointer.
47341 * elf/Makefile ($(objpfx)noload-mem): New rule.
47342 (noload-ENV): Define.
47343 (tests): Add $(objpfx)noload-mem.
47344 * elf/noload.c: Include <memcheck.h>.
47345 (main): Call mtrace. Close all opened handles.
47347 2011-02-17 Andreas Schwab <schwab@redhat.com>
47350 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
47351 dependencies are missing.
47353 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
47355 Fix __if_freereq crash: Unlike the generic version which uses free,
47357 * sysdeps/mach/hurd/ifreq.h: New file.
47359 2011-01-27 Petr Baudis <pasky@suse.cz>
47360 Ulrich Drepper <drepper@gmail.com>
47363 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
47364 to extend_alloca().
47365 * stdio-common/bug23.c: New file.
47366 * stdio-common/Makefile (tests): Add bug23.
47368 2010-09-28 Andreas Schwab <schwab@redhat.com>
47369 Ulrich Drepper <drepper@gmail.com>
47372 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
47373 before performing relro protection. At old place add assertion
47374 to make sure nothing changed.
47376 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
47377 Glauber de Oliveira Costa <glommer@gmail.com>
47379 * elf/elf.h: Add new ARM TLS relocs.
47381 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
47383 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
47384 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
47386 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
47388 * sysdeps/wordsize-64/tst-writev.c: New file.
47390 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
47392 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
47393 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
47394 insns in _dl_start to prevent a TOC reference before relocs are
47397 2011-02-15 Ulrich Drepper <drepper@gmail.com>
47400 * Makeconfig: Remove RANLIB definition.
47401 * Makerules: Don't use RANLIB.
47402 * aclocal.m4: Remove ranlib test.
47403 * configure.in: No need to check for ranlib.
47404 * elf/rtld-Rules: Don't use RANLIB.
47406 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
47408 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
47410 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
47411 inclusion protection macro.
47413 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
47414 SIGRTMIN and SIGRTMAX and print information in that case only when
47415 SIGRTMIN is defined.
47417 2011-02-11 Jakub Jelinek <jakub@redhat.com>
47419 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
47420 arginfo fn returning -1.
47422 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
47423 and thousands string is zero terminated.
47425 2011-02-03 Andreas Schwab <schwab@redhat.com>
47427 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
47428 sysdeps/unix/sysv/linux/bits/socket.h.
47430 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
47432 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
47433 (__CPU_COUNT): Remove old macros.
47434 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
47435 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
47436 (__CPU_ALLOC, __CPU_FREE): Add macros.
47437 (__sched_cpualloc, __sched_cpufree): Add declarations.
47439 2011-02-05 Ulrich Drepper <drepper@gmail.com>
47441 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
47442 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
47443 * nscd/aicache.c (addhstaiX): Return timeout of added value.
47444 (readdhstai): Return value of addhstaiX call.
47445 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
47446 (addgrbyX): Return value returned by cache_addgr.
47447 (readdgrbyname): Return value returned by addgrbyX.
47448 (readdgrbygid): Likewise.
47449 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
47450 (addpwbyX): Return value returned by cache_addpw.
47451 (readdpwbyname): Return value returned by addhstbyX.
47452 (readdpwbyuid): Likewise.
47453 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
47454 (addservbyX): Return value returned by cache_addserv.
47455 (readdservbyname): Return value returned by addservbyX:
47456 (readdservbyport): Likewise.
47457 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
47458 (addhstbyX): Return value returned by cache_addhst.
47459 (readdhstbyname): Return value returned by addhstbyX.
47460 (readdhstbyaddr): Likewise.
47461 (readdhstbynamev6): Likewise.
47462 (readdhstbyaddrv6): Likewise.
47463 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
47464 (readdinitgroups): Return value returned by addinitgroupsX.
47465 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
47466 (prune_cache): Keep track of timeout value of re-added entries.
47467 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
47468 * nscd/nscd.h: Adjust prototypes of readd* functions.
47470 2011-02-04 Roland McGrath <roland@redhat.com>
47472 * nis/nis_server.c (nis_servstate): Use the right name for 0.
47473 (nis_stats): Likewise.
47474 * nis/nis_modify.c (nis_modify): Likewise.
47475 * nis/nis_remove.c (nis_remove): Likewise.
47476 * nis/nis_add.c (nis_add): Likewise.
47478 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
47480 * posix/fnmatch_loop.c: Add some consts.
47482 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
47484 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
47487 * config.make.in (config-cflags-novzeroupper): Define.
47488 * configure.in: Substitute libc_cv_cc_novzeroupper.
47489 * elf/Makefile (AVX-CFLAGS): Define.
47490 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
47491 (CFLAGS-tst-auditmod4a.c): Likewise.
47492 (CFLAGS-tst-auditmod4b.c): Likewise.
47493 (CFLAGS-tst-auditmod6b.c): Likewise.
47494 (CFLAGS-tst-auditmod6c.c): Likewise.
47495 (CFLAGS-tst-auditmod7b.c): Likewise.
47496 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
47498 2011-02-02 Ulrich Drepper <drepper@gmail.com>
47500 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
47501 function to the callback.
47502 Patch partly by Jiri Olsa <jolsa@redhat.com>.
47504 2011-02-02 Andreas Schwab <schwab@redhat.com>
47506 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
47509 2011-01-19 Ulrich Drepper <drepper@gmail.com>
47512 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
47514 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
47516 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
47519 * elf/Makefile: Add rules to build and run new test.
47520 * elf/tst-initorder.c: New file.
47521 * elf/tst-initorder.exp: New file.
47522 * elf/tst-initordera1.c: New file.
47523 * elf/tst-initordera2.c: New file.
47524 * elf/tst-initordera3.c: New file.
47525 * elf/tst-initordera4.c: New file.
47526 * elf/tst-initorderb1.c: New file.
47527 * elf/tst-initorderb2.c: New file.
47528 * elf/tst-order-a1.c: New file.
47529 * elf/tst-order-a2.c: New file.
47530 * elf/tst-order-a3.c: New file.
47531 * elf/tst-order-a4.c: New file.
47532 * elf/tst-order-b1.c: New file.
47533 * elf/tst-order-b2.c: New file.
47534 * elf/tst-order-main.c: New file.
47535 New test case by George Gensure <werkt0@gmail.com>.
47537 2010-10-01 Andreas Schwab <schwab@redhat.com>
47539 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
47540 decoding ACE if AI_CANONIDN.
47542 2011-01-18 Ulrich Drepper <drepper@gmail.com>
47544 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
47546 2011-01-17 Ulrich Drepper <drepper@gmail.com>
47548 * version.h (RELEASE): Bump for 2.13 release.
47549 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
47551 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
47553 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
47555 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
47556 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
47557 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
47558 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
47559 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
47560 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
47562 * posix/getconf.c: Update copyright year.
47563 * catgets/gencat.c: Likewise.
47564 * csu/version.c: Likewise.
47565 * debug/catchsegv.sh: Likewise.
47566 * debug/xtrace.sh: Likewise.
47567 * elf/ldconfig.c: Likewise.
47568 * elf/ldd.bash.in: Likewise.
47569 * elf/sprof.c (print_version): Likewise.
47570 * iconv/iconv_prog.c: Likewise.
47571 * iconv/iconvconfig.c: Likewise.
47572 * locale/programs/locale.c: Likewise.
47573 * locale/programs/localedef.c: Likewise.
47574 * malloc/memusage.sh: Likewise.
47575 * malloc/mtrace.pl: Likewise.
47576 * nscd/nscd.c (print_version): Likewise.
47577 * nss/getent.c: Likewise.
47579 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
47580 PF_CAIF, and PF_ALG.
47581 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
47583 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
47585 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
47586 (modules-names): Use them.
47587 (ifunc-test-modules, ifunc-pie-tests): Define.
47588 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
47589 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
47590 (test-extras): Likewise.
47591 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
47592 $(compile-command.c).
47593 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
47594 (all-built-dso): Define.
47595 (check-textrel.out, check-execstack.out): Depend on it.
47597 * configure.in: Don't override --enable-multi-arch.
47599 2011-01-15 Ulrich Drepper <drepper@gmail.com>
47602 * nscd/hstcache.c (tryagain): Define.
47603 (cache_addhst): Return tryagain not notfound for temporary errors.
47604 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
47607 2011-01-14 Ulrich Drepper <drepper@gmail.com>
47610 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
47611 to make the syscall.
47612 * sysdeps/unix/sysv/linux/setgroups.c: New file.
47615 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
47616 and fall back to matching as normal character if the string ends before
47617 the matching ']' is found. This is what POSIX requires.
47618 * posix/testfnm.c: Adjust test result.
47619 * posix/globtest.sh: Adjust test result. Add new test.
47620 * posix/tst-fnmatch.input: Likewise.
47621 * posix/tst-fnmatch2.c: Add new test.
47623 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
47625 * elf/Makefile (check-execstack): Revert last change. Depend on
47627 (check-execstack.h): New target.
47628 (generated): Add check-execstack.h.
47629 * elf/check-execstack.c: Include "check-execstack.h".
47630 (main): Revert last change.
47631 (handle_file): Return zero if GNU_STACK is absent and
47632 DEFAULT_STACK_PERMS doesn't include PF_X.
47634 2011-01-13 Ulrich Drepper <drepper@gmail.com>
47636 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
47637 in child fails because the descriptor is already closed.
47638 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
47639 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
47640 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
47643 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
47647 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
47648 temporary buffer used to handle multi lookups locally.
47649 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
47651 2011-01-12 Ulrich Drepper <drepper@gmail.com>
47653 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
47656 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
47658 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
47659 alignment for SSE2.
47661 2011-01-12 Ulrich Drepper <drepper@gmail.com>
47664 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
47665 characters. When rounding increased number of integer digits recompute
47667 * stdio-common/tst-grouping.c: New file.
47668 * stdio-common/Makefile: Add rules to build and run tst-grouping.
47670 2011-01-09 Ulrich Drepper <drepper@gmail.com>
47672 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
47673 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
47675 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
47677 * bits/select.h: Likewise.
47679 2011-01-08 Ulrich Drepper <drepper@gmail.com>
47681 * po/ja.po: Update from translation team.
47683 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
47686 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
47687 implementation just like for lxstat, fxstatat, et al.
47689 2010-12-27 Jim Meyering <meyering@redhat.com>
47692 * posix/regexec.c (build_trtable): Return failure indication upon
47693 calloc failure. Otherwise, re_search_internal could infloop on OOM.
47695 2010-12-25 Ulrich Drepper <drepper@gmail.com>
47698 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
47699 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
47700 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
47701 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
47704 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
47707 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
47708 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
47710 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
47712 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
47713 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
47714 script has SORT_BY_INIT_PRIORITY.
47715 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
47716 NO_CTORS_DTORS_SECTIONS is defined.
47717 * elf/soinit.c: Likewise.
47718 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
47719 NO_CTORS_DTORS_SECTIONS is defined.
47720 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
47721 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
47722 * sysdeps/sh/init-first.c: Likewise.
47723 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
47725 2010-12-24 Ulrich Drepper <drepper@gmail.com>
47727 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
47728 always use the slow path.
47730 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
47732 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
47733 similar rule which adds the sysdep directories to the header search in
47734 order to pick up the correct platform stackinfo.h.
47735 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
47736 perform test if it is, otherwise return successfully without testing.
47737 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
47738 DEFAULT_STACK_PERMS define in stackinfo.h.
47739 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
47740 defined in stackinfo.h.
47741 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
47742 DEFAULT_STACK_PERMS defined in stackinfo.h.
47743 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
47744 * sysdeps/ia64/stackinfo.h: Likewise.
47745 * sysdeps/s390/stackinfo.h: Likewise.
47746 * sysdeps/sh/stackinfo.h: Likewise.
47747 * sysdeps/sparc/stackinfo.h: Likewise.
47748 * sysdeps/x86_64/stackinfo.h: Likewise.
47749 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
47750 PF_X for powerpc64. Retain PF_X for powerpc32.
47752 2010-12-19 Ulrich Drepper <drepper@gmail.com>
47754 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
47756 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
47757 GETDENTS_64BIT_ALIGNED.
47759 2010-12-14 Ulrich Drepper <dreper@gmail.com>
47761 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
47763 2010-12-10 Andreas Schwab <schwab@redhat.com>
47765 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
47768 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
47769 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
47771 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
47772 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
47774 2010-12-09 Ulrich Drepper <drepper@gmail.com>
47777 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
47780 2010-12-09 Jakub Jelinek <jakub@redhat.com>
47782 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
47784 2010-12-03 Ulrich Drepper <drepper@gmail.com>
47786 * po/it.po: Update from translation team.
47788 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
47790 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
47793 2010-11-30 Ulrich Drepper <drepper@gmail.com>
47795 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
47797 2010-11-24 Andreas Schwab <schwab@redhat.com>
47799 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
47801 (gaih_getanswer_slice): Likewise.
47803 2010-10-20 Jakub Jelinek <jakub@redhat.com>
47805 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
47807 2010-05-31 Petr Baudis <pasky@suse.cz>
47810 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
47811 silently even in the chroot mode.
47813 2010-11-22 Ulrich Drepper <drepper@gmail.com>
47815 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
47816 last patch a bit. Pretty printing
47818 2010-05-31 Petr Baudis <pasky@suse.cz>
47821 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
47822 initialization of skip_initgroups_dyn.
47824 2010-11-19 Ulrich Drepper <drepper@gmail.com>
47826 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
47827 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
47829 2010-11-16 Ulrich Drepper <drepper@gmail.com>
47831 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
47833 2010-11-11 Andreas Schwab <schwab@redhat.com>
47835 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
47836 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
47837 (tst-fnmatch-ENV): Set MALLOC_TRACE.
47838 ($(objpfx)tst-fnmatch-mem): New rule.
47839 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
47840 * posix/tst-fnmatch.c (main): Call mtrace.
47842 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
47844 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47845 Support Intel processor model 6 and model 0x2c.
47847 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
47849 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
47852 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
47855 * string/test-strncasecmp.c (check_result): New function.
47856 (do_one_test): Use it.
47857 (check1): New function.
47858 (test_main): Use it.
47859 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
47860 Support strcasecmp and strncasecmp.
47862 2010-11-08 Ulrich Drepper <drepper@gmail.com>
47865 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
47866 * sysdeps/x86_64/bits/byteswap.h: Likewise.
47868 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
47870 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
47872 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47874 * sysdeps/x86_64/multiarch/bzero.S: New file.
47875 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
47876 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
47877 * sysdeps/x86_64/multiarch/memset.S: New file.
47878 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
47879 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47880 Set bit_Prefer_SSE_for_memop for Intel processors.
47881 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
47883 (index_Prefer_SSE_for_memop): Define.
47884 (HAS_PREFER_SSE_FOR_MEMOP): Define.
47886 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
47888 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
47889 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
47891 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
47894 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
47895 (__x86_64_raw_data_cache_size_half): Likewise.
47896 (__x86_64_raw_shared_cache_size): Likewise.
47897 (__x86_64_raw_shared_cache_size_half): Likewise.
47899 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
47900 (__x86_64_raw_data_cache_size_half): Likewise.
47901 (__x86_64_raw_shared_cache_size): Likewise.
47902 (__x86_64_raw_shared_cache_size_half): Likewise.
47903 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
47904 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
47905 and __x86_64_raw_shared_cache_size_half. Round
47906 __x86_64_data_cache_size_half, __x86_64_data_cache_size
47907 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
47908 to multiple of 256 bytes.
47910 2010-11-03 Ulrich Drepper <drepper@gmail.com>
47913 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
47914 of inacessible symlinks. Verify result of symlink before returning it.
47915 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
47916 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
47918 2010-10-28 Erich Ritz <erichritz@gmail.com>
47920 * math/math.h (isinf): Fix typo in comment.
47922 2010-11-01 Ulrich Drepper <drepper@gmail.com>
47924 * po/da.po: Update from translation team.
47926 2010-10-26 Ulrich Drepper <drepper@gmail.com>
47928 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
47929 is added to the list.
47931 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47932 Ulrich Drepper <drepper@gmail.com>
47934 * elf/dl-object.c (_dl_new_object): Don't append the new object to
47935 the global list here. Move code to...
47936 (_dl_add_to_namespace_list): ...here. New function.
47937 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
47938 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
47939 * elf/dl-load.c (lose): Don't remove the element from the list.
47940 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
47941 (_dl_map_object): Likewise.
47943 2010-10-25 Ulrich Drepper <drepper@gmail.com>
47946 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
47947 into all bytes of SSE register.
47948 Patch by Richard Li <richardpku@gmail.com>.
47950 2010-10-24 Ulrich Drepper <drepper@gmail.com>
47953 * malloc/malloc.c (_int_free): Fill correct number of bytes when
47956 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
47958 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
47959 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
47960 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
47961 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
47962 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
47964 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
47966 2010-10-22 Andreas Schwab <schwab@redhat.com>
47968 * include/dlfcn.h (__RTLD_SECURE): Define.
47969 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
47970 mode & __RTLD_SECURE instead.
47971 (open_path): Rename preloaded parameter to secure.
47972 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
47973 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
47974 * elf/dl-deps.c (openaux): Likewise.
47975 * elf/rtld.c (struct map_args): Remove is_preloaded.
47976 (map_doit): Don't use it.
47977 (dl_main): Likewise.
47978 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
47979 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
47981 2010-09-09 Andreas Schwab <schwab@redhat.com>
47983 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
47984 (sysd-rules-targets): Remove duplicates.
47985 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
47986 rtld-%.$o dependency.
47988 2010-10-18 Andreas Schwab <schwab@redhat.com>
47990 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
47991 _dl_map_object do it.
47993 2010-10-19 Ulrich Drepper <drepper@gmail.com>
47995 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
47996 fast fma builtins, define the macros in the C99 standard.
47997 (FP_FAST_FMAF): Likewise.
47998 (FP_FAST_FMAL): Likewise.
47999 * sysdeps/x86_64/bits/mathdef.h: Likewise.
48001 * bits/mathdef.h: Update copyright year.
48002 * sysdeps/powerpc/bits/mathdef.h: Likewise.
48004 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
48006 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
48007 builtins, define the macros in the C99 standard.
48008 (FP_FAST_FMAF): Likewise.
48009 (FP_FAST_FMAL): Likewise.
48010 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
48012 (FP_FAST_FMAF): Likewise.
48014 2010-10-15 Jakub Jelinek <jakub@redhat.com>
48017 * math/libm-test.inc (fma_test): Some new testcases.
48018 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
48019 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
48020 y and infinite z. Do multiplication by C already in long double.
48021 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
48022 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
48023 y and infinite z. Do bitwise or of inexact bit into u.d.
48024 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
48025 * sysdeps/i386/fpu/s_fmaf.S: Removed.
48026 * sysdeps/i386/fpu/s_fma.S: Removed.
48027 * sysdeps/i386/fpu/s_fmal.S: Removed.
48029 2010-10-16 Jakub Jelinek <jakub@redhat.com>
48032 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
48033 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
48034 computation is not scheduled after fetestexcept. Fix value
48035 of minimum denormal long double.
48037 2010-10-14 Jakub Jelinek <jakub@redhat.com>
48040 * math/libm-test.inc (fma_test): Add some more tests.
48041 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
48044 2010-10-15 Andreas Schwab <schwab@redhat.com>
48046 * scripts/data/localplt-s390-linux-gnu.data: New file.
48047 * scripts/data/localplt-s390x-linux-gnu.data: New file.
48049 2010-10-13 Jakub Jelinek <jakub@redhat.com>
48052 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
48053 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
48055 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
48057 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
48058 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
48059 if one of x and y is very large and the other is subnormal.
48060 * sysdeps/s390/fpu/s_fmaf.c: New file.
48061 * sysdeps/s390/fpu/s_fma.c: New file.
48062 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
48063 * sysdeps/powerpc/fpu/s_fma.S: New file.
48064 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
48065 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
48066 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
48068 2010-10-12 Jakub Jelinek <jakub@redhat.com>
48071 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
48073 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
48074 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
48075 * sysdeps/i386/i686/multiarch/s_fma.c: Include
48076 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
48077 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
48078 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
48079 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
48081 2010-10-12 Ulrich Drepper <drepper@redhat.com>
48084 * posix/regcomp.c (parse_branch): One more memory leak plugged.
48085 * posix/bug-regex31.input: Add test case.
48087 2010-10-11 Ulrich Drepper <drepper@gmail.com>
48089 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
48090 * posix/bug-regex31.input: New file.
48093 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
48094 (parse_sub_exp): Fix last change, use postorder.
48096 * posix/bug-regex31.c: New file.
48097 * posix/Makefile: Add rules to build and run bug-regex31.
48099 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
48102 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
48105 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
48106 to have entries in sys_siglist.
48109 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
48112 2010-10-07 Jakub Jelinek <jakub@redhat.com>
48115 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
48116 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
48117 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
48118 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
48119 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
48120 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
48121 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
48122 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
48123 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
48124 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
48125 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
48126 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
48127 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
48128 * math/ftestexcept.c (fetestexcept): Likewise.
48129 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
48130 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
48131 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
48132 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
48133 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
48134 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
48135 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
48137 2010-10-11 Ulrich Drepper <drepper@gmail.com>
48140 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
48143 2010-10-06 Ulrich Drepper <drepper@gmail.com>
48145 * string/bug-strstr1.c: New file.
48146 * string/Makefile: Add rules to build and run bug-strstr1.
48148 2010-10-05 Eric Blake <eblake@redhat.com>
48151 * string/str-two-way.h (two_way_long_needle): Always clear memory
48152 when skipping input due to the shift table.
48154 2010-10-03 Ulrich Drepper <drepper@gmail.com>
48157 * malloc/mcheck.c: Handle large requests.
48160 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
48161 for strncmp and strncasecmp.
48162 * string/stratcliff.c: Add tests for strcmp and strncmp.
48163 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
48165 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
48167 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
48170 2010-09-30 Andreas Jaeger <aj@suse.de>
48172 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
48173 (CGROUP_SUPER_MAGIC): Define.
48174 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
48175 Handle btrfs and cgroup file systems.
48176 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
48179 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
48181 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
48182 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
48184 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48187 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
48188 trying to locate the ELF header.
48190 2010-09-27 Andreas Schwab <schwab@redhat.com>
48193 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
48194 Mask out sign-bit copies when constructing f_fsid.
48196 2010-09-24 Petr Baudis <pasky@suse.cz>
48198 * debug/stack_chk_fail_local.c: Add missing licence exception.
48199 * debug/warning-nop.c: Likewise.
48201 2010-09-15 Joseph Myers <joseph@codesourcery.com>
48203 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
48204 implementing getdents64 using getdents syscall, set d_type if
48205 __ASSUME_GETDENTS32_D_TYPE.
48207 2010-09-16 Andreas Schwab <schwab@redhat.com>
48209 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
48210 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
48212 2010-09-21 Ulrich Drepper <drepper@redhat.com>
48215 * posix/unistd.h: Undo change of feature selection for ftruncate from
48218 2010-09-20 Ulrich Drepper <drepper@redhat.com>
48220 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
48223 2010-09-20 Andreas Schwab <schwab@redhat.com>
48225 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
48227 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
48229 2010-09-14 Andreas Schwab <schwab@redhat.com>
48231 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
48232 variables after CHECK_SP call.
48233 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
48235 2010-09-13 Andreas Schwab <schwab@redhat.com>
48236 Ulrich Drepper <drepper@redhat.com>
48238 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
48239 re-relocationg ld.so.
48240 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
48241 _dl_init_paths call.
48242 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
48245 2010-09-14 Ulrich Drepper <drepper@redhat.com>
48247 * resolv/res_init.c (__res_vinit): Count the default server we added.
48249 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
48250 Ulrich Drepper <drepper@redhat.com>
48253 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
48254 (____longjmp_chk): Use %ebx for saving value across system call.
48257 2010-09-06 Andreas Schwab <schwab@redhat.com>
48259 * manual/Makefile: Don't mix pattern rules with normal rules.
48261 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
48263 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
48265 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
48266 * libio/iofopncook.c (_IO_cookie_init): Likewise.
48267 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
48268 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
48269 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
48272 2010-09-04 Ulrich Drepper <drepper@redhat.com>
48275 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
48276 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
48278 2010-09-02 Ulrich Drepper <drepper@redhat.com>
48280 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
48281 * sysdeps/x86_64/addmul_1.S: Likewise.
48282 * sysdeps/x86_64/lshift.S: Likewise.
48283 * sysdeps/x86_64/mul_1.S: Likewise.
48284 * sysdeps/x86_64/rshift.S: Likewise.
48285 * sysdeps/x86_64/sub_n.S: Likewise.
48286 * sysdeps/x86_64/submul_1.S: Likewise.
48288 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
48290 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
48291 Define __sched_param instead of SCHED_* and sched_param when
48292 <bits/sched.h> is included with __need_schedparam defined.
48293 * bits/sched.h [__need_schedparam]
48294 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
48295 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
48296 (__defined_schedparam): Define to 1.
48297 (__sched_param): New structure, identical to sched_param.
48298 (__need_schedparam): Undefine.
48300 2010-08-31 Mike Frysinger <vapier@gentoo.org>
48302 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
48303 (epoll_create1): Declare.
48305 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
48307 2010-08-31 Andreas Schwab <schwab@redhat.com>
48310 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
48311 shifting retval into place.
48313 2010-09-01 Ulrich Drepper <drepper@redhat.com>
48315 * nis/rpcsvc/nis.h: Update copyright notice.
48316 * nis/rpcsvc/nis.x: Likewise.
48317 * nis/rpcsvc/nis_callback.h: Likewise.
48318 * nis/rpcsvc/nis_callback.x: Likewise.
48319 * nis/rpcsvc/nis_object.x: Likewise.
48320 * nis/rpcsvc/nis_tags.h: Likewise.
48321 * nis/rpcsvc/yp.h: Likewise.
48322 * nis/rpcsvc/yp.x: Likewise.
48323 * nis/rpcsvc/ypupd.h: Likewise.
48324 * nis/yp_xdr.c: Likewise.
48325 * nis/ypupdate_xdr.c: Likewise.
48327 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
48328 mainly the body of pmap_getport. Add parameters to specify timeouts.
48329 (pmap_getport): Use __libc_rpc_getport.
48330 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
48331 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
48332 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
48334 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
48336 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
48339 2010-08-27 Roland McGrath <roland@redhat.com>
48341 * sysdeps/i386/i686/multiarch/Makefile
48342 (CFLAGS-varshift.c): New variable.
48344 2010-08-27 Ulrich Drepper <drepper@redhat.com>
48346 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
48347 * sysdeps/i386/i686/multiarch/varshift.c: New file.
48349 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
48351 * sysdeps/x86_64/strlen.S: Minimal code improvement.
48353 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
48355 * sysdeps/x86_64/strlen.S: Unroll the loop.
48356 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48357 strlen-sse2 strlen-sse2-bsf.
48358 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
48359 __strlen_no_bsf if bit_Slow_BSF is set.
48360 (__strlen_sse42): Removed.
48361 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
48362 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
48364 2010-08-25 Roland McGrath <roland@redhat.com>
48366 * sysdeps/x86_64/multiarch/varshift.S: File removed.
48367 * sysdeps/x86_64/multiarch/varshift.c: New file.
48368 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
48369 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
48370 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
48371 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
48373 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
48375 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
48376 strlen-sse2 strlen-sse2-bsf.
48377 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
48378 __strlen_sse2_bsf if bit_Slow_BSF is unset.
48379 (__strlen_sse2): Removed.
48380 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
48381 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
48382 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
48383 bit_Slow_BSF for Atom.
48384 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
48385 (index_Slow_BSF): Define.
48386 (HAS_SLOW_BSF): Define.
48388 2010-08-25 Ulrich Drepper <drepper@redhat.com>
48391 * resolv/res_init.c (__res_vinit): When no server address at all
48392 is given default to loopback.
48394 2010-08-24 Roland McGrath <roland@redhat.com>
48396 * configure.in: Remove config-name.h generation.
48397 * configure: Regenerated.
48398 * config-name.in: File removed.
48399 * scripts/config-uname.sh: New file.
48400 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
48401 ($(objdir)config-name.h): New target.
48403 * sunrpc/rpc_parse.h: Avoid nested comment.
48405 2010-08-24 Richard Henderson <rth@redhat.com>
48406 Ulrich Drepper <drepper@redhat.com>
48407 H.J. Lu <hongjiu.lu@intel.com>
48409 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
48410 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
48411 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
48412 Replace _mm_srli_si128 with __m128i_shift_right. Replace
48413 _mm_alignr_epi8 with _mm_loadu_si128.
48414 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
48415 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
48416 (__m128i_shift_right): Removed.
48417 * sysdeps/i386/i686/multiarch/varshift.h: New file.
48418 * sysdeps/i386/i686/multiarch/varshift.S: New file.
48419 * sysdeps/x86_64/multiarch/varshift.h: New file.
48420 * sysdeps/x86_64/multiarch/varshift.S: New file.
48422 2010-08-21 Mike Frysinger <vapier@gentoo.org>
48424 * configure.in: Move assembler checks to before sysdep dir checking.
48426 2010-08-20 Petr Baudis <pasky@suse.cz>
48428 * LICENSES: Sync the sunrpc license.
48430 2010-08-19 Ulrich Drepper <drepper@redhat.com>
48432 * sunrpc/auth_des.c: Update copyright notice once again.
48433 * sunrpc/auth_none.c: Likewise.
48434 * sunrpc/auth_unix.c: Likewise.
48435 * sunrpc/authdes_prot.c: Likewise.
48436 * sunrpc/authuxprot.c: Likewise.
48437 * sunrpc/bindrsvprt.c: Likewise.
48438 * sunrpc/clnt_gen.c: Likewise.
48439 * sunrpc/clnt_perr.c: Likewise.
48440 * sunrpc/clnt_raw.c: Likewise.
48441 * sunrpc/clnt_simp.c: Likewise.
48442 * sunrpc/clnt_tcp.c: Likewise.
48443 * sunrpc/clnt_udp.c: Likewise.
48444 * sunrpc/clnt_unix.c: Likewise.
48445 * sunrpc/des_crypt.c: Likewise.
48446 * sunrpc/des_soft.c: Likewise.
48447 * sunrpc/get_myaddr.c: Likewise.
48448 * sunrpc/getrpcport.c: Likewise.
48449 * sunrpc/key_call.c: Likewise.
48450 * sunrpc/key_prot.c: Likewise.
48451 * sunrpc/openchild.c: Likewise.
48452 * sunrpc/pm_getmaps.c: Likewise.
48453 * sunrpc/pm_getport.c: Likewise.
48454 * sunrpc/pmap_clnt.c: Likewise.
48455 * sunrpc/pmap_prot.c: Likewise.
48456 * sunrpc/pmap_prot2.c: Likewise.
48457 * sunrpc/pmap_rmt.c: Likewise.
48458 * sunrpc/rpc/auth.h: Likewise.
48459 * sunrpc/rpc/auth_unix.h: Likewise.
48460 * sunrpc/rpc/clnt.h: Likewise.
48461 * sunrpc/rpc/des_crypt.h: Likewise.
48462 * sunrpc/rpc/key_prot.h: Likewise.
48463 * sunrpc/rpc/netdb.h: Likewise.
48464 * sunrpc/rpc/pmap_clnt.h: Likewise.
48465 * sunrpc/rpc/pmap_prot.h: Likewise.
48466 * sunrpc/rpc/pmap_rmt.h: Likewise.
48467 * sunrpc/rpc/rpc.h: Likewise.
48468 * sunrpc/rpc/rpc_des.h: Likewise.
48469 * sunrpc/rpc/rpc_msg.h: Likewise.
48470 * sunrpc/rpc/svc.h: Likewise.
48471 * sunrpc/rpc/svc_auth.h: Likewise.
48472 * sunrpc/rpc/types.h: Likewise.
48473 * sunrpc/rpc/xdr.h: Likewise.
48474 * sunrpc/rpc_clntout.c: Likewise.
48475 * sunrpc/rpc_cmsg.c: Likewise.
48476 * sunrpc/rpc_common.c: Likewise.
48477 * sunrpc/rpc_cout.c: Likewise.
48478 * sunrpc/rpc_dtable.c: Likewise.
48479 * sunrpc/rpc_hout.c: Likewise.
48480 * sunrpc/rpc_main.c: Likewise.
48481 * sunrpc/rpc_parse.c: Likewise.
48482 * sunrpc/rpc_parse.h: Likewise.
48483 * sunrpc/rpc_prot.c: Likewise.
48484 * sunrpc/rpc_sample.c: Likewise.
48485 * sunrpc/rpc_scan.c: Likewise.
48486 * sunrpc/rpc_scan.h: Likewise.
48487 * sunrpc/rpc_svcout.c: Likewise.
48488 * sunrpc/rpc_tblout.c: Likewise.
48489 * sunrpc/rpc_util.c: Likewise.
48490 * sunrpc/rpc_util.h: Likewise.
48491 * sunrpc/rpcinfo.c: Likewise.
48492 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
48493 * sunrpc/rpcsvc/key_prot.x: Likewise.
48494 * sunrpc/rpcsvc/klm_prot.x: Likewise.
48495 * sunrpc/rpcsvc/mount.x: Likewise.
48496 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
48497 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
48498 * sunrpc/rpcsvc/rex.x: Likewise.
48499 * sunrpc/rpcsvc/rstat.x: Likewise.
48500 * sunrpc/rpcsvc/rusers.x: Likewise.
48501 * sunrpc/rpcsvc/sm_inter.x: Likewise.
48502 * sunrpc/rpcsvc/spray.x: Likewise.
48503 * sunrpc/rpcsvc/yppasswd.x: Likewise.
48504 * sunrpc/rtime.c: Likewise.
48505 * sunrpc/svc.c: Likewise.
48506 * sunrpc/svc_auth.c: Likewise.
48507 * sunrpc/svc_authux.c: Likewise.
48508 * sunrpc/svc_raw.c: Likewise.
48509 * sunrpc/svc_run.c: Likewise.
48510 * sunrpc/svc_simple.c: Likewise.
48511 * sunrpc/svc_tcp.c: Likewise.
48512 * sunrpc/svc_udp.c: Likewise.
48513 * sunrpc/svc_unix.c: Likewise.
48514 * sunrpc/svcauth_des.c: Likewise.
48515 * sunrpc/xcrypt.c: Likewise.
48516 * sunrpc/xdr.c: Likewise.
48517 * sunrpc/xdr_array.c: Likewise.
48518 * sunrpc/xdr_float.c: Likewise.
48519 * sunrpc/xdr_mem.c: Likewise.
48520 * sunrpc/xdr_rec.c: Likewise.
48521 * sunrpc/xdr_ref.c: Likewise.
48522 * sunrpc/xdr_sizeof.c: Likewise.
48523 * sunrpc/xdr_stdio.c: Likewise.
48525 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
48528 2010-08-19 Andreas Schwab <schwab@redhat.com>
48530 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
48532 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
48534 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
48535 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
48536 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
48537 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
48538 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
48539 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
48540 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
48541 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
48542 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
48543 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
48544 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
48545 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
48546 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
48547 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
48549 2010-07-26 Anton Blanchard <anton@samba.org>
48551 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
48552 * malloc/arena.c (heap_trim): Likewise.
48554 2010-08-16 Ulrich Drepper <drepper@redhat.com>
48556 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
48558 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
48559 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
48561 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
48563 * sysdeps/i386/elf/Makefile: New file.
48565 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
48567 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
48568 from fanotify_init.
48569 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
48570 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
48572 2010-08-15 Ulrich Drepper <drepper@redhat.com>
48574 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
48576 * sysdeps/multiarch/strcmp.S: Likewise.
48578 2010-08-14 Ulrich Drepper <drepper@redhat.com>
48580 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
48581 strncase_l-nonascii.
48582 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
48583 Add strncase_l-ssse3.
48584 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
48585 * sysdeps/x86_64/strcmp.S: Likewise.
48586 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
48587 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
48588 * sysdeps/x86_64/strncase.S: New file.
48589 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
48590 * sysdeps/x86_64/strncase_l.S: New file.
48591 * string/Makefile (strop-tests): Add strncasecmp.
48592 * string/test-strncasecmp.c: New file.
48594 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
48597 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
48598 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
48600 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
48602 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
48604 2010-08-12 Ulrich Drepper <drepper@redhat.com>
48606 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
48607 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
48608 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
48610 2010-05-01 Alan Modra <amodra@gmail.com>
48612 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
48613 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
48614 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
48615 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
48616 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
48617 tidying. Don't tail-call __sigjmp_save for static lib.
48618 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
48620 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
48621 (CALL_MCOUNT): Add eh info, and nop after bl.
48622 (TAIL_CALL_SYSCALL_ERROR): New macro.
48623 (PSEUDO_RET): Use it.
48624 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
48625 Correct save location of integer regs and cr.
48626 (_dl_profile_resolve): Correct cr save location. Delete nops
48627 after bl when SHARED. Reduce cfi size a little by better
48628 placement of cfi directives.
48629 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
48630 make a stack frame. Instead use parm save area as a temp.
48631 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
48632 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
48633 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
48634 Don't make a stack frame for parent, use parm save area.
48635 Increase child stack frame to 112 bytes. Don't save unused reg,
48636 and adjust reg usage. Set up cfi on error recovery and
48637 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
48638 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
48639 (__makecontext): Add dummy nop after jump to exit.
48640 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
48641 Use correct parm save area and cr save, reduce stack frame.
48642 Correct cfi for possible PSEUDO_RET frame setup.
48643 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
48644 Branch to local label emitted by PSEUDO_RET rather than
48647 2010-08-12 Andreas Schwab <schwab@redhat.com>
48650 * locale/programs/locale.c (print_assignment): New function.
48651 (show_locale_vars): Use it.
48653 2010-08-11 Ulrich Drepper <drepper@redhat.com>
48655 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
48657 (struct statfs64): Likewise.
48658 (_STATFS_F_FLAGS): Define.
48659 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
48660 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
48661 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
48662 (ST_VALID): Define locally.
48663 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
48664 __statvfs_getflags, use the provided value.
48665 * sysdeps/unix/sysv/linux/kernel-features.h: Define
48666 __ASSUME_STATFS_F_FLAGS.
48668 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
48670 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
48671 Add sys/fanotify.h.
48672 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
48673 fanotify_mask for GLIBC_2.13.
48674 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
48675 fanotify_init and fanotify_mark.
48676 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
48677 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
48679 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
48681 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
48682 prlimit64 for GLIBC_2.13.
48683 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
48685 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
48687 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
48688 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
48689 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
48690 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
48691 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
48693 * sysdeps/unix/sysv/linux/prlimit.c: New file.
48696 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
48697 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
48699 * nss/Makefile: Add rules to build and run tst-nss-test1.
48700 * shlib-versions: Add entry for libnss_test1.
48701 * nss/nss_test1.c: New file.
48702 * nss/tst-nss-test1.c: New file.
48704 * nss/nsswitch.c (__nss_database_custom): Define new variable.
48705 (__nss_configure_lookup): Set appropriate entry in
48706 __nss_configure_lookup to true.
48707 * nss/nsswitch.h: Define enum with indeces of databases in
48708 databases and __nss_database_custom arrays. Declare
48709 __nss_database_custom.
48710 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
48711 to avoid using nscd when custom rules are installed.
48712 * nss/getXXbyYY_r.c: Likewise.
48713 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
48715 * nss/nss_files/files-parse.c: Whitespace fixes.
48717 2010-08-09 Ulrich Drepper <drepper@redhat.com>
48720 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
48721 * posix/fnmatch_loop.c: Likewise.
48723 2010-07-17 Andi Kleen <ak@linux.intel.com>
48725 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
48726 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
48727 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
48728 * Versions.def [GLIBC_2.13]: Add.
48730 2010-08-06 Ulrich Drepper <drepper@redhat.com>
48732 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
48733 Also fail if tpwd after pwuid call is NULL.
48735 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
48737 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
48738 when converting to ms.
48740 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
48742 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
48743 EOPNOTSUPP errors with ENOTTY.
48744 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
48745 EOPNOTSUPP errors with ENOTTY.
48747 2010-07-31 Ulrich Drepper <drepper@redhat.com>
48749 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
48750 Add strcasecmp_l-ssse3.
48751 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
48753 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
48754 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
48755 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
48757 2010-07-30 Ulrich Drepper <drepper@redhat.com>
48759 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
48761 * string/Makefile (strop-tests): Add strcasecmp.
48762 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
48763 strcasecmp_l-nonascii.
48764 (gen-as-const-headers): Add locale-defines.sym.
48765 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
48766 * sysdeps/x86_64/strcasecmp.S: New file.
48767 * sysdeps/x86_64/strcasecmp_l.S: New file.
48768 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
48769 * sysdeps/x86_64/locale-defines.sym: New file.
48770 * string/test-strcasecmp.c: New file.
48772 * string/test-strcasestr.c: Test both ends of the range of characters.
48773 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
48775 2010-07-29 Roland McGrath <roland@redhat.com>
48778 * manual/locale.texi (Yes-or-No Questions): Fix example code.
48780 2010-07-27 Ulrich Drepper <drepper@redhat.com>
48782 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
48785 2010-07-27 Andreas Schwab <schwab@redhat.com>
48787 * manual/memory.texi (Malloc Tunable Parameters): Document
48790 2010-07-26 Roland McGrath <roland@redhat.com>
48793 * configure.in (-fgnu89-inline check): Set and substitute
48794 gnu89_inline, not libc_cv_gnu89_inline.
48795 * configure: Regenerated.
48796 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
48798 2010-07-26 Ulrich Drepper <drepper@redhat.com>
48800 * string/test-strnlen.c: New file.
48801 * string/Makefile (strop-tests): Add strnlen.
48802 * string/tester.c (test_strnlen): Add a few more test cases.
48803 * string/tst-strlen.c: Better error reporting.
48805 * sysdeps/x86_64/strnlen.S: New file.
48807 2010-07-24 Ulrich Drepper <drepper@redhat.com>
48809 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
48810 lower-latency instructions.
48812 2010-07-23 Ulrich Drepper <drepper@redhat.com>
48814 * string/test-strcasestr.c: New file.
48815 * string/test-strstr.c: New file.
48816 * string/Makefile (strop-tests): Add strstr and strcasestr.
48817 * string/str-two-way.h: Don't undefine MAX.
48818 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
48820 2010-07-21 Andreas Schwab <schwab@redhat.com>
48822 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
48823 strcasestr-nonascii.
48824 (CFLAGS-strcasestr-nonascii.c): Define.
48825 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
48826 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
48827 Remove unused attribute.
48829 2010-07-20 Roland McGrath <roland@redhat.com>
48831 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
48832 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
48833 ld.so.cache was broken. With it, there is no way to disable dsocaps
48834 like LD_HWCAP_MASK can disable hwcaps.
48836 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
48838 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
48840 2010-07-16 Ulrich Drepper <drepper@redhat.com>
48842 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
48843 call in strcasestr.
48844 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
48845 __strcasestr_sse42_nonascii.
48846 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
48847 strcasestr-nonascii.c.
48848 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
48850 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
48852 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
48853 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
48854 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
48855 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
48857 2010-07-09 Ulrich Drepper <drepper@redhat.com>
48859 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
48862 2010-07-06 Andreas Schwab <schwab@redhat.com>
48865 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
48868 2010-07-06 Ulrich Drepper <drepper@redhat.com>
48870 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
48871 _PC_PIPE_BUF using F_GETPIPE_SZ.
48873 2010-07-05 Roland McGrath <roland@redhat.com>
48875 * manual/arith.texi (Rounding Functions): Fix rint description
48876 implicit in round description.
48878 2010-07-02 Ulrich Drepper <drepper@redhat.com>
48880 * elf/Makefile: Fix linking for a few tests to make recent linker
48883 2010-06-30 Andreas Schwab <schwab@redhat.com>
48885 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
48886 $(common-objpfx)libc_nonshared.a.
48888 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
48890 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
48891 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
48892 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
48893 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
48894 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
48895 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
48896 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
48897 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
48898 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
48899 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
48900 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
48901 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
48902 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
48903 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
48904 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
48905 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
48906 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
48907 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
48908 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
48909 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
48910 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
48911 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
48912 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
48913 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
48914 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
48915 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
48916 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
48917 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
48918 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
48919 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
48920 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
48921 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
48922 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
48923 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
48924 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
48925 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
48926 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
48927 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
48928 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
48929 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
48930 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
48931 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
48932 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
48933 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
48934 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
48935 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
48936 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
48937 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
48939 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
48941 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
48942 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
48943 * string/memmove.c (memmove): Renamed to ...
48944 (MEMMOVE): ...this. Default to memmove.
48945 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
48946 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
48948 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48949 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
48950 mempcpy-ssse3-back memmove-ssse3-back.
48951 * sysdeps/x86_64/multiarch/bcopy.S: New file .
48952 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
48953 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
48954 * sysdeps/x86_64/multiarch/memcpy.S: New file.
48955 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
48956 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
48957 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
48958 * sysdeps/x86_64/multiarch/memmove.c: New file.
48959 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
48960 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
48961 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
48962 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
48963 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
48964 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
48966 (index_Fast_Copy_Backward): Define.
48967 (HAS_ARCH_FEATURE): Define.
48968 (HAS_FAST_REP_STRING): Define.
48969 (HAS_FAST_COPY_BACKWARD): Define.
48971 2010-06-21 Andreas Schwab <schwab@redhat.com>
48973 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
48974 Restore proper fallback handling.
48976 2010-06-19 Ulrich Drepper <drepper@redhat.com>
48979 * posix/group_member.c (__group_member): Correct checking loop.
48981 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
48982 OOM in getpwuid_r correctly. Return error number when the caller
48983 should return, otherwise -1.
48984 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
48985 call returning > 0 value.
48986 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
48988 2010-06-07 Andreas Schwab <schwab@redhat.com>
48990 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
48991 libc_nonshared.a from targets in modules-names.
48993 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
48995 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
48998 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
49000 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
49001 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
49002 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
49003 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
49005 2010-06-02 Andreas Schwab <schwab@redhat.com>
49007 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
49009 2010-06-14 Ulrich Drepper <drepper@redhat.com>
49011 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
49013 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
49014 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
49015 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
49016 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
49017 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
49018 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
49020 2010-06-14 Roland McGrath <roland@redhat.com>
49022 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
49024 2010-06-07 Jakub Jelinek <jakub@redhat.com>
49026 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
49027 __REDIRECT followed by __THROW.
49028 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
49029 * posix/getopt.h (getopt): Likewise.
49031 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
49033 * hurd/lookup-at.c (__file_name_lookup_at): Accept
49034 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
49035 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
49037 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
49038 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
49040 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
49042 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
49044 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
49047 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49048 Properly check family and model.
49050 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
49052 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
49054 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
49056 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
49058 2010-05-21 Ulrich Drepper <drepper@redhat.com>
49060 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
49063 2010-05-19 Andreas Schwab <schwab@redhat.com>
49065 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
49068 2010-05-21 Andreas Schwab <schwab@redhat.com>
49070 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
49071 and internal_recvmmsg.
49072 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
49073 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
49074 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
49075 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
49077 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
49078 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
49079 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
49081 2010-05-20 Andreas Schwab <schwab@redhat.com>
49083 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
49085 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
49087 POWER7 optimizations.
49088 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
49089 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
49091 2010-05-19 Ulrich Drepper <drepper@redhat.com>
49093 * version.h: Update for 2.13 development version.
49095 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
49097 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
49098 exceptions. Return 0.
49100 2010-05-07 Roland McGrath <roland@redhat.com>
49102 * elf/ldconfig.c (main): Add a const.
49104 2010-05-06 Ulrich Drepper <drepper@redhat.com>
49106 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
49107 (args_options): Add no-idn option.
49108 (ahosts_keys_int): Add idn_flags to ai_flags.
49109 (parse_option): Handle 'i' option to clear idn_flags.
49111 * malloc/malloc.c (_int_free): Possible race in the most recently
49112 added check. Only act on the data if no current modification
49115 See ChangeLog.17 for earlier changes.