1 2014-07-10 Roland McGrath <roland@hack.frob.com>
3 * nptl/pthread_create.c (start_thread): Use atomic_or and
4 lll_futex_wake directly rather than lll_robust_dead.
5 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
6 (lll_robust_dead): Macro removed.
7 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
8 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
9 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
10 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
11 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
12 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
13 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
14 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
15 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
16 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
17 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
18 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
19 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
20 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
22 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
23 Use atomic_compare_and_exchange_val_acq directly rather than
25 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
26 (__lll_robust_trylock, lll_robust_trylock): Removed.
27 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
28 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
29 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
30 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
31 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
32 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
33 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
34 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
35 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
36 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
37 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
38 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
39 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
40 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
42 2014-07-02 Florian Weimer <fweimer@redhat.com>
44 * manual/locale.texi (Locale Names): New section documenting
45 locale name syntax. Adjust menu and node chaining accordingly.
46 (Choosing Locale): Reference Locale Names, Locale Categories.
47 Mention setting LC_ALL=C. Reflect that name syntax is now
49 (Locale Categories): New section title. Reference Locale Names.
50 LC_ALL is an environment variable, but not a category.
51 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
52 description, now in Locale Name. Reference that section. Locale
53 name syntax is now documented.
55 2014-07-02 Florian Weimer <fweimer@redhat.com>
58 * locale/findlocale.c (name_present, valid_locale_name): New
60 (_nl_find_locale): Use the loc_name variable to store name
61 candidates. Call name_present and valid_locale_name to check and
62 validate locale names. Return an error if the locale is invalid.
64 2014-07-02 Florian Weimer <fweimer@redhat.com>
66 * locale/setlocale.c (setlocale): Use strdup for allocating
69 2014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
72 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
73 [!_LIBC && ENABLE_NLS]: Include gettext.h.
74 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
76 [USE_UNLOCKED_IO]: Include unlocked-io.h.
77 [!_LIBC]: Include code for Windows and Cygwin.
78 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
79 Include prototype for int strerror_r.
80 [!_LIBC] (is_open): New function.
81 (flush_stdout): New function.
82 (print_errno_message): Use it.
84 (error_at_line): Likewise.
85 (error_tail) Add function attribute macros. Use
88 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
90 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
92 * io/ftw.c: Include sys/param.h unconditionally.
94 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
97 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
99 (freecache): New function to free CACHE on exit.
101 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
104 2014-07-09 David S. Miller <davem@davemloft.net>
106 * sysdeps/sparc/fpu/libm-test-ulps: Update.
108 * sysdeps/sparc/nptl/internaltypes.h: Delete.
109 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
110 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
111 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
112 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
113 * sysdeps/sparc/nptl/sem_init.c: Likewise.
114 * sysdeps/sparc/nptl/sem_post.c: Likewise.
115 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
116 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
117 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
118 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
119 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
120 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
122 2014-07-09 Andreas Schwab <schwab@suse.de>
124 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
126 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
129 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
131 2014-07-09 Will Newton <will.newton@linaro.org>
133 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
134 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
135 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
136 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
137 * sysdeps/hppa/start.S (_start): Likewise.
139 2014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
141 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
143 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
146 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
148 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
149 after checking that it is non-NULL.
151 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
153 2014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
155 * sysdeps/powerpc/memmove.c: Remove file.
156 * sysdeps/powerpc/powerpc32/power4/memcopy.h
157 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
158 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
159 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
160 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
161 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
162 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
163 string memmove instead of removed powerpc one.
165 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
166 [weak_alias]: Fix compiler warning due trailing data.
167 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
168 [weak_alias]: Likewise.
169 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
170 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
172 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
173 (__libc_ifunc_impl_list): Add memmove functions.
175 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
177 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
179 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
181 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
183 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
185 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
187 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
189 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
191 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
193 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
195 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
197 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
199 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
201 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
203 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
205 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
207 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
209 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
212 2014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
214 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
215 to avoid alignment traps in non-cacheable memory.
216 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
218 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
220 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
221 file: multiarch power7 memmove.
222 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
223 multiarch default memmove.
224 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
225 multiarch memove for powerpc32/power4.
227 * string/bcopy.c: Use full path to include memmove.c.
228 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
230 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
232 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
234 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
235 and memmove implementations.
236 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
237 optimized multiarch memmove for POWER7/powerpc64.
238 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
239 default multiarch memmove for powerpc64.
240 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
241 multiarch for powerpc64.
242 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
243 for POWER7/powerpc64.
244 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
245 memmove for POWER7/powerpc64.
247 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
250 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
251 __ELF_NATIVE_CLASS equal to 64.
253 2014-07-07 Roland McGrath <roland@hack.frob.com>
255 * sysdeps/nptl/lowlevellock.h: File removed.
257 * NEWS: NPTL is no longer an add-on!
258 * nptl/internaltypes.h: Moved ...
259 * sysdeps/nptl/internaltypes.h: ... here.
260 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
261 * sysdeps/nptl/fork.c: Likewise.
262 * sysdeps/nptl/gai_misc.h: Likewise.
263 * sysdeps/nptl/librt-cancellation.c: Likewise.
264 * sysdeps/nptl/jmp-unwind.c: Likewise.
265 * sysdeps/nptl/setxid.h: Likewise.
266 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
267 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
268 * sysdeps/unix/sysv/linux/arm/Implies: New file.
269 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
270 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
271 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
272 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
273 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
274 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
275 * sysdeps/unix/sysv/linux/mips/Implies: New file.
276 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
277 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
278 * sysdeps/unix/sysv/linux/sh/Implies: New file.
279 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
280 * sysdeps/unix/sysv/linux/tile/Implies: New file.
281 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
282 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
283 * nptl/Makeconfig: Moved ...
284 * sysdeps/nptl/Makeconfig: ... here.
285 * nptl/configure: File removed.
286 * nptl/ANNOUNCE: File removed.
287 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
288 * sysdeps/unix/sysv/linux/configure: Regenerated.
290 * nptl/Makefile (routines): Add libc_pthread_init,
291 libc_multiple_threads, register-atfork and unregister-atfork.
292 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
293 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
294 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
295 pthread-pi-defines.sym, structsem.sym.
296 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
297 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
298 [$(subdir) = nptl] (tests): Add tst-setgetname.
299 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
300 * sysdeps/unix/sysv/linux/sigaction.c: Just include
301 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
302 [!LIBC_SIGACTION]: Remove aliases.
303 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
304 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
305 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
306 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
307 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
308 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
309 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
310 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
311 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
312 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
313 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
314 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
315 __libc_allocate_rtsig_private.
316 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
317 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
318 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
319 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
320 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
321 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
322 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
323 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
324 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
325 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
326 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
327 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
328 * nptl/internaltypes.h: ... here.
329 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
330 * sysdeps/nptl/jmp-unwind.c: ... here.
331 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
332 * nptl/libc-lowlevellock.c: ... here.
333 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
334 * nptl/libc_multiple_threads.c: ... here.
335 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
336 * nptl/libc_pthread_init.c: ... here.
337 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
338 * nptl/lowlevelbarrier.sym: ... here.
339 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
340 * nptl/lowlevelcond.sym: ... here.
341 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
342 * nptl/lowlevellock.c: ... here.
343 * nptl/lowlevellock.h: Moved ...
344 * sysdeps/nptl/lowlevellock.h: ... here.
345 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
346 * nptl/lowlevelrobustlock.c: ... here.
347 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
348 * nptl/lowlevelrobustlock.sym: ... here.
349 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
350 * nptl/lowlevelrwlock.sym: ... here.
351 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
352 * nptl/pt-fork.c: ... here.
353 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
354 * nptl/pthread-pi-defines.sym: ... here.
355 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
356 * nptl/pthread_attr_getaffinity.c: ... here.
357 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
358 * nptl/pthread_attr_setaffinity.c: ... here.
359 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
360 * nptl/pthread_mutex_cond_lock.c: ... here.
361 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
363 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
364 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
365 * nptl/pthread_once.c: ... here, replacing old file.
366 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
367 * nptl/pthread_yield.c: ... here.
368 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
369 * nptl/register-atfork.c: ... here.
370 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
371 * nptl/sem_post.c: ... here.
372 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
373 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
374 * nptl/sem_timedwait.c: ... here.
375 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
376 * nptl/sem_trywait.c: ... here.
377 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
378 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
379 * nptl/sem_wait.c: ... here.
380 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
381 * nptl/structsem.sym: ... here.
382 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
383 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
384 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
385 * nptl/unregister-atfork.c: ... here.
386 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
387 * nptl/unwindbuf.sym: ... here.
388 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
389 * sysdeps/nptl/fork.c: ... here.
390 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
391 * sysdeps/nptl/fork.h: ... here.
392 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
393 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
394 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
395 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
396 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
397 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
398 * sysdeps/unix/sysv/linux/getpid.c: ... here.
399 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
400 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
401 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
402 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
403 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
404 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
405 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
406 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
407 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
408 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
409 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
410 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
411 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
412 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
413 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
414 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
415 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
416 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
417 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
418 * sysdeps/unix/sysv/linux/raise.c: ... here.
419 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
420 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
421 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
422 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
423 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
424 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
425 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
426 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
427 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
428 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
429 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
430 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
431 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
432 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
433 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
435 2014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
437 * sysdeps/generic/memcopy.h: Add comment for
438 MEMCPY_OK_FOR_FWD_MEMMOVE.
440 2014-07-04 Will Newton <will.newton@linaro.org>
442 * string/memchr.c: Merge from gnulib.
443 [_LIBC]: Remove conditionals.
444 (__ptr_t): Remove define.
445 (LONG_MAX_32_BITS): Likewise.
446 (LONG_MAX): Likewise.
447 (MEMCHR): Use ANSI prototype and optimize algorithm.
449 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
451 2014-07-03 Roland McGrath <roland@hack.frob.com>
453 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
454 (lll_futex_timed_wait_bitset): Fix syscall argument count.
456 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
457 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
458 in a bare environment with no <stdlib.h> installed.
459 * sysdeps/nptl/configure: Regenerated.
461 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
463 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
464 AC_EGREP_CPP for kernel header checks, so they only succeed if
465 including <linux/version.h> actually works right.
466 * sysdeps/unix/sysv/linux/configure: Regenerated.
468 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
469 value so it's not diagnosed as unused.
471 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
472 thing) with "ifeq ($(subdir),rt)".
474 2014-07-03 Richard Henderson <rth@redhat.com>
476 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
477 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
478 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
480 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
481 (math_force_eval): New.
483 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
484 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
486 * sysdeps/alpha/fpu/s_round.c: Remove file.
487 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
489 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
490 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
491 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
492 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
493 (_dl_start, print_statistics): Likewise.
494 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
495 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
497 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
498 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
499 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
500 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
501 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
502 (HP_SMALL_TIMING_AVAIL): Define.
503 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
504 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
505 (HP_SMALL_TIMING_AVAIL): Define.
506 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
507 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
509 * sysdeps/aarch64/hp-timing.h: New file.
511 * sysdeps/generic/hp-timing.h: Remove dead comment.
512 * sysdeps/generic/hp-timing-common.h: New file.
513 * sysdeps/alpha/hp-timing.h: Include it.
514 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
515 * sysdeps/i386/i686/hp-timing.h: Likewise.
516 * sysdeps/ia64/hp-timing.h: Likewise.
517 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
518 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
519 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
520 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
521 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
522 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
525 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
526 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
527 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
528 * elf/rtld.c (_dl_start_final): Likewise.
529 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
530 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
531 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
532 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
533 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
534 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
535 (HP_TIMING_DIFF_INIT): Remove.
536 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
537 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
538 (HP_TIMING_DIFF_INIT): Remove.
539 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
540 * sysdeps/i386/i686/hp-timing.c: Remove file.
541 * sysdeps/x86_64/hp-timing.c: Remove file.
542 * sysdeps/ia64/hp-timing.c: Remove file.
543 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
544 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
545 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
546 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
548 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
549 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
550 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
551 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
552 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
553 (HP_TIMING_ACCUM): Remove.
554 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
555 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
556 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
558 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
559 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
560 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
561 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
562 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
563 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
564 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
565 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
567 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
569 2014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
571 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
573 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
575 Sync up with gettext.
576 * intl/loadmsgcat.c: Define O_BINARY if not defined.
577 [_MSC_VER]: Include malloc.h
578 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
579 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
580 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
581 TEMP_FAILURE_RETRY. Cast return of alloca.
582 [!_LIBC] Call gl_rwlock_init.
583 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
585 2014-07-02 Roland McGrath <roland@hack.frob.com>
587 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
588 before checking its value.
590 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
592 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
594 * debug/memcpy_chk.c: Don't include pagecopy.h.
595 * debug/mempcpy_chk.c: Likewise.
596 * string/memcpy.c: Likewise.
597 * string/memmove.c: Likewise.
598 * sysdeps/powerpc/memmove.c: Likewise.
599 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
600 definition of PAGE_COPY_FWD_MAYBE here...
601 * sysdeps/generic/pagecopy.h: ... from here.
602 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
604 2014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
605 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
607 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
608 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
610 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
611 (__libc_ifunc_impl_list): Likewise.
612 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
613 multiarch strcat for PPC64.
614 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
615 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
617 2014-07-02 Roland McGrath <roland@hack.frob.com>
619 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
621 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
623 * intl/loadmsgcat.c: Remove declaration of
624 get_sysdep_segment_value.
625 (get_sysdep_segment_value): Use ISO C style.
626 (_nl_load_domain): Use ISO C style. Get rid of redundant
627 semicolon. Fix typo and formatting in comment.
628 (_nl_unload_domain): Use ISO C style.
630 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
632 2014-07-02 Will Newton <will.newton@linaro.org>
634 * malloc/obstack.c: Merge from gnulib master.
635 [HAVE_CONFIG_H]: Remove conditional code.
636 [!_LIBC]: Include config.h.
637 [!ELIDE_CODE]: Don't include inttypes.h, include
638 stdint.h unconditionally.
639 (print_and_abort): Mark as _Noreturn.
640 (_obstack_allocated_p): Mark as __attribute_pure__.
641 (obstack_free): Rename to __obstack_free.
642 [!__attribute__]: Remove conditional code.
643 * malloc/obstack.h: Merge from gnulib master.
644 [__cplusplus]: Move conditional down.
645 [!__attribute_pure__]: Define __attribute_pure__ here
646 if it is not already defined.
647 (_obstack_memory_used): Mark as __attribute_pure__.
648 [!__obstack_free]: Define as obstack_free.
649 [__GNUC__]: Remove check for ancient NeXT gcc.
651 2014-07-02 Will Newton <will.newton@linaro.org>
652 Paul Eggert <eggert@cs.ucla.edu>
654 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
656 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
658 * resolv/gethnamaddr.c: Add comment warning that the file is
661 2014-07-01 Carlos O'Donell <carlos@redhat.com>
663 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
666 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
667 entry for aio_cancel and aio_cancel64.
668 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
669 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
670 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
671 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
672 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
673 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
674 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
675 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
676 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
677 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
678 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
679 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
680 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
682 2014-07-01 Roland McGrath <roland@hack.frob.com>
684 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
685 * nptl/pthread_mutex_lock.c: Likewise.
686 * nptl/pthread_mutex_timedlock.c: Likewise.
687 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
689 2014-07-01 Richard henderson <rth@redhat.com>
691 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
692 (__isnan, __isnanl): Remove.
693 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
695 * sysdeps/alpha/fpu/libm-test-ulps: Update.
697 2014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
699 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
701 2014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
703 * resolv/nss_dns/dns-host.c (getanswer_r)
704 [MULTI_PTRS_ARE_ALIASES]: Remove code.
706 2014-07-01 Joseph Myers <joseph@codesourcery.com>
708 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
709 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
711 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
712 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
714 2014-07-01 Roland McGrath <roland@hack.frob.com>
716 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
717 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
719 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
720 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
722 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
723 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
725 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
726 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
728 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
729 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
730 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
731 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
733 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
734 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
735 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
736 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
737 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
739 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
741 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
742 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
743 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
744 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
745 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
746 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
747 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
748 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
749 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
750 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
751 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
752 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
753 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
754 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
755 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
756 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
757 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
758 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
759 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
760 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
762 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
763 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
764 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
765 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
766 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
767 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
768 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
769 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
771 2014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
773 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
774 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
775 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
778 2014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
780 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
782 2014-06-30 Joseph Myers <joseph@codesourcery.com>
784 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
785 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
787 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
789 * sysdeps/arm/libm-test-ulps: Regenerated.
791 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
792 Roland McGrath <roland@hack.frob.com>
794 * test-skeleton.c (signal_handler): Kill the whole process group
795 before killing the child individually.
796 (main): Report any failure on `setpgid'.
798 2014-06-30 Roland McGrath <roland@hack.frob.com>
800 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
801 from _TLS_H to _ARM_NPTL_TLS_H.
802 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
803 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
805 2014-06-30 Joseph Myers <joseph@codesourcery.com>
808 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
809 (__expm1l): Return argument unchanged when small but not
812 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
814 (_FP_UNPACK_RAW_1_P): Likewise.
815 (_FP_PACK_RAW_1): Likewise.
816 (_FP_PACK_RAW_1_P): Likewise.
817 (_FP_MUL_MEAT_1_wide): Likewise.
818 (_FP_MUL_MEAT_DW_1_hard): Likewise.
819 (_FP_MUL_MEAT_1_hard): Likewise.
820 (_FP_DIV_MEAT_1_imm): Likewise.
821 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
822 (_FP_DIV_MEAT_1_udiv): Likewise.
823 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
824 (_FP_UNPACK_RAW_2): Likewise.
825 (_FP_UNPACK_RAW_2_P): Likewise.
826 (_FP_PACK_RAW_2): Likewise.
827 (_FP_PACK_RAW_2_P): Likewise.
828 (_FP_MUL_MEAT_DW_2_wide): Likewise.
829 (_FP_MUL_MEAT_2_wide): Likewise.
830 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
831 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
832 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
833 (_FP_MUL_MEAT_2_gmp): Likewise.
834 (_FP_DIV_MEAT_2_udiv): Likewise.
835 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
836 (_FP_FRAC_SRL_4): Likewise.
837 (_FP_FRAC_SRST_4): Likewise.
838 (_FP_FRAC_SRS_4): Likewise.
839 (_FP_UNPACK_RAW_4): Likewise.
840 (_FP_UNPACK_RAW_4_P): Likewise.
841 (_FP_PACK_RAW_4): Likewise.
842 (_FP_PACK_RAW_4_P): Likewise.
843 (_FP_MUL_MEAT_DW_4_wide): Likewise.
844 (_FP_MUL_MEAT_4_wide): Likewise.
845 (_FP_MUL_MEAT_4_gmp): Likewise.
846 (umul_ppppmnnn): Likewise.
847 (_FP_DIV_MEAT_4_udiv): Likewise.
848 (__FP_FRAC_ADD_4): Likewise.
849 (__FP_FRAC_SUB_3): Likewise.
850 (__FP_FRAC_SUB_4): Likewise.
851 (__FP_FRAC_DEC_3): Likewise.
852 (__FP_FRAC_DEC_4): Likewise.
853 (__FP_FRAC_ADDI_4): Likewise.
854 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
855 (_FP_FRAC_SRL_8): Likewise.
856 (_FP_FRAC_SRS_8): Likewise.
858 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
860 (FP_UNPACK_RAW_EP): Likewise.
861 (FP_PACK_RAW_E): Likewise.
862 (FP_PACK_RAW_EP): Likewise.
863 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
864 (_FP_ISSIGNAN): Likewise.
865 (_FP_ADD_INTERNAL): Likewise.
868 (_FP_SQRT): Likewise.
869 (_FP_TO_INT): Likewise.
870 (_FP_FROM_INT): Likewise.
871 (FP_EXTEND): Likewise.
872 (_FP_DIV_MEAT_N_loop): Likewise.
874 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
876 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
879 2014-06-29 Joseph Myers <joseph@codesourcery.com>
882 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
883 result with correct sign in case of exponents that produce
884 overflow except for X very close to 1.
886 2014-06-28 Paul Eggert <eggert@cs.ucla.edu>
888 mktime: merge #if/#ifdef usage from glibc
889 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
890 as that works with both Glibc's and Gnulib's style.
891 See thread starting at Siddhesh Poyarekar's bug report at:
892 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
894 2014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
896 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
897 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
898 * sysdeps/tile/tilegx/memmove.c: Remove file.
900 2014-06-27 Joseph Myers <joseph@codesourcery.com>
902 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
904 * scripts/soversions.awk: Do not handle or generate ABI lines.
905 * shlib-versions: Remove ABI entries.
906 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
907 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
909 2014-06-27 Roland McGrath <roland@hack.frob.com>
911 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
912 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
913 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
914 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
915 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
916 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
917 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
919 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
921 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
922 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
923 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
924 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
925 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
926 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
927 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
928 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
929 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
930 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
931 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
932 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
933 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
935 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
936 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
937 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
938 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
939 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
940 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
942 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
943 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
945 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
946 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
947 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
948 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
950 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
951 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
952 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
953 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
954 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
955 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
956 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
957 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
959 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
960 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
961 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
962 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
964 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
965 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
967 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
968 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
969 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
970 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
972 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
974 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
975 Identical file removed.
976 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
978 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
979 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
980 Identical file removed.
981 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
982 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
983 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
985 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
986 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
987 Identical file removed.
988 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
989 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
990 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
991 Identical file removed.
992 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
993 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
994 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
995 Identical file removed.
996 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
997 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
998 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
999 Identical file removed.
1000 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
1002 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
1003 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
1004 Identical file removed.
1005 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
1007 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
1008 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
1009 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
1010 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
1011 Identical file removed.
1012 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
1014 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
1016 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
1017 Identical file removed.
1018 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
1020 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
1021 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
1022 Identical file removed.
1023 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
1025 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
1026 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
1027 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
1028 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
1029 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
1030 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
1032 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
1033 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
1034 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
1036 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
1037 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
1038 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
1039 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
1040 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
1042 2014-06-27 Arjun Shankar <arjun.is@lostca.se>
1045 * nscd/nscd.c (monitor_child): Return exit status of child
1046 instead of return value from wait syscall.
1048 2014-06-27 Joseph Myers <joseph@codesourcery.com>
1050 * configure.ac (libc_commonpagesize): Remove variable.
1051 (libc_relro_required): Likewise.
1052 (libc_cv_z_relro): Remove configure test.
1053 * configure: Regenerated.
1054 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
1056 (libc_relro_required): Likewise.
1057 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
1058 (libc_relro_required): Likewise.
1059 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
1060 (libc_relro_required): Likewise.
1061 * sysdeps/arm/preconfigure: Regenerated.
1062 * sysdeps/ia64/preconfigure: Remove file.
1063 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
1065 (libc_relro_required): Likewise.
1069 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
1070 (__ieee754_yn): Set FE_TONEAREST mode internally and then
1071 recompute overflowing results in original rounding mode.
1072 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
1073 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
1074 recompute overflowing results in original rounding mode.
1075 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
1076 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
1077 recompute overflowing results in original rounding mode.
1078 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
1079 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
1080 recompute overflowing results in original rounding mode.
1081 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
1082 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
1083 recompute overflowing results in original rounding mode.
1084 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
1085 (libc_feholdsetround_ctx): New macro.
1086 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
1087 * sysdeps/i386/fpu/libm-test-ulps: Update.
1088 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
1090 2014-06-26 Joseph Myers <joseph@codesourcery.com>
1092 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
1093 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
1094 corresponding .cpsetup call.
1096 2014-06-26 Roland McGrath <roland@hack.frob.com>
1098 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
1099 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
1100 * sysdeps/arm/Makefile [$(subdir) = csu]
1101 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
1102 (static-only-routines): Add aeabi_read_tp here.
1103 (shared-only-routines): Add libc-aeabi_read_tp here.
1104 (CFLAGS-libc-start.c): Add -fexceptions here.
1105 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
1106 (sysdep_routines, static-only-routines, shared-only-routines):
1107 Don't add to these here.
1108 (CFLAGS-libc-start.c): Likewise.
1110 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
1111 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
1112 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
1113 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
1114 * sysdeps/arm/Makefile [$(subdir) = rt]
1115 (librt-sysdep_routines, librt-shared-only-routines):
1116 Append rt-aeabi_unwind_cpp_pr1 here.
1117 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
1118 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
1119 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
1120 (libpthread-sysdep_routines, libpthread-shared-only-routines):
1121 Append nptl-aeabi_unwind_cpp_pr1 here.
1122 (tests): Filter out tst-cleanupx4 here.
1123 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
1124 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
1125 Don't do those here.
1127 2014-06-26 Joseph Myers <joseph@codesourcery.com>
1129 * scripts/list-sources.sh: Do not handle ports specially.
1131 2014-06-26 Roland McGrath <roland@hack.frob.com>
1133 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
1134 * sysdeps/arm/feupdateenv.c: Likewise.
1136 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
1138 2014-06-26 Joseph Myers <joseph@codesourcery.com>
1140 * manual/texinfo.tex: Update to version 2014-05-05.10 with
1141 trailing whitespace removed.
1142 * scripts/config.guess: Update to version 2014-03-23.
1143 * scripts/config.sub: Update to version 2014-05-01
1144 * scripts/install-sh: Update to version 2013-12-25.23.
1145 * scripts/move-if-change: Update from gnulib.
1147 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1149 * debug/memmove_chk.c: Remove pagecopy.h include.
1151 2014-06-26 Paul Eggert <eggert@cs.ucla.edu>
1153 * time/mktime.c (leapyear): Remove inline keyword. The code is now
1154 identical to gnulib mktime.
1156 2014-06-26 Joseph Myers <joseph@codesourcery.com>
1158 * configure.ac: Do not test for machine being rs6000. Do not test
1160 * configure: Regenerated.
1162 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
1164 * configure: Regenerated.
1165 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
1166 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
1167 Remove configure test.
1168 * sysdeps/arm/configure: Regenerated.
1169 * sysdeps/nptl/configure.ac: Do not check
1170 libc_cv_asm_cfi_directives.
1171 * sysdeps/nptl/configure: Regenerated.
1172 * sysdeps/x86_64/nptl/configure.ac: Remove file.
1173 * sysdeps/x86_64/nptl/configure: Remove generated file.
1174 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
1176 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
1178 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1180 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
1181 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
1182 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
1185 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
1186 instead of whether it is defined.
1187 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
1188 * sysdeps/hppa/dl-machine.h: Likewise.
1189 * sysdeps/ia64/dl-machine.h: Likewise.
1190 * sysdeps/m68k/dl-machine.h: Likewise.
1191 * sysdeps/microblaze/dl-machine.h: Likewise.
1192 * sysdeps/mips/dl-machine.: Likewise.
1193 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
1194 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
1195 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
1196 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
1197 * sysdeps/sh/dl-machine.h: Likewise.
1198 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
1199 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
1200 * sysdeps/tile/dl-machine.h: Likewise.
1201 * sysdeps/x86_64/dl-machine.h: Likewise.
1203 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
1205 (verify_persistent_db): Likewise.
1207 2014-06-26 Roland McGrath <roland@hack.frob.com>
1209 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
1210 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
1211 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
1212 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
1213 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
1215 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
1217 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
1218 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
1219 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
1220 Identical file removed.
1221 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
1222 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
1223 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
1224 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
1225 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
1226 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
1227 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
1228 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
1229 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
1230 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
1231 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
1233 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
1234 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
1235 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
1236 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
1237 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
1238 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
1240 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
1241 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
1242 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
1243 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
1244 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
1245 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
1246 Identical file removed.
1247 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
1248 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
1249 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
1250 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
1251 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
1253 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
1255 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
1256 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
1257 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
1258 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
1259 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
1260 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
1261 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
1262 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
1263 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
1264 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
1265 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
1267 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
1268 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
1270 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
1271 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
1272 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
1273 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
1275 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
1276 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
1277 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
1279 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
1281 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
1282 * sysdeps/unix/sysv/linux/s390/Versions
1283 (libpthread: GLIBC_2.19): New version set.
1284 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
1285 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
1286 (librt: GLIBC_2.3.3): New version set.
1287 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
1288 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
1289 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
1290 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
1291 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
1292 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
1293 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
1294 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
1295 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
1296 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
1297 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
1298 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
1299 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
1300 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
1301 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
1302 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
1303 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
1304 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
1305 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
1306 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
1307 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
1308 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
1309 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
1310 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
1311 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
1312 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
1313 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
1314 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
1315 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
1316 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
1317 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
1318 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
1319 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
1320 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
1321 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
1322 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
1323 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
1324 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
1325 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
1326 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
1327 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
1328 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
1329 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
1330 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
1331 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
1333 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
1334 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
1335 (__libc_vfork): Define the function under this name.
1336 [!NOT_IN_libc] (__vfork): Make this an alias.
1337 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
1338 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
1339 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
1340 (__libc_vfork): Define the function under this name.
1341 [!NOT_IN_libc] (__vfork): Make this an alias.
1342 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
1343 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
1344 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
1345 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
1346 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
1347 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
1349 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
1350 code that was previously under [RESET_PID].
1351 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
1352 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
1353 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
1355 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
1356 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
1357 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
1358 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
1359 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
1360 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
1361 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
1362 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
1363 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
1364 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
1365 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
1367 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
1368 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
1369 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
1370 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
1371 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
1372 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
1373 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
1374 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
1375 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
1376 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
1377 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
1378 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
1379 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
1380 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
1381 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
1382 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
1383 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
1384 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
1385 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
1386 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
1387 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
1388 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
1389 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
1390 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
1391 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
1392 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
1393 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
1394 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
1395 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
1397 2014-06-25 Roland McGrath <roland@hack.frob.com>
1399 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
1400 that was previously under [RESET_PID].
1401 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
1403 2014-06-25 Joseph Myers <joseph@codesourcery.com>
1405 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
1406 not undefine and redefine.
1407 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
1408 [O_CLOEXEC]: Make code unconditional.
1409 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
1410 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
1411 <kernel-features.h>.
1412 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
1413 conditional variable definition.
1414 (shm_open) [O_CLOEXEC]: Make code unconditional.
1415 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
1418 * configure.ac (USE_REGPARMS): Don't define here.
1419 * configure: Regenerated.
1420 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
1421 * sysdeps/i386/configure: Regenerated.
1423 * nptl/createthread.c: Don't include kernel-features.h.
1424 * nptl/pthread_cancel.c: Likewise.
1425 * nptl/pthread_condattr_setclock.c: Likewise.
1426 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
1427 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
1428 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
1429 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
1430 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
1431 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
1432 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
1433 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
1434 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
1435 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
1436 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
1437 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
1438 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
1439 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
1440 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
1441 * nscd/gai.c: Likewise.
1442 * nss/nss_db/db-open.c: Likewise.
1443 * sysdeps/generic/ldsodefs.h: Likewise.
1444 * sysdeps/sh/nptl/tls.h: Likewise.
1445 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
1446 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
1447 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
1448 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
1449 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
1450 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
1451 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
1452 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
1453 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
1454 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
1455 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
1456 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
1457 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
1458 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
1459 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
1460 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
1461 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
1462 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
1463 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
1464 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
1465 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
1466 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
1467 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
1468 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
1469 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
1470 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
1471 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
1472 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
1473 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
1474 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
1475 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
1476 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
1477 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
1478 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
1479 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
1480 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
1481 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
1482 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
1483 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
1484 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
1485 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
1486 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
1487 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
1488 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
1489 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
1490 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
1491 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
1492 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
1493 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
1494 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
1495 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
1496 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
1497 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
1498 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
1499 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
1500 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
1501 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
1502 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
1503 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
1504 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
1505 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
1506 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
1507 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
1508 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
1509 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
1510 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
1511 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
1512 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
1513 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
1514 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
1515 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
1516 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
1517 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
1518 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
1519 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
1520 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
1521 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
1522 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
1523 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
1524 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
1525 * sysdeps/unix/sysv/linux/pread.c: Likewise.
1526 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
1527 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
1528 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
1529 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
1530 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
1531 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
1532 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
1533 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
1534 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
1535 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
1536 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
1537 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
1538 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
1539 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
1540 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
1541 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
1542 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
1543 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
1544 * sysdeps/unix/sysv/linux/system.c: Likewise.
1545 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
1546 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
1547 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
1548 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
1549 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
1550 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
1551 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
1553 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
1554 * configure: Regenerated.
1555 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
1557 * configure.ac (base_machine): Do not set specially for particular
1559 * configure: Regenerated.
1560 * sysdeps/powerpc/preconfigure: Move machine and base_machine
1561 settings from configure.ac.
1562 * sysdeps/i386/preconfigure: New file.
1563 * sysdeps/s390/preconfigure: Likewise.
1564 * sysdeps/sh/preconfigure: Likewise.
1565 * sysdeps/sparc/preconfigure: Likewise.
1567 2014-06-25 Roland McGrath <roland@hack.frob.com>
1569 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
1570 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
1571 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
1572 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
1573 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
1574 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
1575 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
1576 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
1577 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
1578 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
1579 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
1580 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
1581 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
1582 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
1583 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
1584 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
1585 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
1586 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
1587 * sysdeps/sparc/sparc64/Makefile: ... appended here.
1589 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
1590 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
1591 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
1592 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
1593 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
1594 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
1595 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
1596 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
1597 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
1598 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
1599 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
1600 * sysdeps/sparc/sparc32/sem_post.c: ... here.
1601 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
1602 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
1603 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
1604 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
1605 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
1606 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
1607 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
1608 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
1609 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
1610 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
1611 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
1612 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
1613 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
1614 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
1615 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
1616 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
1617 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
1618 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
1619 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
1620 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
1621 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
1622 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
1623 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
1624 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
1625 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
1626 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
1628 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
1629 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
1630 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
1631 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
1632 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
1634 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
1636 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
1637 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
1638 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
1639 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
1640 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
1642 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
1643 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
1644 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
1645 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
1646 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
1647 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
1648 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
1649 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
1651 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
1652 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
1654 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
1655 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
1656 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
1657 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
1659 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
1660 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
1661 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
1662 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
1663 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
1664 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
1665 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
1666 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
1667 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
1668 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
1670 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
1672 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
1673 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
1674 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
1675 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
1676 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
1678 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
1679 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
1680 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
1681 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
1682 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
1683 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
1684 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
1685 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
1687 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
1688 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
1690 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
1691 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
1692 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
1693 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
1695 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
1696 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
1697 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
1698 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
1699 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
1701 2014-06-25 Joseph Myers <joseph@codesourcery.com>
1703 * timezone/checktab.awk: Update from tzcode 2014e.
1704 * timezone/private.h: Likewise.
1705 * timezone/tzfile.h: Likewise.
1706 * timezone/zdump.c: Likewise.
1707 * timezone/zic.c: Likewise.
1709 * sysdeps/unix/sysv/linux/kernel-features.h
1710 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
1711 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
1712 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
1713 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
1714 Remove conditional code.
1716 2014-06-25 Will Newton <will.newton@linaro.org>
1718 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
1719 (_dl_arm_cap_flags): Add HWCAP2 values.
1720 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
1721 (_DL_HWCAP_COUNT): Increase to 37.
1722 (_DL_HWCAP_LAST): New define.
1723 (_DL_HWCAP2_LAST): New define.
1724 (_dl_procinfo): Add support for printing
1726 (_dl_string_hwcap): Use _dl_hwcap_string.
1728 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1730 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1732 2014-06-25 Joseph Myers <joseph@codesourcery.com>
1734 * README: Do not mention ports directory.
1736 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
1738 * sysdeps/unix/sysv/linux/futimes.c: Do not include
1739 <kernel-features.h>.
1740 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
1741 conditional variable definition.
1742 (__futimes): Update comment.
1743 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
1744 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
1747 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
1748 arguments close to 0.
1749 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
1751 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
1753 * math/auto-libm-test-in: Add more tests of exp10.
1754 * math/auto-libm-test-out: Regenerated.
1755 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1757 * sysdeps/unix/sysv/linux/kernel-features.h
1758 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
1759 * sysdeps/unix/sysv/linux/readv.c: Do not include
1760 <kernel-features.h>.
1761 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
1762 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
1763 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
1765 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
1767 * sysdeps/unix/sysv/linux/writev.c: Do not include
1768 <kernel-features.h>.
1769 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
1770 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
1771 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
1773 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
1776 2014-06-25 Will Newton <will.newton@linaro.org>
1778 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
1779 comment changes throughout the file. Remove checks
1780 for HAVE_*_H definitions that are not required.
1781 (__gen_tempname): Call abort if an unknown kind value is
1784 2014-06-25 Andreas Schwab <schwab@suse.de>
1787 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
1788 scalbln, scalblnf, scalblnl in libc.
1790 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
1793 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
1794 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
1795 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
1797 2014-06-24 Roland McGrath <roland@hack.frob.com>
1799 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
1800 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
1801 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
1802 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
1804 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
1805 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
1807 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
1808 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
1809 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
1810 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
1811 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
1812 * sysdeps/x86/bits/pthreadtypes.h: ... here.
1813 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
1814 * sysdeps/x86/bits/semaphore.h: ... here.
1815 * sysdeps/x86/nptl/elide.h: Moved ...
1816 * sysdeps/x86/elide.h: ... here.
1817 * sysdeps/x86_64/nptl/Implies: File removed.
1818 * sysdeps/i386/nptl/Implies: File removed.
1820 2014-06-24 Joseph Myers <joseph@codesourcery.com>
1823 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
1824 return the argument for normal arguments with exponent below -64.
1825 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
1827 * math/auto-libm-test-in: Add another test of expm1.
1828 * math/auto-libm-test-out: Regenerated.
1831 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
1832 calling __erfcl for arguments at least 16.
1833 * math/auto-libm-test-in: Add more tests of erf.
1834 * math/auto-libm-test-out: Regenerated.
1836 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
1837 individual architectures.
1838 * sysdeps/unix/sysv/linux/configure: Regenerated.
1839 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
1840 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
1841 * sysdeps/unix/sysv/linux/powerpc/configure.ac
1842 (ldd_rewrite_script): Define variable.
1843 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
1844 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
1846 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
1848 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
1849 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
1850 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
1851 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
1852 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
1853 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
1854 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
1855 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
1857 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
1860 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
1861 Rename member __data.d to __data.__elision_data.
1863 2014-06-24 Wilco <wdijkstr@arm.com>
1865 * NEWS: Add 16918 to fixed bug list.
1867 2014-06-24 Wilco <wdijkstr@arm.com>
1869 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
1871 2014-06-24 Wilco <wdijkstr@arm.com>
1873 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
1874 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
1875 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
1876 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
1877 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
1878 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
1879 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
1882 2014-06-24 Wilco <wdijkstr@arm.com>
1884 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
1886 2014-06-24 Wilco <wdijkstr@arm.com>
1888 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
1889 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
1890 * sysdeps/arm/fesetround.c (fesetround): Remove space.
1891 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
1893 2014-06-24 Wilco <wdijkstr@arm.com>
1896 * sysdeps/arm/feupdateenv.c (feupdateenv):
1897 Rewrite to reduce FPSCR accesses and fix return value.
1899 2014-06-24 Wilco <wdijkstr@arm.com>
1901 * sysdeps/arm/fclrexcpt.c (feclearexcept):
1902 Optimize to avoid unnecessary FPSCR writes.
1903 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
1904 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
1905 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
1906 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
1908 2014-06-24 Wilco <wdijkstr@arm.com>
1910 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
1911 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
1912 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
1913 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
1914 Call libc_fetestexcept_vfp.
1915 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
1916 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
1917 __SOFTFP__ ifdef so that they can be built for softfp.
1919 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
1921 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
1922 argument type signed char.
1924 * Makerules (check-abi): Dump diff of symlist if the test
1927 2014-06-23 Roland McGrath <roland@hack.frob.com>
1929 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
1932 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
1933 Remove unused variable ST.
1935 2014-06-23 Joseph Myers <joseph@codesourcery.com>
1939 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
1940 small arguments before calling __expm1.
1941 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
1942 small arguments before calling __expm1f.
1943 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
1944 small arguments before calling __expm1l.
1945 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
1947 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
1948 * math/auto-libm-test-in: Add more cosh tests. Do not allow
1949 spurious underflow for some cosh tests.
1950 * math/auto-libm-test-out: Regenerated.
1951 * sysdeps/i386/fpu/libm-test-ulps: Update.
1954 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
1955 (__ieee754_y1): Set errno if return value overflows.
1956 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
1957 (__ieee754_y1f): Set errno if return value overflows.
1958 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
1959 (__ieee754_y1l): Set errno if return value overflows.
1960 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
1961 (__ieee754_y1l): Set errno if return value overflows.
1962 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
1963 * math/auto-libm-test-out: Regenerated.
1965 * math/gen-auto-libm-tests.c: Document use of
1966 ignore-zero-inf-sign.
1967 (input_flag_type): Add value flag_ignore_zero_inf_sign.
1968 (input_flags): Add ignore-zero-inf-sign.
1969 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
1970 * math/gen-libm-test.pl (generate_testfile): Handle
1971 ignore-zero-inf-sign.
1972 * math/auto-libm-test-in: Mark some cpow tests with
1973 ignore-zero-inf-sign and some with xfail-rounding.
1974 * math/auto-libm-test-out: Regenerated.
1975 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
1976 * sysdeps/i386/fpu/libm-test-ulps: Update.
1977 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1980 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
1981 overflowing or underflowing operations take place with sign of
1983 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
1984 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
1985 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
1986 (__ieee754_pow): Recompute overflowing and underflowing results in
1987 original rounding mode.
1988 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
1989 (__powl_helper): Allow negative argument X and scale negated value
1990 as needed. Avoid passing value outside [-1, 1] to f2xm1.
1991 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
1992 overflowing or underflowing operations take place with sign of
1994 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
1996 * math/auto-libm-test-in: Add more tests of pow.
1997 * math/auto-libm-test-out: Regenerated.
1998 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
1999 (pow_tonearest_test_data): Remove.
2000 (pow_test_tonearest): Likewise.
2001 (pow_towardzero_test_data): Likewise.
2002 (pow_test_towardzero): Likewise.
2003 (pow_downward_test_data): Likewise.
2004 (pow_test_downward): Likewise.
2005 (pow_upward_test_data): Likewise.
2006 (pow_test_upward): Likewise.
2007 (main): Don't call removed functions.
2008 * sysdeps/i386/fpu/libm-test-ulps: Update.
2009 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2011 2014-06-23 Roland McGrath <roland@hack.frob.com>
2013 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
2015 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
2016 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2018 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
2019 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
2021 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
2022 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
2024 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
2025 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
2027 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
2029 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
2031 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
2033 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
2035 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
2037 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
2039 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
2041 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
2043 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
2045 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
2047 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
2049 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
2051 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
2052 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
2054 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
2056 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
2058 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
2059 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
2061 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
2062 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
2064 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
2065 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
2067 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
2068 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
2070 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
2071 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
2073 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
2074 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
2076 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
2077 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
2078 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
2080 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
2082 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
2083 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
2085 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
2087 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
2089 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2091 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
2093 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
2095 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
2097 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
2098 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
2100 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
2101 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
2102 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
2103 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
2105 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
2107 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
2109 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
2111 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
2113 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
2114 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
2116 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
2117 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
2119 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
2120 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2122 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
2123 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
2125 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
2127 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
2129 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
2130 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
2132 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
2133 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
2135 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
2136 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
2138 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
2139 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
2140 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
2141 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
2143 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
2144 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
2146 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
2147 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
2149 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
2151 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
2153 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
2155 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
2157 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
2159 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
2161 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
2162 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
2164 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
2165 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
2167 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
2168 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
2170 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
2172 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
2174 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
2176 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
2178 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
2180 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
2182 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
2183 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
2185 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
2187 2014-06-23 Will Newton <will.newton@linaro.org>
2188 Wilco <wdijkstr@arm.com>
2190 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
2191 implementation. Include get-rounding-mode.h.
2192 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
2193 [!libc_feholdsetround_noex_ctx]: Define
2194 libc_feholdsetround_noex_ctx.
2195 [!libc_feholdsetround_noexf_ctx]: Define
2196 libc_feholdsetround_noexf_ctx.
2197 [!libc_feholdsetround_noexl_ctx]: Define
2198 libc_feholdsetround_noexl_ctx.
2199 (libc_feholdsetround_ctx): New function.
2200 (libc_feresetround_ctx): New function.
2201 (libc_feholdsetround_noex_ctx): New function.
2202 (libc_feresetround_noex_ctx): New function.
2204 2014-06-23 Roland McGrath <roland@hack.frob.com>
2206 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
2207 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
2208 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
2209 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
2210 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
2211 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
2213 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
2214 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
2215 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
2216 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
2217 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
2218 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
2219 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
2220 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
2221 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
2222 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
2223 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
2225 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
2227 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
2228 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
2229 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
2230 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
2231 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
2233 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
2234 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
2235 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
2236 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
2237 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
2238 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
2239 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
2240 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
2242 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
2243 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
2245 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
2246 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
2247 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
2248 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
2250 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
2251 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
2252 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
2253 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
2254 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
2255 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
2256 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
2257 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
2258 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
2259 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
2261 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
2263 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
2264 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
2265 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
2266 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
2267 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
2268 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
2269 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
2270 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
2271 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
2272 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
2273 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
2274 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
2275 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
2277 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
2278 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
2279 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
2280 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
2281 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
2282 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
2284 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
2285 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
2286 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
2287 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
2288 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
2290 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
2291 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
2292 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
2293 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
2294 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
2295 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
2296 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
2297 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
2298 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
2299 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
2300 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
2301 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
2302 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
2303 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
2304 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
2305 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
2306 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
2307 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
2308 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
2309 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
2310 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
2311 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
2312 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
2313 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
2314 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
2315 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
2316 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
2317 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
2319 2014-06-23 Joseph Myers <joseph@codesourcery.com>
2321 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
2322 (FALLOC_FL_COLLAPSE_RANGE): New macro.
2323 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
2324 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
2325 (IPV6_PMTUDISC_INTERFACE): Likewise.
2326 (IPV6_PMTUDISC_OMIT): Likewise.
2328 2014-06-23 Andreas Schwab <schwab@suse.de>
2330 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
2331 Remove unused errout label.
2333 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2335 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
2336 macro: hardware supports Vector Crypto instructions.
2338 2014-06-23 Will Newton <will.newton@linaro.org>
2340 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
2341 rather than __builtin_expect.
2343 * elf/dl-lookup.c (undefined_msg): Remove variable.
2344 (_dl_lookup_symbol_x): Replace undefined_msg with string
2347 * elf/dl-lookup.c (do_lookup_unique): New function.
2348 (do_lookup_x): Move STB_GNU_UNIQUE handling code
2349 to a separate function.
2351 2014-06-23 Andreas Schwab <schwab@suse.de>
2354 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
2355 before reading the next line.
2357 2014-06-23 Will Newton <will.newton@linaro.org>
2359 * test-skeleton.c (signal_handler): Use printf and %m
2360 rather than perror. Use printf rather than fprintf to
2361 stderr. Use puts rather than fputs to stderr.
2364 2014-06-22 Ludovic Courtès <ludo@gnu.org>
2366 * nscd/nscd.c (thread_info_t): Remove typedef.
2367 (thread_info): Remove variable.
2369 2014-06-21 Allan McRae <allan@archlinux.org>
2371 * NEWS: Mention CVE-2014-4043.
2373 2014-06-20 Roland McGrath <roland@hack.frob.com>
2375 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
2376 * nptl/smp.h: ... here.
2378 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
2380 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
2381 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
2382 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
2383 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
2385 * nptl/allocatestack.c: Include <stack-aliasing.h>.
2386 * nptl/stack-aliasing.h: New file.
2387 * sysdeps/i386/i686/stack-aliasing.h: New file.
2388 * sysdeps/i386/i686/nptl/Makefile: File removed.
2389 * sysdeps/x86_64/stack-aliasing.h: New file.
2390 * sysdeps/x86_64/nptl/Makefile
2391 (CFLAGS-pthread_create.c): Variable removed.
2393 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
2394 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
2396 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
2397 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
2400 2014-06-21 Joseph Myers <joseph@codesourcery.com>
2402 * sysdeps/unix/sysv/linux/arm/kernel-features.h
2403 (__ASSUME_SIGFRAME_V2): Remove macro.
2404 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
2405 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
2406 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
2407 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
2408 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
2409 Declare as function. Remove conditional macro definitions.
2410 (__default_rt_sa_restorer): Likewise.
2411 (__default_sa_restorer_v1): Remove declaration.
2412 (__default_sa_restorer_v2): Likewise.
2413 (__default_rt_sa_restorer_v1): Likewise.
2414 (__default_rt_sa_restorer_v2): Likewise.
2415 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
2416 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
2417 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
2419 2014-06-20 Roland McGrath <roland@hack.frob.com>
2421 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
2422 (libpthread-routines): Add sysdep.
2423 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
2424 * sysdeps/unix/sysv/linux/sparc/Versions
2425 (libpthread: GLIBC_2.3.3): New version set.
2426 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
2427 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
2428 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
2429 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
2430 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
2431 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
2433 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
2434 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
2435 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
2436 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
2437 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
2438 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
2439 * sysdeps/sparc/nptl/sem_init.c: ... here.
2440 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
2441 * sysdeps/sparc/nptl/sem_post.c: ... here.
2442 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
2443 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
2444 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
2445 * sysdeps/sparc/nptl/sem_wait.c: ... here.
2446 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
2447 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
2448 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
2449 (libpthread-routines): Add cpu_relax.
2450 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
2452 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
2453 (librt: GLIBC_2.3.3): New version set.
2454 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
2455 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
2456 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
2457 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
2458 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
2459 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
2460 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
2461 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
2463 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
2464 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
2465 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
2466 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
2467 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
2468 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
2469 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
2470 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
2471 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
2472 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
2474 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
2476 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
2478 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
2480 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
2482 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
2484 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
2486 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
2488 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
2490 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
2492 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
2494 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
2496 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
2497 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
2498 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
2499 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
2500 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
2501 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
2502 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
2503 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
2504 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
2505 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
2506 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
2508 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
2509 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
2510 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
2511 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
2512 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
2514 2014-06-20 Joseph Myers <joseph@codesourcery.com>
2516 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
2517 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
2518 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
2519 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
2520 * nscd/nscd.c: Likewise.
2521 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
2522 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
2523 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
2524 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
2526 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
2527 <kernel-features.h>.
2528 (init_mq_netlink): Remove conditional have_sock_cloexec
2529 definitions. Remove code conditional on have_sock_cloexec < 0.
2530 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
2531 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
2532 * sysdeps/unix/sysv/linux/opensock.c: Do not include
2533 <kernel-features.h>.
2534 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
2535 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
2537 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
2539 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
2540 Add tests for memset_chk and memset.
2542 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
2545 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
2548 * elf/tst-dl-iter-static.c: New file.
2549 * elf/Makefile (tests-static): Add tst-dl-iter-static.
2551 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
2554 2014-06-20 Joseph Myers <joseph@codesourcery.com>
2556 * sysdeps/unix/sysv/linux/kernel-features.h
2557 (__ASSUME_F_GETOWN_EX): Remove macro.
2558 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
2559 <kernel-features.h>.
2560 (miss_F_GETOWN_EX): Remove variable or macro.
2561 (do_fcntl): Do not check miss_F_GETOWN_EX.
2562 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
2564 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
2566 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
2567 [!__ASSUME_AT_RANDOM]: Remove conditional code.
2568 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
2570 * sysdeps/unix/sysv/linux/kernel-features.h
2571 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
2572 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
2573 [ADJ_OFFSET_SS_READ]: Make code unconditional.
2574 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
2576 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
2579 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
2580 Fix calculation of the symbol's value.
2581 * sysdeps/arm/tst-armtlsdescloc.c: New file.
2582 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
2583 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
2584 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
2585 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
2586 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
2587 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
2588 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
2589 (modules-names): Add `tst-armtlsdescmod',
2590 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
2591 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
2592 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
2593 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
2594 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
2595 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
2596 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
2597 ($(objpfx)tst-armtlsdescloc): New dependency.
2598 ($(objpfx)tst-armtlsdescextnow): Likewise.
2599 ($(objpfx)tst-armtlsdescextlazy): Likewise.
2600 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
2602 * sysdeps/arm/configure: Regenerate.
2604 2014-06-20 Joseph Myers <joseph@codesourcery.com>
2606 * include/fcntl.h (__atfct_seterrno): Remove prototype.
2607 (__atfct_seterrno_2): Likewise.
2608 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
2609 <kernel-features.h>.
2610 (__ASSUME_ATFCTS): Do not undefine and redefine.
2611 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
2612 (__have_atfcts): Remove conditional definition.
2613 (__fxstatat([__NR_fstatat64]: Make code unconditional.
2614 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
2615 unreachable if [__ASSUME_ATFCTS].
2616 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
2617 not undefine and redefine.
2618 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
2619 <kernel-features.h>.
2620 (faccessat) [__NR_faccessat]: Make code unconditional.
2621 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
2622 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
2623 <kernel-features.h>.
2624 (fchmodat) [__NR_fchmodat]: Make code unconditional.
2625 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
2626 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
2627 <kernel-features.h>.
2628 (fchownat) [__NR_fchownat]: Make code unconditional.
2629 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
2630 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
2631 <kernel-features.h>.
2632 (futimesat) [__NR_futimesat]: Make code unconditional.
2633 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
2634 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
2635 <kernel-features.h>.
2636 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
2637 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
2638 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
2639 <kernel-features.h>.
2640 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
2641 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
2642 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
2643 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
2644 <kernel-features.h>.
2645 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
2646 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
2647 * sysdeps/unix/sysv/linux/linkat.c: Do not include
2648 <kernel-features.h>.
2649 (linkat) [__NR_linkat]: Make code unconditional.
2650 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
2651 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
2652 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
2653 <kernel-features.h>.
2654 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
2655 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
2656 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
2657 <kernel-features.h>.
2658 (mkdirat) [__NR_mkdirat]: Make code unconditional.
2659 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
2660 * sysdeps/unix/sysv/linux/openat.c: Do not include
2661 <kernel-features.h>.
2662 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
2663 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
2664 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
2665 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
2666 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
2667 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
2668 <kernel-features.h>.
2669 (readlinkat) [__NR_readlinkat]: Make code unconditional.
2670 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
2671 result of INLINE_SYSCALL directly, not via int variable.
2672 * sysdeps/unix/sysv/linux/renameat.c: Do not include
2673 <kernel-features.h>.
2674 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
2675 (renameat) [__NR_renameat]: Make code unconditional.
2676 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
2677 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
2678 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
2679 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
2680 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
2681 (__ASSUME_ATFCTS): Do not undefine and redefine.
2682 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
2683 <kernel-features.h>.
2684 (symlinkat) [__NR_symlinkat]: Make code unconditional.
2685 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
2686 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
2687 <kernel-features.h>.
2688 (unlinkat) [__NR_unlinkat]: Make code unconditional.
2689 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
2690 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
2691 (__ASSUME_ATFCTS): Do not undefine and redefine.
2692 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
2693 <kernel-features.h>.
2694 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
2695 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
2696 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
2697 <kernel-features.h>.
2698 (__xmknodat) [__NR_mknodat]: Make code unconditional.
2699 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
2701 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
2703 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
2705 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
2708 * posix/regcomp.c (parse_reg_exp): Deallocate partially
2709 constructed tree before returning error.
2710 * posix/bug-regexp36.c: Expand test case.
2712 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
2715 * math/libm-test.inc (scalbln_test_date):
2716 Add errno expectations.
2717 * math/w_scalblnf.c: New File.
2718 Add wrapper which checks for setting errno to ERANGE.
2719 Add weak_alias for corresponding scalbln function.
2720 * math/w_scalbln.c: Likewise.
2721 * math/w_scalblnl.c: Likewise.
2722 * math/Makefile (libm-calls): Add w_scalbln.
2723 * sysdeps/ieee754/flt-32/s_scalblnf.c:
2724 Remove weak_alias for corresponding scalbln function.
2725 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
2726 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
2727 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
2728 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
2729 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
2730 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
2731 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
2732 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
2733 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
2734 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
2735 Remove long_double_symbol for scalblnl function in libm, libc.
2736 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
2737 Add wrapper which checks for setting errno to ERANGE.
2738 Add long_double_symbol for scalblnl function in libm, libc.
2739 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
2740 Remove long_double_symbol for scalblnl in libm.
2741 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
2742 Add wrapper which checks for setting errno to ERANGE.
2743 Add long_double_symbol for scalblnl function in libm.
2744 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
2745 Do not use wrapper because of own implementation.
2747 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
2749 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
2750 3 bytes for __pad1 for x32.
2751 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
2753 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
2754 H.J. Lu <hongjiu.lu@intel.com>
2756 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
2757 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
2758 * sysdeps/x86_64/multiarch/memset.S: Likewise.
2759 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
2760 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
2762 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
2765 * posix/regcomp.c (parse_expression): Deallocate partially
2766 constructed tree before returning error.
2767 * posix/Makefile.c (tests): Add bug-regex36.
2768 (generated): Add bug-regex36.mtrace.
2769 (tests-special): Add $(objpfx)bug-regex36-mem.out
2770 (bug-regex36-ENV): New variable.
2771 ($(objpfx)bug-regex36-mem.out): New rule.
2772 * posix/bug-regex36.c: New file.
2774 2014-06-19 Will Newton <will.newton@linaro.org>
2776 * malloc/malloc.c (systrim): If extra is zero then return
2779 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
2781 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
2783 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
2785 * sysdeps/aarch64/strchr.S: New file.
2787 2014-06-18 Joseph Myers <joseph@codesourcery.com>
2790 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
2791 from arguments -2 or below.
2792 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
2793 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
2795 2014-06-18 Andreas Schwab <schwab@suse.de>
2798 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
2799 of a bracket expr not to run off the end of the string.
2800 * posix/Makefile (tests): Add tst-fnmatch3.
2801 * posix/tst-fnmatch3.c: New file.
2803 2014-06-18 Joseph Myers <joseph@codesourcery.com>
2805 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
2806 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
2807 [$(cross-compiling) = no]: Likewise.
2808 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
2809 [$(cross-compiling) = no]: Likewise.
2811 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2814 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
2815 double, adjusted for any remainder from the high double.
2816 * math/libm-test.inc (nearbyint): Add tests.
2819 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2821 * nptl/sysdeps/powerpc/Makefile: Moved ...
2822 * sysdeps/powerpc/nptl/Makefile: ... here.
2823 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
2824 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
2825 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
2826 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
2827 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
2828 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
2829 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
2830 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
2831 * nptl/sysdeps/powerpc/tls.h: Moved ...
2832 * sysdeps/powerpc/nptl/tls.h: ... here.
2834 2014-06-16 Joseph Myers <joseph@codesourcery.com>
2837 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
2838 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
2839 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
2840 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
2841 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
2842 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
2843 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
2844 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
2845 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
2847 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
2849 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
2851 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
2853 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
2856 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
2859 2014-06-16 Florian Weimer <fweimer@redhat.com>
2862 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
2863 non-executed part of the test.
2865 2014-06-16 Andreas Schwab <schwab@suse.de>
2867 * string/bits/string2.h (strdup, strndup): Update feature guard.
2869 2014-06-14 David S. Miller <davem@davemloft.net>
2871 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2873 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
2875 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
2876 that was previously under [RESET_PID].
2877 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
2879 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
2880 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
2881 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
2882 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
2883 (__libc_vfork): New strong alias.
2884 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
2886 2014-06-14 Andi Kleen <ak@linux.intel.com>
2888 * sysdeps/generic/elide.h: New file.
2890 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
2892 * Makefile (installed-headers): Adjust path of pthread.h header.
2894 2014-06-13 Roland McGrath <roland@hack.frob.com>
2896 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
2897 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
2898 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
2899 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
2901 * nptl/sysdeps/s390/Makefile: Moved ...
2902 * sysdeps/s390/nptl/Makefile: ... here.
2903 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
2904 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
2905 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
2906 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
2907 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
2908 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
2909 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
2910 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
2911 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
2912 * sysdeps/s390/nptl/pthreaddef.h: ... here.
2913 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
2914 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
2915 * nptl/sysdeps/s390/tls.h: Moved ...
2916 * sysdeps/s390/nptl/tls.h: ... here.
2918 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
2919 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
2921 2014-06-13 David S. Miller <davem@davemloft.net>
2923 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
2924 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
2925 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
2926 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
2927 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
2928 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
2929 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
2930 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
2931 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
2932 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
2933 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
2934 Remove RESET_PID cpp guards.
2935 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
2936 Remove RESET_PID cpp guards.
2937 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
2939 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
2941 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
2944 2014-06-13 Andi Kleen <ak@linux.intel.com>
2946 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
2947 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
2948 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
2949 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
2950 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
2951 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
2952 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
2953 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
2954 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
2955 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
2956 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
2957 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
2958 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
2959 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
2960 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
2961 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
2962 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
2963 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
2964 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
2965 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
2967 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
2968 (pthread_rwlock_rdlock): Add elision.
2969 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
2970 (pthread_rwlock_wrlock): Add elision.
2971 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
2972 (pthread_rwlock_trywrlock): Add elision.
2973 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
2974 (pthread_rwlock_tryrdlock): Add elision.
2975 * nptl/pthread_rwlock_unlock.c: Include elide.h.
2976 (pthread_rwlock_tryrdlock): Add elision unlock.
2977 * nptl/sysdeps/pthread/pthread.h:
2978 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
2979 (PTHREAD_RWLOCK_INITIALIZER,
2980 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
2981 Handle new elision field.
2982 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
2983 * sysdeps/arm/nptl/bits/pthreadtypes.h
2984 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2985 * sysdeps/sh/nptl/bits/pthreadtypes.h
2986 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2987 * sysdeps/tile/nptl/bits/pthreadtypes.h
2988 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2989 * sysdeps/a/nptl/bits/pthreadtypes.h
2990 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2991 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
2992 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2993 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
2994 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2995 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
2996 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2997 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
2998 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2999 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
3000 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3001 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
3002 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3003 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
3004 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3005 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
3006 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3007 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
3008 (elision_init): Set try_xbegin to zero when no RTM.
3009 * sysdeps/x86/nptl/bits/pthreadtypes.h
3010 (pthread_rwlock_t): Change __pad1 to __rwelision.
3011 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3013 2014-06-13 Andi Kleen <ak@linux.intel.com>
3015 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
3016 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
3017 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
3018 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
3020 2014-06-13 Meador Inge <meadori@codesourcery.com>
3023 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
3024 that the cached result has been set before returning it.
3026 2014-06-12 Roland McGrath <roland@hack.frob.com>
3028 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
3029 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
3030 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
3031 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
3032 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
3033 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
3035 * nptl/sysdeps/sparc/Makefile: Moved ...
3036 * sysdeps/sparc/nptl/Makefile: ... here.
3037 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
3038 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
3039 * nptl/sysdeps/sparc/tls.h: Moved ...
3040 * sysdeps/sparc/nptl/tls.h: ... here.
3041 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
3042 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
3043 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
3044 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
3045 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
3046 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
3047 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
3048 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
3049 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
3050 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
3051 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
3052 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
3053 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
3054 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
3055 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
3056 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
3057 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
3058 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
3060 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
3061 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
3063 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
3064 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
3066 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
3067 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
3070 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
3072 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
3073 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
3075 * sysdeps/pthread/posix-timer.h: Include <list.h>.
3076 (struct list_links): Type removed.
3077 (struct thread_node, struct timer_node): Replace struct list_links
3078 with struct list_head.
3079 (list_unlink_ip): Likewise.
3080 * sysdeps/pthread/timer_routines.c
3081 (timer_free_list, thread_free_list, thread_active_list): Likewise.
3082 (list_append, list_insbefore): Likewise.
3083 (list_init): Function removed.
3084 (thread_init, init_module): Use INIT_LIST_HEAD instead.
3085 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
3086 * sysdeps/pthread/Makefile: ... here, new file.
3088 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
3089 * sysdeps/nptl/Implies: ... here.
3090 * sysdeps/unix/sysv/linux/Implies: Add nptl.
3091 * nptl/sysdeps/pthread/list.h: Moved ...
3092 * include/list.h: ... here.
3093 * nptl/sysdeps/pthread/createthread.c: Moved ...
3094 * nptl/createthread.c: ... here.
3095 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
3096 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
3097 * nptl/pt-longjmp.c: ... here.
3098 * nptl/sysdeps/pthread/Makefile: Moved ...
3099 * sysdeps/nptl/Makefile: ... here.
3100 * nptl/sysdeps/pthread/Subdirs: Moved ...
3101 * sysdeps/nptl/Subdirs: ... here.
3102 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
3103 * sysdeps/nptl/aio_misc.h: ... here.
3104 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
3105 * sysdeps/nptl/bits/libc-lock.h: ... here.
3106 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
3107 * sysdeps/nptl/bits/libc-lockP.h: ... here.
3108 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
3109 * sysdeps/nptl/bits/stdio-lock.h: ... here.
3110 * nptl/sysdeps/pthread/configure: Moved ...
3111 * sysdeps/nptl/configure: ... here.
3112 * nptl/sysdeps/pthread/configure.ac: Moved ...
3113 * sysdeps/nptl/configure.ac: ... here.
3114 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
3115 * sysdeps/nptl/gai_misc.h: ... here.
3116 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
3117 * sysdeps/nptl/librt-cancellation.c: ... here.
3118 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
3119 * sysdeps/nptl/malloc-machine.h: ... here.
3120 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
3121 * sysdeps/nptl/pthread-functions.h: ... here.
3122 * nptl/sysdeps/pthread/pthread.h: Moved ...
3123 * sysdeps/nptl/pthread.h: ... here.
3124 * nptl/sysdeps/pthread/setxid.h: Moved ...
3125 * sysdeps/nptl/setxid.h: ... here.
3126 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
3127 * sysdeps/nptl/sigfillset.c: ... here.
3128 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
3129 * sysdeps/nptl/tcb-offsets.h: ... here.
3130 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
3131 * sysdeps/nptl/tst-mqueue8x.c: ... here.
3132 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
3133 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
3134 * nptl/sysdeps/pthread/allocalim.h: Moved ...
3135 * sysdeps/pthread/allocalim.h: ... here.
3136 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
3137 * sysdeps/pthread/bits/sigthread.h: ... here.
3138 * nptl/sysdeps/pthread/flockfile.c: Moved ...
3139 * sysdeps/pthread/flockfile.c: ... here.
3140 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
3141 * sysdeps/pthread/ftrylockfile.c: ... here.
3142 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
3143 * sysdeps/pthread/funlockfile.c: ... here.
3144 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
3145 * sysdeps/pthread/posix-timer.h: ... here.
3146 * nptl/sysdeps/pthread/timer_create.c: Moved ...
3147 * sysdeps/pthread/timer_create.c: ... here.
3148 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
3149 * sysdeps/pthread/timer_delete.c: ... here.
3150 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
3151 * sysdeps/pthread/timer_getoverr.c: ... here.
3152 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
3153 * sysdeps/pthread/timer_gettime.c: ... here.
3154 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
3155 * sysdeps/pthread/timer_routines.c: ... here.
3156 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
3157 * sysdeps/pthread/timer_settime.c: ... here.
3158 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
3159 * sysdeps/pthread/tst-timer.c: ... here.
3160 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
3161 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
3163 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
3164 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
3166 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
3167 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
3168 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
3169 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
3170 Update #include target.
3171 * nptl/sysdeps/i386/i686/Makefile: Moved ...
3172 * sysdeps/i386/i686/nptl/Makefile: ... here.
3173 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
3174 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
3175 Update #include target.
3176 * nptl/sysdeps/i386/i686/tls.h: Moved ...
3177 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
3178 * nptl/sysdeps/i386/Makefile: Moved ...
3179 * sysdeps/i386/nptl/Makefile: ... here.
3180 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
3181 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
3182 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
3183 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
3184 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
3185 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
3186 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
3187 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
3188 * sysdeps/i386/nptl/pthreaddef.h: ... here.
3189 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
3190 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
3191 * nptl/sysdeps/i386/tls.h: Moved ...
3192 * sysdeps/i386/nptl/tls.h: ... here.
3194 * sysdeps/sh/Makefile [$(subdir) = csu]
3195 (gen-as-const-headers): Add tcb-offsets.sym.
3196 * nptl/sysdeps/sh/Makefile: File removed.
3197 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
3198 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
3199 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
3200 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
3201 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
3202 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
3203 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
3204 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
3205 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
3206 * sysdeps/sh/nptl/pthreaddef.h: ... here.
3207 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
3208 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
3209 * nptl/sysdeps/sh/tls.h: Moved ...
3210 * sysdeps/sh/nptl/tls.h: ... here.
3211 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
3212 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
3213 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
3214 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
3215 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
3216 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
3217 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
3218 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
3219 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
3220 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
3221 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
3222 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
3223 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
3224 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
3225 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
3226 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
3227 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
3228 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
3229 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
3230 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
3231 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
3232 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
3233 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
3234 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
3235 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
3237 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
3238 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
3240 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
3241 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
3242 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
3243 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
3244 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
3245 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
3246 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
3247 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
3248 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
3249 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
3250 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
3251 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
3252 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
3253 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
3254 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
3255 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
3256 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
3257 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
3258 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
3260 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
3262 * posix/spawn_faction_addopen.c: Include string.h.
3264 2014-06-11 Roland McGrath <roland@hack.frob.com>
3266 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
3267 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
3268 * nptl/sysdeps/x86_64/Makefile: Moved ...
3269 * sysdeps/x86_64/nptl/Makefile: ... here.
3270 * nptl/sysdeps/x86_64/configure: Moved ...
3271 * sysdeps/x86_64/nptl/configure: ... here.
3272 * nptl/sysdeps/x86_64/configure.ac: Moved ...
3273 * sysdeps/x86_64/nptl/configure.ac: ... here.
3274 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
3275 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
3276 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
3277 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
3278 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
3279 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
3280 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
3281 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
3282 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
3283 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
3284 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
3285 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
3286 * nptl/sysdeps/x86_64/tls.h: Moved ...
3287 * sysdeps/x86_64/nptl/tls.h: ... here.
3288 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
3289 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
3290 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
3291 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
3293 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
3295 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3297 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3299 2014-06-11 Joseph Myers <joseph@codesourcery.com>
3301 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
3303 [POSIX] (off_t): Likewise.
3304 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
3305 [POSIX] (S_ISBLK): Require macro.
3306 [POSIX] (S_ISCHR): Likewise.
3307 [POSIX] (S_ISDIR): Likewise.
3308 [POSIX] (S_ISFIFO): Likewise.
3309 [POSIX] (S_ISREG): Likewise.
3310 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
3312 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
3314 [POSIX] (time_t): Likewise.
3315 [POSIX] (timer_t): Likewise.
3317 2014-06-11 Florian Weimer <fweimer@redhat.com>
3320 * posix/spawn_int.h (struct __spawn_action): Make the path string
3321 non-const to support deallocation.
3322 * posix/spawn_faction_addopen.c
3323 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
3324 * posix/spawn_faction_destroy.c
3325 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
3326 path in all spawn_do_open actions.
3327 * posix/tst-spawn.c (do_test): Exercise the copy operation in
3328 posix_spawn_file_actions_addopen.
3330 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
3332 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
3333 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
3334 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
3335 conditional code always true.
3336 (__libc_vfork): New alias.
3338 2014-06-11 Roland McGrath <roland@hack.frob.com>
3340 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3341 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
3343 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
3345 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3346 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
3348 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
3349 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
3351 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3352 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
3354 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
3356 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
3357 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
3358 multiarch strcmp for PPC64.
3359 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
3360 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
3361 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
3362 multiarch optimizations.
3363 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3364 (__libc_ifunc_impl_list): Likewise.
3366 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3368 * benchtests/scripts/validate_benchout.py: New script.
3369 * benchtests/Makefile (bench-func): Call it.
3370 * benchtests/scripts/benchout.schema.json: New file.
3372 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
3374 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
3375 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
3376 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
3377 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
3378 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
3379 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
3380 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
3381 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
3382 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
3383 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
3384 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
3385 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
3386 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
3387 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
3388 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
3389 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
3390 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
3392 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
3394 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
3396 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
3397 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
3399 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
3401 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
3403 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
3405 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
3407 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
3408 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
3410 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
3412 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
3414 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
3416 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
3418 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
3419 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
3421 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
3423 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
3425 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
3427 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
3429 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
3431 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
3433 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
3434 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
3436 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
3438 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
3440 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
3442 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
3444 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
3446 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
3448 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
3449 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
3451 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
3453 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
3455 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
3457 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
3459 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
3460 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
3462 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
3464 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
3466 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
3467 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
3469 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
3470 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
3472 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
3474 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
3476 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
3478 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
3480 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
3482 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
3484 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
3485 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
3487 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
3489 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
3491 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
3493 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
3494 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
3495 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
3496 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
3497 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
3499 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
3501 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
3502 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
3503 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
3504 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
3505 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
3506 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
3507 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
3508 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
3509 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
3510 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
3511 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
3512 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
3513 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
3515 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
3516 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
3518 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
3519 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
3520 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
3521 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
3523 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
3524 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
3525 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
3526 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
3527 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
3528 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
3529 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
3531 2014-06-10 Wilco <wdijkstr@arm.com>
3533 * math/test-fenv-return.c: New file.
3534 * math/Makefile: Add new test test-fenv-return.
3536 2014-06-10 Joseph Myers <joseph@codesourcery.com>
3539 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
3541 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
3542 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
3543 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
3544 0.0L for an argument of 1.0L.
3545 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
3547 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
3548 value when x - 1 is zero.
3549 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
3550 * sysdeps/i386/fpu/libm-test-ulps: Update.
3551 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3553 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
3556 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
3558 2014-06-09 Roland McGrath <roland@hack.frob.com>
3560 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
3561 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
3563 2014-06-09 Roland McGrath <roland@hack.frob.com>
3565 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3566 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
3568 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3569 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
3571 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3572 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
3574 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3575 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
3577 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
3578 if not already defined.
3579 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
3580 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
3581 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
3582 (TLS_INIT_TP): Use it.
3583 (TLS_DEFINE_INIT_TP): New macro.
3584 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
3586 2014-06-09 Joseph Myers <joseph@codesourcery.com>
3588 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
3590 [POSIX] (IXANY): Likewise.
3591 [POSIX] (OLCUC): Likewise.
3592 [POSIX || POSIX2008] (CBAUD): Do not allow.
3593 [POSIX || POSIX2008] (DEFECHO): Likewise.
3594 [POSIX || POSIX2008] (ECHOCTL): Likewise.
3595 [POSIX || POSIX2008] (ECHOKE): Likewise.
3596 [POSIX || POSIX2008] (ECHOPRT): Likewise.
3597 [POSIX || POSIX2008] (EXTA): Likewise.
3598 [POSIX || POSIX2008] (EXTB): Likewise.
3599 [POSIX || POSIX2008] (FLUSHO): Likewise.
3600 [POSIX || POSIX2008] (LOBLK): Likewise.
3601 [POSIX || POSIX2008] (PENDIN): Likewise.
3602 [POSIX || POSIX2008] (SWTCH): Likewise.
3603 [POSIX || POSIX2008] (VDISCARD): Likewise.
3604 [POSIX || POSIX2008] (VDSUSP): Likewise.
3605 [POSIX || POSIX2008] (VLNEXT): Likewise.
3606 [POSIX || POSIX2008] (VREPRINT): Likewise.
3607 [POSIX || POSIX2008] (VSTATUS): Likewise.
3608 [POSIX || POSIX2008] (VWERASE): Likewise.
3609 (B*): Change to B[0123456789]*.
3610 * conform/data/time.h-data [POSIX || UNIX98]
3611 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
3612 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
3613 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
3614 [POSIX] (tm_*): Do not allow.
3616 2014-06-07 Joseph Myers <joseph@codesourcery.com>
3618 * Makefile (install): Don't set LANGUAGE.
3619 * Makefile.in (install): Likewise.
3620 * assert/Makefile (test-assert-ENV): Remove variable.
3621 (test-assert-perr-ENV): Likewise.
3622 * elf/Makefile (neededtest4-ENV): Likewise.
3623 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
3624 [$(cross-compiling) = no]: Don't set LANGUAGE.
3625 * io/ftwtest-sh (LANG): Remove variable.
3626 * libio/Makefile (tst-widetext-ENV): Likewise.
3627 * manual/install.texi (Running make install): Don't refer to
3628 environment settings for make install.
3629 * INSTALL: Regenerated.
3630 * nptl/tst-tls6.sh: Don't set LANG.
3631 * posix/globtest.sh (LANG): Remove variable.
3632 * string/Makefile (tester-ENV): Likewise.
3633 (inl-tester-ENV): Likewise.
3634 (noinl-tester-ENV): Likewise.
3635 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
3636 [$(cross-compiling) = no]: Don't set LANGUAGE.
3637 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
3638 without explicit environment settings.
3640 2014-06-06 Roland McGrath <roland@hack.frob.com>
3642 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
3643 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
3644 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
3645 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
3647 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
3649 * crypt/crypt-private.h [DOS]: Add some includes taken from the
3650 other files in the crypt directory.
3651 * crypt/crypt.c: Remove duplicate includes.
3652 * crypt/crypt-entry.c: Likewise.
3653 * crypt/crypt_util.c: Likewise.
3655 2014-06-06 Joseph Myers <joseph@codesourcery.com>
3657 * Makeconfig (run-program-env): New variable.
3658 (run-program-prefix-before-env): Likewise.
3659 (run-program-prefix-after-env): Likewise.
3660 (run-program-prefix): Define in terms of new variables.
3661 (built-program-cmd-before-env): New variable.
3662 (built-program-cmd-after-env): Likewise.
3663 (built-program-cmd): Define in terms of new variables.
3664 (test-program-prefix-before-env): New variable.
3665 (test-program-prefix-after-env): Likewise.
3666 (test-program-prefix): Define in terms of new variables.
3667 (test-program-cmd-before-env): New variable.
3668 (test-program-cmd-after-env): Likewise.
3669 (test-program-cmd): Define in terms of new variables.
3670 * Rules (make-test-out): Use $(run-program-env).
3671 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
3672 (help): Do not mention environment variables. Mention
3673 --timeoutfactor option.
3674 (timeoutfactor): New variable.
3675 (blacklist_exports): Remove function.
3676 (exports): Remove variable.
3677 (command): Do not include ${exports}.
3678 * manual/install.texi (Configuring and compiling): Do not mention
3679 test wrappers preserving environment variables. Mention that last
3680 assignment to a variable must take precedence.
3681 * INSTALL: Regenerated.
3682 * benchtests/Makefile (run-bench): Use $(run-program-env).
3683 * catgets/Makefile ($(objpfx)test1.cat): Use
3684 $(built-program-cmd-before-env), $(run-program-env) and
3685 $(built-program-cmd-after-env).
3686 ($(objpfx)test2.cat): Do not specify environment variables
3688 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
3689 $(run-program-env) and $(built-program-cmd-after-env).
3690 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
3691 $(run-program-env) and $(test-program-cmd-after-env).
3692 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
3694 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
3695 run_program_env and test_program_cmd_after_env arguments.
3696 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
3697 * elf/tst-pathopt.sh: Use run_program_env argument.
3698 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
3699 $(test-wrapper-env) and $(run-program-env).
3700 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
3701 run_program_env arguments.
3702 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
3703 * intl/Makefile ($(objpfx)tst-gettext.out): Use
3704 $(test-program-prefix-before-env), $(run-program-env) and
3705 $(test-program-prefix-after-env).
3706 ($(objpfx)tst-gettext2.out): Likewise.
3707 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
3708 run_program_env and test_program_prefix_after_env arguments.
3709 * intl/tst-gettext2.sh: Likewise.
3710 * intl/tst-gettext4.sh: Do not set environment variables
3712 * intl/tst-gettext6.sh: Likewise.
3713 * intl/tst-translit.sh: Likewise.
3714 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
3715 $(test-program-prefix-before-env), $(run-program-env) and
3716 $(test-program-prefix-after-env).
3717 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
3718 run_program_env and test_program_prefix_after_env arguments.
3719 * math/Makefile (run-regen-ulps): Use $(run-program-env).
3720 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
3721 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
3722 explicitly with each use of ${test_wrapper_env}.
3723 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
3724 $(test-program-prefix-before-env), $(run-program-env) and
3725 $(test-program-prefix-after-env).
3726 * posix/tst-getconf.sh: Do not set environment variables
3728 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
3729 run_program_env and test_program_prefix_after_env arguments.
3730 * stdio-common/tst-printf.sh: Do not set environment variables
3732 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
3733 $(test-program-prefix-before-env), $(run-program-env) and
3734 $(test-program-prefix-after-env).
3735 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
3736 run_program_env and test_program_prefix_after_env arguments.
3737 Split $test calls into $test_pre and $test.
3738 * timezone/Makefile (build-testdata): Use
3739 $(built-program-cmd-before-env), $(run-program-env) and
3740 $(built-program-cmd-after-env).
3742 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3744 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
3745 strlen for non SHARED builds.
3747 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
3749 * nptl/allocatestack.c (check_list): Inlined function...
3750 (__reclaim_stacks): ... here.
3752 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
3755 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
3758 2014-06-05 Joseph Myers <joseph@codesourcery.com>
3760 * Rules (make-test-out): Include
3761 LOCPATH=$(common-objpfx)localedata in default environment.
3762 * debug/Makefile (tst-chk1-ENV): Remove variable.
3763 (tst-chk2-ENV): Likewise.
3764 (tst-chk3-ENV): Likewise.
3765 (tst-chk4-ENV): Likewise.
3766 (tst-chk5-ENV): Likewise.
3767 (tst-chk6-ENV): Likewise.
3768 (tst-lfschk1-ENV): Likewise.
3769 (tst-lfschk2-ENV): Likewise.
3770 (tst-lfschk3-ENV): Likewise.
3771 (tst-lfschk4-ENV): Likewise.
3772 (tst-lfschk5-ENV): Likewise.
3773 (tst-lfschk6-ENV): Likewise.
3774 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
3775 (tst-iconv7-ENV): Likewise.
3776 * intl/Makefile (LOCPATH-ENV): Likewise.
3777 (tst-codeset-ENV): Likewise.
3778 (tst-gettext3-ENV): Likewise.
3779 (tst-gettext5-ENV): Likewise.
3780 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
3781 (tst-fopenloc-ENV): Likewise.
3782 (tst-fgetws-ENV): Remove variable.
3783 (tst-ungetwc1-ENV): Likewise.
3784 (tst-ungetwc2-ENV): Likewise.
3785 (bug-ungetwc2-ENV): Likewise.
3786 (tst-swscanf-ENV): Likewise.
3787 (bug-ftell-ENV): Likewise.
3788 (tst-fgetwc-ENV): Likewise.
3789 (tst-fseek-ENV): Likewise.
3790 (tst-ftell-partial-wide-ENV): Likewise.
3791 (tst-ftell-active-handler-ENV): Likewise.
3792 (tst-ftell-append-ENV): Likewise.
3793 * posix/Makefile (tst-fnmatch-ENV): Likewise.
3794 (tst-regexloc-ENV): Likewise.
3795 (bug-regex1-ENV): Likewise.
3796 (tst-regex-ENV): Likewise.
3797 (tst-regex2-ENV): Likewise.
3798 (bug-regex5-ENV): Likewise.
3799 (bug-regex6-ENV): Likewise.
3800 (bug-regex17-ENV): Likewise.
3801 (bug-regex18-ENV): Likewise.
3802 (bug-regex19-ENV): Likewise.
3803 (bug-regex20-ENV): Likewise.
3804 (bug-regex22-ENV): Likewise.
3805 (bug-regex23-ENV): Likewise.
3806 (bug-regex25-ENV): Likewise.
3807 (bug-regex26-ENV): Likewise.
3808 (bug-regex30-ENV): Likewise.
3809 (bug-regex32-ENV): Likewise.
3810 (bug-regex33-ENV): Likewise.
3811 (bug-regex34-ENV): Likewise.
3812 (bug-regex35-ENV): Likewise.
3813 (tst-rxspencer-ENV): Likewise.
3814 (tst-rxspencer-no-utf8-ENV): Likewise.
3815 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
3816 (tst-sscanf-ENV): Likewise.
3817 (tst-swprintf-ENV): Likewise.
3818 (tst-swscanf-ENV): Likewise.
3819 (test-vfprintf-ENV): Likewise.
3820 (scanf13-ENV): Likewise.
3821 (bug14-ENV): Likewise.
3822 (tst-grouping-ENV): Likewise.
3823 * stdlib/Makefile (tst-strtod-ENV): Likewise.
3824 (tst-strtod3-ENV): Likewise.
3825 (tst-strtod4-ENV): Likewise.
3826 (tst-strtod5-ENV): Likewise.
3827 (testmb2-ENV): Likewise./
3828 * string/Makefile (tst-strxfrm-ENV): Likewise.
3829 (tst-strxfrm2-ENV): Likewise.
3830 (bug-strcoll1-ENV): Likewise.
3831 (test-strcasecmp-ENV): Likewise.
3832 (test-strncasecmp-ENV): Likewise.
3833 * time/Makefile (tst-strptime-ENV): Likewise.
3834 (tst-ftime_l-ENV): Likewise.
3835 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
3836 (tst-mbrtowc-ENV): Likewise.
3837 (tst-wcrtomb-ENV): Likewise.
3838 (tst-mbrtowc2-ENV): Likewise.
3839 (tst-c16c32-1-ENV): Likewise.
3840 (tst-mbsnrtowcs-ENV): Likewise.
3842 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
3844 * manual/resource.texi (How to get information about the memory
3845 subsystem?): Fix typo.
3846 Reported by Peon de la Parra Ivan <peon@keba.com>
3848 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
3851 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
3852 (pthread_spin_lock): Branch out of spin loop to proper location.
3853 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
3854 (pthread_spin_lock): Likewise.
3856 * nptl/tst-spin4.c: New test.
3857 * nptl/Makefile (tests): Add tst-spin4.
3859 2014-06-03 Andreas Schwab <schwab@suse.de>
3862 * resolv/res_send.c (send_dg): Reload file descriptor after
3865 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
3867 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
3869 2014-06-03 Richard Henderson <rth@redhat.com>
3871 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
3872 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
3873 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
3874 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
3875 in the SAVE_PID block.
3876 (__libc_vfork): New alias.
3877 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
3879 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
3880 child in registers, not on the stack. Remove RESET_PID conditionals.
3881 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
3883 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
3885 * sysdeps/aarch64/libm-test-ulps: Regenerate.
3887 2014-06-03 Wilco <wdijkstr@arm.com>
3889 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
3890 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
3891 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
3892 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
3893 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
3896 2014-06-03 Wilco <wdijkstr@arm.com>
3898 * sysdeps/aarch64/fpu/math_private.h
3899 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
3900 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
3901 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
3902 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
3905 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
3907 * crypt/crypt-private.h: Include ufc-crypt.h.
3908 (__b64_from_24bit): Declare extern.
3909 * crypt/crypt_util.c(__b64_from_24bit): New function.
3910 (b64t): New static const variable.
3911 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
3912 (b64t): Remove variable.
3913 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
3914 * crypt/sha256-crypt.c: Include crypt-private.h.
3915 (b64t): Remove variable.
3916 (__sha256_crypt_r): Remove b64_from_24bit and replace
3917 with __b64_from_24bit.
3918 * crypt/sha512-crypt.c: Likewise.
3920 2014-06-02 Roland McGrath <roland@hack.frob.com>
3922 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
3923 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
3924 Label the code __libc_vfork rather than __vfork.
3925 [!NOT_IN_libc] (vfork): Define as weak alias.
3926 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
3927 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
3928 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
3930 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
3932 * malloc/malloc.c (malloc_info): Fix format specifier for
3935 2014-06-02 Wilco <wdijkstr@arm.com>
3937 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
3940 2014-06-02 Wilco <wdijkstr@arm.com>
3943 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
3944 Rewrite to reduce FPCR/FPSR accesses.
3946 2014-06-01 David S. Miller <davem@davemloft.net>
3948 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3950 2014-05-31 David S. Miller <davem@davemloft.net>
3952 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
3953 to occur in round to nearest mode when |x| >= 2.0
3955 2014-05-30 Richard Henderson <rth@twiddle.net>
3957 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
3958 (PSEUDO_RET_NOERRNO): Remove.
3959 (ret): Don't redefine.
3960 (ret_NOERRNO): Define in terms of ret.
3961 (ret_ERRVAL): Likewise.
3963 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
3964 use of PSEUDO_RET; perform the error check directly.
3966 2014-05-30 Marko Myllynen <myllynen@redhat.com>
3968 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
3971 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3973 * malloc/malloc (malloc_info): Fix formatting.
3975 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3976 Roland McGrath <roland@hack.frob.com>
3978 * malloc/malloc (malloc_info): Also print mmapped statistics.
3980 2014-05-30 Roland McGrath <roland@hack.frob.com>
3982 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
3983 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
3985 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
3987 * malloc/malloc.c (malloc_info): Inline mi_arena.
3989 2014-05-29 Richard Henderson <rth@twiddle.net>
3991 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
3992 Remove comma before expanding ASM_ARGS_##nr.
3993 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
3994 Make _x0 a strict output; make _x8 a strict input; adjust expansion
3996 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
3997 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
3998 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
3999 (ASM_ARGS_1): Add leading comma.
4001 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
4002 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
4003 to __errno_location.
4004 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
4005 Remove the expected plt for __errno_location.
4007 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
4008 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
4011 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
4012 Always allocate 64 bytes of stack frame. Use ldp/stp to create
4013 it and break it down.
4014 (DOCARGS_0, DOCARGS_1): Do nothing.
4015 (DOCARGS_2): Update to store into the new stack frame.
4016 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
4017 (UNDOCARGS_1): Update to restore from the new stack frame.
4018 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
4019 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
4021 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
4022 (SINGLE_THREAD_P): New parameter for result regno.
4023 (PSEUDO): Update to match; use cbz instead of beq.
4025 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
4026 Use ENTRY to define the _nocancel entry point. Share the syscall
4027 and syscall error check paths with the cancel path.
4030 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
4031 whitespace; tabs before and after asm mnemonics.
4033 2014-05-29 Eric Wong <normalperson@yhbt.net>
4036 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
4037 Call fstat64 or stat64 internally, depending on arguments passed.
4038 Replace stat buffer argument with file descriptor argument.
4039 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
4040 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
4041 Pass fd to __internal_statvfs instead of calling fstat64.
4042 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
4043 Pass fd to __internal_statvfs64 instead of calling fstat64.
4044 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
4045 Pass -1 to __internal_statvfs instead of calling stat64.
4046 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
4047 Pass -1 to __internal_statvfs64 instead of calling stat64.
4049 2014-05-28 Roland McGrath <roland@hack.frob.com>
4051 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
4052 that was previously under [RESET_PID].
4053 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
4055 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
4056 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
4058 2014-05-27 Roland McGrath <roland@hack.frob.com>
4060 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
4062 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
4063 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
4065 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
4067 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
4069 2014-05-27 Andreas Schwab <schwab@suse.de>
4071 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
4073 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
4074 * elf/rtld.c (init_tls, dl_main): Likewise.
4075 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
4076 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
4077 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
4078 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
4079 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
4080 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
4081 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
4082 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
4083 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
4084 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
4085 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
4086 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
4087 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
4088 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
4089 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
4090 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
4091 * sysdeps/generic/tls.h: Update description.
4093 2014-05-27 Will Newton <will.newton@linaro.org>
4096 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
4097 and restore r2 rather than just restoring.
4099 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4102 * libio/tst-ftell-append.c: New test case.
4103 * libio/Makefile (tests): Add test case.
4104 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
4106 * libio/wfileops.c (do_ftell_wide): Likewise.
4108 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4110 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4112 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
4114 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
4115 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
4116 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
4117 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
4118 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
4119 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
4120 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
4121 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
4122 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
4124 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
4125 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
4127 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
4128 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
4129 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
4130 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
4131 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
4132 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
4134 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
4135 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
4137 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
4139 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
4141 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
4142 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
4143 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
4145 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
4146 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
4147 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
4148 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
4150 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
4152 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
4153 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
4155 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
4156 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
4158 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
4159 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
4161 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
4163 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
4165 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
4166 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
4168 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
4170 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
4171 conditional [RESET_PID].
4172 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
4173 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
4175 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
4178 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
4180 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
4181 (__libc_vfork): New strong alias.
4182 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
4184 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
4187 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
4189 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
4190 (__libc_vfork): New strong alias.
4191 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
4193 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
4196 2014-05-26 Carlos O'Donell <carlos@redhat.com>
4198 * malloc/malloc.c (mi_arena): New function.
4199 (malloc_info): Remove nested function mi_arena. Call non-nosted
4202 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4204 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
4206 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
4207 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
4208 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
4209 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
4210 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
4211 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
4212 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
4214 2014-05-26 Andreas Schwab <schwab@suse.de>
4217 * locale/programs/repertoire.c (repertoire_read): Add slash
4218 between I18NPATH element and file name.
4219 * locale/programs/locfile.c (locfile_read): Likewise.
4221 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
4223 * nptl/pthread_mutexattr_settype.c
4224 (__pthread_mutexattr_settype):
4225 Disable lock elision for PTHREAD_MUTEX_NORMAL.
4227 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
4229 * nptl/tst-mutex5 (do_test):
4230 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
4232 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4234 * benchtests/README: Document 'init' directive.
4235 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
4237 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
4238 (parse_file): Recognize 'init' directive.
4240 2014-05-26 Kyle McMartin <kyle@redhat.com>
4243 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
4244 alignment of struct pthread.
4246 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4249 * nscd/netgroupcache.c (addgetnetgrentX): Look for
4250 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
4251 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
4252 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
4254 2014-05-25 Richard Henderson <rth@twiddle.net>
4256 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
4257 (SINGLE_THREAD_P_PIC): Remove.
4258 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
4259 (SINGLE_THREAD_P_PIC): Remove.
4261 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
4262 branch to syscall error ...
4264 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
4265 from __local_syscall_error to .Lsyscall_error.
4266 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
4267 (SYSCALL_ERROR): Update label name.
4269 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
4270 Do not use DOARGS/UNDOARGS.
4271 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
4272 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
4273 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
4274 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
4275 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
4277 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
4280 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
4281 define if !NOT_IN_libc.
4282 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
4283 define with non-default symbol versions.
4285 2014-05-23 Richard Henderson <rth@twiddle.net>
4287 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
4288 (vfork, __vfork): Define via compat_symbol.
4290 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
4291 [!HAVE_IFUNC] (vfork_compat): Remove.
4292 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
4294 2014-05-23 Joseph Myers <joseph@codesourcery.com>
4297 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
4298 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
4301 2014-05-23 Richard Henderson <rth@twiddle.net>
4303 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
4304 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
4305 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
4306 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
4308 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
4309 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
4310 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
4311 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
4312 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
4313 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
4314 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
4315 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
4316 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
4317 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
4318 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
4319 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
4320 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
4321 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
4322 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
4323 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
4324 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
4325 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
4326 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
4327 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
4328 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
4329 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
4330 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
4331 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
4332 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
4333 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
4334 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
4335 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
4336 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
4337 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
4338 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
4339 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
4340 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
4341 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
4342 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
4343 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
4344 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
4345 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
4346 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
4347 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
4348 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
4349 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
4350 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
4351 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
4352 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
4353 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
4354 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
4355 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
4356 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
4357 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
4358 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
4359 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
4360 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
4361 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
4362 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
4363 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
4365 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
4366 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
4367 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
4368 before exiting on error.
4369 (__libc_vfork): New strong alias.
4370 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
4371 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
4373 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
4374 that was previously under [RESET_PID].
4375 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
4377 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
4379 2014-05-23 Joseph Myers <joseph@codesourcery.com>
4382 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
4383 value when x - 1 is zero.
4384 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
4385 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
4386 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
4387 0.0L for an argument of 1.0L.
4388 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
4390 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
4391 value when x - 1 is zero.
4392 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
4393 * sysdeps/i386/fpu/libm-test-ulps: Update.
4394 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4396 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
4398 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
4399 alphasort and versionsort.
4401 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4403 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
4405 [copysignf]: Likewise.
4407 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
4409 * crypt/md5-crypt.c: Fix formatting.
4411 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
4413 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
4414 (b64_from_24bit): New function.
4416 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4418 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
4419 libc_hidden_builtin_def to ifunc.
4420 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
4421 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
4423 2014-05-21 Roland McGrath <roland@hack.frob.com>
4425 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
4426 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
4428 2014-05-21 Joseph Myers <joseph@codesourcery.com>
4430 * nscd/Depend (linuxthreads): Remove.
4432 * resolv/Depend (linuxthreads): Remove.
4433 * rt/Depend (linuxthreads): Remove.
4435 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
4436 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
4437 $(common-objpfx)elf/.
4438 (link-libc-before-gnulib): Likewise.
4439 (elfobjdir): Remove variable.
4440 * Makefile (install): Use $(elf-objpfx) instead of
4441 $(common-objpfx)elf/.
4442 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
4444 (link-libc-deps): Likewise.
4445 ($(common-objpfx)libc.so): Likewise.
4446 ($(common-objpfx)linkobj/libc.so): Likewise.
4447 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
4448 instead of $(common-objpfx)elf/.
4449 (symbolic-link-list): Likewise.
4450 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
4451 [$(cross-compiling) = no]: Likewise.
4452 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
4454 (static-gnulib-arch): Likewise.
4455 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
4456 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
4457 $(common-objpfx)elf/.
4459 2014-05-21 Richard Henderson <rth@redhat.com>
4461 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
4462 (SINGLE_THREAD_P): Use the correct width load. Fold
4463 into the ldr offset.
4465 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
4466 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
4468 2014-05-20 Joseph Myers <joseph@codesourcery.com>
4470 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
4471 (libgcc_s_resume): Use __attribute_used__.
4472 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
4475 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4477 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
4478 optimization when used with float constants.
4480 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4482 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
4485 * locale/nl_langinfo_l.c: Make direct reference to every
4486 _nl_current_CATEGORY symbol.
4487 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
4488 (tests-static): Add tst-langinfo-static.
4489 (tests-special): Add tst-langinfo-static.out.
4490 ($(objpfx)tst-langinfo.out): Redirect output.
4491 ($(objpfx)tst-langinfo-static.out): New.
4492 * localedata/tst-langinfo.sh: Send output to stdout.
4493 * localedata/tst-langinfo-static.c: New file.
4496 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
4497 when the shift amount is modulo the limb size.
4499 2014-05-20 Richard Henderson <rth@redhat.com>
4502 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
4503 Change type of sa_flags from unsigned int to int.
4506 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
4508 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
4510 2014-05-20 Will Newton <will.newton@linaro.org>
4512 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
4513 Test the return value of the system call in the nocancel case.
4515 2014-05-20 Will Newton <will.newton@linaro.org>
4516 Yvan Roux <yvan.roux@linaro.org>
4518 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
4519 #include of asm/ptrace.h.
4520 (PTRACE_GET_THREAD_AREA): Remove #undef.
4521 (PTRACE_GETHBPREGS): Likewise.
4522 (PTRACE_SETHBPREGS): Likewise.
4523 (struct user_regs_struct): New structure.
4524 (struct user_fpsimd_struct): New structure.
4525 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
4526 #include of asm/ptrace.h and second #include of sys/user.h.
4527 (PTRACE_GET_THREAD_AREA): Remove #undef.
4528 (PTRACE_GETHBPREGS): Likewise.
4529 (PTRACE_SETHBPREGS): Likewise.
4530 (ELF_NGREG): Use new struct user_regs_struct.
4531 (elf_fpregset_t): Use new struct user_fpsimd_struct.
4533 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4535 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
4536 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
4538 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
4541 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
4542 membar to avoid block loads/stores to overlap previous stores.
4544 2014-05-17 Richard Henderson <rth@redhat.com>
4546 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
4547 Create the __##syscall_name##_nocancel entry point.
4548 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
4549 Remove; let the sysdep-cancel.h code create it.
4551 2014-05-17 David S. Miller <davem@davemloft.net>
4553 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
4554 Protect with __USE_GNU.
4555 (TIOCSET_TEMPT): Likewise.
4556 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
4557 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
4558 these are already provided in bits/ioctl-types.h
4560 2014-05-16 Roland McGrath <roland@hack.frob.com>
4562 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
4563 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
4565 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
4566 Use wait4 regardless of [__NR_waitpid].
4568 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
4571 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
4572 (_FP_NANSIGN_Q): Set the quiet bit.
4574 2014-05-16 Joseph Myers <joseph@codesourcery.com>
4576 * benchtests/Makefile
4577 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
4578 not $(common-objpfx)math/libm.so.
4579 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
4580 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
4581 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
4582 $(common-objpfx)dlfcn/libdl.so.
4583 ($(objpfx)tst-audit8): Depend on $(libm), not
4584 $(common-objpfx)math/libm.so.
4585 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
4586 not $(common-objpfx)dlfcn/libdl.so.
4588 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
4589 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
4590 [$(build-shared) = yes].
4591 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
4592 $(common-objpfx)nptl/libpthread.so.
4593 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
4594 $(common-objpfx)math/libm.so$(libm.so-version) or
4595 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
4596 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
4597 $(common-objpfx)dlfcn/libdl.so.
4598 * setjmp/Makefile (link-libm): Remove variable.
4599 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
4600 * stdio-common/Makefile (link-libm): Remove variable.
4601 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
4602 * stdlib/Makefile (link-libm): Remove variable.
4603 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
4604 ($(objpfx)tst-strtod-round): Likewise.
4605 ($(objpfx)tst-tininess): Likewise.
4606 ($(objpfx)tst-strtod-underflow): Likewise.
4607 ($(objpfx)tst-strtod6): Likewise.
4608 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
4609 $(libdl), not $(common-objpfx)nptl/libpthread.so and
4610 $(common-objpfx)dlfcn/libdl.so.
4612 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4614 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
4615 BSD terminal modes definitions.
4617 2014-05-16 Roland McGrath <roland@hack.frob.com>
4619 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
4620 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
4622 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
4623 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
4624 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
4625 Don't do #include_next.
4626 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
4627 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
4628 Don't do #include_next.
4629 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
4630 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
4631 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
4632 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
4634 2014-05-16 Allan McRae <allan@archlinux.org>
4636 * po/sv.po: Update Swedish translation from translation project.
4638 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
4641 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
4644 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
4645 errno if the TIOCGPTN ioctl fails with an error different than
4647 * login/tst-ptsname.c: New file.
4648 * login/Makefile (tests): Add tst-ptsname.
4651 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
4654 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4657 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
4658 herrno to return EAI_AGAIN.
4660 2014-05-14 Roland McGrath <roland@hack.frob.com>
4662 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
4663 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
4664 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
4665 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
4666 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
4667 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
4668 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
4669 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
4670 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
4671 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
4672 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
4673 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
4674 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
4675 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
4676 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
4677 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
4678 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
4679 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
4680 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
4681 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
4682 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
4683 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
4684 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
4685 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
4686 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
4687 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
4688 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
4689 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
4690 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
4691 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
4692 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
4693 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
4694 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
4695 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
4696 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
4698 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
4699 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
4700 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
4701 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
4702 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
4703 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
4704 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
4705 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
4706 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
4707 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
4708 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
4709 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
4710 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
4711 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
4712 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
4713 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
4714 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
4715 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
4716 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
4717 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
4718 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
4719 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
4720 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
4721 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
4722 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
4723 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
4724 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
4725 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
4727 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
4728 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
4729 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
4730 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
4731 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
4732 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
4733 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
4734 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
4735 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
4736 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
4737 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
4738 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
4739 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
4740 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
4741 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
4742 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
4743 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
4744 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
4745 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
4746 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
4748 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
4749 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
4750 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
4752 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
4753 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
4754 (libpthread-sysdep_routines): Add elision-related stuff here instead.
4755 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
4756 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
4757 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
4758 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
4759 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
4760 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
4761 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
4762 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
4763 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
4764 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
4765 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
4766 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
4767 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
4768 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
4769 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
4770 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
4771 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
4772 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
4773 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
4774 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
4775 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
4776 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
4777 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
4778 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
4779 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
4780 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
4781 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
4782 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
4784 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
4785 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
4787 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
4788 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
4789 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
4790 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
4791 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
4792 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
4794 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
4795 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
4797 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
4798 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
4800 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
4801 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
4803 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
4804 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
4805 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
4806 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
4808 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
4809 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
4810 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
4811 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
4812 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
4813 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
4814 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
4815 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
4817 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
4818 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
4820 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
4822 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
4823 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
4824 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
4825 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
4826 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
4828 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
4830 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
4832 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
4833 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
4834 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
4835 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
4836 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
4837 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
4839 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
4840 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
4842 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
4843 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
4845 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
4846 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
4848 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
4849 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
4850 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
4851 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
4853 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
4854 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
4855 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
4856 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
4857 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
4858 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
4859 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
4860 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
4862 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
4863 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
4865 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
4867 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
4868 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
4869 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
4870 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
4871 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
4873 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
4875 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
4877 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
4878 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
4879 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
4880 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
4881 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
4882 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
4883 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
4884 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
4885 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
4886 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
4888 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
4889 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
4891 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
4892 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
4894 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
4895 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
4897 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
4898 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
4899 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
4900 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
4901 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
4902 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
4904 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
4905 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
4906 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
4907 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
4908 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
4909 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
4910 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
4911 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
4913 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
4914 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
4916 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
4918 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
4919 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
4920 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
4921 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
4922 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
4924 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
4926 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
4928 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
4929 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
4930 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
4931 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
4932 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
4933 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
4934 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
4935 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
4936 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
4937 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
4938 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
4940 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
4941 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
4943 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
4944 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
4946 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
4947 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
4948 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
4949 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
4950 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
4951 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
4952 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
4953 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
4954 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
4955 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
4956 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
4957 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
4958 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
4959 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
4960 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
4961 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
4962 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
4963 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
4965 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
4966 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
4967 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
4968 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
4970 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
4971 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
4972 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
4973 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
4974 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
4975 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
4976 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
4977 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
4979 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
4980 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
4982 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
4983 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
4984 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
4985 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
4986 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
4987 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
4988 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
4989 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
4990 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
4991 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
4992 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
4993 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
4994 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
4995 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
4996 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
4997 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
4998 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
5000 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
5001 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
5002 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
5003 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
5004 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
5006 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
5007 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
5008 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
5009 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
5010 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
5011 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
5012 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
5013 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
5014 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
5015 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
5017 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
5018 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
5020 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
5021 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
5022 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
5023 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
5024 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
5025 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
5026 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
5027 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
5028 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
5029 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
5030 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
5031 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
5032 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
5033 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
5034 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
5036 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
5038 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
5040 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
5042 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
5044 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
5046 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
5048 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
5050 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
5052 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
5054 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
5055 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
5056 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
5057 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
5058 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
5059 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
5060 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
5061 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
5062 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
5063 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
5064 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
5065 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
5066 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
5067 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
5068 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
5070 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
5071 that was previously under [RESET_PID].
5072 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
5073 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
5074 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
5076 * sysdeps/i386/nptl/Implies: New file.
5077 * sysdeps/x86_64/nptl/Implies: New file.
5078 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
5079 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
5080 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
5081 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
5083 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
5084 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
5085 (__libc_vfork): New strong alias.
5086 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
5087 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
5089 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
5090 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
5091 (__libc_vfork): New strong alias.
5092 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
5093 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
5095 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
5096 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
5097 (__libc_vfork): New strong alias.
5098 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
5099 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
5100 * nptl/pt-vfork.c: New file.
5101 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
5102 (libpthread: GLIBC_2.20): New version set (empty).
5104 2014-05-14 Will Newton <will.newton@linaro.org>
5106 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
5109 2014-05-14 Joseph Myers <joseph@codesourcery.com>
5112 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
5113 arguments with exponent 65 or above.
5114 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
5115 arguments 0x1p113L or above.
5116 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
5117 to arguments 0x1p107L or above.
5118 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
5119 positive arguments with exponent 65 or above.
5120 * math/auto-libm-test-in: Add more tests of log1p.
5121 * math/auto-libm-test-out: Regenerated.
5124 * math/s_cacos.c (__cacos): Ensure zero real part of result from
5125 non-finite arguments is +0.
5126 * math/s_cacosf.c (__cacosf): Likewise.
5127 * math/s_cacosl.c (__cacosl): Likewise.
5128 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
5129 * sysdeps/i386/fpu/libm-test-ulps: Update.
5130 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5133 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
5135 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
5136 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
5137 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
5138 for explicit high bit of mantissa when testing for argument equal
5140 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
5141 * sysdeps/i386/fpu/libm-test-ulps: Update.
5142 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5145 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
5146 (__erf): Scale by 16 instead of 8 in potentially underflowing
5147 case. Ensure exception if result actually underflows.
5148 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
5149 (__erff): Scale by 16 instead of 8 in potentially underflowing
5150 case. Ensure exception if result actually underflows.
5151 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
5152 (efx8): Remove variable.
5153 (__erfl): Scale by 16 instead of 8 in potentially underflowing
5154 case. Ensure exception if result actually underflows.
5155 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
5156 (efx8): Remove variable.
5157 (__erfl): Scale by 16 instead of 8 in potentially underflowing
5158 case. Ensure exception if result actually underflows.
5159 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
5160 (efx8): Remove variable.
5161 (__erfl): Scale by 16 instead of 8 in potentially underflowing
5162 case. Ensure exception if result actually underflows.
5163 * math/auto-libm-test-in: Add more tests of erf.
5164 * math/auto-libm-test-out: Regenerated.
5166 2014-05-14 Andreas Schwab <schwab@suse.de>
5168 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
5169 Remove code conditionalized on USE___THREAD.
5171 * config.h.in (HAVE_PT_CHOWN): Define as 0.
5172 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
5175 2014-05-14 Joseph Myers <joseph@codesourcery.com>
5177 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
5178 Define unconditionally.
5179 (__ASSUME_O_CLOEXEC): Likewise.
5180 (__ASSUME_SOCK_CLOEXEC): Likewise.
5181 (__ASSUME_IN_NONBLOCK): Likewise.
5182 (__ASSUME_PIPE2): Likewise.
5183 (__ASSUME_EVENTFD2): Likewise.
5184 (__ASSUME_SIGNALFD4): Likewise.
5185 (__ASSUME_DUP3): Likewise.
5186 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
5187 (__ASSUME_DUP3): Do not define.
5188 (__ASSUME_EVENTFD2): Likewise.
5189 (__ASSUME_IN_NONBLOCK): Likewise.
5190 (__ASSUME_O_CLOEXEC): Likewise.
5191 (__ASSUME_PIPE2): Likewise.
5192 (__ASSUME_SIGNALFD4): Likewise.
5193 (__ASSUME_SOCK_CLOEXEC): Likewise.
5194 (__ASSUME_UTIMES): Undefine.
5195 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5196 (__ASSUME_UTIMES): Do not define.
5197 (__ASSUME_O_CLOEXEC): Likewise.
5198 (__ASSUME_SOCK_CLOEXEC): Likewise.
5199 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
5200 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
5202 (__ASSUME_PIPE2): Likewise.
5203 (__ASSUME_EVENTFD2): Likewise.
5204 (__ASSUME_SIGNALFD4): Likewise.
5205 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
5206 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
5208 (__ASSUME_EVENTFD2): Likewise.
5209 (__ASSUME_SIGNALFD4): Likewise.
5210 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
5211 (__ASSUME_32BITUIDS): Likewise.
5212 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
5213 (__ASSUME_IPC64): Likewise.
5214 (__ASSUME_ST_INO_64_BIT): Likewise.
5215 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
5216 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
5217 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5218 (__ASSUME_UTIMES): Do not define.
5219 (__ASSUME_PSELECT): Likewise.
5220 (__ASSUME_PPOLL): Likewise.
5221 (__ASSUME_O_CLOEXEC): Likewise.
5222 (__ASSUME_SOCK_CLOEXEC): Likewise.
5223 (__ASSUME_IN_NONBLOCK): Likewise.
5224 (__ASSUME_PIPE2): Likewise.
5225 (__ASSUME_EVENTFD2): Likewise.
5226 (__ASSUME_SIGNALFD4): Likewise.
5227 (__ASSUME_DUP3): Likewise.
5228 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5229 (__ASSUME_UTIMES): Likewise.
5230 (__ASSUME_O_CLOEXEC): Likewise.
5231 (__ASSUME_SOCK_CLOEXEC): Likewise.
5232 (__ASSUME_IN_NONBLOCK): Likewise.
5233 (__ASSUME_PIPE2): Likewise.
5234 (__ASSUME_EVENTFD2): Likewise.
5235 (__ASSUME_SIGNALFD4): Likewise.
5236 (__ASSUME_DUP3): Likewise.
5237 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5238 (__ASSUME_UTIMES): Likewise.
5239 (__ASSUME_O_CLOEXEC): Likewise.
5240 (__ASSUME_SOCK_CLOEXEC): Likewise.
5241 (__ASSUME_IN_NONBLOCK): Likewise.
5242 (__ASSUME_PIPE2): Likewise.
5243 (__ASSUME_EVENTFD2): Likewise.
5244 (__ASSUME_SIGNALFD4): Likewise.
5245 (__ASSUME_DUP3): Likewise.
5246 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
5248 (__ASSUME_UTIMES): Likewise.
5249 (__ASSUME_EVENTFD2): Likewise.
5250 (__ASSUME_SIGNALFD4): Likewise.
5251 * sysdeps/unix/sysv/linux/tile/kernel-features.h
5252 (__ASSUME_O_CLOEXEC): Likewise.
5253 (__ASSUME_SOCK_CLOEXEC): Likewise.
5254 (__ASSUME_IN_NONBLOCK): Likewise.
5255 (__ASSUME_PIPE2): Likewise.
5256 (__ASSUME_EVENTFD2): Likewise.
5257 (__ASSUME_SIGNALFD4): Likewise.
5258 (__ASSUME_DUP3): Likewise.
5259 (__ASSUME_UTIMES): Undefine.
5261 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
5262 feclearexcept. Remove symbol versioning code.
5263 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
5264 symbol versioning code.
5265 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
5266 symbol versioning code.
5267 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
5268 feupdateenv. Remove symbol versioning code.
5269 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
5270 fegetexceptflag. Remove symbol versioning code.
5271 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
5272 fesetexceptflag. Remove symbol versioning code.
5273 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
5274 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
5275 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
5276 (__posix_fadvise64_l32): Remove prototype.
5277 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
5280 2014-05-13 Roland McGrath <roland@hack.frob.com>
5282 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
5283 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
5284 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
5285 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
5287 2014-05-13 Sami Kerola <kerolasa@iki.fi>
5289 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
5290 current working directory
5292 2014-05-13 Roland McGrath <roland@hack.frob.com>
5294 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
5295 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
5296 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
5297 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
5298 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
5299 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
5300 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
5301 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
5302 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
5303 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
5304 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
5305 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
5306 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
5307 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
5308 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
5309 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
5310 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
5311 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
5312 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
5313 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
5314 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
5315 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
5316 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
5317 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
5318 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
5319 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
5320 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
5321 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
5322 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
5323 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
5324 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
5325 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
5326 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
5327 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
5328 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
5329 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
5330 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
5331 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
5332 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
5333 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
5334 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
5335 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
5337 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
5338 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
5340 * sysdeps/unix/sysv/linux/arm/Makefile
5341 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
5342 Add rt-aeabi_unwind_cpp_pr1.
5343 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
5344 Add nptl-aeabi_unwind_cpp_pr1.
5345 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
5346 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
5347 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
5348 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
5349 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
5350 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
5352 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
5353 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
5354 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
5355 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
5357 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
5358 Deconditionalize the code that was previously under [RESET_PID].
5359 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
5361 * sysdeps/generic/exit-thread.h: New file.
5362 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
5363 * include/unistd.h (__exit_thread): Remove declaration.
5364 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
5365 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
5366 * csu/libc-start.c: Include <exit-thread.h>.
5367 (LIBC_START_MAIN): Pass no argument to __exit_thread.
5368 * nptl/pthread_create.c: Include <exit-thread.h>.
5369 (start_thread): Call __exit_thread in place of __exit_thread_inline.
5370 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
5371 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
5372 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
5373 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
5374 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
5375 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
5376 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
5377 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
5378 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
5379 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
5380 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
5381 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
5382 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
5383 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
5384 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
5385 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
5387 2014-05-13 Andreas Schwab <schwab@suse.de>
5389 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
5391 2014-05-12 Joseph Myers <joseph@codesourcery.com>
5393 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
5394 (__ASSUME_UTIMES): Do not condition on kernel version.
5395 (__ASSUME_PSELECT): Define unconditionally.
5396 (__ASSUME_PPOLL): Likewise.
5397 (__ASSUME_ATFCTS): Likewise.
5398 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
5399 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
5400 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
5401 (__ASSUME_UTIMENSAT): Define unconditionally.
5402 (__ASSUME_PRIVATE_FUTEX): Likewise.
5403 (__ASSUME_FALLOCATE): Likewise.
5404 (__ASSUME_O_CLOEXEC): Likewise.
5405 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
5406 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
5407 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
5408 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
5409 (__ASSUME_IN_NONBLOCK): Likewise.
5410 (__ASSUME_PIPE2): Likewise.
5411 (__ASSUME_EVENTFD2): Likewise.
5412 (__ASSUME_SIGNALFD4): Likewise.
5413 (__ASSUME_DUP3): Likewise.
5414 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
5415 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
5416 (__ASSUME_AT_RANDOM): Likewise.
5417 (__ASSUME_PREADV): Likewise.
5418 (__ASSUME_PWRITEV): Likewise.
5419 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
5420 (__ASSUME_F_GETOWN_EX): Define unconditionally.
5421 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
5422 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
5423 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
5424 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5425 (__ASSUME_O_CLOEXEC): Define unconditionally.
5426 (__ASSUME_PSELECT): Do not undefine conditionally.
5427 (__ASSUME_PPOLL): Likewise.
5428 (__ASSUME_ATFCTS): Likewise.
5429 (__ASSUME_SET_ROBUST_LIST): Likewise.
5430 (__ASSUME_UTIMENSAT): Likewise.
5431 (__ASSUME_FDATASYNC): Define unconditionally.
5432 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5433 (__ASSUME_SIGFRAME_V2): Likewise.
5434 )__ASSUME_EVENTFD2): Likewise.
5435 (__ASSUME_SIGNALFD4): Likewise.
5436 (__ASSUME_PSELECT): Do not undefine conditionally.
5437 (__ASSUME_PPOLL): Likewise.
5438 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5439 (__ASSUME_PSELECT): Define unconditionally.
5440 (__ASSUME_PPOLL): Likewise.
5441 (__ASSUME_O_CLOEXEC): Likewise.
5442 (__ASSUME_SOCK_CLOEXEC): Likewise.
5443 (__ASSUME_IN_NONBLOCK): Likewise.
5444 (__ASSUME_PIPE2): Likewise.
5445 (__ASSUME_EVENTFD2): Likewise.
5446 (__ASSUME_SIGNALFD4): Likewise.
5447 (__ASSUME_DUP3): Likewise.
5448 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5449 (__ASSUME_O_CLOEXEC): Likewise.
5450 (__ASSUME_SOCK_CLOEXEC): Likewise.
5451 (__ASSUME_IN_NONBLOCK): Likewise.
5452 (__ASSUME_PIPE2): Likewise.
5453 (__ASSUME_EVENTFD2): Likewise.
5454 (__ASSUME_SIGNALFD4): Likewise.
5455 (__ASSUME_DUP3): Likewise.
5456 * sysdeps/unix/sysv/linux/mips/kernel-features.h
5457 (__ASSUME_EVENTFD2): Likewise.
5458 (__ASSUME_SIGNALFD4): Likewise.
5459 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
5461 2014-05-12 Andreas Schwab <schwab@suse.de>
5464 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
5465 (_nss_nis_gethostbyname4_r): Return error if item length is larger
5466 than maximum RPC packet size.
5467 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
5468 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
5469 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
5470 (_nss_nis_getservbyport_r): Likewise.
5472 2014-05-12 Will Newton <will.newton@linaro.org>
5474 * malloc/Makefile (tests): Add tst-mallopt.
5475 * malloc/tst-mallopt.c: New file.
5477 2014-05-09 Roland McGrath <roland@hack.frob.com>
5479 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
5480 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
5482 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5484 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
5485 (tst-tlsmod6.so): Likewise.
5487 2014-05-09 Roland McGrath <roland@hack.frob.com>
5489 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
5491 2014-05-09 Joseph Myers <joseph@codesourcery.com>
5494 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
5495 and <dl-procinfo.h>.
5496 (__fegetenv): Save SSE state in envp->__eip if supported.
5497 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
5498 envp->__eip if supported.
5499 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
5500 and <dl-procinfo.h>.
5501 (__fesetenv): Always set __eip, __cs_selector, __opcode,
5502 __data_offset and __data_selector in environment to 0. Set SSE
5504 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
5506 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
5508 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
5510 2014-05-09 Will Newton <will.newton@linaro.org>
5512 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
5513 and libc_relro_required for ARM.
5514 * sysdeps/arm/preconfigure: Regenerate.
5516 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
5517 Stefan Liebler <stli@linux.vnet.ibm.com>
5519 * config.make.in (enable-lock-elision): New Makefile variable.
5520 * configure.ac: Likewise.
5521 * configure: Regenerate.
5522 * sysdeps/s390/configure.ac:
5523 Add check for gcc transactions support.
5524 * sysdeps/s390/configure: Regenerate.
5525 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
5526 Build elision files if enabled.
5527 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
5528 Add lock elision support for s390.
5529 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
5530 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
5531 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
5532 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
5533 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
5534 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
5535 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
5537 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
5539 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
5541 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
5543 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
5544 (__lll_timedlock_elision, __lll_lock_elision)
5545 (__lll_unlock_elision, __lll_trylock_elision)
5546 (lll_timedlock_elision, lll_lock_elision)
5547 (lll_unlock_elision, lll_trylock_elision): Add.
5548 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
5549 (pthread_mutex_t): Add lock elision support for s390.
5551 2014-05-14 Wilco <wdijkstr@arm.com>
5553 * sysdeps/arm/fclrexcpt.c: Cleanup.
5554 * sysdeps/arm/fedisblxcpt.c: Cleanup.
5555 * sysdeps/arm/feenablxcpt.c: Cleanup.
5556 * sysdeps/arm/fegetenv.c: Cleanup.
5557 * sysdeps/arm/fegetexcept.c: Cleanup.
5558 * sysdeps/arm/fegetround.c: Cleanup.
5559 * sysdeps/arm/feholdexcpt.c: Cleanup.
5560 * sysdeps/arm/fesetenv.c: Cleanup.
5561 * sysdeps/arm/fesetround.c: Cleanup.
5562 * sysdeps/arm/feupdateenv.c: Cleanup.
5563 * sysdeps/arm/fgetexcptflg.c: Cleanup.
5564 * sysdeps/arm/fraiseexcpt.c: Cleanup.
5565 * sysdeps/arm/fsetexcptflg.c: Cleanup.
5566 * sysdeps/arm/ftestexcept.c: Cleanup.
5567 * sysdeps/arm/get-rounding-mode.h: Cleanup.
5568 * sysdeps/arm/setfpucw.c: Cleanup.
5570 2014-05-09 Will Newton <will.newton@linaro.org>
5572 * sysdeps/arm/armv7/strcmp.S: New file.
5573 * NEWS: Mention addition of ARMv7 optimized strcmp.
5575 2014-05-08 Roland McGrath <roland@hack.frob.com>
5577 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
5578 look for %.ac rather than %.in.
5580 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
5581 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
5582 * sysdeps/mach/hurd/configure: Regenerated.
5583 * sysdeps/unix/sysv/linux/configure: Regenerated.
5585 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
5587 2014-05-07 Steve Ellcey <sellcey@mips.com>
5590 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
5594 2014-05-07 Andreas Schwab <schwab@suse.de>
5596 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
5597 when skipping over non-matching result from nscd.
5599 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
5602 * nptl/sockperf.c (client): Check socket return value.
5605 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
5606 nscd security class.
5608 2014-05-06 Roland McGrath <roland@hack.frob.com>
5610 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
5611 * sysdeps/arm/unwind.h: ... here.
5613 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
5616 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
5619 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
5621 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
5622 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
5623 multiarch strncpy for PPC64.
5624 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
5625 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
5626 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
5627 multiarch optimizations.
5628 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5629 (__libc_ifunc_impl_list): Likewise.
5630 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
5631 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
5632 multiarch stpncpy for PPC64.
5633 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
5634 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
5636 2014-05-06 Andreas Schwab <schwab@suse.de>
5639 * gmon/mcount.c (_MCOUNT_DECL): Use
5640 atomic_compare_and_exchange_bool_acq instead of
5641 catomic_compare_and_exchange_bool_acq.
5643 2014-05-05 Roland McGrath <roland@hack.frob.com>
5645 * elf/Makefile (others, install-bin): Remove pldd.
5646 (pldd-modules): Variable removed.
5647 ($(objpfx)pldd): Target removed.
5648 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
5649 (others, install-bin): Append pldd here.
5650 ($(objpfx)pldd): New target.
5652 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
5653 to 0, so the first #if test emitted later doesn't see it undefined.
5654 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
5655 * sysdeps/gnu/errlist.c: Regenerated.
5657 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5659 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
5660 [libc_hidden_builtin_def]: Define to empty value.
5661 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
5662 [libc_hidden_builtin_def]: Likewise.
5663 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
5664 [libc_hidden_builtin_def]: Likewise.
5665 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
5666 [libc_hidden_builtin_def]: Likewise.
5667 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
5668 __redirect_memcpy and define ifunc as default hidden symbol.
5669 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
5670 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
5672 2014-05-04 Adam Conrad <adconrad@0c3.net>
5674 * locale/iso-4217.def: Reintroduce XDR currency.
5676 2014-05-04 Allan McRae <allan@archlinux.org>
5678 * po/eo.po: Update Esperanto translation from translation project.
5680 2014-05-02 Carlos O'Donell <carlos@redhat.com>
5682 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
5683 and FEATURE_INDEX_MAX to 1.
5684 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
5686 2014-05-01 Steve Ellcey <sellcey@mips.com>
5688 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
5689 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
5690 * iconvdata/big5.c (ONE_DIRECTION): Define.
5691 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
5692 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
5693 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
5694 * iconvdata/cp932.c (ONE_DIRECTION): Define.
5695 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
5696 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
5697 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
5698 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
5699 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
5700 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
5701 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
5702 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
5703 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
5704 * iconvdata/gbk.c (ONE_DIRECTION): Define.
5705 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
5706 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
5707 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
5708 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
5709 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
5710 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
5711 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
5712 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
5713 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
5714 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
5715 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
5716 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
5717 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
5718 * iconvdata/iso646.c (ONE_DIRECTION): Define.
5719 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
5720 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
5721 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
5722 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
5723 * iconvdata/johab.c (ONE_DIRECTION): Define.
5724 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
5725 * iconvdata/sjis.c (ONE_DIRECTION): Define.
5726 * iconvdata/t.61.c (ONE_DIRECTION): Define.
5727 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
5728 * iconvdata/tscii.c (ONE_DIRECTION): Define.
5729 * iconvdata/uhc.c (ONE_DIRECTION): Define.
5730 * iconvdata/unicode.c (ONE_DIRECTION): Define.
5731 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
5732 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
5733 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
5735 2014-05-01 Roland McGrath <roland@hack.frob.com>
5737 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
5738 (_IO_JUMPS_OFFSET): Define to 0.
5740 * nptl/sysdeps/pthread/bits/libc-lock.h
5741 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
5742 (__libc_lock_define_initialized_recursive): Always define using
5743 initializer. Modern compilers treat uninitialized (implicit zero) and
5744 explicit zero initializers the same (i.e. put the datum in bss).
5746 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
5748 * nscd/nscd-client.h: Include <string.h>.
5750 2014-05-01 David S. Miller <davem@davemloft.net>
5753 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
5754 multiple zero bytes exist at the end of a string.
5755 Reported by Aurelien Jarno <aurelien@aurel32.net>
5757 * string/test-strcmp.c (check): Add explicit test for situations where
5758 there are multiple zero bytes after the first.
5760 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
5763 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
5764 when compiling wprintf.
5765 * stdio-common/tstdiomisc.c (t3): New function.
5768 2014-05-01 Steve Ellcey <sellcey@mips.com>
5770 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
5771 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
5772 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
5773 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
5775 2014-05-01 Steve Ellcey <sellcey@mips.com>
5777 * stdlib/longlong.h: Updated from GCC.
5779 2014-05-01 Will Newton <will.newton@linaro.org>
5780 Bernard Ogden <bernie.ogden@linaro.org>
5782 * NEWS: Update fixed bug list.
5785 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
5787 2014-04-30 David S. Miller <davem@davemloft.net>
5789 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
5790 (libc_feholdexcept_setround_sparc_ctx): New function.
5791 (libc_fesetenv_sparc_ctx): Likewise.
5792 (libc_feupdateenv_sparc_ctx): Likewise.
5793 (libc_feholdsetround_sparc_ctx): Likewise.
5794 (libc_feholdexcept_setround_ctx): Define.
5795 (libc_feholdexcept_setroundf_ctx): Likewise.
5796 (libc_feholdexcept_setroundl_ctx): Likewise.
5797 (libc_fesetenv_ctx): Likewise.
5798 (libc_fesetenvf_ctx): Likewise.
5799 (libc_fesetenvl_ctx): Likewise.
5800 (libc_feupdateenv_ctx): Likewise.
5801 (libc_feupdateenvf_ctx): Likewise.
5802 (libc_feupdateenvl_ctx): Likewise.
5803 (libc_feresetround_ctx): Likewise.
5804 (libc_feresetroundf_ctx): Likewise.
5805 (libc_feresetroundl_ctx): Likewise.
5806 (libc_feholdsetround_ctx): Likewise.
5807 (libc_feholdsetroundf_ctx): Likewise.
5808 (libc_feholdsetroundl_ctx): Likewise.
5810 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
5811 with __USE_GNU instead of XOPEN cpp guards.
5813 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
5816 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
5817 with XOPEN cpp guards.
5819 2014-04-30 Julian Brown <julian@codesourcery.com>
5822 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
5825 2014-04-30 Joseph Myers <joseph@codesourcery.com>
5828 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
5830 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
5831 * sysdeps/unix/sysv/linux/configure: Regenerated.
5832 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
5833 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
5834 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
5835 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
5836 * README: Update reference to required Linux kernel version.
5837 * manual/install.texi (Linux): Update reference to required Linux
5838 kernel headers version.
5839 * INSTALL: Regenerated.
5841 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
5843 [POSIX] (limits.h): Likewise.
5844 [POSIX] (math.h): Likewise.
5845 [POSIX] (sys/wait.h): Likewise.
5846 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
5848 [POSIX] (stddef.h): Do not allow header inclusion.
5850 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5852 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
5854 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
5856 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
5857 Return immediately after lll_futex_wake.
5859 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
5862 * nscd/nscd-client.h (datahead_init_common): Initialize entire
5864 (datahead_init_pos): Call datahead_init_common early.
5865 (datahead_init_neg): Likewise.
5867 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
5868 datahead_init_neg): New functions.
5869 * nscd/aicache.c (addhstaiX): Use them.
5870 * nscd/grpcache.c (cache_addgr): Likewise.
5871 * nscd/hstcache.c (cache_addhst): Likewise.
5872 * nscd/initgrcache.c (addinitgroupsX): Likewise.
5873 * nscd/netgroupcache.c (do_notfound): Likewise.
5874 (addgetnetgrentX): Likewise.
5875 (addinnetgrX): Likewise.
5876 * nscd/pwdcache.c (cache_addpw): Likewise.
5877 * nscd/servicescache.c (cache_addserv): Likewise.
5879 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
5880 Atsushi Onoe <atsushi@onoe.org>
5885 * resolv/res_query.c (__libc_res_nsearch): Return if at least
5886 one response is valid.
5887 * resolv/res_send.c (send_dg): Check for validity of other
5888 response if the current response is a referral.
5890 2014-04-29 Steve Ellcey <sellcey@mips.com>
5892 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
5894 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
5897 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
5898 Always divide by positive zero when computing -Inf result.
5899 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
5900 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
5902 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5904 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
5905 FPSCR if value do not change.
5906 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
5907 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
5908 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
5909 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
5910 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
5911 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
5914 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
5916 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
5917 * sysdeps/unix/sysv/linux/hppa: Move directory from
5918 ports/systeps/unix/sysv/linux/hppa.
5919 * README: Update listing for hppa-*-linux-gnu.
5921 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
5924 * manual/stdio.texi (Hook functions): Fix types of stream hook
5927 * socket/sys/socket.h: Fix typo in comment.
5929 2014-04-28 Wilco <wdijkstr@arm.com>
5931 * sysdeps/arm/fenv_private.h: New file.
5932 * sysdeps/arm/math_private.h: New file.
5933 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
5935 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
5937 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
5939 (La_x86_64_retval): Likewise.
5941 2014-04-24 Ian Bolton <ian.bolton@arm.com>
5943 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
5944 fpsr if value didn't change.
5945 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
5946 to fpcr if value didn't change.
5947 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
5948 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
5949 fpsr or fpcr if value didn't change.
5950 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
5951 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
5952 fpcr if value didn't change.
5953 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
5954 to fpsr if value didn't change.
5956 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
5958 * nptl/tst-sem3.c: Use test-skeleton.c
5959 (main): Rename to do_test. Use return instead of
5961 * nptl/tst-sem4.c: Use test-skeleton.c
5962 (main): Rename to do_test.
5964 2014-04-22 David S. Miller <davem@davemloft.net>
5966 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
5967 (struct sigaction): New struct member __glibc_reserved0, change
5968 type of sa_flags to int.
5970 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
5972 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
5973 (COUNT_LEADING_ZEROS_0): Define for AArch64.
5975 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
5977 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
5978 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
5980 2014-04-22 Will Newton <will.newton@linaro.org>
5981 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
5983 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
5984 (__longjmp): Add longjmp and longjmp_target SystemTap
5986 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
5987 (__sigsetjmp): Add setjmp SystemTap probe.
5989 2014-04-17 Carlos O'Donell <carlos@redhat.com>
5991 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
5994 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5996 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
5998 * sysdeps/powerpc/fpu/fenv_private.h
5999 (libc_feholdexcept_setroundl_ctx): Define to
6000 libc_feholdexcept_setround_ppc_ctx.
6001 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
6002 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
6003 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
6004 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
6006 2014-04-17 Ian Bolton <ian.bolton@arm.com>
6008 * sysdeps/aarch64/math-tests.h: New file.
6010 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
6012 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
6014 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6015 Check and set bit_AVX2_Usable.
6016 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
6018 (bit_AVX2): Likewise.
6019 (index_AVX2_Usable): Likewise.
6020 (CPUID_AVX2): Likewise.
6021 (HAS_AVX2): Likewise.
6023 2014-04-17 Will Newton <will.newton@linaro.org>
6025 * manual/setjmp.texi (System V contexts): Add note that
6026 calling setcontext on a context created by a call to a
6027 signal handler is undefined. Update text to note that
6028 setcontext from a signal handler is possible but not
6032 * stdlib/tst-setcontext.c: Include signal.h.
6033 (main): Check that the signal stack before and
6034 after swapcontext is the same.
6036 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
6037 Re-implement to restore registers in user code and avoid
6038 rt_sigreturn system call.
6040 2014-04-17 Wilco <wdijkstr@arm.com>
6042 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
6043 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
6044 * math/test-fenv.c: Skip exception trap tests on targets which only
6045 support non-stop mode.
6047 2014-04-17 Ian Bolton <ian.bolton@arm.com>
6048 Wilco Dijkstra <wilco.dijkstra@arm.com>
6050 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
6051 (libc_feholdsetround_aarch64_ctx)
6052 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
6053 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
6054 (libc_feresetround_ctx, libc_feresetroundf_ctx)
6055 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
6056 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
6057 (libc_feresetround_noexl_ctx): Define.
6059 2014-04-16 Richard Henderson <rth@redhat.com>
6061 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
6063 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
6066 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
6067 const from the non-libc, non-ldso copy.
6069 * sysdeps/alpha/libm-test-ulps: Regenerate.
6071 2014-04-16 Ian Bolton <ian.bolton@arm.com>
6072 Wilco Dijkstra <wilco.dijkstra@arm.com>
6074 * sysdeps/aarch64/fpu/math_private.h: New file.
6076 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
6078 * sysdeps/aarch64/libm-test-ulps: Regenerate.
6080 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
6082 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
6083 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
6084 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
6085 Intel MPX bound registers before _dl_profile_fixup.
6086 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
6087 registers after _dl_profile_fixup. Save and restore bound
6088 registers bnd0/bnd1 when calling _dl_call_pltexit.
6089 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
6090 (LR_BND_OFFSET): Likewise.
6091 (LRV_BND0_OFFSET): Likewise.
6092 (LRV_BND1_OFFSET): Likewise.
6094 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
6096 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
6098 * sysdeps/mach/hurd/i386/tls.h: ... here.
6099 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
6100 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
6103 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
6105 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
6107 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
6109 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
6111 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
6114 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
6115 * sysdeps/s390/configure: Regenerate.
6118 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
6119 Set round-to-nearest internally to reduce error accumulation.
6121 2014-04-16 Alan Modra <amodra@gmail.com>
6125 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
6126 * math/libm-test.inc (frexp_test_data): Add tests.
6127 * NEWS: Update fixed bug list.
6129 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6131 * benchtests/Makefile: Depend on libraries in build directory.
6132 (bench-math): Separate out math tests.
6133 (bench-pthread): Separate out pthread tests.
6134 (bench): Include math and pthread tests.
6136 2014-04-14 Carlos O'Donell <carlos@redhat.com>
6139 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
6140 _dl_debug_initialize.
6142 * configure.ac: Remove SELinux header check.
6143 * configure: Regenerate.
6144 * nscd/selinux.c (perms): Array of const char* to permission names.
6145 (nscd_request_avc_has_perm): Call security_deny_unknown to find
6146 default policy. Call string_to_security_class and string_to_av_perm to
6147 translate strings. Enforce default policy and call avs_has_perm with
6148 results of translated strings.
6150 2014-04-13 David S. Miller <davem@davemloft.net>
6152 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6154 2014-04-12 Allan McRae <allan@archlinux.org>
6157 * manual/string.texi (Collation Functions): Fix qsort argument
6159 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
6161 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
6163 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
6164 Make the test a no-op if there are no exceptions defined.
6166 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
6168 * elf/Makefile (tests): make tst-dlopen-aout conditional on
6169 enable-hardcoded-path-in-tests
6171 2014-04-11 Will Newton <will.newton@linaro.org>
6173 * benchtests/Makefile (extra-objs): Add json-lib.o.
6174 (bench-func): Tidy up JSON output.
6175 * benchtests/bench-skeleton.c: Include json-lib.h.
6176 (main): Use JSON library functions to do output of
6178 * benchtests/bench-timing-type.c (main): Output the
6179 timing type simply, leaving formatting to the user.
6180 * benchtests/json-lib.c: New file.
6181 * benchtests/json-lib.h: Likewise.
6183 2014-04-11 Torvald Riegel <triegel@redhat.com>
6186 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
6187 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
6188 memory barriers. Add comments.
6189 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
6190 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
6191 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
6192 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
6193 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
6194 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
6196 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
6198 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
6199 * sysdeps/s390/s390-64/configure.ac: ... this ...
6200 * sysdeps/s390/configure.ac: ... to here.
6201 * sysdeps/s390/s390-32/configure: Delete file.
6202 * sysdeps/s390/s390-64/configure: Delete file.
6203 * sysdeps/s390/configure: Regenerate.
6205 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
6207 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
6209 2014-04-11 Will Newton <will.newton@linaro.org>
6211 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
6212 to zero if it is not defined elsewhere. (mtrim): Test
6213 the value of MALLOC_DEBUG with #if rather than #ifdef.
6215 2014-04-10 Torvald Riegel <triegel@redhat.com>
6217 * benchtests/pthread_once-inputs: New file.
6218 * benchtests/pthread_once-source.c: New file.
6219 * benchtests/README: Update documentation.
6221 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
6222 H.J. Lu <hongjiu.lu@intel.com>
6224 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
6225 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
6226 * sysdeps/x86_64/configure: Regenerated.
6227 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
6229 (REGISTER_SAVE_RAX): Likewise.
6230 (REGISTER_SAVE_RCX): Likewise.
6231 (REGISTER_SAVE_RDX): Likewise.
6232 (REGISTER_SAVE_RSI): Likewise.
6233 (REGISTER_SAVE_RDI): Likewise.
6234 (REGISTER_SAVE_R8): Likewise.
6235 (REGISTER_SAVE_R9): Likewise.
6236 (REGISTER_SAVE_BND0): Likewise.
6237 (REGISTER_SAVE_BND1): Likewise.
6238 (REGISTER_SAVE_BND2): Likewise.
6239 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
6240 bound registers when calling _dl_fixup.
6242 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6244 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
6245 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
6247 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
6248 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
6249 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
6250 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
6251 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
6252 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
6253 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
6255 2014-04-09 Peter Brett <peter@peter-b.co.uk>
6258 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
6259 pathconf(_PC_NAME_MAX).
6261 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6263 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
6265 (__PTHREAD_SPINS): Move definition to ...
6266 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
6267 (__PTHREAD_SPINS): ... here.
6268 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
6269 (__PTHREAD_SPIN): Likewise.
6270 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
6271 (__PTHREAD_SPIN): Likewise.
6272 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
6273 (__PTHREAD_SPIN): Likewise.
6274 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
6275 (__PTHREAD_SPIN): Likewise.
6276 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
6277 (__PTHREAD_SPIN): Likewise.
6278 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
6279 (__PTHREAD_SPIN): Likewise.
6280 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
6281 (__PTHREAD_SPIN): Likewise.
6282 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
6283 (__PTHREAD_SPIN): Likewise.
6284 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
6285 (__PTHREAD_SPIN): Likewise.
6286 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
6287 (__PTHREAD_SPIN): Likewise.
6288 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
6289 (__PTHREAD_SPIN): Likewise.
6290 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
6291 (__PTHREAD_SPIN): Likewise.
6293 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
6294 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
6295 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
6296 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
6298 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
6299 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
6300 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
6301 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
6303 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
6304 strlen symbol for non multi-arch builds.
6305 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
6306 missing hidden_def and weak_alias.
6308 2014-04-08 Carlos O'Donell <carlos@redhat.com>
6310 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
6312 2014-04-07 Will Newton <will.newton@linaro.org>
6314 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
6315 and contents. [!_LIBC] Remove #ifndef and contents.
6316 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
6317 * string/memccpy.c (__memccpy): Use ANSI prototype.
6318 * string/memfrob.c (memfrob): Likewise.
6319 * string/strcoll.c (STRCOLL): Likewise.
6320 * string/strlen.c (strlen): Likewise.
6321 * string/strtok.c (STRTOK): Likewise.
6322 * string/strcat.c: Remove unused #include of memcopy.h.
6323 (strcat): Use ANSI prototype.
6324 * string/strchr.c: Remove unused #include of memcopy.h.
6325 (strchr): Use ANSI prototype.
6326 * string/strcmp.c: Remove unused #include of memcopy.h.
6327 (strcmp): Use ANSI prototype.
6328 * string/strcpy.c: Remove unused #include of memcopy.h.
6329 (strcpy): Use ANSI prototype.
6331 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6333 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
6334 * config.make.in (config-extra-cppflags): Set it from
6335 libc_extra_cppflags.
6336 * configure.ac (libc_extra_cflags): Make it accumulate over
6337 configure fragments.
6338 (libc_extra_cppflags): New flag.
6339 * configure. Regenerate.
6340 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
6341 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
6342 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
6343 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
6346 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
6347 result for FE_DOWNWARD rounding mode.
6348 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
6350 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6352 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
6354 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
6355 in function argument name.
6357 2014-04-03 David Svoboda <svoboda@cert.org>
6360 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
6363 2014-04-03 Roland McGrath <roland@hack.frob.com>
6365 * elf/dl-unmap-segments.h: New file.
6366 * sysdeps/generic/ldsodefs.h
6367 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
6368 * elf/dl-close.c: Include <dl-unmap-segments.h>.
6369 * elf/dl-fptr.c: Likewise.
6370 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
6371 * sysdeps/aarch64/tlsdesc.c: Likewise.
6372 * sysdeps/arm/tlsdesc.c: Likewise.
6373 * sysdeps/i386/tlsdesc.c: Likewise.
6374 * sysdeps/tile/dl-runtime.c: Likewise.
6375 * sysdeps/x86_64/tlsdesc.c: Likewise.
6376 * elf/dl-load.h: New file.
6377 * elf/dl-load.c: Include it.
6378 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
6379 Macros moved to dl-load.h.
6380 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
6381 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
6382 Use _dl_unmap_segments in place of __munmap.
6383 Break out segment-mapping loop into ...
6384 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
6386 2014-04-03 Will Newton <will.newton@linaro.org>
6388 * elf/dl-lookup.c (do_lookup_x): Remove comment
6389 referring to nested function and move variable
6390 declarations down to before first use.
6392 2014-04-02 Joseph Myers <joseph@codesourcery.com>
6396 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
6398 * math/s_catanf.c (__catanf): Likewise.
6399 * math/s_catanh.c (__catanh): Likewise.
6400 * math/s_catanhf.c (__catanhf): Likewise.
6401 * math/s_catanhl.c (__catanhl): Likewise.
6402 * math/s_catanl.c (__catanl): Likewise.
6403 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
6404 by positive zero when computing -Inf result.
6405 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
6406 (catanh_test): Likewise.
6407 * sysdeps/i386/fpu/libm-test-ulps: Update.
6408 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6411 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
6412 instead of using underflowing value in computing result.
6413 * math/s_clog10.c (__clog10): Likewise.
6414 * math/s_clog10f.c (__clog10f): Likewise.
6415 * math/s_clog10l.c (__clog10l): Likewise.
6416 * math/s_clogf.c (__clogf): Likewise.
6417 * math/s_clogl.c (__clogl): Likewise.
6418 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
6419 (clog10_test): Likewise.
6420 * sysdeps/i386/fpu/libm-test-ulps: Update.
6421 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6423 2014-04-02 Alan Modra <amodra@gmail.com>
6426 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
6427 output when value is near a power of two. Use int64_t for lx and
6428 remove casts. Use decimal rather than hex exponent constants.
6429 Don't use long double multiplication when double will suffice.
6430 * math/libm-test.inc (nextafter_test_data): Add tests.
6431 * NEWS: Add 16739 and 16786 to bug list.
6433 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
6435 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
6437 2014-04-01 Will Newton <will.newton@linaro.org>
6439 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
6440 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
6442 2014-04-01 Florian Weimer <fweimer@redhat.com>
6445 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
6446 * nptl/tst-setuid2.c: New file.
6447 * nptl/Makefile (xtests): Add tst-setuid2.
6449 2014-04-01 Alan Modra <amodra@gmail.com>
6452 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
6454 2014-03-31 Joseph Myers <joseph@codesourcery.com>
6458 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
6459 set errno as appropriate.
6460 * math/w_scalbf.c (__scalbf): Likewise.
6461 * math/w_scalbl.c (__scalbl): Likewise.
6462 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
6463 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
6464 * math/libm-test.inc (scalb_test_data): Add errno expectations.
6468 * math/w_atan2.c: Include <errno.h>.
6469 (__atan2): Set errno for result underflowing to zero.
6470 * math/w_atan2f.c: Include <errno.h>.
6471 (__atan2f): Set errno for result underflowing to zero.
6472 * math/w_atan2l.c: Include <errno.h>.
6473 (__atan2l): Set errno for result underflowing to zero.
6474 * math/auto-libm-test-in: Don't allow missing errno for some atan2
6476 * math/auto-libm-test-out: Regenerated.
6478 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6480 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
6481 Encode instruction correctly in little endian.
6482 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
6484 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
6486 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
6488 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
6491 2014-03-31 Joseph Myers <joseph@codesourcery.com>
6494 * sysdeps/unix/sysv/linux/kernel-features.h
6495 [__sparc__ && !__arch64__ && !__sparc_v9__]
6496 (__ASSUME_SET_ROBUST_LIST): Do not define.
6497 [__sparc__ && !__arch64__ && !__sparc_v9__]
6498 (__ASSUME_FUTEX_LOCK_PI): Likewise.
6499 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
6501 * sysdeps/unix/sysv/linux/arm/kernel-features.h
6502 (__ASSUME_FUTEX_LOCK_PI): Undefine.
6503 (__ASSUME_REQUEUE_PI): Likewise.
6504 (__ASSUME_SET_ROBUST_LIST): Likewise.
6505 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6506 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
6508 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6509 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
6511 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
6513 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
6515 * sysdeps/unix/sysv/linux/mips/kernel-features.h
6516 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
6518 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
6519 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
6523 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6524 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
6525 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
6527 2014-03-31 Will Newton <will.newton@linaro.org>
6529 * benchtests/Makefile (bench): Add ffs and ffsll to list
6531 * benchtests/ffs-inputs: New file.
6532 * benchtests/ffsll-inputs: Likewise.
6534 2014-03-29 Joseph Myers <joseph@codesourcery.com>
6537 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
6538 too large before casting to int.
6539 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
6540 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
6541 * math/libm-test.inc (scalb_test_data): Add more tests.
6543 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
6545 * benchtests/Makefile (DETAILED_OPT): New make option.
6546 (bench-func): Run benchmark program with -d if DETAILED_OPT is
6548 * benchtests/bench-skeleton.c: Include stdbool.h.
6549 (main): Store and print timings per input.
6550 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
6551 member to each argument value.
6552 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
6553 (_print_arg_data): Initialize per-input timing to 0.
6555 * benchtests/Makefile (timing-type): New binary.
6556 (bench-clean): Also remove bench-timing-type.
6557 (bench): New target for timing-type.
6558 (bench-func): Print output in JSON format.
6559 * benchtests/bench-skeleton.c (main): Print output in JSON
6561 * benchtests/bench-timing-type.c: New file.
6562 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
6563 (TIMING_PRINT_STATS): Remove.
6564 * benchtests/scripts/bench.py (_print_arg_data): Store variant
6567 * benchtests/bench-modf.c: Remove.
6568 * benchtests/modf-inputs: New inputs file.
6570 2014-03-28 Joseph Myers <joseph@codesourcery.com>
6573 * math/s_clog10.c (M_PI_LOG10E): New macro.
6574 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
6575 imaginary parts are 0.
6576 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
6577 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
6578 imaginary parts are 0.
6579 * math/s_clog10l.c (M_PI_LOG10El): New macro.
6580 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
6581 imaginary parts are 0.
6582 * math/libm-test.inc (clog10_test_data): Update expected results
6583 for when real and imaginary parts are 0.
6585 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
6587 * elf/dl-load.c: Finish conversion of __builtin_expect into
6590 2014-03-27 Joseph Myers <joseph@codesourcery.com>
6593 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
6594 1+x for argument with exponent below -67.
6595 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
6597 * math/auto-libm-test-in: Add more tests of exp.
6598 * math/auto-libm-test-out: Regenerated.
6600 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
6603 * inet/getnetgrent_r.c (get_nonempty_val): New function.
6604 (nscd_getnetgrent): Use it.
6607 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
6610 2014-03-27 Andi Kleen <ak@linux.intel.com>
6612 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
6613 (lll_robust_lock, lll_cond_lock, lll_timedlock)
6614 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
6615 (lll_robust_unlock): Remove out of line section. Use cfi
6617 (LLL_STUB_UNWIND_INFO*): Remove.
6618 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
6619 (lll_robust_lock, lll_cond_lock, lll_timedlock)
6620 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
6621 (lll_robust_unlock): Remove out of line section. Use cfi
6623 (LLL_STUB_UNWIND_INFO*): Remove.
6625 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
6628 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
6631 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
6633 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
6635 2014-03-26 Joseph Myers <joseph@codesourcery.com>
6638 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
6640 * math/test-fenv-preserve.c: New file.
6641 * math/Makefile (tests): Add test-fenv-preserve.
6643 2014-03-26 Will Newton <will.newton@linaro.org>
6645 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
6647 2014-03-25 Roland McGrath <roland@hack.frob.com>
6649 * scripts/versionlist.awk: Partition the version sets and emit all
6650 GLIBC_* (sorted) before all others (sorted).
6652 2014-03-25 Joseph Myers <joseph@codesourcery.com>
6654 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
6655 GLIBC_2.2.5 version.
6657 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6659 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
6662 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
6665 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6667 2014-03-25 Andreas Schwab <schwab@suse.de>
6669 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
6670 label to be used after in6ailist is initialized.
6672 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6674 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
6675 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
6677 2014-03-25 Joseph Myers <joseph@codesourcery.com>
6681 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
6683 (fp_formats): Update initializers.
6684 (init_fp_formats): Initialize new field.
6685 (output_for_one_input_case): Allow underflow for results up to
6687 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
6688 * math/auto-libm-test-in: Don't mark some underflows from asin and
6690 * math/auto-libm-test-out: Regenerated.
6691 * sysdeps/i386/fpu/libm-test-ulps: Update.
6692 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6694 2014-03-25 Andreas Schwab <schwab@suse.de>
6696 * libio/Makefile (tst-ftell-partial-wide-ENV)
6697 (tst-ftell-active-handler-ENV): Define.
6699 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
6701 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
6703 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
6705 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
6707 2014-03-24 Joseph Myers <joseph@codesourcery.com>
6709 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
6710 * sysdeps/x86_64/fpu/multiarch/e_exp.c
6711 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
6713 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
6716 * elf/dl-load.c (open_verify): Add mode parameter.
6717 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
6718 (open_path): Change from boolean 'secure' to complete flag 'mode'
6719 (_dl_map_object): Adjust.
6720 * elf/Makefile (tests): Add tst-dlopen-aout.
6721 * elf/tst-dlopen-aout.c: New test.
6723 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
6726 * sysdeps/unix/sysv/linux/s390/bits/stat.h
6727 (struct stat): Rename member pad0 to __glibc_reserved0.
6730 * sysdeps/s390/s390-32/bits/wordsize.h
6731 (__WORDSIZE32_SIZE_ULONG): New define.
6732 * sysdeps/s390/s390-64/bits/wordsize.h
6733 (__WORDSIZE32_SIZE_ULONG): Likewise.
6734 * sysdeps/generic/stdint.h (SIZE_MAX):
6735 Define as UL if __WORDSIZE32_SIZE_ULONG.
6738 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
6739 (__glibc_reserved0): New variable.
6740 (sa_flags): Change type to int.
6742 * posix/Makefile (before-compile): Use += before-compile instead
6745 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
6746 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
6748 2014-03-20 Andreas Schwab <schwab@suse.de>
6751 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
6752 non-matching result from nscd.
6754 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
6756 * scripts/bench.py: Moved to ...
6757 * benchtests/scripts/bench.py: ... here.
6758 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
6760 2014-03-24 Andreas Schwab <schwab@suse.de>
6763 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
6764 alloca_account and account alloca use for struct in6ailist.
6766 2014-03-24 Joseph Myers <joseph@codesourcery.com>
6769 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
6770 rounding mode to recompute results that overflow to infinity or
6772 * math/auto-libm-test-in: Don't mark tests as expected to fail for
6774 * math/auto-libm-test-out: Regenerated.
6775 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
6776 (ccosh_test): Likewise.
6777 (csin_test_data): Use plus_oflow.
6778 (csin_test): Use ALL_RM_TEST.
6779 (csinh_test_data): Use plus_oflow.
6780 (csinh_test): Use ALL_RM_TEST.
6781 * sysdeps/i386/fpu/libm-test-ulps: Update.
6782 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6784 2014-03-21 Joseph Myers <joseph@codesourcery.com>
6786 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
6787 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
6788 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
6791 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
6793 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
6794 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
6795 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
6796 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
6798 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
6799 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
6801 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
6802 * sysdeps/i386/fpu/libm-test-ulps: Update.
6803 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6805 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6807 * scripts/bench.pl: Remove file.
6808 * scripts/bench.py: New benchmark script.
6809 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
6810 * benchtests/README: Mention python dependency.
6811 * scripts/pylintrc: New file.
6812 * scripts/pylint: New file.
6814 * bits/mathdef.h: Use #ifdef instead of #if.
6815 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
6816 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
6817 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
6818 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
6819 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
6820 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
6822 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6823 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
6825 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
6826 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
6827 and strpbrk-ppc64 objects.
6828 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6829 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
6830 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
6831 multiarch strpbrk for POWER7.
6832 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
6833 multiarch strpbrk for PPC64.
6834 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
6836 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
6839 2014-03-20 Joseph Myers <joseph@codesourcery.com>
6841 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
6842 (atan_test): Likewise.
6843 (atanh_test_data): Use NO_TEST_INLINE for two tests.
6844 (atanh_test): Use ALL_RM_TEST.
6845 (atan2_test_data): Likewise.
6846 (cabs_test): Likewise.
6847 (cacosh_test): Likewise.
6848 (carg_test): Likewise.
6849 (casin_test): Likewise.
6850 (casinh_test): Likewise.
6851 (cbrt_test): Likewise.
6852 (csqrt_test): Likewise.
6853 (erf_test): Likewise.
6854 (erfc_test): Likewise.
6855 (pow10_test): Likewise.
6856 (exp2_test): Likewise.
6857 (hypot_test): Likewise.
6858 (j0_test): Likewise.
6859 (j1_test): Likewise.
6860 (lgamma_test): Likewise.
6861 (gamma_test): Likewise.
6862 (sincos_test): Likewise.
6863 (tanh_test): Likewise.
6864 (y0_test): Likewise.
6865 (y1_test): Likewise.
6866 * sysdeps/i386/fpu/libm-test-ulps: Update.
6867 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6869 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6871 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
6872 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
6873 and strcspn-ppc64 objects.
6874 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6875 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
6876 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
6877 multiarch strcspn for POWER7.
6878 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
6879 multiarch strcspn for PPC64.
6880 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
6882 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
6885 2014-03-20 Joseph Myers <joseph@codesourcery.com>
6887 * math/gen-libm-test.pl (generate_testfile): Expect only function
6888 name as argument to AUTO_TESTS_* and pass results for all rounding
6889 modes to parse_args.
6890 (parse_auto_input): Separate inputs of automatic tests from
6891 outputs before storing in %auto_tests.
6892 * math/libm-test.inc (acos_test_data): Update call to
6894 (acos_test): Use ALL_RM_TEST.
6895 (acos_tonearest_test_data): Remove.
6896 (acos_test_tonearest): Likewise.
6897 (acos_towardzero_test_data): Likewise.
6898 (acos_test_towardzero): Likewise.
6899 (acos_downward_test_data): Likewise.
6900 (acos_test_downward): Likewise.
6901 (acos_upward_test_data): Likewise.
6902 (acos_test_upward): Likewise.
6903 (acosh_test_data): Update call to AUTO_TESTS_f_f.
6904 (asin_test_data): Likewise.
6905 (asin_test): Use ALL_RM_TEST.
6906 (asin_tonearest_test_data): Remove.
6907 (asin_test_tonearest): Likewise.
6908 (asin_towardzero_test_data): Likewise.
6909 (asin_test_towardzero): Likewise.
6910 (asin_downward_test_data): Likewise.
6911 (asin_test_downward): Likewise.
6912 (asin_upward_test_data): Likewise.
6913 (asin_test_upward): Likewise.
6914 (asinh_test_data): Update call to AUTO_TESTS_f_f.
6915 (atan_test_data): Likewise.
6916 (atanh_test_data): Likewise.
6917 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
6918 (cabs_test_data): Update call to AUTO_TESTS_c_f.
6919 (carg_test_data): Likewise.
6920 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
6921 (ccos_test_data): Update call to AUTO_TESTS_c_c.
6922 (ccosh_test_data): Likewise.
6923 (cexp_test_data): Likewise.
6924 (clog_test_data): Likewise.
6925 (clog10_test_data): Likewise.
6926 (cos_test_data): Update call to AUTO_TESTS_f_f.
6927 (cos_test): Use ALL_RM_TEST.
6928 (cos_tonearest_test_data): Remove.
6929 (cos_test_tonearest): Likewise.
6930 (cos_towardzero_test_data): Likewise.
6931 (cos_test_towardzero): Likewise.
6932 (cos_downward_test_data): Likewise.
6933 (cos_test_downward): Likewise.
6934 (cos_upward_test_data): Likewise.
6935 (cos_test_upward): Likewise.
6936 (cosh_test_data): Update call to AUTO_TESTS_f_f.
6937 (cosh_test): Use ALL_RM_TEST.
6938 (cosh_tonearest_test_data): Remove.
6939 (cosh_test_tonearest): Likewise.
6940 (cosh_towardzero_test_data): Likewise.
6941 (cosh_test_towardzero): Likewise.
6942 (cosh_downward_test_data): Likewise.
6943 (cosh_test_downward): Likewise.
6944 (cosh_upward_test_data): Likewise.
6945 (cosh_test_upward): Likewise.
6946 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
6947 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
6948 (ctan_test_data): Likewise.
6949 (ctan_test): Use ALL_RM_TEST.
6950 (ctan_tonearest_test_data): Remove.
6951 (ctan_test_tonearest): Likewise.
6952 (ctan_towardzero_test_data): Likewise.
6953 (ctan_test_towardzero): Likewise.
6954 (ctan_downward_test_data): Likewise.
6955 (ctan_test_downward): Likewise.
6956 (ctan_upward_test_data): Likewise.
6957 (ctan_test_upward): Likewise.
6958 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
6959 (ctanh_test): Use ALL_RM_TEST.
6960 (ctanh_tonearest_test_data): Remove.
6961 (ctanh_test_tonearest): Likewise.
6962 (ctanh_towardzero_test_data): Likewise.
6963 (ctanh_test_towardzero): Likewise.
6964 (ctanh_downward_test_data): Likewise.
6965 (ctanh_test_downward): Likewise.
6966 (ctanh_upward_test_data): Likewise.
6967 (ctanh_test_upward): Likewise.
6968 (erf_test_data): Update call to AUTO_TESTS_f_f.
6969 (erfc_test_data): Likewise.
6970 (exp_test_data): Likewise.
6971 (exp_test): Use ALL_RM_TEST.
6972 (exp_tonearest_test_data): Remove.
6973 (exp_test_tonearest): Likewise.
6974 (exp_towardzero_test_data): Likewise.
6975 (exp_test_towardzero): Likewise.
6976 (exp_downward_test_data): Likewise.
6977 (exp_test_downward): Likewise.
6978 (exp_upward_test_data): Likewise.
6979 (exp_test_upward): Likewise.
6980 (exp10_test_data): Update call to AUTO_TESTS_f_f.
6981 (exp10_test): Use ALL_RM_TEST.
6982 (exp10_tonearest_test_data): Remove.
6983 (exp10_test_tonearest): Likewise.
6984 (exp10_towardzero_test_data): Likewise.
6985 (exp10_test_towardzero): Likewise.
6986 (exp10_downward_test_data): Likewise.
6987 (exp10_test_downward): Likewise.
6988 (exp10_upward_test_data): Likewise.
6989 (exp10_test_upward): Likewise.
6990 (exp2_test_data): Update call to AUTO_TESTS_f_f.
6991 (expm1_test_data): Likewise.
6992 (expm1_test): Use ALL_RM_TEST.
6993 (expm1_tonearest_test_data): Remove.
6994 (expm1_test_tonearest): Likewise.
6995 (expm1_towardzero_test_data): Likewise.
6996 (expm1_test_towardzero): Likewise.
6997 (expm1_downward_test_data): Likewise.
6998 (expm1_test_downward): Likewise.
6999 (expm1_upward_test_data): Likewise.
7000 (expm1_test_upward): Likewise.
7001 (fma_test_data): Update call to AUTO_TESTS_fff_f.
7002 (fma_test): Use ALL_RM_TEST.
7003 (fma_towardzero_test_data): Remove.
7004 (fma_test_towardzero): Likewise.
7005 (fma_downward_test_data): Likewise.
7006 (fma_test_downward): Likewise.
7007 (fma_upward_test_data): Likewise.
7008 (fma_test_upward): Likewise.
7009 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
7010 (j0_test_data): Update call to AUTO_TESTS_f_f.
7011 (j1_test_data): Likewise.
7012 (jn_test_data): Update call to AUTO_TESTS_if_f.
7013 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
7014 (log_test_data): Update call to AUTO_TESTS_f_f.
7015 (log10_test_data): Likewise.
7016 (log1p_test_data): Likewise.
7017 (log2_test_data): Likewise.
7018 (pow_test_data): Update call to AUTO_TESTS_ff_f.
7019 (pow_tonearest_test_data): Likewise.
7020 (sin_test_data): Update call to AUTO_TESTS_f_f.
7021 (sin_test): Use ALL_RM_TEST.
7022 (sin_tonearest_test_data): Remove.
7023 (sin_test_tonearest): Likewise.
7024 (sin_towardzero_test_data): Likewise.
7025 (sin_test_towardzero): Likewise.
7026 (sin_downward_test_data): Likewise.
7027 (sin_test_downward): Likewise.
7028 (sin_upward_test_data): Likewise.
7029 (sin_test_upward): Likewise.
7030 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
7031 (sinh_test_data): Update call to AUTO_TESTS_f_f.
7032 (sinh_test): Use ALL_RM_TEST.
7033 (sinh_tonearest_test_data): Remove.
7034 (sinh_test_tonearest): Likewise.
7035 (sinh_towardzero_test_data): Likewise.
7036 (sinh_test_towardzero): Likewise.
7037 (sinh_downward_test_data): Likewise.
7038 (sinh_test_downward): Likewise.
7039 (sinh_upward_test_data): Likewise.
7040 (sinh_test_upward): Likewise.
7041 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
7042 (sqrt_test): Use ALL_RM_TEST.
7043 (sqrt_tonearest_test_data): Remove.
7044 (sqrt_test_tonearest): Likewise.
7045 (sqrt_towardzero_test_data): Likewise.
7046 (sqrt_test_towardzero): Likewise.
7047 (sqrt_downward_test_data): Likewise.
7048 (sqrt_test_downward): Likewise.
7049 (sqrt_upward_test_data): Likewise.
7050 (sqrt_test_upward): Likewise.
7051 (tan_test_data): Update call to AUTO_TESTS_f_f.
7052 (tan_test): Use ALL_RM_TEST.
7053 (tan_tonearest_test_data): Remove.
7054 (tan_test_tonearest): Likewise.
7055 (tan_towardzero_test_data): Likewise.
7056 (tan_test_towardzero): Likewise.
7057 (tan_downward_test_data): Likewise.
7058 (tan_test_downward): Likewise.
7059 (tan_upward_test_data): Likewise.
7060 (tan_test_upward): Likewise.
7061 (tanh_test_data): Update call to AUTO_TESTS_f_f.
7062 (tgamma_test_data): Likewise.
7063 (y0_test_data): Likewise.
7064 (y1_test_data): Likewise.
7065 (yn_test_data): Update call to AUTO_TESTS_if_f.
7066 (main): Do not call removed functions.
7068 2014-03-19 Joseph Myers <joseph@codesourcery.com>
7070 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
7071 (ldexp_test_data): Remove.
7072 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
7074 (scalb_test): Use ALL_RM_TEST.
7076 2014-03-19 Andreas Schwab <schwab@suse.de>
7078 * nscd/nscd.service: Also invalidate netgroup cache on reload.
7080 2014-03-19 Joseph Myers <joseph@codesourcery.com>
7083 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7084 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
7085 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
7086 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7087 (__ASSUME_PREADV): Undefine.
7088 (__ASSUME_PWRITEV): Likewise.
7090 2014-03-18 Roland McGrath <roland@hack.frob.com>
7092 * bits/mman-linux.h: Add comment about non-Linux use.
7093 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
7094 bits/mman-linux.h resting place.
7096 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
7097 * bits/mman-linux.h: ... here.
7099 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7101 * conform/conformtest.pl: Add standard definition when calling C
7102 preprocessor on data files.
7103 (checknamespace): Remove unused variable.
7105 2014-03-18 Joseph Myers <joseph@codesourcery.com>
7107 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
7108 minus_oflow, plus_uflow and minus_uflow in expected results.
7109 * math/libm-test.inc (scalbn_test_data): Add more tests of
7110 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
7112 (scalbn_test): Use ALL_RM_TEST.
7113 (scalbln_test_data): Add more tests of negative arguments. Use
7114 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
7115 (scalbln_test): Use ALL_RM_TEST.
7117 2014-03-18 Roland McGrath <roland@hack.frob.com>
7119 * scripts/abilist.awk: Ignore symbols marked with .hidden.
7121 2014-03-18 Will Newton <will.newton@linaro.org>
7123 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
7126 2014-03-18 Joseph Myers <joseph@codesourcery.com>
7128 * Makerules [!subdir] (check-abi): Exit with error status if a
7131 2014-03-17 Joseph Myers <joseph@codesourcery.com>
7133 * math/libm-test.inc (nearbyint_test_data): Include all tests used
7134 for rint. Include results for all rounding modes.
7135 (nearbyint_test): Use ALL_RM_TEST.
7136 (rint_test_data): Include all tests used for nearbyint.
7138 2014-03-17 Will Newton <will.newton@linaro.org>
7140 * nptl/sysdeps/pthread/pthread.h: Revert previous
7143 * sysdeps/generic/ldsodefs.h: Revert previous
7146 * libio/genops.c: Revert previous change.
7147 * libio/libioP.h: Likewise.
7148 * stdio-common/vfprintf.c: Likewise.
7150 * sysdeps/generic/math_private.h: Revert previous
7153 * sysdeps/generic/math_private.h: Check whether
7154 HAVE_RM_CTX is defined with #ifdef rather
7157 * argp/argp-fmtstream.h: Check whether
7158 __STRICT_ANSI__ is defined with #ifdef rather
7160 * argp/argp.h: Likewise.
7162 * libio/genops.c: Check whether
7163 _IO_JUMPS_OFFSET is defined with #ifdef rather
7165 * libio/libioP.h: Likewise.
7166 * stdio-common/vfprintf.c: Likewise.
7168 * sysdeps/generic/ldsodefs.h: Check whether
7169 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
7172 * nptl/sysdeps/pthread/pthread.h: Check
7173 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
7176 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
7178 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
7180 * libio/tst-ftell-active-handler.c (do_append_test): Add a
7184 * libio/fileops.c (_IO_file_open): Seek to end of file but
7185 don't cache the offset.
7186 (get_file_offset): Remove function.
7187 (do_ftell): Use cached offset when available.
7188 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
7189 don't cache the offset.
7190 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
7192 (do_one_test): Call it.
7193 (do_ftell_test): Fix up expected old offset for a+ mode.
7194 * libio/wfileops.c (do_ftell_wide): Used cached offset when
7197 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
7198 up test status with function return status.
7199 (do_write_test): Likewise.
7200 (do_append_test): Likewise.
7202 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
7203 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
7206 2014-03-17 Joseph Myers <joseph@codesourcery.com>
7208 * math/gen-libm-test.pl (parse_args): Handle results specified for
7209 each rounding mode separately.
7210 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
7211 tests and results from lrint_tonearest_test_data,
7212 lrint_towardzero_test_data, lrint_downward_test_data and
7213 lrint_upward_test_data.
7214 (lrint_test): Use ALL_RM_TEST.
7215 (lrint_tonearest_test_data): Remove.
7216 (lrint_test_tonearest): Likewise.
7217 (lrint_towardzero_test_data): Likewise.
7218 (lrint_test_towardzero): Likewise.
7219 (lrint_downward_test_data): Likewise.
7220 (lrint_test_downward): Likewise.
7221 (lrint_upward_test_data): Likewise.
7222 (lrint_test_upward): Likewise.
7223 (llrint_test_data): Merge in per-rounding-mode tests and results
7224 from llrint_tonearest_test_data, llrint_towardzero_test_data,
7225 llrint_downward_test_data and llrint_upward_test_data.
7226 (llrint_test): Use ALL_RM_TEST.
7227 (llrint_tonearest_test_data): Remove.
7228 (llrint_test_tonearest): Likewise.
7229 (llrint_towardzero_test_data): Likewise.
7230 (llrint_test_towardzero): Likewise.
7231 (llrint_downward_test_data): Likewise.
7232 (llrint_test_downward): Likewise.
7233 (llrint_upward_test_data): Likewise.
7234 (llrint_test_upward): Likewise.
7235 (rint_test_data): Merge in per-rounding-mode tests and results
7236 from rint_tonearest_test_data, rint_towardzero_test_data,
7237 rint_downward_test_data and rint_upward_test_data. Add
7238 per-rounding-mode results for tests not in those arrays.
7239 (rint_test): Use ALL_RM_TEST.
7240 (rint_tonearest_test_data): Remove.
7241 (rint_test_tonearest): Likewise.
7242 (rint_towardzero_test_data): Likewise.
7243 (rint_test_towardzero): Likewise.
7244 (rint_downward_test_data): Likewise.
7245 (rint_test_downward): Likewise.
7246 (rint_upward_test_data): Likewise.
7247 (rint_test_upward): Likewise.
7248 (main): Don't call removed functions.
7250 2014-03-14 Roland McGrath <roland@hack.frob.com>
7252 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
7253 "Compiled on ..." crapola. It is anti-useful.
7255 2014-03-14 Joseph Myers <joseph@codesourcery.com>
7257 * scripts/evaluate-test.sh: Handle fourth argument to determine
7258 whether test run should stop on failure.
7259 * Makeconfig (stop-on-test-failure): New variable.
7260 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
7261 $(stop-on-test-failure).
7262 * Makefile (tests): Give a summary of results from testing and
7263 exit with failure status if they include an ERROR or FAIL.
7265 * manual/install.texi (Configuring and compiling): Mention
7266 stop-on-test-failure=y.
7267 * INSTALL: Regenerated.
7269 2014-03-14 Roland McGrath <roland@hack.frob.com>
7271 * scripts/versionlist.awk: New file.
7272 * Makerules [$(build-shared) = yes]
7273 (postclean-generated): Add Versions.def, not Versions.def.v and
7275 ($(common-objpfx)Versions.def.v.i): Target removed.
7276 ($(common-objpfx)Versions.def): New target.
7277 ($(common-objpfx)Versions.all): Depend on that rather that
7278 $(common-objpfx)Versions.def.v.
7279 * Versions.def: File removed.
7281 * Makeconfig (+gccwarn): Add -Wundef.
7282 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
7283 a dl-sysdep.h breaking its contract.
7284 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
7285 * include/stackinfo.h: New file.
7286 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
7287 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
7288 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
7289 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
7290 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
7291 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
7292 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7293 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7294 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7295 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7296 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7297 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
7298 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7299 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7300 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7302 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7305 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
7307 * math/libm-test.inc (round_test_data): Add more tests.
7310 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
7312 * math/libm-test.inc (nearbyint_test_data): Add more tests.
7315 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
7317 * math/libm-test.inc (ceil_test_data): Add more tests.
7319 * math/libm-test.inc (trunc_test_data): Add more tests related to
7322 2014-03-14 Roland McGrath <roland@hack.frob.com>
7324 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
7325 with #if rather than #ifdef.
7326 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
7328 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
7330 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
7331 first. Disable AVX-512 GCC support if assembler doesn't support
7333 * sysdeps/x86_64/configure: Regenerated.
7335 2014-03-13 Carlos O'Donell <carlos@redhat.com>
7337 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
7338 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
7339 (__old_pthread_attr_setstack): Likewise.
7340 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
7341 [!_STACK_GROWS_DOWN]: Likewise.
7343 2014-03-13 Mike Frysinger <vapier@gentoo.org>
7345 * config.make.in (have-bash2): Delete.
7346 * configure.ac (libc_cv_have_bash2): Delete.
7347 * configure: Regenerate.
7348 * elf/Makefile (common-ldd-rewrite): Rename to ...
7349 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
7350 (sh-ldd-rewrite): Delete.
7351 (bash-ldd-rewrite): Delete.
7352 (have-bash2): Delete checks.
7353 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
7356 * config.make.in (have-ksh): Delete.
7358 * configure.ac (libc_cv_have_ksh): Delete.
7359 * configure: Regenerate.
7361 * elf/Makefile: Delete $(have-ksh) check.
7362 ($(objpfx)sotruss): Change KSH to BASH.
7363 * elf/sotruss.ksh: Rename to ...
7364 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
7365 function style to match POSIX. Drop ksh vim mode setting.
7367 * manual/time.texi (Specifying the Time Zone with TZ): Change
7368 Tuesday to Thursday.
7370 * debug/tst-longjmp_chk2.c: Update header comment.
7371 (stackoverflow_handler): Add comment. Call assert on pass value.
7373 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
7375 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
7376 (HAVE_AVX512_ASM_SUPPORT): Likewise.
7377 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
7378 (La_x86_64_vector): Add zmm.
7379 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
7380 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
7381 ($(objpfx)tst-audit10): New target.
7382 ($(objpfx)tst-audit10.out): Likewise.
7383 (tst-audit10-ENV): New.
7384 (AVX512-CFLAGS): Likewise.
7385 (CFLAGS-tst-audit10.c): Likewise.
7386 (CFLAGS-tst-auditmod10a.c): Likewise.
7387 (CFLAGS-tst-auditmod10b.c): Likewise.
7388 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
7389 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
7390 * sysdeps/x86_64/configure: Regenerated.
7391 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
7392 AVX-512 zmm register support.
7393 (_dl_x86_64_save_sse): Likewise.
7394 (_dl_x86_64_restore_sse): Likewise.
7395 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
7396 size vector registers.
7397 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
7398 (ZMM_SIZE): Likewise.
7399 * sysdeps/x86_64/tst-audit10.c: New file.
7400 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
7401 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
7403 2014-03-13 Roland McGrath <roland@hack.frob.com>
7405 * configure.ac (HAVE_EHDR_START): New check.
7406 * configure: Regenerated.
7407 * config.h.in (HAVE_EHDR_START): New #undef.
7408 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
7409 assuming the lowest-addressed segment maps the start of the file.
7411 2014-03-13 Joseph Myers <joseph@codesourcery.com>
7413 * INSTALL: Regenerated.
7415 2014-03-13 Will Newton <will.newton@linaro.org>
7417 * manual/setjmp.texi (System V contexts): Improve
7418 clarity and grammar of documentation.
7420 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
7423 * elf/Makefile (tests): Add tst-pie2.
7424 (tests-pie): Add tst-pie2.
7425 * elf/tst-pie2.c: New file.
7426 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
7428 * elf/rtld.c (map_doit): Load executable as lt_executable.
7429 (dl_main): Likewise.
7431 2014-03-12 Joseph Myers <joseph@codesourcery.com>
7434 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7435 (__ASSUME_PSELECT): Undefine.
7437 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7440 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
7441 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
7443 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
7444 selector for static builds.
7446 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
7449 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
7452 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7454 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
7455 IFUNC selector for static builds.
7457 2014-03-11 Joseph Myers <joseph@codesourcery.com>
7459 * sysdeps/mips/math_private.h [__mips_hard_float]
7460 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
7461 libc_feresetround_mips_ctx.
7462 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
7463 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
7464 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
7467 * math/s_nextafter.c (__nextafter): Do not return value from
7468 overflowing computation.
7469 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
7470 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
7471 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
7473 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
7475 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
7476 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
7478 2014-03-11 Roland McGrath <roland@hack.frob.com>
7480 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
7481 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
7482 Move sfi_sp use from the load-multiple (that no longer sets sp) to
7483 the new mov targetting sp.
7485 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7488 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
7489 Define it for static builds as well.
7490 (NO_BZERO_IMPL): Likewise.
7492 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
7494 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
7495 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
7496 multiarch strspn for PPC64.
7497 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
7498 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
7499 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7500 (__libc_ifunc_impl_list): Likewise.
7501 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
7502 multiarch optimizations
7503 * string/strspn.c (strspn): Using macro to redefine symbol name.
7505 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
7506 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7508 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
7509 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
7510 multiarch strncat for PPC64.
7511 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
7512 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
7513 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7514 (__libc_ifunc_impl_list): Likewise.
7515 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
7516 multiarch optimizations
7518 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7521 * nscd/nscd.service: Make service type forking.
7523 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7525 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
7526 sign in non default rounding modes.
7527 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
7529 2014-03-08 Joseph Myers <joseph@codesourcery.com>
7531 * math/libm-test.inc (ALL_RM_TEST): New macro.
7532 (ceil_test): Use ALL_RM_TEST.
7533 (cimag_test): Likewise.
7534 (conj_test): Likewise.
7535 (copysign_test): Likewise.
7536 (cproj_test): Likewise.
7537 (creal_test): Likewise.
7538 (fabs_test): Likewise.
7539 (floor_test): Likewise.
7540 (fmax_test): Likewise.
7541 (fmin_test): Likewise.
7542 (fmod_test): Likewise.
7543 (fpclassify_test): Likewise.
7544 (frexp_test): Likewise.
7545 (ilogb_test): Likewise.
7546 (isfinite_test): Likewise.
7547 (finite_test): Likewise.
7548 (isgreater_test): Likewise.
7549 (isgreaterequal_test): Likewise.
7550 (isinf_test): Likewise.
7551 (isless_test): Likewise.
7552 (islessequal_test): Likewise.
7553 (islessgreater_test): Likewise.
7554 (isnan_test): Likewise.
7555 (isnormal_test): Likewise.
7556 (issignaling_test): Likewise.
7557 (isunordered_test): Likewise.
7558 (logb_test): Likewise.
7559 (logb_downward_test_data): Remove.
7560 (logb_test_downward): Likewise.
7561 (lround_test): Use ALL_RM_TEST.
7562 (llround_test): Likewise.
7563 (modf_test): Likewise.
7564 (nexttoward_test): Likewise.
7565 (remainder_test): Likewise.
7566 (drem_test): Likewise.
7567 (remainder_tonearest_test_data): Likewise.
7568 (remainder_test_tonearest): Likewise.
7569 (drem_test_tonearest): Likewise.
7570 (remainder_towardzero_test_data): Likewise.
7571 (remainder_test_towardzero): Likewise.
7572 (drem_test_towardzero): Likewise.
7573 (remainder_downward_test_data): Likewise.
7574 (remainder_test_downward): Likewise.
7575 (drem_test_downward): Likewise.
7576 (remainder_upward_test_data): Likewise.
7577 (remainder_test_upward): Likewise.
7578 (drem_test_upward): Likewise.
7579 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
7580 (round_test): Use ALL_RM_TEST.
7581 (signbit_test): Likewise.
7582 (trunc_test): Likewise.
7583 (significand_test): Likewise.
7584 (main): Don't call removed functions.
7586 2014-03-07 Joseph Myers <joseph@codesourcery.com>
7589 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
7591 (ILL_ILLOPN): Likewise.
7592 (ILL_ILLADR): Likewise.
7593 (ILL_ILLTRP): Likewise.
7594 (ILL_PRVOPC): Likewise.
7595 (ILL_PRVREG): Likewise.
7596 (ILL_COPROC): Likewise.
7597 (ILL_BADSTK): Likewise.
7598 (FPE_INTDIV): Likewise.
7599 (FPE_INTOVF): Likewise.
7600 (FPE_FLTDIV): Likewise.
7601 (FPE_FLTOVF): Likewise.
7602 (FPE_FLTUND): Likewise.
7603 (FPE_FLTRES): Likewise.
7604 (FPE_FLTINV): Likewise.
7605 (FPE_FLTSUB): Likewise.
7606 (SEGV_MAPERR): Likewise.
7607 (SEGV_ACCERR): Likewise.
7608 (BUS_ADRALN): Likewise.
7609 (BUS_ADRERR): Likewise.
7610 (BUS_OBJERR): Likewise.
7611 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7612 (TRAP_TRACE): Likewise.
7613 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7615 (CLD_KILLED): Likewise.
7616 (CLD_DUMPED): Likewise.
7617 (CLD_TRAPPED): Likewise.
7618 (CLD_STOPPED): Likewise.
7619 (CLD_CONTINUED): Likewise.
7620 (POLL_IN): Likewise.
7621 (POLL_OUT): Likewise.
7622 (POLL_MSG): Likewise.
7623 (POLL_ERR): Likewise.
7624 (POLL_PRI): Likewise.
7625 (POLL_HUP): Likewise.
7626 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
7628 (ILL_ILLOPN): Likewise.
7629 (ILL_ILLADR): Likewise.
7630 (ILL_ILLTRP): Likewise.
7631 (ILL_PRVOPC): Likewise.
7632 (ILL_PRVREG): Likewise.
7633 (ILL_COPROC): Likewise.
7634 (ILL_BADSTK): Likewise.
7635 (FPE_INTDIV): Likewise.
7636 (FPE_INTOVF): Likewise.
7637 (FPE_FLTDIV): Likewise.
7638 (FPE_FLTOVF): Likewise.
7639 (FPE_FLTUND): Likewise.
7640 (FPE_FLTRES): Likewise.
7641 (FPE_FLTINV): Likewise.
7642 (FPE_FLTSUB): Likewise.
7643 (SEGV_MAPERR): Likewise.
7644 (SEGV_ACCERR): Likewise.
7645 (BUS_ADRALN): Likewise.
7646 (BUS_ADRERR): Likewise.
7647 (BUS_OBJERR): Likewise.
7648 (BUS_MCEERR_AR): Likewise.
7649 (BUS_MCEERR_AO): Likewise.
7650 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7651 (TRAP_TRACE): Likewise.
7652 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7654 (CLD_KILLED): Likewise.
7655 (CLD_DUMPED): Likewise.
7656 (CLD_TRAPPED): Likewise.
7657 (CLD_STOPPED): Likewise.
7658 (CLD_CONTINUED): Likewise.
7659 (POLL_IN): Likewise.
7660 (POLL_OUT): Likewise.
7661 (POLL_MSG): Likewise.
7662 (POLL_ERR): Likewise.
7663 (POLL_PRI): Likewise.
7664 (POLL_HUP): Likewise.
7665 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
7666 (ILL_ILLOPN): Likewise.
7667 (ILL_ILLADR): Likewise.
7668 (ILL_ILLTRP): Likewise.
7669 (ILL_PRVOPC): Likewise.
7670 (ILL_PRVREG): Likewise.
7671 (ILL_COPROC): Likewise.
7672 (ILL_BADSTK): Likewise.
7673 (FPE_INTDIV): Likewise.
7674 (FPE_INTOVF): Likewise.
7675 (FPE_FLTDIV): Likewise.
7676 (FPE_FLTOVF): Likewise.
7677 (FPE_FLTUND): Likewise.
7678 (FPE_FLTRES): Likewise.
7679 (FPE_FLTINV): Likewise.
7680 (FPE_FLTSUB): Likewise.
7681 (SEGV_MAPERR): Likewise.
7682 (SEGV_ACCERR): Likewise.
7683 (BUS_ADRALN): Likewise.
7684 (BUS_ADRERR): Likewise.
7685 (BUS_OBJERR): Likewise.
7686 (BUS_MCEERR_AR): Likewise.
7687 (BUS_MCEERR_AO): Likewise.
7688 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7689 (TRAP_TRACE): Likewise.
7690 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7692 (CLD_KILLED): Likewise.
7693 (CLD_DUMPED): Likewise.
7694 (CLD_TRAPPED): Likewise.
7695 (CLD_STOPPED): Likewise.
7696 (CLD_CONTINUED): Likewise.
7697 (POLL_IN): Likewise.
7698 (POLL_OUT): Likewise.
7699 (POLL_MSG): Likewise.
7700 (POLL_ERR): Likewise.
7701 (POLL_PRI): Likewise.
7702 (POLL_HUP): Likewise.
7703 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
7705 (ILL_ILLOPN): Likewise.
7706 (ILL_ILLADR): Likewise.
7707 (ILL_ILLTRP): Likewise.
7708 (ILL_PRVOPC): Likewise.
7709 (ILL_PRVREG): Likewise.
7710 (ILL_COPROC): Likewise.
7711 (ILL_BADSTK): Likewise.
7712 (ILL_BADIADDR): Likewise.
7713 (ILL_BREAK): Likewise.
7714 (FPE_INTDIV): Likewise.
7715 (FPE_INTOVF): Likewise.
7716 (FPE_FLTDIV): Likewise.
7717 (FPE_FLTOVF): Likewise.
7718 (FPE_FLTUND): Likewise.
7719 (FPE_FLTRES): Likewise.
7720 (FPE_FLTINV): Likewise.
7721 (FPE_FLTSUB): Likewise.
7722 (FPE_DECOVF): Likewise.
7723 (FPE_DECDIV): Likewise.
7724 (FPE_DECERR): Likewise.
7725 (FPE_INVASC): Likewise.
7726 (FPE_INVDEC): Likewise.
7727 (SEGV_MAPERR): Likewise.
7728 (SEGV_ACCERR): Likewise.
7729 (SEGV_PSTKOVF): Likewise.
7730 (BUS_ADRALN): Likewise.
7731 (BUS_ADRERR): Likewise.
7732 (BUS_OBJERR): Likewise.
7733 (BUS_MCEERR_AR): Likewise.
7734 (BUS_MCEERR_AO): Likewise.
7735 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7736 (TRAP_TRACE): Likewise.
7737 (TRAP_BRANCH): Likewise.
7738 (TRAP_HWBKPT): Likewise.
7739 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7741 (CLD_KILLED): Likewise.
7742 (CLD_DUMPED): Likewise.
7743 (CLD_TRAPPED): Likewise.
7744 (CLD_STOPPED): Likewise.
7745 (CLD_CONTINUED): Likewise.
7746 (POLL_IN): Likewise.
7747 (POLL_OUT): Likewise.
7748 (POLL_MSG): Likewise.
7749 (POLL_ERR): Likewise.
7750 (POLL_PRI): Likewise.
7751 (POLL_HUP): Likewise.
7752 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
7753 (ILL_ILLOPN): Likewise.
7754 (ILL_ILLADR): Likewise.
7755 (ILL_ILLTRP): Likewise.
7756 (ILL_PRVOPC): Likewise.
7757 (ILL_PRVREG): Likewise.
7758 (ILL_COPROC): Likewise.
7759 (ILL_BADSTK): Likewise.
7760 (FPE_INTDIV): Likewise.
7761 (FPE_INTOVF): Likewise.
7762 (FPE_FLTDIV): Likewise.
7763 (FPE_FLTOVF): Likewise.
7764 (FPE_FLTUND): Likewise.
7765 (FPE_FLTRES): Likewise.
7766 (FPE_FLTINV): Likewise.
7767 (FPE_FLTSUB): Likewise.
7768 (SEGV_MAPERR): Likewise.
7769 (SEGV_ACCERR): Likewise.
7770 (BUS_ADRALN): Likewise.
7771 (BUS_ADRERR): Likewise.
7772 (BUS_OBJERR): Likewise.
7773 (BUS_MCEERR_AR): Likewise.
7774 (BUS_MCEERR_AO): Likewise.
7775 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7776 (TRAP_TRACE): Likewise.
7777 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7779 (CLD_KILLED): Likewise.
7780 (CLD_DUMPED): Likewise.
7781 (CLD_TRAPPED): Likewise.
7782 (CLD_STOPPED): Likewise.
7783 (CLD_CONTINUED): Likewise.
7784 (POLL_IN): Likewise.
7785 (POLL_OUT): Likewise.
7786 (POLL_MSG): Likewise.
7787 (POLL_ERR): Likewise.
7788 (POLL_PRI): Likewise.
7789 (POLL_HUP): Likewise.
7790 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
7791 (ILL_ILLOPN): Likewise.
7792 (ILL_ILLADR): Likewise.
7793 (ILL_ILLTRP): Likewise.
7794 (ILL_PRVOPC): Likewise.
7795 (ILL_PRVREG): Likewise.
7796 (ILL_COPROC): Likewise.
7797 (ILL_BADSTK): Likewise.
7798 (FPE_INTDIV): Likewise.
7799 (FPE_INTOVF): Likewise.
7800 (FPE_FLTDIV): Likewise.
7801 (FPE_FLTOVF): Likewise.
7802 (FPE_FLTUND): Likewise.
7803 (FPE_FLTRES): Likewise.
7804 (FPE_FLTINV): Likewise.
7805 (FPE_FLTSUB): Likewise.
7806 (SEGV_MAPERR): Likewise.
7807 (SEGV_ACCERR): Likewise.
7808 (BUS_ADRALN): Likewise.
7809 (BUS_ADRERR): Likewise.
7810 (BUS_OBJERR): Likewise.
7811 (BUS_MCEERR_AR): Likewise.
7812 (BUS_MCEERR_AO): Likewise.
7813 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7814 (TRAP_TRACE): Likewise.
7815 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7817 (CLD_KILLED): Likewise.
7818 (CLD_DUMPED): Likewise.
7819 (CLD_TRAPPED): Likewise.
7820 (CLD_STOPPED): Likewise.
7821 (CLD_CONTINUED): Likewise.
7822 (POLL_IN): Likewise.
7823 (POLL_OUT): Likewise.
7824 (POLL_MSG): Likewise.
7825 (POLL_ERR): Likewise.
7826 (POLL_PRI): Likewise.
7827 (POLL_HUP): Likewise.
7828 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
7829 (ILL_ILLOPN): Likewise.
7830 (ILL_ILLADR): Likewise.
7831 (ILL_ILLTRP): Likewise.
7832 (ILL_PRVOPC): Likewise.
7833 (ILL_PRVREG): Likewise.
7834 (ILL_COPROC): Likewise.
7835 (ILL_BADSTK): Likewise.
7836 (FPE_INTDIV): Likewise.
7837 (FPE_INTOVF): Likewise.
7838 (FPE_FLTDIV): Likewise.
7839 (FPE_FLTOVF): Likewise.
7840 (FPE_FLTUND): Likewise.
7841 (FPE_FLTRES): Likewise.
7842 (FPE_FLTINV): Likewise.
7843 (FPE_FLTSUB): Likewise.
7844 (SEGV_MAPERR): Likewise.
7845 (SEGV_ACCERR): Likewise.
7846 (BUS_ADRALN): Likewise.
7847 (BUS_ADRERR): Likewise.
7848 (BUS_OBJERR): Likewise.
7849 (BUS_MCEERR_AR): Likewise.
7850 (BUS_MCEERR_AO): Likewise.
7851 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7852 (TRAP_TRACE): Likewise.
7853 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7855 (CLD_KILLED): Likewise.
7856 (CLD_DUMPED): Likewise.
7857 (CLD_TRAPPED): Likewise.
7858 (CLD_STOPPED): Likewise.
7859 (CLD_CONTINUED): Likewise.
7860 (POLL_IN): Likewise.
7861 (POLL_OUT): Likewise.
7862 (POLL_MSG): Likewise.
7863 (POLL_ERR): Likewise.
7864 (POLL_PRI): Likewise.
7865 (POLL_HUP): Likewise.
7866 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
7867 (ILL_ILLOPN): Likewise.
7868 (ILL_ILLADR): Likewise.
7869 (ILL_ILLTRP): Likewise.
7870 (ILL_PRVOPC): Likewise.
7871 (ILL_PRVREG): Likewise.
7872 (ILL_COPROC): Likewise.
7873 (ILL_BADSTK): Likewise.
7874 (ILL_DBLFLT): Likewise.
7875 (ILL_HARDWALL): Likewise.
7876 (FPE_INTDIV): Likewise.
7877 (FPE_INTOVF): Likewise.
7878 (FPE_FLTDIV): Likewise.
7879 (FPE_FLTOVF): Likewise.
7880 (FPE_FLTUND): Likewise.
7881 (FPE_FLTRES): Likewise.
7882 (FPE_FLTINV): Likewise.
7883 (FPE_FLTSUB): Likewise.
7884 (SEGV_MAPERR): Likewise.
7885 (SEGV_ACCERR): Likewise.
7886 (BUS_ADRALN): Likewise.
7887 (BUS_ADRERR): Likewise.
7888 (BUS_OBJERR): Likewise.
7889 (BUS_MCEERR_AR): Likewise.
7890 (BUS_MCEERR_AO): Likewise.
7891 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7892 (TRAP_TRACE): Likewise.
7893 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7895 (CLD_KILLED): Likewise.
7896 (CLD_DUMPED): Likewise.
7897 (CLD_TRAPPED): Likewise.
7898 (CLD_STOPPED): Likewise.
7899 (CLD_CONTINUED): Likewise.
7900 (POLL_IN): Likewise.
7901 (POLL_OUT): Likewise.
7902 (POLL_MSG): Likewise.
7903 (POLL_ERR): Likewise.
7904 (POLL_PRI): Likewise.
7905 (POLL_HUP): Likewise.
7906 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
7907 (ILL_ILLOPN): Likewise.
7908 (ILL_ILLADR): Likewise.
7909 (ILL_ILLTRP): Likewise.
7910 (ILL_PRVOPC): Likewise.
7911 (ILL_PRVREG): Likewise.
7912 (ILL_COPROC): Likewise.
7913 (ILL_BADSTK): Likewise.
7914 (FPE_INTDIV): Likewise.
7915 (FPE_INTOVF): Likewise.
7916 (FPE_FLTDIV): Likewise.
7917 (FPE_FLTOVF): Likewise.
7918 (FPE_FLTUND): Likewise.
7919 (FPE_FLTRES): Likewise.
7920 (FPE_FLTINV): Likewise.
7921 (FPE_FLTSUB): Likewise.
7922 (SEGV_MAPERR): Likewise.
7923 (SEGV_ACCERR): Likewise.
7924 (BUS_ADRALN): Likewise.
7925 (BUS_ADRERR): Likewise.
7926 (BUS_OBJERR): Likewise.
7927 (BUS_MCEERR_AR): Likewise.
7928 (BUS_MCEERR_AO): Likewise.
7929 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7930 (TRAP_TRACE): Likewise.
7931 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7933 (CLD_KILLED): Likewise.
7934 (CLD_DUMPED): Likewise.
7935 (CLD_TRAPPED): Likewise.
7936 (CLD_STOPPED): Likewise.
7937 (CLD_CONTINUED): Likewise.
7938 (POLL_IN): Likewise.
7939 (POLL_OUT): Likewise.
7940 (POLL_MSG): Likewise.
7941 (POLL_ERR): Likewise.
7942 (POLL_PRI): Likewise.
7943 (POLL_HUP): Likewise.
7944 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
7945 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
7948 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
7949 before #include of <time.h>.
7950 [!__USE_XOPEN2K] (__need_timespec): Likewise.
7951 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
7952 (test-xfail-UNIX98/sched.h/conform): Likewise.
7954 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
7956 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
7957 error absence of trapping exception support.
7958 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
7960 2014-03-07 Joseph Myers <joseph@codesourcery.com>
7962 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
7963 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
7964 * timezone/Makefile (testdata): Move definition above include of
7966 (test-zones): New variable.
7967 (tests-special): Add zone files.
7968 (build-testdata): Use $(evaluate-test).
7970 * elf/Makefile (tests-special): Rename tests to end with .out.
7971 ($(objpfx)noload-mem): Likewise.
7972 ($(objpfx)tst-leaks1-mem): Likewise.
7973 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
7974 * iconv/Makefile (xtests-special): Change test-iconvconfig to
7975 $(objpfx)test-iconvconfig.out.
7976 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
7977 set -e inside subshell and redirect output to file.
7978 * iconvdata/Makefile (generated): Rename tests to end with .out.
7980 (tests-special): Rename tests to end with .out.
7981 ($(objpfx)mtrace-tst-loading): Likewise.
7982 * intl/Makefile (generated): Likewise.
7983 (tests-special): Likewise.
7984 ($(objpfx)mtrace-tst-gettext): Likewise.
7985 * misc/Makefile (generated): Likewise.
7986 (tests-special): Likewise.
7987 ($(objpfx)tst-error1-mem): Likewise.
7988 * nptl/Makefile (tests-special): Likewise.
7989 ($(objpfx)tst-stack3-mem): Likewise.
7990 (generated): Likewise.
7991 * posix/Makefile (generated): Likewise.
7992 (tests-special): Likewise.
7993 (xtests-special): Likewise.
7994 ($(objpfx)tst-fnmatch-mem): Likewise.
7995 ($(objpfx)bug-regex2-mem): Likewise.
7996 ($(objpfx)bug-regex14-mem): Likewise.
7997 ($(objpfx)bug-regex21-mem): Likewise.
7998 ($(objpfx)bug-regex31-mem): Likewise.
7999 ($(objpfx)tst-vfork3-mem): Likewise.
8000 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
8001 ($(objpfx)tst-pcre-mem): Likewise.
8002 ($(objpfx)tst-boost-mem): Likewise.
8003 ($(objpfx)bug-ga2-mem): Likewise.
8004 ($(objpfx)bug-glob2-mem): Likewise.
8005 * resolv/Makefile (generate): Likewise.
8006 (tests-special): Likewise.
8007 (xtests-special): Likewise.
8008 (generated): Likewise.
8009 ($(objpfx)mtrace-tst-leaks): Likewise.
8010 ($(objpfx)mtrace-tst-leaks2): Likewise.
8012 * scripts/merge-test-results.sh: New file.
8013 * Makefile (tests-special-notdir): New variable.
8014 (tests): Run merge-test-results.sh.
8016 * Rules (tests-special-notdir): New variable.
8017 (xtests-special-notdir): Likewise.
8018 (tests): Run merge-test-results.sh
8021 * Makeconfig (test-xfail-name): New variable.
8022 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
8023 compute variable name for expected failures.
8024 * conform/Makefile (conformtest-headers-data): New variable.
8025 (conformtest-standards): Likewise.
8026 (conformtest-headers-ISO): Likewise.
8027 (conformtest-headers-ISO99): Likewise.
8028 (conformtest-headers-ISO11): Likewise.
8029 (conformtest-headers-POSIX): Likewise.
8030 (conformtest-headers-XPG3): Likewise.
8031 (conformtest-headers-XPG4): Likewise.
8032 (conformtest-headers-UNIX98): Likewise.
8033 (conformtest-headers-XOPEN2K): Likewise.
8034 (conformtest-headers-POSIX2008): Likewise.
8035 (conformtest-headers-XOPEN2K8): Likewise.
8036 (conformtest-header-list-base): Likewise.
8037 (conformtest-header-list-tests): Likewise.
8038 (conformtest-header-base): Likewise.
8039 (conformtest-header-tests): Likewise.
8040 (tests-special): Add $(conformtest-header-list-tests). If
8041 [$(fast-check) && !$(cross-compiling)], add
8042 $(conformtest-header-tests) instead of
8043 $(objpfx)run-conformtest.out.
8044 (generated): Add $(conformtest-header-list-base). If
8045 [$(fast-check) && !$(cross-compiling)], add
8046 $(conformtest-header-base). Remove previous setting.
8047 ($(conformtest-header-list-tests)): New target.
8048 (test-xfail-run-conformtest): Remove variable.
8049 ($(objpfx)run-conformtest.out): Remove target.
8050 (test-xfail-ISO11/complex.h/conform): New variable.
8051 (test-xfail-ISO11/stdalign.h/conform): Likewise.
8052 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
8053 (test-xfail-XPG3/varargs.h/conform): Likewise.
8054 (test-xfail-XPG4/varargs.h/conform): Likewise.
8055 (test-xfail-UNIX98/varargs.h/conform): Likewise.
8056 (test-xfail-XPG4/ndbm.h/conform): Likewise.
8057 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
8058 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
8059 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
8060 (test-xfail-XPG3/fcntl.h/conform): Likewise.
8061 (test-xfail-XPG3/ftw.h/conform): Likewise.
8062 (test-xfail-XPG3/grp.h/conform): Likewise.
8063 (test-xfail-XPG3/langinfo.h/conform): Likewise.
8064 (test-xfail-XPG3/limits.h/conform): Likewise.
8065 (test-xfail-XPG3/pwd.h/conform): Likewise.
8066 (test-xfail-XPG3/search.h/conform): Likewise.
8067 (test-xfail-XPG3/signal.h/conform): Likewise.
8068 (test-xfail-XPG3/stdio.h/conform): Likewise.
8069 (test-xfail-XPG3/stdlib.h/conform): Likewise.
8070 (test-xfail-XPG3/string.h/conform): Likewise.
8071 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
8072 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
8073 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
8074 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
8075 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
8076 (test-xfail-XPG3/sys/types.h/conform): Likewise.
8077 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
8078 (test-xfail-XPG3/termios.h/conform): Likewise.
8079 (test-xfail-XPG3/time.h/conform): Likewise.
8080 (test-xfail-XPG3/unistd.h/conform): Likewise.
8081 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
8082 (test-xfail-XPG4/fcntl.h/conform): Likewise.
8083 (test-xfail-XPG4/langinfo.h/conform): Likewise.
8084 (test-xfail-XPG4/netdb.h/conform): Likewise.
8085 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
8086 (test-xfail-XPG4/signal.h/conform): Likewise.
8087 (test-xfail-XPG4/stdio.h/conform): Likewise.
8088 (test-xfail-XPG4/stdlib.h/conform): Likewise.
8089 (test-xfail-XPG4/stropts.h/conform): Likewise.
8090 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
8091 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
8092 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
8093 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
8094 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
8095 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
8096 (test-xfail-XPG4/sys/time.h/conform): Likewise.
8097 (test-xfail-XPG4/sys/types.h/conform): Likewise.
8098 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
8099 (test-xfail-XPG4/termios.h/conform): Likewise.
8100 (test-xfail-XPG4/ucontext.h/conform): Likewise.
8101 (test-xfail-XPG4/unistd.h/conform): Likewise.
8102 (test-xfail-XPG4/utmpx.h/conform): Likewise.
8103 (test-xfail-POSIX/sched.h/conform): Likewise.
8104 (test-xfail-POSIX/signal.h/conform): Likewise.
8105 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
8106 (test-xfail-POSIX/tar.h/conform): Likewise.
8107 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
8108 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
8109 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
8110 (test-xfail-UNIX98/netdb.h/conform): Likewise.
8111 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
8112 (test-xfail-UNIX98/sched.h/conform): Likewise.
8113 (test-xfail-UNIX98/signal.h/conform): Likewise.
8114 (test-xfail-UNIX98/stdio.h/conform): Likewise.
8115 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
8116 (test-xfail-UNIX98/stropts.h/conform): Likewise.
8117 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
8118 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
8119 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
8120 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
8121 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
8122 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
8123 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
8124 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
8125 (test-xfail-UNIX98/unistd.h/conform): Likewise.
8126 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
8127 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
8128 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
8129 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
8130 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
8131 (test-xfail-XOPEN2K/math.h/conform): Likewise.
8132 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
8133 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
8134 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
8135 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
8136 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
8137 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
8138 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
8139 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
8140 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
8141 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
8142 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
8143 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
8144 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
8145 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
8146 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
8147 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
8148 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
8149 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
8150 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
8151 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
8152 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
8153 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
8154 (test-xfail-POSIX2008/signal.h/conform): Likewise.
8155 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
8156 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
8157 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
8158 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
8159 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
8160 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
8161 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
8162 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
8163 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
8164 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
8165 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
8166 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
8167 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
8168 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
8169 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
8170 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
8171 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
8172 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
8173 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
8174 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
8175 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
8176 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
8177 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
8178 (conformtest-cc-flags): Likewise.
8179 ($(conformtest-header-tests): New target.
8180 * conform/check-header-lists.sh: New file.
8181 * conform/run-conformtest.sh: Remove.
8183 * conform/conformtest.pl: Allow ' and \ in values given for
8185 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
8187 [POSIX] (sys/types.h): Likewise.
8188 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
8190 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
8192 * conform/data/signal.h-data (SIGIO): Remove expectation.
8193 [XPG3] (SIGBUS): Do not expect.
8194 [POSIX || XPG3] (SIGPOLL): Likewise.
8195 [POSIX || XPG3] (SIGPROF): Likewise.
8196 [POSIX || XPG3] (SIGSYS): Likewise.
8197 [XPG3] (SIGTRAP): Likewise.
8198 [POSIX || XPG3] (SIGURG): Likewise.
8199 [POSIX || XPG3] (SIGVTALRM): Likewise.
8200 [POSIX || XPG3] (SIGXCPU): Likewise.
8201 [POSIX || XPG3] (SIGXFSZ): Likewise.
8202 [POSIX] (SA_SIGINFO): Expect.
8203 [XPG3] (siginfo_t): Do not expect type or contents.
8204 [POSIX] (si_pid): Do not expect element.
8205 [POSIX] (si_uid): Likewise.
8206 [POSIX] (si_addr): Likewise.
8207 [POSIX] (si_status): Likewise.
8208 [POSIX] (si_band): Likewise.
8209 [XPG4] (si_value): Likewise.
8210 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
8211 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
8212 [POSIX || XPG3] (ILL_ILLADR): Likewise.
8213 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
8214 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
8215 [POSIX || XPG3] (ILL_PRVREG): Likewise.
8216 [POSIX || XPG3] (ILL_COPROC): Likewise.
8217 [POSIX || XPG3] (ILL_BADSTK): Likewise.
8218 [POSIX || XPG3] (FPE_INTDIV): Likewise.
8219 [POSIX || XPG3] (FPE_INTOVF): Likewise.
8220 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
8221 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
8222 [POSIX || XPG3] (FPE_FLTUND): Likewise.
8223 [POSIX || XPG3] (FPE_FLTRES): Likewise.
8224 [POSIX || XPG3] (FPE_FLTINV): Likewise.
8225 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
8226 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
8227 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
8228 [POSIX || XPG3] (BUS_ADRALN): Likewise.
8229 [POSIX || XPG3] (BUS_ADRERR): Likewise.
8230 [POSIX || XPG3] (BUS_OBJERR): Likewise.
8231 [POSIX || XPG3] (CLD_EXITED): Likewise.
8232 [POSIX || XPG3] (CLD_KILLED): Likewise.
8233 [POSIX || XPG3] (CLD_DUMPED): Likewise.
8234 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
8235 [POSIX || XPG3] (CLD_STOPPED): Likewise.
8236 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
8237 [POSIX || XPG3] (POLL_IN): Likewise.
8238 [POSIX || XPG3] (POLL_OUT): Likewise.
8239 [POSIX || XPG3] (POLL_MSG): Likewise.
8240 [POSIX || XPG3] (POLL_ERR): Likewise.
8241 [POSIX || XPG3] (POLL_PRI): Likewise.
8242 [POSIX || XPG3] (POLL_HUP): Likewise.
8243 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
8244 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
8245 (SIG*): Do not allow.
8246 [XPG3] (si_*): Likewise.
8247 [XPG3] (SI_*): Likewise.
8248 [XPG3 || XPG4] (sigev_*): Likewise.
8249 [XPG3 || XPG4] (SIGEV_*): Likewise.
8250 [XPG3 || XPG4] (sival_*): Likewise.
8251 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
8252 [POSIX || XPG3] (BUS_*): Likewise.
8253 [POSIX || XPG3] (CLD_*): Likewise.
8254 [POSIX || XPG3] (FPE_*): Likewise.
8255 [POSIX || XPG3] (ILL_*): Likewise.
8256 [POSIX || XPG3] (POLL_*): Likewise.
8257 [POSIX || XPG3] (SEGV_*): Likewise.
8258 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
8259 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
8260 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
8261 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
8262 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
8263 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
8264 Specify type and value.
8265 (TVERSLEN): Likewise.
8266 (REGTYPE): Likewise.
8267 (AREGTYPE): Likewise.
8268 (LNKTYPE): Likewise.
8269 (SYMTYPE): Likewise.
8270 (CHRTYPE): Likewise.
8271 (BLKTYPE): Likewise.
8272 (DIRTYPE): Likewise.
8273 (FIFOTYPE): Likewise.
8274 (CONTTYPE): Likewise.
8279 (TUWRITE): Likewise.
8282 (TGWRITE): Likewise.
8285 (TOWRITE): Likewise.
8287 [POSIX] (TSVTX): Expect constant.
8289 2014-03-06 Joseph Myers <joseph@codesourcery.com>
8291 * Makefile (tests): Change dependencies to ....
8292 (tests-special): ... additions to this variable.
8293 (tests): Depend on $(tests-special).
8294 * Makerules (check-abi-list): New variable.
8295 (check-abi): Depend on $(check-abi-list).
8296 [$(subdir) = elf] (tests-special): Add
8297 $(objpfx)check-abi-libc.out.
8298 [$(build-shared) = yes && subdir] (tests-special): Add
8300 [$(build-shared) = yes && subdir] (tests): Do not depend on
8302 * Rules (tests): Depend on $(tests-special).
8303 (xtests): Depend on $(xtests-special).
8304 * catgets/Makefile (tests): Change dependencies to ....
8305 (tests-special): ... additions to this variable.
8306 * conform/Makefile (tests): Change dependencies to ....
8307 (tests-special): ... additions to this variable.
8308 * elf/Makefile (tests): Change dependencies to ....
8309 (tests-special): ... additions to this variable.
8310 * grp/Makefile (tests): Change dependencies to ....
8311 (tests-special): ... additions to this variable.
8312 * iconv/Makefile (xtests): Change dependencies to ....
8313 (xtests-special): ... additions to this variable.
8314 * iconvdata/Makefile (tests): Change dependencies to ....
8315 (tests-special): ... additions to this variable.
8316 * intl/Makefile (tests): Change dependencies to ....
8317 (tests-special): ... additions to this variable. Also add
8318 $(objpfx)tst-gettext.out.
8319 * io/Makefile (tests): Change dependencies to ....
8320 (tests-special): ... additions to this variable.
8321 * libio/Makefile (tests): Change dependencies to ....
8322 (tests-special): ... additions to this variable.
8323 * malloc/Makefile (tests): Change dependencies to ....
8324 (tests-special): ... additions to this variable.
8325 * misc/Makefile (tests): Change dependencies to ....
8326 (tests-special): ... additions to this variable.
8327 * nptl/Makefile (tests): Change dependencies to ....
8328 (tests-special): ... additions to this variable.
8329 * nptl_db/Makefile (tests): Change dependencies to ....
8330 (tests-special): ... additions to this variable.
8331 * posix/Makefile (tests): Change dependencies to ....
8332 (tests-special): ... additions to this variable.
8333 (xtests): Change dependencies to ....
8334 (xtests-special): ... additions to this variable.
8335 * resolv/Makefile (tests): Change dependencies to ....
8336 (tests-special): ... additions to this variable.
8337 (xtests): Change dependencies to ....
8338 (xtests-special): ... additions to this variable.
8339 * stdio-common/Makefile (tests): Change dependencies to ....
8340 (tests-special): ... additions to this variable.
8341 (do-tst-unbputc): Remove target.
8342 (do-tst-printf): Likewise.
8343 * stdlib/Makefile (tests): Change dependencies to ....
8344 (tests-special): ... additions to this variable.
8345 * string/Makefile (tests): Change dependencies to ....
8346 (tests-special): ... additions to this variable.
8347 * sysdeps/x86/Makefile (tests): Change dependencies to ....
8348 (tests-special): ... additions to this variable.
8350 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
8352 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
8354 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
8355 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
8357 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
8358 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
8359 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
8360 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
8361 * conform/data/libgen.h-data [XPG3]: Likewise.
8362 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
8363 * conform/data/ndbm.h-data [XPG3]: Likewise.
8364 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
8365 * conform/data/netdb.h-data [XPG3]: Likewise.
8366 * conform/data/netinet/in.h-data [XPG3]: Likewise.
8367 * conform/data/poll.h-data [XPG3]: Likewise.
8368 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
8369 * conform/data/strings.h-data [XPG3]: Likewise.
8370 * conform/data/stropts.h-data [XPG3]: Likewise.
8371 * conform/data/sys/mman.h-data [XPG3]: Likewise.
8372 * conform/data/sys/resource.h-data [XPG3]: Likewise.
8373 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
8375 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
8376 * conform/data/sys/time.h-data [XPG3]: Likewise.
8377 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
8378 * conform/data/sys/uio.h-data [XPG3]: Likewise.
8379 * conform/data/sys/un.h-data [XPG3]: Likewise.
8380 * conform/data/syslog.h-data [XPG3]: Likewise.
8381 * conform/data/ucontext.h-data [XPG3]: Likewise.
8382 * conform/data/utmpx.h-data [XPG3]: Likewise.
8383 * conform/data/varargs.h-data [UNIX98]: Enable file.
8385 * manual/Makefile (INSTALL_INFO): Remove variable setting.
8387 * math/libm-test.inc (struct test_f_f_data): Move expected results
8388 into structure for each rounding mode.
8389 (struct test_ff_f_data): Likewise.
8390 (struct test_ff_f_data_nexttoward): Likewise.
8391 (struct test_fi_f_data): Likewise.
8392 (struct test_fl_f_data): Likewise.
8393 (struct test_if_f_data): Likewise.
8394 (struct test_fff_f_data): Likewise.
8395 (struct test_c_f_data): Likewise.
8396 (struct test_f_f1_data): Likewise.
8397 (struct test_fF_f1_data): Likewise.
8398 (struct test_ffI_f1_data): Likewise.
8399 (struct test_c_c_data): Likewise.
8400 (struct test_cc_c_data): Likewise.
8401 (struct test_f_i_data): Likewise.
8402 (struct test_ff_i_data): Likewise.
8403 (struct test_f_l_data): Likewise.
8404 (struct test_f_L_data): Likewise.
8405 (struct test_fFF_11_data): Likewise.
8407 (RM_FE_DOWNWARD): Likewise.
8408 (RM_FE_TONEAREST): Likewise.
8409 (RM_FE_TOWARDZERO): Likewise.
8410 (RM_FE_UPWARD): Likewise.
8411 (RUN_TEST_LOOP_f_f): Update references to expected results.
8412 (RUN_TEST_LOOP_2_f): Likewise.
8413 (RUN_TEST_LOOP_fff_f): Likewise.
8414 (RUN_TEST_LOOP_c_f): Likewise.
8415 (RUN_TEST_LOOP_f_f1): Likewise.
8416 (RUN_TEST_LOOP_fF_f1): Likewise.
8417 (RUN_TEST_LOOP_fI_f1): Likewise.
8418 (RUN_TEST_LOOP_ffI_f1): Likewise.
8419 (RUN_TEST_LOOP_c_c): Likewise.
8420 (RUN_TEST_LOOP_cc_c): Likewise.
8421 (RUN_TEST_LOOP_f_i): Likewise.
8422 (RUN_TEST_LOOP_f_i_tg): Likewise.
8423 (RUN_TEST_LOOP_ff_i_tg): Likewise.
8424 (RUN_TEST_LOOP_f_b): Likewise.
8425 (RUN_TEST_LOOP_f_b_tg): Likewise.
8426 (RUN_TEST_LOOP_f_l): Likewise.
8427 (RUN_TEST_LOOP_f_L): Likewise.
8428 (RUN_TEST_LOOP_fFF_11): Likewise.
8429 * math/gen-libm-test.pl (parse_args): Output four copies of
8430 expected results for each test.
8432 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
8433 (__ASSUME_UTIMES): Remove.
8434 * sysdeps/unix/sysv/linux/tile/kernel-features.h
8435 (__ASSUME_UTIMES): Likewise.
8437 * math/gen-auto-libm-tests.c: Update comment on output format.
8438 (output_for_one_input_case): Generate before-rounding and
8439 after-rounding information as conditions on output flags not
8440 floating-point format.
8441 * math/auto-libm-test-out: Regenerated.
8442 * math/gen-libm-test.pl (cond_value): New function.
8443 (or_cond_value): Use cond_value.
8444 (generate_testfile): Handle conditional exceptions.
8446 2014-03-05 Joseph Myers <joseph@codesourcery.com>
8448 * math/libm-test.inc (max_valid_error): New variable.
8449 (init_max_error): Take new argument specifying whether function
8450 results are exactly determined. Set max_valid_error and bound
8451 other variables for errors based on this argument.
8452 (set_max_error): Do not record results above max_valid_error.
8453 (check_float_internal): Only accept errors of up to 0.5ulps if
8454 also at most max_valid_error.
8455 (START): Take new argument EXACT and pass it to init_max_error.
8456 (acos_test): Update call to START.
8457 (acos_test_tonearest): Likewise.
8458 (acos_test_towardzero): Likewise.
8459 (acos_test_downward): Likewise.
8460 (acos_test_upward): Likewise.
8461 (acosh_test): Likewise.
8462 (asin_test): Likewise.
8463 (asin_test_tonearest): Likewise.
8464 (asin_test_towardzero): Likewise.
8465 (asin_test_downward): Likewise.
8466 (asin_test_upward): Likewise.
8467 (asinh_test): Likewise.
8468 (atan_test): Likewise.
8469 (atanh_test): Likewise.
8470 (atan2_test): Likewise.
8471 (cabs_test): Likewise.
8472 (cacos_test): Likewise.
8473 (cacosh_test): Likewise.
8474 (carg_test): Likewise.
8475 (casin_test): Likewise.
8476 (casinh_test): Likewise.
8477 (catan_test): Likewise.
8478 (catanh_test): Likewise.
8479 (cbrt_test): Likewise.
8480 (ccos_test): Likewise.
8481 (ccosh_test): Likewise.
8482 (ceil_test): Likewise.
8483 (cexp_test): Likewise.
8484 (cimag_test): Likewise.
8485 (clog_test): Likewise.
8486 (clog10_test): Likewise.
8487 (conj_test): Likewise.
8488 (copysign_test): Likewise.
8489 (cos_test): Likewise.
8490 (cos_test_tonearest): Likewise.
8491 (cos_test_towardzero): Likewise.
8492 (cos_test_downward): Likewise.
8493 (cos_test_upward): Likewise.
8494 (cosh_test): Likewise.
8495 (cosh_test_tonearest): Likewise.
8496 (cosh_test_towardzero): Likewise.
8497 (cosh_test_downward): Likewise.
8498 (cosh_test_upward): Likewise.
8499 (cpow_test): Likewise.
8500 (cproj_test): Likewise.
8501 (creal_test): Likewise.
8502 (csin_test): Likewise.
8503 (csinh_test): Likewise.
8504 (csqrt_test): Likewise.
8505 (ctan_test): Likewise.
8506 (ctan_test_tonearest): Likewise.
8507 (ctan_test_towardzero): Likewise.
8508 (ctan_test_downward): Likewise.
8509 (ctan_test_upward): Likewise.
8510 (ctanh_test): Likewise.
8511 (ctanh_test_tonearest): Likewise.
8512 (ctanh_test_towardzero): Likewise.
8513 (ctanh_test_downward): Likewise.
8514 (ctanh_test_upward): Likewise.
8515 (erf_test): Likewise.
8516 (erfc_test): Likewise.
8517 (exp_test): Likewise.
8518 (exp_test_tonearest): Likewise.
8519 (exp_test_towardzero): Likewise.
8520 (exp_test_downward): Likewise.
8521 (exp_test_upward): Likewise.
8522 (exp10_test): Likewise.
8523 (exp10_test_tonearest): Likewise.
8524 (exp10_test_towardzero): Likewise.
8525 (exp10_test_downward): Likewise.
8526 (exp10_test_upward): Likewise.
8527 (pow10_test): Likewise.
8528 (exp2_test): Likewise.
8529 (expm1_test): Likewise.
8530 (expm1_test_tonearest): Likewise.
8531 (expm1_test_towardzero): Likewise.
8532 (expm1_test_downward): Likewise.
8533 (expm1_test_upward): Likewise.
8534 (fabs_test): Likewise.
8535 (fdim_test): Likewise.
8536 (floor_test): Likewise.
8537 (fma_test): Likewise.
8538 (fma_test_towardzero): Likewise.
8539 (fma_test_downward): Likewise.
8540 (fma_test_upward): Likewise.
8541 (fmax_test): Likewise.
8542 (fmin_test): Likewise.
8543 (fmod_test): Likewise.
8544 (fpclassify_test): Likewise.
8545 (frexp_test): Likewise.
8546 (hypot_test): Likewise.
8547 (ilogb_test): Likewise.
8548 (isfinite_test): Likewise.
8549 (finite_test): Likewise.
8550 (isgreater_test): Likewise.
8551 (isgreaterequal_test): Likewise.
8552 (isinf_test): Likewise.
8553 (isless_test): Likewise.
8554 (islessequal_test): Likewise.
8555 (islessgreater_test): Likewise.
8556 (isnan_test): Likewise.
8557 (isnormal_test): Likewise.
8558 (issignaling_test): Likewise.
8559 (isunordered_test): Likewise.
8560 (j0_test): Likewise.
8561 (j1_test): Likewise.
8562 (jn_test): Likewise.
8563 (ldexp_test): Likewise.
8564 (lgamma_test): Likewise.
8565 (gamma_test): Likewise.
8566 (lrint_test): Likewise.
8567 (lrint_test_tonearest): Likewise.
8568 (lrint_test_towardzero): Likewise.
8569 (lrint_test_downward): Likewise.
8570 (lrint_test_upward): Likewise.
8571 (llrint_test): Likewise.
8572 (llrint_test_tonearest): Likewise.
8573 (llrint_test_towardzero): Likewise.
8574 (llrint_test_downward): Likewise.
8575 (llrint_test_upward): Likewise.
8576 (log_test): Likewise.
8577 (log10_test): Likewise.
8578 (log1p_test): Likewise.
8579 (log2_test): Likewise.
8580 (logb_test): Likewise.
8581 (logb_test_downward): Likewise.
8582 (lround_test): Likewise.
8583 (llround_test): Likewise.
8584 (modf_test): Likewise.
8585 (nearbyint_test): Likewise.
8586 (nextafter_test): Likewise.
8587 (nexttoward_test): Likewise.
8588 (pow_test): Likewise.
8589 (pow_test_tonearest): Likewise.
8590 (pow_test_towardzero): Likewise.
8591 (pow_test_downward): Likewise.
8592 (pow_test_upward): Likewise.
8593 (remainder_test): Likewise.
8594 (drem_test): Likewise.
8595 (remainder_test_tonearest): Likewise.
8596 (drem_test_tonearest): Likewise.
8597 (remainder_test_towardzero): Likewise.
8598 (drem_test_towardzero): Likewise.
8599 (remainder_test_downward): Likewise.
8600 (drem_test_downward): Likewise.
8601 (remainder_test_upward): Likewise.
8602 (drem_test_upward): Likewise.
8603 (remquo_test): Likewise.
8604 (rint_test): Likewise.
8605 (rint_test_tonearest): Likewise.
8606 (rint_test_towardzero): Likewise.
8607 (rint_test_downward): Likewise.
8608 (rint_test_upward): Likewise.
8609 (round_test): Likewise.
8610 (scalb_test): Likewise.
8611 (scalbn_test): Likewise.
8612 (scalbln_test): Likewise.
8613 (signbit_test): Likewise.
8614 (sin_test): Likewise.
8615 (sin_test_tonearest): Likewise.
8616 (sin_test_towardzero): Likewise.
8617 (sin_test_downward): Likewise.
8618 (sin_test_upward): Likewise.
8619 (sincos_test): Likewise.
8620 (sinh_test): Likewise.
8621 (sinh_test_tonearest): Likewise.
8622 (sinh_test_towardzero): Likewise.
8623 (sinh_test_downward): Likewise.
8624 (sinh_test_upward): Likewise.
8625 (sqrt_test): Likewise.
8626 (sqrt_test_tonearest): Likewise.
8627 (sqrt_test_towardzero): Likewise.
8628 (sqrt_test_downward): Likewise.
8629 (sqrt_test_upward): Likewise.
8630 (tan_test): Likewise.
8631 (tan_test_tonearest): Likewise.
8632 (tan_test_towardzero): Likewise.
8633 (tan_test_downward): Likewise.
8634 (tan_test_upward): Likewise.
8635 (tanh_test): Likewise.
8636 (tgamma_test): Likewise.
8637 (trunc_test): Likewise.
8638 (y0_test): Likewise.
8639 (y1_test): Likewise.
8640 (yn_test): Likewise.
8641 (significand_test): Likewise.
8643 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
8644 individual tests in comment.
8645 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
8646 (prev_max_error): New variable.
8647 (prev_real_max_error): Likewise.
8648 (prev_imag_max_error): Likewise.
8649 (compare_ulp_data): Don't refer to test names in comment.
8650 (find_test_ulps): Remove function.
8651 (find_function_ulps): Likewise.
8652 (find_complex_function_ulps): Likewise.
8653 (init_max_error): Take function name as argument. Look up ulps
8655 (print_ulps): Remove function.
8656 (print_max_error): Use prev_max_error instead of calling
8658 (print_complex_max_error): Use prev_real_max_error and
8659 prev_imag_max_error instead of calling find_complex_function_ulps.
8660 (check_float_internal): Take max_ulp parameter instead of calling
8661 find_test_ulps. Don't call print_ulps.
8662 (check_float): Update call to check_float_internal.
8663 (check_complex): Update calls to check_float_internal.
8664 (START): Pass argument to init_max_error.
8665 * math/gen-libm-test.pl (%results): Don't include "kind"
8667 (parse_ulps): Don't handle ulps of individual tests.
8668 (print_ulps_file): Likewise.
8669 (output_ulps): Likewise.
8670 * math/README.libm-test: Update.
8671 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
8673 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
8674 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
8675 * sysdeps/arm/libm-test-ulps: Likewise.
8676 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
8677 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
8678 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
8679 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
8680 * sysdeps/microblaze/libm-test-ulps: Likewise.
8681 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
8682 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
8683 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8684 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
8685 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
8686 * sysdeps/sh/libm-test-ulps: Likewise.
8687 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
8688 * sysdeps/tile/libm-test-ulps: Likewise.
8689 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8691 2014-03-04 Joseph Myers <joseph@codesourcery.com>
8693 * math/libm-test.inc (print_complex_max_error): Check separately
8694 whether real and imaginary errors are within allowed range and
8695 pass 0 to print_complex_function_ulps instead of value within
8698 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
8700 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
8702 (get_handles_fopen): Likewise.
8703 (do_write_test): Likewise.
8705 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
8707 * libio/fileops.c (do_ftell): Use cached offset when
8709 * libio/iofwide.c (do_ftell_wide): Likewise.
8710 * libio/iofdopen.c (_IO_new_fdopen): Don't use
8712 * libio/wfileops.c (_IO_fwide): Don't cache offset.
8715 * libio/libioP.h (get_file_offset): New function.
8716 * libio/fileops.c (get_file_offset): Likewise.
8717 (do_ftell): Likewise.
8718 (_IO_new_file_seekoff): Split out ftell logic.
8719 * libio/wfileops.c (do_ftell_wide): Likewise.
8720 (_IO_wfile_seekoff): Split out ftell logic.
8721 * libio/tst-ftell-active-handler.c: New test case.
8722 * libio/Makefile (tests): Add it.
8724 2014-03-03 Roland McGrath <roland@hack.frob.com>
8726 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
8727 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
8729 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
8732 * nscd/connections.c (nscd_init): Call do_exit.
8733 (start_threads): Call do_exit and notify_parent.
8734 (begin_drop_privileges): Call do_exit.
8735 (finish_drop_privileges): Likewise.
8736 * nscd/selinux.c (preserve_capabilities): Likewise.
8737 (install_real_capabilities): Likewise.
8738 (nscd_selinux_enabled): Likewise.
8739 (avc_create_thread): Likewise.
8740 (avc_alloc_lock): Likewise.
8741 (nscd_avc_init): Likewise.
8742 * nscd/nscd.c (parent_fd): New static variable.
8743 (main): Create a pipe between parent and child processes.
8744 Skip closing parent_fd.
8745 (monitor_child): New function.
8746 (do_exit): Likewise.
8747 (notify_parent): Likewise.
8748 * nscd/nscd.h (notify_parent): Likewise.
8749 (do_exit): Likewise.
8751 2014-03-03 Carlos O'Donell <carlos@redhat.com>
8753 * malloc/malloc.c (__libc_calloc): Revert last change.
8755 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8757 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8759 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8761 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
8762 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
8764 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8765 (__libc_ifunc_impl_list): Likewise.
8766 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
8767 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
8768 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
8769 * string/strrchr.c: Define STRRCHR.
8771 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
8773 * benchtest/bench-strtok.c (simple_strtok): Delete.
8774 (strtok_string): Use as benchmark.
8775 * string/strtok (STRTOK): New macro.
8777 2014-02-28 Carlos O'Donell <carlos@redhat.com>
8779 * manual/threads.texi: Add header and standard comments to all
8782 * elf/dl-lookup.c (check_match): New function.
8783 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
8784 (do_lookup_x): Remove nested function check_match. Use non-nested
8785 function check_match.
8787 2014-02-28 Roland McGrath <roland@hack.frob.com>
8789 * csu/Makefile (generated, before-compile): Use += rather than =.
8790 * catgets/Makefile (generated, generated-dirs): Likewise.
8791 * debug/Makefile (generated): Likewise.
8792 * dlfcn/Makefile (generated): Likewise.
8793 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
8794 * iconvdata/Makefile (before-compile, generated): Likewise.
8795 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
8796 * libio/Makefile (generated): Likewise.
8797 * malloc/Makefile (generated): Likewise.
8798 * manual/Makefile (generated, generated-dirs): Likewise.
8799 * misc/Makefile (generated): Likewise.
8800 * posix/Makefile (generated): Likewise.
8801 * resolv/Makefile (generated): Likewise.
8802 * sunrpc/Makefile (generated, generated-dirs): Likewise.
8803 * timezone/Makefile (generated, generated-dirs): Likewise.
8805 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
8807 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8809 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
8810 power8 implementation.
8811 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
8812 file: POWER8 llround ifunc implementation.
8813 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
8814 (__lllround): Add POWER8 implementation.
8815 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
8816 POWER8 llround implementation.
8818 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
8819 power8 implementation.
8820 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
8821 file: POWER8 llrint ifunc implementation.
8822 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
8823 Add POWER8 implementation.
8824 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
8825 POWER8 llrint implementation.
8827 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
8828 power8 implementation.
8829 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
8830 file: POWER8 finite ifunc implementation.
8831 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
8832 Add POWER8 implementation.
8833 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
8835 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
8836 POWER8 finite implementation.
8837 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
8839 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
8840 power8 implementation.
8841 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
8842 file: POWER8 isinf ifunc implementation.
8843 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
8844 POWER8 implementation.
8845 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
8847 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
8848 isinf implementation.
8849 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
8851 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
8852 (INIT_ARCH): Add hwcap2 initialization.
8853 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
8854 power8 implementation.
8855 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
8856 file: POWER8 isnan ifunc implementation.
8857 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
8858 POWER8 implementation.
8859 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
8861 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
8862 isnan implementation.
8863 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
8865 2014-02-27 Joey Ye <joey.ye@arm.com>
8867 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
8868 (_FP_NANFRAC_Q): Set to zero.
8870 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
8873 * math/auto-libm-test-in: New test inputs.
8874 * math/auto-libm-test-out: Regenerate.
8875 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
8878 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
8880 2014-02-27 Joseph Myers <joseph@codesourcery.com>
8882 * scripts/evaluate-test.sh: Take new argument indicating whether
8883 failure is expected.
8884 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
8885 indicating whether failure is expected.
8886 * conform/Makefile (test-xfail-run-conformtest): New variable.
8887 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
8889 * posix/Makefile (test-xfail-annexc): New variable.
8890 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
8892 2014-02-26 Joseph Myers <joseph@codesourcery.com>
8894 * argp/Makefile: Include Makeconfig immediately after defining
8896 * assert/Makefile: Likewise.
8897 * benchtests/Makefile: Likewise.
8898 * catgets/Makefile: Likewise.
8899 * conform/Makefile: Likewise.
8900 * crypt/Makefile: Likewise.
8901 * csu/Makefile: Likewise.
8902 (all): Remove target.
8903 * ctype/Makefile: Include Makeconfig immediately after defining
8905 * debug/Makefile: Likewise.
8906 * dirent/Makefile: Likewise.
8907 * dlfcn/Makefile: Likewise.
8908 * gmon/Makefile: Likewise.
8909 * gnulib/Makefile: Likewise.
8910 * grp/Makefile: Likewise.
8911 * gshadow/Makefile: Likewise.
8912 * hesiod/Makefile: Likewise.
8913 * hurd/Makefile: Likewise.
8914 (all): Remove target.
8915 * iconvdata/Makefile: Include Makeconfig immediately after
8917 * inet/Makefile: Likewise.
8918 * intl/Makefile: Likewise.
8919 * io/Makefile: Likewise.
8920 * libio/Makefile: Likewise.
8921 (all): Remove target.
8922 * locale/Makefile: Include Makeconfig immediately after defining
8924 * login/Makefile: Likewise.
8925 * mach/Makefile: Likewise.
8926 (all): Remove target.
8927 * malloc/Makefile: Include Makeconfig immediately after defining
8929 (all): Remove target.
8930 * manual/Makefile: Include Makeconfig immediately after defining
8932 * math/Makefile: Likewise.
8933 * misc/Makefile: Likewise.
8934 * nis/Makefile: Likewise.
8935 * nss/Makefile: Likewise.
8936 * po/Makefile: Likewise.
8937 (all): Remove target.
8938 * posix/Makefile: Include Makeconfig immediately after defining
8940 * pwd/Makefile: Likewise.
8941 * resolv/Makefile: Likewise.
8942 * resource/Makefile: Likewise.
8943 * rt/Makefile: Likewise.
8944 * setjmp/Makefile: Likewise.
8945 * shadow/Makefile: Likewise.
8946 * signal/Makefile: Likewise.
8947 * socket/Makefile: Likewise.
8948 * soft-fp/Makefile: Likewise.
8949 * stdio-common/Makefile: Likewise.
8950 * stdlib/Makefile: Likewise.
8951 * streams/Makefile: Likewise.
8952 * string/Makefile: Likewise.
8953 * sunrpc/Makefile: Likewise.
8954 (all): Remove target.
8955 * sysvipc/Makefile: Include Makeconfig immediately after defining
8957 * termios/Makefile: Likewise.
8958 * time/Makefile: Likewise.
8959 * timezone/Makefile: Likewise.
8960 (all): Remove target.
8961 * wcsmbs/Makefile: Include Makeconfig immediately after defining
8963 * wctype/Makefile: Likewise.
8965 2014-02-26 Steve Ellcey <sellcey@mips.com>
8967 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
8968 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
8969 (libc_feholdexcept_setround_mips): Ditto.
8970 (libc_feholdsetround): New.
8971 (libc_feholdsetroundf): New.
8972 (libc_feholdsetroundl): New.
8973 (libc_feupdateenv_test_mips): New.
8974 (libc_feupdateenv_test): New.
8975 (libc_feupdateenv_testf): New.
8976 (libc_feupdateenv_testl): New.
8977 (libc_feresetround): New.
8978 (libc_feresetroundf): New.
8979 (libc_feresetroundl): New.
8980 (libc_fetestexcept_mips): New.
8981 (libc_fetestexcept): New.
8982 (libc_fetestexceptf): New.
8983 (libc_fetestexceptl): New.
8985 (libc_feholdexcept_setround_mips_ctx): New.
8986 (libc_feholdexcept_setround_ctx): New.
8987 (libc_feholdexcept_setroundf_ctx): New.
8988 (libc_feholdexcept_setroundl_ctx): New.
8989 (libc_fesetenv_mips_ctx): New.
8990 (libc_fesetenv_ctx): New.
8991 (libc_fesetenv_ctxf): New.
8992 (libc_fesetenv_ctxl): New.
8993 (libc_feupdateenv_mips_ctx): New.
8994 (libc_feupdateenv_ctx): New.
8995 (libc_feupdateenvf_ctx): New.
8996 (libc_feupdateenvl_ctx): New.
8997 (libc_feholdsetround_mips_ctx): New.
8998 (libc_feholdsetround_ctx): New.
8999 (libc_feholdsetroundf_ctx): New.
9000 (libc_feholdsetroundl_ctx): New.
9001 (libc_feresetround_mips_ctx): New.
9002 (libc_feresetround_ctx): New.
9003 (libc_feresetroundf_ctx): New.
9004 (libc_feresetroundl_ctx): New.
9006 2014-02-26 Carlos O'Donell <carlos@redhat.com>
9008 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
9010 * manual/ipc.texi: New file.
9011 * manual/Makefile (chapters): Add ipc.
9012 * manual/job.texi: Add "Inter-Process Communication" to next.
9013 * manual/process.texi: Add "Inter-Process Communication" to prev.
9015 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9017 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9019 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
9021 * malloc/malloc.c (__libc_calloc): Simplify implementation.
9023 * manual/arith.texi: Fix spaces after sentences.
9024 * manual/charset.texi: Likewise.
9025 * manual/errno.texi: Likewise.
9026 * manual/install.texi: Likewise.
9027 * manual/llio.texi: Likewise.
9028 * manual/locale.texi: Likewise.
9029 * manual/maint.texi: Likewise.
9030 * manual/math.texi: Likewise.
9031 * manual/memory.texi: Likewise.
9032 * manual/message.texi: Likewise.
9033 * manual/probes.texi: Likewise.
9034 * manual/resource.texi: Likewise.
9035 * manual/signal.texi: Likewise.
9036 * manual/socket.texi: Likewise.
9037 * manual/stdio.texi: Likewise.
9038 * manual/string.texi: Likewise.
9039 * manual/time.texi: Likewise.
9040 * manual/users.texi: Likewise.
9042 2014-02-25 Carlos O'Donell <carlos@redhat.com>
9045 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
9046 _DEFAULT_SOURCE is defined.
9048 2014-02-25 Ulrich Drepper <drepper@gmail.com>
9049 Carlos O'Donell <carlos@redhat.com>
9052 * elf/dl-tls.c (_dl_count_modids): New function.
9053 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
9054 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
9055 audit library and increment generation counter.
9056 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
9057 * elf/tst-audit9.c: New file.
9058 * elf/tst-auditmod9a.c: New file.
9059 * elf/tst-auditmod9b.c: New file.
9060 * elf/Makefile: Add rules to build and run tst-audit9.
9062 2014-02-25 Florian Weimer <fweimer@redhat.com>
9065 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
9067 2014-02-25 Will Newton <will.newton@linaro.org>
9069 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
9070 (__longjmp): Restore sp and lr before restoring callee
9071 saved registers. Add longjmp and longjmp_target
9072 SystemTap probe point.
9073 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
9074 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
9075 Define to zero to match jmpbuf layout.
9076 * sysdeps/arm/setjmp.S: Include stap-probe.h.
9077 (__sigsetjmp): Save sp and lr before saving callee
9078 saved registers. Add setjmp SystemTap probe point.
9080 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
9082 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
9084 2014-02-24 Andreas Schwab <schwab@suse.de>
9087 * elf/pldd.c (wait_for_ptrace_stop): New function.
9088 (main): Call it after attaching.
9090 2014-02-22 Roland McGrath <roland@hack.frob.com>
9092 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
9093 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
9094 Versions files is now verboten.
9095 * hurd/Versions (libc: GLIBC_2.0):
9096 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
9097 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
9098 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
9099 * mach/Versions: Likewise.
9101 * csu/Versions: Remove unused %include.
9102 * resolv/Versions: Likewise.
9104 2014-02-21 Joseph Myers <joseph@codesourcery.com>
9106 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
9107 ($(objpfx)check-local-headers.out): Likewise.
9108 ($(objpfx)begin-end-check.out): Likewise.
9109 * Makerules (check-abi-%.out): Likewise.
9110 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
9111 ($(objpfx)test2.cat): Likewise.
9112 ($(objpfx)de/libc.cat): Likewise.
9113 ($(objpfx)test-gencat.out): Likewise.
9114 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
9115 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
9116 ($(objpfx)noload-mem): Likewise.
9117 ($(objpfx)tst-pathopt.out): Likewise.
9118 ($(objpfx)tst-rtld-load-self.out): Likewise.
9119 ($(objpfx)tst-array1-cmp.out): Likewise.
9120 ($(objpfx)tst-array1-static-cmp.out): Likewise.
9121 ($(objpfx)tst-array2-cmp.out): Likewise.
9122 ($(objpfx)tst-array3-cmp.out): Likewise.
9123 ($(objpfx)tst-array4-cmp.out): Likewise.
9124 ($(objpfx)tst-array5-cmp.out): Likewise.
9125 ($(objpfx)tst-array5-static-cmp.out): Likewise.
9126 ($(objpfx)check-textrel.out): Likewise.
9127 ($(objpfx)check-execstack.out): Likewise.
9128 ($(objpfx)check-localplt.out): Likewise.
9129 ($(objpfx)order2-cmp.out): Likewise.
9130 ($(objpfx)tst-leaks1-mem): Likewise.
9131 ($(objpfx)tst-leaks1-static-mem): Likewise.
9132 ($(objpfx)tst-initorder-cmp.out): Likewise.
9133 ($(objpfx)tst-initorder2-cmp.out): Likewise.
9134 ($(objpfx)tst-unused-dep.out): Likewise.
9135 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
9136 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
9137 * iconv/Makefile (test-iconvconfig): Likewise.
9138 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
9139 ($(objpfx)iconv-test.out): Likewise.
9140 ($(objpfx)tst-tables.out): Likewise.
9141 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
9142 ($(objpfx)tst-gettext.out): Likewise.
9143 ($(objpfx)tst-translit.out): Likewise.
9144 ($(objpfx)tst-gettext2.out): Likewise.
9145 ($(objpfx)tst-gettext4.out): Likewise.
9146 ($(objpfx)tst-gettext6.out): Likewise.
9147 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
9148 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
9149 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
9150 ($(objpfx)tst-fopenloc-mem.out): Likewise.
9151 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
9152 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
9153 * posix/Makefile ($(objpfx)globtest.out): Likewise.
9154 ($(objpfx)wordexp-tst.out): Likewise.
9155 ($(objpfx)annexc.out): Likewise.
9156 ($(objpfx)tst-fnmatch-mem): Likewise.
9157 ($(objpfx)bug-regex2-mem): Likewise.
9158 ($(objpfx)bug-regex14-mem): Likewise.
9159 ($(objpfx)bug-regex21-mem): Likewise.
9160 ($(objpfx)bug-regex31-mem): Likewise.
9161 ($(objpfx)tst-vfork3-mem): Likewise.
9162 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
9163 ($(objpfx)tst-pcre-mem): Likewise.
9164 ($(objpfx)tst-boost-mem): Likewise.
9165 ($(objpfx)tst-getconf.out): Likewise.
9166 ($(objpfx)bug-ga2-mem): Likewise.
9167 ($(objpfx)bug-glob2-mem): Likewise.
9168 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
9169 ($(objpfx)mtrace-tst-leaks2): Likewise.
9170 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
9171 ($(objpfx)tst-printf.out): Likewise.
9172 ($(objpfx)tst-setvbuf1.out): Likewise.
9173 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
9174 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
9175 ($(objpfx)tst-fmtmsg.out): Likewise.
9176 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
9177 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
9179 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
9180 * bits/sigaction.h [__USE_MISC]: Likewise.
9181 * bits/waitstatus.h: Update #endif comments.
9182 * ctype/ctype.h: Likewise.
9183 * dirent/dirent.h: Likewise.
9184 [__USE_MISC]: Remove redundant conditionals.
9185 * grp/grp.h: Update #endif comments.
9186 [__USE_GNU]: Remove redundant conditionals.
9187 [__USE_MISC]: Likewise.
9188 * inet/netinet/in.h [__USE_GNU]: Likewise.
9189 * io/sys/stat.h [__USE_MISC]: Likewise.
9190 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
9191 * libio/bits/stdio.h: Update #endif comments.
9192 [__USE_MISC]: Remove redundant conditionals.
9193 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
9194 * libio/stdio.h: Update #endif comments.
9195 [__USE_MISC]: Remove redundant conditionals.
9196 * math/bits/math-finite.h [__USE_MISC]: Likewise.
9197 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
9198 * math/math.h: Update #else and #endif comments.
9199 [__USE_MISC]: Remove redundant conditionals.
9200 * misc/sys/uio.h: Update #endif comments.
9201 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
9202 * posix/glob.h [__USE_MISC]: Likewise.
9203 * posix/sys/types.h: Update #endif comments.
9204 [__USE_MISC]: Remove redundant conditionals.
9205 * posix/sys/wait.h: Update #endif comments.
9206 [__USE_MISC]: Remove redundant conditionals.
9207 * posix/unistd.h: Update #endif comments.
9208 [__USE_MISC]: Remove redundant conditionals.
9209 * pwd/pwd.h [__USE_GNU]: Likewise.
9210 [__USE_MISC]: Likewise.
9211 * resolv/netdb.h [__USE_GNU]: Likewise.
9212 * signal/signal.h: Update #endif comments.
9213 [__USE_MISC]: Remove redundant conditionals.
9214 * stdlib/stdlib.h: Update #else and #endif comments.
9215 [__USE_MISC]: Remove redundant conditionals.
9216 [__USE_GNU]: Likewise.
9217 * string/bits/string2.h [__USE_MISC]: Likewise.
9218 * string/string.h: Update #endif comments.
9219 [__USE_MISC]: Remove redundant conditionals.
9220 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
9222 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
9223 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
9224 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
9226 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
9228 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
9230 [__USE_MISC]: Remove redundant conditionals.
9231 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
9232 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
9233 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
9234 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
9235 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
9237 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
9238 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
9240 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
9241 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
9243 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
9245 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
9246 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
9248 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
9250 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
9251 * sysdeps/x86/bits/string.h: Update #endif comments.
9252 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
9254 * time/sys/time.h: Update #endif comments.
9255 * time/time.h: Likewise.
9256 [__USE_MISC]: Remove redundant conditionals.
9258 2014-02-21 Yury Gribov <y.gribov@samsung.com>
9261 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
9263 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
9265 * Versions.def (librt): Add GLIBC_2.17.
9267 2014-02-21 Adam Conrad <adconrad@0c3.net>
9269 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
9270 synonym for _SYS_AUXV_H to allow direct inclusion.
9271 * sysdeps/sparc/bits/hwcap.h: Likewise.
9272 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
9273 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
9274 * sysdeps/sparc/sysdep.h: Likewise.
9276 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
9278 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
9280 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9282 * benchtests/bench-strrchr.c: Print length instead of position.
9284 2014-02-20 Joseph Myers <joseph@codesourcery.com>
9287 * sysdeps/unix/sysv/linux/kernel-features.h
9288 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
9289 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
9290 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
9291 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
9293 [__i386__ || __powerpc__ || __sh__ || __sparc__]
9294 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
9295 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
9296 (__ASSUME_SENDMMSG): Define instead of using previous
9297 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
9298 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
9299 (__ASSUME_SENDMMSG_SYSCALL): Define.
9300 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9301 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
9303 * sysdeps/unix/sysv/linux/arm/kernel-features.h
9304 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
9306 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
9307 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
9309 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
9310 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
9311 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
9312 [__ASSUME_SENDMMSG]: Change conditionals to
9313 [__ASSUME_SENDMMSG_SOCKETCALL].
9314 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9315 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
9317 * sysdeps/unix/sysv/linux/mips/kernel-features.h
9318 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
9320 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
9321 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
9322 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
9323 [!__ASSUME_SENDMMSG]: Change conditional to
9324 [!__ASSUME_SENDMMSG_SOCKETCALL].
9325 * sysdeps/unix/sysv/linux/tile/kernel-features.h
9326 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
9330 * sysdeps/unix/sysv/linux/kernel-features.h
9331 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
9332 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
9333 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
9334 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
9335 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
9336 [__i386__ || __sparc__]
9337 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
9338 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
9339 (__ASSUME_RECVMMSG): Define instead of using previous
9340 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
9341 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
9342 (__ASSUME_RECVMMSG_SYSCALL): Define.
9343 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9344 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9346 * sysdeps/unix/sysv/linux/arm/kernel-features.h
9347 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9349 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
9350 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9352 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
9353 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
9354 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
9355 [__ASSUME_RECVMMSG]: Change condition to
9356 [__ASSUME_RECVMMSG_SOCKETCALL].
9357 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9358 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9360 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
9361 * sysdeps/unix/sysv/linux/mips/kernel-features.h
9362 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9364 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
9365 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
9366 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
9367 [!__ASSUME_RECVMMSG]: Change condition to
9368 [!__ASSUME_RECVMMSG_SOCKETCALL].
9369 * sysdeps/unix/sysv/linux/tile/kernel-features.h
9370 (__ASSUME_RECVMMSG_SYSCALL): Define.
9373 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
9374 __powerpc__ || __s390__ || __sh__ || __sparc__]
9375 (__ASSUME_SOCKETCALL): Define.
9376 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
9377 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
9378 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
9379 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
9380 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
9381 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
9382 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
9383 (__ASSUME_ACCEPT4): Define instead of using previous
9384 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
9385 __powerpc__ || __sparc__ || __s390__)] condition.
9386 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
9387 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
9388 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
9389 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
9390 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
9391 [!__ASSUME_ACCEPT4]: Change condition to
9392 [!__ASSUME_ACCEPT4_SOCKETCALL].
9393 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9394 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
9395 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
9396 * sysdeps/unix/sysv/linux/arm/kernel-features.h
9397 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
9398 __ASSUME_ACCEPT4_SYSCALL.
9399 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
9400 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
9401 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
9402 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
9403 __ASSUME_ACCEPT4_SYSCALL.
9404 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
9405 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
9406 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
9407 [__ASSUME_ACCEPT4]: Change condition to
9408 [__ASSUME_ACCEPT4_SOCKETCALL].
9409 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
9410 (__ASSUME_SOCKETCALL): Define.
9411 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
9412 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9413 (__ASSUME_SOCKETCALL): Define.
9414 (__ASSUME_ACCEPT4): Remove.
9415 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
9417 * sysdeps/unix/sysv/linux/mips/kernel-features.h
9418 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
9420 * sysdeps/unix/sysv/linux/tile/kernel-features.h
9421 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
9423 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
9425 (HWCAP_ARM_LPAE): Likewise.
9426 (HWCAP_ARM_EVTSTRM): Likewise.
9427 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
9428 Add vpfd32, lpae and evtstrm.
9429 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
9432 2014-02-19 Joseph Myers <joseph@codesourcery.com>
9434 * math/auto-libm-test-in: Add tests of clog10.
9435 * math/auto-libm-test-out: Regenerated.
9436 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
9437 * sysdeps/i386/fpu/libm-test-ulps: Update.
9438 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9440 2014-02-18 Andreas Schwab <schwab@suse.de>
9443 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
9444 Store non-zero if the second buffer was newly allocated.
9445 (send_dg): Likewise.
9446 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
9447 to send_vc and send_dg.
9448 (res_nsend): Pass NULL for ansp2_malloced.
9449 * resolv/res_query.c (__libc_res_nquery): Add parameter
9450 answerp2_malloced and pass it down to __libc_res_nsend.
9451 (res_nquery): Pass additional NULL to __libc_res_nquery.
9452 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
9453 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
9454 second answer buffer if answerp2_malloced was set.
9455 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
9456 (__libc_res_nquerydomain): Add parameter
9457 answerp2_malloced and pass it down to __libc_res_nquery.
9458 (res_nquerydomain): Pass additional NULL to
9459 __libc_res_nquerydomain.
9460 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
9461 additional NULL to __libc_res_nsend and __libc_res_nquery.
9462 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
9463 additional NULL to __libc_res_nsearch.
9464 (_nss_dns_gethostbyname4_r): Revert last change. Use new
9465 parameter of __libc_res_nsearch to check for separately allocated
9467 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
9469 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
9470 additional NULL to __libc_res_nquery.
9471 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
9473 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
9474 * include/resolv.h: Update prototypes of __libc_res_nquery,
9475 __libc_res_nsearch, __libc_res_nsend.
9477 2014-02-18 Joseph Myers <joseph@codesourcery.com>
9479 * math/auto-libm-test-in: Add tests of fma.
9480 * math/auto-libm-test-out: Regenerated.
9481 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
9482 (fma_towardzero_test_data): Likewise.
9483 (fma_downward_test_data): Likewise.
9484 (fma_upward_test_data): Likewise.
9485 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
9487 (rounding_modes): Add values for new field.
9488 (func_calc_method): Add value mpfr_fff_f.
9489 (func_calc_desc): Add mpfr_fff_f union field.
9490 (test_function): Add field exact_args.
9491 (FUNC): Add macro argument EXACT_ARGS.
9492 (FUNC_mpfr_f_f): Update call to FUNC.
9493 (FUNC_mpfr_f_f): Likewise.
9494 (FUNC_mpfr_ff_f): Likewise.
9495 (FUNC_mpfr_if_f): Likewise.
9496 (FUNC_mpc_c_f): Likewise.
9497 (FUNC_mpc_c_c): Likewise.
9498 (test_functions): Add fma. Update calls to FUNC.
9499 (handle_input_arg): Add argument exact_args.
9500 (add_test): Update call to handle_input_arg.
9501 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
9502 (output_for_one_input_case): Update call to calc_generic_results.
9503 Recalculate exact zero results in each rounding mode.
9505 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
9506 non-negative before setting low bit.
9507 * math/auto-libm-test-in: Mark one asin test possibly having
9509 * math/auto-libm-test-out: Regenerated.
9510 * sysdeps/i386/fpu/libm-test-ulps: Update.
9511 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9513 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
9515 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
9516 * sysdeps/unix/sysv/linux/microblaze: Move directory from
9517 ports/sysdeps/unix/sysv/linux/microblaze.
9518 * README: Add missing listing for microblaze*-*-linux-gnu.
9520 2014-02-16 Mike Frysinger <vapier@gentoo.org>
9522 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
9523 * sysdeps/unix/sysv/linux/ia64: Move directory from
9524 ports/sysdeps/unix/sysv/linux/ia64.
9525 * README: Update listing for ia64-*-linux-gnu.
9527 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
9528 Joseph Myers <joseph@codesourcery.com>
9530 * Makeconfig (test-name): New variable.
9531 (evaluate-test): Likewise.
9532 * Makerules (do-test-clean): Remove .test-result files.
9533 (common-mostlyclean): Likewise.
9534 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
9535 * scripts/evaluate-test.sh: New file.
9537 2014-02-14 Joseph Myers <joseph@codesourcery.com>
9539 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
9540 separate $(objpfx)tst-fopenloc-cmp.out and
9541 $(objpfx)tst-fopenloc-mem.out targets.
9542 (tests): Update dependencies.
9543 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
9544 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
9545 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
9546 (tst-rxspencer-no-utf8-ARGS): New variable.
9547 (tst-rxspencer-no-utf8-ENV): Likewise.
9548 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
9549 instead of $(objpfx)tst-rxspencer-mem.
9550 ($(objpfx)tst-rxspencer-mem): Change target to
9551 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
9552 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
9553 * posix/tst-rxspencer-no-utf8.c: New file.
9555 * elf/Makefile ($(objpfx)order.out): Remove rule.
9556 [$(run-built-tests) = yes] (tests): Depend on
9557 $(objpfx)order-cmp.out.
9558 ($(objpfx)order-cmp.out): New rule.
9559 [$(run-built-tests) = yes] (tests): Depend on
9560 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
9561 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
9562 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
9563 $(objpfx)tst-array5-static-cmp.out.
9564 ($(objpfx)tst-array1.out): Remove rule.
9565 ($(objpfx)tst-array1-cmp.out): New rule.
9566 ($(objpfx)tst-array1-static.out): Remove rule.
9567 ($(objpfx)tst-array1-static-cmp.out): New rule.
9568 ($(objpfx)tst-array2.out): Remove rule.
9569 ($(objpfx)tst-array2-cmp.out): New rule.
9570 ($(objpfx)tst-array3.out): Remove rule.
9571 ($(objpfx)tst-array3-cmp.out): New rule.
9572 ($(objpfx)tst-array4.out): Remove rule.
9573 ($(objpfx)tst-array4-cmp.out): New rule.
9574 ($(objpfx)tst-array5.out): Remove rule.
9575 ($(objpfx)tst-array5-cmp.out): New rule.
9576 ($(objpfx)tst-array5-static.out): Remove rule.
9577 ($(objpfx)tst-array5-static-cmp.out): New rule.
9578 [$(run-built-tests) = yes] (tests): Depend on
9579 $(objpfx)order2-cmp.out.
9580 ($(objpfx)order2.out): Remove rule.
9581 ($(objpfx)order2-cmp.out): New rule.
9582 ($(objpfx)tst-initorder.out): Remove rule.
9583 [$(run-built-tests) = yes] (tests): Depend on
9584 $(objpfx)tst-initorder-cmp.out.
9585 ($(objpfx)tst-initorder-cmp.out): New rule.
9586 ($(objpfx)tst-initorder2.out): Remove rule.
9587 [$(run-built-tests) = yes] (tests): Depend on
9588 $(objpfx)tst-initorder2-cmp.out.
9589 ($(objpfx)tst-initorder2-cmp.out): New rule.
9590 [$(run-built-tests) = yes] (tests): Depend on
9591 $(objpfx)tst-unused-dep-cmp.out.
9592 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
9593 ($(objpfx)tst-unused-dep-cmp.out): New rule.
9594 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
9595 on $(objpfx)tst-setvbuf1-cmp.out.
9596 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
9597 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
9598 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
9599 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
9600 ($(objpfx)tst-svc.out): Remove rule.
9601 ($(objpfx)tst-svc-cmp.out): New rule.
9603 2014-02-13 Joseph Myers <joseph@codesourcery.com>
9605 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
9606 * ctype/ctype.h [__USE_MISC]: Likewise.
9607 * dirent/dirent.h [__USE_MISC]: Likewise.
9608 * grp/grp.h [__USE_MISC]: Likewise.
9609 * io/fcntl.h [__USE_MISC]: Likewise.
9610 * io/sys/stat.h [__USE_MISC]: Likewise.
9611 * libio/stdio.h [__USE_MISC]: Likewise.
9612 * posix/unistd.h [__USE_MISC]: Likewise.
9613 * pwd/pwd.h [__USE_MISC]: Likewise.
9614 * stdlib.h [__USE_MISC]: Likewise.
9615 * string/bits/string2.h [__USE_MISC]: Likewise.
9616 * string/string.h [__USE_MISC]: Likewise.
9617 * time/time.h [__USE_MISC]: Likewise.
9619 2014-02-13 Andreas Schwab <schwab@suse.de>
9622 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
9623 second answer buffer if it was separately allocated.
9625 2014-02-12 Joseph Myers <joseph@codesourcery.com>
9627 * sysdeps/mips/math-tests.h: Include <features.h>.
9628 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
9629 (ROUNDING_TESTS_long_double): Do not define.
9630 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
9631 (EXCEPTION_TESTS_long_double): Likewise.
9632 * sysdeps/mips/mips64/libm-test-ulps: Update.
9634 * include/features.h (__USE_BSD): Remove macro definitions.
9635 (__USE_SVID): Likewise.
9636 (_BSD_SOURCE): Likewise.
9637 (_SVID_SOURCE): Likewise.
9638 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
9639 from definition of _DEFAULT_SOURCE.
9640 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
9642 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
9643 * bits/mman.h [__USE_BSD]: Likewise.
9644 * bits/termios.h [__USE_BSD]: Likewise.
9645 * bits/waitstatus.h [__USE_BSD]: Likewise.
9646 * ctype/ctype.h [__USE_SVID]: Likewise.
9647 * dirent/dirent.h [__USE_BSD]: Likewise.
9648 * grp/grp.h [__USE_SVID]: Likewise.
9649 [__USE_BSD]: Likewise.
9650 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
9651 * io/fcntl.h [__USE_BSD]: Likewise.
9652 * io/ftw.h [__USE_BSD]: Likewise.
9653 * io/sys/stat.h [__USE_BSD]: Likewise.
9654 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
9655 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
9656 * libio/stdio.h [__USE_SVID]: Likewise.
9657 [__USE_BSD]: Likewise.
9658 * math/math.h [__USE_SVID]: Likewise.
9659 [__USE_BSD]: Likewise.
9660 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
9661 * misc/bits/syslog.h [__USE_BSD]: Likewise.
9662 * misc/search.h [__USE_SVID]: Likewise.
9663 * misc/sys/mman.h [__USE_BSD]: Likewise.
9664 * misc/sys/syslog.h [__USE_BSD]: Likewise.
9665 * misc/sys/uio.h [__USE_BSD]: Likewise.
9666 * posix/bits/unistd.h [__USE_BSD]: Likewise.
9667 * posix/glob.h [__USE_BSD]: Likewise.
9668 * posix/regex.h [__USE_BSD]: Likewise.
9669 * posix/sys/types.h [__USE_BSD]: Likewise.
9670 [__USE_SVID]: Likewise.
9671 * posix/sys/utsname.h [__USE_SVID]: Likewise.
9672 * posix/sys/wait.h [__USE_BSD]: Likewise.
9673 [__USE_SVID]: Likewise.
9674 * posix/unistd.h [__USE_BSD]: Likewise.
9675 [__USE_SVID]: Likewise.
9676 * pwd/pwd.h [__USE_SVID]: Likewise.
9677 * resolv/netdb.h [__USE_BSD]: Likewise.
9678 * setjmp/setjmp.h [__USE_BSD]: Likewise.
9679 * signal/signal.h [__USE_BSD]: Likewise.
9680 [__USE_SVID]: Likewise.
9681 * socket/sys/socket.h [__USE_BSD]: Likewise.
9682 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
9683 * stdlib/stdlib.h [__USE_BSD]: Likewise.
9684 [__USE_SVID]: Likewise.
9685 * string/bits/string2.h [__USE_BSD]: Likewise.
9686 [__USE_SVID]: Likewise.
9687 * string/bits/string3.h [__USE_BSD]: Likewise.
9688 * string/endian.h [__USE_BSD]: Likewise.
9689 * string/string.h [__USE_SVID]: Likewise.
9690 [__USE_BSD]: Likewise.
9691 * string/strings.h [__USE_BSD]: Likewise.
9692 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
9693 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
9694 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
9695 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
9696 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
9697 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
9699 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
9701 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
9702 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
9704 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
9705 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
9707 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
9709 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
9710 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
9711 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
9713 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
9715 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
9716 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
9717 * termios/termios.h [__USE_BSD]: Likewise.
9718 * time/sys/time.h [__USE_BSD]: Likewise.
9719 * time/time.h [__USE_BSD]: Likewise.
9720 [__USE_SVID]: Likewise.
9722 * Makefile (subdir_targets): Remove subdir_lint.out.
9724 * stdio-common/Makefile (do-tst-unbputc): Remove target.
9725 (do-tst-printf): Likewise.
9726 (tests): Depend directly on $(objpfx)tst-unbputc.out and
9727 $(objpfx)tst-printf.out.
9729 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
9731 * Makerules (check-abi-%): Change target to
9732 $(objpfx)check-abi-%.out.
9733 (check-abi target): Update dependencies.
9734 (check-abi-pattern variable): Redirect output of diff to $@.
9735 (check-abi variable): Likewise.
9736 * elf/Makefile (check-abi): Update dependencies.
9738 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
9740 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
9741 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
9743 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
9744 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
9745 value has largest subnormal exponent.
9746 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
9747 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
9748 * sysdeps/aarch64/soft-fp/sfp-machine.h
9749 (_FP_TININESS_AFTER_ROUNDING): New macro.
9750 * sysdeps/alpha/soft-fp/sfp-machine.h
9751 (_FP_TININESS_AFTER_ROUNDING): Likewise.
9752 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
9754 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
9755 (_FP_TININESS_AFTER_ROUNDING): Likewise.
9756 * sysdeps/mips/soft-fp/sfp-machine.h
9757 (_FP_TININESS_AFTER_ROUNDING): Likewise.
9758 * sysdeps/powerpc/soft-fp/sfp-machine.h
9759 (_FP_TININESS_AFTER_ROUNDING): Likewise.
9760 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
9762 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
9763 (_FP_TININESS_AFTER_ROUNDING): Likewise.
9764 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
9765 (_FP_TININESS_AFTER_ROUNDING): Likewise.
9766 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
9769 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
9772 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
9775 2014-02-12 Richard Henderson <rth@redhat.com>
9777 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
9778 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
9779 * sysdeps/unix/sysv/linux/alpha: Move directory from
9780 ports/sysdeps/unix/sysv/linux/alpha.
9781 * README: Update listing for alpha-*-linux-gnu.
9783 2014-02-11 Joseph Myers <joseph@codesourcery.com>
9785 * include/features.h: Update comment documenting feature test
9787 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
9789 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
9790 (_SVID_SOURCE): Likewise.
9791 (_DEFAULT_SOURCE): Update description of default features.
9792 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
9794 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
9795 (S_ISVTX): Likewise.
9796 * manual/math.texi (Mathematical Constants): Likewise.
9797 * manual/signal.texi (Interrupted Primitives): Likewise.
9798 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
9799 * math/test-matherr.c (_SVID_SOURCE): Do not define.
9800 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
9801 Don't refer to _SVID_SOURCE in warning text.
9803 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9805 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
9807 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
9808 * sysdeps/mips/dl-lookup.c: Remove.
9809 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
9811 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
9814 * math/auto-libm-test-in: Add testcase for expl.
9815 * math/auto-libm-test-out: Regenerate.
9816 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
9817 calculation of unsafe.
9818 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
9820 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
9822 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
9823 * sysdeps/unix/sysv/linux/aarch64: Move directory from
9824 ports/sysdeps/unix/sysv/linux/aarch64.
9825 * README: Update listing for aarch64*-*-linux-gnu.
9827 2014-02-11 Will Newton <will.newton@linaro.org>
9829 * manual/probes.texi (Mathematical Function Probes): Use
9830 "triggered" instead of "hit".
9832 * manual/probes.texi (Internal Probes): Add documentation
9833 of setjmp, longjmp and longjmp_target probes.
9835 * include/stap-probe.h: Add comment about probe argument
9838 * malloc/mtrace.c (attribute_hidden): Remove unused macro
9839 definition. (tr_where, tr_freehook, tr_mallochook,
9840 tr_reallochook, tr_memalignhook): Use ANSI protoype.
9842 2014-02-11 David S. Miller <davem@davemloft.net>
9844 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
9845 processing int_tests.
9847 2014-02-10 Joseph Myers <joseph@codesourcery.com>
9849 * sysdeps/mips: Move directory from ports/sysdeps/mips.
9850 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
9851 * sysdeps/unix/sysv/linux/mips: Move directory from
9852 ports/sysdeps/unix/sysv/linux/mips.
9853 * README: Update listing for mips-*-linux-gnu and
9856 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
9858 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
9859 * sysdeps/unix/sysv/linux/m68k: Move directory from
9860 ports/sysdeps/unix/sysv/linux/m68k.
9861 * README: Update listing for m68k-*-linux-gnu.
9863 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
9865 * sysdeps/tile: Move directory from ports/sysdeps/tile.
9866 * sysdeps/unix/sysv/linux/generic: Move directory from
9867 ports/sysdeps/unix/sysv/linux/generic.
9868 * sysdeps/unix/sysv/linux/tile: Move directory from
9869 ports/sysdeps/unix/sysv/linux/tile.
9870 * README: Update listing for tile*-*-linux-gnu.
9872 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
9874 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
9876 * benchtests/bench-memmem.c (simple_memmem): Likewise.
9877 * catgets/open_catalog.c (__open_catalog): Likewise.
9878 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
9879 * debug/confstr_chk.c: Likewise.
9880 * debug/fread_chk.c (__fread_chk): Likewise.
9881 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
9882 * debug/getgroups_chk.c: Likewise.
9883 * debug/mbsnrtowcs_chk.c: Likewise.
9884 * debug/mbsrtowcs_chk.c: Likewise.
9885 * debug/mbstowcs_chk.c: Likewise.
9886 * debug/memcpy_chk.c: Likewise.
9887 * debug/memmove_chk.c: Likewise.
9888 * debug/mempcpy_chk.c: Likewise.
9889 * debug/memset_chk.c: Likewise.
9890 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
9891 * debug/strcat_chk.c (__strcat_chk): Likewise.
9892 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
9893 * debug/strncat_chk.c (__strncat_chk): Likewise.
9894 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
9895 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
9896 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
9897 * debug/wcpncpy_chk.c: Likewise.
9898 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
9899 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
9900 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
9901 * debug/wcsncpy_chk.c: Likewise.
9902 * debug/wcsnrtombs_chk.c: Likewise.
9903 * debug/wcsrtombs_chk.c: Likewise.
9904 * debug/wcstombs_chk.c: Likewise.
9905 * debug/wmemcpy_chk.c: Likewise.
9906 * debug/wmemmove_chk.c: Likewise.
9907 * debug/wmempcpy_chk.c: Likewise.
9908 * debug/wmemset_chk.c: Likewise.
9909 * dirent/scandirat.c (SCANDIRAT): Likewise.
9910 * dlfcn/dladdr1.c (dladdr1): Likewise.
9911 * dlfcn/dladdr.c (dladdr): Likewise.
9912 * dlfcn/dlclose.c (dlclose_doit): Likewise.
9913 * dlfcn/dlerror.c (__dlerror): Likewise.
9914 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
9915 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
9916 * dlfcn/dlopen.c (dlopen_doit): Likewise.
9917 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
9918 * dlfcn/dlsym.c (dlsym_doit): Likewise.
9919 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
9920 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
9921 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
9923 * elf/dl-conflict.c: Likewise.
9924 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
9925 * elf/dl-dst.h: Likewise.
9926 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
9927 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
9928 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
9929 * elf/dl-init.c (call_init, _dl_init): Likewise.
9930 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
9931 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
9932 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
9934 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
9936 * elf/dl-minimal.c (__libc_memalign): Likewise.
9937 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
9938 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
9939 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
9940 * elf/dl-sym.c (do_sym): Likewise.
9941 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
9942 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
9943 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
9944 * elf/dl-writev.h (_dl_writev): Likewise.
9945 * elf/ldconfig.c (search_dir): Likewise.
9946 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
9947 (dl_main): Likewise.
9948 * elf/setup-vdso.h (setup_vdso): Likewise.
9949 * grp/compat-initgroups.c (compat_call): Likewise.
9950 * grp/fgetgrent.c (fgetgrent): Likewise.
9951 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
9952 * grp/putgrent.c (putgrent): Likewise.
9953 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
9955 * hurd/hurdinit.c: Likewise.
9956 * iconvdata/8bit-gap.c (struct): Likewise.
9957 * iconvdata/ansi_x3.110.c : Likewise.
9958 * iconvdata/big5.c : Likewise.
9959 * iconvdata/big5hkscs.c : Likewise.
9960 * iconvdata/cp1255.c: Likewise.
9961 * iconvdata/cp1258.c : Likewise.
9962 * iconvdata/cp932.c : Likewise.
9963 * iconvdata/euc-cn.c: Likewise.
9964 * iconvdata/euc-jisx0213.c : Likewise.
9965 * iconvdata/euc-jp.c: Likewise.
9966 * iconvdata/euc-jp-ms.c : Likewise.
9967 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
9968 * iconvdata/gb18030.c : Likewise.
9969 * iconvdata/gbbig5.c (const): Likewise.
9970 * iconvdata/gbgbk.c: Likewise.
9971 * iconvdata/gbk.c : Likewise.
9972 * iconvdata/ibm1364.c : Likewise.
9973 * iconvdata/ibm930.c : Likewise.
9974 * iconvdata/ibm932.c: Likewise.
9975 * iconvdata/ibm933.c : Likewise.
9976 * iconvdata/ibm935.c : Likewise.
9977 * iconvdata/ibm937.c : Likewise.
9978 * iconvdata/ibm939.c : Likewise.
9979 * iconvdata/ibm943.c: Likewise.
9980 * iconvdata/iso_11548-1.c: Likewise.
9981 * iconvdata/iso-2022-cn.c : Likewise.
9982 * iconvdata/iso-2022-cn-ext.c : Likewise.
9983 * iconvdata/iso-2022-jp-3.c: Likewise.
9984 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
9985 * iconvdata/iso-2022-kr.c : Likewise.
9986 * iconvdata/iso646.c (gconv_end): Likewise.
9987 * iconvdata/iso_6937-2.c : Likewise.
9988 * iconvdata/iso_6937.c : Likewise.
9989 * iconvdata/iso8859-1.c: Likewise.
9990 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
9991 * iconvdata/shift_jisx0213.c : Likewise.
9992 * iconvdata/sjis.c : Likewise.
9993 * iconvdata/t.61.c : Likewise.
9994 * iconvdata/tcvn5712-1.c : Likewise.
9995 * iconvdata/tscii.c: Likewise.
9996 * iconvdata/uhc.c : Likewise.
9997 * iconvdata/unicode.c (gconv_end): Likewise.
9998 * iconvdata/utf-16.c (gconv_end): Likewise.
9999 * iconvdata/utf-32.c (gconv_end): Likewise.
10000 * iconvdata/utf-7.c (base64): Likewise.
10001 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
10002 * iconv/gconv_close.c (__gconv_close): Likewise.
10003 * iconv/gconv_open.c (__gconv_open): Likewise.
10004 * iconv/gconv_simple.c (internal_ucs4_loop_single)
10005 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
10006 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
10007 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
10008 (ucs4le_internal_loop_single): Likewise.
10009 * iconv/iconv.c (iconv): Likewise.
10010 * iconv/iconv_close.c: Likewise.
10011 * iconv/loop.c (SINGLE): Likewise.
10012 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
10013 * include/atomic.h: Likewise.
10014 * inet/inet6_option.c (option_alloc): Likewise.
10015 * intl/bindtextdom.c (set_binding_values): Likewise.
10016 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
10017 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
10018 * intl/localealias.c (read_alias_file): Likewise.
10019 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
10020 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
10021 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
10022 * libio/fmemopen.c (fmemopen): Likewise.
10023 * libio/iofgets.c (_IO_fgets): Likewise.
10024 * libio/iofgets_u.c (fgets_unlocked): Likewise.
10025 * libio/iofgetws.c (fgetws): Likewise.
10026 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
10027 * libio/iogetdelim.c (_IO_getdelim): Likewise.
10028 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
10029 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
10030 * locale/findlocale.c (_nl_find_locale): Likewise.
10031 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
10032 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
10034 * locale/setlocale.c (setlocale): Likewise.
10035 * login/programs/pt_chown.c (main): Likewise.
10036 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
10037 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
10038 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
10039 (mmap, mmap64, mremap, munmap): Likewise.
10040 * math/e_exp2l.c: Likewise.
10041 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
10042 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
10043 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
10044 * math/s_catan.c (__catan): Likewise.
10045 * math/s_catanf.c (__catanf): Likewise.
10046 * math/s_catanh.c (__catanh): Likewise.
10047 * math/s_catanhf.c (__catanhf): Likewise.
10048 * math/s_catanhl.c (__catanhl): Likewise.
10049 * math/s_catanl.c (__catanl): Likewise.
10050 * math/s_ccosh.c (__ccosh): Likewise.
10051 * math/s_ccoshf.c (__ccoshf): Likewise.
10052 * math/s_ccoshl.c (__ccoshl): Likewise.
10053 * math/s_cexp.c (__cexp): Likewise.
10054 * math/s_cexpf.c (__cexpf): Likewise.
10055 * math/s_cexpl.c (__cexpl): Likewise.
10056 * math/s_clog10.c (__clog10): Likewise.
10057 * math/s_clog10f.c (__clog10f): Likewise.
10058 * math/s_clog10l.c (__clog10l): Likewise.
10059 * math/s_clog.c (__clog): Likewise.
10060 * math/s_clogf.c (__clogf): Likewise.
10061 * math/s_clogl.c (__clogl): Likewise.
10062 * math/s_csin.c (__csin): Likewise.
10063 * math/s_csinf.c (__csinf): Likewise.
10064 * math/s_csinh.c (__csinh): Likewise.
10065 * math/s_csinhf.c (__csinhf): Likewise.
10066 * math/s_csinhl.c (__csinhl): Likewise.
10067 * math/s_csinl.c (__csinl): Likewise.
10068 * math/s_csqrt.c (__csqrt): Likewise.
10069 * math/s_csqrtf.c (__csqrtf): Likewise.
10070 * math/s_csqrtl.c (__csqrtl): Likewise.
10071 * math/s_ctan.c (__ctan): Likewise.
10072 * math/s_ctanf.c (__ctanf): Likewise.
10073 * math/s_ctanh.c (__ctanh): Likewise.
10074 * math/s_ctanhf.c (__ctanhf): Likewise.
10075 * math/s_ctanhl.c (__ctanhl): Likewise.
10076 * math/s_ctanl.c (__ctanl): Likewise.
10077 * math/w_pow.c: Likewise.
10078 * math/w_powf.c: Likewise.
10079 * math/w_powl.c: Likewise.
10080 * math/w_scalb.c (sysv_scalb): Likewise.
10081 * math/w_scalbf.c (sysv_scalbf): Likewise.
10082 * math/w_scalbl.c (sysv_scalbl): Likewise.
10083 * misc/error.c (error_tail): Likewise.
10084 * misc/pselect.c (__pselect): Likewise.
10085 * nis/nis_callback.c (__nis_create_callback): Likewise.
10086 * nis/nis_call.c (__nisfind_server): Likewise.
10087 * nis/nis_creategroup.c (nis_creategroup): Likewise.
10088 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
10089 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
10090 * nis/nis_getservlist.c (nis_getservlist): Likewise.
10091 * nis/nis_lookup.c (nis_lookup): Likewise.
10092 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
10093 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
10094 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
10095 * nis/nis_xdr.c (xdr_endpoint): Likewise.
10096 * nis/nss_compat/compat-grp.c (getgrent_next_file)
10097 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
10098 * nis/nss_compat/compat-initgroups.c (add_group)
10099 (internal_getgrent_r): Likewise.
10100 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
10101 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
10102 * nis/nss_compat/compat-spwd.c (getspent_next_file)
10103 (internal_getspnam_r): Likewise.
10104 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
10105 (_nss_nis_getaliasbyname_r): Likewise.
10106 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
10107 (_nss_nis_getntohost_r): Likewise.
10108 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
10109 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
10110 (_nss_nis_getgrgid_r): Likewise.
10111 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
10112 (internal_nis_gethostent_r, internal_gethostbyname2_r)
10113 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
10114 (_nss_nis_gethostbyname4_r): Likewise.
10115 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
10116 (initgroups_netid): Likewise.
10117 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
10118 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
10119 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
10120 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
10121 (_nss_nis_getprotobynumber_r): Likewise.
10122 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
10123 (_nss_nis_getsecretkey): Likewise.
10124 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
10125 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
10126 (_nss_nis_getpwuid_r): Likewise.
10127 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
10128 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
10129 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
10130 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
10131 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
10132 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
10133 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
10135 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
10136 (_nss_nisplus_getntohost_r): Likewise.
10137 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
10138 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
10139 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
10140 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
10142 * nis/nss_nisplus/nisplus-initgroups.c
10143 (_nss_nisplus_initgroups_dyn): Likewise.
10144 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
10145 (_nss_nisplus_getnetbyaddr_r): Likewise.
10146 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
10147 (_nss_nisplus_getprotobynumber_r): Likewise.
10148 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
10149 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
10150 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
10152 * nis/nss_nisplus/nisplus-service.c
10153 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
10154 (_nss_nisplus_getservbyport_r): Likewise.
10155 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
10156 (_nss_nisplus_getspnam_r): Likewise.
10157 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
10159 * nscd/aicache.c (addhstaiX): Likewise.
10160 * nscd/cache.c (cache_search, prune_cache): Likewise.
10161 * nscd/connections.c (register_traced_file, send_ro_fd)
10162 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
10163 (main_loop_epoll): Likewise.
10164 * nscd/grpcache.c (addgrbyX): Likewise.
10165 * nscd/hstcache.c (addhstbyX): Likewise.
10166 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10167 * nscd/mem.c (gc, mempool_alloc): Likewise.
10168 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
10169 (addinnetgrX): Likewise.
10170 * nscd/nscd-client.h (__nscd_acquire_maplock)
10171 (__nscd_drop_map_ref): Likewise.
10172 * nscd/nscd_getai.c (__nscd_getai): Likewise.
10173 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
10174 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
10176 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
10177 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
10178 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
10179 (__nscd_get_map_ref): Likewise.
10180 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
10181 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
10183 * nscd/pwdcache.c (addpwbyX): Likewise.
10184 * nscd/selinux.c (preserve_capabilities): Likewise.
10185 * nscd/servicescache.c (addservbyX): Likewise.
10186 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
10187 * posix/fnmatch.c (fnmatch): Likewise.
10188 * posix/getopt.c (_getopt_internal_r): Likewise.
10189 * posix/glob.c (glob, glob_in_dir): Likewise.
10190 * posix/wordexp.c (exec_comm_child): Likewise.
10191 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
10192 (getanswer_r, gaih_getanswer_slice): Likewise.
10193 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
10194 * resolv/res_init.c: Likewise.
10195 * resolv/res_mkquery.c (res_nmkquery): Likewise.
10196 * resolv/res_query.c (__libc_res_nquery): Likewise.
10197 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
10199 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
10200 * stdio-common/perror.c (perror): Likewise.
10201 * stdio-common/printf_fp.c (___printf_fp): Likewise.
10202 * stdio-common/tmpnam.c (tmpnam): Likewise.
10203 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
10204 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
10205 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
10207 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
10208 * stdlib/putenv.c (putenv): Likewise.
10209 * stdlib/setenv.c (__add_to_environ): Likewise.
10210 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
10211 * stdlib/strtol_l.c (INTERNAL): Likewise.
10212 * string/memmem.c (memmem): Likewise.
10213 * string/strerror.c (strerror): Likewise.
10214 * string/strnlen.c (__strnlen): Likewise.
10215 * string/test-memmem.c (simple_memmem): Likewise.
10216 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
10217 * sunrpc/pm_getport.c (__get_socket): Likewise.
10218 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
10219 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
10220 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
10221 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
10223 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
10224 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
10225 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
10226 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
10227 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
10228 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
10230 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
10232 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
10233 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
10234 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
10235 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
10236 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
10237 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
10238 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
10239 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
10240 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
10241 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
10242 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
10243 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
10245 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
10247 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
10249 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
10250 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
10251 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
10252 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
10253 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
10254 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
10255 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
10256 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
10257 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
10258 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
10259 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
10260 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
10261 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
10262 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
10263 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10264 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
10266 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
10268 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
10270 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
10272 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
10273 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10274 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
10276 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
10277 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
10278 * sysdeps/posix/opendir.c (__opendirat): Likewise.
10279 * sysdeps/posix/sleep.c: Likewise.
10280 * sysdeps/posix/tempname.c: Likewise.
10281 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
10282 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
10284 * sysdeps/powerpc/powerpc32/dl-machine.h
10285 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
10286 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
10287 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
10288 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
10289 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
10291 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
10292 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
10293 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
10294 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
10295 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
10296 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
10297 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
10298 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
10299 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
10300 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
10301 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
10302 (elf_machine_lazy_rel): Likewise.
10303 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
10304 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
10305 (elf_machine_lazy_rel): Likewise.
10306 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
10307 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
10308 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
10309 * sysdeps/unix/grantpt.c (grantpt): Likewise.
10310 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
10311 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
10312 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
10313 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
10315 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
10316 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
10317 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
10318 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
10319 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
10320 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
10321 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
10322 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
10323 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
10324 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
10325 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
10327 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
10328 (__posix_fallocate64_l64): Likewise.
10329 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
10330 (posix_fallocate): Likewise.
10331 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
10333 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
10334 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
10335 (getifaddrs_internal): Likewise.
10336 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
10337 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
10338 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
10339 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
10340 * sysdeps/unix/sysv/linux/posix_fallocate64.c
10341 (__posix_fallocate64_l64): Likewise.
10342 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
10344 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
10345 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
10346 (__get_clockfreq): Likewise.
10347 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
10348 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
10349 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
10350 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
10351 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
10352 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
10353 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
10354 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
10356 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
10357 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
10358 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
10359 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
10360 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
10361 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
10362 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
10364 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
10365 (posix_fallocate): Likewise.
10366 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
10367 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
10368 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
10369 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
10370 (elf_machine_rela, elf_machine_rela_relative)
10371 (elf_machine_lazy_rel): Likewise.
10372 * time/asctime.c (asctime_internal): Likewise.
10373 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
10374 * time/tzset.c (__tzset_parse_tz): Likewise.
10375 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
10376 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
10377 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
10378 * wcsmbs/wcsmbsload.h: Likewise.
10381 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
10383 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
10384 (arena_get2): Remove THREAD_STATS conditionals.
10385 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
10386 (__malloc_stats, int): Likewise.
10388 2014-02-08 Mike Frysinger <vapier@gentoo.org>
10390 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
10391 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
10393 * manual/setjmp.texi: Fix typos/grammar errors.
10395 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
10396 Only return early when n is <= 0. Delete unused return statement.
10398 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
10399 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
10400 * debug/tst-longjmp_chk3.c: New file.
10402 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
10403 (test_main): Replace code with set_fortify_handler call.
10404 * debug/test-strcpy_chk.c: Likewise.
10405 * debug/tst-chk1.c: Likewise.
10406 * debug/tst-longjmp_chk.c: Likewise.
10407 * test-skeleton.c: Include fcntl.h & paths.h
10408 (set_fortify_handler): Define.
10410 * debug/tst-longjmp_chk.c: Add header comment and include
10411 ../test-skeleton.c.
10412 (do_test): Mark static.
10413 (TEST_FUNCTION): Define.
10415 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
10416 (IP_PMTUDISC_INTERFACE): Likewise.
10417 (IP_MULTICAST_IF): Likewise.
10418 (IP_MULTICAST_TTL): Likewise.
10419 (IP_MULTICAST_LOOP): Likewise.
10420 (IP_ADD_MEMBERSHIP): Likewise.
10421 (IP_DROP_MEMBERSHIP): Likewise.
10422 (IP_UNBLOCK_SOURCE): Likewise.
10423 (IP_BLOCK_SOURCE): Likewise.
10424 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
10425 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
10426 (IP_MSFILTER): Likewise.
10427 (MCAST_JOIN_GROUP): Likewise.
10428 (MCAST_BLOCK_SOURCE): Likewise.
10429 (MCAST_UNBLOCK_SOURCE): Likewise.
10430 (MCAST_LEAVE_GROUP): Likewise.
10431 (MCAST_JOIN_SOURCE_GROUP): Likewise.
10432 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
10433 (MCAST_MSFILTER): Likewise.
10434 (IP_MULTICAST_ALL): Likewise.
10435 (IP_UNICAST_IF): Likewise.
10437 * timezone/Makefile: Delete $(have-ksh) check.
10438 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
10439 * timezone/tzselect.ksh: Add +x mode bits.
10441 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
10442 (ANON_INODE_FS_MAGIC): Likewise.
10443 (BDEVFS_MAGIC): Likewise.
10444 (BINFMTFS_MAGIC): Likewise.
10445 (BTRFS_TEST_MAGIC): Likewise.
10446 (CRAMFS_MAGIC_WEND): Likewise.
10447 (DEBUGFS_MAGIC): Likewise.
10448 (ECRYPTFS_SUPER_MAGIC): Likewise.
10449 (EXT3_SUPER_MAGIC): Likewise.
10450 (EXT4_SUPER_MAGIC): Likewise.
10451 (FUTEXFS_SUPER_MAGIC): Likewise.
10452 (HOSTFS_SUPER_MAGIC): Likewise.
10453 (HUGETLBFS_MAGIC): Likewise.
10454 (MINIX3_SUPER_MAGIC): Likewise.
10455 (MTD_INODE_FS_MAGIC): Likewise.
10456 (NILFS_SUPER_MAGIC): Likewise.
10457 (OPENPROM_SUPER_MAGIC): Likewise.
10458 (PIPEFS_MAGIC): Likewise.
10459 (PSTOREFS_MAGIC): Likewise.
10460 (QNX6_SUPER_MAGIC): Likewise.
10461 (RAMFS_MAGIC): Likewise.
10462 (REISERFS_SUPER_MAGIC_STRING): Likewise.
10463 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
10464 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
10465 (SECURITYFS_MAGIC): Likewise.
10466 (SELINUX_MAGIC): Likewise.
10467 (SMACK_MAGIC): Likewise.
10468 (SOCKFS_MAGIC): Likewise.
10469 (SQUASHFS_MAGIC): Likewise.
10470 (STACK_END_MAGIC): Likewise.
10471 (TMPFS_MAGIC): Likewise.
10472 (USBDEVICE_SUPER_MAGIC): Likewise.
10473 (V9FS_MAGIC): Likewise.
10474 (XENFS_SUPER_MAGIC): Likewise.
10475 (CRAMFS_MAGIC): Fix typo in comment.
10476 (EXT2_SUPER_MAGIC): Update comment.
10477 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
10479 2014-02-08 Joseph Myers <joseph@codesourcery.com>
10481 * sysdeps/arm: Move directory from ports/sysdeps/arm.
10482 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
10483 * sysdeps/unix/sysv/linux/arm: Move directory from
10484 ports/sysdeps/unix/sysv/linux/arm.
10485 * README: Update listing for arm-*-linux-gnueabi.
10487 * README: Remove mention of am33.
10489 2014-02-07 Roland McGrath <roland@hack.frob.com>
10491 * bits/sigset.h (__sigemptyset): Use a statement expression rather
10492 than the comma operator, to avoid "rhs of comma has no effect"
10494 (__sigfillset, __sigandset, __sigorset): Likewise.
10495 * include/signal.h (__sigemptyset): Likewise.
10496 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
10498 2014-02-07 Allan McRae <allan@archlinux.org>
10500 * version.h (RELEASE): Set to "development".
10501 (VERSION): Set to "2.19.90"
10502 * NEWS: Add 2.20 section.
10504 2014-02-06 Carlos O'Donell <carlos@redhat.com>
10507 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
10509 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
10511 * manual/contrib.texi: Update entry for Carlos O'Donell,
10512 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
10514 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
10516 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
10518 * sysdeps/unix/sysv/linux/kernel-features.h
10519 [__LINUX_KERNEL_VERSION >= 0x020621]
10520 (__ASSUME_PROC_PID_TASK_COMM): Define.
10522 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
10525 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
10526 conversion when destination buffer does not have enough space.
10527 * libio/tst-ftell-partial-wide.c: New test case.
10528 * libio/Makefile (tests): Add tst-ftell-partial-wide.
10530 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
10531 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
10532 Leonard and Allan McRae.
10534 2014-02-04 David S. Miller <davem@davemloft.net>
10536 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
10539 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10541 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
10543 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
10545 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
10547 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
10549 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
10551 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
10553 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
10555 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
10557 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
10559 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
10561 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
10563 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
10565 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
10568 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10570 * nptl/shlib-versions: Change powerpc*le start to 2.17.
10571 * shlib-versions: Likewise.
10573 2014-02-04 Roland McGrath <roland@hack.frob.com>
10574 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10576 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
10577 (abilist-pattern): New variable, set to %-le.abilist.
10579 * Makerules (abilist-pattern): New variable.
10580 (vpath): Use $(abilist-pattern) in place of %.abilist.
10581 (check-abi-% pattern rule): Likewise.
10582 (check-abi, update-abi): Likewise.
10584 2014-02-04 Eric Wong <normalperson@yhbt.net>
10586 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10588 2014-02-03 Carlos O'Donell <carlos@redhat.com>
10590 * manual/startup.texi: Add next, previous, and top entries for
10591 the `Program Arguments' and `Environment Variables' nodes.
10593 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
10595 * manual/macros.texi: Add comments before MTASC-safety macros.
10597 * manual/users.texi: Document MTASC-safety properties.
10599 * manual/threads.texi (pthread_key_create, pthread_key_delete)
10600 (pthread_getspecific, pthread_setspecific): Format with
10601 @deftypefun, and add @safety note.
10602 * manual/signal.texi: Move comments that analyze the above
10603 functions to their home place.
10605 2014-02-03 Allan McRae <allan@archlinux.org>
10607 * po/sl.po: Update Slovenian translation from translation project.
10609 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
10611 * manual/time.texi (timegm): Add missing blank after @c.
10612 Reported by Joseph Myers <joseph@codesourcery.com>.
10614 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
10616 * manual/check-safety.sh: New.
10617 * manual/Makefile ($(objpfx)stamp-summary): Run it.
10619 * manual/terminal.texi: Document MTASC-safety properties.
10621 * manual/filesys.texi: Document MTASC-safety properties.
10623 * manual/errno.texi: Document MTASC-safety properties.
10625 * manual/intro.texi: Document safety identifiers and
10628 * manual/string.texi (wcstok): Fix prototype.
10629 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
10631 * manual/time.texi: Document MTASC-safety properties.
10633 * manual/string.texi: Document MTASC-safety properties.
10635 * manual/threads.texi: Document MTASC-safety properties.
10637 * manual/stdio.texi: Document MTASC-safety properties.
10639 * manual/syslog.texi: Document MTASC-safety properties.
10641 * manual/sysinfo.texi: Document MTASC-safety properties.
10643 * manual/startup.texi: Document MTASC-safety properties.
10645 * manual/socket.texi: Document MTASC-safety properties.
10647 * manual/signal.texi: Document MTASC-safety properties.
10649 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
10651 * manual/setjmp.texi: Document MTASC-safety properties.
10653 * manual/search.texi: Document MTASC-safety properties.
10655 * manual/resource.texi: Document MTASC-safety properties.
10657 * manual/process.texi: Document MTASC-safety properties.
10659 * manual/platform.texi: Document MTASC-safety properties.
10661 * manual/pipe.texi: Document MTASC-safety properties.
10663 * manual/pattern.texi: Document MTASC-safety properties.
10665 * manual/message.texi: Document MTASC-safety properties.
10668 * manual/memory.texi: Document MTASC-safety properties.
10670 * manual/math.texi: Document MTASC-safety properties.
10672 * manual/locale.texi: Document MTASC-safety properties.
10674 * manual/llio.texi: Document MTASC-safety properties.
10676 * manual/libdl.texi: New.
10678 * manual/lang.texi: Document MTASC-safety properties.
10680 * manual/job.texi: Document MTASC-safety properties.
10682 * manual/getopt.texi: Document MTASC-safety properties.
10684 * manual/ctype.texi: Document MTASC-safety properties.
10686 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
10689 * csu/libc-tls.c (static_map): Remove variable.
10690 (__libc_setup_tls): Use main executable's link map for TLS data.
10691 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
10692 casing for LM_ID_BASE and GL(dl_nns).
10693 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
10694 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
10695 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
10696 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
10697 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
10699 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
10702 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
10704 * manual/debug.texi: Document MTASC-safety properties.
10706 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
10709 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
10710 of __x86_64__ when disabling x87 inline functions.
10712 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
10714 * manual/charset.texi: Document MTASC-safety properties.
10716 * manual/crypt.texi: Document MTASC-safety properties.
10718 * manual/conf.texi: Document MTASC-safety properties.
10720 * manual/arith.texi: Document MTASC-safety properties.
10722 * manual/argp.texi: Document MTASC-safety properties.
10724 * manual/macros.texi: Introduce macros to document multi
10725 thread, asynchronous signal and asynchronous cancellation
10727 * manual/intro.texi: Introduce the properties themselves.
10729 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10731 * sysdeps/sh/sh4/Makefile: New file.
10733 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
10735 * math/gen-libm-test.pl ($srcdir): New variable.
10736 ($auto_input): Use it.
10738 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
10741 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
10742 access beyond array bounds when parsing netgroups file.
10744 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
10745 the old buffer before realloc.
10747 2014-01-27 Allan McRae <allan@archlinux.org>
10749 * po/fr.po: Update French translation from translation project.
10751 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10753 * sysdeps/sh/libm-test-ulps: Regenerate.
10755 2014-01-24 David S. Miller <davem@davemloft.net>
10757 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
10759 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10761 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
10762 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
10764 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
10767 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
10768 string pointers after reallocation.
10770 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10772 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
10773 __SH4A__ instead of __SH_FPU_ANY__.
10775 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10777 * sysdeps/sh/fpu_control.h: New file.
10778 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
10779 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
10780 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
10781 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
10782 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
10783 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
10784 * sysdeps/sh/sys/ucontext.h: Remove.
10785 * sysdeps/sh/sys: Remove directory.
10787 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10789 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
10790 s390/sys/ucontext.h.
10791 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
10792 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
10794 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
10797 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
10799 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10802 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
10803 Adjust the vDSO correctly for internal calls.
10804 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
10806 2014-01-20 Allan McRae <allan@archlinux.org>
10808 * po/ca.po: Update Catalan translation from translation project.
10810 2014-01-16 Mike Frysinger <vapier@gentoo.org>
10812 * sysdeps/s390/sotruss-lib.c: New file.
10814 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10817 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
10818 (__GI___gettimeofday): Alias for a different internal symbol to avoid
10819 local calls issues by not having a PLT stub required for IFUNC calls.
10820 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
10822 2014-01-16 Joseph Myers <joseph@codesourcery.com>
10824 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
10825 * math/test-fpucw-static.c: Likewise.
10827 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
10830 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
10832 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10834 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
10835 implementation for powerpc.
10837 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
10840 * sysdeps/posix/system.c (__libc_system): Do not enable
10841 asynchronous cancellation.
10843 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10846 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
10847 handling only for numbers special also in the IEEE case.
10849 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10851 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
10853 2014-01-11 Allan McRae <allan@archlinux.org>
10855 * po/bg.po: Update Bulgarian translation from translation project.
10857 * po/de.po: Update German translation from translation project.
10859 2014-01-10 Roland McGrath <roland@hack.frob.com>
10861 * sysdeps/generic/gcc-compat.h: New file.
10863 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
10865 * benchtests/asin-inputs: Correct slow inputs.
10866 * benchtests/acos-inputs: Likewise.
10868 2014-01-10 Allan McRae <allan@archlinux.org>
10870 * po:sv.po: Update Swedish translation from translation project.
10872 * po/vi.po: Update Vietnamese translation from translation project.
10874 * po/eo.po: Update Esperanto translation from translation project.
10876 * po/cs.po: Update Czech translation from translation project.
10878 * po/nl.po: Update Dutch translation from translation project.
10880 * po/pl.po: Update Polish translation from translation project.
10882 * po/ru.po: Update Russian translation from translation project.
10884 * po/uk.po: Update Ukrainian translation from translation project.
10886 2014-01-08 Brooks Moses <bmoses@google.com>
10888 * elf/dl-load.c: Fix comment typo.
10890 2014-01-08 Carlos O'Donell <carlos@redhat.com>
10892 * po/header.pot: Rename to...
10893 * po/pot.header: ... this.
10894 * po/Makefile: Use pot.header.
10896 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
10897 Maxim Kuvyrkov <maxim@kugelworks.com>
10900 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
10901 SRC and DEST against LEN.
10903 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10906 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
10908 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
10910 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10912 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10914 2014-01-08 Joseph Myers <joseph@codesourcery.com>
10917 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
10918 for large positive arguments.
10920 2014-01-07 Joseph Myers <joseph@codesourcery.com>
10922 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
10924 * math/auto-libm-test-in: Mark various tests with
10925 xfail-rounding:ldbl-128ibm.
10926 * math/auto-libm-test-out: Regenerated.
10929 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
10930 Increase overflow threshold.
10932 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
10935 * stdio-common/vfprintf.c: Check for integer overflow.
10937 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10939 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
10940 the first argument and return value of __tls_get_addr_internal.
10942 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10944 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
10945 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
10947 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10949 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
10950 * sysdeps/s390/rtld-global-offsets.sym: New file.
10951 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
10953 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
10954 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
10955 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
10957 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
10958 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
10960 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
10962 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
10964 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
10965 halfs of GPRs for high_gprs contexts.
10966 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
10967 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
10969 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
10971 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
10973 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
10974 for high GPRs (uc_high_gprs) and for future extensions
10976 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
10977 for future extensions (__reserved).
10978 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
10980 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
10981 SC_HIGHGPRS offset definition.
10982 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
10983 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
10985 * Versions.def: Add GLIBC_2.19 for libpthread.
10986 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
10987 siglongjmp for libpthread with GLIBC_2.19 symver.
10988 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
10989 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
10990 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
10991 * sysdeps/s390/__longjmp.c: New file.
10992 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
10993 * sysdeps/s390/longjmp.c: New file.
10994 * sysdeps/s390/setjmp.S: New file.
10995 * sysdeps/s390/sigjmp.S: New file.
10996 * sysdeps/s390/v1-longjmp.c: New file.
10997 * sysdeps/s390/v1-setjmp.h: New file.
10998 * sysdeps/s390/v1-sigjmp.c: New file.
10999 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
11000 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
11001 GLIBC_2.19 version.
11002 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
11003 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
11004 versioned symbols for ____longjmp_chk.
11005 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
11007 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
11009 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
11011 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
11013 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
11015 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
11016 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
11017 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
11018 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
11019 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
11020 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
11021 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
11022 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
11023 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
11024 * sysdeps/s390/rtld-__longjmp.c: New file.
11025 * sysdeps/s390/rtld-setjmp.S: New file.
11027 2014-01-06 Joseph Myers <joseph@codesourcery.com>
11030 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
11031 Return -__logl (x) for small positive arguments without evaluating
11034 2014-01-06 Mike Frysinger <vapier@gentoo.org>
11036 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
11038 (__ptrace_peeksiginfo_args): ... this.
11039 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
11040 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
11041 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
11043 2014-01-06 Allan McRae <allan@archlinux.org>
11045 * inet/netinet/in.h: Fix typo in comment.
11047 2014-01-05 Andreas Jaeger <aj@suse.de>
11049 * sysdeps/i386/fpu/libm-test-ulps: Update.
11051 2014-01-05 Allan McRae <allan@archlinux.org>
11053 * po/libc.pot: Regenerated.
11055 * malloc/memusagestat.c: Fix gettext call formatting.
11057 2014-01-04 Sami Kerola <kerolasa@iki.fi>
11059 * nscd/nscd.c: Improve usage() output.
11061 2014-01-04 Mike Frysinger <vapier@gentoo.org>
11063 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
11064 * sysdeps/unix/sysv/linux/configure: Regenerated.
11065 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
11066 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
11068 2014-01-03 Joseph Myers <joseph@codesourcery.com>
11071 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
11072 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
11074 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11076 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
11077 extra tokens at end of #undef directive.
11078 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
11079 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
11080 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
11082 2014-01-03 Joseph Myers <joseph@codesourcery.com>
11084 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
11086 * math/auto-libm-test-in: Mark various tests with
11087 xfail-rounding:ldbl-128ibm.
11088 * math/auto-libm-test-out: Regenerated.
11090 2014-01-02 Joseph Myers <joseph@codesourcery.com>
11093 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
11094 numbers with subnormal high part when calculating exponent.
11097 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
11101 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
11103 (__ieee754_acoshl): Use __log1pl not __log1p.
11105 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
11107 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
11108 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
11109 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
11110 (grow_heap, heap_trim, _int_new_arena, get_free_list)
11111 (reused_arena, arena_get2): Convert to GNU style.
11112 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
11113 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
11114 (memalign_check, __malloc_set_state): Likewise.
11115 * malloc/mallocbug.c (main): Likewise.
11116 * malloc/malloc.c (__malloc_assert, malloc_init_state)
11117 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
11118 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
11119 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
11120 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
11121 (__posix_memalign, malloc_info): Likewise.
11122 * malloc/malloc.h: Likewise.
11123 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
11124 (mallochook, memalignhook, reallochook, mabort): Likewise.
11125 * malloc/mcheck.h: Likewise.
11126 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
11127 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
11128 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
11129 * malloc/morecore.c (__default_morecore): Likewise.
11130 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
11131 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
11132 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
11133 (print_and_abort): Likewise.
11134 * malloc/obstack.h: Likewise.
11135 * malloc/set-freeres.c (__libc_freeres): Likewise.
11136 * malloc/tst-mallocstate.c (main): Likewise.
11137 * malloc/tst-mtrace.c (main): Likewise.
11138 * malloc/tst-realloc.c (do_test): Likewise.
11140 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
11143 * nscd/netgroupcache.c (do_notfound): New function.
11144 (addgetnetgrentX): Use it.
11147 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
11148 NSS_STATUS_NOTFOUND.
11150 2014-01-01 Joseph Myers <joseph@codesourcery.com>
11152 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
11153 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11155 2014-01-01 Allan McRae <allan@archlinux.org>
11157 * scripts/update-copyrights: Update configure input file suffix.
11159 * NEWS: Update copyright year.
11160 * catgets/gencat.c: Likewise.
11161 * csu/version.c: Likewise.
11162 * debug/catchsegv.sh: Likewise.
11163 * debug/pcprofiledump.c: Likewise.
11164 * debug/xtrace.sh: Likewise.
11165 * elf/ldconfig.c: Likewise.
11166 * elf/ldd.bash.in: Likewise.
11167 * elf/pldd.c: Likewise.
11168 * elf/sotruss.ksh: Likewise.
11169 * elf/sprof.c: Likewise.
11170 * iconv/iconv_prog.c: Likewise.
11171 * iconv/iconvconfig.c: Likewise.
11172 * locale/programs/locale.c: Likewise.
11173 * locale/programs/localedef.c: Likewise.
11174 * login/programs/pt_chown.c: Likewise.
11175 * malloc/memusage.sh: Likewise.
11176 * malloc/memusagestat.c: Likewise.
11177 * malloc/mtrace.pl: Likewise.
11178 * manual/libc.texinfo: Likewise.
11179 * nscd/nscd.c: Likewise.
11180 * nss/getent.c: Likewise.
11181 * nss/makedb.c: Likewise.
11182 * posix/getconf.c: Likewise.
11183 * scripts/test-installation.pl: Likewise.
11185 * All files with FSF copyright notices: Update copyright dates
11186 using scripts/update-copyrights.
11187 * intl/plural.c: Regenerated.
11188 * locale/programs/charmap-kw.h: Likewise.
11189 * locale/programs/locfile-kw.h: Likewise.
11191 2013-12-31 Mike Frysinger <vapier@gentoo.org>
11193 * sysdeps/unix/sysv/linux/configure: Regenerated.
11194 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
11195 the linux/fanotify.h header.
11196 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
11197 HAVE_LINUX_FANOTIFY_H is defined.
11199 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
11201 * benchtests/cos-inputs: New inputs.
11202 * benchtests/sin-inputs: Likewise.
11204 * benchtests/atan-inputs: New inputs. Fix name of multiple
11205 precision fallback inputs.
11207 * benchtests/atanh-inputs: New inputs.
11208 * benchtests/tanh-inputs: Likewise.
11210 * benchtests/acosh-inputs: New inputs.
11211 * benchtests/asinh-inputs: Likewise.
11213 * benchtests/cosh-inputs: New inputs.
11214 * benchtests/sinh-inputs: Likewise.
11216 * benchtests/acos-inputs: Add more inputs.
11217 * benchtests/asin-inputs: Likewise.
11219 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
11222 * manual/arith.texi: Fix spelling.
11223 * manual/charset.texi: Likewise.
11224 * manual/errno.texi: Likewise.
11225 * manual/filesys.texi: Likewise.
11226 * manual/lang.texi: Likewise.
11227 * manual/llio.texi: Likewise.
11228 * manual/locale.texi: Likewise.
11229 * manual/message.texi: Likewise.
11230 * manual/resource.texi: Likewise.
11231 * manual/search.texi: Likewise.
11232 * manual/setjmp.texi: Likewise.
11233 * manual/stdio.texi: Likewise.
11234 * manual/string.texi: Likewise.
11235 * manual/sysinfo.texi: Likewise.
11236 * manual/time.texi: Likewise.
11238 2013-12-27 Carlos O'Donell <carlos@redhat.com>
11240 * po/sl.po: New file.
11242 2013-12-27 Mike Frysinger <vapier@gentoo.org>
11244 * .gitignore: Add core/.gdbinit/.gdb_history.
11246 2013-12-27 Allan McRae <allan@archlinux.org>
11249 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
11250 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
11252 2013-12-24 Brooks Moses <bmoses@google.com>
11254 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
11255 all compilers that claim C++98 compliance, not just GCC.
11256 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
11259 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
11261 * NEWS: Restore accidentally deleted bug-fix entries.
11263 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
11264 Ondřej Bílka <neleai@seznam.cz>
11267 * malloc/malloc.c (_int_free): Perform sanity check only if we
11270 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
11273 * manual/stdio.texi (String Input Conversions): Clarify that character
11274 classes are not supported.
11276 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11278 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11280 2013-12-22 Joseph Myers <joseph@codesourcery.com>
11283 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
11284 Calculate results for small negative arguments directly rather
11285 than using reflection formula with special underflow handling.
11287 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
11288 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
11289 sysdeps/unix/bsd/bsd4.4/syscalls.list.
11290 (fchflags): Likewise.
11291 (revoke): Likewise.
11292 (setlogin): Likewise.
11293 (sigaltstack): Likewise.
11295 (sigblock): Remove.
11296 (sigsetmask): Likewise.
11298 (waitpid): Likewise.
11299 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
11300 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
11302 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
11303 * sysdeps/unix/bsd/Makefile: ... here.
11304 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
11305 * sysdeps/unix/bsd/Versions: ... here.
11306 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
11307 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
11308 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
11309 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
11310 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
11311 * sysdeps/unix/bsd/sigblock.c: ... here.
11312 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
11313 * sysdeps/unix/bsd/sigsetmask.c: ... here.
11314 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
11315 * sysdeps/unix/bsd/sigvec.c: ... here.
11316 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
11317 * sysdeps/unix/bsd/tcdrain.c: ... here.
11318 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
11319 * sysdeps/unix/bsd/tcgetattr.c: ... here.
11320 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
11321 * sysdeps/unix/bsd/tcsetattr.c: ... here.
11322 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
11323 * sysdeps/unix/bsd/wait.c: ... here.
11324 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
11325 * sysdeps/unix/bsd/wait3.c: ... here.
11326 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
11327 * sysdeps/unix/bsd/waitpid.c: ... here.
11329 2013-12-21 Joseph Myers <joseph@codesourcery.com>
11332 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
11333 round-to-nearest for [!USE_AS_EXPM1L].
11334 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
11335 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
11336 more tests of exp and exp10. Expect some exp10 tests to miss
11337 exceptions or fail in directed rounding modes.
11338 * math/auto-libm-test-out: Regenerated.
11339 * math/libm-test.inc (exp10_tonearest_test_data): New array.
11340 (exp10_test_tonearest): New function.
11341 (exp10_towardzero_test_data): New array.
11342 (exp10_test_towardzero): New function.
11343 (exp10_downward_test_data): New array.
11344 (exp10_test_downward): New function.
11345 (exp10_upward_test_data): New array.
11346 (exp10_test_upward): New function.
11347 (main): Call the new functions.
11348 * sysdeps/i386/fpu/libm-test-ulps: Update.
11349 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11351 2013-12-20 Joseph Myers <joseph@codesourcery.com>
11353 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
11354 asinh, atan, atan2, atanh, cbrt, cos and cosh.
11355 * math/auto-libm-test-out: Regenerated.
11356 * math/libm-test.inc (acosh_test_data): Add more tests.
11357 (atanh_test_data): Likewise.
11358 (ceil_test_data): Likewise.
11359 (copysign_test_data): Likewise.
11360 * sysdeps/i386/fpu/libm-test-ulps: Update.
11361 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11363 * timezone/checktab.awk: Update from tzcode 2013i.
11364 * timezone/private.h: Likewise.
11365 * timezone/scheck.c: Likewise.
11366 * timezone/tzfile.h: Likewise.
11367 * timezone/tzselect.ksh: Likewise.
11368 * timezone/zdump.c: Likewise.
11369 * timezone/zic.c: Likewise.
11371 * math/auto-libm-test-in: Add tests of cpow.
11372 * math/auto-libm-test-out: Regenerated.
11373 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
11374 * math/gen-auto-libm-tests.c (func_calc_method): Add value
11376 (func_calc_desc): Add mpc_cc_c union field.
11377 (test_functions): Add cpow.
11378 (special_fill_2pi): New function.
11379 (special_real_inputs): Add 2pi.
11380 (calc_generic_results): Handle mpc_cc_c.
11381 * sysdeps/i386/fpu/libm-test-ulps: Update.
11382 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11384 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
11385 csqrt, ctan and ctanh.
11386 * math/auto-libm-test-out: Regenerated.
11387 * math/libm-test.inc (TEST_COND_x86_64): New macro.
11388 (TEST_COND_x86): Likewise.
11389 (ccos_test_data): Use AUTO_TESTS_c_c.
11390 (ccosh_test_data): Likewise.
11391 (cexp_test_data): Likewise.
11392 (clog_test_data): Likewise.
11393 (csqrt_test_data): Likewise.
11394 (ctan_test_data): Likewise.
11395 (ctan_tonearest_test_data): Likewise.
11396 (ctan_towardzero_test_data): Likewise.
11397 (ctan_downward_test_data): Likewise.
11398 (ctan_upward_test_data): Likewise.
11399 (ctanh_test_data): Likewise.
11400 (ctanh_tonearest_test_data): Likewise.
11401 (ctanh_towardzero_test_data): Likewise.
11402 (ctanh_downward_test_data): Likewise.
11403 (ctanh_upward_test_data): Likewise.
11404 * math/gen-auto-libm-tests.c (func_calc_method): Add value
11406 (func_calc_desc): Add mpc_c_c union field.
11407 (FUNC_mpc_c_c): New macro.
11408 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
11409 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
11411 (special_fill_min_subnorm_p120): New function.
11412 (special_real_inputs): Add min_subnorm_p120.
11413 (calc_generic_results): Handle mpc_c_c.
11414 * sysdeps/i386/fpu/libm-test-ulps: Update.
11415 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11417 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
11419 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
11420 (do_sin_slow): New functions.
11421 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
11422 (cslow2, csloww1, csloww2): Use the new functions.
11424 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
11425 Use M to change sign of result instead of X. Assume X is
11427 (csloww1): Likewise.
11431 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
11432 arguments A and DA.
11436 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
11438 (sloww1): Don't adjust sign of DX.
11439 (csloww1): Likewise.
11440 (sloww2): Use X directly and don't adjust sign of DX.
11441 (csloww2): Likewise.
11443 2013-12-19 Joseph Myers <joseph@codesourcery.com>
11445 * math/auto-libm-test-in: Add tests of cabs and carg.
11446 * math/auto-libm-test-out: Regenerated.
11447 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
11448 (carg_test_data): Likewise.
11449 * math/gen-auto-libm-tests.c (func_calc_method): Add value
11451 (func_calc_desc): Add mpc_c_f union field.
11452 (test_functions): Add cabs and carg.
11453 (calc_generic_results): Handle mpc_c_f.
11455 * sysdeps/powerpc/powerpc32/libgcc-compat.S
11456 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
11457 as a macro and a compat symbol.
11458 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
11459 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
11460 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
11461 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
11462 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
11463 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
11465 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
11467 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
11469 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
11471 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
11473 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
11475 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
11476 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
11479 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11481 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11483 2013-12-19 Joseph Myers <joseph@codesourcery.com>
11485 * manual/texinfo.tex: Update to version 2013-11-26.10 with
11486 trailing whitespace removed.
11487 * scripts/config.guess: Update to version 2013-11-29.
11488 * scripts/config.sub: Update to version 2013-10-01.
11490 * math/auto-libm-test-in: Add tests of sincos.
11491 * math/auto-libm-test-out: Regenerated.
11492 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
11493 * math/gen-auto-libm-tests.c (func_calc_method): Add value
11495 (func_calc_desc): Add mpfr_f_11 union field.
11496 (test_functions): Add sincos.
11497 (calc_generic_results): Handle mpfr_f_11.
11498 * sysdeps/i386/fpu/libm-test-ulps: Update.
11499 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11501 2013-12-19 Andreas Schwab <schwab@suse.de>
11503 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
11505 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
11506 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
11507 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
11509 2013-12-19 Joseph Myers <joseph@codesourcery.com>
11511 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
11512 * sysdeps/i386/fpu/libm-test-ulps: Update.
11513 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11516 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
11517 round-to-nearest mode when using frndint.
11518 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
11519 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
11520 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
11522 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
11524 * math/auto-libm-test-out: Regenerated.
11525 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
11526 (TEST_COND_x86): Likewise.
11527 (expm1_tonearest_test_data): New array.
11528 (expm1_test_tonearest): New function.
11529 (expm1_towardzero_test_data): New array.
11530 (expm1_test_towardzero): New function.
11531 (expm1_downward_test_data): New array.
11532 (expm1_test_downward): New function.
11533 (expm1_upward_test_data): New array.
11534 (expm1_test_upward): New function.
11535 (main): Run the new test functions.
11536 * sysdeps/i386/fpu/libm-test-ulps: Update.
11537 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11539 * include/features.h: Update comment documenting feature test
11540 macros. Mention _DEFAULT_SOURCE in comment.
11541 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
11542 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
11543 _BSD_SOURCE and _SVID_SOURCE.
11544 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
11545 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
11546 !_SVID_SOURCE]: Likewise.
11547 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
11548 (__USE_POSIX_IMPLICITLY): Define.
11549 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
11550 (_POSIX_SOURCE): Undefine and redefine.
11551 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
11552 (_POSIX_C_SOURCE): Likewise.
11553 * manual/creature.texi (_DEFAULT_SOURCE): Document.
11554 (Feature Test Macros): Update documentation of default features.
11556 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11558 * benchtests/Makefile: Add bench-strtok.
11559 * benchtests/bench-strtok.c: New file: strtok benchtest.
11561 2013-12-19 Allan McRae <allan@archlinux.org>
11563 * manual/install.texi: Suppress menu for plain text output.
11564 * INSTALL: Regenerated.
11566 2013-12-18 Brooks Moses <bmoses@google.com>
11569 * misc/getauxval.c: Include errno.h.
11570 (__getauxval): Set errno to ENOENT if the requested type is not
11572 * misc/sys/auxv.h (getauxval): Document that it may set errno;
11573 don't declare with __attribute_const__.
11574 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
11575 * manual/startup.texi: Document that getauxval sets errno.
11577 2013-12-18 Joseph Myers <joseph@codesourcery.com>
11579 * math/auto-libm-test-in: Add tests of jn and yn.
11580 * math/auto-libm-test-out: Regenerated.
11581 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
11582 (yn_test_data): Likewise.
11583 * math/gen-auto-libm-tests.c (func_calc_method): Add value
11585 (func_calc_desc): Add mpfr_if_f union field.
11586 (FUNC_mpfr_if_f): New macro.
11587 (test_functions): Add jn and yn.
11588 (calc_generic_results): Assert type of second input for
11589 mpfr_ff_f. Handle mpfr_if_f.
11590 (output_for_one_input_case): Disable all checking for arguments
11591 fitting floating-point types in case of an integer argument.
11592 * sysdeps/i386/fpu/libm-test-ulps: Update.
11593 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11595 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
11596 Don't expect fegetround reference in libm.so.
11598 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11600 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
11601 $(config-cflags-nofma).
11603 2013-12-18 Joseph Myers <joseph@codesourcery.com>
11605 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
11606 * math/auto-libm-test-out: Regenerated.
11609 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
11610 to determine exponent and adjust argument to have exponent of -1.
11611 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
11613 * math/auto-libm-test-out: Regenerated.
11614 * sysdeps/i386/fpu/libm-test-ulps: Update.
11615 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11617 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
11619 * manual/probes.texi: Remove cases when per-thread arenas are
11622 2013-12-18 Andreas Schwab <schwab@suse.de>
11624 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
11625 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
11626 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
11627 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
11628 * sysdeps/i386/i686/multiarch/Makefile: Update.
11629 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
11631 2013-12-17 Joseph Myers <joseph@codesourcery.com>
11633 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
11634 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
11636 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
11639 Support TZ transition times < 00:00:00.
11640 This is needed for version-3 tz-format files; it supports time
11641 stamps past 2037 for America/Godthab (the only entry in the tz
11642 database for which this change is relevant).
11643 * manual/time.texi (TZ Variable): Document transition times
11644 from -167:59:59 through -00:00:01.
11645 * time/tzset.c (tz_rule): Time of day is now signed.
11646 (__tzset_parse_tz): Parse negative time of day.
11648 Document TZ transition times >= 25:00:00.
11649 * manual/time.texi (TZ Variable): Document transition times from
11650 25:00:00 through 167:59:59. These are already supported, and this
11651 support will help with version-3 tz-format files.
11653 * manual/time.texi (TZ Variable): Modernize North America example
11654 to reflect current (i.e., 2007-and-later) daylight saving rules.
11656 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
11658 2013-12-17 Joseph Myers <joseph@codesourcery.com>
11660 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
11661 * sysdeps/unix/bsd/bits/stat.h: Likewise.
11662 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
11663 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
11664 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
11665 * sysdeps/unix/bsd/bsdstat.h: Likewise.
11666 * sysdeps/unix/bsd/clock.c: Likewise.
11667 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
11668 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
11669 * sysdeps/unix/bsd/init-posix.c: Likewise.
11670 * sysdeps/unix/bsd/poll.c: Likewise.
11671 * sysdeps/unix/bsd/ptsname.c: Likewise.
11672 * sysdeps/unix/bsd/seekdir.c: Likewise.
11673 * sysdeps/unix/bsd/setegid.c: Likewise.
11674 * sysdeps/unix/bsd/seteuid.c: Likewise.
11675 * sysdeps/unix/bsd/setgid.c: Likewise.
11676 * sysdeps/unix/bsd/setrgid.c: Likewise.
11677 * sysdeps/unix/bsd/setruid.c: Likewise.
11678 * sysdeps/unix/bsd/setsid.c: Likewise.
11679 * sysdeps/unix/bsd/setuid.c: Likewise.
11680 * sysdeps/unix/bsd/sigaction.c: Likewise.
11681 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
11682 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
11683 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
11684 * sysdeps/unix/bsd/telldir.c: Likewise.
11685 * sysdeps/unix/bsd/times.c: Likewise.
11686 * sysdeps/unix/bsd/usleep.c: Likewise.
11688 * misc/Makefile (install-lib): Remove libbsd-compat.a.
11689 ($(objpfx)libbsd-compat.a): Remove rule.
11691 * include/features.h (__FAVOR_BSD): Do not define.
11692 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
11693 features conflicting with POSIX.
11694 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
11695 (_BSD_SOURCE): Remove description of not being a subset of other
11696 feature test macros.
11697 * manual/job.texi (getpgrp): Do not document BSD version.
11698 (getpgid): Do not document by reference to BSD getpgrp.
11699 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
11700 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
11701 * signal/signal.h [__FAVOR_BSD]: Likewise.
11702 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
11703 instead of making contents conditional on [__FAVOR_BSD].
11704 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
11706 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11708 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11710 2013-12-17 Joseph Myers <joseph@codesourcery.com>
11713 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
11714 values below 2**-450, not 2**-500.
11715 * math/auto-libm-test-in: Don't allow spurious underflow from
11717 * math/auto-libm-test-out: Regenerated.
11721 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
11722 values of ha and hb and sort them after adjusting subnormal
11724 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
11726 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
11727 values of ea and eb and sort them after adjusting subnormal
11729 * math/auto-libm-test-in: Do not expect some hypot tests of
11730 subnormals to fail. Add more hypot tests.
11731 * math/auto-libm-test-out: Regenerated.
11733 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11736 * sysdeps/sh/s_fma.c: New file.
11737 * sysdeps/sh/s_fmaf.c: New file.
11738 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
11740 * sysdeps/sh/Implies: Add sh/soft-fp.
11742 2013-12-16 Roland McGrath <roland@hack.frob.com>
11744 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
11745 level of indirection to members `objname', `errstring', `malloced'.
11746 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
11747 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
11748 it as the __longjmp argument (just pass 1 instead).
11749 (_dl_catch_error): Initialize C with argument pointers and address of
11750 volatile local ERRCODE rather than copying values out of C at return.
11752 2013-12-16 Joseph Myers <joseph@codesourcery.com>
11754 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
11755 * math/auto-libm-test-out: Regenerated.
11756 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
11757 (hypot_test_data): Likewise.
11758 (pow_test_data): Likewise.
11759 (pow_tonearest_test_data): Likewise.
11760 * math/gen-auto-libm-tests.c (func_calc_method): Add value
11762 (func_calc_desc): Add mpfr_ff_f union field.
11763 (FUNC_mpfr_ff_f): New macro.
11764 (test_functions): Add atan2, hypot and pow.
11765 (special_fill_min): New function.
11766 (special_fill_minus_min): Likewise.
11767 (special_fill_min_subnorm): Likewise.
11768 (special_fill_minus_min_subnorm): Likewise.
11769 (special_real_inputs): Add min, -min, min_subnorm and
11771 (calc_generic_results): Handle mpfr_ff_f.
11772 * sysdeps/i386/fpu/libm-test-ulps: Update.
11773 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11775 2013-12-16 Will Newton <will.newton@linaro.org>
11777 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
11778 (Aligned Memory Blocks): Add documentation for aligned_alloc
11779 and suggest it as an alternative to posix_memalign.
11780 (Hooks for Malloc): Document __memalign_hook is also called
11781 for aligned_alloc. (Summary of Malloc): Add summary for
11782 aligned alloc. Document __memalign_hook is also called
11785 2013-12-16 Will Newton <will.newton@linaro.org>
11787 * manual/memory.texi (Malloc Examples): Clarify default
11788 alignment documentation. Suggest posix_memalign rather
11789 than memalign or valloc.
11790 (Aligned Memory Blocks): Remove suggestion to use memalign
11791 or valloc. Remove obsolete comment about BSD.
11792 Document memalign errno values and mark the function obsolete.
11793 Document posix_memalign returned error codes. Mark valloc
11794 as obsolete. (Hooks for Malloc): __memalign_hook is also
11795 called for posix_memalign and valloc.
11796 (Summary of Malloc): Add posix_memalign to function summary.
11797 __memalign_hook is also called for posix_memalign and valloc.
11799 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
11801 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
11805 (sloww): Use mynumber union. Expand ternary operator into
11806 if-else statements.
11807 (cslow): use mynumber union.
11809 2013-12-16 Allan McRae <allan@archlinux.org>
11811 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
11812 * configure: Regenerated.
11814 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
11817 * configure.ac: Added --enable-maintainer-mode. Check for
11818 autoconf when enabled.
11819 * configure: Regenerated.
11821 * nscd/nscd.service: New file.
11822 * nscd/nscd.tmpfiles: New file.
11824 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
11827 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
11828 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
11829 * sysdeps/x86_64/multiarch/strstr.c: ... here.
11830 (strstr): Add __strstr_sse2_unaligned ifunc.
11831 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
11832 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
11833 (strcasestr): Remove __strcasestr_sse42 ifunc.
11834 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
11835 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
11836 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
11838 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11840 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
11841 * sysdeps/sh/bits/fenv.h: ... here.
11842 * sysdeps/sh/sh4/fpu/bits: Remove directory.
11844 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11846 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
11848 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
11849 hypotf multiarch implementations.
11850 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
11851 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
11852 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
11853 multiarch hypot for PPC64.
11854 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
11855 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
11856 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
11857 multiarch hypotf for PPC64.
11859 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
11860 modff multiarch implementations.
11861 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
11862 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
11863 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
11864 multiarch modf for PPC64.
11865 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
11866 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
11867 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
11868 multiarch modff for PPC64.
11870 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
11871 and logl multiarch implementations.
11872 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
11873 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
11874 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
11875 multiarch logb for PPC64.
11876 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
11877 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
11878 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
11879 multiarch logb for PPC64.
11880 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
11881 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
11882 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
11883 multiarch logb for PPC64.
11885 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
11886 isinff multiarch implementation.
11887 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
11889 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
11890 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
11891 multiarch isinf for PPC64.
11892 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
11894 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
11895 multiarch isinff for PPC64.
11897 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
11898 finitef multiarch implementation.
11899 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
11901 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
11902 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
11903 multiarch finite for PPC64.
11904 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
11906 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
11907 multiarch finitef for PPC64.
11909 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
11910 lrint multiarch implementation.
11911 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
11913 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
11914 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
11915 multiarch llrint for PPC64.
11916 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
11917 multiarch lrint for PPC64.
11919 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
11920 copysignf multiarch implementation.
11921 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
11923 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
11925 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
11926 multiarch copysign for PPC64.
11927 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
11928 multiarch copysignf for PPC64.
11930 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
11931 multiarch implementation.
11932 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
11934 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
11936 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
11938 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
11940 multiarch llround for PPC64.
11941 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
11942 multiarch trunc for PPC64.
11943 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
11944 multiarch truncf for PPC64.
11946 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
11947 multiarch implementation.
11948 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
11950 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
11952 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
11954 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
11956 multiarch llround for PPC64.
11957 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
11958 multiarch round for PPC64.
11959 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
11960 multiarch roundf for PPC64.
11962 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
11963 multiarch implementation.
11964 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
11966 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
11968 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
11970 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
11972 multiarch llround for PPC64.
11973 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
11974 multiarch floor for PPC64.
11975 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
11976 multiarch floorf for PPC64.
11978 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
11979 multiarch implementation.
11980 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
11982 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
11984 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
11986 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
11988 multiarch llround for PPC64.
11989 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
11990 multiarch ceil for PPC64.
11991 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
11992 multiarch ceilf for PPC64.
11994 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
11995 multiarch implementation.
11996 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
11998 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
12000 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
12002 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
12003 multiarch llround for PPC64.
12004 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
12005 multiarch lround for PPC64.
12007 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
12008 multiarch implementation.
12009 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
12010 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
12011 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
12013 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
12014 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
12015 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
12016 multiarch isnan for PPC64.
12017 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
12018 multiarch isnanf for PPC64.
12020 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
12021 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
12022 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
12023 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
12024 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
12025 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
12027 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
12028 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
12029 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
12030 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
12032 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
12033 multiarch implementations.
12034 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12035 (__libc_ifunc_impl_list): Likewise.
12036 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
12037 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
12038 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
12039 multiarch stpcpy for PPC64.
12041 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
12042 multiarch implementations.
12043 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12044 (__libc_ifunc_impl_list): Likewise.
12045 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
12046 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
12047 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
12048 multiarch strcpy for PPC64.
12050 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
12051 redefine function name.
12052 (_wordcopy_fwd_dest_aligned): Likewise.
12053 (_wordcopy_bwd_aligned): Likewise.
12054 (_wordcopy_bwd_dest_aligned): Likewise.
12055 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
12056 multiarch implementations.
12057 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12058 (__libc_ifunc_impl_list): Likewise.
12059 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
12060 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
12061 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
12062 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
12063 multiarch wcscpy for PPC64.
12065 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
12066 multiarch implementations.
12067 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12068 (__libc_ifunc_impl_list): Likewise.
12069 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
12070 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
12071 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
12072 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
12073 multiarch wcscpy for PPC64.
12075 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
12076 multiarch implementations.
12077 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12078 (__libc_ifunc_impl_list): Likewise.
12079 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
12080 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
12081 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
12082 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
12083 multiarch wcsrchr for PPC64.
12085 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
12086 multiarch implementations.
12087 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12088 (__libc_ifunc_impl_list): Likewise.
12089 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
12090 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
12091 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
12092 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
12093 multiarch wcschr for PPC64.
12095 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
12096 multiarch implementations.
12097 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12098 (__libc_ifunc_impl_list): Likewise.
12099 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
12100 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
12101 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
12102 multiarch strchrnul for PPC64.
12104 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
12106 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12107 (__libc_ifunc_impl_list): Likewise.
12108 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
12109 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
12110 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
12111 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
12114 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
12116 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12117 (__libc_ifunc_impl_list): Likewise.
12118 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
12119 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
12120 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
12121 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
12124 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
12125 multiarch implementations.
12126 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12127 (__libc_ifunc_impl_list): Likewise.
12128 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
12129 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
12130 strncasecmp for PPC64.
12131 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
12132 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
12133 multiarch strncasecmp_l for PPC64.
12135 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
12136 multiarch implementations.
12137 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12138 (__libc_ifunc_impl_list): Likewise.
12139 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
12140 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
12141 multiarch strcasecmp for PPC64.
12142 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
12144 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
12145 multiarch strcasecmp_l for PPC64.
12147 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
12149 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12150 (__libc_ifunc_impl_list): Likewise.
12151 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
12152 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
12153 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
12156 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
12158 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12159 (__libc_ifunc_impl_list): Likewise.
12160 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
12161 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
12162 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
12165 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
12167 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12168 (__libc_ifunc_impl_list): Likewise.
12169 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
12170 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
12171 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
12172 rawmemrchr for PPC64.
12174 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
12176 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12177 (__libc_ifunc_impl_list): Likewise.
12178 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
12179 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
12180 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
12183 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
12185 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12186 (__libc_ifunc_impl_list): Likewise.
12187 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
12188 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
12189 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
12192 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
12194 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12195 (__libc_ifunc_impl_list): Likewise.
12196 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
12197 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
12198 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
12201 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
12202 avoid cretion of __bzero symbol.
12203 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
12205 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
12207 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
12209 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
12210 multiarch implementations.
12211 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12212 (__libc_ifunc_impl_list): Likewise.
12213 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
12214 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
12215 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
12216 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
12218 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
12219 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
12220 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
12221 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
12222 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
12224 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
12226 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
12227 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
12229 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12230 (__libc_ifunc_impl_list): Likewise.
12231 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
12232 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
12233 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
12234 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
12237 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
12238 multiarch for POWER/PPC64.
12239 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
12240 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
12241 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
12242 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
12243 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
12244 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
12245 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
12246 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
12247 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
12250 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
12251 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
12252 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
12253 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
12254 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
12255 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
12256 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
12257 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
12258 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
12259 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
12260 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
12261 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
12262 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
12263 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
12264 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
12265 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
12266 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
12267 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
12268 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
12269 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
12270 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
12271 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
12273 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12275 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
12277 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
12279 * benchtests/Makefile (bench): Add exp2 and log2.
12280 (LDLIBS-bench-exp2): Add -lm.
12281 (LDLIBS-bench-log2): Likewise.
12282 * benchtests/exp2-inputs: New inputs file.
12283 * benchtests/log2-inputs: New inputs file.
12284 * benchtests/log-inputs: Add new inputs.
12285 * benchtests/tan-inputs: Likewise.
12287 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12289 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
12291 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
12292 (csloww2): ... from here.
12294 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
12295 instead of structures.
12296 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
12297 (POLYNOMIAL): Likewise.
12298 (TAYLOR_SLOW): Likewise.
12304 (sloww1); Likewise.
12305 (sloww2): Likewise.
12306 (bsloww1): Likewise.
12307 (bsloww2): Likewise.
12308 (cslow2): Likewise.
12309 (csloww): Likewise.
12310 (csloww1): Likewise.
12311 (csloww2): Likewise.
12313 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
12315 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
12316 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
12317 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
12318 * malloc/hooks.c (realloc_check): Likewise.
12320 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
12321 * malloc/arena.c: Remove PER_THREAD conditional.
12322 [!PER_THREAD]: Remove code.
12323 (ptmalloc_unlock_all2): Likewise.
12324 (ptmalloc_init): Likewise.
12325 (_int_new_arena): Likewise.
12326 (arena_get2): Likewise.
12327 * malloc/hooks.c (__malloc_get_state): Likewise.
12328 (__malloc_set_state): Likewise.
12329 * malloc/malloc.c: Likewise.
12330 (struct malloc_state): Likewise.
12331 (struct malloc_par): Likewise.
12332 (__libc_realloc): Likewise.
12333 (__libc_mallopt): Likewise.
12335 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12337 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
12339 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
12341 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
12342 macro to a function. Check for zero perturb_byte.
12343 (_int_malloc, _int_free): Remove zero perturb_byte checks.
12345 * malloc/malloc.c: (force_reg): Remove.
12346 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
12347 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
12348 force_reg by atomic_forced_read.
12349 * malloc/arena.c (ptmalloc_init): Likewise.
12350 * malloc/hooks.c (top_check): Likewise.
12352 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12354 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12356 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
12358 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12360 2013-12-08 Joseph Myers <joseph@codesourcery.com>
12362 * math/auto-libm-test-in: Add tests of lgamma.
12363 * math/auto-libm-test-out: Regenerated.
12364 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
12365 (M_LOG_2_SQRT_PIl): Likewise.
12366 (lgamma_test_data): Use AUTO_TESTS_f_f1.
12367 * math/gen-auto-libm-tests.c (func_calc_method): Add value
12369 (func_calc_desc): Add mpfr_f_f1 union field.
12370 (ARGS1): New macro.
12378 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
12379 (test_functions): Add lgamma.
12380 (calc_generic_results): Handle mpfr_f_f1.
12381 * sysdeps/i386/fpu/libm-test-ulps: Update.
12382 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12384 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12386 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
12387 __mpn_add_n for PowerPC64/POWER7.
12388 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
12389 __mpn_sub_n for PowerPC64/POWER7.
12391 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
12392 __mpn_addmul_1 for PowerPC64.
12393 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
12394 __mpn_submul_1 for PowerPC64.
12395 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
12397 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
12400 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
12403 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
12405 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12407 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
12409 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
12410 add multiarch folders.
12411 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
12412 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
12413 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
12414 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
12415 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
12416 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
12417 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
12418 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
12419 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
12420 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
12421 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
12422 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
12423 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
12424 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
12425 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
12426 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
12427 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
12429 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
12430 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
12431 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
12433 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
12435 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
12436 multiarch __ieee754_hypot for PowerPC32.
12437 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
12439 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
12441 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
12442 multiarch __ieee754_hypotf for PowerPC32.
12444 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
12445 long_double_symbol only if __logbl is defined.
12446 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
12447 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
12448 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
12449 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
12450 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
12451 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
12452 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
12453 path for implementation.
12454 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
12455 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
12456 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
12457 logb, and logbl multiarch implementations for PowerPC32.
12458 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
12460 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
12462 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
12463 multiarch logb for PowerPC32.
12464 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
12466 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
12468 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
12469 multiarch logbf for PowerPC32.
12470 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
12471 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
12473 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
12474 multiarch logbl implementation for PowerPC32.
12476 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
12477 and modff multiarch implementations.
12478 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
12480 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
12482 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
12483 multiarch modf for PowerPC32.
12484 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
12486 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
12488 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
12489 multiarch modff for PowerPC32.
12491 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
12492 and lrintf multiarch implementations.
12493 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
12495 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
12497 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
12498 multiarch lrint for PowerPC32.
12499 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
12500 file: multiarch lrintf for PowerPC32.
12502 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
12503 and lroundf multiarch implementations.
12504 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
12506 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
12508 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
12510 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
12511 multiarch lround for PowerPC32.
12512 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
12513 file: multiarch lroundf for PowerPC32.
12515 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
12516 copysign and copysignf multiarch implementations.
12517 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
12519 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
12521 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
12522 file: multiarch copysign for PowerPC32.
12523 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
12524 file: multiarch copysignf for PowerPC32.
12526 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
12527 and truncf multiarch implementations.
12528 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
12530 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
12532 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
12533 multiarch trunc for PowerPC32.
12534 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
12536 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
12538 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
12539 multiarch truncf for PowerPC32.
12541 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
12542 and roundf multiarch implementations.
12543 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
12545 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
12547 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
12548 multiarch round for PowerPC32.
12549 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
12551 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
12553 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
12554 multiarch roundf for PowerPC32.
12556 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
12557 and floorf multiarch implementations.
12558 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
12560 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
12562 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
12563 multiarch floor for PowerPC32.
12564 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
12566 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
12568 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
12569 multiarch floorf for PowerPC32.
12571 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
12572 and ceilf multiarch implementations.
12573 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
12575 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
12577 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
12578 multiarch ceil for PowerPC32.
12579 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
12581 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
12583 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
12584 multiarch ceilf for PowerPC32.
12586 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
12588 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
12589 FINITEF is defined.
12590 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
12591 and finitef multiarch implementations.
12592 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
12594 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
12596 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
12597 multiarch finite for PowerPC32.
12598 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
12600 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
12601 file: multiarch finitef for PowerPC32.
12603 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
12604 and isinff multiarch implementations.
12605 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
12607 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
12609 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
12610 multiarch isinf for PowerPC32.
12611 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
12613 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
12614 multiarch isinff for PowerPC32.
12616 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
12617 alias when __isnan is defined.
12618 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
12619 and isnanf multiarch implementations.
12620 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
12622 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
12624 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
12626 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
12628 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
12629 multiarch isnan for PowerPC32.
12630 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
12632 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
12634 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
12635 multiarch isnanf for PowerPC32.
12637 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
12638 and sqrtf multiarch implementations.
12639 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
12641 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
12643 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
12644 multiarch sqrt for PowerPC32.
12645 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
12647 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
12649 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
12650 multiarch sqrtf for PowerPC32.
12652 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
12653 and llroundf multiarch implementations.
12654 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
12656 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
12658 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
12660 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
12661 file: multiarch llround for PowerPC32.
12662 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
12663 file: multiarch llroundf for PowerPC32.
12665 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
12666 multiarch PowerPC32 fpu implementations.
12667 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
12669 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
12671 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
12672 multiarch llrint for PowerPC32.
12673 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
12675 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
12677 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
12680 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
12682 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
12684 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
12686 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
12688 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
12689 multiarch wordcopy for PPC32.
12690 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
12692 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12693 (__libc_ifunc_impl_list): Likewise.
12694 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
12695 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
12696 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
12697 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
12698 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
12699 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
12701 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
12702 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
12704 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
12706 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
12708 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
12709 multiarch wcscpy for PPC32.
12710 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
12712 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12713 (__libc_ifunc_impl_list): Likewise.
12714 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
12715 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
12716 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
12717 sysdeps/powerpc/power6/wcscpy.c.
12719 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
12720 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
12722 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
12724 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
12726 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
12727 multiarch wcsrchr for PPC32.
12728 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
12730 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12731 (__libc_ifunc_impl_list): Likewise.
12732 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
12733 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
12734 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
12735 sysdeps/powerpc/power6/wcsrchr.c.
12737 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
12739 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
12741 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
12742 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
12743 multiarch wcschr for PPc32.
12744 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
12746 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12747 (__libc_ifunc_impl_list): Likewise.
12748 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
12749 * sysdeps/powerpc/power6/wcschr.c: ... to here.
12750 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
12751 sysdeps/powerpc/power6/wcschr.c.
12753 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
12754 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
12756 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
12757 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
12758 file: multiarch strchr for PPC32.
12759 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
12761 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12762 (__libc_ifunc_impl_list): Likewise.
12764 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
12766 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
12768 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
12770 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
12771 multiarch strchrnul for PPC32.
12772 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
12774 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12775 (__libc_ifunc_impl_list): Likewise.
12777 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
12779 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
12780 multiarch strncasecmp for PPC32.
12781 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
12783 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
12784 multiarch strncasecmp_l for PPC32.
12785 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
12786 strncasecmp multiarch objects.
12787 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12788 (__libc_ifunc_impl_list): Likewise.
12790 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
12792 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
12793 multiarch strncasecmp for PPC32.
12794 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
12796 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
12797 multiarch strcasecmp_l for PPC32.
12798 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
12800 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12801 (__libc_ifunc_impl_list): Likewise.
12803 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
12805 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
12807 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
12808 multiarch strncmp for PPC32.
12809 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
12811 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12812 (__libc_ifunc_impl_list): Likewise.
12814 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
12815 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
12817 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
12818 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
12819 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
12821 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12822 (__libc_ifunc_impl_list): Likewise.
12824 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
12826 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
12828 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
12829 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
12831 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12832 (__libc_ifunc_impl_list): Likewise.
12834 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
12836 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
12838 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
12839 multiarch rawmemchr for PPC32.
12840 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
12842 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12843 (__libc_ifunc_impl_list): Likewise.
12845 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
12847 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
12849 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
12850 file: memrchr multiarch for PPC32.
12851 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
12853 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12854 (__libc_ifunc_impl_list): Likewise.
12856 * string/memchr.c (__memchr): Using macro to redefine symbol name.
12857 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
12859 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
12860 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
12861 multiarch memchr for PPC32.
12862 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
12864 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12865 (__libc_ifunc_impl_list): Likewise.
12867 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
12868 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
12870 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
12872 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
12873 file: multiarch mempcpy for PPC32.
12874 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
12876 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12877 (__libc_ifunc_impl_list): Likewise.
12879 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
12880 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
12881 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
12882 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
12883 multiarch bzero for PPC32.
12884 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
12886 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
12888 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
12889 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
12890 file: multiarch memset for PPC32.
12891 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
12892 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
12893 memset multiarch objects.
12894 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12895 (__libc_ifunc_impl_list): Likewise.
12897 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
12899 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
12900 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
12902 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
12903 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
12905 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12906 (__libc_ifunc_impl_list): Likewise.
12908 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
12909 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
12910 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
12912 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
12914 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
12916 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
12917 multiarch memcpy for PPC32.
12918 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
12920 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12921 (__libc_ifunc_impl_list): Likewise.
12923 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
12924 support multiarch for POWER/PPC32.
12925 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
12927 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
12928 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
12929 Implies file to make multiarch folder appers before the fpu and
12930 default folder for power4 configuration.
12932 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
12934 * scripts/bench.pl: Append volatile keyword to type.
12936 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12938 * sysdeps/sh/sotruss-lib.c: New file.
12939 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
12941 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12943 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12945 2013-12-05 Joseph Myers <joseph@codesourcery.com>
12948 * math/w_tgamma.c: Include <errno.h>.
12949 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
12950 * math/w_tgammaf.c: Include <errno.h>.
12951 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
12952 * math/w_tgammal.c: Include <errno.h>.
12953 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
12954 * math/auto-libm-test-in: Do not allow missing errno on tgamma
12955 underflow. Add more tgamma tests.
12956 * math/auto-libm-test-out: Regenerated.
12957 * sysdeps/i386/fpu/libm-test-ulps: Update.
12958 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12960 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
12961 sin, sinh, tan, tanh, tgamma, y0 and y1.
12962 * math/auto-libm-test-out: Regenerated.
12963 * math/libm-test.inc (TEST_COND_x86_64): New macro.
12964 (TEST_COND_x86): Likewise.
12965 (M_E2l): Remove macro.
12967 (M_2_SQRT_PIl): Likewise.
12968 (M_SQRT_PIl): Likewise.
12969 (M_1_DIV_El): Likewise.
12970 (log_test_data): Use AUTO_TESTS_f_f.
12971 (log10_test_data): Likewise.
12972 (log1p_test_data): Likewise.
12973 (log2_test_data): Likewise.
12974 (sin_test_data): Likewise.
12975 (sin_tonearest_test_data): Likewise.
12976 (sin_towardzero_test_data): Likewise.
12977 (sin_downward_test_data): Likewise.
12978 (sin_upward_test_data): Likewise.
12979 (sinh_test_data): Likewise.
12980 (sinh_tonearest_test_data): Likewise.
12981 (sinh_towardzero_test_data): Likewise.
12982 (sinh_downward_test_data): Likewise.
12983 (sinh_upward_test_data): Likewise.
12984 (tan_test_data): Likewise.
12985 (tan_tonearest_test_data): Likewise.
12986 (tan_towardzero_test_data): Likewise.
12987 (tan_downward_test_data): Likewise.
12988 (tan_upward_test_data): Likewise.
12989 (tanh_test_data): Likewise.
12990 (tgamma_test_data): Likewise.
12991 (y0_test_data): Likewise.
12992 (y1_test_data): Likewise.
12993 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
12994 (special_real_inputs): Add pi/4.
12995 * sysdeps/i386/fpu/libm-test-ulps: Update.
12996 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12998 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13000 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
13001 "longjmp_target" static probes.
13002 (__longjmp): Rename to __longjmp_symbol.
13003 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
13004 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
13005 on which longjmp to generate.
13006 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
13007 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
13009 (__sigsetjmp): Rename to __sigsetjmp_symbol.
13010 (__sigjmp_save): Rename to __sigjmp_save_symbol.
13011 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
13012 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
13013 and __sigjmp_save_symbol based on which sigsetjmp to generated.
13014 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
13015 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
13016 __longjmp_symbol based on which __longjmp to generate.
13017 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
13019 (setjmp): Rename to setjmp_symbol.
13020 (__sigsetjmp): Rename to __sigsetjmp_symbol.
13021 (_setjmp): Rename to _setjmp_symbol.
13022 (__sigsetjmp): Rename to __sigsetjmp_symbol.
13023 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
13024 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
13025 which setjmp to generate.
13026 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
13027 "longjmp_target" static probes.
13029 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
13031 * benchtests/README: Add note about output arguments.
13032 * benchtests/bench-sincos.c: Remove file.
13033 * benchtests/sincos-inputs: New file.
13034 * scripts/bench.pl: Identify output arguments and define
13035 static variables for them.
13037 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
13040 * Makefile (INSTALL): Add install-plain.texi as the primary
13042 * manual/install-plain.texi: New file.
13043 * manual/install.texi: Include node directive only for
13044 non-plaintext output.
13046 2013-12-04 Joseph Myers <joseph@codesourcery.com>
13048 * stdlib/longlong.h: Update from GCC.
13052 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
13053 * math/w_j0f.c (y0f): Likewise.
13054 * math/w_j0l.c (__y0l): Likewise.
13055 * math/w_j1.c (y1): Likewise.
13056 * math/w_j1f.c (y1f): Likewise.
13057 * math/w_j1l.c (__y1l): Likewise
13058 * math/w_jn.c (yn): Likewise.
13059 * math/w_jnf.c (ynf): Likewise.
13060 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
13061 Bessel function pole errors in _POSIX_ mode. Use NAN as return
13062 value for Bessel function domain errors outside _SVID_ mode.
13063 Adjust sign of return value for yn (negative integer, 0).
13064 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
13065 by zero in return for negative x and set sign appropriately for
13067 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
13068 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
13069 * math/libm-test.inc (y0_test_data): Add more tests and adjust
13070 expectations in error cases.
13071 (y1_test_data): Likewise.
13072 (yn_test_data): Likewise.
13073 * sysdeps/i386/fpu/libm-test-ulps: Update.
13074 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13076 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13078 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
13079 "64" to "64-v1". Add "64-v2".
13080 (abi-64-options): Rename to ...
13081 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
13082 (abi-64-condition): Rename to ...
13083 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
13084 (abi-64-ld-soname): Rename to ...
13085 (abi-64-v1-ld-soname): ... this.
13086 (abi-64-v2-options): Define.
13087 (abi-64-v2-condition): Likewise.
13088 (abi-64-v2-ld-soname): Likewise.
13089 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
13090 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
13091 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
13092 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
13093 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
13095 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13096 Alan Modra <amodra@gmail.com>
13098 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
13099 New versions for use with the ELFv2 ABI.
13100 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
13101 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
13103 (struct La_ppc64v2_retval): Likewise.
13104 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
13105 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
13106 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
13107 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
13108 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
13109 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
13110 Do not save or restore CR.
13111 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
13112 (_dl_profile_resolve): Do no save or restore CR. Support extended
13113 return values for ELFv2 ABI. Fix location of FPR return registers.
13114 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
13115 updated values for _CALL_ELF == 2.
13116 (La_regs, La_retval, int_retval): Likewise.
13118 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13120 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
13121 (FRAME_MIN_SIZE_PARM): Likewise.
13122 (FRAME_BACKCHAIN): Likewise.
13123 (FRAME_CR_SAVE): Likewise.
13124 (FRAME_LR_SAVE): Likewise.
13125 (FRAME_TOC_SAVE): Likewise.
13126 (FRAME_PARM_SAVE): Likewise.
13127 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
13128 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
13129 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
13130 (call_mcount_parm_offset): New macro.
13131 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
13132 (PROF): Use symbolic stack frame offsets.
13133 (TAIL_CALL_SYSCALL_ERROR): Likewise.
13134 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
13135 Redefine in terms of FRAME_MIN_SIZE.
13136 (_dl_runtime_resolve): Use symbolic stack frame offsets.
13137 (_dl_profile_resolve): Likewise. Update comment.
13138 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
13139 symbols stack frame offsets.
13140 (__sigsetjmp): Likewise.
13141 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
13142 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
13143 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
13144 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
13146 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
13147 (FRAME_BACKCHAIN): Remove.
13148 (FRAME_CR_SAVE): Likewise.
13149 (FRAME_LR_SAVE): Likewise.
13150 (FRAME_COMPILER_DW): Likewise.
13151 (FRAME_LINKER_DW): Likewise.
13152 (FRAME_TOC_SAVE): Likewise.
13153 (FRAME_PARM_SAVE): Likewise.
13154 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
13155 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
13156 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
13157 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
13158 (CHECK_SP): Use symbolic stack frame offsets.
13159 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
13160 zone" instead of caller's parameter save area for temp storage.
13161 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
13162 Likewise. Also, use symbolic stack frame offsets.
13163 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
13164 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
13165 our own stack frame instead of the caller's.
13166 (__socket): Use symbolic stack frame offsets.
13168 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13169 Alan Modra <amodra@gmail.com>
13171 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
13173 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
13174 (PPC64_LOCAL_ENTRY_OFFSET): Define.
13175 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
13177 (elf_machine_fixup_plt): Call it.
13178 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
13180 (elf_machine_rela): Update call to elf_machine_plt_conflict.
13181 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
13182 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
13183 r2 before calling target.
13185 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13186 Alan Modra <amodra@gmail.com>
13188 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
13189 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
13190 versions of macros to support ELFv2 ABI.
13191 (LOCALENTRY): New macro.
13192 (ENTRY, EALIGN): Use it.
13193 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
13194 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
13195 fall through into ENTRY entry point.
13196 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
13197 Only define if _CALL_ELF != 2.
13199 (elf_machine_matches_host): Verify ABI version matches.
13200 (RTLD_START): Use LOCALENTRY.
13201 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
13202 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
13203 (PLT_ENTRY_WORDS): New macro.
13204 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
13205 (elf_machine_runtime_setup): Support ELFv2 ABI.
13206 (elf_machine_fixup_plt): Likewise.
13207 (elf_machine_plt_conflict): Likewise.
13208 (resolve_ifunc): Likewise.
13209 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
13210 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
13212 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
13213 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
13214 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
13215 (makecontext): Support ELFv2 ABI.
13216 * elf/elf.h (EF_PPC64_ABI): Define.
13218 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13220 * sysdeps/powerpc/powerpc64/sysdep.h
13221 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
13222 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
13223 (ENTRY) [ASSEMBLER]: ... but instead here ...
13224 (EALIGN) [ASSEMBLER]: ... and here.
13225 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
13226 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
13227 (ENTRY_2) [!ASSEMBLER]: Use it.
13228 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
13229 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
13230 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
13231 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
13232 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
13233 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
13234 Use PPC64_LOAD_FUNCPTR.
13236 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
13238 2013-12-04 Alan Modra <amodra@gmail.com>
13240 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
13241 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
13242 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
13243 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
13245 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
13246 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
13247 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
13248 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
13249 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
13250 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
13252 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13254 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
13255 (__makecontext): Fix incorrect CFI when backtracing out of
13256 context created via makecontext.
13257 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
13258 (__setcontext): Fix incorrect CFI during switch to new context.
13259 (__novec_setcontext): Likewise.
13261 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
13264 * time/strptime_l.c (__strptime_internal): Allow modifiers
13266 * time/tst-strptime.c (day_tests): Add testcase.
13268 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
13270 * scripts/bench.pl: Skip over blank lines.
13272 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
13275 * manual/time.texi (Calendar Time): Clarify what timezone functions
13278 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13280 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13282 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
13284 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
13286 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
13287 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
13288 * debug/memset_chk.c (__memset_chk): Likewise.
13289 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
13290 * debug/strncpy_chk.c: Likewise.
13292 2013-12-03 Joseph Myers <joseph@codesourcery.com>
13296 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
13297 (__ieee754_exp): For possibly underflowing results, check size of
13298 result and force underflow exception if required.
13299 * math/auto-libm-test-in: Add more tests of exp.
13300 * math/auto-libm-test-out: Regenerated.
13301 * sysdeps/i386/fpu/libm-test-ulps: Update.
13302 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13305 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
13306 * math/w_exp2f.c (__exp2f): Likewise.
13307 * math/w_exp2l.c (__exp2l): Likewise.
13308 * math/auto-libm-test-in: Do not allow missing errno on exp2
13310 * math/auto-libm-test-out: Regenerated.
13312 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
13315 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
13316 handle filename validation.
13317 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
13320 2013-12-03 Joseph Myers <joseph@codesourcery.com>
13323 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
13324 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
13325 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
13327 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
13328 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
13329 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
13330 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
13331 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
13332 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
13333 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
13334 * math/auto-libm-test-in: Don't allow missing errno from erfc.
13335 Add more erfc tests.
13336 * math/auto-libm-test-out: Regenerated.
13337 * sysdeps/i386/fpu/libm-test-ulps: Update.
13338 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13340 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
13341 exp2, expm1, j0 and j1.
13342 * math/auto-libm-test-out: Regenerated.
13343 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
13344 (erfc_test_data): Likewise.
13345 (exp_test_data): Likewise.
13346 (exp_tonearest_test_data): Likewise.
13347 (exp_towardzero_test_data): Likewise.
13348 (exp_downward_test_data): Likewise.
13349 (exp_upward_test_data): Likewise.
13350 (exp10_test_data): Likewise.
13351 (exp2_test_data): Likewise.
13352 (expm1_test_data): Likewise.
13353 (j0_test_data): Likewise.
13354 (j1_test_data): Likewise.
13355 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
13356 (input_flag_type): Add flag_xfail_rounding.
13357 (input_flags): Add xfail-rounding.
13358 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
13359 (output_for_one_input_case): Handle flag_xfail_rounding.
13360 * sysdeps/i386/fpu/libm-test-ulps: Update.
13361 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13363 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
13366 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
13369 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
13372 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
13373 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
13374 (STAP_PROBE0): New macro.
13375 (STAP_PROBE1): Likewise.
13376 (STAP_PROBE2): Likewise.
13377 (STAP_PROBE3): Likewise.
13378 (STAP_PROBE4): Likewise.
13380 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
13382 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
13384 2013-12-02 Steve Ellcey <sellcey@mips.com>
13386 * benchtests/Makefile (bench): Add sqrt.
13387 (LDLIBS-bench-sqrt): New.
13388 * benchtests/sqrt-input: New.
13390 2013-12-02 Pavel Simerda <psimerda@redhat.com>
13392 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
13393 (GAIH_EAI): Likewise.
13394 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
13395 (gaih_inet): Likewise.
13396 (getaddrinfo): Don't use GAIH_EAI.
13398 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
13399 (struct gaih): Remove definition.
13401 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
13403 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
13404 Use HERRNOP directly.
13406 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13408 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13410 2013-11-30 Joseph Myers <joseph@codesourcery.com>
13412 * math/gen-auto-libm-tests.c (test_functions): Add more
13413 single-argument functions.
13414 (special_fill_pi_2): New function.
13415 (special_fill_minus_pi_2): Likewise.
13416 (special_fill_pi_6): Likewise.
13417 (special_fill_minus_pi_6): Likewise.
13418 (special_fill_pi_3): Likewise.
13419 (special_fill_2pi_3): Likewise.
13420 (special_fill_e): Likewise.
13421 (special_fill_1_e): Likewise.
13422 (special_fill_e_minus_1): Likewise.
13423 (special_real_inputs): Add more special inputs.
13424 (output_for_one_input_case): Do not require ERANGE on underflow to
13425 zero if round-to-nearest result does not underflow to zero, unless
13426 exact results required.
13427 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
13428 atan, atanh, cbrt, cos and cosh.
13429 * math/auto-libm-test-out: Regenerated.
13430 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
13431 (acos_tonearest_test_data): Likewise.
13432 (acos_towardzero_test_data): Likewise.
13433 (acos_downward_test_data): Likewise.
13434 (acos_upward_test_data): Likewise.
13435 (acosh_test_data): Likewise.
13436 (asin_test_data): Likewise.
13437 (asin_tonearest_test_data): Likewise.
13438 (asin_towardzero_test_data): Likewise.
13439 (asin_upward_test_data): Likewise.
13440 (asinh_test_data): Likewise.
13441 (atan_test_data): Likewise.
13442 (atanh_test_data): Likewise.
13443 (cbrt_test_data): Likewise.
13444 (cos_test_data): Likewise.
13445 (cos_tonearest_test_data): Likewise.
13446 (cos_towardzero_test_data): Likewise.
13447 (cos_downward_test_data): Likewise.
13448 (cos_upward_test_data): Likewise.
13449 (cosh_test_data): Likewise.
13450 (cosh_tonearest_test_data): Likewise.
13451 (cosh_towardzero_test_data): Likewise.
13452 (cosh_downward_test_data): Likewise.
13453 (cosh_upward_test_data): Likewise.
13454 * sysdeps/i386/fpu/libm-test-ulps: Update.
13455 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13457 2013-11-29 Joseph Myers <joseph@codesourcery.com>
13460 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
13461 * math/w_exp10f.c (__exp10f): Likewise.
13462 * math/w_exp10l.c (__exp10l): Likewise.
13463 * math/libm-test.inc (exp10_test_data): Add more tests and expect
13464 errno settings in existing tests.
13467 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
13468 precision control set to double precision.
13469 * sysdeps/i386/fpu/w_sqrt.c: New file.
13470 * math/auto-libm-test-in: Add more tests.
13471 * math/auto-libm-test-out: Update.
13473 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
13474 (sqrt_test_tonearest): New function.
13475 (sqrt_towardzero_test_data): New variable.
13476 (sqrt_test_towardzero): New function.
13477 (sqrt_downward_test_data): New variable.
13478 (sqrt_test_downward): New function.
13479 (sqrt_upward_test_data): New variable.
13480 (sqrt_test_upward): New function.
13481 (main): Call the new functions.
13483 * math/gen-auto-libm-tests.c: New file.
13484 * math/auto-libm-test-in: Likewise.
13485 * math/auto-libm-test-out: New generated file.
13486 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
13488 (%beautify): Add generated representations of zero.
13489 (top level): Set $auto_input and call parse_auto_input.
13490 (beautify): Remove trailing "f" from hex float constants.
13491 (parse_args): Handle XFAIL_TEST.
13492 (convert_condition): New function.
13493 (or_value): Likewise.
13494 (or_cond_value): Likewise.
13495 (generate_testfile): Handle AUTO_TESTS_* lines.
13496 (parse_auto_input): New function.
13497 * math/libm-test.inc (XFAIL_TEST): New macro.
13498 (ERRNO_UNCHANGED): Update value.
13499 (ERRNO_EDOM): Likewise.
13500 (ERRNO_ERANGE): Likewise.
13501 (IGNORE_RESULT): Likewise.
13502 (TEST_COND_flt_32): New macro.
13503 (TEST_COND_dbl_64): Likewise.
13504 (TEST_COND_ldbl_96_intel): Likewise.
13505 (TEST_COND_ldbl_96_m68k): Likewise.
13506 (TEST_COND_ldbl_128): Likewise.
13507 (TEST_COND_ldbl_128ibm): Likewise.
13508 (TEST_COND_long32): Likewise.
13509 (TEST_COND_long64): Likewise.
13510 (TEST_COND_before_rounding): Likewise.
13511 (TEST_COND_after_rounding): Likewise.
13512 (enable_test): Handle XFAIL_TEST flag.
13513 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
13514 with finite results.
13515 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
13516 auto-libm-test-out.
13518 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
13519 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13522 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
13523 __tls_get_addr_internal instead of __tls_get_offset in order to
13524 avoid GOT pointer dependency. Make rtld export
13525 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
13526 __tls_get_addr since we are a __tls_get_offset platform.
13527 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
13528 GOT pointer being set up before.
13529 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
13531 2013-11-28 Joseph Myers <joseph@codesourcery.com>
13533 * manual/math.texi (Errors in Math Functions): Document accuracy
13537 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
13538 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
13539 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
13540 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
13541 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
13542 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
13543 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
13544 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
13545 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
13546 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
13547 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
13548 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
13549 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
13550 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
13551 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
13552 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
13554 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
13555 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
13556 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
13557 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
13558 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
13560 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
13562 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
13564 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
13565 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
13566 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
13567 atomic-feupdateenv and flt-rounds.
13568 * sysdeps/powerpc/nofpu/Versions (libc): Add
13569 __atomic_feholdexcept, __atomic_feclearexcept,
13570 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
13571 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
13572 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
13573 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
13574 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
13576 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
13579 * manual/arith.texi (FP Exceptions): Document that exceptions may
13580 not be raised when matherr is used.
13581 (Math Error Reporting): Document overflow in directed rounding
13582 modes. Document that errno may not be set when finite values are
13583 returned on overflow. Document intent to set errno on underflow
13584 only for underflow to zero.
13587 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
13588 round-to-nearest then adjust result for other rounding modes.
13589 * include/fenv.h (fegetround): Use libm_hidden_proto.
13590 * math/fegetround.c (fegetround): Use libm_hidden_def.
13591 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
13592 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
13593 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
13594 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
13596 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
13597 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
13598 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
13599 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
13601 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13604 * nss/Versions (libnss_files): Add
13605 _nss_files_gethostbyname3_r.
13606 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
13608 (HOST_DB_LOOKUP): Remove macro.
13609 (_nss_files_gethostbyname_r): Implement function without the
13610 HOST_DB_LOOKUP macro.
13611 (_nss_files_gethostbyname2_r): Likewise.
13613 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
13615 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
13617 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
13619 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
13620 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
13623 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13625 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
13626 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
13627 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
13628 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
13629 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
13630 __fe_nomask_env_priv and attribute_hidden.
13631 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
13632 (libc_feupdateenv_test_ppc): Likewise.
13633 (libc_feresetround_ppc): Likewise.
13634 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
13635 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
13636 compat_symbol macro.
13637 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
13638 (__fe_nomask_env): Likewise.
13639 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
13641 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
13643 * string/Makefile: Remove ifunc tests.
13644 * string/test-string.h: Define TEST_IFUNC.
13645 * string/test-bcopy-ifunc.c: Remove.
13646 * string/test-bzero-ifunc.c: Likewise.
13647 * string/test-memccpy-ifunc.c: Likewise.
13648 * string/test-memchr-ifunc.c: Likewise.
13649 * string/test-memcmp-ifunc.c: Likewise.
13650 * string/test-memcpy-ifunc.c: Likewise.
13651 * string/test-memmem-ifunc.c: Likewise.
13652 * string/test-memmove-ifunc.c: Likewise.
13653 * string/test-mempcpy-ifunc.c: Likewise.
13654 * string/test-memrchr-ifunc.c: Likewise.
13655 * string/test-memset-ifunc.c: Likewise.
13656 * string/test-rawmemchr-ifunc.c: Likewise.
13657 * string/test-stpcpy-ifunc.c: Likewise.
13658 * string/test-stpncpy-ifunc.c: Likewise.
13659 * string/test-strcasecmp-ifunc.c: Likewise.
13660 * string/test-strcasestr-ifunc.c: Likewise.
13661 * string/test-strcat-ifunc.c: Likewise.
13662 * string/test-strchr-ifunc.c: Likewise.
13663 * string/test-strchrnul-ifunc.c: Likewise.
13664 * string/test-strcmp-ifunc.c: Likewise.
13665 * string/test-strcpy-ifunc.c: Likewise.
13666 * string/test-strcspn-ifunc.c: Likewise.
13667 * string/test-strlen-ifunc.c: Likewise.
13668 * string/test-strncasecmp-ifunc.c: Likewise.
13669 * string/test-strncat-ifunc.c: Likewise.
13670 * string/test-strncmp-ifunc.c: Likewise.
13671 * string/test-strncpy-ifunc.c: Likewise.
13672 * string/test-strnlen-ifunc.c: Likewise.
13673 * string/test-strpbrk-ifunc.c: Likewise.
13674 * string/test-strrchr-ifunc.c: Likewise.
13675 * string/test-strspn-ifunc.c: Likewise.
13676 * string/test-strstr-ifunc.c: Likewise.
13678 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
13680 * benchtests/Makefile: Remove ifunc tests.
13681 * benchtests/bench-string.h: Define TEST_IFUNC.
13682 * benchtests/bench-bcopy-ifunc.c: Remove.
13683 * benchtests/bench-bzero-ifunc.c: Likewise.
13684 * benchtests/bench-memccpy-ifunc.c: Likewise.
13685 * benchtests/bench-memchr-ifunc.c: Likewise.
13686 * benchtests/bench-memcmp-ifunc.c: Likewise.
13687 * benchtests/bench-memcpy-ifunc.c: Likewise.
13688 * benchtests/bench-memmem-ifunc.c: Likewise.
13689 * benchtests/bench-memmove-ifunc.c: Likewise.
13690 * benchtests/bench-mempcpy-ifunc.c: Likewise.
13691 * benchtests/bench-memrchr-ifunc.c: Likewise.
13692 * benchtests/bench-memset-ifunc.c: Likewise.
13693 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
13694 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
13695 * benchtests/bench-stpcpy-ifunc.c: Likewise.
13696 * benchtests/bench-stpncpy-ifunc.c: Likewise.
13697 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
13698 * benchtests/bench-strcasestr-ifunc.c: Likewise.
13699 * benchtests/bench-strcat-ifunc.c: Likewise.
13700 * benchtests/bench-strchr-ifunc.c: Likewise.
13701 * benchtests/bench-strchrnul-ifunc.c: Likewise.
13702 * benchtests/bench-strcmp-ifunc.c: Likewise.
13703 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
13704 * benchtests/bench-strcpy-ifunc.c: Likewise.
13705 * benchtests/bench-strcspn-ifunc.c: Likewise.
13706 * benchtests/bench-strlen-ifunc.c: Likewise.
13707 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
13708 * benchtests/bench-strncat-ifunc.c: Likewise.
13709 * benchtests/bench-strncmp-ifunc.c: Likewise.
13710 * benchtests/bench-strncpy-ifunc.c: Likewise.
13711 * benchtests/bench-strnlen-ifunc.c: Likewise.
13712 * benchtests/bench-strpbrk-ifunc.c: Likewise.
13713 * benchtests/bench-strrchr-ifunc.c: Likewise.
13714 * benchtests/bench-strsep-ifunc.c: Likewise.
13715 * benchtests/bench-strspn-ifunc.c: Likewise.
13716 * benchtests/bench-strstr-ifunc.c: Likewise.
13718 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
13720 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
13722 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
13724 * resolv/netdb.h: Use __glibc_reserved instead __unused.
13725 * rt/aio.h: Likewise.
13726 * sysdeps/gnu/bits/utmp.h: Likewise.
13727 * sysdeps/gnu/bits/utmpx.h: Likewise.
13728 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
13729 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
13730 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
13731 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
13732 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
13733 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
13734 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
13735 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
13736 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
13737 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
13738 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
13739 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
13740 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
13741 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
13742 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
13743 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
13744 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
13745 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
13746 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
13747 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
13748 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
13749 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
13750 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
13751 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
13752 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
13753 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
13754 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
13755 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
13756 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
13757 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
13758 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
13759 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
13760 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
13761 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
13762 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
13763 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
13764 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
13765 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
13766 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
13767 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
13768 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
13769 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
13771 2013-11-25 Carlos O'Donell <carlos@redhat.com>
13774 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
13775 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
13777 2013-11-25 Joseph Myers <joseph@codesourcery.com>
13779 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
13780 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
13783 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13785 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
13786 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
13787 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
13788 (__fesetround): Remove define.
13789 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
13790 rounding and exceptions handling.
13791 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
13792 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
13793 (__fe_nomask_env): Likewise.
13794 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
13795 __fegetround instead of fegetround.
13796 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
13797 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
13799 2013-11-21 Roland McGrath <roland@hack.frob.com>
13801 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
13804 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
13806 2013-11-21 Meador Inge <meadori@codesourcery.com>
13809 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
13810 (encrypt_r): Likewise.
13811 * malloc/obstack.h (obstack_free): Likewise.
13812 * posix/unistd.h (encrypt): Likewise.
13814 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
13816 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
13817 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
13818 DL_CALL_DT_FINI() that call the functions directly.
13819 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
13820 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
13821 * elf/dl-fini.c: Likewise.
13823 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
13825 * malloc/hooks.c (memalign_check): Add alignment rounding.
13826 * malloc/malloc.c (_mid_memalign): New function.
13827 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
13828 Implement by calling _mid_memalign.
13829 * manual/probes.texi (Memory Allocation Probes): Remove
13830 memory_valloc_retry and memory_pvalloc_retry.
13832 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
13834 * locale/programs/locarchive.c (open_archive): Add const
13835 qualifier to ARCHIVEFNAME and copy default fname to
13839 * libio/tst-widetext.input: Rename Oriya to Odia.
13840 * locale/iso-639.def: Likewise.
13842 * manual/probes.texi (Mathematical Function Probes): Add
13843 documentation for sin, cos, asin and acos probes.
13844 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
13845 (__sin32): Add slowasin probe.
13846 (__cos32): Add slowacos probe.
13847 (__mpsin): Add slowsin probe.
13848 (__mpcos): Add slowcos probe.
13850 2013-11-19 Joseph Myers <joseph@codesourcery.com>
13853 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
13854 thread-local __sim_exceptions_thread and global
13855 __sim_exceptions_global.
13856 (__sim_disabled_exceptions): Change to thread-local
13857 __sim_disabled_exceptions_thread and global
13858 __sim_disabled_exceptions_global.
13859 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
13860 and global __sim_round_mode_global.
13861 (__simulate_exceptions): Use thread-local floating-point state and
13862 set global state from it as needed.
13863 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
13864 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
13865 __sim_round_mode_thread.
13866 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
13867 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
13868 and global __sim_exceptions_global.
13869 (__sim_disabled_exceptions): Change to thread-local
13870 __sim_disabled_exceptions_thread and global
13871 __sim_disabled_exceptions_global.
13872 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
13873 and global __sim_round_mode_global.
13874 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
13875 (SIM_SET_GLOBAL): Likewise.
13876 * sysdeps/powerpc/soft-fp/sfp-machine.h
13877 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
13878 __sim_round_mode_thread.
13879 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
13880 __sim_disabled_exceptions_thread.
13881 (__sim_exceptions): Change to __sim_exceptions_thread.
13882 (__sim_disabled_exceptions): Change to
13883 __sim_disabled_exceptions_thread.
13884 (__sim_round_mode): Change to __sim_round_mode_thread.
13885 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
13886 thread-local floating-point state and set global state from it as
13888 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
13889 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
13890 (__sim_disabled_exceptions): Remove extern declaration.
13891 (feenableexcept): Use thread-local floating-point state and set
13892 global state from it as needed.
13893 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
13894 extern declaration.
13895 (__sim_disabled_exceptions): Likewise.
13896 (__sim_round_mode): Likewise.
13897 (__fegetenv): Use thread-local floating-point state.
13898 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
13899 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
13900 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
13901 floating-point state and set global state from it as needed.
13902 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
13903 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
13904 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
13906 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
13907 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
13909 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
13910 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
13911 Use __sim_round_mode_thread.
13912 * math/test-fenv-tls.c: New file.
13913 * math/Makefile (tests): Add test-fenv-tls.
13914 ($(objpfx)test-fenv-tls): Depend on
13915 $(common-objpfx)nptl/libpthread.so.
13917 2013-11-19 Andreas Schwab <schwab@suse.de>
13919 * locale/programs/locale.c (show_info): Decode wordarray elements.
13920 * locale/categories.def (LC_MONETARY): Add element for
13921 _NL_MONETARY_CRNCYSTR.
13922 * locale/C-monetary.c (conversion_rate): New variable.
13923 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
13926 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
13928 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
13929 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
13931 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
13933 * elf/Makefile (tst-auxv): New test.
13934 * elf/tst-auxv.c: New
13935 * elf/rtld.c (dl_main): Adjust AT_EXECFN
13937 2013-11-18 Joseph Myers <joseph@codesourcery.com>
13939 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
13940 (hidden_proto): Caller changed.
13941 (hidden_tls_proto): New macro.
13942 (libc_hidden_tls_proto): Likewise.
13943 (rtld_hidden_tls_proto): Likewise.
13944 (libm_hidden_tls_proto): Likewise.
13945 (libresolv_hidden_tls_proto): Likewise.
13946 (librt_hidden_tls_proto): Likewise.
13947 (libdl_hidden_tls_proto): Likewise.
13948 (libnss_files_hidden_tls_proto): Likewise.
13949 (libnsl_hidden_tls_proto): Likewise.
13950 (libnss_nisplus_hidden_tls_proto): Likewise.
13951 (libutil_hidden_tls_proto): Likewise.
13953 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
13956 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
13957 (decompose_rpath): Defer expansion to fillin_rpath.
13958 (_dl_init_paths): Pass linkmap to fillin_rpath.
13960 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13962 * benchtests/Makefile: Add strsep.
13963 * benchtests/bench-strsep.c: New file: strsep benchtest.
13964 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
13966 2013-11-18 Andreas Schwab <schwab@suse.de>
13968 * locale/programs/locale.c (show_info) [case byte]: Check for
13969 '\377' instead of '\177'.
13970 * locale/C-monetary.c (not_available): Always use "\377".
13971 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
13972 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
13973 detect unavailable sign_posn locale elements.
13974 * locale/localeconv.c (__localeconv): For grouping and
13975 mon_grouping handle "\177" and "\377" like no grouping.
13976 (INT_ELEM): New macro. Use it to set all numeric members.
13977 * locale/programs/ld-monetary.c (monetary_read)
13978 <tok_mon_grouping>: Normalize single -1 to the empty string.
13979 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
13982 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
13985 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
13986 when we match (nil).
13987 * stdio-common/tst-sscanf.c (struct test): Add testcase.
13989 2013-11-16 Joseph Myers <joseph@codesourcery.com>
13991 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
13992 (NO_TEST_INLINE): Update value.
13993 (ERRNO_UNCHANGED): Likewise.
13994 (ERRNO_EDOM): Likewise.
13995 (ERRNO_ERANGE): Likewise.
13996 (IGNORE_RESULT): Likewise.
13997 (check_float_internal): Check signs of NaN results if
13998 TEST_NAN_SIGN used.
13999 (check_complex): Pass TEST_NAN_SIGN flag through to second
14000 check_float_internal call.
14001 (copysign_test_data): Add tests with quiet NaNs as second
14002 argument. Use TEST_NAN_SIGN.
14003 (fabs_test_data): Add test of negative quiet NaN argument. Use
14005 (signbit_test_data): Add tests of quiet NaN argument.
14006 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
14008 * math/gen-libm-test.pl (show_exceptions): Take extra argument
14010 (parse_args): Handle function results specified as IGNORE.
14011 * math/libm-test.inc (IGNORE_RESULT): New macro.
14012 (check_float_internal): Do not check numerical result if flag
14014 (check_complex): Pass through IGNORE_RESULT to second
14015 check_float_internal call.
14016 (check_int): Do not check numerical result if flag IGNORE_RESULT
14018 (check_long): Likewise.
14019 (check_bool): Likewise.
14020 (check_longlong): Likewise.
14021 (lrint_test_data): Add tests of infinite and NaN arguments.
14022 (lrint_tonearest_test_data): Likewise.
14023 (lrint_towardzero_test_data): Likewise.
14024 (lrint_downward_test_data): Likewise.
14025 (lrint_upward_test_data): Likewise.
14026 (llrint_test_data): Likewise.
14027 (llrint_tonearest_test_data): Likewise.
14028 (llrint_towardzero_test_data): Likewise.
14029 (llrint_downward_test_data): Likewise.
14030 (llrint_upward_test_data): Likewise.
14031 (lround_test_data): Likewise.
14032 (llround_test_data): Likewise.
14034 * math/libm-test.inc (NO_TEST_INLINE): New macro.
14035 (ERRNO_UNCHANGED): Update value.
14036 (ERRNO_EDOM): Likewise.
14037 (ERRNO_ERANGE): Likewise.
14038 (NO_TEST_INLINE_FLOAT): New macro.
14039 (NO_TEST_INLINE_DOUBLE): Likewise.
14040 (enable_test): New function.
14041 (RUN_TEST_f_f): Check enable_test before running test.
14042 (RUN_TEST_2_f): Likewise.
14043 (RUN_TEST_fff_f): Likewise.
14044 (RUN_TEST_c_f): Likewise.
14045 (RUN_TEST_f_f1): Likewise.
14046 (RUN_TEST_fF_f1): Likewise.
14047 (RUN_TEST_fI_f1): Likewise.
14048 (RUN_TEST_ffI_f1): Likewise.
14049 (RUN_TEST_c_c): Likewise.
14050 (RUN_TEST_cc_c): Likewise.
14051 (RUN_TEST_f_i): Likewise.
14052 (RUN_TEST_f_i_tg): Likewise.
14053 (RUN_TEST_ff_i_tg): Likewise.
14054 (RUN_TEST_f_b): Likewise.
14055 (RUN_TEST_f_b_tg): Likewise.
14056 (RUN_TEST_f_l): Likewise.
14057 (RUN_TEST_f_L): Likewise.
14058 (RUN_TEST_fFF_11): Likewise.
14059 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
14061 (cosh_test_data): Likewise.
14062 (exp_test_data): Likewise.
14063 (expm1_test_data): Likewise.
14064 (hypot_test_data): Likewise.
14065 (pow_test_data): Likewise.
14066 (sinh_test_data): Likewise.
14067 (tanh_test_data): Likewise.
14068 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
14071 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
14072 tests with quiet NaN input and output.
14073 (acosh_test_data): Likewise.
14074 (asin_test_data): Likewise.
14075 (asinh_test_data): Likewise.
14076 (atan_test_data): Likewise.
14077 (atanh_test_data): Likewise.
14078 (atan2_test_data): Likewise.
14079 (cbrt_test_data): Likewise.
14080 (cos_test_data): Likewise.
14081 (cosh_test_data): Likewise.
14082 (erf_test_data): Likewise.
14083 (erfc_test_data): Likewise.
14084 (exp_test_data): Likewise.
14085 (exp10_test_data): Likewise.
14086 (exp2_test_data): Likewise.
14087 (expm1_test_data): Likewise.
14088 (hypot_test_data): Likewise.
14089 (j0_test_data): Likewise.
14090 (j1_test_data): Likewise.
14091 (jn_test_data): Likewise.
14092 (lgamma_test_data): Likewise.
14093 (log_test_data): Likewise.
14094 (log10_test_data): Likewise.
14095 (log1p_test_data): Likewise.
14096 (log2_test_data): Likewise.
14097 (pow_test_data): Likewise.
14098 (scalb_test_data): Likewise.
14099 (sin_test_data): Likewise.
14100 (sincos_test_data): Likewise.
14101 (sinh_test_data): Likewise.
14102 (tan_test_data): Likewise.
14103 (tanh_test_data): Likewise.
14104 (tgamma_test_data): Likewise.
14105 (y0_test_data): Likewise.
14106 (y1_test_data): Likewise.
14107 (yn_test_data): Likewise.
14110 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
14111 argument being NaN and avoid computations with second argument in
14113 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
14114 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
14115 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
14117 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
14119 * locale/iso-639.def: Add Chitwani Tharu (the).
14121 2013-11-14 Andreas Schwab <schwab@suse.de>
14123 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
14124 word instead of empty string.
14126 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14128 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
14129 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
14130 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
14131 (__fe_nomask_env): Likewise.
14133 2013-11-13 Steve Ellcey <sellcey@mips.com>
14135 * benchtests/bench-timing.h: Include time.h.
14137 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
14140 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
14142 * sysdeps/unix/sysv/linux/configure: Regenerated.
14144 2013-11-13 Joseph Myers <joseph@codesourcery.com>
14147 * stdlib/strtod_l.c (round_and_return): Do not consider
14148 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
14149 exponent one less than half the least subnormal exponent.
14150 * stdlib/test-strtod-round-data: Add more tests.
14151 * stdlib/tst-strtod-round.c (tests): Regenerated.
14153 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14156 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
14157 (__fe_mask_env): Likewise.
14158 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
14159 libm_hidden_proto and add function prototype.
14160 (__fe_mask_env): Add function prototype.
14161 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
14162 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
14163 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
14164 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
14165 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
14166 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
14168 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14170 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
14171 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
14173 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14175 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
14176 of htab_find_slot().
14178 2013-11-11 David S. Miller <davem@davemloft.net>
14181 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
14182 symbol in the non-vis3 case in static builds.
14183 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
14184 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
14185 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
14186 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
14188 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
14191 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
14194 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14196 * benchtests/Makefile: Add bench-strtod.
14197 * benchtests/bench-strtod.c: New file: strtod benchtest
14199 2013-11-11 Andreas Schwab <schwab@suse.de>
14202 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
14203 terminating NUL in key length.
14205 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14207 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
14208 Add artificial ODP entry for vDSO symbol for PPC64.
14209 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
14210 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
14212 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
14215 * nss/getent.c (services_keys): Recognize services starting with digit.
14217 2013-11-06 David S. Miller <davem@davemloft.net>
14220 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
14221 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
14223 2013-11-06 Will Newton <will.newton@linaro.org>
14225 * manual/memory.texi (Malloc Examples): Remove register
14226 keyword from examples.
14228 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
14230 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
14232 2013-11-04 Joseph Myers <joseph@codesourcery.com>
14235 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
14236 depending on [__GCC_IEC_559 > 0].
14237 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
14238 depending on [__GCC_IEC_559_COMPLEX > 0].
14240 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
14242 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
14245 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
14247 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
14249 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
14252 * malloc/malloc (malloc_info): Do not handle first bin as
14255 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
14257 * locale/iso-639.def: Add Central Nahuatl (nhn).
14259 2013-11-01 Bruno Haible <bruno@clisp.org>
14262 * manual/math.texi (BSD Random): Specify range upper bound as
14265 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
14267 * locale/iso-639.def: Add Meadow Mari (mhr).
14269 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
14271 [BZ #14752], [BZ #15763]
14272 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
14274 * rt/tst_shm.c: Add test for escaping directory.
14276 2013-10-31 Andreas Schwab <schwab@suse.de>
14279 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
14280 followed by 'x' as part of digit sequence.
14281 * stdio-common/tst-sscanf.c (double_tests2): New tests.
14283 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
14286 * configure.ac: allow GNU Make 4.0 and greater.
14287 * configure: Regenerated.
14289 2013-10-30 Will Newton <will.newton@linaro.org>
14292 * malloc/hooks.c (memalign_check): Limit alignment to the
14293 maximum representable power of two.
14294 * malloc/malloc.c (__libc_memalign): Likewise.
14295 * malloc/tst-memalign.c (do_test): Add test for very
14296 large alignment values.
14297 * malloc/tst-posix_memalign.c (do_test): Likewise.
14299 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
14302 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
14303 (munmap_chunk): Likewise.
14304 (mremap_chunk): Likewise.
14306 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
14309 * stdlib/div.c (div): Remove obsolete code.
14310 * stdlib/ldiv.c (ldiv): Likewise.
14311 * stdlib/lldiv.c (lldiv): Likewise.
14313 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
14316 * nss/nss_files/files-XXX.c (get_contents_ret): New
14318 (get_contents): New function.
14319 (internal_getent): Use it. Expand size of LINEBUFLEN.
14321 2013-10-30 Mike Frysinger <vapier@gentoo.org>
14323 * configure.in: Moved to ...
14324 * configure.ac: ... here. Change reference to configure.in
14326 * sysdeps/arm/preconfigure.ac: ... here.
14327 configure.in to configure.ac.
14328 * sysdeps/gnu/configure.in: Moved to ...
14329 * sysdeps/gnu/configure.ac: ... here.
14330 * sysdeps/i386/configure.in: Moved to ...
14331 * sysdeps/i386/configure.ac: ... here.
14332 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
14333 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
14334 * sysdeps/mach/configure.in: Moved to ...
14335 * sysdeps/mach/configure.ac: ... here.
14336 * sysdeps/mach/hurd/configure.in: Moved to ...
14337 * sysdeps/mach/hurd/configure.ac: ... here.
14338 * sysdeps/powerpc/configure.in: Moved to ...
14339 * sysdeps/powerpc/configure.ac: ... here.
14340 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
14341 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
14342 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
14343 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
14344 * sysdeps/s390/s390-32/configure.in: Moved to ...
14345 * sysdeps/s390/s390-32/configure.ac: ... here.
14346 * sysdeps/s390/s390-64/configure.in: Moved to ...
14347 * sysdeps/s390/s390-64/configure.ac: ... here.
14348 * sysdeps/sh/configure.in: Moved to ...
14349 * sysdeps/sh/configure.ac: ... here.
14350 * sysdeps/sparc/configure.in: Moved to ...
14351 * sysdeps/sparc/configure.ac: ... here.
14352 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
14353 * sysdeps/unix/sysv/linux/configure.ac: ... here.
14354 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
14355 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
14356 * sysdeps/x86_64/configure.in: Moved to ...
14357 * sysdeps/x86_64/configure.ac: ... here.
14358 * sysdeps/x86_64/preconfigure.in: Moved to ...
14359 * sysdeps/x86_64/preconfigure.ac: ... here.
14360 * aclocal.m4: Change reference to configure.in to configure.ac.
14361 * config.h.in: Likewise.
14362 * manual/install.texi: Likewise.
14363 * manual/maint.texi: Likewise.
14364 * Makefile: Likewise.
14365 * malloc/Makefile: Likewise.
14366 * nscd/Makefile: Likewise.
14367 * Makeconfig: Change reference to configure.in and
14368 preconfigure.in to configure.ac and preconfigure.ac
14370 * INSTALL: Regenerated.
14371 * configure: Likewise.
14372 * sysdeps/gnu/configure: Likewise.
14373 * sysdeps/i386/configure: Likewise.
14374 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
14375 * sysdeps/mach/configure: Likewise.
14376 * sysdeps/mach/hurd/configure: Likewise.
14377 * sysdeps/powerpc/configure: Likewise.
14378 * sysdeps/powerpc/powerpc32/configure: Likewise.
14379 * sysdeps/powerpc/powerpc64/configure: Likewise.
14380 * sysdeps/s390/s390-32/configure: Likewise.
14381 * sysdeps/s390/s390-64/configure: Likewise.
14382 * sysdeps/sh/configure: Likewise.
14383 * sysdeps/sparc/configure: Likewise.
14384 * sysdeps/unix/sysv/linux/configure: Likewise.
14385 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
14386 * sysdeps/x86_64/configure: Likewise.
14387 * sysdeps/x86_64/preconfigure: Likewise.
14389 2013-10-29 Andreas Schwab <schwab@suse.de>
14391 * stdio-common/Makefile (tst-swscanf-ENV): Define.
14393 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14395 * benchtests/pow-inputs: Add new inputs.
14397 * benchtests/exp-inputs: Add new inputs.
14399 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
14400 conditional check for return value.
14401 (__cos32): Likewise.
14403 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14405 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
14406 to provide a boost for large inputs with word alignment.
14407 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
14408 implementation based on optimized PPC64 strcpy.
14409 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
14410 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
14411 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
14412 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
14414 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
14417 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
14419 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
14422 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
14423 * time/tst-strptime.c (day_tests): Add testcase.
14425 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
14428 * manual/pattern.texi: Acknowledge that fnmatch can fail.
14430 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
14433 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
14434 MAP_FAILED on error.
14436 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
14439 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
14440 heap for large requests.
14442 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
14445 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
14446 result if the result has no associated interface.
14447 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
14448 interface for all 127.X.Y.Z addresses.
14450 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
14452 * locale/iso-639.def: Add Ligurian (lij)
14454 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
14457 * sunrpc/rpc_main.c: Document rpcgen -5.
14459 2013-10-19 Michael Stahl <mstahl@redhat.com>
14461 * elf/rtld.c (do_preload): Print the reason why preloading failed.
14463 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
14466 * posix/glob.c: Match only directories when trailing slash is present.
14467 * posix/tst-gnuglob.c (my_opendir): Do not open files.
14468 (main): Add testcase.
14470 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
14473 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
14475 2013-10-18 Carlos O'Donell <carlos@redhat.com>
14477 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
14478 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
14479 AUTH_DES and cindex for FIPS 140-2.
14480 (DES Encryption): Add cindex FIPS 46-3.
14482 * locale/locarchive.h (struct locarhandle): Add fname.
14483 * locale/programs/localedef.c (main): Pass ARGV[remaining]
14484 if an optional argument was specified to --list-archive,
14486 * locale/programs/locarchive.c (show_archive_content): Take new
14487 argument fname and pass it via ah.fname to open_archive.
14488 * locale/programs/localedef.h: Update decl.
14489 (open_archive): If AH->fname is non-null, open that file
14490 rather than the default file name, and don't ignore ENOENT.
14491 (create_archive): Set AH.fname to NULL.
14492 (delete_locales_from_archive): Likewise.
14493 (add_locales_to_archive): Likewise.
14494 * locale/programs/locfile.c (write_all_categories): Likewise.
14496 2013-10-18 Joseph Myers <joseph@codesourcery.com>
14497 Aldy Hernandez <aldyh@redhat.com>
14499 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
14500 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
14501 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
14502 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
14503 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
14504 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
14505 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
14506 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
14507 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
14508 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
14509 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
14510 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
14511 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
14512 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
14513 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
14515 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
14517 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
14519 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
14521 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
14522 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
14524 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
14525 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
14526 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
14527 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
14529 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
14530 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
14531 * sysdeps/powerpc/preconfigure: Likewise.
14532 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
14534 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
14535 Replace contents of file by #include of <fenv_libc.h>.
14536 * sysdeps/powerpc/soft-fp/sfp-machine.h
14537 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
14539 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
14540 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
14541 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
14542 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
14543 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
14544 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
14545 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
14546 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
14547 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
14548 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
14549 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
14550 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
14551 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
14552 Allow copysignl PLT reference to be missing.
14554 2013-10-18 Richard Sandiford <richard@codesourcery.com>
14555 Joseph Myers <joseph@codesourcery.com
14558 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
14560 (add_to_tablewc): Assert sequence of wide characters is nonempty.
14562 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
14564 * elf/tst-tls-dlinfo.c: Don't include tls.h.
14565 * elf/tst-tls1.c: Likewise.
14566 * elf/tst-tls10.h: Likewise.
14567 * elf/tst-tls14.c: Likewise.
14568 * elf/tst-tls2.c: Likewise.
14569 * elf/tst-tls3.c: Likewise.
14570 * elf/tst-tls4.c: Likewise.
14571 * elf/tst-tls5.c: Likewise.
14572 * elf/tst-tls6.c: Likewise.
14573 * elf/tst-tls7.c: Likewise.
14574 * elf/tst-tls8.c: Likewise.
14575 * elf/tst-tls9.c: Likewise.
14576 * elf/tst-tlsmod1.c: Likewise.
14577 * elf/tst-tlsmod13.c: Likewise.
14578 * elf/tst-tlsmod13a.c: Likewise.
14579 * elf/tst-tlsmod14a.c: Likewise.
14580 * elf/tst-tlsmod16a.c: Likewise.
14581 * elf/tst-tlsmod16b.c: Likewise.
14582 * elf/tst-tlsmod2.c: Likewise.
14583 * elf/tst-tlsmod3.c: Likewise.
14584 * elf/tst-tlsmod4.c: Likewise.
14585 * elf/tst-tlsmod5.c: Likewise.
14586 * elf/tst-tlsmod6.c: Likewise.
14588 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
14591 * malloc/malloc.c: remove checks for statistics.
14593 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
14596 * inet/inet_net.c (inet_network): Detect additional invalid strings.
14597 * inet/tst-network.c: Add testcase.
14599 2013-10-17 Andreas Schwab <schwab@suse.de>
14602 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
14603 to determine canonical name.
14605 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
14607 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
14608 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
14609 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14610 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
14611 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14612 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
14613 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
14614 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
14615 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
14616 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
14617 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
14618 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
14619 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
14620 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
14621 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
14622 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
14623 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14624 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
14625 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
14626 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
14627 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
14628 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14629 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
14630 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
14631 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
14632 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
14633 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
14634 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
14635 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
14636 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
14637 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
14638 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14639 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
14640 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
14641 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
14642 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
14643 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
14644 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
14645 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
14646 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
14647 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
14648 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
14649 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
14650 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
14651 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
14652 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
14653 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
14654 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
14655 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
14656 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
14657 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
14658 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
14659 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
14660 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
14661 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
14662 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
14663 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14664 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
14666 2013-10-17 Joseph Myers <joseph@codesourcery.com>
14669 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
14670 make result into a quiet NaN.
14672 2013-10-16 Joseph Myers <joseph@codesourcery.com>
14674 * soft-fp/adddf3.c: Fix horizontal whitespace.
14675 * soft-fp/addsf3.c: Likewise.
14676 * soft-fp/addtf3.c: Likewise.
14677 * soft-fp/divdf3.c: Likewise.
14678 * soft-fp/divsf3.c: Likewise.
14679 * soft-fp/divtf3.c: Likewise.
14680 * soft-fp/double.h: Likewise.
14681 * soft-fp/eqdf2.c: Likewise.
14682 * soft-fp/eqsf2.c: Likewise.
14683 * soft-fp/eqtf2.c: Likewise.
14684 * soft-fp/extenddftf2.c: Likewise.
14685 * soft-fp/extended.h: Likewise.
14686 * soft-fp/extendsfdf2.c: Likewise.
14687 * soft-fp/extendsftf2.c: Likewise.
14688 * soft-fp/extendxftf2.c: Likewise.
14689 * soft-fp/fixdfdi.c: Likewise.
14690 * soft-fp/fixdfsi.c: Likewise.
14691 * soft-fp/fixdfti.c: Likewise.
14692 * soft-fp/fixsfdi.c: Likewise.
14693 * soft-fp/fixsfsi.c: Likewise.
14694 * soft-fp/fixsfti.c: Likewise.
14695 * soft-fp/fixtfdi.c: Likewise.
14696 * soft-fp/fixtfsi.c: Likewise.
14697 * soft-fp/fixtfti.c: Likewise.
14698 * soft-fp/fixunsdfdi.c: Likewise.
14699 * soft-fp/fixunsdfsi.c: Likewise.
14700 * soft-fp/fixunsdfti.c: Likewise.
14701 * soft-fp/fixunssfdi.c: Likewise.
14702 * soft-fp/fixunssfsi.c: Likewise.
14703 * soft-fp/fixunssfti.c: Likewise.
14704 * soft-fp/fixunstfdi.c: Likewise.
14705 * soft-fp/fixunstfsi.c: Likewise.
14706 * soft-fp/fixunstfti.c: Likewise.
14707 * soft-fp/floatdidf.c: Likewise.
14708 * soft-fp/floatdisf.c: Likewise.
14709 * soft-fp/floatditf.c: Likewise.
14710 * soft-fp/floatsidf.c: Likewise.
14711 * soft-fp/floatsisf.c: Likewise.
14712 * soft-fp/floatsitf.c: Likewise.
14713 * soft-fp/floattidf.c: Likewise.
14714 * soft-fp/floattisf.c: Likewise.
14715 * soft-fp/floattitf.c: Likewise.
14716 * soft-fp/floatundidf.c: Likewise.
14717 * soft-fp/floatundisf.c: Likewise.
14718 * soft-fp/floatunditf.c: Likewise.
14719 * soft-fp/floatunsidf.c: Likewise.
14720 * soft-fp/floatunsisf.c: Likewise.
14721 * soft-fp/floatunsitf.c: Likewise.
14722 * soft-fp/floatuntidf.c: Likewise.
14723 * soft-fp/floatuntisf.c: Likewise.
14724 * soft-fp/floatuntitf.c: Likewise.
14725 * soft-fp/fmadf4.c: Likewise.
14726 * soft-fp/fmasf4.c: Likewise.
14727 * soft-fp/fmatf4.c: Likewise.
14728 * soft-fp/gedf2.c: Likewise.
14729 * soft-fp/gesf2.c: Likewise.
14730 * soft-fp/getf2.c: Likewise.
14731 * soft-fp/ledf2.c: Likewise.
14732 * soft-fp/lesf2.c: Likewise.
14733 * soft-fp/letf2.c: Likewise.
14734 * soft-fp/muldf3.c: Likewise.
14735 * soft-fp/mulsf3.c: Likewise.
14736 * soft-fp/multf3.c: Likewise.
14737 * soft-fp/negdf2.c: Likewise.
14738 * soft-fp/negsf2.c: Likewise.
14739 * soft-fp/negtf2.c: Likewise.
14740 * soft-fp/op-1.h: Likewise.
14741 * soft-fp/op-2.h: Likewise.
14742 * soft-fp/op-4.h: Likewise.
14743 * soft-fp/op-8.h: Likewise.
14744 * soft-fp/op-common.h: Likewise.
14745 * soft-fp/quad.h: Likewise.
14746 * soft-fp/single.h: Likewise.
14747 * soft-fp/soft-fp.h: Likewise.
14748 * soft-fp/sqrtdf2.c: Likewise.
14749 * soft-fp/sqrtsf2.c: Likewise.
14750 * soft-fp/sqrttf2.c: Likewise.
14751 * soft-fp/subdf3.c: Likewise.
14752 * soft-fp/subsf3.c: Likewise.
14753 * soft-fp/subtf3.c: Likewise.
14754 * soft-fp/truncdfsf2.c: Likewise.
14755 * soft-fp/trunctfdf2.c: Likewise.
14756 * soft-fp/trunctfsf2.c: Likewise.
14757 * soft-fp/trunctfxf2.c: Likewise.
14758 * soft-fp/unorddf2.c: Likewise.
14759 * soft-fp/unordsf2.c: Likewise.
14760 * soft-fp/unordtf2.c: Likewise.
14762 2013-10-15 Joseph Myers <joseph@codesourcery.com>
14764 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
14765 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
14767 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
14769 * elf/dl-libc.c: Clear initfini list after freeing.
14771 2013-10-14 Joseph Myers <joseph@codesourcery.com>
14773 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
14774 * soft-fp/addsf3.c: Likewise.
14775 * soft-fp/addtf3.c: Likewise.
14776 * soft-fp/divdf3.c: Likewise.
14777 * soft-fp/divsf3.c: Likewise.
14778 * soft-fp/divtf3.c: Likewise.
14779 * soft-fp/double.h: Likewise.
14780 * soft-fp/eqdf2.c: Likewise.
14781 * soft-fp/eqsf2.c: Likewise.
14782 * soft-fp/eqtf2.c: Likewise.
14783 * soft-fp/extenddftf2.c: Likewise.
14784 * soft-fp/extended.h: Likewise.
14785 * soft-fp/extendsfdf2.c: Likewise.
14786 * soft-fp/extendsftf2.c: Likewise.
14787 * soft-fp/extendxftf2.c: Likewise.
14788 * soft-fp/fixdfdi.c: Likewise.
14789 * soft-fp/fixdfsi.c: Likewise.
14790 * soft-fp/fixdfti.c: Likewise.
14791 * soft-fp/fixsfdi.c: Likewise.
14792 * soft-fp/fixsfsi.c: Likewise.
14793 * soft-fp/fixsfti.c: Likewise.
14794 * soft-fp/fixtfdi.c: Likewise.
14795 * soft-fp/fixtfsi.c: Likewise.
14796 * soft-fp/fixtfti.c: Likewise.
14797 * soft-fp/fixunsdfdi.c: Likewise.
14798 * soft-fp/fixunsdfsi.c: Likewise.
14799 * soft-fp/fixunsdfti.c: Likewise.
14800 * soft-fp/fixunssfdi.c: Likewise.
14801 * soft-fp/fixunssfsi.c: Likewise.
14802 * soft-fp/fixunssfti.c: Likewise.
14803 * soft-fp/fixunstfdi.c: Likewise.
14804 * soft-fp/fixunstfsi.c: Likewise.
14805 * soft-fp/fixunstfti.c: Likewise.
14806 * soft-fp/floatdidf.c: Likewise.
14807 * soft-fp/floatdisf.c: Likewise.
14808 * soft-fp/floatditf.c: Likewise.
14809 * soft-fp/floatsidf.c: Likewise.
14810 * soft-fp/floatsisf.c: Likewise.
14811 * soft-fp/floatsitf.c: Likewise.
14812 * soft-fp/floattidf.c: Likewise.
14813 * soft-fp/floattisf.c: Likewise.
14814 * soft-fp/floattitf.c: Likewise.
14815 * soft-fp/floatundidf.c: Likewise.
14816 * soft-fp/floatundisf.c: Likewise.
14817 * soft-fp/floatunsidf.c: Likewise.
14818 * soft-fp/floatunsisf.c: Likewise.
14819 * soft-fp/floatuntidf.c: Likewise.
14820 * soft-fp/floatuntisf.c: Likewise.
14821 * soft-fp/floatuntitf.c: Likewise.
14822 * soft-fp/fmadf4.c: Likewise.
14823 * soft-fp/fmasf4.c: Likewise.
14824 * soft-fp/fmatf4.c: Likewise.
14825 * soft-fp/gedf2.c: Likewise.
14826 * soft-fp/gesf2.c: Likewise.
14827 * soft-fp/getf2.c: Likewise.
14828 * soft-fp/ledf2.c: Likewise.
14829 * soft-fp/lesf2.c: Likewise.
14830 * soft-fp/letf2.c: Likewise.
14831 * soft-fp/muldf3.c: Likewise.
14832 * soft-fp/mulsf3.c: Likewise.
14833 * soft-fp/multf3.c: Likewise.
14834 * soft-fp/negdf2.c: Likewise.
14835 * soft-fp/negsf2.c: Likewise.
14836 * soft-fp/negtf2.c: Likewise.
14837 * soft-fp/op-1.h: Likewise.
14838 * soft-fp/op-2.h: Likewise.
14839 * soft-fp/op-4.h: Likewise.
14840 * soft-fp/op-8.h: Likewise.
14841 * soft-fp/op-common.h: Likewise.
14842 * soft-fp/quad.h: Likewise.
14843 * soft-fp/single.h: Likewise.
14844 * soft-fp/soft-fp.h: Likewise.
14845 * soft-fp/sqrtdf2.c: Likewise.
14846 * soft-fp/sqrtsf2.c: Likewise.
14847 * soft-fp/sqrttf2.c: Likewise.
14848 * soft-fp/subdf3.c: Likewise.
14849 * soft-fp/subsf3.c: Likewise.
14850 * soft-fp/subtf3.c: Likewise.
14851 * soft-fp/truncdfsf2.c: Likewise.
14852 * soft-fp/trunctfdf2.c: Likewise.
14853 * soft-fp/trunctfsf2.c: Likewise.
14854 * soft-fp/trunctfxf2.c: Likewise.
14855 * soft-fp/unorddf2.c: Likewise.
14856 * soft-fp/unordsf2.c: Likewise.
14857 * soft-fp/unordtf2.c: Likewise.
14859 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
14862 * misc/error.c (error_tail): Fix possible buffer overflow.
14864 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
14867 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
14870 2013-10-14 P. J. McDermott <pj@pehjota.net>
14873 * elf/ldd.bash.in (try_trace): New function. Delete previous code
14874 testing pipefail option.
14876 2013-10-12 Joseph Myers <joseph@codesourcery.com>
14878 * soft-fp/double.h: Indent preprocessor directives inside #if.
14879 * soft-fp/extended.h: Likewise.
14880 * soft-fp/op-2.h: Likewise.
14881 * soft-fp/op-4.h: Likewise.
14882 * soft-fp/op-common.h: Likewise.
14883 * soft-fp/quad.h: Likewise.
14884 * soft-fp/single.h: Likewise.
14885 * soft-fp/soft-fp.h: Likewise.
14887 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
14889 * iconv/iconv_prog.c: Fix typos.
14890 * stdio-common/psiginfo-data.h: Likewise.
14892 2013-10-12 Reuben Thomas <rrt@sc3d.org>
14895 * locale/setlocale.c: Fix typo.
14897 2013-10-12 Joseph Myers <joseph@codesourcery.com>
14900 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
14901 signaling NaN arguments.
14902 * soft-fp/unordsf2.c (__unordsf2): Likewise.
14903 * soft-fp/unordtf2.c (__unordtf2): Likewise.
14906 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
14907 unordered operands.
14908 * soft-fp/gesf2.c (__gesf2): Likewise.
14909 * soft-fp/getf2.c (__getf2): Likewise.
14910 * soft-fp/ledf2.c (__ledf2): Likewise.
14911 * soft-fp/lesf2.c (__lesf2): Likewise.
14912 * soft-fp/letf2.c (__letf2): Likewise.
14914 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
14915 * soft-fp/eqsf2.c (__eqsf2): Likewise.
14916 * soft-fp/eqtf2.c (__eqtf2): Likewise.
14917 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
14918 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
14919 * soft-fp/fixdfti.c (__fixdfti): Likewise.
14920 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
14921 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
14922 * soft-fp/fixsfti.c (__fixsfti): Likewise.
14923 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
14924 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
14925 * soft-fp/fixtfti.c (__fixtfti): Likewise.
14926 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
14927 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
14928 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
14929 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
14930 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
14931 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
14932 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
14933 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
14934 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
14935 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
14936 * soft-fp/floatdisf.c (__floatdisf): Likewise.
14937 * soft-fp/floatsisf.c (__floatsisf): Likewise.
14938 * soft-fp/floattidf.c (__floattidf): Likewise.
14939 * soft-fp/floattisf.c (__floattisf): Likewise.
14940 * soft-fp/floattitf.c (__floattitf): Likewise.
14941 * soft-fp/floatundidf.c (__floatundidf): Likewise.
14942 * soft-fp/floatundisf.c (__floatundisf): Likewise.
14943 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
14944 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
14945 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
14946 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
14947 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
14948 * soft-fp/gesf2.c (__gesf2): Likewise.
14949 * soft-fp/getf2.c (__getf2): Likewise.
14950 * soft-fp/ledf2.c (__ledf2): Likewise.
14951 * soft-fp/lesf2.c (__lesf2): Likewise.
14952 * soft-fp/letf2.c (__letf2): Likewise.
14954 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
14955 Undefine and redefine.
14956 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
14957 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
14958 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
14959 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
14960 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14961 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
14962 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14963 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
14964 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14965 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
14966 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14967 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
14968 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14969 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
14970 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14973 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
14974 without decrementing exponent if mantissa >= that for the
14975 denominator, not >.
14976 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
14977 denominator, not >. Decrement exponent in < case instead of
14978 incrementing in >= case.
14979 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
14980 without decrementing exponent if mantissa >= that for the
14981 denominator, not >.
14983 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
14984 computing saturated result for unsigned overflow.
14986 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
14987 Jeff Law <law@redhat.com>
14989 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
14990 (atan2Mp): Add systemtap probe marker.
14991 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
14992 (__ieee754_log): Add systemtap probe marker.
14993 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
14994 (atanMp): Add systemtap probe marker.
14995 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
14996 (tanMp): Add systemtap probe marker.
14997 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
14998 (__slowexp): Add systemtap probe marker.
14999 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
15000 (__slowpow): Add systemtap probe marker.
15001 * manual/probes.texi: Document probes.
15003 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
15006 * libio/fileops.c (_IO_new_file_write): Return count of bytes
15008 (_IO_new_file_xsputn): Don't return EOF if nothing has been
15010 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
15011 written to buffer but not flushed.
15012 * libio/iofwrite_u.c: Likewise.
15013 * libio/iopadn.c: Return bytes returned even if EOF was
15015 * libio/iowpadn.c: Likewise.
15016 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
15017 if _IO_padn does not write the whole buffer.
15018 [!COMPILE_WPRINTF] (PAD): Likewise.
15020 2013-10-10 David S. Miller <davem@davemloft.net>
15022 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
15025 2013-10-10 Joseph Myers <joseph@codesourcery.com>
15027 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
15028 instead of FSF address.
15029 * soft-fp/fixdfti.c: Likewise.
15030 * soft-fp/fixsfti.c: Likewise.
15031 * soft-fp/fixtfti.c: Likewise.
15032 * soft-fp/fixunsdfti.c: Likewise.
15033 * soft-fp/fixunssfti.c: Likewise.
15034 * soft-fp/fixunstfti.c: Likewise.
15035 * soft-fp/floattidf.c: Likewise.
15036 * soft-fp/floattisf.c: Likewise.
15037 * soft-fp/floattitf.c: Likewise.
15038 * soft-fp/floatuntidf.c: Likewise.
15039 * soft-fp/floatuntisf.c: Likewise.
15040 * soft-fp/floatuntitf.c: Likewise.
15041 * soft-fp/trunctfxf2.c: Likewise.
15043 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
15044 * soft-fp/fixdfti.c: Likewise.
15045 * soft-fp/fixsfti.c: Likewise.
15046 * soft-fp/fixtfti.c: Likewise.
15047 * soft-fp/fixunsdfti.c: Likewise.
15048 * soft-fp/fixunssfti.c: Likewise.
15049 * soft-fp/fixunstfti.c: Likewise.
15050 * soft-fp/floattidf.c: Likewise.
15051 * soft-fp/floattisf.c: Likewise.
15052 * soft-fp/floattitf.c: Likewise.
15053 * soft-fp/floatuntidf.c: Likewise.
15054 * soft-fp/floatuntisf.c: Likewise.
15055 * soft-fp/floatuntitf.c: Likewise.
15056 * soft-fp/trunctfxf2.c: Likewise.
15058 2013-10-10 David S. Miller <davem@davemloft.net>
15060 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15062 2013-10-10 Joseph Myers <joseph@codsourcery.com>
15064 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
15065 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
15066 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
15067 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
15068 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
15069 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
15070 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
15072 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
15073 for NaNs before doing comparisons on argument.
15074 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
15077 2013-10-10 Will Newton <will.newton@linaro.org>
15079 * malloc/hooks.c (memalign_check): Ensure the value of bytes
15080 passed to _int_memalign does not overflow.
15082 2013-10-10 Torvald Riegel <triegel@redhat.com>
15084 * scripts/bench.pl: Add include-sources directive.
15085 * benchtests/README: Update documentation.
15087 2013-10-10 Joseph Myers <joseph@codesourcery.com>
15089 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
15090 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
15091 instead of FP_INIT_ROUNDMODE.
15092 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
15093 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
15096 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
15097 copy class of input value.
15098 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
15099 not handle exceptions.
15100 * soft-fp/negsf2.c (__negsf2): Likewise.
15101 * soft-fp/negtf2.c (__negtf2): Likewise.
15102 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
15104 2013-10-09 Joseph Myers <joseph@codesourcery.com>
15106 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
15107 semicolon. From Linux kernel.
15109 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
15111 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
15113 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
15116 * manual/socket.texi: Added statement about buffer
15117 for gethostbyname2_r.
15119 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
15121 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
15122 Use .p2align directive instead, throughout.
15123 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
15124 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
15125 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
15126 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
15127 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
15128 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
15129 * sysdeps/x86_64/strchr.S: Likewise.
15130 * sysdeps/x86_64/strrchr.S: Likewise.
15132 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
15134 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
15136 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
15138 * sysdeps/generic/math_private.h (__mpsin1): Remove
15140 (__mpcos1): Likewise.
15141 (__mpsin): New argument __range_reduce.
15142 (__mpcos): Likewise.
15143 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
15144 (slow): Use __mpsin and __mpcos.
15148 (sloww1): Likewise.
15149 (sloww2): Likewise.
15150 (bsloww): Likewise.
15151 (bsloww1): Likewise.
15152 (bsloww2): Likewise.
15153 (cslow2): Likewise.
15154 (csloww): Likewise.
15155 (csloww1): Likewise.
15156 (csloww2): Likewise.
15157 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
15158 range_reduce. Merge in __mpsin1.
15159 (__mpcos): Likewise.
15160 (__mpsin1): Remove.
15161 (__mpcos1): Likewise.
15163 2013-10-07 Joseph Myers <joseph@codesourcery.com>
15165 * locale/loadlocale.c (_nl_intern_locale_data): Use
15167 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
15168 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
15169 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
15170 obstack data is appropriately aligned.
15171 (obstack_int32_grow_fast): Likewise.
15172 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
15173 * locale/programs/locfile.c (add_locale_uint32): Likewise.
15174 (add_locale_uint32_array): Likewise.
15176 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
15178 * benchtests/Makefile: Remove ARGLIST and RET variables.
15179 ($(objpfx)bench-%.c): Pass only function name to the script.
15180 * benchtests/README: Update documentation.
15181 * benchtests/acos-inputs: Add new directives.
15182 * benchtests/acosh-inputs: Likewise.
15183 * benchtests/asin-inputs: Likewise.
15184 * benchtests/asinh-inputs: Likewise.
15185 * benchtests/atan-inputs: Likewise.
15186 * benchtests/atanh-inputs: Likewise.
15187 * benchtests/cos-inputs: Likewise.
15188 * benchtests/cosh-inputs: Likewise.
15189 * benchtests/exp-inputs: Likewise.
15190 * benchtests/log-inputs: Likewise.
15191 * benchtests/pow-inputs: Likewise.
15192 * benchtests/rint-inputs: Likewise.
15193 * benchtests/sin-inputs: Likewise.
15194 * benchtests/sinh-inputs: Likewise.
15195 * benchtests/tan-inputs: Likewise.
15196 * benchtests/tanh-inputs: Likewise.
15197 * scripts/bench.pl: Add support for new directives.
15199 2013-10-07 Alan Modra <amodra@gmail.com>
15201 * README: Fix careless merge.
15203 2013-10-05 Alan Modra <amodra@gmail.com>
15205 * NEWS: Mention powerpc64le support and bugs fixed.
15206 * README: Both big-endian and little-endian powerpc64 supported.
15208 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
15210 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
15211 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
15212 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
15213 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
15215 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
15217 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
15220 2013-10-04 Joseph Myers <joseph@codesourcery.com>
15222 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
15223 Move -mhard-float appending from
15224 ports/sysdeps/powerpc/powerpc32/Makefile.
15225 [$(with-fp) = yes] (ASFLAGS): Likewise.
15226 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
15227 * sysdeps/powerpc/nofpu: Move directory from
15228 ports/sysdeps/powerpc/nofpu.
15229 * sysdeps/powerpc/soft-fp: Move directory from
15230 ports/sysdeps/powerpc/soft-fp.
15231 * sysdeps/powerpc/powerpc32/405: Move directory from
15232 ports/sysdeps/powerpc/powerpc32/405.
15233 * sysdeps/powerpc/powerpc32/440: Move directory from
15234 ports/sysdeps/powerpc/powerpc32/440.
15235 * sysdeps/powerpc/powerpc32/464: Move directory from
15236 ports/sysdeps/powerpc/powerpc32/464.
15237 * sysdeps/powerpc/powerpc32/476: Move directory from
15238 ports/sysdeps/powerpc/powerpc32/476.
15239 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
15240 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
15241 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
15242 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
15243 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
15244 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
15245 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
15246 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
15247 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
15248 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
15249 * README: Update for powerpc-*-linux-gnu software floating point
15252 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
15253 case to powerpc/powerpc32*.
15254 * sysdeps/unix/sysv/linux/configure: Regenerated.
15256 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
15257 (_FPU_MASK_OM): Define as 0x04.
15258 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
15259 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
15261 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
15263 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
15265 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
15266 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
15268 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
15269 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
15271 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
15272 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
15273 and setcontext_e500.
15275 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
15277 * locale/iso-3166.def: Update iso-1366.def and related occurrences
15279 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
15281 * manual/threads.texi (Default Thread Attributes): Fix typo.
15283 2013-10-04 Will Newton <will.newton@linaro.org>
15285 * malloc/Makefile: Add tst-memalign.
15286 * malloc/tst-memalign.c: New file.
15288 * malloc/tst-posix_memalign.c: Add comments.
15289 (do_test): Add comments and call free on all potentially
15290 allocated pointers. Add space after cast.
15292 * malloc/tst-pvalloc.c: Add comments.
15293 (do_test): Add comments and call free on all potentially
15294 allocated pointers. Remove duplicate check for NULL pointer.
15295 Add space after cast.
15297 * malloc/tst-valloc.c: Add comments.
15298 (do_test): Add comments and call free on all potentially
15299 allocated pointers. Remove duplicate check for NULL pointer.
15300 Add space after cast.
15302 2013-10-04 Alan Modra <amodra@gmail.com>
15304 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
15305 Use stdint types in rather than __attribute__((mode())).
15306 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
15308 2013-10-04 Alan Modra <amodra@gmail.com>
15310 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
15311 Correct handling of unaligned relocs for little-endian.
15312 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
15314 2013-10-04 Alan Modra <amodra@gmail.com>
15316 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
15317 * configure: Regenerate.
15318 * nptl/shlib-versions: Powerpc*le starts at 2.18.
15319 * shlib-versions: Likewise.
15321 2013-10-04 Alan Modra <amodra@gmail.com>
15323 * string/tester.c (test_memrchr): Increment reported test cycle.
15325 2013-10-04 Alan Modra <amodra@gmail.com>
15327 * string/test-memcpy.c (do_one_test): When reporting errors, print
15328 string address and don't overrun end of string.
15330 2013-10-04 Alan Modra <amodra@gmail.com>
15332 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
15333 insrdi. Make better use of reg selection to speed exit slightly.
15334 Schedule entry path a little better. Remove useless "are we done"
15335 checks on entry to main loop. Handle wrapping around zero address.
15336 Correct main loop count. Handle single left-over word from main
15337 loop inline rather than by using loop_small. Remove extra word
15338 case in loop_small caused by wrong loop count. Add little-endian
15340 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
15341 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
15343 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
15344 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
15345 support. Avoid rlwimi.
15346 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
15348 2013-10-04 Alan Modra <amodra@gmail.com>
15350 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
15351 insrdi. Formatting.
15352 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
15353 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
15354 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
15355 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
15356 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
15357 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
15359 2013-10-04 Alan Modra <amodra@gmail.com>
15361 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
15362 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
15363 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
15364 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
15365 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
15366 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
15367 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
15368 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
15369 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
15370 use of regs. Use power7 mtocrf. Tidy function tails.
15372 2013-10-04 Alan Modra <amodra@gmail.com>
15374 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
15375 Formatting. Consistently use rXXX register defines or rN defines.
15376 Use early exit labels that avoid restoring unused non-volatile regs.
15377 Make cr field use more consistent with rWORDn compares. Rename
15378 regs used as shift registers for unaligned loop, using rN defines
15379 for short lifetime/multiple use regs.
15380 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
15381 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
15382 addi 1,1,64 to pop stack frame. Simplify return value code.
15383 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
15385 2013-10-04 Alan Modra <amodra@gmail.com>
15387 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
15388 support. Correct typos, formatting. Optimize tail. Use insrdi
15389 rather than rlwimi.
15390 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
15391 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
15392 little-endian support. Correct typos.
15393 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
15394 rather than rlwimi.
15395 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
15396 in loop and entry code to keep "and." results.
15397 (strchr): Add little-endian support. Comment. Move cntlzd
15399 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
15401 2013-10-04 Alan Modra <amodra@gmail.com>
15403 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
15404 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
15405 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
15406 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
15408 2013-10-04 Alan Modra <amodra@gmail.com>
15410 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
15411 (rTMP): Define as r11.
15412 (strcmp): Add little-endian support. Optimise tail.
15413 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
15414 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
15415 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
15416 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
15417 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
15418 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
15419 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
15421 2013-10-04 Alan Modra <amodra@gmail.com>
15423 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
15424 little-endian support. Remove unnecessary "are we done" tests.
15425 Handle "s" wrapping around zero and extremely large "size".
15426 Correct main loop count. Handle single left-over word from main
15427 loop inline rather than by using small_loop. Correct comments.
15428 Delete "zero" tail, use "end_max" instead.
15429 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
15431 2013-10-04 Alan Modra <amodra@gmail.com>
15433 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
15434 support. Don't branch over align.
15435 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
15436 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
15437 support. Rearrange tmp reg use to suit. Comment.
15438 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
15440 2013-10-04 Alan Modra <amodra@gmail.com>
15442 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
15444 2013-10-04 Alan Modra <amodra@gmail.com>
15446 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
15447 conditional form of branch and link when obtaining pc.
15448 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
15450 2013-10-04 Alan Modra <amodra@gmail.com>
15452 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
15454 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
15455 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
15457 2013-10-04 Alan Modra <amodra@gmail.com>
15459 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
15460 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
15461 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
15462 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
15463 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
15464 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
15465 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
15466 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
15467 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
15468 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
15470 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
15471 Alistair Popple <alistair@ozlabs.au.ibm.com>
15472 Alan Modra <amodra@gmail.com>
15475 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
15476 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
15477 _dl_hwcap access for little-endian.
15478 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
15479 destroy vmx regs when saving unaligned.
15480 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
15481 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
15482 destroy vmx regs when saving unaligned.
15484 2013-10-04 Alan Modra <amodra@gmail.com>
15486 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
15487 Don't use a union to pack hi/low value.
15489 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
15491 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
15493 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
15494 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
15495 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
15496 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
15497 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
15499 2013-10-04 Alan Modra <amodra@gmail.com>
15501 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
15502 constants to usual value for .cst8 section, and remove redundant
15504 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
15505 constant for 0x1p52. Load little-endian words of double from
15506 correct stack offsets.
15508 2013-10-04 Alan Modra <amodra@gmail.com>
15510 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
15511 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
15512 words of double from correct stack offsets.
15513 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
15514 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
15515 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
15516 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
15517 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
15518 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
15519 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
15520 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
15521 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
15522 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
15523 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
15524 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
15525 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
15526 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
15527 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
15528 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
15529 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
15531 2013-10-04 Alan Modra <amodra@gmail.com>
15533 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
15534 64-bit int/double union.
15535 (_FPU_SETCW): Likewise.
15536 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
15537 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
15539 2013-10-04 Alan Modra <amodra@gmail.com>
15541 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
15542 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
15544 2013-10-04 Alan Modra <amodra@gmail.com>
15546 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
15547 use vector int constants.
15548 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
15550 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
15552 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
15553 array with long long.
15554 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
15555 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
15556 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
15557 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
15558 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
15559 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
15560 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
15561 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
15562 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
15563 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
15564 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
15565 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
15566 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
15568 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
15570 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
15571 (__signbit): Likewise. Correct for little-endian.
15572 (__signbitl): Call __signbit.
15573 (lrint): Correct for little-endian.
15574 (lrintf): Call lrint.
15576 2013-10-04 Alan Modra <amodra@gmail.com>
15578 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
15579 union 32-bit int array member with 64-bit int array.
15580 (t515, tm256): Double rather than long double.
15581 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
15583 2013-10-04 Alan Modra <amodra@gmail.com>
15585 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
15587 (IEEE854_LONG_DOUBLE_BIAS): Delete.
15588 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
15589 version of math_ldbl.h.
15591 2013-10-04 Alan Modra <amodra@gmail.com>
15593 [BZ #15734], [BZ #15735]
15594 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
15595 all uses of ieee875 long double macros and unions. Simplify test
15596 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
15597 ldbl_extract_mantissa value for ix,iy exponents. Properly
15598 normalize after ldbl_extract_mantissa, and don't add hidden bit
15599 already handled. Don't treat low word of ieee854 mantissa like
15600 low word of IBM long double and mask off bit when testing for
15602 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
15603 all uses of ieee875 long double macros and unions. Simplify tests
15604 for 0.0L and inf. Correct double adjustment of k. Delete dead code
15605 adjusting ha,hb. Simplify code setting kld. Delete two600 and
15606 two1022, instead use their values. Recognise that tests for large
15607 "a" and small "b" are mutually exclusive. Rename vars. Comment.
15608 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
15609 Rewrite all uses of ieee875 long double macros and unions. Simplify
15610 test for 0.0L and nan. Correct negation.
15611 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
15612 ieee875 long double macros and unions. Correct output for large
15613 magnitude x. Correct absolute value calculation.
15614 (__erfcl): Likewise.
15615 * math/libm-test.inc: Add tests for errors discovered in IBM long
15616 double versions of fmodl, remainderl, erfl and erfcl.
15618 2013-10-04 Alan Modra <amodra@gmail.com>
15620 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
15621 all uses of ieee854 long double macros and unions. Simplify tests
15622 for long doubles that are fully specified by the high double.
15623 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
15625 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
15626 Remove dead code too.
15627 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
15628 (__ieee754_ynl): Likewise.
15629 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
15630 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
15631 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
15632 Remove dead code too.
15633 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
15634 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
15635 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
15636 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
15638 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
15640 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
15641 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
15642 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
15643 Comment on variable precision.
15644 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
15645 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
15647 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
15648 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
15649 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
15650 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
15651 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
15653 2013-10-04 Alan Modra <amodra@gmail.com>
15655 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
15656 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
15657 all uses of ieee854 long double macros and unions.
15658 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
15659 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
15660 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
15661 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
15662 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
15663 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
15665 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
15666 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
15667 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
15668 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
15669 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
15670 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
15671 Simplify sign and nan test too.
15672 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
15673 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
15674 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
15675 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
15677 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
15678 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
15680 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
15681 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
15682 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
15683 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
15684 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
15685 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
15687 2013-10-04 Alan Modra <amodra@gmail.com>
15689 * stdio-common/printf_size.c (__printf_size): Don't use
15690 union ieee854_long_double in fpnum union.
15691 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
15692 signbit macro to retrieve sign from long double.
15693 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
15694 retrieve sign from long double.
15695 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
15696 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
15697 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
15698 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
15699 * math/test-misc.c (main): Don't use union ieee854_long_double.
15701 2013-10-04 Alan Modra <amodra@gmail.com>
15704 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
15705 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
15706 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
15707 calculation. Remove unnecessary test for denormal exponent.
15708 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
15709 Correct handling of denormals. Avoid undefined shift behaviour.
15710 Correct normalisation of low mantissa when low double is denormal.
15711 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
15712 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
15713 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
15714 Correct normalisation of low mantissa. Test for overflow of high
15715 mantissa and normalise.
15716 (ldbl_nearbyint): Use more readable constant for two52.
15717 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
15718 (__mpn_construct_long_double): Fix test for overflow of high
15719 mantissa and correct normalisation. Avoid undefined shift.
15721 2013-10-04 Alan Modra <amodra@gmail.com>
15723 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
15724 (union ibm_extended_long_double): Define as an array of ieee754_double.
15725 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
15726 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
15727 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
15728 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
15729 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
15730 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
15731 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
15732 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
15733 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
15734 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
15735 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
15737 2013-10-03 Joseph Myers <joseph@codesourcery.com>
15739 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
15740 page size instead of calling getpagesize.
15742 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
15743 (LOCFILE_ALIGN_MASK): Likewise.
15744 (LOCFILE_ALIGN_UP): Likewise.
15745 (LOCFILE_ALIGNED_P): Likewise.
15746 * locale/programs/ld-collate.c (collate_output): Use the new
15747 macros instead of __alignof__ (int32_t).
15748 * locale/weight.h (findidx): Likewise.
15750 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
15753 * manual/string.texi: Fix strncat and wcsncat.
15755 2013-10-03 Brooks Moses <bmoses@google.com>
15758 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
15759 * Makerules: ...here, and adjust associated comments.
15761 2013-10-02 Will Newton <will.newton@linaro.org>
15763 * malloc/Makefile: Add tst-pvalloc.
15764 * malloc/tst-pvalloc.c: New file.
15766 2013-10-02 Will Newton <will.newton@linaro.org>
15768 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
15769 improve test coverage.
15771 2013-10-02 Will Newton <will.newton@linaro.org>
15773 * malloc/Makefile: Add tst-posix_memalign.
15774 * malloc/tst-posix_memalign.c: New file.
15776 2013-10-01 Eric Blake <eblake@redhat.com>
15778 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
15779 Use __THROWNL rather than __THROW on static functions.
15781 2013-09-30 Petr Machata <pmachata@redhat.com>
15783 * elf/elf.h (R_AARCH64_ABS16): New macro.
15784 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
15785 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
15786 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
15787 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
15788 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
15789 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
15790 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
15791 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
15792 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
15793 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
15794 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
15795 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
15796 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
15797 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
15798 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
15799 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
15800 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
15801 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
15802 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
15803 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
15804 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
15805 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
15806 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
15807 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
15808 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
15809 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
15810 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
15811 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
15812 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
15813 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
15814 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
15815 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
15816 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
15817 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
15818 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
15819 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
15820 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
15821 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
15822 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
15823 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
15824 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
15825 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
15826 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
15827 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
15828 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
15829 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
15830 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
15831 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
15832 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
15833 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
15834 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
15835 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
15836 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
15837 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
15838 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
15839 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
15840 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
15841 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
15842 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
15843 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
15844 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
15845 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
15846 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
15847 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
15848 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
15849 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
15850 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
15851 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
15852 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
15853 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
15854 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
15855 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
15856 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
15857 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
15858 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
15859 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
15860 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
15861 (R_AARCH64_TLSDESC_LDR): Likewise.
15862 (R_AARCH64_TLSDESC_ADD): Likewise.
15863 (R_AARCH64_TLSDESC_CALL): Likewise.
15865 2013-09-30 Andreas Schwab <schwab@suse.de>
15868 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
15869 the nss database lookup.
15870 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15871 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
15873 2013-09-28 Mike Frysinger <vapier@gentoo.org>
15875 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
15877 2013-09-28 P. J. McDermott <pj@pehjota.net>
15879 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
15880 ${Bash-specific parameter/pattern/string} parameter expansion.
15881 * sysdeps/unix/make-syscalls.sh: Likewise.
15883 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15885 * sysdeps/sh/stackguard-macros.h: New file.
15887 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
15889 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
15890 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
15891 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
15892 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
15893 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
15894 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
15896 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15898 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
15899 Fix thread ID register.
15901 2013-09-25 Joseph Myers <joseph@codesourcery.com>
15903 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
15904 [POSIX || UNIX98]: Require rather than permitting all symbols from
15906 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
15907 element of struct sched_param.
15908 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
15909 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
15910 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
15911 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
15914 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
15916 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
15917 argument calculation.
15919 2013-09-24 Joseph Myers <joseph@codesourcery.com>
15921 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
15923 [POSIX] (pthread_attr_t): Do not require type.
15924 [POSIX] (pthread_cond_t): Likewise.
15925 [POSIX] (pthread_condattr_t): Likewise.
15926 [POSIX] (pthread_key_t): Likewise.
15927 [POSIX] (pthread_mutex_t): Likewise.
15928 [POSIX] (pthread_mutexattr_t): Likewise.
15929 [POSIX] (pthread_once_t): Likewise.
15930 [POSIX] (pthread_t): Likewise.
15931 [POSIX-based standards] (pthread_atfork): Expect function.
15933 2013-09-24 Joseph Myers <joseph@codesourcery.com>
15934 Richard Sandiford <richard@codesourcery.com>
15936 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
15937 (swap_endianness_p): New extern variable.
15938 (set_big_endian): New inline function.
15939 (maybe_swap_uint32): Likewise.
15940 (maybe_swap_uint32_array): Likewise.
15941 (maybe_swap_uint32_obstack): Likewise.
15942 * locale/programs/locfile.c: Include <stdbool.h>.
15943 (swap_endianness_p): New variable.
15944 (add_locale_uint32): Call maybe_swap_uint32.
15945 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
15946 (write_locale_data): Call maybe_swap_uint32_array.
15947 * locale/programs/ld-collate.c (obstack_int32_grow): Call
15949 (obstack_int32_grow_fast): Likewise.
15950 (output_weightwc): Call maybe_swap_uint32_obstack.
15951 (collate_output): Likewise.
15952 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
15953 (OPT_LITTLE_ENDIAN): Likewise.
15954 (options): Add --little-endian and --big-endian options.
15955 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
15956 * locale/programs/locarchive.c: Include "locfile.h".
15960 (create_archive): Use the new macros to access fields of
15961 structures directly mapped from or written to locale archives.
15962 (oldlocrecentcmp): Likewise.
15963 (enlarge_archive): Likewise.
15964 (insert_name): Likewise.
15965 (add_alias): Likewise.
15966 (add_locale): Likewise.
15967 (delete_locales_from_archive): Likewise.
15968 (show_archive_content): Likewise.
15969 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
15972 2013-09-24 Roland McGrath <roland@hack.frob.com>
15974 * manual/freemanuals.texi: Updated from (newly) canonical copy at
15975 http://www.gnu.org/doc/freemanuals.texi.
15976 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
15978 2013-09-24 Will Newton <will.newton@linaro.org>
15980 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
15983 2013-09-23 Joseph Myers <joseph@codesourcery.com>
15985 * locale/hashval.h (compute_hashval): Interpret bytes of key as
15988 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
15990 * manual/threads.texi (POSIX Threads): Fix a typo.
15992 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
15995 * string/tst-strcoll-overflow.c: New test case.
15996 * string/Makefile (xtests): Add tst-strcoll-overflow.
15997 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
15998 cache if string sizes may cause integer overflow.
16001 * string/strcoll_l.c (coll_seq): New members rule, idx,
16002 save_idx and back_us.
16003 (get_next_seq_nocache): New function.
16004 (do_compare_nocache): New function.
16005 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
16008 2013-09-23 Carlos O'Donell <carlos@redhat.com>
16011 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
16012 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
16013 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
16016 * elf/Makefile (tests): Add tst-ptrguard1.
16017 (tests-static): Add tst-ptrguard1-static.
16018 (tst-ptrguard1-ARGS): Define.
16019 (tst-ptrguard1-static-ARGS): Define.
16020 * elf/tst-ptrguard1.c: New file.
16021 * elf/tst-ptrguard1-static.c: New file.
16022 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
16023 * sysdeps/i386/stackguard-macros.h: Likewise.
16024 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
16025 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
16026 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
16027 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
16028 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
16029 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
16031 2013-09-23 Hector Marco <hecmargi@upv.es>
16032 Ismael Ripoll <iripoll@disca.upv.es>
16033 Carlos O'Donell <carlos@redhat.com>
16036 * sysdeps/generic/stackguard-macros.h: Define
16037 __pointer_chk_guard_local and POINTER_CHK_GUARD.
16038 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
16039 Define __pointer_chk_guard_local.
16040 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
16041 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
16043 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
16046 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
16048 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
16050 * include/string.h (__ffs): Declare as hidden.
16051 * string/ffs.c (__ffs): Define as hidden.
16052 * sysdeps/i386/ffs.c (__ffs): Likewise.
16053 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
16054 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
16055 * sysdeps/s390/ffs.c (__ffs): Likewise.
16056 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
16058 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
16060 * NEWS: Mention malloc probes.
16062 * malloc/arena.c (new_heap): New memory_heap_new probe.
16063 (grow_heap): New memory_heap_more probe.
16064 (shrink_heap): New memory_heap_less probe.
16065 (heap_trim): New memory_heap_free probe.
16066 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
16067 (systrim): New memory_sbrk_less probe.
16068 * manual/probes.texi: Document them.
16070 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
16071 * manual/probes.texi: Document it.
16073 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
16074 (__libc_realloc): Add memory_realloc_retry probe.
16075 (__libc_memalign): Add memory_memalign_retry probe.
16076 (__libc_valloc): Add memory_valloc_retry probe.
16077 (__libc_pvalloc): Add memory_pvalloc_retry probe.
16078 (__libc_calloc): Add memory_calloc_retry probe.
16079 * manual/probes.texi: Document them.
16081 * malloc/arena.c (get_free_list): Add probe
16082 memory_arena_reuse_free_list.
16083 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
16084 and memory_arena_reuse.
16085 (arena_get2) [!PER_THREAD]: Likewise.
16086 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
16087 memory_arena_reuse_realloc.
16088 * manual/probes.texi: Document them.
16090 * malloc/malloc.c (__libc_free): Add
16091 memory_mallopt_free_dyn_thresholds probe.
16092 (__libc_mallopt): Add multiple memory_mallopt probes.
16093 * manual/probes.texi: Document them.
16095 * malloc/malloc.c: Include stap-probe.h.
16096 (__libc_mallopt): Add memory_mallopt probe.
16097 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
16098 * manual/probes.texi: New.
16099 * manual/Makefile (chapters): Add probes.
16100 * manual/threads.texi: Set next node.
16102 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
16104 [BZ #15963, #13985]
16105 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
16106 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
16107 Add `Chinese' to `nan' entry name.
16109 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
16111 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
16112 (POLYNOMIAL): Likewise.
16113 (TAYLOR_SINCOS): Likewise.
16114 (TAYLOR_SLOW): Likewise.
16115 (__sin): Use TAYLOR_SINCOS.
16117 (slow): Use TAYLOR_SLOW.
16119 (bsloww): Likewise.
16120 (csloww): Likewise.
16122 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16124 * stdlib/strtod_l.c: Fix buffer overrun.
16126 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
16128 * benchtests/Makefile (bench): Add sincos.
16129 * benchtests/bench-sincos.c: New file.
16131 * math/libm-test.inc (cos_test_data): New test inputs.
16132 (sin_test_data): Likewise.
16134 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
16140 (sloww1): Likewise.
16141 (sloww2): Likewise.
16142 (bsloww1): Likewise.
16143 (bsloww2): Likewise.
16144 (cslow2): Likewise.
16145 (csloww1): Likewise.
16146 (csloww2): Likewise.
16148 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
16153 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
16157 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
16159 * config.h.in (HAVE_MIPS_NAN2008): New macro.
16160 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
16161 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
16162 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
16163 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
16164 * elf/cache.c (print_entry): Handle the new cache flags.
16166 2013-09-18 Joseph Myers <joseph@codesourcery.com>
16167 Aldy Hernandez <aldyh@redhat.com>
16169 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
16170 Change condition to [_SOFT_FLOAT].
16171 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
16172 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
16173 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
16174 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
16175 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
16176 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
16177 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
16178 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
16179 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
16180 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
16181 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
16182 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
16183 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
16184 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
16185 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
16186 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
16189 2013-09-18 Joseph Myers <joseph@codesourcery.com>
16191 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
16192 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
16193 (__longjmp): Use LOAD_GP to load saved GPRs.
16194 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
16195 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
16196 (__sigsetjmp): Use SAVE_GP to save GPRs.
16198 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
16199 Do not append -msoft-float.
16200 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
16202 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
16204 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
16206 2013-09-17 Joseph Myers <joseph@codesourcery.com>
16209 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
16210 (_FPU_GETCW): Use initial "__" on variable and field names but not
16211 on macro parameter name.
16212 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
16213 parentheses around reference to macro parameter.
16215 2013-09-13 Richard Sandiford <richard@codesourcery.com>
16217 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
16219 (ctype_startup): Use uint32_t in cast and sizeof for
16222 2013-09-11 Jia Liu <proljc@gmail.com>
16224 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
16226 [__FreeBSD__]: Likewise.
16228 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
16230 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
16231 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
16232 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
16233 (strchr): Remove __strchr_sse42 ifunc selection.
16234 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
16235 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
16237 2013-09-11 Will Newton <will.newton@linaro.org>
16239 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
16240 parameter to RES. Remove hardcoded 1000 value.
16241 * benchtests/bench-skeleton.c (main): Pass RES parameter
16242 to TIMING_INIT and multiply result by 1000.
16244 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16246 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16248 2013-09-11 Andreas Schwab <schwab@suse.de>
16250 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
16252 (O_TMPFILE) [__USE_GNU]: Define.
16253 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
16256 2013-09-11 Will Newton <will.newton@linaro.org>
16259 * malloc/malloc.c (__libc_memalign): Check the value of bytes
16262 2013-09-11 Will Newton <will.newton@linaro.org>
16265 * malloc/malloc.c (__libc_valloc): Check the value of bytes
16268 2013-09-11 Will Newton <will.newton@linaro.org>
16271 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
16274 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
16276 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
16277 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
16278 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
16279 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
16280 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
16282 2013-09-10 Allan McRae <allan@archlinux.org>
16285 * manual/arith.texi (Parsing of Floats): Clarify
16289 * manual/install.texi (Running make install): Mention
16291 * INSTALL: Regenerated.
16293 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
16295 * csu/init-first.c (_init): Remove the !SHARED condition around
16296 FPU control word initialization.
16297 * elf/dl-support.c (_dl_fpu_control): New variable.
16298 (_dl_aux_init) <AT_FPUCW>: Initialize it.
16299 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
16300 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
16301 * math/test-fpucw-static.c: New file.
16302 * math/test-fpucw-ieee.c: New file.
16303 * math/test-fpucw-ieee-static.c: New file.
16304 * math/Makefile (tests): Add `test-fpucw-ieee' and
16306 (tests-static): New variable.
16307 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
16309 [($(build-shared),yes)]
16310 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
16312 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
16315 2013-09-09 Allan McRae <allan@archlinux.org>
16318 * manual/string.texi (Collation Functions): Fix typo in
16320 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
16323 * stdlib/isomac.c (get_null_defines): Fix memory leak.
16326 * libio/memstream.c (open_memstream): Fix memory leak.
16327 * libio/wmemstream.c (open_wmemstream): Likewise.
16330 * nscd/netgroupcache.c: Fix nesting of ifdefs.
16332 2013-09-09 Will Newton <will.newton@linaro.org>
16334 * malloc/Makefile: Add tst-realloc to tests.
16335 * malloc/tst-realloc.c: New file.
16337 2013-09-09 Allan McRae <allan@archlinux.org>
16340 * COPYING: Update from GNU website to fix FSF address.
16341 * COPYING.LIB: Likewise.
16343 2013-09-06 David S. Miller <davem@davemloft.net>
16345 * po/zh_TW.po: Update Chinese (traditional) translation from
16346 translation project.
16348 2013-09-06 Richard Sandiford <richard@codesourcery.com>
16349 Joseph Myers <joseph@codesourcery.com>
16351 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
16353 (obstack_chunk_alloc): New macro.
16354 (obstack_chunk_free): Likewise.
16355 (record_offset): New function.
16356 (init_locale_data): Likewise.
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): Take locale_file structure rather than an
16372 * locale/programs/locfile.h: Include "obstack.h".
16373 (struct locale_file): Change to store locale file contents instead
16375 (init_locale_data): New prototype.
16376 (align_locale_data): Likewise.
16377 (add_locale_empty): Likewise.
16378 (add_locale_raw_data): Likewise.
16379 (add_locale_raw_obstack): Likewise.
16380 (add_locale_string): Likewise.
16381 (add_locale_wstring): Likewise.
16382 (add_locale_uint32): Likewise.
16383 (add_locale_uint32_array): Likewise.
16384 (add_locale_char): Likewise.
16385 (start_locale_structure): Likewise.
16386 (end_locale_structure): Likewise.
16387 (start_locale_prelude): Likewise.
16388 (end_locale_prelude): Likewise.
16389 (write_locale_data): Update prototype.
16390 * locale/programs/3level.h (struct TABLE): Remove result field.
16391 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
16392 Use new locale_file interface.
16393 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
16394 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
16395 * locale/programs/ld-address.c (address_output): Use new
16396 locale_file interface.
16397 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
16399 (collate_finish): Don't call collseq_table_finalize.
16400 (collate_output): Use new locale_file interface.
16401 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
16403 (NO_FINALIZE): Change to NO_ADD_LOCALE.
16404 (TABLE): Move defines earlier in file.
16405 (ELEMENT): Likewise.
16406 (DEFAULT): Likewise.
16407 (wctrans_table_add): Move macro and inline function earlier in
16409 (struct wctype_table): Move type earlier in file.
16410 (add_locale_wctype_table): New static prototype.
16411 (struct locale_ctype_t): Use logical types instead of struct iovec
16412 pointers for members.
16413 (ctype_output): Use new locale_file interface.
16414 (wctype_table_finalize): Change to add_locale_wctype_table. Use
16415 new locale_file interface.
16416 (allocate_arrays): Update for use of new locale_file interface.
16417 * locale/programs/ld-identification.c (identification_output): Use
16418 new locale_file interface.
16419 * locale/programs/ld-measurement.c (measurement_output): Likewise.
16420 * locale/programs/ld-messages.c (messages_output): Likewise.
16421 * locale/programs/ld-monetary.c (monetary_output): Likewise.
16422 * locale/programs/ld-name.c (name_output): Likewise.
16423 * locale/programs/ld-numeric.c (numeric_output): Likewise.
16424 * locale/programs/ld-paper.c (paper_output): Likewise.
16425 * locale/programs/ld-telephone.c (telephone_output): Likewise.
16426 * locale/programs/ld-time.c (time_output): Likewise.
16428 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16430 * benchtests/Makefile: Add memrchr benchmark.
16431 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
16432 benchmark as memrchr.
16433 * benchtests/bench-memrchr-ifunc.c: New file.
16434 * benchtests/bench-memrchr.c: New file.
16436 2013-09-06 Will Newton <will.newton@linaro.org>
16438 * benchtests/Makefile (string-bench): Add memcpy.
16440 2013-09-05 Carlos O'Donell <carlos@redhat.com>
16441 Cong Wang <amwang@redhat.com>
16444 * sysdeps/unix/sysv/linux/bits/in.h
16445 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
16446 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
16447 before __USE_KERNEL_IPV6_DEFS uses.
16448 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
16450 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
16451 sockaddr_in6, or ipv6_mreq.
16453 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16455 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
16456 memory access for final bytes in some large inputs.
16457 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
16459 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16461 * string/test-memrchr.c: New file.
16462 * string/test-memrchr-ifunc.c: New file.
16463 * string/Makefile: Add new memrchr testcase.
16465 2013-09-05 Mike Frysinger <vapier@gentoo.org>
16467 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
16468 fanotify_init returns EPERM.
16470 2013-09-04 Joseph Myers <joseph@codesourcery.com>
16472 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
16474 (top level): Treat second token from macro or constant entries for
16475 allowed headers as allowed.
16476 * include/complex.h: Condition internal declarations on
16478 * include/fenv.h: Condition include of <stdbool.h> and internal
16479 declarations on [!_ISOMAC].
16481 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
16484 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
16486 2013-09-04 Joseph Myers <joseph@codesourcery.com>
16488 * configure.in (--enable-versioning): Remove configure option.
16489 (libc_cv_asm_symver_directive): Remove configure test.
16490 (libc_cv_ld_version_script_option): Likewise.
16491 (VERSIONING): Remove variable and AC_SUBST.
16492 (DO_VERSIONING): Remove AC_DEFINE.
16493 * configure: Regenerated.
16494 * config.h.in (DO_VERSIONING): Remove macro.
16495 * Makerules [$(versioning) = yes]: Change conditionals to
16496 [$(build-shared) = yes].
16497 * config.make.in (versioning): Remove variable.
16498 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
16499 [$(build-shared) = yes].
16500 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
16501 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
16502 * elf/Makefile [$(versioning) = yes]: Change conditionals to
16503 [$(build-shared) = yes].
16504 * extra-lib.mk [$(versioning) = yes]: Likewise.
16505 * hurd/Makefile [$(versioning) = yes]: Likewise.
16506 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
16508 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
16510 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
16511 [SHARED && !NO_HIDDEN].
16512 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
16514 [SHARED && DO_VERSIONING]: Likewise..
16515 * libio/Makefile [$(versioning) = yes]: Change conditionals to
16516 [$(build-shared) = yes].
16517 * manual/install.texi (--disable-versioning): Remove
16519 * INSTALL: Regenerated.
16520 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
16522 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
16523 [$(build-shared) = yes].
16524 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
16525 * sysdeps/i386/i686/multiarch/strstr-c.c
16526 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
16527 [SHARED && !NO_HIDDEN].
16528 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
16529 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
16530 * sysdeps/powerpc/powerpc32/dl-machine.c
16531 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
16532 * sysdeps/powerpc/powerpc32/sysdep.h
16533 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
16534 to [SHARED && PIC && !NO_HIDDEN].
16535 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
16536 conditional to [SHARED].
16538 2013-09-04 Will Newton <will.newton@linaro.org>
16540 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
16541 * benchtests/bench-string.h: Include bench-timing.h instead
16542 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
16543 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
16544 call to HP_TIMING_DIFF_INIT.
16545 * benchtests/bench-memccpy.c: Use bench-timing.h macros
16546 instead of hp-timing.h macros.
16547 * benchtests/bench-memchr.c: Likewise.
16548 * benchtests/bench-memcmp.c: Likewise.
16549 * benchtests/bench-memcpy.c: Likewise.
16550 * benchtests/bench-memmem.c: Likewise.
16551 * benchtests/bench-memmove.c: Likewise.
16552 * benchtests/bench-memset.c: Likewise.
16553 * benchtests/bench-rawmemchr.c: Likewise.
16554 * benchtests/bench-strcasecmp.c: Likewise.
16555 * benchtests/bench-strcasestr.c: Likewise.
16556 * benchtests/bench-strcat.c: Likewise.
16557 * benchtests/bench-strchr.c: Likewise.
16558 * benchtests/bench-strcmp.c: Likewise.
16559 * benchtests/bench-strcpy.c: Likewise.
16560 * benchtests/bench-strcpy_chk.c: Likewise.
16561 * benchtests/bench-strlen.c: Likewise.
16562 * benchtests/bench-strncasecmp.c: Likewise.
16563 * benchtests/bench-strncat.c: Likewise.
16564 * benchtests/bench-strncmp.c: Likewise.
16565 * benchtests/bench-strncpy.c: Likewise.
16566 * benchtests/bench-strnlen.c: Likewise.
16567 * benchtests/bench-strpbrk.c: Likewise.
16568 * benchtests/bench-strrchr.c: Likewise.
16569 * benchtests/bench-strspn.c: Likewise.
16570 * benchtests/bench-strstr.c: Likewise.
16572 2013-09-04 Will Newton <will.newton@linaro.org>
16574 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
16576 2013-09-03 Joseph Myers <joseph@codesourcery.com>
16579 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
16580 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
16581 * math/libm-test.inc (lgamma_test_data): Add more tests.
16582 * sysdeps/i386/fpu/libm-test-ulps: Update.
16583 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16585 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
16587 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
16588 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
16590 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
16591 Add strcmp-sse2-unaligned
16592 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
16594 2013-09-02 Mike Frysinger <vapier@gentoo.org>
16596 * Versions.def (libc): Add GLIBC_2.19.
16598 2013-09-02 Mike Frysinger <vapier@gentoo.org>
16600 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
16601 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
16603 2013-09-02 Joseph Myers <joseph@codesourcery.com>
16606 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
16607 intermediate calculations in recurrence.
16608 (__ieee754_ynf): Likewise.
16609 * math/libm-test.inc (jn_test_data): Do not allow spurious
16610 underflow exception. Add more tests.
16611 (yn_test_data): Add more tests.
16612 * sysdeps/i386/fpu/libm-test-ulps: Update.
16613 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16615 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
16617 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
16619 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
16621 * csu/init-first.c: Fix then/than typos.
16622 * locale/programs/ld-collate.c: Likewise.
16623 * locale/programs/linereader.h: Likewise.
16624 * manual/charset.texi: Likewise.
16625 * manual/filesys.texi: Likewise.
16626 * manual/stdio.texi: Likewise.
16627 * manual/string.texi: Likewise.
16628 * stdlib/fmtmsg.c: Likewise.
16629 * sysdeps/i386/stpncpy.S: Likewise.
16630 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
16631 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
16632 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
16633 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
16635 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
16637 * elf/dl-open.c: Fix typos.
16638 * iconvdata/gbbig5.c: Likewise.
16639 * iconvdata/iso-2022-jp.c: Likewise.
16640 * iconv/gconv_int.h: Likewise.
16641 * iconv/loop.c: Likewise.
16642 * nis/rpcsvc/nis.h: Likewise.
16643 * resolv/ns_name.c: Likewise.
16644 * stdio-common/vfscanf.c: Likewise.
16645 * streams/stropts.h: Likewise.
16646 * sunrpc/rpc_thread.c: Likewise.
16647 * sysdeps/i386/strpbrk.S: Likewise.
16648 * sysdeps/ieee754/k_standard.c: Likewise.
16649 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
16650 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
16651 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
16652 * sysdeps/mach/hurd/profil.c: Likewise.
16653 * sysdeps/s390/dl-procinfo.h: Likewise.
16654 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
16655 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
16656 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
16657 * sysdeps/x86_64/dl-trampoline.S: Likewise.
16658 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
16660 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
16662 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
16663 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
16665 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
16667 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
16668 aix specific files.
16669 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
16670 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
16671 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
16672 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
16673 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
16674 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
16675 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
16676 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
16678 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
16679 Roland McGrath <roland@hack.frob.com>
16681 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
16682 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
16684 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
16686 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
16687 __executable_start symbol instead of _start.
16689 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
16691 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
16692 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
16694 * sysdeps/gnu/ldsodefs.h: ... this new file.
16696 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
16697 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
16698 instead of ELFOSABI_LINUX.
16700 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
16701 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
16702 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
16703 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
16705 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
16706 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
16707 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
16709 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
16710 (ibm_extended_long_double): Add ieee_nan member.
16711 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
16712 (do_test): New function.
16714 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
16716 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
16717 functions, renamed from truncdfsf_test, trunctfsf_test,
16719 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
16721 (do_test): Run all these.
16723 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
16725 * argp/argp-help.c: Fix typos.
16726 * argp/argp-parse.c: Likewise.
16727 * debug/backtracesyms.c: Likewise.
16728 * elf/elf.h: Likewise.
16729 * malloc/malloc.c: Likewise.
16730 * nis/nis_print.c: Likewise.
16731 * resolv/res_comp.c: Likewise.
16732 * stdlib/stdlib.h: Likewise.
16733 * sunrpc/clnt_tcp.c: Likewise.
16734 * sunrpc/clnt_udp.c: Likewise.
16735 * sunrpc/clnt_unix.c: Likewise.
16736 * sysdeps/unix/bsd/ptsname.c: Likewise.
16737 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
16738 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
16739 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
16741 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
16743 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
16745 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
16747 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16749 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
16750 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
16752 2013-08-27 Mike Frysinger <vapier@gentoo.org>
16755 * dlfcn/Makefile (tests): Add bug-dl-leaf.
16756 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
16757 ($(objpfx)bug-dl-leaf): New rule.
16758 ($(objpfx)bug-dl-leaf.so): Likewise.
16759 ($(objpfx)bug-dl-leaf.out): Likewise.
16760 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
16761 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
16762 * dlfcn/bug-dl-leaf.c: New test.
16763 * dlfcn/bug-dl-leaf-lib.c: Likewise.
16764 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
16765 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
16766 (dlclose): Likewise.
16767 (dlmopen): Likewise.
16769 2013-08-27 Roland McGrath <roland@hack.frob.com>
16771 * include/netdb.h [!_ISOMAC]:
16772 Don't include <tls.h>.
16773 (h_errno, __libc_h_errno): Move declaration and macros out of
16776 * include/resolv.h [_RESOLV_H_]:
16777 Don't include <tls.h>.
16778 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
16779 * resolv/res_libc.c: Don't include <tls.h>.
16780 (_res): Use __attribute__ ((nocommon)) in place of
16781 __attribute__ ((section (".bss"))).
16783 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
16784 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
16786 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
16788 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
16789 only under [SIOCGIFCONF && SIOCGIFNETMASK].
16791 * resolv/res_mkquery.c: Include <sys/time.h>.
16793 * inet/ifreq.c: Moved to ...
16794 * sysdeps/unix/ifreq.c: ... here.
16795 * inet/ifreq.c: New file, true stub version.
16797 * socket/sa_len.c: New file.
16798 * socket/Makefile (aux): Add it.
16799 * sysdeps/unix/sysv/linux/Makefile
16800 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
16801 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
16802 and #include <socket/sa_len.c>.
16803 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
16804 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
16806 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
16807 * bits/socket.h: ... here.
16809 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
16810 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
16811 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
16813 2013-08-27 Andreas Schwab <schwab@suse.de>
16816 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
16817 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
16818 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
16819 * string/test-strcasecmp.c (test_main): Run tests in several
16821 * string/test-strncasecmp.c (test_main): Likewise.
16823 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
16824 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
16825 to __strcasecmp_nonascii and __strncasecmp_nonascii.
16826 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
16827 (__strncasecmp_ssse3) [PIC]: Likewise.
16829 2013-08-26 Roland McGrath <roland@hack.frob.com>
16831 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
16833 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
16834 instead of explicitly declaring xdecrypt.
16835 * nis/nss_nis/nis-publickey.c: Likewise.
16837 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16840 * nscd/aicache.c: Include res_hconf.h.
16841 (addhstaiX): Initialize res_hconf.
16843 2013-08-26 Andreas Schwab <schwab@suse.de>
16845 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
16846 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
16848 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16850 * nscd/aicache.c (addhstaiX): Fix indentation.
16852 2013-08-25 Mike Frysinger <vapier@gentoo.org>
16854 * configure.ac: Quote $build_pt_chown test.
16855 * configure: Regenerated.
16857 2013-08-23 Joseph Myers <joseph@codesourcery.com>
16860 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
16861 * math/s_cexpf.c (__cexpf): Likewise.
16862 * math/s_cexpl.c (__cexpl): Likewise.
16863 * math/libm-test.inc (cexp_test_data): Correct expected return
16864 value for NaN + i0. Add another test.
16866 2013-08-22 David S. Miller <davem@davemloft.net>
16868 * po/ca.po: Update Catalan translation from translation project.
16869 * po/uk.po: Add Ukrainian translations from translation project.
16871 2013-08-21 Joseph Myers <joseph@codesourcery.com>
16874 * math/s_fdim.c (__fdim): Check for infinite arguments if result
16875 is infinite, not alongside NaN test.
16876 * math/s_fdimf.c (__fdimf): Likewise.
16877 * math/s_fdiml.c (__fdiml): Likewise.
16878 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
16879 errno is unchanged.
16881 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
16883 * argp/argp-help.c: Fix typos.
16884 * crypt/speeds.c: Likewise.
16885 * csu/check_fds.c: Likewise.
16886 * elf/dl-load.c: Likewise.
16887 * elf/dl-open.c: Likewise.
16888 * elf/reldep3.c: Likewise.
16889 * elf/reldep.c: Likewise.
16890 * elf/sprof.c: Likewise.
16891 * iconv/iconv_charmap.c: Likewise.
16892 * iconv/skeleton.c: Likewise.
16893 * iconv/strtab.c: Likewise.
16894 * io/lockf64.c: Likewise.
16895 * libio/libioP.h: Likewise.
16896 * resolv/gai_notify.c: Likewise.
16897 * resolv/ns_name.c: Likewise.
16898 * resolv/ns_samedomain.c: Likewise.
16899 * resolv/res_send.c: Likewise.
16900 * stdlib/random.c: Likewise.
16901 * sunrpc/rpc/xdr.h: Likewise.
16902 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
16903 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
16904 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
16905 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
16906 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
16907 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
16908 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
16909 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
16910 * sysdeps/mach/hurd/check_fds.c: Likewise.
16911 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
16912 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
16913 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
16914 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
16915 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
16916 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
16917 * sysdeps/pthread/aio_notify.c: Likewise.
16918 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
16919 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
16920 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
16921 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
16922 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
16924 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16926 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
16927 version if bit_Slow_SSE4_2 is set.
16928 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
16929 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
16931 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16934 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
16935 trampoline stack frame information.
16936 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
16937 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
16938 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
16939 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
16940 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
16941 * sysdeps/unix/sysv/linux/powerpc/init-first.c
16942 (_libc_vdso_platform_setup): Initialize the signal trampolines.
16943 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
16945 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
16946 interrupting a syscall and set with option SA_SIGINFO.
16948 2013-08-20 Joseph Myers <joseph@codesourcery.com>
16951 * math/s_cproj.c (__cproj): Only return an infinity if one part of
16952 argument is infinite.
16953 * math/s_cprojf.c (__cprojf): Likewise.
16954 * math/s_cprojl.c (__cprojl): Likewise.
16955 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
16956 * math/libm-test.inc (cproj_test_data): Add more tests.
16958 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
16960 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
16961 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
16962 size. Use __ffs to determine corresponding shift.
16964 2013-08-20 Joseph Myers <joseph@codesourcery.com>
16965 Roland McGrath <roland@hack.frob.com>
16967 * Makefile (INSTALL): Remove trailing blank lines from output of
16970 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16972 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
16973 Align 32 bit compat elf_greg to 8 bytes.
16975 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
16977 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
16979 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
16981 * string/strcoll_l.c (coll_seq): New structure.
16982 (get_next_seq_cached): New function.
16983 (get_next_seq): New function.
16984 (do_compare): New function.
16985 (STRCOLL): Use GNU style definition. Simplify implementation
16986 by using get_next_seq, get_next_seq_cached and do_compare.
16988 2013-08-16 Florian Weimer <fweimer@redhat.com>
16992 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
16994 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
16996 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
16997 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
16998 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
17000 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
17001 GETDENTS_64BIT_ALIGNED.
17002 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
17003 * manual/filesys.texi (Reading/Closing Directory): Document
17004 ENAMETOOLONG return value of readdir_r. Recommend readdir more
17006 * manual/conf.texi (Limits for Files): Add portability note to
17007 NAME_MAX, PATH_MAX.
17008 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
17010 2013-08-13 Andreas Schwab <schwab@suse.de>
17013 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
17015 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
17016 LDBL_MAX_EXP >= 16384]: Add tests for it.
17018 2013-08-12 David S. Miller <davem@davemloft.net>
17020 * version.h (RELEASE): Set to "development".
17021 (VERSION): Set to "2.18.90".
17022 * NEWS: Add 2.19 section.
17024 2013-08-03 David S. Miller <davem@davemloft.net>
17026 * po/ko.po: Update Korean translation from translation project.
17028 2013-08-01 David S. Miller <davem@davemloft.net>
17030 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
17031 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
17034 2013-07-30 David S. Miller <davem@davemloft.net>
17036 * po/fr.po: Update French translation from translation project.
17038 2013-07-28 David S. Miller <davem@davemloft.net>
17040 * po/cs.po: Update Czech translation from translation project.
17042 * po/sv.po: Update Swedish translation from translation project.
17044 2013-07-27 David S. Miller <davem@davemloft.net>
17046 * po/eo.po: Update Esperanto translation from translation project.
17048 * po/vi.po: Update Vietnamese translation from translation project.
17050 * po/de.po: Update German translation from translation project.
17052 2013-07-26 David S. Miller <davem@davemloft.net>
17054 * po/bg.po: Update Bulgarian translation from translation project.
17056 * po/nl.po: Update Dutch translation from translation project.
17057 * po/pl.po: Update Polish translation from translation project.
17058 * po/ru.po: Update Russian translation from translation project.
17060 2013-07-24 David S. Miller <davem@davemloft.net>
17062 * po/libc.pot: Update.
17064 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17066 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
17067 variable page size.
17068 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
17069 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
17070 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
17072 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17074 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
17076 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17077 Andreas Schwab <schwab@suse.de>
17078 Roland McGrath <roland@hack.frob.com>
17079 Joseph Myers <joseph@codesourcery.com>
17080 Carlos O'Donell <carlos@redhat.com>
17083 * config.h.in: Define HAVE_PT_CHOWN.
17084 * config.make.in (build-pt-chown): New variable.
17085 * configure.in (--enable-pt_chown): New configure option.
17086 * configure: Regenerate.
17087 * login/Makefile: Include Makeconfig. Build pt_chown only if
17088 build-pt-chown is enabled.
17089 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
17090 pt_chown to fix pty ownership.
17091 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
17093 * manual/install.texi (Configuring and compiling): Mention
17094 --enable-pt_chown. Add @findex for grantpt.
17095 * INSTALL: Regenerate.
17097 2013-07-20 David S. Miller <davem@davemloft.net>
17099 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
17100 difference between 32-bit and 64-bit.
17102 2013-07-15 Carlos O'Donell <carlos@redhat.com>
17105 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
17106 Avoid system header dependency with -ffreestanding.
17107 ($(objpfx)bits/syscall%d): Likewise.
17109 2013-07-13 David S. Miller <davem@davemloft.net>
17111 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
17112 underflows from atanl/atan2l due to bug 15319.
17113 (casinh_test_data): Likewise.
17115 2013-07-07 David S. Miller <davem@davemloft.net>
17117 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
17119 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
17121 * sysdeps/i386/fpu/libm-test-ulps: Update.
17122 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17124 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
17126 * configure.in (--enable-lock-elision): Fix message text.
17127 * INSTALL: Regenerate.
17128 * configure: Regenerate.
17130 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17132 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17134 2013-07-03 Andreas Jaeger <aj@suse.de>
17136 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
17138 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
17139 (ptrace_peeksiginfo_args): Add.
17140 (__ptrace_peeksiginfo_flags): Add.
17141 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
17142 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
17143 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
17145 2013-07-03 Allan McRae <allan@archlinux.org>
17147 * sysdeps/i386/fpu/libm-test-ulps: Update.
17149 2013-07-02 David S. Miller <davem@davemloft.net>
17151 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17153 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
17155 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17157 2013-07-02 Joseph Myers <joseph@codesourcery.com>
17159 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
17160 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17162 2013-07-02 Andi Kleen <ak@linux.intel.com>
17164 * config.h.in (ENABLE_LOCK_ELISION): Add.
17165 * configure.in (--enable-lock-elision): Add option.
17166 * manual/install.texi: Document --enable lock elision.
17167 * configure: Regenerate
17168 * INSTALL: Regenerate.
17170 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
17172 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
17173 SSE4.2 strcasecmp for libc.a.
17174 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
17176 2013-07-02 Joseph Myers <joseph@codesourcery.com>
17179 * soft-fp/op-common.h (_FP_FMA): New macro.
17180 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
17181 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
17182 (_FP_MUL_MEAT_1_imm): ... here.
17183 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
17184 (_FP_MUL_MEAT_1_wide): ... here.
17185 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
17186 (_FP_MUL_MEAT_1_hard): ... here.
17187 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
17188 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
17189 (_FP_MUL_MEAT_2_wide): ... here.
17190 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
17191 (_FP_MUL_MEAT_2_wide_3mul): ... here.
17192 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
17193 (_FP_MUL_MEAT_2_gmp): ... here.
17194 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
17195 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
17196 (_FP_MUL_MEAT_4_wide): ... here.
17197 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
17198 (_FP_MUL_MEAT_4_gmp): ... here.
17199 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
17200 (_FP_WFRACBITS_DW_S): Likewise.
17201 (_FP_WFRACXBITS_DW_S): Likewise.
17202 (_FP_HIGHBIT_DW_S): Likewise.
17203 (FP_FMA_S): Likewise.
17204 (_FP_FRAC_HIGH_DW_S): Likewise.
17205 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
17206 (_FP_WFRACBITS_DW_D): Likewise.
17207 (_FP_WFRACXBITS_DW_D): Likewise.
17208 (_FP_HIGHBIT_DW_D): Likewise.
17209 (FP_FMA_D): Likewise.
17210 (_FP_FRAC_HIGH_DW_D): Likewise.
17211 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
17212 (_FP_WFRACBITS_DW_E): Likewise.
17213 (_FP_WFRACXBITS_DW_E): Likewise.
17214 (_FP_HIGHBIT_DW_E): Likewise.
17215 (FP_FMA_E): Likewise.
17216 (_FP_FRAC_HIGH_DW_E): Likewise.
17217 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
17218 (_FP_WFRACBITS_DW_Q): Likewise.
17219 (_FP_WFRACXBITS_DW_Q): Likewise.
17220 (_FP_HIGHBIT_DW_Q): Likewise.
17221 (FP_FMA_Q): Likewise.
17222 (_FP_FRAC_HIGH_DW_Q): Likewise.
17223 * soft-fp/fmasf4.c: New file.
17224 * soft-fp/fmadf4.c: Likewise.
17225 * soft-fp/fmatf4.c: Likewise.
17227 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17229 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
17230 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
17232 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
17234 (index_Slow_SSE4_2): Likewise.
17235 (index_Prefer_PMINUB_for_stringop): Likewise.
17236 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
17237 bit_Slow_SSE4_2 is set.
17238 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
17239 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
17241 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17243 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
17244 rtld_global._dl_hwcap2.
17245 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
17247 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
17248 POWER8 feature descriptions defined in _dl_hwcap2.
17249 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
17250 string handling for POWER8 feature bits.
17251 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
17252 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
17253 _dl_powerpc_cap_flags.
17254 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
17255 * sysdeps/powerpc/rtld-global-offsets.sym
17256 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
17257 _dl_hwcap2 in the rtld_global_ro structure.
17259 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17261 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
17262 hardware capabilities in support of AT_HWCAP2.
17263 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
17264 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
17266 (_dl_show_auxv): Add support for calling _dl_procinfo to display
17267 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
17268 explicitly the unknown a_type display mechanism is used.
17269 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
17270 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
17272 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
17273 to macro prototype for AT_HWCAP2 support.
17274 * sysdeps/i386/dl-procinfo.h: Likewise.
17275 * sysdeps/s390/dl-procinfo.h: Likewise.
17276 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
17277 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
17278 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
17279 return -1 for unknown a_type display fallback.
17280 * sysdeps/sparc/dl-procinfo.h: Likewise.
17281 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
17282 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
17284 2013-06-28 Joseph Myers <joseph@codesourcery.com>
17286 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
17287 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
17289 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
17292 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
17293 mprotect making __stack_prot writable.
17295 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
17296 Joseph Myers <joseph@codesourcery.com>
17298 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
17299 as being properly aligned.
17301 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
17303 * dlfcn/modstatic5.c: New file.
17304 * dlfcn/tststatic5.c: New file.
17305 * dlfcn/Makefile (tests): Add tststatic5.
17306 (tests-static): Likewise.
17307 (modules-names): Add modstatic5.
17308 (tststatic5-ENV): New variable.
17309 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
17312 * elf/dl-support.c (_dl_main_map): New variable.
17313 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
17314 (_dl_nns, _dl_load_adds): Set to 1.
17315 (_dl_initial_searchlist): Refer to _dl_main_map.
17316 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
17317 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
17318 call to _dl_get_origin.
17319 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
17321 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
17322 * dlfcn/modstatic3.c: New file.
17323 * dlfcn/tststatic3.c: New file.
17324 * dlfcn/tststatic4.c: New file.
17325 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
17326 (tests-static): Likewise.
17327 (modules-names): Add modstatic3.
17328 (tststatic3-ENV, tststatic4-ENV): New variables.
17329 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
17330 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
17332 2013-06-26 Joseph Myers <joseph@codesourcery.com>
17334 * configure.in (CC): Require GCC version 4.4 or later.
17335 * configure: Regenerated.
17336 * manual/install.texi (Tools for Compilation): Update GCC version
17338 * INSTALL: Regenerated.
17340 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17343 * string/test-memcmp.c (check2): New.
17344 (main): Call check2.
17346 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
17348 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
17351 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
17353 (dl_open_worker) [!SHARED]: ... here.
17355 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17357 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
17359 2013-06-25 Richard Henderson <rth@redhat.com>
17361 * locale/programs/locarchive.c: Include <libc-internal.h>
17363 2013-06-25 Joseph Myers <joseph@codesourcery.com>
17365 * manual/texinfo.tex: Update to version 2013-06-21.17, with
17366 trailing whitespace removed.
17368 2013-06-24 Mike Frysinger <vapier@gentoo.org>
17371 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
17372 * locale/programs/locarchive.c: Include libc-mmap.h.
17373 (prepare_address_space): Take two new outputs (the mmap base and len).
17374 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
17376 (create_archive): Declare new mmap base and len values for
17377 prepare_address_space, and store the result in ah.
17378 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
17379 (enlarge_archive): If ah->mmap_base is not NULL, use that and
17380 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
17381 Declare new mmap base and len values for
17382 prepare_address_space, and store the result in new_ah.
17383 (open_archive): Declare new mmap base and len values for
17384 prepare_address_space, and store the result in ah.
17385 (close_archive): If ah->mmap_base is not NULL, use that and
17386 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
17387 * sysdeps/generic/libc-mmap.h: New file.
17389 2013-06-24 Mike Frysinger <vapier@gentoo.org>
17391 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
17392 (ALIGN_UP): Likewise.
17393 (PTR_ALIGN_DOWN): Likewise.
17394 (PTR_ALIGN_UP): Likewise.
17396 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17398 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
17399 entry mapped to PPC_PLATFORM_POWER8.
17400 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
17402 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
17403 (_dl_string_platform): Add case for exporting platform position for
17405 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
17406 search path to sysdeps/powerpc/powerpc32/power8 directory.
17407 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
17408 search path to sysdeps/powerpc/powerpc64/power8 directory.
17409 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
17410 power7 directories.
17411 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
17412 power7 directories.
17414 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
17416 * INSTALL: Regenerate.
17418 * nscd/connections.c (nscd_init): Fix comment.
17420 2013-06-22 Joseph Myers <joseph@codesourcery.com>
17422 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
17425 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
17426 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
17428 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
17430 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
17432 (DL_DST_REQ_STATIC): Remove macro.
17434 2013-06-21 Joseph Myers <joseph@codesourcery.com>
17437 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
17438 with a shift of 0 bits.
17440 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
17442 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
17445 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17448 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
17450 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17452 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
17453 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
17454 accepts -fno-tree-loop-distribute-patterns.
17455 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
17456 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
17458 * string/memset.c (memset): Likewise.
17459 * string/test-memmove.c (simple_memmove): Disable loop transformation
17461 * string/test-memset.c (simple_memset): Likewise.
17462 * benchtests/bench-memmove.c (simple_memmove): Likewise.
17463 * benchtests/bench-memset.c (simple_memset): Likewise.
17464 * configure: Regenerated.
17466 2013-06-20 Joseph Myers <joseph@codesourcery.com>
17468 * math/test-misc.c (main): Ignore fesetround failure when failures
17469 of subsequent rounding tests would be ignored.
17472 * math/fedisblxcpt.c (fedisableexcept): Return 0.
17473 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
17474 * math/fegetenv.c (__fegetenv): Return 0.
17475 * math/fegetexcept.c (fegetexcept): Return 0.
17476 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
17478 * math/feholdexcpt.c (feholdexcept): Return 0.
17479 * math/fesetenv.c (__fesetenv): Return 0.
17480 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
17481 argument FE_TONEAREST.
17482 * math/feupdateenv.c (__feupdateenv): Return 0.
17483 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
17485 2013-06-18 Roland McGrath <roland@hack.frob.com>
17487 * elf/rtld-Rules (rtld-compile-command.S): New variable.
17488 (rtld-compile-command.s, rtld-compile-command.c): New variables.
17489 ($(objpfx)rtld-%.os rules): Use them.
17491 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17493 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
17496 2013-06-17 Roland McGrath <roland@hack.frob.com>
17498 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
17499 length of target pattern, then descending length of dependency pattern.
17500 * configure.in (AWK): Require gawk 3.1.2 or newer.
17501 * manual/install.texi (Tools for Compilation): Say that we do.
17502 * configure: Regenerated.
17504 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
17505 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
17506 * scripts/sysd-rules.awk: ... this new script.
17507 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
17508 than a glob-style pattern.
17510 2013-06-17 Joseph Myers <joseph@codesourcery.com>
17512 * math/test-misc.c (main): Do not treat incorrectly rounded
17513 conversions as failure unless ROUNDING_TESTS passes.
17515 2013-06-15 Joseph Myers <joseph@codesourcery.com>
17518 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
17519 restore exception state around main square root computation, then
17520 check for inexactness explicitly.
17522 * math/libm-test.inc (fma_test_data): Add another test.
17524 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
17526 * manual/threads.texi (Non-POSIX Extensions): New document
17527 node. Document pthread_getattr_default_np and
17528 pthread_setattr_default_np.
17530 * Versions.def (libpthread): Add GLIBC_2.18.
17531 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
17532 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
17534 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
17536 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
17538 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
17540 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
17542 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
17544 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
17546 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
17548 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
17551 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17553 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17554 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
17556 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
17557 H.J. Lu <hjl.tools@gmail.com>
17560 * sysdeps/x86_64/rtld-memset.c: Remove file.
17561 * sysdeps/x86_64/rtld-memset.S: New file.
17563 2013-06-14 Joseph Myers <joseph@codesourcery.com>
17565 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
17566 (test_in_one_mode): Take arguments for whether the rounding mode
17567 is supported for each floating-point type.
17568 (do_test): Pass new arguments to test_in_one_mode using
17571 2013-06-13 Roland McGrath <roland@hack.frob.com>
17573 * posix/tst-waitid.c (do_test): Distinguish different instances of
17574 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
17575 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
17576 before entering the kernel for waitpid.
17578 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
17580 * NEWS: Fix note on clock function precision. Text by Roland
17583 2013-06-13 Roland McGrath <roland@hack.frob.com>
17585 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
17586 it into place only when and if the sanity check passes.
17588 2013-06-13 Joseph Myers <joseph@codesourcery.com>
17590 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
17591 output for whether conversion result is exact. Take argument
17592 indicating whether type is IBM long double.
17593 (round_for_all): Change need_exact field to ibm_ld.
17594 * stdlib/tst-strtod-round.c (struct exactness): New type.
17595 (struct test): Change bool ld_ok field to struct exactness exact.
17596 (TEST): Update all definitions for change to field.
17597 (tests): Regenerate array contents.
17598 (test_in_one_mode): Take pointer to new field instead of old ld_ok
17599 field value. Check for IBM long double here.
17600 (do_test): Update calls to test_in_one_mode.
17602 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
17605 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
17606 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
17608 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17611 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
17612 generated by the compiler on loop optimizations.
17613 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
17614 general definitions.
17616 2013-06-12 Joseph Myers <joseph@codesourcery.com>
17618 * math/bug-nextafter.c: Include <math-tests.h>.
17619 (main): Only test for exceptions if EXCEPTION_TESTS is true for
17621 * math/bug-nexttoward.c: Include <math-tests.h>.
17622 (main): Only test for exceptions if EXCEPTION_TESTS is true for
17624 * math/test-misc.c: Include <math-tests.h>.
17625 (main): Only test for exceptions if EXCEPTION_TESTS is true for
17628 2013-06-12 Andreas Jaeger <aj@suse.de>
17630 * po/ia.po: Update Interlingua translation from translation
17633 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
17635 * include/fenv.h: Include stdbool.h.
17636 (struct rm_ctx): New structure.
17637 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
17639 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
17640 (SET_RESTORE_ROUNDF): Likewise.
17641 (SET_RESTORE_ROUNDL): Likewise.
17642 (SET_RESTORE_ROUND_NOEX): Likewise.
17643 (SET_RESTORE_ROUND_NOEXF): Likewise.
17644 (SET_RESTORE_ROUND_NOEXL): Likewise.
17645 (SET_RESTORE_ROUND_53BIT): Likewise.
17646 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
17647 (libc_feresetround_noexf_ctx): Likewise.
17648 (libc_feresetround_noexl_ctx): Likewise.
17649 (libc_feholdsetround_53bit_ctx): Likewise.
17650 (libc_feresetround_53bit_ctx): Likewise.
17651 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
17652 (libc_feholdexcept_setround_sse_ctx): New function.
17653 (libc_fesetenv_sse_ctx): Likewise.
17654 (libc_feupdateenv_sse_ctx): Likewise.
17655 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
17656 (libc_feholdexcept_setround_387_ctx): Likewise.
17657 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
17658 (libc_feholdsetround_387_prec_ctx): Likewise.
17659 (libc_feholdsetround_387_ctx): Likewise.
17660 (libc_feholdsetround_387_53bit_ctx): Likewise.
17661 (libc_feholdsetround_sse_ctx): Likewise.
17662 (libc_feresetround_sse_ctx): Likewise.
17663 (libc_feresetround_387_ctx): Likewise.
17664 (libc_feupdateenv_387_ctx): Likewise.
17665 (libc_feholdexcept_setroundf_ctx): Define macro.
17666 (libc_fesetenvf_ctx): Likewise.
17667 (libc_feupdateenvf_ctx): Likewise.
17668 (libc_feholdsetroundf_ctx): Likewise.
17669 (libc_feresetroundf_ctx): Likewise.
17670 (libc_feholdexcept_setround_ctx): Likewise.
17671 (libc_fesetenv_ctx): Likewise.
17672 (libc_feupdateenv_ctx): Likewise.
17673 (libc_feholdsetround_ctx): Likewise.
17674 (libc_feresetround_ctx): Likewise.
17675 (libc_feholdexcept_setroundl_ctx): Likewise.
17676 (libc_feupdateenvl_ctx): Likewise.
17677 (libc_feholdsetroundl_ctx): Likewise.
17678 (libc_feresetroundl_ctx): Likewise.
17679 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
17680 (libc_feresetround_53bit_ctx): Likewise.
17682 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
17684 * locale/iso-639.def: Convert to UTF-8.
17686 2013-06-11 Joseph Myers <joseph@codesourcery.com>
17688 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
17689 (EXCEPTION_TESTS_double): Likewise.
17690 (EXCEPTION_TESTS_long_double): Likewise.
17691 (EXCEPTION_TESTS): Likewise.
17692 * math/libm-test.inc (test_exceptions): Only test exceptions if
17693 EXCEPTION_TESTS (FLOAT).
17695 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
17697 * benchtests/Makefile (string-bench): Add strcpy_chk and
17699 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
17700 * benchtests/bench-stpcpy_chk.c: New file.
17701 * benchtests/bench-strcpy_chk-ifunc.c: New file.
17702 * benchtests/bench-strcpy_chk.c: New file.
17703 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
17705 (do_test): Likewise.
17707 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17709 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
17710 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
17711 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
17712 with tabs where appropriate.
17713 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
17715 [PPC_PLATFORM_PPC440]: Likewise.
17716 [PPC_PLATFORM_PPC464]: Likewise.
17717 [PPC_PLATFORM_PPC476]: Likewise.
17718 (_dl_string_platform): Add support for detecting ppc405, ppc440,
17719 ppc464, and ppc476 platform strings merging from ports/
17722 2013-06-11 Andreas Schwab <schwab@suse.de>
17725 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
17726 (from_ucs4_idx): Regenerate.
17727 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
17728 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
17729 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
17730 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
17731 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
17732 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
17733 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
17734 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
17735 from FROM_LOOP and TO_LOOP specific macros.
17736 (BODY): Handle combining characters.
17737 * iconvdata/BIG5HKSCS.irreversible: Update.
17738 * iconvdata/BIG5HKSCS.precomposed: New file.
17739 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
17741 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
17743 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
17745 * include/sys/time.h: Fix indentation and add copyright header.
17747 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
17748 (do_test): Likewise.
17749 * string/test-memchr.c (do_one_test): Likewise.
17750 (do_test): Likewise.
17751 * string/test-memcmp.c (do_one_test): Likewise.
17752 (do_test): Likewise.
17753 * string/test-memcpy.c (do_one_test): Likewise.
17754 (do_test): Likewise.
17755 * string/test-memmem.c (do_one_test): Likewise.
17756 (do_test): Likewise.
17757 (do_random_tests): Likewise.
17758 * string/test-memmove.c (do_one_test): Likewise.
17759 (do_test): Likewise.
17760 * string/test-memset.c (do_one_test): Likewise.
17761 (do_test): Likewise.
17762 * string/test-rawmemchr.c (do_one_test): Likewise.
17763 (do_test): Likewise.
17764 * string/test-strcasecmp.c (do_one_test): Likewise.
17765 (do_test): Likewise.
17766 * string/test-strcasestr.c (do_one_test): Likewise.
17767 (do_test): Likewise.
17768 * string/test-strcat.c (do_one_test): Likewise.
17769 (do_test): Likewise.
17770 * string/test-strchr.c (do_one_test): Likewise.
17771 (do_test): Likewise.
17772 * string/test-strcmp.c (do_one_test): Likewise.
17773 (do_test): Likewise.
17774 * string/test-strcpy.c (do_one_test): Likewise.
17775 (do_test): Likewise.
17776 * string/test-string.h: Likewise.
17777 (test_init): Likewise.
17778 * string/test-strlen.c (do_one_test): Likewise.
17779 (do_test): Likewise.
17780 * string/test-strncasecmp.c (do_one_test): Likewise.
17781 (do_test): Likewise.
17782 * string/test-strncat.c (do_one_test): Likewise.
17783 (do_test): Likewise.
17784 * string/test-strncmp.c (do_one_test): Likewise.
17785 (do_test_limit): Likewise.
17786 (do_test): Likewise.
17787 * string/test-strncpy.c (do_one_test): Likewise.
17788 (do_test): Likewise.
17789 * string/test-strnlen.c (do_one_test): Likewise.
17790 (do_test): Likewise.
17791 * string/test-strpbrk.c (do_one_test): Likewise.
17792 (do_test): Likewise.
17793 * string/test-strrchr.c (do_one_test): Likewise.
17794 (do_test): Likewise.
17795 * string/test-strspn.c (do_one_test): Likewise.
17796 (do_test): Likewise.
17797 * string/test-strstr.c (do_one_test): Likewise.
17798 (do_test): Likewise.
17800 * benchtests/Makefile (string-bench): Add string benchmarks.
17801 * benchtests/bench-bcopy-ifunc.c: New file.
17802 * benchtests/bench-bcopy.c: New file.
17803 * benchtests/bench-bzero-ifunc.c: New file.
17804 * benchtests/bench-bzero.c: New file.
17805 * benchtests/bench-memccpy-ifunc.c: New file.
17806 * benchtests/bench-memccpy.c: New file.
17807 * benchtests/bench-memchr-ifunc.c: New file.
17808 * benchtests/bench-memchr.c: New file.
17809 * benchtests/bench-memcmp-ifunc.c: New file.
17810 * benchtests/bench-memcmp.c: New file.
17811 * benchtests/bench-memmem-ifunc.c: New file.
17812 * benchtests/bench-memmem.c: New file.
17813 * benchtests/bench-memmove-ifunc.c: New file.
17814 * benchtests/bench-memmove.c: New file.
17815 * benchtests/bench-mempcpy-ifunc.c: New file.
17816 * benchtests/bench-mempcpy.c: New file.
17817 * benchtests/bench-memset-ifunc.c: New file.
17818 * benchtests/bench-memset.c: New file.
17819 * benchtests/bench-rawmemchr-ifunc.c: New file.
17820 * benchtests/bench-rawmemchr.c: New file.
17821 * benchtests/bench-stpcpy-ifunc.c: New file.
17822 * benchtests/bench-stpcpy.c: New file.
17823 * benchtests/bench-stpncpy-ifunc.c: New file.
17824 * benchtests/bench-stpncpy.c: New file.
17825 * benchtests/bench-strcasecmp-ifunc.c: New file.
17826 * benchtests/bench-strcasecmp.c: New file.
17827 * benchtests/bench-strcasestr-ifunc.c: New file.
17828 * benchtests/bench-strcasestr.c: New file.
17829 * benchtests/bench-strcat-ifunc.c: New file.
17830 * benchtests/bench-strcat.c: New file.
17831 * benchtests/bench-strchr-ifunc.c: New file.
17832 * benchtests/bench-strchr.c: New file.
17833 * benchtests/bench-strchrnul-ifunc.c: New file.
17834 * benchtests/bench-strchrnul.c: New file.
17835 * benchtests/bench-strcmp-ifunc.c: New file.
17836 * benchtests/bench-strcmp.c: New file.
17837 * benchtests/bench-strcpy-ifunc.c: New file.
17838 * benchtests/bench-strcpy.c: New file.
17839 * benchtests/bench-strcspn-ifunc.c: New file.
17840 * benchtests/bench-strcspn.c: New file.
17841 * benchtests/bench-strlen-ifunc.c: New file.
17842 * benchtests/bench-strlen.c: New file.
17843 * benchtests/bench-strncasecmp-ifunc.c: New file.
17844 * benchtests/bench-strncasecmp.c: New file.
17845 * benchtests/bench-strncat-ifunc.c: New file.
17846 * benchtests/bench-strncat.c: New file.
17847 * benchtests/bench-strncmp-ifunc.c: New file.
17848 * benchtests/bench-strncmp.c: New file.
17849 * benchtests/bench-strncpy-ifunc.c: New file.
17850 * benchtests/bench-strncpy.c: New file.
17851 * benchtests/bench-strnlen-ifunc.c: New file.
17852 * benchtests/bench-strnlen.c: New file.
17853 * benchtests/bench-strpbrk-ifunc.c: New file.
17854 * benchtests/bench-strpbrk.c: New file.
17855 * benchtests/bench-strrchr-ifunc.c: New file.
17856 * benchtests/bench-strrchr.c: New file.
17857 * benchtests/bench-strspn-ifunc.c: New file.
17858 * benchtests/bench-strspn.c: New file.
17859 * benchtests/bench-strstr-ifunc.c: New file.
17860 * benchtests/bench-strstr.c: New file.
17862 * benchtests/Makefile: Disable parallel execution of targets.
17863 (string-bench): Add memcpy.
17864 (benchset): New variable to store a list of benchmark sets.
17865 (bench-func): Renamed from bench.
17866 (bench-set): New target.
17867 (bench): Depend on bench-func and bench-set.
17868 * benchtests/README: Add section on benchmark sets.
17869 * benchtests/bench-memcpy-ifunc.c: New file.
17870 * benchtests/bench-memcpy.c: New file.
17871 * benchtests/bench-string.h: New file.
17873 2013-06-11 Andreas Schwab <schwab@suse.de>
17876 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
17877 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
17878 values in the triple.
17879 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
17880 terminator in the group key.
17882 2013-06-11 Andreas Jaeger <aj@suse.de>
17884 * po/zh_TW.po: Update Chinese (traditional) translation from
17885 translation project.
17887 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
17889 * include/time.h (__clock_gettime): Add libc_hidden_proto.
17890 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
17891 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
17892 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
17893 (clock_getcpuclockid): Likewise.
17894 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
17895 Add weak_alias and libc_hidden_def.
17896 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
17897 * rt/clock_gettime.c (clock_gettime): Rename to
17898 __clock_gettime. Add weak_alias and libc_hidden_def.
17899 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
17900 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
17901 __clock_nanosleep. Add weak_alias and libc_hidden_def.
17902 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
17903 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
17905 * rt/clock_settime.c (clock_settime): Rename to
17906 __clock_settime. Add weak_alias and libc_hidden_def.
17907 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
17909 2013-06-10 Joseph Myers <joseph@codesourcery.com>
17911 * mach/err_boot.sub: Remove trailing whitespace.
17912 * mach/err_ipc.sub: Likewise.
17913 * mach/err_mach.sub: Likewise.
17915 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
17916 (ROUNDING_TESTS_double): Likewise.
17917 (ROUNDING_TESTS_long_double): Likewise.
17918 (ROUNDING_TESTS): Likewise.
17919 * math/libm-test.inc: Include <math-tests.h>.
17920 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
17921 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
17922 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
17923 (IF_ROUND_INIT_FE_UPWARD): Likewise.
17925 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
17927 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
17930 2013-06-08 Joseph Myers <joseph@codesourcery.com>
17932 * sysdeps/gnu/errlist.awk: Do not generate space at end of
17933 otherwise empty TRANS lines.
17934 * sysdeps/gnu/errlist.c: Regenerated.
17936 * catgets/gencat.c (error_print): Use (void) in function
17938 * crypt/crypt_util.c (__init_des): Likewise.
17939 * crypt/speeds.c (Stop): Likewise.
17941 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
17942 * inet/ruserpass.c (token): Likewise.
17943 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
17944 * intl/localealias.c (extend_alias_table): Likewise.
17945 * intl/plural-exp.c (init_germanic_plural): Likewise.
17946 * libio/fcloseall.c (__fcloseall): Likewise.
17947 * libio/genops.c (_IO_flush_all): Likewise.
17948 (_IO_flush_all_linebuffered): Likewise.
17949 (_IO_cleanup): Likewise.
17950 (_IO_iter_begin): Likewise.
17951 (_IO_iter_end): Likewise.
17952 (_IO_list_lock): Likewise.
17953 (_IO_list_unlock): Likewise.
17954 (_IO_list_resetlock): Likewise.
17955 * libio/getchar.c (getchar): Likewise.
17956 * libio/getchar_u.c (getchar_unlocked): Likewise.
17957 * libio/getwchar.c (getwchar): Likewise.
17958 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
17959 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
17960 * login/getpt.c (__getpt): Likewise.
17961 * login/tst-utmp.c (main): Likewise.
17962 * malloc/hooks.c (__malloc_check_init): Likewise.
17963 * malloc/malloc.c (__malloc_stats): Likewise.
17964 * malloc/mtrace.c (tr_break): Likewise.
17965 (mtrace): Likewise.
17966 (muntrace): Likewise.
17967 * misc/fstab.c (endfsent): Likewise.
17968 * misc/getclktck.c (__getclktck): Likewise.
17969 * misc/getdtsz.c (__getdtablesize): Likewise.
17970 * misc/gethostid.c (gethostid): Likewise.
17971 * misc/getpagesize.c (__getpagesize): Likewise.
17972 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
17973 (__get_nprocs): Likewise.
17974 (__get_phys_pages): Likewise.
17975 (__get_avphys_pages): Likewise.
17976 * misc/getttyent.c (getttyent): Likewise.
17977 (setttyent): Likewise.
17978 (endttyent): Likewise.
17979 * misc/getusershell.c (getusershell): Likewise.
17980 (endusershell): Likewise.
17981 (setusershell): Likewise.
17982 (initshells): Likewise.
17983 * misc/hsearch.c (__hdestroy): Likewise.
17984 * misc/sync.c (sync): Likewise.
17985 * misc/syslog.c (closelog_internal): Likewise.
17986 (closelog): Likewise.
17987 * misc/ttyslot.c (ttyslot): Likewise.
17988 * misc/vhangup.c (vhangup): Likewise.
17989 * posix/fork.c (__fork): Likewise.
17990 * posix/getegid.c (__getegid): Likewise.
17991 * posix/geteuid.c (__geteuid): Likewise.
17992 * posix/getgid.c (__getgid): Likewise.
17993 * posix/getpid.c (__getpid): Likewise.
17994 * posix/getppid.c (__getppid): Likewise.
17995 * posix/getuid.c (__getuid): Likewise.
17996 * posix/pause.c (pause): Likewise.
17997 * posix/setpgrp.c (setpgrp): Likewise.
17998 * posix/setsid.c (__setsid): Likewise.
17999 * posix/test-vfork.c (noop): Likewise.
18000 * resolv/gethnamaddr.c (_endhtent): Likewise.
18001 (_gethtent): Likewise.
18002 (ht_endhostent): Likewise.
18003 (gethostent): Likewise.
18004 (dns_service): Likewise.
18005 * stdlib/drand48.c (drand48): Likewise.
18006 * stdlib/lrand48.c (lrand48): Likewise.
18007 * stdlib/mrand48.c (mrand48): Likewise.
18008 * stdlib/rand.c (rand): Likewise.
18009 * stdlib/random.c (__random): Likewise.
18010 * stdlib/setenv.c (clearenv): Likewise.
18011 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
18012 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
18013 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
18014 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
18015 (__get_nprocs): Likewise.
18016 (__get_phys_pages): Likewise.
18017 (__get_avphys_pages): Likewise.
18018 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
18019 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
18020 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
18021 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
18022 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
18023 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
18024 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
18025 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
18026 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
18027 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
18028 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
18029 * sysdeps/mach/hurd/sync.c (sync): Likewise.
18030 * sysdeps/posix/clock.c (clock): Likewise.
18031 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
18032 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
18033 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
18034 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
18035 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
18036 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
18037 (__get_nprocs_conf): Likewise.
18038 (__get_phys_pages): Likewise.
18039 (__get_avphys_pages): Likewise.
18040 * time/clock.c (clock): Likewise.
18041 * time/tzset.c (__tzname_max): Likewise.
18043 2013-06-07 Joseph Myers <joseph@codesourcery.com>
18045 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
18046 (__bswap_32): Do not use "register".
18047 * crypt/crypt.c (_ufc_doit_r): Likewise.
18048 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
18049 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
18050 * gmon/gmon.c (__monstartup): Likewise.
18051 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
18052 * hurd/hurdmalloc.c (more_memory): Likewise.
18053 (malloc): Likewise.
18055 (realloc): Likewise.
18056 (malloc_fork_prepare): Likewise.
18057 (malloc_fork_parent): Likewise.
18058 (malloc_fork_child): Likewise.
18059 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
18060 (_svcauth_des): Likewise.
18061 * inet/inet_lnaof.c (inet_lnaof): Likewise.
18062 * inet/inet_net.c (inet_network): Likewise.
18063 * inet/inet_netof.c (inet_netof): Likewise.
18064 * inet/rcmd.c (__validuser2_sa): Likewise.
18065 * io/fts.c (fts_open): Likewise.
18066 (fts_load): Likewise.
18067 (fts_close): Likewise.
18068 (fts_read): Likewise.
18069 (fts_children): Likewise.
18070 (fts_build): Likewise.
18071 (fts_stat): Likewise.
18072 (fts_sort): Likewise.
18073 (fts_alloc): Likewise.
18074 (fts_lfree): Likewise.
18075 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
18076 (_IO_file_xsgetn): Likewise.
18077 (_IO_file_xsgetn_mmap): Likewise.
18078 * libio/iofopncook.c (_IO_cookie_read): Likewise.
18079 (_IO_cookie_write): Likewise.
18080 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
18081 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
18082 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
18083 * malloc/obstack.c (_obstack_begin): Likewise.
18084 (_obstack_begin_1): Likewise.
18085 (_obstack_newchunk): Likewise.
18086 (_obstack_allocated_p): Likewise.
18087 (obstack_free): Likewise.
18088 (_obstack_memory_used): Likewise.
18089 * misc/getttyent.c (getttynam): Likewise.
18090 (getttyent): Likewise.
18093 * misc/getusershell.c (initshells): Likewise.
18094 * misc/syslog.c (__vsyslog_chk): Likewise.
18095 * misc/ttyslot.c (ttyslot): Likewise.
18096 * nis/nis_hash.c (__nis_hash): Likewise.
18097 * posix/fnmatch_loop.c (FCT): Likewise.
18098 * posix/getconf.c (print_all): Likewise.
18100 * posix/getopt.c (exchange): Likewise.
18101 * posix/glob.c (globfree): Likewise.
18102 (prefix_array): Likewise.
18103 (__glob_pattern_type): Likewise.
18104 * resolv/arpa/nameser.h (NS_GET16): Likewise.
18105 (NS_GET32): Likewise.
18106 (NS_PUT16): Likewise.
18107 (NS_PUT32): Likewise.
18108 * resolv/gethnamaddr.c (getanswer): Likewise.
18109 (gethostbyname2): Likewise.
18110 (gethostbyaddr): Likewise.
18111 (_gethtent): Likewise.
18112 (_gethtbyname2): Likewise.
18113 (_gethtbyaddr): Likewise.
18114 * resolv/ns_print.c (dst_s_get_int16): Likewise.
18115 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
18116 * resolv/res_init.c (__res_vinit): Likewise.
18117 (net_mask): Likewise.
18118 * resolv/res_mkquery.c (outchar): Likewise.
18120 * stdio-common/printf_fp.c (outchar): Likewise.
18122 * stdio-common/printf_fphex.c (outchar): Likewise.
18124 * stdio-common/printf_size.c (outchar): Likewise.
18126 * stdio-common/test_rdwr.c (main): Likewise.
18127 * stdio-common/tfformat.c (matches): Likewise.
18128 * stdio-common/vfprintf.c (outchar): Likewise.
18129 (printf_unknown): Likewise.
18130 (buffered_vfprintf): Likewise.
18131 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
18132 * stdio-common/xbug.c (AppendToBuffer): Likewise.
18133 (ReadFile): Likewise.
18134 * stdlib/qsort.c (SWAP): Likewise.
18135 (_quicksort): Likewise.
18136 * stdlib/setenv.c (__add_to_environ): Likewise.
18137 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
18138 * stdlib/strtol_l.c (__strtol_l): Likewise.
18139 * stdlib/tst-strtod.c (main): Likewise.
18140 * stdlib/tst-strtol.c (main): Likewise.
18141 * stdlib/tst-strtoll.c (main): Likewise.
18142 * string/bits/string2.h (__strcmp_cc): Likewise.
18143 (__strcmp_cg): Likewise.
18144 (__strcspn_c1): Likewise.
18145 (__strcspn_c2): Likewise.
18146 (__strcspn_c3): Likewise.
18147 (__strspn_c1): Likewise.
18148 (__strspn_c2): Likewise.
18149 (__strspn_c3): Likewise.
18150 (__strsep_1c): Likewise.
18151 (__strsep_2c): Likewise.
18152 (__strsep_3c): Likewise.
18153 * string/memccpy.c (__memccpy): Likewise.
18154 * string/stpcpy.c (__stpcpy): Likewise.
18155 * string/strcmp.c (strcmp): Likewise.
18156 * string/strrchr.c (strrchr): Likewise.
18157 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
18159 * sysdeps/mach/hurd/getcwd.c
18160 (_hurd_canonicalize_directory_name_internal): Likewise.
18161 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
18162 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
18163 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
18164 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
18165 Likewise, in both definitions.
18166 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
18168 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
18169 64] (__bswap_64): Likewise.
18170 * time/test_time.c (main): Likewise.
18171 * time/tzfile.c (__tzfile_read): Likewise.
18172 (__tzfile_compute): Likewise.
18173 * time/tzset.c (__tzset_parse_tz): Likewise.
18174 (tzset_internal): Likewise.
18175 (compute_change): Likewise.
18176 * wcsmbs/wcscat.c (__wcscat): Likewise.
18177 * wcsmbs/wcschr.c (wcschr): Likewise.
18178 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
18179 * wcsmbs/wcscspn.c (wcscspn): Likewise.
18180 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
18181 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
18182 * wcsmbs/wcsspn.c (wcsspn): Likewise.
18183 * wcsmbs/wcsstr.c (wcsstr): Likewise.
18184 * wcsmbs/wmemchr.c (wmemchr): Likewise.
18185 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
18186 * wcsmbs/wmemset.c (wmemset): Likewise.
18188 2013-06-06 Joseph Myers <joseph@codesourcery.com>
18190 * scripts/config.guess: Update to version 2013-05-16.
18191 * scripts/config.sub: Update to version 2013-04-24.
18192 * scripts/install-sh: Update to version 2011-11-20.07.
18193 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
18194 * scripts/move-if-change: Update to version 2012-01-06 07:23.
18196 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
18198 * debug/fgetws_u_chk.c: Fix leading whitespaces.
18199 * elf/sln.c: Likewise.
18200 * hurd/hurd/ioctl.h: Likewise.
18201 * hurd/hurdmalloc.c: Likewise.
18202 * hurd/xattr.c: Likewise.
18203 * include/shlib-compat.h: Likewise.
18204 * inet/ruserpass.c: Likewise.
18205 * libio/iofgets_u.c: Likewise.
18206 * libio/iofgetws_u.c: Likewise.
18207 * locale/programs/ld-identification.c: Likewise.
18208 * locale/programs/ld-time.c: Likewise.
18209 * mach/msg-destroy.c: Likewise.
18210 * nss/nss_files/files-netgrp.c: Likewise.
18211 * resolv/res_data.c: Likewise.
18212 * soft-fp/op-1.h: Likewise.
18213 * soft-fp/op-2.h: Likewise.
18214 * soft-fp/op-4.h: Likewise.
18215 * soft-fp/op-common.h: Likewise.
18216 * stdio-common/printf_fphex.c: Likewise.
18217 * stdlib/strtod_l.c: Likewise.
18218 * sunrpc/rpc/clnt.h: Likewise.
18219 * sysdeps/generic/framestate.c: Likewise.
18220 * sysdeps/i386/bsd-_setjmp.S: Likewise.
18221 * sysdeps/i386/bsd-setjmp.S: Likewise.
18222 * sysdeps/i386/__longjmp.S: Likewise.
18223 * sysdeps/i386/setjmp.S: Likewise.
18224 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
18225 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
18226 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
18227 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
18228 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
18229 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
18230 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
18231 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
18232 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
18233 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
18234 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
18235 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
18236 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
18237 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
18238 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
18239 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
18240 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
18241 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
18242 * sysdeps/ieee754/support.c: Likewise.
18243 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
18244 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
18245 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
18246 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
18247 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
18248 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
18249 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
18250 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
18251 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
18252 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
18253 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
18254 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
18255 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
18256 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
18257 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
18258 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
18259 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
18260 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
18262 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
18264 * posix/transbug.c: Remove executable mode.
18266 2013-06-05 Joseph Myers <joseph@codesourcery.com>
18268 * crypt/speeds.c: Remove trailing whitespace.
18269 * dlfcn/default.c: Likewise.
18270 * elf/ifuncdep2.c: Likewise.
18271 * elf/ifuncmain1.c: Likewise.
18272 * elf/ifuncmain1vis.c: Likewise.
18273 * elf/testobj.h: Likewise.
18274 * elf/tst-stackguard1.c: Likewise.
18275 * gmon/sys/gmon.h: Likewise.
18276 * hurd/hurdmsg.c: Likewise.
18277 * hurd/new-fd.c: Likewise.
18278 * hurd/ports-get.c: Likewise.
18279 * iconvdata/ibm1008_420.c: Likewise.
18280 * inet/tst-getni1.c: Likewise.
18281 * inet/tst-getni2.c: Likewise.
18282 * libio/ioungetc.c: Likewise.
18283 * libio/wfiledoalloc.c: Likewise.
18284 * manual/libm-err-tab.pl: Likewise.
18285 * math/w_dremf.c: Likewise.
18286 * misc/ftruncate.c: Likewise.
18287 * posix/bug-glob2.c: Likewise.
18288 * posix/tst-pcre.c: Likewise.
18289 * posix/wait4.c: Likewise.
18290 * resolv/README: Likewise.
18291 * resolv/res_debug.h: Likewise.
18292 * resolv/tst-inet_ntop.c: Likewise.
18293 * setjmp/bug269-setjmp.c: Likewise.
18294 * soft-fp/extended.h: Likewise.
18295 * soft-fp/op-1.h: Likewise.
18296 * soft-fp/op-2.h: Likewise.
18297 * soft-fp/op-4.h: Likewise.
18298 * soft-fp/op-8.h: Likewise.
18299 * soft-fp/testit.c: Likewise.
18300 * stdio-common/bug16.c: Likewise.
18301 * stdlib/random.c: Likewise.
18302 * sunrpc/rpcsvc/rquota.x: Likewise.
18303 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
18304 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
18305 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
18306 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
18307 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
18308 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
18309 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
18310 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
18311 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
18312 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
18313 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
18314 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
18315 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
18316 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
18317 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
18318 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
18319 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
18320 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
18321 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
18322 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
18323 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
18324 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
18325 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
18326 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
18327 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
18328 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
18329 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
18330 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
18331 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
18332 * sysdeps/ieee754/s_lib_version.c: Likewise.
18333 * sysdeps/mach/hurd/check_fds.c: Likewise.
18334 * sysdeps/mach/hurd/getsockname.c: Likewise.
18335 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
18336 * sysdeps/mach/hurd/recvfrom.c: Likewise.
18337 * sysdeps/powerpc/bits/link.h: Likewise.
18338 * sysdeps/powerpc/dl-procinfo.c: Likewise.
18339 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
18340 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
18341 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
18342 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
18343 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
18344 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
18345 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
18346 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
18347 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
18348 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
18349 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
18350 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
18351 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
18352 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
18353 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
18354 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
18355 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
18356 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
18357 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
18358 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
18359 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
18360 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
18361 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
18362 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
18363 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
18364 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
18365 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
18366 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
18367 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
18368 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
18369 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
18370 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
18371 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
18372 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
18373 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
18374 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
18375 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
18376 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
18377 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
18378 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
18379 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
18380 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
18381 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
18382 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
18383 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
18384 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
18385 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
18386 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
18387 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
18388 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
18389 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
18390 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
18391 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
18392 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
18393 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
18394 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
18395 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
18396 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
18397 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
18398 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
18399 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
18400 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
18401 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
18402 * sysdeps/powerpc/sysdep.h: Likewise.
18403 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
18404 * sysdeps/s390/s390-64/sub_n.S: Likewise.
18405 * sysdeps/sh/dl-trampoline.S: Likewise.
18406 * sysdeps/sh/memset.S: Likewise.
18407 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
18408 * sysdeps/sh/strlen.S: Likewise.
18409 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
18410 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
18411 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
18412 * sysdeps/sparc/sparc32/rem.S: Likewise.
18413 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
18414 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
18415 * sysdeps/sparc/sparc32/strchr.S: Likewise.
18416 * sysdeps/sparc/sparc32/udiv.S: Likewise.
18417 * sysdeps/sparc/sparc32/urem.S: Likewise.
18418 * sysdeps/sparc/sparc64/add_n.S: Likewise.
18419 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
18420 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
18421 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
18422 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
18423 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
18424 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
18425 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
18426 * sysdeps/unix/bsd/times.c: Likewise.
18427 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
18428 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
18429 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
18430 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
18431 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
18432 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
18433 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
18434 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
18435 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
18436 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
18437 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
18438 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
18439 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
18440 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
18441 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
18442 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
18443 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
18444 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
18445 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
18446 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
18447 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
18448 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
18449 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
18450 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
18451 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
18452 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
18453 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
18454 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
18455 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
18456 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
18457 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
18458 * sysdeps/x86_64/strcspn.S: Likewise.
18460 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
18462 * locale/C-translit.h: Revert #include <stdint.h> because this is a
18463 generated file. Regenerate properly from gen-translit.pl.
18464 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
18465 locale/C-translit.h.
18467 2013-06-05 Andreas Schwab <schwab@suse.de>
18470 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
18471 week as 6 instead of -1.
18472 * time/tst-strptime.c (day_tests): Add test case.
18474 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
18476 * sysdeps/generic/math_private.h
18477 (libc_feholdexcept_setround_53bit): Replace with
18478 libc_feholdsetround_53bit.
18479 (libc_feupdateenv_53bit): Replace with
18480 libc_feresetround_53bit.
18481 (SET_RESTORE_ROUND_53BIT): Adjust.
18483 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
18485 * string/test-strchrnul.c: Add copyright header.
18487 * posix/tst-getaddrinfo4.c: Increase test timeout.
18489 2013-06-03 Carlos O'Donell <carlos@redhat.com>
18492 * math/libm-test.inc (MAX_EXP): Remove
18494 (ulp): Use MIN_EXP - MANT_DIG.
18495 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
18497 2013-05-31 Carlos O'Donell <carlos@redhat.com>
18499 * po/be.po: Revert last change.
18500 * po/zh_CN.po: Likewise.
18501 * po/header.pot: Likewise.
18503 2013-05-31 Joseph Myers <joseph@codesourcery.com>
18505 * Makefile ($(common-objpfx)linkobj/libc.so): Define
18506 link-libc-deps to empty as target-specific variable.
18507 * Makerules (link-libc-args): New variable.
18508 (libc-for-link): Likewise.
18509 (link-libc-deps): Likewise.
18510 (lib%.so): Depend on $(link-libc-deps). Link with
18512 (build-module): Link with $(link-libc-args).
18513 (build-module-asneeded): Likewise.
18514 (build-module-helper-objlist): Filter out $(link-libc-deps) from
18516 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
18517 target-specific variable.
18518 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
18519 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
18520 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
18522 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
18524 ($(objpfx)libpcprofile.so): Likewise.
18525 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
18527 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
18528 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
18529 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
18531 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
18532 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
18533 * login/Makefile ($(objpfx)libutil.so): Likewise.
18534 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
18535 * math/Makefile ($(objpfx)libm.so): Likewise.
18536 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
18537 $(objpfx)libnsl.so): Define libc-for-link as target-specific
18538 variable instead of depending directly on libc.
18539 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
18540 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
18542 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
18544 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
18545 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
18546 ($(objpfx)libanl.so): Likewise.
18547 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
18549 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
18551 * sysdeps/i386/fpu/Makefile: Remove file.
18552 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
18553 ($(objpfx)libm.so): Remove dependency on ld.so.
18555 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
18558 * nis/yp_xdr.c (XDRMAXNAME): Define.
18559 (XDRMAXRECORD): Define.
18560 (xdr_domainname): Use XDRMAXNAME.
18561 (xdr_mapname): Likewise.
18562 (xdr_peername): Likewise.
18563 (xdr_keydat): Use XDRMAXRECORD.
18564 (xdr_valdat): Likewise.
18566 2013-05-30 Jeff Law <law@redhat.com>
18569 * manual/errno.texi (ESTALE): Update to account for more than
18570 just NFS file systems.
18571 * sysdeps/gnu/errlist.c: Regenerated.
18573 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
18576 * elf/Makefile (tests): Add tst-null-argv.
18577 (modules-names): Add tst-null-argv-lib.
18578 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
18579 (tst-null-argv-ENV): Set environment for tst-null-argv.
18580 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
18581 (RTLD_PROGNAME): New macro.
18582 * elf/tst-null-argv.c: New test case.
18583 * elf/tst-null-argv-lib.c: Library for test case.
18584 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
18585 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
18586 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
18587 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
18588 * elf/dl-init.c (call_init): Likewise.
18589 (_dl_init): Likewise.
18590 * elf/dl-load.c (print_search_path): Likewise.
18591 (_dl_map_object): Likewise.
18592 * elf/dl-lookup.c (do_lookup_x): Likewise.
18593 (add_dependency): Likewise.
18594 (_dl_lookup_symbol_x): Likewise.
18595 (_dl_debug_bindings): Likewise.
18596 * elf/dl-open.c (_dl_show_scope): Likewise.
18597 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
18598 * elf/dl-version.c (match_symbol): Likewise.
18599 (_dl_check_map_versions): Likewise.
18600 * elf/rtld.c (dl_main): Likewise.
18601 (print_unresolved): Use RTLD_PROGNAME.
18602 (print_missing_version): Likewise.
18603 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
18604 (elf_machine_rela): Likewise.
18605 * sysdeps/powerpc/powerpc32/dl-machine.c
18606 (__process_machine_rela): Likewise.
18607 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
18609 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
18611 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
18613 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
18614 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
18616 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
18618 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
18620 2013-05-28 Carlos O'Donell <carlos@redhat.com>
18622 * po/be.po: Add descriptive title.
18623 * po/zh_CN.po: Likewise.
18624 * po/header.pot: Likewise.
18626 2013-05-28 Mike Frysinger <vapier@gentoo.org>
18628 * locale/programs/locarchive.c (create_archive): Inlucde fname in
18630 (enlarge_archive): Likewise.
18632 2013-05-28 Ben North <ben@redfrontdoor.org>
18634 * manual/arith.texi (frexp): It is the magnitude of the return
18635 value which lies in [0.5, 1), not the return value itself.
18637 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18639 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18641 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
18643 * stdio-common/bug26.c (main): Correct fscanf template.
18645 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
18646 declare _dl_skip_args.
18648 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
18651 * manual/platform.texi: Add missing @end deftypefun.
18653 2013-05-24 Joseph Myers <joseph@codesourcery.com>
18656 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
18657 bit of mantissa of 2^16382.
18658 * math/libm-test.inc (hypot_test_data): Add more tests.
18660 * math/libm-test.inc: Add drem and pow10 to list of tested
18662 (pow10_test): New function.
18663 (drem_test): Likewise.
18664 (drem_test_tonearest): Likewise.
18665 (drem_test_towardzero): Likewise.
18666 (drem_test_downward): Likewise.
18667 (drem_test_upward): Likewise.
18668 (main): Call the new functions.
18670 * math/libm-test.inc (finite_test_data): Remove.
18671 (finite_test): Run tests from isfinite_test_data.
18672 (gamma_test_data): Remove.
18673 (gamma_test): Run tests from lgamma_test_data.
18674 * sysdeps/i386/fpu/libm-test-ulps: Update.
18675 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18677 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18679 * manual/platform.texi: Add PowerPC PPR function set documentation.
18680 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
18683 2013-05-24 Carlos O'Donell <carlos@redhat.com>
18685 * math/libm-test.inc (MAX_EXP): Define.
18687 (ulp): New function.
18688 (check_float_internal): Use ULPDIFF.
18689 (cpow_test): Disable failing test.
18690 (check_ulp): Test ulp() implemetnation.
18691 (main): Call check_ulp before starting tests.
18693 2013-05-24 Joseph Myers <joseph@codesourcery.com>
18695 * math/gen-libm-test.pl (generate_testfile): Do not handle
18696 START_DATA and END_DATA.
18697 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
18699 (acos_tonearest_test_data): Likewise.
18700 (acos_towardzero_test_data): Likewise.
18701 (acos_downward_test_data): Likewise.
18702 (acos_upward_test_data): Likewise.
18703 (acosh_test_data): Likewise.
18704 (asin_test_data): Likewise.
18705 (asin_tonearest_test_data): Likewise.
18706 (asin_towardzero_test_data): Likewise.
18707 (asin_downward_test_data): Likewise.
18708 (asin_upward_test_data): Likewise.
18709 (asinh_test_data): Likewise.
18710 (atan_test_data): Likewise.
18711 (atanh_test_data): Likewise.
18712 (atan2_test_data): Likewise.
18713 (cabs_test_data): Likewise.
18714 (cacos_test_data): Likewise.
18715 (cacosh_test_data): Likewise.
18716 (carg_test_data): Likewise.
18717 (casin_test_data): Likewise.
18718 (casinh_test_data): Likewise.
18719 (catan_test_data): Likewise.
18720 (catanh_test_data): Likewise.
18721 (cbrt_test_data): Likewise.
18722 (ccos_test_data): Likewise.
18723 (ccosh_test_data): Likewise.
18724 (ceil_test_data): Likewise.
18725 (cexp_test_data): Likewise.
18726 (cimag_test_data): Likewise.
18727 (clog_test_data): Likewise.
18728 (clog10_test_data): Likewise.
18729 (conj_test_data): Likewise.
18730 (copysign_test_data): Likewise.
18731 (cos_test_data): Likewise.
18732 (cos_tonearest_test_data): Likewise.
18733 (cos_towardzero_test_data): Likewise.
18734 (cos_downward_test_data): Likewise.
18735 (cos_upward_test_data): Likewise.
18736 (cosh_test_data): Likewise.
18737 (cosh_tonearest_test_data): Likewise.
18738 (cosh_towardzero_test_data): Likewise.
18739 (cosh_downward_test_data): Likewise.
18740 (cosh_upward_test_data): Likewise.
18741 (cpow_test_data): Likewise.
18742 (cproj_test_data): Likewise.
18743 (creal_test_data): Likewise.
18744 (csin_test_data): Likewise.
18745 (csinh_test_data): Likewise.
18746 (csqrt_test_data): Likewise.
18747 (ctan_test_data): Likewise.
18748 (ctan_tonearest_test_data): Likewise.
18749 (ctan_towardzero_test_data): Likewise.
18750 (ctan_downward_test_data): Likewise.
18751 (ctan_upward_test_data): Likewise.
18752 (ctanh_test_data): Likewise.
18753 (ctanh_tonearest_test_data): Likewise.
18754 (ctanh_towardzero_test_data): Likewise.
18755 (ctanh_downward_test_data): Likewise.
18756 (ctanh_upward_test_data): Likewise.
18757 (erf_test_data): Likewise.
18758 (erfc_test_data): Likewise.
18759 (exp_test_data): Likewise.
18760 (exp_tonearest_test_data): Likewise.
18761 (exp_towardzero_test_data): Likewise.
18762 (exp_downward_test_data): Likewise.
18763 (exp_upward_test_data): Likewise.
18764 (exp10_test_data): Likewise.
18765 (exp2_test_data): Likewise.
18766 (expm1_test_data): Likewise.
18767 (fabs_test_data): Likewise.
18768 (fdim_test_data): Likewise.
18769 (finite_test_data): Likewise.
18770 (floor_test_data): Likewise.
18771 (fma_test_data): Likewise.
18772 (fma_towardzero_test_data): Likewise.
18773 (fma_downward_test_data): Likewise.
18774 (fma_upward_test_data): Likewise.
18775 (fmax_test_data): Likewise.
18776 (fmin_test_data): Likewise.
18777 (fmod_test_data): Likewise.
18778 (fpclassify_test_data): Likewise.
18779 (frexp_test_data): Likewise.
18780 (gamma_test_data): Likewise.
18781 (hypot_test_data): Likewise.
18782 (ilogb_test_data): Likewise.
18783 (isfinite_test_data): Likewise.
18784 (isgreater_test_data): Likewise.
18785 (isgreaterequal_test_data): Likewise.
18786 (isinf_test_data): Likewise.
18787 (isless_test_data): Likewise.
18788 (islessequal_test_data): Likewise.
18789 (islessgreater_test_data): Likewise.
18790 (isnan_test_data): Likewise.
18791 (isnormal_test_data): Likewise.
18792 (issignaling_test_data): Likewise.
18793 (isunordered_test_data): Likewise.
18794 (j0_test_data): Likewise.
18795 (j1_test_data): Likewise.
18796 (jn_test_data): Likewise.
18797 (ldexp_test_data): Likewise.
18798 (lgamma_test_data): Likewise.
18799 (lrint_test_data): Likewise.
18800 (lrint_tonearest_test_data): Likewise.
18801 (lrint_towardzero_test_data): Likewise.
18802 (lrint_downward_test_data): Likewise.
18803 (lrint_upward_test_data): Likewise.
18804 (llrint_test_data): Likewise.
18805 (llrint_tonearest_test_data): Likewise.
18806 (llrint_towardzero_test_data): Likewise.
18807 (llrint_downward_test_data): Likewise.
18808 (llrint_upward_test_data): Likewise.
18809 (log_test_data): Likewise.
18810 (log10_test_data): Likewise.
18811 (log1p_test_data): Likewise.
18812 (log2_test_data): Likewise.
18813 (logb_test_data): Likewise.
18814 (logb_downward_test_data): Likewise.
18815 (lround_test_data): Likewise.
18816 (llround_test_data): Likewise.
18817 (modf_test_data): Likewise.
18818 (nearbyint_test_data): Likewise.
18819 (nextafter_test_data): Likewise.
18820 (nexttoward_test_data): Likewise.
18821 (pow_test_data): Likewise.
18822 (pow_tonearest_test_data): Likewise.
18823 (pow_towardzero_test_data): Likewise.
18824 (pow_downward_test_data): Likewise.
18825 (pow_upward_test_data): Likewise.
18826 (remainder_test_data): Likewise.
18827 (remainder_tonearest_test_data): Likewise.
18828 (remainder_towardzero_test_data): Likewise.
18829 (remainder_downward_test_data): Likewise.
18830 (remainder_upward_test_data): Likewise.
18831 (remquo_test_data): Likewise.
18832 (rint_test_data): Likewise.
18833 (rint_tonearest_test_data): Likewise.
18834 (rint_towardzero_test_data): Likewise.
18835 (rint_downward_test_data): Likewise.
18836 (rint_upward_test_data): Likewise.
18837 (round_test_data): Likewise.
18838 (scalb_test_data): Likewise.
18839 (scalbn_test_data): Likewise.
18840 (scalbln_test_data): Likewise.
18841 (signbit_test_data): Likewise.
18842 (sin_test_data): Likewise.
18843 (sin_tonearest_test_data): Likewise.
18844 (sin_towardzero_test_data): Likewise.
18845 (sin_downward_test_data): Likewise.
18846 (sin_upward_test_data): Likewise.
18847 (sincos_test_data): Likewise.
18848 (sinh_test_data): Likewise.
18849 (sinh_tonearest_test_data): Likewise.
18850 (sinh_towardzero_test_data): Likewise.
18851 (sinh_downward_test_data): Likewise.
18852 (sinh_upward_test_data): Likewise.
18853 (sqrt_test_data): Likewise.
18854 (tan_test_data): Likewise.
18855 (tan_tonearest_test_data): Likewise.
18856 (tan_towardzero_test_data): Likewise.
18857 (tan_downward_test_data): Likewise.
18858 (tan_upward_test_data): Likewise.
18859 (tanh_test_data): Likewise.
18860 (tgamma_test_data): Likewise.
18861 (trunc_test_data): Likewise.
18862 (y0_test_data): Likewise.
18863 (y1_test_data): Likewise.
18864 (yn_test_data): Likewise.
18865 (significand_test_data): Likewise.
18867 * math/gen-libm-test.pl (@functions): Remove variable.
18868 (generate_testfile): Don't handle START and END lines.
18869 * math/libm-test.inc (START): New macro.
18871 (END_COMPLEX): Likewise.
18872 (acos_test): Use END macro without arguments.
18873 (acos_test_tonearest): Likewise.
18874 (acos_test_towardzero): Likewise.
18875 (acos_test_downward): Likewise.
18876 (acos_test_upward): Likewise.
18877 (acosh_test): Likewise.
18878 (asin_test): Likewise.
18879 (asin_test_tonearest): Likewise.
18880 (asin_test_towardzero): Likewise.
18881 (asin_test_downward): Likewise.
18882 (asin_test_upward): Likewise.
18883 (asinh_test): Likewise.
18884 (atan_test): Likewise.
18885 (atanh_test): Likewise.
18886 (atan2_test): Likewise.
18887 (cabs_test): Likewise.
18888 (cacos_test): Use END_COMPLEX macro without arguments.
18889 (cacosh_test): Likewise.
18890 (carg_test): Use END macro without arguments.
18891 (casin_test): Use END_COMPLEX macro without arguments.
18892 (casinh_test): Likewise.
18893 (catan_test): Likewise.
18894 (catanh_test): Likewise.
18895 (cbrt_test): Use END macro without arguments.
18896 (ccos_test): Use END_COMPLEX macro without arguments.
18897 (ccosh_test): Likewise.
18898 (ceil_test): Use END macro without arguments.
18899 (cexp_test): Use END_COMPLEX macro without arguments.
18900 (cimag_test): Use END macro without arguments.
18901 (clog_test): Use END_COMPLEX macro without arguments.
18902 (clog10_test): Likewise.
18903 (conj_test): Likewise.
18904 (copysign_test): Use END macro without arguments.
18905 (cos_test): Likewise.
18906 (cos_test_tonearest): Likewise.
18907 (cos_test_towardzero): Likewise.
18908 (cos_test_downward): Likewise.
18909 (cos_test_upward): Likewise.
18910 (cosh_test): Likewise.
18911 (cosh_test_tonearest): Likewise.
18912 (cosh_test_towardzero): Likewise.
18913 (cosh_test_downward): Likewise.
18914 (cosh_test_upward): Likewise.
18915 (cpow_test): Use END_COMPLEX macro without arguments.
18916 (cproj_test): Likewise.
18917 (creal_test): Use END macro without arguments.
18918 (csin_test): Use END_COMPLEX macro without arguments.
18919 (csinh_test): Likewise.
18920 (csqrt_test): Likewise.
18921 (ctan_test): Likewise.
18922 (ctan_test_tonearest): Likewise.
18923 (ctan_test_towardzero): Likewise.
18924 (ctan_test_downward): Likewise.
18925 (ctan_test_upward): Likewise.
18926 (ctanh_test): Likewise.
18927 (ctanh_test_tonearest): Likewise.
18928 (ctanh_test_towardzero): Likewise.
18929 (ctanh_test_downward): Likewise.
18930 (ctanh_test_upward): Likewise.
18931 (erf_test): Use END macro without arguments.
18932 (erfc_test): Likewise.
18933 (exp_test): Likewise.
18934 (exp_test_tonearest): Likewise.
18935 (exp_test_towardzero): Likewise.
18936 (exp_test_downward): Likewise.
18937 (exp_test_upward): Likewise.
18938 (exp10_test): Likewise.
18939 (exp2_test): Likewise.
18940 (expm1_test): Likewise.
18941 (fabs_test): Likewise.
18942 (fdim_test): Likewise.
18943 (finite_test): Likewise.
18944 (floor_test): Likewise.
18945 (fma_test): Likewise.
18946 (fma_test_towardzero): Likewise.
18947 (fma_test_downward): Likewise.
18948 (fma_test_upward): Likewise.
18949 (fmax_test): Likewise.
18950 (fmin_test): Likewise.
18951 (fmod_test): Likewise.
18952 (fpclassify_test): Likewise.
18953 (frexp_test): Likewise.
18954 (gamma_test): Likewise.
18955 (hypot_test): Likewise.
18956 (ilogb_test): Likewise.
18957 (isfinite_test): Likewise.
18958 (isgreater_test): Likewise.
18959 (isgreaterequal_test): Likewise.
18960 (isinf_test): Likewise.
18961 (isless_test): Likewise.
18962 (islessequal_test): Likewise.
18963 (islessgreater_test): Likewise.
18964 (isnan_test): Likewise.
18965 (isnormal_test): Likewise.
18966 (issignaling_test): Likewise.
18967 (isunordered_test): Likewise.
18968 (j0_test): Likewise.
18969 (j1_test): Likewise.
18970 (jn_test): Likewise.
18971 (ldexp_test): Likewise.
18972 (lgamma_test): Likewise.
18973 (lrint_test): Likewise.
18974 (lrint_test_tonearest): Likewise.
18975 (lrint_test_towardzero): Likewise.
18976 (lrint_test_downward): Likewise.
18977 (lrint_test_upward): Likewise.
18978 (llrint_test): Likewise.
18979 (llrint_test_tonearest): Likewise.
18980 (llrint_test_towardzero): Likewise.
18981 (llrint_test_downward): Likewise.
18982 (llrint_test_upward): Likewise.
18983 (log_test): Likewise.
18984 (log10_test): Likewise.
18985 (log1p_test): Likewise.
18986 (log2_test): Likewise.
18987 (logb_test): Likewise.
18988 (logb_test_downward): Likewise.
18989 (lround_test): Likewise.
18990 (llround_test): Likewise.
18991 (modf_test): Likewise.
18992 (nearbyint_test): Likewise.
18993 (nextafter_test): Likewise.
18994 (nexttoward_test): Likewise.
18995 (pow_test): Likewise.
18996 (pow_test_tonearest): Likewise.
18997 (pow_test_towardzero): Likewise.
18998 (pow_test_downward): Likewise.
18999 (pow_test_upward): Likewise.
19000 (remainder_test): Likewise.
19001 (remainder_test_tonearest): Likewise.
19002 (remainder_test_towardzero): Likewise.
19003 (remainder_test_downward): Likewise.
19004 (remainder_test_upward): Likewise.
19005 (remquo_test): Likewise.
19006 (rint_test): Likewise.
19007 (rint_test_tonearest): Likewise.
19008 (rint_test_towardzero): Likewise.
19009 (rint_test_downward): Likewise.
19010 (rint_test_upward): Likewise.
19011 (round_test): Likewise.
19012 (scalb_test): Likewise.
19013 (scalbn_test): Likewise.
19014 (scalbln_test): Likewise.
19015 (signbit_test): Likewise.
19016 (sin_test): Likewise.
19017 (sin_test_tonearest): Likewise.
19018 (sin_test_towardzero): Likewise.
19019 (sin_test_downward): Likewise.
19020 (sin_test_upward): Likewise.
19021 (sincos_test): Likewise.
19022 (sinh_test): Likewise.
19023 (sinh_test_tonearest): Likewise.
19024 (sinh_test_towardzero): Likewise.
19025 (sinh_test_downward): Likewise.
19026 (sinh_test_upward): Likewise.
19027 (sqrt_test): Likewise.
19028 (tan_test): Likewise.
19029 (tan_test_tonearest): Likewise.
19030 (tan_test_towardzero): Likewise.
19031 (tan_test_downward): Likewise.
19032 (tan_test_upward): Likewise.
19033 (tanh_test): Likewise.
19034 (tgamma_test): Likewise.
19035 (trunc_test): Likewise.
19036 (y0_test): Likewise.
19037 (y1_test): Likewise.
19038 (yn_test): Likewise.
19039 (significand_test): Likewise.
19041 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
19044 * libio/genops.c (_IO_no_init): Initialize wide struct info.
19046 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
19049 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
19050 __ppc_mdoio and __ppc_mdoom.
19051 * manual/platform.texi: Document new functions __ppc_yield,
19052 __ppc_mdoio and __ppc_mdoom.
19054 2013-05-22 Carlos O'Donell <carlos@redhat.com>
19056 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
19057 (main): Mention "tls" pseudo-hwcap is legacy.
19058 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
19060 2013-05-22 Joseph Myers <joseph@codesourcery.com>
19062 * math/gen-libm-test.pl (parse_args): Output only string of
19063 arguments as text for test name, not full call or descriptions of
19064 tests for extra outputs.
19065 (generate_testfile): Do not pass function name to parse_args.
19066 Generate this_func variable from START.
19067 * math/libm-test.inc (struct test_f_f_data): Rename test_name
19069 (struct test_ff_f_data): Likewise.
19070 (test_ff_f_data_nexttoward): Likewise.
19071 (struct test_fi_f_data): Likewise.
19072 (struct test_fl_f_data): Likewise.
19073 (struct test_if_f_data): Likewise.
19074 (struct test_fff_f_data): Likewise.
19075 (struct test_c_f_data): Likewise.
19076 (struct test_f_f1_data): Likewise. Remove field extra_name.
19077 (struct test_fF_f1_data): Likewise.
19078 (struct test_ffI_f1_data): Likewise.
19079 (struct test_c_c_data): Rename test_name field to arg_str.
19080 (struct test_cc_c_data): Likewise.
19081 (struct test_f_i_data): Likewise.
19082 (struct test_ff_i_data): Likewise.
19083 (struct test_f_l_data): Likewise.
19084 (struct test_f_L_data): Likewise.
19085 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
19087 (COMMON_TEST_SETUP): New macro.
19088 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
19089 (COMMON_TEST_CLEANUP): Likewise.
19090 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
19091 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
19093 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
19094 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
19096 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
19097 (RUN_TEST_fff_f): Take argument string. Call new setup and
19099 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
19100 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
19102 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
19103 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
19105 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
19106 (RUN_TEST_fF_f1): Take argument string. Call new setup and
19108 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
19109 (RUN_TEST_fI_f1): Take argument string. Call new setup and
19111 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
19112 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
19114 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
19115 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
19117 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
19118 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
19120 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
19121 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
19123 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
19124 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
19126 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
19127 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
19129 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
19130 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
19132 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
19133 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
19135 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
19136 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
19138 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
19139 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
19141 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
19142 (RUN_TEST_fFF_11): Take argument string. Call new setup and
19144 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
19146 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
19148 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
19149 to _sifields.sigfault.
19150 (si_addr_lsb): Define new macro.
19151 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
19152 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
19153 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
19155 2013-05-03 Carlos O'Donell <carlos at redhat.com>
19158 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
19160 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
19162 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
19163 loading the domain.
19165 2013-05-22 Joseph Myers <joseph@codesourcery.com>
19167 * math/gen-libm-test.pl (parse_args): Do not include expected
19168 result in test name.
19169 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
19170 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
19171 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
19172 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
19173 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
19174 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19176 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
19178 * benchtests/Makefile: Sort function entries.
19180 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
19181 tanh, asinh, acosh, atanh.
19182 * benchtests/acos-inputs: New file.
19183 * benchtests/acosh-inputs: New file.
19184 * benchtests/asin-inputs: New file.
19185 * benchtests/asinh-inputs: New file.
19186 * benchtests/atanh-inputs: New file.
19187 * benchtests/cosh-inputs: New file.
19188 * benchtests/log-inputs: New file.
19189 * benchtests/sinh-inputs: New file.
19190 * benchtests/tanh-inputs: New file.
19192 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
19195 * posix/tst-getaddrinfo4.c: New test.
19196 * posix/Makefile (tests): Add it.
19198 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
19201 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
19202 when no services were used.
19203 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
19204 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
19206 2013-05-21 Andreas Schwab <schwab@suse.de>
19209 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
19210 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
19212 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
19213 redundant variable declarations and reallocation of buffer when
19214 parsing as IPv6 address. Always set NSS status when called from
19215 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
19216 buffer too small. Correct computation of needed size.
19217 * nss/Makefile (tests): Add test-digits-dots.
19218 * nss/test-digits-dots.c: New test.
19220 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
19222 * benchtests/Makefile: Remove instructions for adding
19224 * benchtests/README: New file to explain how to execute and
19225 enhance the benchmark tests.
19227 2013-05-21 Andreas Schwab <schwab@suse.de>
19230 * setjmp/Makefile (tests): Add tst-sigsetjmp.
19231 * setjmp/tst-sigsetjmp.c: New test.
19233 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
19235 * sysdeps/x86_64/memset.S (memset): New implementation.
19236 (__bzero): Likewise.
19237 (__memset_tail): New function.
19239 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
19241 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
19242 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
19243 __memcpy_sse2_unaligned ifunc selection.
19244 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
19245 Add memcpy-sse2-unaligned.S.
19246 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
19247 Add: __memcpy_sse2_unaligned.
19249 2013-05-19 Joseph Myers <joseph@codesourcery.com>
19252 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
19253 math_force_eval before restoring floating-point envrionment.
19254 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
19255 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
19257 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
19259 (__nearbyintl): Use math_force_eval before restoring
19260 floating-point environment.
19261 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
19263 * math/gen-libm-test.pl (special_functions): Remove.
19264 (parse_args): Don't handle TEST_extra. Handle functions with no
19266 * math/libm-test.inc (struct test_sincos_data): Replace with
19267 struct test_fFF_11_data.
19268 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
19269 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
19270 (sincos_test_data): Change element type to struct
19271 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
19272 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
19273 RUN_TEST_LOOP_sincos.
19274 * math/README.libm-test: Don't mention special handling of
19275 individual functions.
19276 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
19277 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
19278 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
19279 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
19280 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
19281 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19283 * math/gen-libm-test.pl (get_variable): Remove function.
19284 (parse_args): Don't show pointer parameters to call in test
19285 names. Use "extra output N" in test names for extra outputs
19286 rather than naming variables.
19288 2013-05-18 Joseph Myers <joseph@codesourcery.com>
19291 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
19292 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
19293 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
19295 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
19297 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
19300 * math/gen-libm-test.pl (@tests): Remove variable.
19301 ($count): Likewise.
19302 (new_test): Remove function.
19303 (show_exceptions): New function.
19304 (special_functions): Use show_exceptions instead of new_test.
19305 (parse_args): Likewise.
19306 (generate_testfile): Pass only function name in generated call to
19307 print_max_error or print_complex_max_error.
19308 (get_ulps): Do not handle complex tests specially.
19309 (output_test): Rename to ...
19310 (get_all_ulps_for_test): ... this. Return a string rather than
19311 printing to a file. Require ulps to be present.
19312 (output_ulps): Generate arrays rather than #defines.
19313 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
19314 (struct ulp_data): New type.
19315 (BUILD_COMPLEX_ULP): Remove macro.
19316 (compare_ulp_data): New function.
19317 (find_ulps): Likewise.
19318 (find_test_ulps): Likewise.
19319 (find_function_ulps): Likewise.
19320 (find_complex_function_ulps): Likewise.
19321 (print_max_error): Determine allowed ulps using
19322 find_function_ulps.
19323 (print_complex_max_error): Determine allowed ulps using
19324 find_complex_function_ulps.
19325 (check_float_internal): Determine max ulps using find_test_ulps.
19326 (check_float): Do not take max_ulp parameter. Update call to
19327 check_float_internal.
19328 (check_complex): Likewise.
19329 (check_int): Do not take max_ulp parameter.
19330 (check_long): Likewise.
19331 (check_bool): Likewise.
19332 (check_longlong): Likewise.
19333 (struct test_f_f_data): Remove max_ulp field.
19334 (struct test_ff_f_data): Likewise.
19335 (struct test_ff_f_data_nexttoward): Likewise.
19336 (struct test_fi_f_data): Likewise.
19337 (struct test_fl_f_data): Likewise.
19338 (struct test_if_f_data): Likewise.
19339 (struct test_fff_f_data): Likewise.
19340 (struct test_c_f_data): Likewise.
19341 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
19342 (struct test_fF_f1_data): Likewise.
19343 (struct test_ffI_f1_data): Likewise.
19344 (struct test_c_c_data): Remove max_ulp field.
19345 (struct test_cc_c_data): Likewise.
19346 (struct test_f_i_data): Likewise.
19347 (struct test_ff_i_data): Likewise.
19348 (struct test_f_l_data): Likewise.
19349 (struct test_f_L_data): Likewise.
19350 (struct test_sincos_data): Likewise.
19351 (RUN_TEST_f_f): Do not handle ulps.
19352 (RUN_TEST_LOOP_f_f): Likewise.
19353 (RUN_TEST_2_f): Likewise.
19354 (RUN_TEST_LOOP_2_f): Likewise.
19355 (RUN_TEST_fff_f): Likewise.
19356 (RUN_TEST_LOOP_fff_f): Likewise.
19357 (RUN_TEST_c_f): Likewise.
19358 (RUN_TEST_LOOP_c_f): Likewise.
19359 (RUN_TEST_f_f1): Likewise.
19360 (RUN_TEST_LOOP_f_f1): Likewise.
19361 (RUN_TEST_fF_f1): Likewise.
19362 (RUN_TEST_LOOP_fF_f1): Likewise.
19363 (RUN_TEST_fI_f1): Likewise.
19364 (RUN_TEST_LOOP_fI_f1): Likewise.
19365 (RUN_TEST_ffI_f1): Likewise.
19366 (RUN_TEST_LOOP_ffI_f1): Likewise.
19367 (RUN_TEST_c_c): Likewise.
19368 (RUN_TEST_LOOP_c_c): Likewise.
19369 (RUN_TEST_cc_c): Likewise.
19370 (RUN_TEST_LOOP_cc_c): Likewise.
19371 (RUN_TEST_f_i): Likewise.
19372 (RUN_TEST_LOOP_f_i): Likewise.
19373 (RUN_TEST_f_i_tg): Likewise.
19374 (RUN_TEST_LOOP_f_i_tg): Likewise.
19375 (RUN_TEST_ff_i_tg): Likewise.
19376 (RUN_TEST_LOOP_ff_i_tg): Likewise.
19377 (RUN_TEST_f_b): Likewise.
19378 (RUN_TEST_LOOP_f_b): Likewise.
19379 (RUN_TEST_f_b_tg): Likewise.
19380 (RUN_TEST_LOOP_f_b_tg): Likewise.
19381 (RUN_TEST_f_l): Likewise.
19382 (RUN_TEST_LOOP_f_l): Likewise.
19383 (RUN_TEST_f_L): Likewise.
19384 (RUN_TEST_LOOP_f_L): Likewise.
19385 (RUN_TEST_sincos): Likewise.
19386 (RUN_TEST_LOOP_sincos): Likewise.
19388 2013-05-17 Joseph Myers <joseph@codesourcery.com>
19392 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
19393 main case of finite arguments, set rounding mode to FE_TONEAREST
19394 and discard exceptions.
19395 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
19397 (remainder_tonearest_test_data): New variable.
19398 (remainder_test_tonearest): New function.
19399 (remainder_towardzero_test_data): New variable.
19400 (remainder_test_towardzero): New function.
19401 (remainder_downward_test_data): New variable.
19402 (remainder_test_downward): New function.
19403 (remainder_upward_test_data): New variable.
19404 (remainder_test_upward): New function.
19405 (main): Call the new test functions.
19407 * math/libm-test.inc (struct test_f_f1_data): Remove field
19409 (struct test_fF_f1_data): Likewise.
19410 (struct test_ffI_f1_data): Likewise.
19411 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
19412 based on value of EXTRA_EXPECTED.
19413 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
19414 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
19415 EXTRA_VAR based on value of EXTRA_EXPECTED.
19416 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
19417 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
19418 EXTRA_VAR based on value of EXTRA_EXPECTED.
19419 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
19420 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
19421 EXTRA_VAR based on value of EXTRA_EXPECTED.
19422 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
19423 * math/gen-libm-test.pl (parse_args): Don't output initializers
19424 for extra output values.
19426 * math/libm-test.inc (check_int): Expect result to be exactly
19427 equal to expected value and do not handle ulps.
19428 (check_long): Likewise.
19429 (check_longlong): Likewise.
19431 * math/libm-test.inc (ceil_test_data): Test for "inexact"
19433 (cimag_test_data): Likewise.
19434 (conj_test_data): Likewise.
19435 (copysign_test_data): Likewise.
19436 (cproj_test_data): Likewise.
19437 (creal_test_data): Likewise.
19438 (fabs_test_data): Likewise.
19439 (fdim_test_data): Likewise.
19440 (finite_test_data): Likewise.
19441 (floor_test_data): Likewise.
19442 (fmax_test_data): Likewise.
19443 (fmin_test_data): Likewise.
19444 (fmod_test_data): Likewise.
19445 (fpclassify_test_data): Likewise.
19446 (frexp_test_data): Likewise.
19447 (ilogb_test_data): Likewise.
19448 (isfinite_test_data): Likewise.
19449 (isgreater_test_data): Likewise.
19450 (isgreaterequal_test_data): Likewise.
19451 (isinf_test_data): Likewise.
19452 (isless_test_data): Likewise.
19453 (islessequal_test_data): Likewise.
19454 (islessgreater_test_data): Likewise.
19455 (isnan_test_data): Likewise.
19456 (isnormal_test_data): Likewise.
19457 (issignaling_test_data): Likewise.
19458 (isunordered_test_data): Likewise.
19459 (ldexp_test_data): Likewise.
19460 (lrint_test_data): Likewise.
19461 (lrint_test_data) [TEST_FLOAT]: Disable one test.
19462 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
19463 (lrint_tonearest_test_data): Test for "inexact" exceptions.
19464 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
19465 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
19466 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
19468 (lrint_towardzero_test_data): Test for "inexact" exceptions.
19469 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
19470 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
19471 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
19473 (lrint_downward_test_data): Test for "inexact" exceptions.
19474 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
19475 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
19476 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
19478 (lrint_upward_test_data): Test for "inexact" exceptions.
19479 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
19481 (llrint_test_data): Test for "inexact" exceptions.
19482 (llrint_test_data) [TEST_FLOAT]: Disable one test.
19483 (llrint_tonearest_test_data): Test for "inexact" exceptions.
19484 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
19485 (llrint_towardzero_test_data): Test for "inexact" exceptions.
19486 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
19487 (llrint_downward_test_data): Test for "inexact" exceptions.
19488 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
19489 (llrint_upward_test_data): Test for "inexact" exceptions.
19490 (logb_test_data): Likewise.
19491 (logb_downward_test_data): Likewise.
19492 (nextafter_test_data): Likewise.
19493 (nexttoward_test_data): Likewise.
19494 (remainder_test_data): Likewise.
19495 (remquo_test_data): Likewise.
19496 (scalbn_test_data): Likewise.
19497 (scalbln_test_data): Likewise.
19498 (signbit_test_data): Likewise.
19499 (sqrt_test_data): Likewise.
19500 (significand_test_data): Likewise.
19502 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
19505 * benchtests/bench-modf.c (struct args): Mark arg0 as
19507 * scripts/bench.pl: Mark members of struct args as volatile.
19509 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19512 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
19513 negative infinity on POWER6 or lower.
19514 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
19516 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
19519 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
19520 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
19521 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
19522 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
19523 (_FP_SETQNAN): New macro.
19524 (_FP_SETQNAN_SEMIRAW): Likewise.
19525 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
19526 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
19527 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
19528 (FP_EXTEND): Use _FP_FRAC_SNANP.
19529 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
19530 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
19532 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
19534 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
19537 2013-05-16 Joseph Myers <joseph@codesourcery.com>
19539 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
19540 with DIVIDE_BY_ZERO_EXCEPTION.
19541 (gamma_test_data): Likewise.
19542 (lgamma_test_data): Likewise.
19543 (log_test_data): Likewise.
19544 (log10_test_data): Likewise.
19545 (log2_test_data): Likewise.
19546 (tgamma_test_data): Likewise.
19548 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
19549 (acos_test_tonearest): Likewise.
19550 (acos_test_towardzero): Likewise.
19551 (acos_test_downward): Likewise.
19552 (acos_test_upward): Likewise.
19553 (acosh_test): Likewise.
19554 (asin_test): Likewise.
19555 (asin_test_tonearest): Likewise.
19556 (asin_test_towardzero): Likewise.
19557 (asin_test_downward): Likewise.
19558 (asin_test_upward): Likewise.
19559 (asinh_test): Likewise.
19560 (atan_test): Likewise.
19561 (atanh_test): Likewise.
19562 (atan2_test): Likewise.
19563 (cabs_test): Likewise.
19564 (cacos_test): Likewise.
19565 (cacosh_test): Likewise.
19566 (casin_test): Likewise.
19567 (casinh_test): Likewise.
19568 (catan_test): Likewise.
19569 (catanh_test): Likewise.
19570 (cbrt_test): Likewise.
19571 (ccos_test): Likewise.
19572 (ccosh_test): Likewise.
19573 (cexp_test): Likewise.
19574 (clog_test): Likewise.
19575 (clog10_test): Likewise.
19576 (cos_test): Likewise.
19577 (cos_test_tonearest): Likewise.
19578 (cos_test_towardzero): Likewise.
19579 (cos_test_downward): Likewise.
19580 (cos_test_upward): Likewise.
19581 (cosh_test): Likewise.
19582 (cosh_test_tonearest): Likewise.
19583 (cosh_test_towardzero): Likewise.
19584 (cosh_test_downward): Likewise.
19585 (cosh_test_upward): Likewise.
19586 (cpow_test): Likewise.
19587 (csin_test): Likewise.
19588 (csinh_test): Likewise.
19589 (csqrt_test): Likewise.
19590 (ctan_test): Likewise.
19591 (ctan_test_tonearest): Likewise.
19592 (ctan_test_towardzero): Likewise.
19593 (ctan_test_downward): Likewise.
19594 (ctan_test_upward): Likewise.
19595 (ctanh_test): Likewise.
19596 (ctanh_test_tonearest): Likewise.
19597 (ctanh_test_towardzero): Likewise.
19598 (ctanh_test_downward): Likewise.
19599 (ctanh_test_upward): Likewise.
19600 (erf_test): Likewise.
19601 (erfc_test): Likewise.
19602 (exp_test): Likewise.
19603 (exp_test_tonearest): Likewise.
19604 (exp_test_towardzero): Likewise.
19605 (exp_test_downward): Likewise.
19606 (exp_test_upward): Likewise.
19607 (exp10_test): Likewise.
19608 (exp2_test): Likewise.
19609 (expm1_test): Likewise.
19610 (fmod_test): Likewise.
19611 (gamma_test): Likewise.
19612 (hypot_test): Likewise.
19613 (j0_test): Likewise.
19614 (j1_test): Likewise.
19615 (jn_test): Likewise.
19616 (lgamma_test): Likewise.
19617 (log_test): Likewise.
19618 (log10_test): Likewise.
19619 (log1p_test): Likewise.
19620 (log2_test): Likewise.
19621 (logb_test_downward): Likewise.
19622 (pow_test): Likewise.
19623 (pow_test_tonearest): Likewise.
19624 (pow_test_towardzero): Likewise.
19625 (pow_test_downward): Likewise.
19626 (pow_test_upward): Likewise.
19627 (remainder_test): Likewise.
19628 (remquo_test): Likewise.
19629 (sin_test): Likewise.
19630 (sin_test_tonearest): Likewise.
19631 (sin_test_towardzero): Likewise.
19632 (sin_test_downward): Likewise.
19633 (sin_test_upward): Likewise.
19634 (sincos_test): Likewise.
19635 (sinh_test): Likewise.
19636 (sinh_test_tonearest): Likewise.
19637 (sinh_test_towardzero): Likewise.
19638 (sinh_test_downward): Likewise.
19639 (sinh_test_upward): Likewise.
19640 (sqrt_test): Likewise.
19641 (tan_test): Likewise.
19642 (tan_test_tonearest): Likewise.
19643 (tan_test_towardzero): Likewise.
19644 (tan_test_downward): Likewise.
19645 (tan_test_upward): Likewise.
19646 (tanh_test): Likewise.
19647 (tgamma_test): Likewise.
19648 (y0_test): Likewise.
19649 (y1_test): Likewise.
19650 (yn_test): Likewise.
19652 * math/gen-libm-test.pl (adjust_arg): Remove function.
19653 (special_function): Remove argument $in_func. Only handle
19654 generating output for tables of tests, not inside functions.
19655 (parse_args): Likewise.
19656 (generate_testfile): Remove variable $in_func. Update call to
19658 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
19659 (MINUS_ZERO_INIT): Rename macro to minus_zero.
19660 (PLUS_INFTY_INIT): Rename macro to plus_infty.
19661 (MINUS_INFTY_INIT): Rename macro to minus_infty.
19662 (QNAN_VALUE_INIT): Rename macro to qnan_value.
19663 (MAX_VALUE_INIT): Rename macro to max_value.
19664 (MIN_VALUE_INIT): Rename macro to min_value.
19665 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
19666 (plus_zero): Remove variable.
19667 (minus_zero): Likewise.
19668 (plus_infty): Likewise.
19669 (minus_infty): Likewise.
19670 (qnan_value): Likewise.
19671 (max_value): Likewise.
19672 (min_value): Likewise.
19673 (min_subnorm_value): Likewise.
19675 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
19677 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
19678 uint64_t or uint32_t usage.
19679 * crypt/sha256-block.c: Likewise.
19680 * crypt/sha256-crypt.c: Likewise.
19681 * crypt/sha256.c: Likewise.
19682 * crypt/sha512-block.c: Likewise.
19683 * crypt/sha512-crypt.c: Likewise.
19684 * crypt/sha512.c: Likewise.
19685 * debug/backtrace-tst.c: Likewise.
19686 * debug/pcprofiledump.c: Likewise.
19687 * elf/cache.c: Likewise.
19688 * elf/dl-cache.c: Likewise.
19689 * elf/dl-misc.c: Likewise.
19690 * elf/dl-profile.c: Likewise.
19691 * elf/dl-support.c: Likewise.
19692 * elf/ldconfig.c: Likewise.
19693 * elf/sprof.c: Likewise.
19694 * iconv/dummy-repertoire.c: Likewise.
19695 * iconv/iconv_charmap.c: Likewise.
19696 * iconv/skeleton.c: Likewise.
19697 * iconvdata/8bit-generic.c: Likewise.
19698 * iconvdata/cp737.h: Likewise.
19699 * iconvdata/cp775.h: Likewise.
19700 * iconvdata/ibm1008.h: Likewise.
19701 * iconvdata/ibm1025.h: Likewise.
19702 * iconvdata/ibm1046.h: Likewise.
19703 * iconvdata/ibm1097.h: Likewise.
19704 * iconvdata/ibm1112.h: Likewise.
19705 * iconvdata/ibm1122.h: Likewise.
19706 * iconvdata/ibm1123.h: Likewise.
19707 * iconvdata/ibm1124.h: Likewise.
19708 * iconvdata/ibm1129.h: Likewise.
19709 * iconvdata/ibm1130.h: Likewise.
19710 * iconvdata/ibm1132.h: Likewise.
19711 * iconvdata/ibm1133.h: Likewise.
19712 * iconvdata/ibm1137.h: Likewise.
19713 * iconvdata/ibm1140.h: Likewise.
19714 * iconvdata/ibm1141.h: Likewise.
19715 * iconvdata/ibm1142.h: Likewise.
19716 * iconvdata/ibm1143.h: Likewise.
19717 * iconvdata/ibm1144.h: Likewise.
19718 * iconvdata/ibm1145.h: Likewise.
19719 * iconvdata/ibm1146.h: Likewise.
19720 * iconvdata/ibm1147.h: Likewise.
19721 * iconvdata/ibm1148.h: Likewise.
19722 * iconvdata/ibm1149.h: Likewise.
19723 * iconvdata/ibm1153.h: Likewise.
19724 * iconvdata/ibm1154.h: Likewise.
19725 * iconvdata/ibm1155.h: Likewise.
19726 * iconvdata/ibm1156.h: Likewise.
19727 * iconvdata/ibm1157.h: Likewise.
19728 * iconvdata/ibm1158.h: Likewise.
19729 * iconvdata/ibm1160.h: Likewise.
19730 * iconvdata/ibm1161.h: Likewise.
19731 * iconvdata/ibm1162.h: Likewise.
19732 * iconvdata/ibm1163.h: Likewise.
19733 * iconvdata/ibm1164.h: Likewise.
19734 * iconvdata/ibm1166.h: Likewise.
19735 * iconvdata/ibm1167.h: Likewise.
19736 * iconvdata/ibm12712.h: Likewise.
19737 * iconvdata/ibm1390.h: Likewise.
19738 * iconvdata/ibm1399.h: Likewise.
19739 * iconvdata/ibm16804.h: Likewise.
19740 * iconvdata/ibm4517.h: Likewise.
19741 * iconvdata/ibm4899.h: Likewise.
19742 * iconvdata/ibm4909.h: Likewise.
19743 * iconvdata/ibm4971.h: Likewise.
19744 * iconvdata/ibm5347.h: Likewise.
19745 * iconvdata/ibm803.h: Likewise.
19746 * iconvdata/ibm856.h: Likewise.
19747 * iconvdata/ibm901.h: Likewise.
19748 * iconvdata/ibm902.h: Likewise.
19749 * iconvdata/ibm9030.h: Likewise.
19750 * iconvdata/ibm9066.h: Likewise.
19751 * iconvdata/ibm921.h: Likewise.
19752 * iconvdata/ibm922.h: Likewise.
19753 * iconvdata/ibm9448.h: Likewise.
19754 * iconvdata/isiri-3342.h: Likewise.
19755 * iconvdata/jis0201.h: Likewise.
19756 * include/link.h: Likewise.
19757 * include/netdb.h: Likewise.
19758 * inet/check_native.c: Likewise.
19759 * inet/check_pf.c: Likewise.
19760 * inet/getipv4sourcefilter.c: Likewise.
19761 * inet/getnameinfo.c: Likewise.
19762 * inet/getsourcefilter.c: Likewise.
19763 * inet/htonl.c: Likewise.
19764 * inet/setipv4sourcefilter.c: Likewise.
19765 * inet/setsourcefilter.c: Likewise.
19766 * inet/test-inet6_opt.c: Likewise.
19767 * inet/tst-network.c: Likewise.
19768 * locale/C-collate.c: Likewise.
19769 * locale/C-ctype.c: Likewise.
19770 * locale/C-time.c: Likewise.
19771 * locale/C-translit.h: Likewise.
19772 * locale/loadarchive.c: Likewise.
19773 * locale/programs/3level.h: Likewise.
19774 * locale/programs/charmap.c: Likewise.
19775 * locale/programs/charmap.h: Likewise.
19776 * locale/programs/ld-address.c: Likewise.
19777 * locale/programs/ld-collate.c: Likewise.
19778 * locale/programs/ld-ctype.c: Likewise.
19779 * locale/programs/ld-identification.c: Likewise.
19780 * locale/programs/ld-measurement.c: Likewise.
19781 * locale/programs/ld-messages.c: Likewise.
19782 * locale/programs/ld-monetary.c: Likewise.
19783 * locale/programs/ld-name.c: Likewise.
19784 * locale/programs/ld-numeric.c: Likewise.
19785 * locale/programs/ld-paper.c: Likewise.
19786 * locale/programs/ld-telephone.c: Likewise.
19787 * locale/programs/ld-time.c: Likewise.
19788 * locale/programs/linereader.c: Likewise.
19789 * locale/programs/locale.c: Likewise.
19790 * locale/programs/locarchive.c: Likewise.
19791 * locale/programs/locfile.h: Likewise.
19792 * locale/programs/repertoire.c: Likewise.
19793 * locale/programs/simple-hash.c: Likewise.
19794 * locale/programs/simple-hash.h: Likewise.
19795 * malloc/memusage.c: Likewise.
19796 * malloc/memusagestat.c: Likewise.
19797 * nis/nis_defaults.c: Likewise.
19798 * nis/nis_hash.c: Likewise.
19799 * nis/nis_print.c: Likewise.
19800 * nis/nis_xdr.c: Likewise.
19801 * nscd/connections.c: Likewise.
19802 * nscd/hstcache.c: Likewise.
19803 * nscd/nscd_gethst_r.c: Likewise.
19804 * nscd/nscd_getserv_r.c: Likewise.
19805 * nscd/nscd_helper.c: Likewise.
19806 * nscd/servicescache.c: Likewise.
19807 * nss/makedb.c: Likewise.
19808 * nss/nss_db/db-XXX.c: Likewise.
19809 * nss/nss_db/db-initgroups.c: Likewise.
19810 * nss/nss_db/db-netgrp.c: Likewise.
19811 * nss/nss_files/files-network.c: Likewise.
19812 * nss/nss_files/files-parse.c: Likewise.
19813 * posix/bug-regex5.c: Likewise.
19814 * posix/fnmatch_loop.c: Likewise.
19815 * posix/regcomp.c: Likewise.
19816 * posix/regexec.c: Likewise.
19817 * posix/tst-rfc3484-2.c: Likewise.
19818 * posix/tst-rfc3484-3.c: Likewise.
19819 * posix/tst-rfc3484.c: Likewise.
19820 * resolv/nss_dns/dns-canon.c: Likewise.
19821 * resolv/nss_dns/dns-network.c: Likewise.
19822 * resolv/res_init.c: Likewise.
19823 * resolv/res_mkquery.c: Likewise.
19824 * resolv/tst-aton.c: Likewise.
19825 * stdlib/cxa_atexit.c: Likewise.
19826 * stdlib/cxa_finalize.c: Likewise.
19827 * stdlib/gen-fpioconst.c: Likewise.
19828 * stdlib/strtol_l.c: Likewise.
19829 * string/tst-endian.c: Likewise.
19830 * sunrpc/auth_des.c: Likewise.
19831 * sunrpc/clnt_udp.c: Likewise.
19832 * sunrpc/rtime.c: Likewise.
19833 * sunrpc/svcauth_des.c: Likewise.
19834 * sunrpc/xdr.c: Likewise.
19835 * sunrpc/xdr_intXX_t.c: Likewise.
19836 * sunrpc/xdr_rec.c: Likewise.
19837 * sysdeps/generic/ldconfig.h: Likewise.
19838 * sysdeps/generic/ldsodefs.h: Likewise.
19839 * sysdeps/generic/memusage.h: Likewise.
19840 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
19841 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
19842 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
19843 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
19844 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
19845 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
19846 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
19847 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
19848 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
19849 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
19850 * sysdeps/posix/getaddrinfo.c: Likewise.
19851 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
19852 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
19853 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
19854 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
19855 * sysdeps/powerpc/test-gettimebase.c: Likewise.
19856 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
19857 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
19858 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
19859 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
19860 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
19861 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
19862 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
19863 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
19864 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
19865 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
19866 * sysdeps/x86_64/dl-tls.h: Likewise.
19867 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
19868 * time/alt_digit.c: Likewise.
19869 * time/era.c: Likewise.
19870 * wcsmbs/tst-c16c32-1.c: Likewise.
19872 2013-05-16 Joseph Myers <joseph@codesourcery.com>
19874 * math/libm-test.inc (struct test_sincos_data): New type.
19875 (RUN_TEST_LOOP_sincos): New macro.
19876 (sincos_test_data): New variable.
19877 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
19879 2013-05-16 Richard Henderson <rth@redhat.com>
19881 * math/atest-exp2.c (LIMB64): New macro.
19882 (CONSTSZ): New macro.
19883 (mp_exp1, mp_exp_m1, mp_log2): New variables.
19885 (print_mpn_fp): ... to function scope.
19886 (read_mpn_hex): Remove.
19887 (get_log2): Remove.
19888 (exp2_mpn): Use mp_log2.
19889 (main): Use mp_exp1.
19891 2013-05-16 Joseph Myers <joseph@codesourcery.com>
19893 * math/libm-test.inc: Remove comment about not testing "inexact"
19895 (INEXACT_EXCEPTION): New macro.
19896 (NO_INEXACT_EXCEPTION): Likewise.
19897 (INVALID_EXCEPTION_OK): Update value.
19898 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
19899 (OVERFLOW_EXCEPTION_OK): Likewise.
19900 (UNDERFLOW_EXCEPTION_OK): Likewise.
19901 (IGNORE_ZERO_INF_SIGN): Likewise.
19902 (ERRNO_UNCHANGED): Likewise.
19903 (ERRNO_EDOM): Likewise.
19904 (ERRNO_ERANGE): Likewise.
19905 (test_exceptions): Handle testing "inexact" exceptions.
19906 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
19907 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
19908 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
19909 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
19911 (rint_towardzero_test_data): Likewise.
19912 (rint_downward_test_data): Likewise.
19913 (rint_upward_test_data): Likewise.
19915 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
19916 with OVERFLOW_EXCEPTION.
19917 (exp10_test_data): Likewise.
19918 (exp2_test_data): Likewise.
19919 (expm1_test_data): Likewise.
19920 (lgamma_test_data): Likewise.
19921 (pow_test_data): Likewise.
19922 (tgamma_test_data): Likewise.
19923 (yn_test_data): Remove duplicate test of overflow.
19925 * math/libm-test.inc (struct test_cc_c_data): New type.
19926 (RUN_TEST_LOOP_cc_c): New macro.
19927 (cpow_test_data): New variable.
19928 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
19930 * math/libm-test.inc (struct test_f_L_data): New type.
19931 (RUN_TEST_LOOP_f_L): New macro.
19932 (llrint_test_data): New variable.
19933 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
19934 (llrint_tonearest_test_data): New variable.
19935 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
19936 (llrint_towardzero_test_data): New variable.
19937 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
19938 (llrint_downward_test_data): New variable.
19939 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
19940 (llrint_upward_test_data): New variable.
19941 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
19942 (llround_test_data): New variable.
19943 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
19945 2013-05-13 Peter Collingbourne <pcc@google.com>
19947 * math/atest-exp2.c (get_log2): Remove const attribute.
19949 2013-05-15 Joseph Myers <joseph@codesourcery.com>
19951 * math/libm-test.inc (struct test_f_l_data): New type.
19952 (RUN_TEST_LOOP_f_l): New macro.
19953 (lrint_test_data): New variable.
19954 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
19955 (lrint_tonearest_test_data): New variable.
19956 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
19957 (lrint_towardzero_test_data): New variable.
19958 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
19959 (lrint_downward_test_data): New variable.
19960 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
19961 (lrint_upward_test_data): New variable.
19962 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
19963 (lround_test_data): New variable.
19964 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
19966 2013-05-15 Peter Collingbourne <pcc@google.com>
19968 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
19969 (EXTRACT_WORDS64) Use where appropriate.
19970 (INSERT_WORDS64) Likewise.
19972 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
19973 constraints with x constraints.
19974 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
19976 * malloc/obstack.c (_obstack_compat): Add initializer.
19978 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
19980 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
19981 si_trapno and add si_addr_lsb to _sifields.sigfault.
19982 (si_trapno): Remove macro.
19983 (si_addr_lsb): Define new macro.
19984 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
19986 2013-05-15 Joseph Myers <joseph@codesourcery.com>
19988 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
19989 instead of TEST_f_l.
19990 (llrint_test_tonearest): Likewise.
19991 (llrint_test_towardzero): Likewise.
19992 (llrint_test_downward): Likewise.
19993 (llrint_test_upward): Likewise.
19994 (llround_test): Likewise.
19996 * math/libm-test.inc (struct test_f_i_data): Add comment.
19997 (RUN_TEST_LOOP_f_b): New macro.
19998 (RUN_TEST_LOOP_f_b_tg): Likewise.
19999 (finite_test_data): New variable.
20000 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
20001 (isfinite_test_data): New variable.
20002 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20003 (isinf_test_data): New variable.
20004 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20005 (isnan_test_data): New variable.
20006 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20007 (isnormal_test_data): New variable.
20008 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20009 (issignaling_test_data): New variable.
20010 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20011 (signbit_test_data): New variable.
20012 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20014 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
20015 with INVALID_EXCEPTION.
20016 (acosh_test_data): Likewise.
20017 (asin_test_data): Likewise.
20018 (atanh_test_data): Likewise.
20019 (fmod_test_data): Likewise.
20020 (log_test_data): Likewise.
20021 (log10_test_data): Likewise.
20022 (log2_test_data): Likewise.
20023 (pow_test_data): Likewise.
20024 (sqrt_test_data): Likewise.
20025 (y0_test_data): Likewise.
20026 (y1_test_data): Likewise.
20027 (yn_test_data): Likewise.
20029 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
20032 * math/libm-test.inc (struct test_ff_i_data): New type.
20033 (RUN_TEST_LOOP_ff_i_tg): New macro.
20034 (isgreater_test_data): New variable.
20035 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20036 (isgreaterequal_test_data): New variable.
20037 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20038 (isless_test_data): New variable.
20039 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20040 (islessequal_test_data): New variable.
20041 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20042 (islessgreater_test_data): New variable.
20043 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20044 (isunordered_test_data): New variable.
20045 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20047 2013-05-14 David S. Miller <davem@davemloft.net>
20049 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20051 2013-05-14 Joseph Myers <joseph@codesourcery.com>
20053 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
20055 * math/libm-test.inc (struct test_fF_f1_data): Change type of
20057 (struct test_f_i_data): Change type of max_ulp to int.
20059 * math/libm-test.inc (test_ffI_f1_data): New type.
20060 (RUN_TEST_LOOP_ffI_f1): New macro.
20061 (remquo_test_data): New variable.
20062 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
20064 * setjmp/tst-setjmp-fp.c: New file.
20065 * setjmp/Makefile (tests): Add tst-setjmp-fp.
20066 (link-libm): New variable.
20067 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
20069 * math/libm-test.inc (struct test_f_i_data): New type.
20070 (RUN_TEST_LOOP_f_i): New macro.
20071 (RUN_TEST_LOOP_f_i_tg): Likewise.
20072 (fpclassify_test_data): New variable.
20073 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
20074 (ilogb_test_data): New variable.
20075 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
20077 * math/libm-test.inc (scalbln_test): Correct function name in END
20080 * math/libm-test.inc (struct test_f_f1_data): Add comment.
20081 (RUN_TEST_LOOP_fI_f1): New macro.
20082 (frexp_test_data): New variable.
20083 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
20085 * math/libm-test.inc (struct test_fF_f1_data): New type.
20086 (RUN_TEST_LOOP_fF_f1): New macro.
20087 (modf_test_data): New variable.
20088 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
20090 * math/libm-test.inc (struct test_f_f1_data): New type.
20091 (RUN_TEST_LOOP_f_f1): New macro.
20092 (gamma_test_data): New variable.
20093 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
20094 (lgamma_test_data): New variable.
20095 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
20097 2013-05-13 Carlos O'Donell <carlos@redhat.com>
20099 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
20100 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
20101 (main): Comment "tls" pseudo-hwcap.
20103 2013-05-13 Joseph Myers <joseph@codesourcery.com>
20105 * math/libm-test.inc (struct test_fl_f_data): New type.
20106 (RUN_TEST_LOOP_fl_f): New variable.
20107 (scalbln_test_data): New variable.
20108 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
20110 * math/libm-test.inc (struct test_fi_f_data): New type.
20111 (RUN_TEST_LOOP_fi_f): New macro.
20112 (ldexp_test_data): New variable.
20113 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
20114 (scalbn_test_data): New variable.
20115 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
20117 * math/libm-test.inc (struct test_c_f_data): New type.
20118 (RUN_TEST_LOOP_c_f): New macro.
20119 (cabs_test_data): New variable.
20120 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
20121 (carg_test_data): New variable.
20122 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
20123 (cimag_test_data): New variable.
20124 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
20125 (creal_test_data): New variable.
20126 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
20128 * math/libm-test.inc (struct test_if_f_data): New type.
20129 (RUN_TEST_LOOP_if_f): New macro.
20130 (jn_test_data): New variable.
20131 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
20132 (yn_test_data): New variable.
20133 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
20135 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
20137 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20139 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
20140 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
20142 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
20144 * benchtests/Makefile (CPPFLAGS-nonlib): Add
20145 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
20146 (bench-deps): Add bench-timing.h.
20147 * benchtests-bench-skeleton.c: Include bench-timing.h.
20148 (main): Use TIMING_* macros instead of clock_gettime.
20149 * benchtests/bench-timing.h: New file.
20152 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
20153 Renamed from _LIB_VERSION.
20154 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
20156 2013-05-12 Joseph Myers <joseph@codesourcery.com>
20158 * math/libm-test.inc (struct test_fff_f_data): New type.
20159 (RUN_TEST_LOOP_fff_f): New macro.
20160 (fma_test_data): New variable.
20161 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
20162 (fma_towardzero_test_data): New variable.
20163 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
20164 (fma_downward_test_data): New variable.
20165 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
20166 (fma_upward_test_data): New variable.
20167 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
20169 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
20170 (struct test_c_c_data): New type.
20171 (RUN_TEST_LOOP_c_c): New macro.
20172 (cacos_test_data): New variable.
20173 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
20174 (cacosh_test_data): New variable.
20175 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
20176 (casin_test_data): New variable.
20177 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
20178 (casinh_test_data): New variable.
20179 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
20180 (catan_test_data): New variable.
20181 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
20182 (catanh_test_data): New variable.
20183 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
20184 (ccos_test_data): New variable.
20185 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
20186 (ccosh_test_data): New variable.
20187 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
20188 (cexp_test_data): New variable.
20189 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
20190 (clog_test_data): New variable.
20191 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
20192 (clog10_test_data): New variable.
20193 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
20194 (conj_test_data): New variable.
20195 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
20196 (cproj_test_data): New variable.
20197 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
20198 (csin_test_data): New variable.
20199 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
20200 (csinh_test_data): New variable.
20201 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
20202 (csqrt_test_data): New variable.
20203 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
20204 (ctan_test_data): New variable.
20205 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
20206 (ctan_tonearest_test_data): New variable.
20207 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
20208 (ctan_towardzero_test_data): New variable.
20209 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
20210 (ctan_downward_test_data): New variable.
20211 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
20212 (ctan_upward_test_data): New variable.
20213 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
20214 (ctanh_test_data): New variable.
20215 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
20216 (ctanh_tonearest_test_data): New variable.
20217 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
20218 (ctanh_towardzero_test_data): New variable.
20219 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
20220 (ctanh_downward_test_data): New variable.
20221 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
20222 (ctanh_upward_test_data): New variable.
20223 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
20224 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
20227 * math/libm-test.inc (struct test_ff_f_data): New type.
20228 (struct test_ff_f_data_nexttoward): Likewise.
20229 (RUN_TEST_LOOP_2_f): New macro.
20230 (RUN_TEST_LOOP_ff_f): Likewise.
20231 (atan2_test_data): New variable.
20232 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
20233 (copysign_test_data): New variable.
20234 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
20235 (fdim_test_data): New variable.
20236 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
20237 (fmax_test_data): New variable.
20238 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
20239 (fmin_test_data): New variable.
20240 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
20241 (fmod_test_data): New variable.
20242 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
20243 (hypot_test_data): New variable.
20244 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
20245 (nextafter_test_data): New variable.
20246 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
20247 (nexttoward_test_data): New variable.
20248 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
20249 (pow_test_data): New variable.
20250 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
20251 (pow_tonearest_test_data): New variable.
20252 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
20253 (pow_towardzero_test_data): New variable.
20254 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
20255 (pow_downward_test_data): New variable.
20256 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
20257 (pow_upward_test_data): New variable.
20258 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
20259 (remainder_test_data): New variable.
20260 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
20261 (scalb_test_data): New variable.
20262 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
20263 * sysdeps/i386/fpu/libm-test-ulps: Update.
20265 2013-05-11 Joseph Myers <joseph@codesourcery.com>
20267 * math/libm-test.inc (fma_test): Use max_value instead of local
20269 (nextafter_test): Likewise.
20271 * math/libm-test.inc (acos_towardzero_test_data): New variable.
20272 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20273 (acos_downward_test_data): New variable.
20274 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20275 (acos_upward_test_data): New variable.
20276 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20277 (acosh_test_data): New variable.
20278 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
20279 (asin_test_data): New variable.
20280 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
20281 (asin_tonearest_test_data): New variable.
20282 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20283 (asin_towardzero_test_data): New variable.
20284 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20285 (asin_downward_test_data): New variable.
20286 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20287 (asin_upward_test_data): New variable.
20288 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20289 (asinh_test_data): New variable.
20290 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
20291 (atan_test_data): New variable.
20292 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
20293 (atanh_test_data): New variable.
20294 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
20295 (cbrt_test_data): New variable.
20296 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
20297 (ceil_test_data): New variable.
20298 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
20299 (cos_test_data): New variable.
20300 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
20301 (cos_tonearest_test_data): New variable.
20302 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20303 (cos_towardzero_test_data): New variable.
20304 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20305 (cos_downward_test_data): New variable.
20306 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20307 (cos_upward_test_data): New variable.
20308 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20309 (cosh_test_data): New variable.
20310 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
20311 (cosh_tonearest_test_data): New variable.
20312 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20313 (cosh_towardzero_test_data): New variable.
20314 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20315 (cosh_downward_test_data): New variable.
20316 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20317 (cosh_upward_test_data): New variable.
20318 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20319 (erf_test_data): New variable.
20320 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
20321 (erfc_test_data): New variable.
20322 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
20323 (exp_test_data): New variable.
20324 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
20325 (exp_tonearest_test_data): New variable.
20326 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20327 (exp_towardzero_test_data): New variable.
20328 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20329 (exp_downward_test_data): New variable.
20330 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20331 (exp_upward_test_data): New variable.
20332 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20333 (exp10_test_data): New variable.
20334 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
20335 (exp2_test_data): New variable.
20336 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
20337 (expm1_test_data): New variable.
20338 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
20339 (fabs_test_data): New variable.
20340 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
20341 (floor_test_data): New variable.
20342 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
20343 (j0_test_data): New variable.
20344 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
20345 (j1_test_data): New variable.
20346 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
20347 (log_test_data): New variable.
20348 (log_test): Run tests with RUN_TEST_LOOP_f_f.
20349 (log10_test_data): New variable.
20350 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
20351 (log1p_test_data): New variable.
20352 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
20353 (log2_test_data): New variable.
20354 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
20355 (logb_test_data): New variable.
20356 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
20357 (logb_downward_test_data): New variable.
20358 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20359 (nearbyint_test_data): New variable.
20360 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
20361 (rint_test_data): New variable.
20362 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
20363 (rint_tonearest_test_data): New variable.
20364 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20365 (rint_towardzero_test_data): New variable.
20366 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20367 (rint_downward_test_data): New variable.
20368 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20369 (rint_upward_test_data): New variable.
20370 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20371 (round_test_data): New variable.
20372 (round_test): Run tests with RUN_TEST_LOOP_f_f.
20373 (sin_test_data): New variable.
20374 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
20375 (sin_tonearest_test_data): New variable.
20376 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20377 (sin_towardzero_test_data): New variable.
20378 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20379 (sin_downward_test_data): New variable.
20380 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20381 (sin_upward_test_data): New variable.
20382 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20383 (sinh_test_data): New variable.
20384 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
20385 (sinh_tonearest_test_data): New variable.
20386 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20387 (sinh_towardzero_test_data): New variable.
20388 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20389 (sinh_downward_test_data): New variable.
20390 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20391 (sinh_upward_test_data): New variable.
20392 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20393 (sqrt_test_data): New variable.
20394 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
20395 (tan_test_data): New variable.
20396 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
20397 (tan_tonearest_test_data): New variable.
20398 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20399 (tan_towardzero_test_data): New variable.
20400 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20401 (tan_downward_test_data): New variable.
20402 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20403 (tan_upward_test_data): New variable.
20404 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20405 (tanh_test_data): New variable.
20406 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
20407 (tgamma_test_data): New variable.
20408 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
20409 (trunc_test_data): New variable.
20410 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
20411 (y0_test_data): New variable.
20412 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
20413 (y1_test_data): New variable.
20414 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
20415 (significand_test_data): New variable.
20416 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
20418 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
20421 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
20423 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
20425 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
20427 2013-05-10 Andreas Jaeger <aj@suse.de>
20430 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
20431 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
20433 2013-05-10 Joseph Myers <joseph@codesourcery.com>
20435 * math/gen-libm-test.pl (adjust_arg): New function.
20436 (special_functions): Handle generating output in both functions
20438 (parse_args): Likewise.
20439 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
20440 $in_func argument to parse_args.
20441 * math/libm-test.inc (struct test_f_f_data): New type.
20442 (IF_ROUND_INIT_): New macro.
20443 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
20444 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
20445 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
20446 (IF_ROUND_INIT_FE_UPWARD): Likewise.
20447 (ROUND_RESTORE_): Likewise.
20448 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
20449 (ROUND_RESTORE_FE_TONEAREST): Likewise.
20450 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
20451 (ROUND_RESTORE_FE_UPWARD): Likewise.
20452 (RUN_TEST_LOOP_f_f): New macro.
20453 (acos_test_data): New variable.
20454 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
20455 (acos_tonearest_test_data): New variable.
20456 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20458 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
20460 * benchtests/bench-skeleton.c (startup): Fix coding style.
20462 2013-05-10 Joseph Myers <joseph@codesourcery.com>
20465 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
20466 negative infinity argument.
20467 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
20468 negative infinity argument.
20469 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
20470 negative infinity argument.
20471 * math/libm-test.inc (tgamma_test): Expect errno to be set for
20474 2013-05-10 Florian Weimer <fweimer@redhat.com>
20476 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
20477 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
20478 * iconv/iconv_prog.c (main): Likewise.
20479 * locale/programs/charmap-dir.c (charmap_readdir)
20480 (fopen_uncompressed): Likewise.
20481 * locale/programs/locfile.c (siblings_uncached)
20482 (write_locale_data): Use lstat64 instead of lstat.
20483 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
20486 2013-05-10 Andreas Jaeger <aj@suse.de>
20489 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
20491 Include <locale.h>.
20493 2013-05-09 Carlos O'Donell <carlos@redhat.com>
20495 * elf/dl-close.c (_dl_close_worker): Add comments.
20497 2013-05-09 Joseph Myers <joseph@codesourcery.com>
20500 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
20502 (__ieee754_rem_pio2l): Update comments.
20505 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
20507 (__ieee754_rem_pio2l): Update comments.
20509 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
20510 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
20512 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
20515 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
20516 (M_PI_34_LOG10El): Likewise.
20517 (M_PI2_LOG10El): Likewise.
20518 (M_PI4_LOG10El): Likewise.
20519 (M_PI_LOG10El): Likewise.
20521 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20523 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20525 2013-05-08 Joseph Myers <joseph@codesourcery.com>
20527 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
20528 (MINUS_ZERO_INIT): Likewise.
20529 (PLUS_INFTY_INIT): Likewise.
20530 (MINUS_INFTY_INIT): Likewise.
20531 (QNAN_VALUE_INIT): Likewise.
20532 (MAX_VALUE_INIT): Likewise.
20533 (MIN_VALUE_INIT): Likewise.
20534 (MIN_SUBNORM_VALUE_INIT): Likewise.
20535 (plus_zero): Initialize with PLUS_ZERO_INIT.
20536 (minus_zero): Initialize with MINUS_ZERO_INIT.
20537 (plus_infty): Initialize with PLUS_INFTY_INIT.
20538 (minus_infty): Initialize with MINUS_INFTY_INIT.
20539 (qnan_value): Initialize with QNAN_VALUE_INIT.
20540 (max_value): Initialize with MAX_VALUE_INIT.
20541 (min_value): Initialize with MIN_VALUE_INIT.
20542 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
20544 * math/libm-test.inc (RUN_TEST_if_f): New macro.
20545 (jn_test): Use TEST_if_f instead of TEST_ff_f.
20546 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
20547 (yn_test): Use TEST_if_f instead of TEST_ff_f.
20549 * math/libm-test.inc (RUN_TEST_f_f): New macro.
20550 (RUN_TEST_2_f): Likewise.
20551 (RUN_TEST_ff_f): Likewise.
20552 (RUN_TEST_fi_f): Likewise.
20553 (RUN_TEST_fl_f): Likewise.
20554 (RUN_TEST_fff_f): Likewise.
20555 (RUN_TEST_c_f): Likewise.
20556 (RUN_TEST_f_f1): Likewise.
20557 (RUN_TEST_fF_f1): Likewise.
20558 (RUN_TEST_fI_f1): Likewise.
20559 (RUN_TEST_ffI_f1): Likewise.
20560 (RUN_TEST_c_c): Likewise.
20561 (RUN_TEST_cc_c): Likewise.
20562 (RUN_TEST_f_i): Likewise.
20563 (RUN_TEST_f_i_tg): Likewise.
20564 (RUN_TEST_ff_i_tg): Likewise.
20565 (RUN_TEST_f_b): Likewise.
20566 (RUN_TEST_f_b_tg): Likewise.
20567 (RUN_TEST_f_l): Likewise.
20568 (RUN_TEST_f_L): Likewise.
20569 (RUN_TEST_sincos): Likewise.
20570 * math/gen-libm-test.pl (new_test): Take new argument to indicate
20571 whether to show exceptions. Do not include ");\n" in return
20573 (special_functions): Output call to RUN_TEST_sincos instead of
20574 check_float calls. Update calls to new_test.
20575 (parse_args): Output call to single RUN_TEST_* macro instead of
20576 check_* calls and other assignments. Update calls to new_test.
20582 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
20583 input to result for tgamma overflow.
20584 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
20585 (gamma_coeff): New variable.
20586 (NCOEFF): New macro.
20587 (gamma_positive): New function.
20588 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
20589 underflow here. Use gamma_positive instead of exp (lgamma) for
20591 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
20592 (gamma_coeff): New variable.
20593 (NCOEFF): New macro.
20594 (gammaf_positive): New function.
20595 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
20596 underflow here. Use gamma_positive instead of exp (lgamma) for
20598 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
20599 (gamma_coeff): New variable.
20600 (NCOEFF): New macro.
20601 (gammal_positive): New function.
20602 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
20603 underflow here. Use gamma_positive instead of exp (lgamma) for
20605 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
20606 (gamma_coeff): New variable.
20607 (NCOEFF): New macro.
20608 (gammal_positive): New function.
20609 (__ieee754_gammal_r): Handle positive infinity, overflow and
20610 underflow here. Handle NaN the same as positive infinity. Remove
20611 check x < 0xffffffff for negative integers. Use gamma_positive
20612 instead of exp (lgamma) for other arguments.
20613 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
20614 (gamma_coeff): New variable.
20615 (NCOEFF): New macro.
20616 (gammal_positive): New function.
20617 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
20618 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
20619 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
20620 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
20621 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
20622 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
20623 * sysdeps/generic/math_private.h (__gamma_productf): New
20625 (__gamma_product): Likewise.
20626 (__gamma_productl): Likewise.
20627 * math/Makefile (libm-calls): Add gamma_product.
20628 * math/libm-test.inc (tgamma_test): Add more tests.
20629 * sysdeps/i386/fpu/libm-test-ulps: Update.
20630 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20632 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
20634 * benchtests/bench-skeleton.c (main): Preheat CPU.
20636 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
20638 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
20640 2013-05-07 Roland McGrath <roland@hack.frob.com>
20642 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
20643 and _dl_skip_args_internal.
20645 2013-05-07 Carlos O'Donell <carlos@redhat.com>
20647 * manual/message.texi (Message Translation): Talk about users.
20648 Message to key mapping impacts design.
20650 2013-05-06 Roland McGrath <roland@hack.frob.com>
20652 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
20654 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
20656 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
20657 * sysdeps/wordsize-64/glob64.c: ... here.
20659 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
20660 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
20663 * debug/getlogin_r_chk.c: Moved to ...
20664 * login/getlogin_r_chk.c: ... here.
20665 * debug/Makefile (routines): Move getlogin_r_chk to ...
20666 * login/Makefile (routines): ... here.
20667 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
20668 * login/Versions (libc: GLIBC_2.4): ... here.
20670 * io/poll.c (__poll): Renamed from poll.
20671 Add libc_hidden_def.
20672 (poll): Define as weak alias.
20674 * debug/ptsname_r_chk.c: Moved to ...
20675 * login/ptsname_r_chk.c: ... here.
20676 * debug/Makefile (routines): Move ptsname_r_chk to ...
20677 * login/Makefile (routines): ... here.
20678 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
20679 * login/Versions (libc: GLIBC_2.4): ... here.
20681 * posix/getlogin.c: Moved to ...
20682 * login/getlogin.c: ... here.
20683 * posix/getlogin_r.c: Moved to ...
20684 * login/getlogin_r.c: ... here.
20685 * posix/getlogin_r.c: Moved to ...
20686 * login/getlogin_r.c: ... here.
20687 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
20688 * login/Makefile (routines): ... here.
20689 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
20690 * login/Versions (libc: GLIBC_2.0): ... here.
20692 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
20693 (setrlimit): Define as weak alias.
20695 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
20696 Call __ names for open, ftruncate, and close.
20697 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
20698 (truncate): Define as weak alias.
20700 2013-05-06 Joseph Myers <joseph@codesourcery.com>
20702 * math/gen-libm-test.pl (parse_args): Initialize x before each
20703 test of frexp, modf and remquo.
20705 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
20706 test signgam value.
20708 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20712 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
20714 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
20716 2013-05-06 Roland McGrath <roland@hack.frob.com>
20718 * elf/dl-writev.h: New file.
20719 * elf/dl-misc.c: Include it.
20720 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
20721 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
20723 2013-05-04 Joseph Myers <joseph@codesourcery.com>
20725 * math/libm-test.inc (noXFails): Remove variable.
20726 (noXPasses): Likewise.
20727 (BUILD_COMPLEX_INT): Remove macro.
20728 (print_screen): Remove xfail argument.
20729 (print_screen_max_error): Likewise.
20730 (update_stats): Likewise.
20731 (print_max_error): Likewise. Update calls to other affected
20733 (print_complex_max_error): Likewise.
20734 (test_single_exception): Update calls to print_screen.
20735 (test_single_errno): Likewise.
20736 (check_float_internal): Remove xfail argument. Update calls to
20737 other affected functions.
20738 (check_float): Likewise.
20739 (check_complex): Likewise.
20740 (check_int): Likewise.
20741 (check_long): Likewise.
20742 (check_bool): Likewise.
20743 (check_longlong): Likewise.
20744 (main): Don't print noXFails and noXPasses.
20745 * math/gen-libm-test.pl (top level): Don't mention expected
20746 failure handling in comment.
20747 (new_test): Don't handle expected failures.
20748 (parse_args): Don't mention expected failure handling in comment.
20749 (generate_testfile): Don't handle expected failures.
20750 (parse_ulps): Likewise.
20751 (print_ulps_file): Likewise.
20752 (get_failure): Remove function.
20753 (output_test): Don't handle expected failures.
20754 * make/README.libm-test: Don't mention expected failure handling.
20756 * math/libm-test.inc (plus_zero): Make const. Add initializer.
20757 (minus_zero): Likewise.
20758 (plus_infty): Likewise.
20759 (minus_infty): Likewise.
20760 (qnan_value): Likewise.
20761 (max_value): Likewise.
20762 (min_value): Likewise.
20763 (min_subnorm_value): Likewise.
20764 (initialize): Do not initialize those variables dynamically.
20766 2013-05-03 Roland McGrath <roland@hack.frob.com>
20768 * io/open.c (__open_2): Moved to ...
20769 * io/open_2.c: ... this new file.
20770 * io/open64.c (__open64_2): Moved to ...
20771 * io/open64_2.c: ... this new file.
20772 * io/openat.c (__openat_2): Moved to ...
20773 * io/openat_2.c: ... this new file.
20774 * io/openat64.c (__openat64_2): Moved to ...
20775 * io/openat64_2.c: ... this new file.
20776 * io/Makefile (routines): Add them.
20777 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
20778 * sysdeps/unix/sysv/linux/open_2.c: File removed.
20779 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
20780 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
20781 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
20782 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
20783 (__openat64): Add hidden_ver.
20784 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
20785 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
20787 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
20788 Separately conditionalize setting of GLRO(dl_sysinfo) so
20789 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
20790 as well, but the actual setting is only under [NEED_DL_SYSINFO].
20792 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20794 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
20795 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
20797 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
20798 * sysdeps/unix/sysv/linux/powerpc/init-first.c
20799 (_libc_vdso_platform_setup): Add __vdso_time initialization.
20800 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
20801 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
20803 2013-05-03 Joseph Myers <joseph@codesourcery.com>
20805 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
20806 test signgam value.
20808 * math/libm-test.inc (hypot_test): Do not use
20809 IGNORE_ZERO_INF_SIGN.
20811 2013-05-03 Andreas Jaeger <aj@suse.de>
20813 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
20815 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
20816 (PF_MAX): Adjust for VSOCK change.
20818 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20820 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20822 2013-05-02 Carlos O'Donell <carlos@redhat.com>
20825 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
20826 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
20827 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
20829 2013-05-02 David S. Miller <davem@davemloft.net>
20831 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20833 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
20835 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
20837 2013-05-01 Roland McGrath <roland@hack.frob.com>
20839 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
20841 2013-05-01 Richard Smith <richard@metafoo.co.uk>
20844 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
20845 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
20846 Use __attribute__ ((__gnu_inline__)).
20847 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
20848 Don't use __attribute__ ((__gnu_inline__)).
20850 2013-05-01 Joseph Myers <joseph@codesourcery.com>
20853 * math/s_catan.c (__catan): Handle small real or imaginary part of
20854 input specially to avoid spurious underflow.
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 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20867 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20869 2013-04-30 Joseph Myers <joseph@codesourcery.com>
20872 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
20873 accurately for denominator in atan2.
20874 * math/s_catanf.c (__catanf): Likewise.
20875 * math/s_catanh.c (__catanh): Likewise.
20876 * math/s_catanhf.c (__catanhf): Likewise.
20877 * math/s_catanhl.c (__catanhl): Likewise.
20878 * math/s_catanl.c (__catanl): Likewise.
20879 * math/libm-test.inc (catan_test): Add more tests.
20880 (catanh_test): Likewise.
20881 * sysdeps/i386/fpu/libm-test-ulps: Update.
20882 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20884 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
20886 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
20888 * benchtests/Makefile (bench): Remove slow benchmarks.
20889 * benchtests/atan-inputs: Add slow benchmark inputs.
20890 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
20891 (BENCH_FUNC): Accept variant offset.
20893 * benchtests/bench-skeleton.c (main): Run benchmark for each
20895 * benchtests/cos-inputs: Add slow benchmark inputs.
20896 * benchtests/exp-inputs: Likewise.
20897 * benchtests/pow-inputs: Likewise.
20898 * benchtests/sin-inputs: Likewise.
20899 * benchtests/slowatan-inputs: Remove.
20900 * benchtests/slowatan.c: Remove.
20901 * benchtests/slowcos-inputs: Remove.
20902 * benchtests/slowcos.c: Remove.
20903 * benchtests/slowexp-inputs: Remove.
20904 * benchtests/slowexp.c: Remove.
20905 * benchtests/slowpow-inputs: Remove.
20906 * benchtests/slowpow.c: Remove.
20907 * benchtests/slowsin-inputs: Remove.
20908 * benchtests/slowsin.c: Remove.
20909 * benchtests/slowtan-inputs: Remove.
20910 * benchtests/slowtan.c: Remove.
20911 * benchtests/tan-inputs: Add slow benchmark inputs.
20912 * scripts/bench.pl: Parse comments and directives.
20914 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
20916 ($(objpfx)bench-%.c): Remove *-ITER.
20917 * benchtests/bench-modf.c: Remove definition of ITER.
20918 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
20919 (main): Loop for DURATION seconds instead of fixed number of
20921 * scripts/bench.pl: Don't expect iterations in parameters.
20923 2013-04-29 Roland McGrath <roland@hack.frob.com>
20925 * io/fchdir.c (__fchdir): Renamed from fchdir.
20926 (fchdir): Define as weak alias.
20928 2013-04-29 Joseph Myers <joseph@codesourcery.com>
20930 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
20931 (ERRNO_EDOM): Likewise.
20932 (ERRNO_ERANGE): Likewise.
20933 (noErrnoTests): New variable.
20934 (init_max_error): Set errno to 0.
20935 (test_single_errno): New function.
20936 (test_errno): Likewise.
20937 (check_float_internal): Call test_errno. Set errno to 0.
20938 (check_complex): Refer to errno tests in comment.
20939 (check_int): Call test_errno. Set errno to 0.
20940 (check_long): Likewise.
20941 (check_bool): Likewise.
20942 (check_longlong): Likewise.
20943 (cos_test): Use ERRNO_* flags for errno tests instead of
20945 (expm1_test): Likewise.
20946 (fmod_test): Likewise.
20947 (ilogb_test): Likewise.
20948 (lgamma_test): Likewise.
20949 (pow_test): Likewise.
20950 (remainder_test): Likewise.
20951 (sin_test): Likewise.
20952 (tan_test): Likewise.
20953 (yn_test): Likewise.
20954 (initialize): Set errno to 0.
20955 (main): Print number of errno tests.
20956 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
20958 2013-04-29 Andreas Jaeger <aj@suse.de>
20961 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
20965 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
20966 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
20970 * stdlib/random.c (__initstate): Return NULL if
20974 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
20975 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
20978 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20980 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20982 2013-04-29 Joseph Myers <joseph@codesourcery.com>
20984 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
20985 of individual tests.
20986 (casin_test): Likewise.
20987 (casinh_test): Likewise.
20989 2013-04-27 Joseph Myers <joseph@codesourcery.com>
20992 * math/s_catan.c (__catan): Handle arguments with large real or
20993 imaginary part separately without squaring.
20994 * math/s_catanf.c (__catanf): Likewise.
20995 * math/s_catanh.c (__catanh): Likewise.
20996 * math/s_catanhf.c (__catanhf): Likewise.
20997 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
20999 (__catanhl): Handle arguments with large real or imaginary part
21000 separately without squaring.
21001 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
21003 (__catanl): Handle arguments with large real or imaginary part
21004 separately without squaring.
21005 * math/libm-test.inc (catan_test): Add more tests.
21006 (catanh_test): Likewise.
21007 * sysdeps/i386/fpu/libm-test-ulps: Update.
21008 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21010 2013-04-27 Andreas Jaeger <aj@suse.de>
21013 * stdlib/stdlib.h: Update guards for qecvt.
21014 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
21017 2013-04-27 Allan McRae <allan@archlinux.org>
21019 * sysdeps/i386/fpu/libm-test-ulps: Update.
21021 2013-04-26 Joseph Myers <joseph@codesourcery.com>
21024 * math/s_catan.c: Include <float.h>.
21025 (__catan): Ensure underflow exception occurs for underflowed
21027 * math/s_catanf.c: Include <float.h>.
21028 (__catanf): Ensure underflow exception occurs for underflowed
21030 * math/s_catanh.c: Include <float.h>.
21031 (__catanh): Ensure underflow exception occurs for underflowed
21033 * math/s_catanhf.c: Include <float.h>.
21034 (__catanhf): Ensure underflow exception occurs for underflowed
21036 * math/s_catanhl.c: Include <float.h>.
21037 (__catanhl): Ensure underflow exception occurs for underflowed
21039 * math/s_catanl.c: Include <float.h>.
21040 (__catanl): Ensure underflow exception occurs for underflowed
21042 * math/libm-test.inc (catan_test): Add more tests.
21043 (catanh_test): Likewise.
21046 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
21047 underflowed result.
21048 * math/s_ccoshf.c (__ccoshf): Likewise.
21049 * math/s_ccoshl.c (__ccoshl): Likewise.
21050 * math/s_csin.c (__csin): Likewise.
21051 * math/s_csinf.c (__csinf): Likewise.
21052 * math/s_csinh.c (__csinh): Likewise.
21053 * math/s_csinhf.c (__csinhf): Likewise.
21054 * math/s_csinhl.c (__csinhl): Likewise.
21055 * math/s_csinl.c (__csinl): Likewise.
21056 * math/libm-test.inc (ccos_test): Add more tests.
21057 (ccosh_test): Likewise.
21058 (csin_test): Likewise.
21059 (csinh_test): Likewise.
21061 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21063 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
21064 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
21065 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
21066 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
21067 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
21068 powerpc/power5+/fpu folders.
21069 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
21072 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
21074 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21076 2013-04-25 Joseph Myers <joseph@codesourcery.com>
21078 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
21079 additions to variable.
21080 [$(config-machine) = x86_64] (modules-names): Likewise.
21081 ($(objpfx)tst-audit3): Remove dependency.
21082 ($(objpfx)tst-audit3.out): Likewise.
21083 ($(objpfx)tst-audit4): Likewise.
21084 ($(objpfx)tst-audit4.out): Likewise.
21085 ($(objpfx)tst-audit5): Likewise.
21086 ($(objpfx)tst-audit5.out): Likewise.
21087 ($(objpfx)tst-audit6): Likewise.
21088 ($(objpfx)tst-audit6.out): Likewise.
21089 ($(objpfx)tst-audit7): Likewise.
21090 ($(objpfx)tst-audit7.out): Likewise.
21091 (tst-audit3-ENV): Remove variable.
21092 (tst-audit4-ENV): Likewise.
21093 (tst-audit5-ENV): Likewise.
21094 (tst-audit6-ENV): Likewise.
21095 (tst-audit7-ENV): Likewise.
21096 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
21097 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
21098 addition to variable.
21099 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
21100 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
21101 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
21102 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
21103 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
21104 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
21105 tst-audit3, tst-audit4 and tst-audit5.
21106 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
21107 tst-audit6 and tst-audit7.
21108 [$(subdir) = elf] (modules-names): Add audit modules for those
21110 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
21111 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
21112 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
21113 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
21114 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
21115 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
21116 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
21117 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
21118 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
21119 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
21120 [$(subdir) = elf] (tst-audit3-ENV): New variable.
21121 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
21122 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
21123 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
21124 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
21125 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
21127 [$(subdir) = elf && $(config-cflags-avx) = yes]
21128 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
21129 [$(subdir) = elf && $(config-cflags-avx) = yes]
21130 (CFLAGS-tst-auditmod4a.c): Likewise.
21131 [$(subdir) = elf && $(config-cflags-avx) = yes]
21132 (CFLAGS-tst-auditmod4b.c): Likewise.
21133 [$(subdir) = elf && $(config-cflags-avx) = yes]
21134 (CFLAGS-tst-auditmod6b.c): Likewise.
21135 [$(subdir) = elf && $(config-cflags-avx) = yes]
21136 (CFLAGS-tst-auditmod6c.c): Likewise.
21137 [$(subdir) = elf && $(config-cflags-avx) = yes]
21138 (CFLAGS-tst-auditmod7b.c): Likewise.
21139 * elf/tst-audit3.c: Move to ...
21140 * sysdeps/x86_64/tst-audit3.c: ... here.
21141 * elf/tst-audit4.c: Move to ...
21142 * sysdeps/x86_64/tst-audit4.c: ... here.
21143 * elf/tst-audit5.c: Move to ...
21144 * sysdeps/x86_64/tst-audit5.c: ... here.
21145 * elf/tst-audit6.c: Move to ...
21146 * sysdeps/x86_64/tst-audit6.c: ... here.
21147 * elf/tst-audit7.c: Move to ...
21148 * sysdeps/x86_64/tst-audit7.c: ... here.
21149 * elf/tst-auditmod3a.c: Move to ...
21150 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
21151 * elf/tst-auditmod3b.c: Move to ...
21152 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
21153 * elf/tst-auditmod4a.c: Move to ...
21154 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
21155 * elf/tst-auditmod4b.c: Move to ...
21156 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
21157 * elf/tst-auditmod5a.c: Move to ...
21158 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
21159 * elf/tst-auditmod5b.c: Move to ...
21160 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
21161 * elf/tst-auditmod6a.c: Move to ...
21162 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
21163 * elf/tst-auditmod6b.c: Move to ...
21164 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
21165 * elf/tst-auditmod6c.c: Move to ...
21166 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
21167 * elf/tst-auditmod7a.c: Move to ...
21168 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
21169 * elf/tst-auditmod7b.c: Move to ...
21170 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
21172 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
21175 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
21176 define unconditionally.
21177 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
21178 define unconditionally.
21179 (INT8_C, INT16_C, etc.): Likewise.
21181 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
21183 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
21184 __ehdr_start with hidden visibility.
21186 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
21188 2013-04-24 Carlos O'Donell <carlos@redhat.com>
21190 * math/libm-test.inc (cos_test): Use accurate hex constants.
21191 (sincost_test): Likewise.
21193 2013-04-24 Joseph Myers <joseph@codesourcery.com>
21195 * math/libm-test.inc (catan_test): Add more tests.
21196 (catanh_test): Likewise.
21198 * math/s_catanf.c (__catanf): Use suffixed floating-point
21200 * math/s_catanhf.c (__catanhf): Likewise.
21201 * math/s_catanhl.c (__catanhl): Likewise.
21202 * math/s_catanl.c (__catanl): Likewise.
21205 * math/s_catan.c (__catan): Calculate imaginary part of result
21206 with log1p not log unless computing log of number close to 0.
21207 * math/s_catanf.c (__catanf): Likewise.
21208 * math/s_catanl.c (__catanl): Likewise.
21209 * math/s_catanh.c (__catanh): Calculate real part of result with
21210 log1p not log unless computing log of number close to 0.
21211 * math/s_catanhf.c (__catanhf): Likewise.
21212 * math/s_catanhl.c (__catanhl): Likewise.
21213 * math/libm-test.inc (catan_test): Add more tests.
21214 (catanh_test): Likewise.
21215 * sysdeps/i386/fpu/libm-test-ulps: Update.
21216 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21218 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
21220 * benchtests/Makefile: Mention files in which fast and slow
21221 paths of math functions are implemented.
21223 2013-04-23 Roland McGrath <roland@hack.frob.com>
21225 * sysdeps/posix/timespec_get.c: New file.
21227 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21229 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
21231 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
21233 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
21234 powerpc/power5/fpu folders.
21235 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
21236 * benchtests/Makefile: Add modf testcase.
21237 * benchtests/bench-modf.c: New file: Benchmark test for mo
21239 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
21242 * time/Makefile (tests): Add tst-strptime-whitespace.
21243 * time/strptime_l.c (get_number): Use ISSPACE.
21244 (__strptime_internal): Likewise.
21245 * time/tst-strptime-whitespace.c: New test case.
21247 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
21249 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
21251 (_nss_files_init): Set it here.
21253 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
21255 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
21256 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
21259 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
21261 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
21263 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
21265 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
21268 2013-04-21 David S. Miller <davem@davemloft.net>
21270 * po/ru.po: Update Russion translation from translation project.
21272 2013-04-17 Adam Conrad <adconrad@0c3.net>
21274 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
21277 2013-04-17 Carlos O'Donell <carlos@redhat.com>
21279 * configure.in: Remove i386 configure warning. Remove i386 case.
21280 * configure: Regenerate.
21281 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
21282 Add example to error message.
21283 * sysdeps/i386/configure: Regenerate.
21285 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
21287 * benchtests/Makefile (bench): Add cos, tan, slowcos and
21289 * benchtests/cos-inputs: New file.
21290 * benchtests/slowcos-inputs: New file.
21291 * benchtests/slowcos.c: New file.
21292 * benchtests/slowtan-inputs: New file.
21293 * benchtests/slowtan.c: New file.
21294 * benchtests/tan-inputs: New file.
21296 2013-04-16 Roland McGrath <roland@hack.frob.com>
21298 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
21301 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
21303 * benchtests/Makefile: Include cppflags-iterator.mk to add
21304 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
21306 * Makefile.in (bench-clean): New target.
21307 * benchtests/Makefile (bench-clean): Likewise.
21309 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
21311 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
21313 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
21315 * stdio-common/tstdiomisc.c: Fix coding-style violation.
21317 2013-04-15 Andreas Schwab <schwab@suse.de>
21319 * nscd/grpcache.c (cache_addgr): Properly check for short write.
21320 * nscd/initgrcache.c (addinitgroupsX): Likewise.
21321 * nscd/pwdcache.c (cache_addpw): Likewise.
21322 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
21325 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
21327 * benchtests/Makefile (bench): Write all output to
21328 bench-out.tmp together.
21330 2013-04-15 Andreas Schwab <schwab@suse.de>
21332 * nscd/nscd.c (main): Don't fork again after closing files.
21334 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
21336 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
21338 * benchtests/Rules (bench-deps): Collect dependencies into a
21339 single variable. Add Makefile to dependencies.
21340 ($(objpfx)bench-%.c): Depend on bench-deps.
21342 2013-04-12 Roland McGrath <roland@hack.frob.com>
21343 Xavier Roche <roche+kml2@exalead.com>
21346 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
21347 just that it's a file descriptor.
21348 * manual/llio.texi (Synchronizing AIO Operations): Update description
21349 for EBADF error from aio_fsync.
21351 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
21353 * Rules (bench): Move target definition...
21354 * benchtests/Makefile: ... here.
21356 2013-04-11 Carlos O'Donell <carlos@redhat.com>
21358 * math/libm-test.inc (cos_test): Fix PI/2 test.
21359 (sincos_test): Likewise.
21360 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
21361 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
21363 2013-04-11 Andreas Schwab <schwab@suse.de>
21366 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
21367 accept exponent character only when digits were seen.
21368 * stdio-common/Makefile (tests): Add bug26.
21369 * stdio-common/bug26.c: New file.
21372 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
21375 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
21377 * Makeconfig (rtld-prefix): Define built linker prefix.
21378 * Rules (run-bench): Use it.
21379 * math/Makefile (run-regen-ulps): Likewise.
21381 * Rules (bench): Remove eval.
21383 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
21384 Roland McGrath <roland@hack.frob.com>
21385 Ondrej Bilka <neleai@seznam.cz>
21388 * time/getdate.c: Include ctype.h and alloca.h.
21389 (__getdate_r): Trim leading and trailing spaces of input.
21390 * time/tst-getdate.c (tests): Add tests with leading and
21393 2013-04-08 Roland McGrath <roland@hack.frob.com>
21396 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
21397 when computing value.
21399 2013-04-06 Carlos O'Donell <carlos@redhat.com>
21401 * math/README.libm-test (How can I generate "libm-test-ulps"?):
21402 Use testrun.sh to run libm tests.
21405 * elf/dl-open.c (dl_open_worker): memset all of seen array.
21407 2013-04-06 Marko Myllynen <myllynen@redhat.com>
21410 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
21412 2013-04-06 Carlos O'Donell <carlos@redhat.com>
21414 * Makefile.in (regen-ulps): New target.
21415 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
21416 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
21417 [ifneq (no,$(PERL)] (regen-ulps): New target.
21418 [ifeq (no,$(PERL)] (regen-ulps): New target.
21419 * math/libm-test.inc (ulps_file_name): Define.
21420 (output_dir): New variable.
21421 (options): Add "output-dir" option.
21422 (parse_opt): Handle 'o' case.
21423 (main): If output_dir is non-NULL use it as a prefix
21425 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
21427 2013-04-06 Carlos O'Donell <carlos@redhat.com>
21429 [BZ #10060, #10062]
21430 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
21431 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
21432 fail configure if __sync_val_compare_and_swap is not inlined.
21433 * sysdeps/i386/configure: Regenerate.
21434 * configure.in: Build for i686 when configured for i386.
21435 * configure: Regenerate.
21436 * README: Remove i386 reference.
21438 2013-04-06 Carlos O'Donell <carlos@redhat.com>
21440 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
21441 * sysdeps/s390/s390-64/sysdep.h: Likewise.
21443 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
21445 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
21446 (lmsnanval): New variables.
21447 (F): Add conversion tests.
21448 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
21449 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
21451 * stdio-common/tstdiomisc.c (F): Properly collect individual
21454 [BZ #14686, #15336]
21455 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
21456 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
21457 Instead, use input NaN values or generate a qNaN by arithmetic
21458 operation. Also fix bugs to comply with the standard.
21459 * math/libm-test.inc (remainder_test): Add more tests.
21461 [BZ #15335, #15342]
21462 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
21463 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
21464 input NaN values or generate a qNaN by arithmetic operation.
21466 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
21469 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
21472 2013-04-03 Joseph Myers <joseph@codesourcery.com>
21475 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
21476 underflowed result.
21477 * math/s_cexpf.c (__cexpf): Likewise.
21478 * math/s_cexpl.c (__cexpl): Likewise.
21479 * math/libm-test.inc (cexp_test): Add more tests.
21481 2013-04-03 Andreas Schwab <schwab@suse.de>
21484 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
21485 order arrays from heap if bigger than alloca cutoff.
21487 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
21489 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
21490 (SNAN_TESTS_double): Refer to GCC PR56831.
21491 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
21494 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
21496 * Rules (bench): Move bench.out after the run is complete.
21498 * Rules (bench): Echo currently running benchmark.
21500 * benchtests/Makefile (bench): Add atan and slowatan.
21501 * benchtests/atan-inputs: New file.
21502 * benchtests/slowatan-inputs: New file.
21503 * benchtests/slowatan.c: New file.
21505 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
21506 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
21510 * sysdeps/unix/sysv/linux/kernel-features.h
21511 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
21512 __ASSUME_XFS_RESTRICTED_CHOWN.
21513 * sysdeps/unix/sysv/linux/pathconf.c
21514 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
21515 Save and restore errno.
21517 2013-04-02 Joseph Myers <joseph@codesourcery.com>
21520 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
21521 arguments using __kernel_casinh.
21522 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
21523 arguments using __kernel_casinhf.
21524 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
21525 arguments using __kernel_casinhl.
21526 * math/libm-test.inc (cacosh_test): Add more tests.
21527 * sysdeps/i386/fpu/libm-test-ulps: Update.
21528 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21530 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
21532 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
21533 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
21535 * bench/Makefile (bench): Add sin and slowsin.
21536 * benchtests/sin-inputs: New file.
21537 * benchtests/slowsin-inputs: New file.
21538 * benchtests/slowsin.c: New file.
21540 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
21541 (bench): Add slowexp and slowpow.
21542 (exp-ITER): Increase iterations.
21543 (pow-ITER): Likewise.
21544 * benchtests/exp-inputs: Change input.
21545 * benchtests/pow-inputs: Likewise.
21546 * benchtests/slowexp-inputs: New file.
21547 * benchtests/slowexp.c: New file.
21548 * benchtests/slowpow-inputs: New file.
21549 * benchtests/slowpow.c: New file.
21551 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21553 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
21555 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
21556 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
21557 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
21558 * benchtests/Makefile: Add rint benchtest.
21559 * benchtests/rint-inputs: Input for rint benchtest.
21561 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
21563 * Versions.def (libm): Add GLIBC_2.18.
21564 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
21565 hidden libm prototypes.
21566 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
21567 * math/Makefile (libm-calls): Add s_issignaling.
21568 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
21569 __issignalingf, __issignalingl. Adjust all libm.abilist files.
21570 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
21572 * math/math.h [__USE_GNU] (issignaling): New macro.
21573 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
21574 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
21575 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
21576 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
21577 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
21578 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
21579 * manual/arith.texi (issignaling): New section.
21580 * manual/libm-err-tab.pl (@all_functions): Update comment.
21581 * math/gen-libm-test.pl (parse_args): Apply special handling for
21583 * math/libm-test.inc (print_float, issignaling_test): New
21585 (check_float_internal): Add issignaling checks.
21586 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
21587 default definition.
21588 * sysdeps/powerpc/math-tests.h: New file.
21589 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
21591 * math/test-snan.c (TEST_FUNC): Likewise.
21593 2013-03-30 David S. Miller <davem@davemloft.net>
21595 * po/de.po: Update from translation team.
21597 2013-03-30 Joseph Myers <joseph@codesourcery.com>
21600 * math/k_casinh.c (__kernel_casinh): Handle arguments with
21601 imaginary part less than 1.0 and real part less than 0.5
21603 * math/k_casinhf.c (__kernel_casinhf): Likewise.
21604 * math/k_casinhl.c (__kernel_casinhl): Likewise.
21605 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
21606 (cacos_test): Add more tests.
21607 (casin_test): Likewise.
21608 (casinh_test): Likewise.
21609 * sysdeps/i386/fpu/libm-test-ulps: Update.
21610 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21612 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
21614 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
21615 ONE with its value.
21617 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
21618 (__pow_mp): Replace ONE and MONE with their values.
21619 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
21620 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
21621 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
21622 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
21623 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
21624 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
21626 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
21628 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
21629 (__pow_mp): Replace ZERO and MZERO with their values.
21630 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
21631 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
21632 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
21633 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
21634 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
21635 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
21638 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
21640 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
21642 2013-03-28 Roland McGrath <roland@hack.frob.com>
21644 * include/stdlib.h [!SHARED] (__call_tls_dtors):
21645 Declare with __attribute__ ((weak)).
21646 * stdlib/exit.c (__libc_atexit) [!SHARED]:
21647 Call __call_tls_dtors only if it's not NULL.
21649 2013-03-28 Roland McGrath <roland@hack.frob.com>
21651 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
21652 didn't do it already, then set _dl_phdr and _dl_phnum based on the
21653 magic __ehdr_start linker symbol if it's defined.
21654 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
21655 them up here if it was already done.
21657 * elf/dl-support.c (_dl_phdr): Make pointer to const.
21658 (_dl_aux_init): Use const in cast when setting it.
21659 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
21660 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
21661 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
21663 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
21665 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
21666 * csu/libc-tls.c: Nor here.
21667 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
21669 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
21670 (__libc_message): Never call vsyslog.
21672 2013-03-28 Alan Modra <amodra@gmail.com>
21674 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
21676 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
21679 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21682 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
21684 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21686 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21689 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
21690 Don't add gid passed as argument.
21692 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
21694 2013-03-27 Joseph Myers <joseph@codesourcery.com>
21697 * math/k_casinh.c (__kernel_casinh): Handle arguments with
21698 imaginary part between 1.0 and 1.5 and real part less than 0.5
21700 * math/k_casinhf.c (__kernel_casinhf): Likewise.
21701 * math/k_casinhl.c (__kernel_casinhl): Likewise.
21702 * math/libm-test.inc (cacos_test): Add more tests.
21703 (casin_test): Likewise.
21704 (casinh_test): Likewise.
21705 * sysdeps/i386/fpu/libm-test-ulps: Update.
21706 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21708 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
21710 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
21713 (denorm): Likewise.
21714 (__dbl_mp): Likewise.
21715 (add_magnitudes): Likewise.
21716 (sub_magnitudes): Likewise.
21724 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
21726 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
21727 (__dubcos): Likewise.
21728 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
21729 (__ieee754_acos): Likewise.
21730 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
21731 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
21732 (__exp1): Likewise.
21733 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
21734 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
21736 (my_log2): Likewise.
21737 (checkint): Likewise.
21738 * sysdeps/ieee754/dbl-64/e_remainder.c
21739 (__ieee754_remainder): Likewise.
21740 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
21741 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
21742 (bsloww): Likewise.
21743 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
21745 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
21746 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
21747 MANTISSA_STORE_T to store computations on mantissa. Use
21748 macros for rounding and division.
21749 (denorm): Likewise.
21750 (__dbl_mp): Likewise.
21751 (add_magnitudes): Likewise.
21752 (sub_magnitudes): Likewise.
21755 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
21756 powers of two in terms of TWOPOW macro.
21757 (mp_no): Make type of mantissa as MANTISSA_T.
21758 [!RADIXI]: Define RADIXI.
21759 [!TWO52]: Define TWO52.
21760 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
21762 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21764 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
21765 llroundl symbol when building for PPC32.
21767 2013-03-24 Mark H Weaver <mhw@netris.org>
21769 * manual/arith.texi (Normalization Functions): Fix prototypes for
21770 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
21772 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21775 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
21776 high value to check if expl overflow.
21777 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
21778 to check for underflow and overflow.
21779 * math/libm-test.inc: Add exp test.
21781 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
21784 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
21787 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21789 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
21792 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
21794 * math/gen-libm-test.pl (parse_args, special_functions): Properly
21795 wrap blocks consisting of several statements.
21797 * sysdeps/generic/math-tests.h: New file.
21798 * sysdeps/i386/fpu/math-tests.h: Likewise.
21799 * math/test-snan.c: Include it.
21800 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
21802 2013-03-21 Joseph Myers <joseph@codesourcery.com>
21805 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
21806 (__ieee754_j0l): Do not improve calculations using cos of twice
21807 input for inputs above LDBL_MAX / 2.0L.
21808 (__ieee754_y0l): Likewise.
21809 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
21810 (__ieee754_j1l): Do not improve calculations using cos of twice
21811 input for inputs above LDBL_MAX / 2.0L.
21812 (__ieee754_y1l): Likewise.
21813 * math/libm-test.inc (j0_test): Add another test.
21814 (j1_test): Likewise.
21815 (y0_test): Likewise.
21816 (y1_test): Likewise.
21817 * sysdeps/i386/fpu/libm-test-ulps: Update.
21819 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
21821 * Rules ($(objpfx)bench-%.c): Include code from a C source
21824 2013-03-21 Joseph Myers <joseph@codesourcery.com>
21827 * math/k_casinh.c (__kernel_casinh): Handle arguments with
21828 imaginary part 1.0 and real part less than 0.5 specially.
21829 * math/k_casinhf.c (__kernel_casinhf): Likewise.
21830 * math/k_casinhl.c (__kernel_casinhl): Likewise.
21831 * math/libm-test.inc (cacos_test): Add more tests.
21832 (casin_test): Likewise.
21833 (casinh_test): Likewise.
21834 * sysdeps/i386/fpu/libm-test-ulps: Update.
21835 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21837 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
21839 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
21840 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
21842 2013-03-20 Joseph Myers <joseph@codesourcery.com>
21844 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
21845 * config.make.in (config-cflags-sse4): Remove variable.
21846 (config-cflags-avx): Likewise.
21847 (config-cflags-sse2avx): Likewise.
21848 (config-cflags-novzeroupper): Likewise.
21849 (config-asflags-i686): Likewise.
21850 (have-mfma4): Likewise.
21851 (have-as-vis3): Likewise.
21853 * configure.in (MIG): Do not AC_SUBST.
21854 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
21855 (libc_cv_cc_sse4): Do not AC_SUBST.
21856 (libc_cv_cc_avx): Likewise.
21857 (libc_cv_cc_sse2avx): Likewise.
21858 (libc_cv_cc_novzeroupper): Likewise.
21859 (libc_cv_cc_fma4): Likewise.
21860 (libc_cv_as_i686): Likewise.
21861 (libc_cv_sparc_as_vis3): Likewise.
21862 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
21864 (config-asflags-i686): Likewise.
21865 (config-cflags-avx): Likewise.
21866 (config-cflags-sse2avx): Likewise.
21867 (have-mfma4): Likewise.
21868 (config-cflags-novzeroupper): Likewise.
21869 * sysdeps/mach/configure.in (MIG): Likewise.
21870 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
21871 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
21873 (config-cflags-avx): Likewise.
21874 (config-cflags-sse2avx): Likewise.
21875 (have-mfma4): Likewise.
21876 (config-cflags-novzeroupper): Likewise.
21877 * configure: Regenerated.
21878 * sysdeps/i386/configure: Likewise.
21879 * sysdeps/mach/configure: Likewise.
21880 * sysdeps/sparc/configure: Likewise.
21881 * sysdeps/x86_64/configure: Likewise.
21883 2013-03-20 Roland McGrath <roland@hack.frob.com>
21886 * locale/programs/localedef.c (options): Put N_ translation marker
21887 on argument names, not just descriptions.
21889 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21891 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
21893 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
21896 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
21898 2013-03-19 Roland McGrath <roland@hack.frob.com>
21900 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
21901 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
21902 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
21903 [!BEFORE_ABORT] (before_abort): New function.
21904 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
21905 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
21906 (writev_for_fatal): New function.
21907 (WRITEV_FOR_FATAL): New macro; call that.
21908 (backtrace_and_maps): New function.
21909 (BEFORE_ABORT): New macro; call that.
21910 (struct str_list): Type removed.
21911 (__libc_message, __libc_fatal): Functions removed.
21912 Include <sysdeps/posix/libc_fatal.c> instead.
21914 2013-03-19 Joseph Myers <joseph@codesourcery.com>
21916 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
21918 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
21921 2013-03-19 Andreas Schwab <schwab@suse.de>
21923 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
21924 * sysdeps/gnu/configure: Regenerate.
21926 * configure.in: Substitute libc_cv_rtlddir.
21927 * configure: Regenerate.
21928 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
21929 * Makeconfig (rtlddir, inst_rtlddir): New variables.
21930 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
21931 * elf/Makefile (install-others, CFLAGS-interp.c)
21932 (ldso_install, common-ldd-rewrite): Likewise.
21933 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
21934 $(inst_slibdir)/$(rtld-installed-name).
21935 * scripts/rellns-sh: Add -p option.
21936 * Makerules (make-shlib-link): Use rellns-sh to get relative name
21939 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
21941 * manual/nptl.texi: Renamed to ...
21942 * manual/threads.texi: ... this.
21943 * manual/Makefile (chapters): Update.
21945 2013-03-18 Roland McGrath <roland@hack.frob.com>
21948 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
21949 on argument names, not just descriptions.
21950 * malloc/memusagestat.c (options): Likewise.
21951 * nss/getent.c (options): Likewise.
21953 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
21956 * iconv/iconv_prog.c (options): Put N_ translation marker
21957 on argument names, not just descriptions.
21958 * iconv/iconvconfig.c (options): Likewise.
21960 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
21962 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
21963 implementation which is faster on all x86_64 architectures.
21964 Tested on AMD, Intel Nehalem, SNB, IVB.
21965 * sysdeps/x86_64/strnlen.S: Likewise.
21967 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
21968 Remove all multiarch strlen and strnlen versions.
21969 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
21970 Remove strlen and strnlen related parts.
21972 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
21973 Inline strlen part.
21974 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
21976 * sysdeps/x86_64/multiarch/strlen.S: Remove.
21977 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
21978 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
21979 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
21980 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
21981 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
21983 2013-03-17 Carlos O'Donell <carlos@redhat.com>
21985 * manual/memory.texi (Malloc Tunable Parameters):
21986 Sort parameters alphabetically. Add comments for missing entries.
21988 2013-03-17 David S. Miller <davem@davemloft.net>
21990 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21992 2013-03-16 Joseph Myers <joseph@codesourcery.com>
21995 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
21996 for arguments at most half maximum finite value.
21997 * math/libm-test.inc (j0_test): Add more tests.
21998 (j1_test): Likewise.
21999 (y0_test): Likewise.
22000 (y1_test): Likewise.
22001 * sysdeps/i386/fpu/libm-test-ulps: Update.
22002 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22005 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
22006 1 / x and functions P and Q for arguments above 0x1p256L.
22007 (__ieee754_y0l): Likewise.
22008 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
22009 (__ieee754_y1l): Likewise.
22010 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
22011 (j1_test): Likewise.
22012 (y0_test): Likewise.
22013 (y1_test): Likewise.
22015 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
22017 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
22020 2013-03-15 Roland McGrath <roland@hack.frob.com>
22022 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
22023 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
22024 zero since it's initialized to EXEC_PAGESIZE.
22026 * sysdeps/unix/sysv/linux/ldsodefs.h
22027 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
22028 * sysdeps/generic/ldsodefs.h: ... here.
22030 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
22032 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
22034 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
22036 * math/test-snan.c: Renamed from
22037 sysdeps/powerpc/fpu/test-powerpc-snan.c.
22038 * math/Makefile (tests): Add test-snan.
22039 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
22042 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
22043 SUFFIX. Initialize qNaN_var with __builtin_nan family of
22045 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
22046 __builtin_nan family of functions.
22047 * math/libm-test.inc (initialize): Initialize qnan_value with
22048 __builtin_nan family of functions.
22049 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
22051 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
22053 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
22054 storage class. Initialize qNaN_var and sNaN_var with
22055 __builtin_nan and __builtin_nans families of functions,
22058 * math/libm-test.inc (acosh_test): Also test with qNaN input.
22059 (sqrt_test): Remove duplicate test with qNaN input.
22060 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
22061 (round_test, signbit_test, significand_test): Note missing +/-Inf
22062 as well as qNaN tests.
22064 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
22065 qNaN_var. Fix a few strings, too.
22066 * math/libm-test.inc (nan_value): Rename to qnan_value.
22067 * math/gen-libm-test.pl (%beautify): Adjust to that.
22068 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
22069 * math/test-misc.c (main): Likewise.
22070 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
22071 to __qnan_bytes, and __qnan_union, respectively.
22072 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
22074 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
22075 and lqnanval, respectively.
22076 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
22077 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
22078 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
22079 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
22081 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
22082 * math/test-misc.c (main) [__x86_64__]: Enable test for long
22085 * math/test-misc.c (main): Fix copy'n'pastos.
22086 * misc/tst-efgcvt.c (special): Likewise.
22088 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
22089 Remove declarations.
22091 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
22093 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
22094 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
22095 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
22096 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
22098 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22100 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
22101 macro to return vdso values correctly in IFUNC implementations.
22102 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
22103 Optimization by using IFUNC.
22105 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
22106 Richard Henderson <rth@redhat.com>
22107 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22109 * Makefile.in (bench): New target.
22110 * NEWS: Mention the benchmark framework.
22111 * Rules (bench): Likewise.
22112 (binaries-bench): Generate binaries for functions to
22114 * benchtests/Makefile: New makefile for benchmark tests.
22115 * benchtests/bench-skeleton.c: New skeleton file for benchmark
22117 * benchtests/exp-inputs: New input file for EXP function.
22118 * benchtests/pow-inputs: New input file for POW function.
22119 * scripts/bench.pl: New script to generate source files for
22120 benchmark programs.
22122 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
22124 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
22125 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
22126 computations on mantissa. Use macros for rounding and
22128 (denorm): Likewise.
22129 (__dbl_mp): Likewise.
22130 (add_magnitudes): Likewise.
22131 (sub_magnitudes): Likewise.
22134 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
22135 powers of two in terms of TWOPOW macro.
22136 (mp_no): Make type of mantissa as MANTISSA_T.
22137 [!RADIXI]: Define RADIXI.
22138 [!TWO52]: Define TWO52.
22139 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
22141 * manual/nptl.texi (cindex): Modify threads to pthreads.
22143 2013-03-15 Joseph Myers <joseph@codesourcery.com>
22145 * sysdeps/x86_64/preconfigure: Regenerated.
22147 2013-03-14 Joseph Myers <joseph@codesourcery.com>
22150 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
22152 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
22153 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
22155 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
22156 * math/libm-test.inc (j0_test): Do not allow one spurious
22157 underflow exception.
22158 (y1_test): Likewise.
22160 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
22162 * manual/Makefile (chapters): Add nptl.
22163 * manual/debug.texi (Debugging Support): Add link to Threads
22165 * manual/nptl.texi: New file.
22167 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
22169 2013-03-14 Petr Baudis <pasky@ucw.cz>
22171 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
22172 for non-NULL pointer before the memory validity test. Pointed
22173 out by Holger Brunck <holger.brunck@keymile.com>.
22175 2013-03-13 Andreas Schwab <schwab@suse.de>
22177 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
22180 2013-03-13 Joseph Myers <joseph@codesourcery.com>
22182 * timezone/zic.c: Update from tzcode 2013b.
22184 2013-03-12 Carlos O'Donell <carlos@redhat.com>
22186 * manual/install.texi (Configuring and compiling):
22187 Mention i686 and i586.
22188 * INSTALL: Regenerate.
22190 2013-03-12 Roland McGrath <roland@hack.frob.com>
22192 * sysdeps/init_array/elf-init.c: New file.
22194 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
22195 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
22197 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
22198 __gmon_start__ as global, but as static with a .preinit_array pointer.
22199 * sysdeps/init_array/gmon-start.c: New file. Use that.
22200 * sysdeps/init_array/crti.S: New file, empty except for comments.
22201 * sysdeps/init_array/crtn.S: Likewise.
22203 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
22205 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
22207 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22208 Remove Prefer_SSE_for_memop.
22209 * sysdeps/x86_64/multiarch/init-arch.h: Remove
22210 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
22211 HAS_PREFER_SSE_FOR_MEMOP.
22212 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
22214 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
22215 Remove bzero, memset ifunc support.
22216 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
22217 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
22218 * sysdeps/x86_64/multiarch/memset.S: Likewise.
22219 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
22221 2013-03-11 Andreas Schwab <schwab@suse.de>
22224 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
22226 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
22227 (GLIBC_2.16): Remove pthread_atfork.
22229 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
22231 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
22232 (ptestcases.h): Likewise.
22234 2013-03-08 Roland McGrath <roland@hack.frob.com>
22236 * Makeconfig ($(common-objpfx)config.status): Depend on
22237 sysdeps/*/preconfigure{,.in} too.
22239 2013-03-08 Joseph Myers <joseph@codesourcery.com>
22241 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
22242 (__free_hook): Use void * instead of __malloc_ptr_t.
22243 (__malloc_hook): Likewise.
22244 (__realloc_hook): Likewise.
22245 (__memalign_hook): Likewise.
22246 (__after_morecore_hook): Likewise.
22247 * malloc/arena.c (save_malloc_hook): Likewise.
22248 (save_free_hook): Likewise.
22249 * malloc/hooks.c (malloc_hook_ini): Likewise.
22250 (realloc_hook_ini): Likewise.
22251 (memalign_hook_ini): Likewise.
22252 * malloc/malloc.c (malloc_hook_ini): Likewise.
22253 (realloc_hook_ini): Likewise.
22254 (memalign_hook_ini): Likewise.
22255 (__free_hook): Likewise.
22256 (__malloc_hook): Likewise.
22257 (__realloc_hook): Likewise.
22258 (__memalign_hook): Likewise.
22259 (__libc_malloc): Likewise.
22260 (__libc_free): Likewise.
22261 (__libc_realloc): Likewise.
22262 (__libc_memalign): Likewise.
22263 (__libc_valloc): Likewise.
22264 (__libc_pvalloc): Likewise.
22265 (__libc_calloc): Likewise.
22266 (__posix_memalign): Likewise.
22267 * malloc/morecore.c (__sbrk): Likewise.
22268 (__default_morecore): Likewise.
22270 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
22272 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
22273 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
22274 __malloc_ptrdiff_t.
22276 * malloc/malloc.h (__malloc_size_t): Remove macro.
22277 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
22279 (old_memalign_hook): Likewise.
22280 (old_realloc_hook): Likewise.
22281 (struct hdr): Likewise.
22283 (mallochook): Likewise.
22284 (memalignhook): Likewise.
22285 (reallochook): Likewise.
22286 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
22287 (tr_old_realloc_hook): Likewise.
22288 (tr_old_memalign_hook): Likewise.
22289 (tr_mallochook): Likewise.
22290 (tr_reallochook): Likewise.
22291 (tr_memalignhook): Likewise.
22293 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22295 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
22296 default_ldbl_pack and using as default implementation.
22297 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
22299 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
22300 redundant definition.
22301 (ldbl_insert_mantissa): Likewise.
22302 (ldbl_canonicalize): Likewise.
22303 (ldbl_nearbyint): Likewise.
22304 (ldbl_pack): Rename to ldbl_pack_ppc.
22305 (ldbl_unpack): Rename to ldbl_unpack_ppc.
22306 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
22307 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
22309 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
22311 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
22312 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
22313 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
22314 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
22315 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
22316 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
22317 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
22318 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
22320 2013-03-07 Andreas Jaeger <aj@suse.de>
22322 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22325 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
22327 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
22328 Include mpa.h and declare __MPEXP.
22329 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
22330 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
22331 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
22332 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
22333 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
22334 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
22335 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
22337 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
22338 (__slowpow): Use long double EXPL and LOGL functions to
22340 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
22341 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
22342 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
22343 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
22344 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
22345 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
22347 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
22348 intermediate variable to calculate exponent.
22350 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
22354 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
22355 [!NO__SQR]: Define __sqr.
22356 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
22357 and NO__SQR. Remove all code except __mul and __sqr. Include
22358 sysdeps/ieee754/dbl-64/mpa.c.
22359 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
22362 * posix/Makefile (tests): Add tst-pathconf.
22363 * posix/tst-pathconf.c: New test case.
22364 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
22366 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
22368 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
22370 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
22372 2013-03-06 Andreas Jaeger <aj@suse.de>
22374 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
22375 definition via __MAP_ANONYMOUS.
22377 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
22378 it's not part of Linux headers.
22380 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
22381 (MAP_HUGE_MASK): Define.
22383 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
22385 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
22386 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
22388 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
22389 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
22391 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
22392 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
22394 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
22396 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
22397 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
22398 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
22399 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
22400 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
22401 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
22403 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
22406 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
22407 Handle f2fs and efivarfs.
22409 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
22412 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
22413 (EFIVARFS_MAGIC): Add.
22414 (F2FS_LINK_MAX): Add.
22416 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
22418 * stdio-common/vfprintf.c: Replace __builtin_expect with
22421 2013-03-06 Joseph Myers <joseph@codesourcery.com>
22424 * sysdeps/generic/bp-sym.h: Remove file.
22425 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
22426 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
22427 <bp-sym.h> and <bp-asm.h>.
22428 (__longjmp): Don't use BP_SYM.
22429 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
22431 (memcpy): Don't use BP_SYM.
22432 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
22433 <bp-sym.h> and <bp-asm.h>.
22434 (memcpy): Don't use BP_SYM.
22435 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
22437 (memcpy): Don't use BP_SYM.
22438 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
22440 (memset): Don't use BP_SYM.
22441 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
22442 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
22443 (__bzero): Don't use BP_SYM.
22444 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
22445 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
22446 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
22447 <bp-sym.h> and <bp-asm.h>.
22448 (memcmp): Don't use BP_SYM. Remove comment about bounded
22450 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
22451 <bp-sym.h> and <bp-asm.h>.
22452 (memcpy): Don't use BP_SYM.
22453 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
22454 <bp-sym.h> and <bp-asm.h>.
22455 (memset): Don't use BP_SYM.
22456 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
22457 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
22458 (__bzero): Don't use BP_SYM.
22459 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
22460 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
22461 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
22462 <bp-sym.h> and <bp-asm.h>.
22463 (strncmp): Don't use BP_SYM. Remove comment about bounded
22465 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
22466 <bp-sym.h> and <bp-asm.h>.
22467 (memcpy): Don't use BP_SYM.
22468 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
22469 <bp-sym.h> and <bp-asm.h>.
22470 (memset): Don't use BP_SYM.
22471 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
22472 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
22473 (__bzero): Don't use BP_SYM.
22474 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
22475 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
22476 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
22477 <bp-sym.h> and <bp-asm.h>.
22478 (__memchr): Don't use BP_SYM.
22479 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
22480 <bp-sym.h> and <bp-asm.h>.
22481 (memcmp): Don't use BP_SYM. Remove comment about bounded
22483 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
22484 <bp-sym.h> and <bp-asm.h>.
22485 (memcpy): Don't use BP_SYM.
22486 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
22487 <bp-sym.h> and <bp-asm.h>.
22488 (__mempcpy): Don't use BP_SYM.
22489 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
22490 <bp-sym.h> and <bp-asm.h>.
22491 (__memrchr): Don't use BP_SYM.
22492 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
22493 <bp-sym.h> and <bp-asm.h>.
22494 (memset): Don't use BP_SYM.
22495 (__bzero): Likewise.
22496 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
22497 <bp-sym.h> and <bp-asm.h>.
22498 (__rawmemchr): Don't use BP_SYM.
22499 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
22500 <bp-sym.h> and <bp-asm.h>.
22501 (__STRCMP): Don't use BP_SYM.
22502 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
22503 <bp-sym.h> and <bp-asm.h>.
22504 (strchr): Don't use BP_SYM.
22505 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
22506 <bp-sym.h> and <bp-asm.h>.
22507 (__strchrnul): Don't use BP_SYM.
22508 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
22509 <bp-sym.h> and <bp-asm.h>.
22510 (strlen): Don't use BP_SYM.
22511 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
22512 <bp-sym.h> and <bp-asm.h>.
22513 (strncmp): Don't use BP_SYM. Remove comment about bounded
22515 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
22516 <bp-sym.h> and <bp-asm.h>.
22517 (__strnlen): Don't use BP_SYM.
22518 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
22519 <bp-sym.h> and <bp-asm.h>.
22520 (__GI__setjmp): Don't use BP_SYM.
22521 (_setjmp): Likewise.
22522 (__sigsetjmp): Likewise.
22523 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
22524 (L(start_addresses)): Don't use BP_SYM.
22525 (_start): Likewise.
22526 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
22528 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
22529 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
22530 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
22531 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
22532 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
22534 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
22535 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
22536 about bounded pointers.
22537 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
22538 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
22539 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
22541 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
22542 about bounded pointers. Remove GKM FIXME comments.
22543 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
22544 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
22546 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
22547 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
22548 Remove GKM FIXME comments.
22549 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
22550 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
22551 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
22553 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
22554 about bounded pointers. Remove GKM FIXME comment.
22555 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
22557 (strncmp): Don't use BP_SYM. Remove comment about bounded
22559 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
22560 <bp-sym.h> and <bp-asm.h>.
22561 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
22562 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
22563 <bp-sym.h> and <bp-asm.h>.
22564 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
22567 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
22569 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
22572 2013-03-05 David S. Miller <davem@davemloft.net>
22574 * po/es.po: Update from translation team.
22576 2013-03-05 Andreas Jaeger <aj@suse.de>
22578 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
22579 <bits/mman-linux.h>.
22580 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
22582 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
22583 <bits/mman-linux.h> to end of file.
22584 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
22586 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
22587 <bits/mman-linux.h> to end of file.
22588 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
22590 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
22591 <bits/mman-linux.h> to end of file.
22593 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
22594 (MCL_CURRENT, MCL_FUTURE): Define here.
22596 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22599 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
22601 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
22603 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22605 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
22606 fourth parameter needed for rt_sigprocmask syscall.
22607 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
22608 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
22609 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
22610 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
22611 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
22612 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
22614 2013-03-04 Joseph Myers <joseph@codesourcery.com>
22617 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
22618 comment about bounded pointers.
22619 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
22620 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
22622 2013-03-04 Andreas Jaeger <aj@suse.de>
22624 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
22625 common definitions.
22627 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
22628 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
22629 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
22630 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
22631 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
22632 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
22634 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22637 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
22638 __ieee754_sqrl instead of __sqrl.
22640 2013-03-01 Joseph Myers <joseph@codesourcery.com>
22642 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
22643 * sysdeps/powerpc/fpu_control.h: ... here.
22644 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
22645 * sysdeps/powerpc/bits/fenvinline.h: ... here.
22646 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
22647 * sysdeps/powerpc/bits/mathinline.h: ... here.
22649 2013-03-01 Roland McGrath <roland@hack.frob.com>
22651 * elf/dl-hwcaps.c (_dl_important_hwcaps):
22652 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
22653 to just [NEED_DL_SYSINFO_DSO].
22654 * elf/dl-support.c: Likewise.
22655 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
22656 * elf/rtld.c (dl_main): Likewise.
22657 * elf/setup-vdso.h (setup_vdso): Likewise.
22658 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
22659 * sysdeps/unix/sysv/linux/dl-sysdep.c
22660 (_dl_discover_osversion): Likewise.
22662 2013-03-01 Carlos O'Donell <carlos@redhat.com>
22664 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
22665 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
22667 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
22669 * NEWS: Mention libm performance improvements and non-x86 PI
22672 * csu/libc-start.c (__pthread_initialize_minimal): Change
22673 function arguments.
22674 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
22676 2013-02-28 Joseph Myers <joseph@codesourcery.com>
22679 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
22680 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
22681 <bp-sym.h> and <bp-asm.h>.
22682 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
22683 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
22685 (memcpy): Don't use BP_SYM.
22686 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
22688 (__mpn_add_n): Don't use BP_SYM.
22689 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
22690 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
22692 (__mpn_addmul_1): Don't use BP_SYM.
22693 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22694 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
22696 (_setjmp): Don't use BP_SYM.
22697 (__novmx_setjmp): Likewise.
22698 (__GI__setjmp): Likewise.
22699 (__vmx_setjmp): Likewise.
22700 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
22702 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
22703 (__bzero): Don't use BP_SYM.
22704 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
22705 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
22706 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
22707 <bp-sym.h> and <bp-asm.h>.
22708 (memcpy): Don't use BP_SYM.
22709 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
22710 <bp-sym.h> and <bp-asm.h>.
22711 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
22712 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
22713 <bp-sym.h> and <bp-asm.h>.
22714 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
22715 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
22717 (__mpn_lshift): Don't use BP_SYM.
22718 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22719 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
22721 (memset): Don't use BP_SYM.
22722 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
22723 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
22724 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
22726 (__mpn_mul_1): Don't use BP_SYM.
22727 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22728 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
22729 <bp-sym.h> and <bp-asm.h>.
22730 (memcmp): Don't use BP_SYM.
22731 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
22732 <bp-sym.h> and <bp-asm.h>.
22733 (memcpy): Don't use BP_SYM.
22734 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
22735 <bp-sym.h> and <bp-asm.h>.
22736 (memset): Don't use BP_SYM.
22737 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
22738 <bp-sym.h> and <bp-asm.h>.
22739 (strncmp): Don't use BP_SYM.
22740 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
22741 <bp-sym.h> and <bp-asm.h>.
22742 (memcpy): Don't use BP_SYM.
22743 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
22744 <bp-sym.h> and <bp-asm.h>.
22745 (memset): Don't use BP_SYM.
22746 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
22747 <bp-sym.h> and <bp-asm.h>.
22748 (__memchr): Don't use BP_SYM.
22749 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
22750 <bp-sym.h> and <bp-asm.h>.
22751 (memcmp): Don't use BP_SYM.
22752 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
22753 <bp-sym.h> and <bp-asm.h>.
22754 (memcpy): Don't use BP_SYM.
22755 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
22756 <bp-sym.h> and <bp-asm.h>.
22757 (__mempcpy): Don't use BP_SYM.
22758 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
22759 <bp-sym.h> and <bp-asm.h>.
22760 (__memrchr): Don't use BP_SYM.
22761 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
22762 <bp-sym.h> and <bp-asm.h>.
22763 (memset): Don't use BP_SYM.
22764 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
22765 <bp-sym.h> and <bp-asm.h>.
22766 (__rawmemchr): Don't use BP_SYM.
22767 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
22768 <bp-sym.h> and <bp-asm.h>.
22769 (__STRCMP): Don't use BP_SYM.
22770 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
22771 <bp-sym.h> and <bp-asm.h>.
22772 (strchr): Don't use BP_SYM.
22773 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
22774 <bp-sym.h> and <bp-asm.h>.
22775 (__strchrnul): Don't use BP_SYM.
22776 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
22777 <bp-sym.h> and <bp-asm.h>.
22778 (strlen): Don't use BP_SYM.
22779 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
22780 <bp-sym.h> and <bp-asm.h>.
22781 (strncmp): Don't use BP_SYM.
22782 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
22783 <bp-sym.h> and <bp-asm.h>.
22784 (__strnlen): Don't use BP_SYM.
22785 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
22787 (__mpn_rshift): Don't use BP_SYM.
22788 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22789 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
22790 <bp-sym.h> and <bp-asm.h>.
22791 (__sigsetjmp): Don't use BP_SYM.
22792 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
22793 (L(start_addresses)): Don't use BP_SYM.
22794 (_start): Likewise.
22795 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
22797 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
22798 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
22799 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
22800 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
22802 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
22803 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
22804 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
22805 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
22807 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
22809 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
22810 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
22812 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
22814 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
22815 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
22816 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
22818 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
22820 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
22822 (strncmp): Don't use BP_SYM,
22823 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
22825 (__mpn_sub_n): Don't use BP_SYM.
22826 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22827 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
22829 (__mpn_submul_1): Don't use BP_SYM.
22830 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22831 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
22832 <bp-sym.h> and <bp-asm.h>.
22833 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
22834 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
22835 <bp-sym.h> and <bp-asm.h>.
22836 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
22839 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22841 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
22842 Use ZK to minimize writes to Z.
22843 (sub_magnitudes): Simplify code a bit.
22844 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
22845 Use ZK to minimize writes to Z.
22846 (sub_magnitudes): Simplify code a bit.
22848 2013-02-27 Roland McGrath <roland@hack.frob.com>
22850 * csu/gmon-start.c: Add special exception to license text.
22852 2013-02-27 Richard Henderson <rth@redhat.com>
22854 * scripts/config.guess: Update from config.git.
22855 * scripts/config.sub: Likewise.
22857 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
22859 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
22861 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
22863 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
22865 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
22867 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
22869 2013-02-26 Roland McGrath <roland@hack.frob.com>
22871 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
22872 [$(build-shared = yes].
22874 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
22876 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
22877 (__mul): Reduce iterations for calculating mantissa.
22879 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
22881 (__mpranred): Likewise.
22884 * malloc/memusagestat.c (main): Draw graphs for heap and stack
22885 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
22887 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
22889 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
22890 Define __attribute__.
22892 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
22894 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
22896 * posix/regex_internal.h (__attribute): Remove.
22897 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
22898 (re_string_context_at): Likewise.
22899 (bitset_not): Use __attribute__ and mark function as possibly
22901 (bitset_merge): Likewise.
22902 (bitset_mask): Likewise.
22903 (re_string_char_size_at): Likewise.
22904 (re_string_wchar_at): Likewise.
22905 (re_string_elem_size_at): Likewise.
22907 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
22909 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
22913 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
22917 (denorm): Likewise.
22918 (__dbl_mp): Likewise.
22919 (add_magnitudes): Likewise.
22920 (sub_magnitudes): Likewise.
22924 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
22927 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
22930 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
22933 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
22934 up changes with default code.
22935 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
22938 2013-02-24 Allan McRae <allan@archlinux.org>
22940 * manual/socket.texi (The Internet Namespace): Order menu items
22941 to match that in the file.
22943 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
22944 node listing of the info page menu.
22946 2013-02-21 Joseph Myers <joseph@codesourcery.com>
22949 * sysdeps/i386/bp-asm.h: Remove file.
22950 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
22951 (PARMS): Do not use macros from bp-asm.h.
22955 (__mpn_add_n): Do not use BP_SYM
22956 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
22958 (PARMS): Do not use macros from bp-asm.h.
22961 (__mpn_addmul_1): Do not use BP_SYM
22962 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
22964 (PARMS): Do not use macros from bp-asm.h.
22965 (SIGMSK): Likewise.
22966 (_setjmp): Likewise. Do not use BP_SYM.
22967 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
22969 (PARMS): Do not use macros from bp-asm.h.
22970 (SIGMSK): Likewise.
22971 (setjmp): Likewise. Do not use BP_SYM.
22972 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
22974 (PARMS): Do not use macros from bp-asm.h.
22975 (__frexp): Do not use BP_SYM.
22977 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
22979 (PARMS): Do not use macros from bp-asm.h.
22980 (__frexpf): Do not use BP_SYM.
22981 (frexpf): Likewise.
22982 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
22984 (PARMS): Do not use macros from bp-asm.h.
22985 (__frexpl): Do not use BP_SYM.
22986 (frexpl): Likewise.
22987 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
22989 (PARMS): Do not use macros from bp-asm.h.
22990 (__remquo): Do not use BP_SYM.
22991 (remquo): Likewise.
22992 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
22994 (PARMS): Do not use macros from bp-asm.h.
22995 (__remquof): Do not use BP_SYM.
22996 (remquof): Likewise.
22997 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
22999 (PARMS): Do not use macros from bp-asm.h.
23000 (__remquol): Do not use BP_SYM.
23001 (remquol): Likewise.
23002 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
23004 (PARMS): Do not use macros from bp-asm.h.
23007 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
23008 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
23010 (PARMS): Do not use macros from bp-asm.h.
23011 (strlen): Do not use BP_SYM.
23012 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
23014 (PARMS): Do not use macros from bp-asm.h.
23018 (__mpn_add_n): Do not use BP_SYM.
23019 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
23021 (PARMS): Do not use macros from bp-asm.h.
23024 (__mpn_addmul_1): Do not use BP_SYM.
23025 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
23028 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
23030 (PARMS): Do not use macros from bp-asm.h.
23033 (__mpn_lshift): Do not use BP_SYM.
23034 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
23036 (PARMS): Do not use macros from bp-asm.h.
23040 (memcpy): Likewise. Do not use BP_SYM.
23041 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
23042 libc_hidden_def and weak_alias.
23043 (mempcpy): Do not use BP_SYM in weak_alias.
23044 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
23046 (PARMS): Do not use macros from bp-asm.h.
23049 [!BZERO_P] (CHR): Likewise.
23050 (memset): Likewise. Do not use BP_SYM.
23051 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
23053 (PARMS): Do not use macros from bp-asm.h.
23056 (__mpn_mul_1): Do not use BP_SYM.
23057 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
23059 (PARMS): Do not use macros from bp-asm.h.
23062 (__mpn_rshift): Do not use BP_SYM.
23063 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
23065 (PARMS): Do not use macros from bp-asm.h.
23068 (strchr): Likewise. Do not use BP_SYM.
23069 (index): Do not use BP_SYM in weak_alias.
23070 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
23072 (PARMS): Do not use macros from bp-asm.h.
23075 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
23076 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
23078 (PARMS): Do not use macros from bp-asm.h.
23079 (strlen): Do not use BP_SYM.
23080 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
23082 (PARMS): Do not use macros from bp-asm.h.
23086 (__mpn_sub_n): Do not use BP_SYM.
23087 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
23089 (PARMS): Do not use macros from bp-asm.h.
23092 (__mpn_submul_1): Do not use BP_SYM.
23093 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
23095 (PARMS): Do not use macros from bp-asm.h.
23099 (__mpn_add_n): Do not use BP_SYM.
23100 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
23103 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
23105 (PARMS): Do not use macros from bp-asm.h.
23108 (memcmp): Do not use BP_SYM.
23109 (bcmp): Do not use BP_SYM in weak_alias.
23110 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
23112 (PARMS): Do not use macros from bp-asm.h.
23116 (memcpy): Likewise. Do not use BP_SYM.
23117 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
23119 (PARMS): Do not use macros from bp-asm.h.
23123 (memmove): Likewise. Do not use BP_SYM.
23124 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
23126 (PARMS): Do not use macros from bp-asm.h.
23130 (__mempcpy): Likewise. Do not use BP_SYM.
23131 (mempcpy): Do not use BP_SYM in weak_alias.
23132 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
23134 (PARMS): Do not use macros from bp-asm.h.
23137 [!BZERO_P] (CHR): Likewise.
23138 (memset): Likewise. Do not use BP_SYM.
23139 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
23141 (PARMS): Do not use macros from bp-asm.h.
23143 (strcmp): Do not use BP_SYM.
23144 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
23146 (PARMS): Do not use macros from bp-asm.h.
23149 [USE_AS_STRTOK_R] (SAVE): Likewise.
23150 (FUNCTION): Likewise. Do not use BP_SYM.
23151 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
23153 (strtok_r): Likewise.
23154 (__GI___strtok_r): Likewise.
23155 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
23156 (PARMS): Do not use macros from bp-asm.h.
23159 (__mpn_lshift): Do not use BP_SYM.
23160 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
23161 (PARMS): Do not use macros from bp-asm.h.
23164 (__memchr): Do not use BP_SYM.
23165 (memchr): Do not use BP_SYM in weak_alias.
23166 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
23167 (PARMS): Do not use macros from bp-asm.h.
23170 (memcmp): Do not use BP_SYM.
23171 (bcmp): Do not use BP_SYM in weak_alias.
23172 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
23173 (PARMS): Do not use macros from bp-asm.h.
23176 (__mpn_mul_1): Do not use BP_SYM.
23177 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
23179 (PARMS): Do not use macros from bp-asm.h.
23182 (__rawmemchr): Do not use BP_SYM.
23183 (rawmemchr): Do not use BP_SYM in weak_alias.
23184 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
23185 (PARMS): Do not use macros from bp-asm.h.
23188 (__mpn_rshift): Do not use BP_SYM.
23189 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
23190 (PARMS): Do not use macros from bp-asm.h.
23191 (SIGMSK): Likewise.
23192 (__sigsetjmp): Likewise. Do not use BP_SYM.
23193 * sysdeps/i386/start.S: Do not include "bp-sym.h".
23194 (_start): Do not use BP_SYM.
23195 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
23196 (PARMS): Do not use macros from bp-asm.h.
23199 (__stpcpy): Likewise. Do not use BP_SYM.
23200 (stpcpy): Do not use BP_SYM in weak_alias.
23201 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
23203 (PARMS): Do not use macros from bp-asm.h.
23207 (__stpncpy): Likewise. Do not use BP_SYM.
23208 (stpncpy): Do not use BP_SYM in weak_alias.
23209 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
23210 (PARMS): Do not use macros from bp-asm.h.
23213 (strchr): Likewise. Do not use BP_SYM.
23214 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
23216 (PARMS): Do not use macros from bp-asm.h.
23219 (__strchrnul): Likewise. Do not use BP_SYM.
23220 (strchrnul): Do not use BP_SYM in weak_alias.
23221 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
23223 (PARMS): Do not use macros from bp-asm.h.
23225 (strcspn): Do not use BP_SYM.
23226 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
23228 (PARMS): Do not use macros from bp-asm.h.
23231 (strpbrk): Likewise. Do not use BP_SYM.
23232 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
23234 (PARMS): Do not use macros from bp-asm.h.
23237 (strrchr): Likewise. Do not use BP_SYM.
23238 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
23239 (PARMS): Do not use macros from bp-asm.h.
23241 (strspn): Do not use BP_SYM.
23242 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
23243 (PARMS): Do not use macros from bp-asm.h.
23247 (FUNCTION): Likewise. Do not use BP_SYM.
23248 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
23250 (strtok_r): Likewise.
23251 (__GI___strtok_r): Likewise.
23252 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
23253 (PARMS): Do not use macros from bp-asm.h.
23257 (__mpn_sub_n): Do not use BP_SYM.
23258 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
23260 (PARMS): Do not use macros from bp-asm.h.
23263 (__mpn_submul_1): Do not use BP_SYM.
23264 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
23266 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
23268 (PARMS): Do not use macros from bp-asm.h.
23273 (__clone): Do not use BP_SYM.
23274 (clone): Do not use BP_SYM in weak_alias.
23275 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
23277 (PARMS): Do not use macros from bp-asm.h.
23279 (__mmap64): Do not use BP_SYM.
23280 (mmap64): Do not use BP_SYM in weak_alias.
23281 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
23282 <bp-sym.h> and <bp-asm.h>.
23283 (PARMS): Do not use macros from bp-asm.h.
23284 (__posix_fadvise64_l64): Do not use BP_SYM.
23285 * sysdeps/unix/sysv/linux/i386/semtimedop.S
23286 (PARMS): Do not use macros from bp-asm.h.
23288 (semtimedop): Do not use BP_SYM.
23289 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
23292 2013-02-21 Allan McRae <allan@archlinux.org>
23294 * manual/message.texi (Charset conversion in gettext):
23295 Move @end statement to beginning of line.
23297 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
23299 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
23301 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
23304 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
23305 (denorm): Likewise.
23306 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
23307 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
23309 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23311 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
23312 tail-call to the resolved function if pltexit isn't needed.
23314 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
23316 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
23317 or Y being zero as being unlikely.
23318 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
23321 2013-02-20 Carlos O'Donell <carlos@redhat.com>
23323 * manual/nss.texi (System Databases and Name Service Switch):
23324 Remove frobnicate @pxref.
23326 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
23328 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
23329 __attribute__ ((unused)) to __attribute__ ((__unused__)).
23331 2013-02-20 Petr Machata <pmachata@redhat.com>
23333 * elf/elf.h (R_ARM_TARGET1): New macro.
23334 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
23335 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
23336 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
23337 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
23338 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
23339 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
23340 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
23341 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
23342 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
23343 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
23344 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
23345 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
23346 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
23347 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
23348 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
23349 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
23350 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
23351 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
23352 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
23353 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
23354 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
23355 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
23356 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
23357 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
23358 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
23359 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
23360 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
23361 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
23362 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
23363 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
23364 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
23365 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
23366 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
23367 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
23368 (R_ARM_THM_GOT_BREL12): Likewise.
23369 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
23370 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
23371 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
23372 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
23373 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
23374 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
23375 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
23376 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
23377 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
23379 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
23381 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
23382 __attribute_used__ to __attribute__ ((unused)).
23384 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
23386 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
23388 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
23389 comment formatting.
23390 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
23392 2013-02-19 Joseph Myers <joseph@codesourcery.com>
23395 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
23397 (ENTER): Remove both macro definitions.
23399 (CHECK_BOUNDS_LOW): Likewise.
23400 (CHECK_BOUNDS_HIGH): Likewise.
23401 (CHECK_BOUNDS_BOTH): Likewise.
23402 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
23403 (RETURN_BOUNDED_POINTER): Likewise.
23404 (RETURN_NULL_BOUNDED_POINTER): Likewise.
23405 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
23406 (POP_ERRNO_LOCATION_RETURN): Likewise.
23407 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
23408 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23409 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
23411 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23412 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
23413 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
23414 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
23415 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
23416 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
23417 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
23418 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
23419 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
23420 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
23421 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
23422 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
23423 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23424 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
23426 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23427 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
23429 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23430 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
23431 * sysdeps/i386/i586/memset.S (memset): Likewise.
23432 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
23433 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23434 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
23436 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23437 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
23438 Change uses of L(2) to L(out).
23439 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
23440 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
23441 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
23442 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23443 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
23445 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23446 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
23448 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23449 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
23450 (RETURN): Do not use macro LEAVE.
23451 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
23452 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
23453 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
23454 * sysdeps/i386/i686/memset.S (memset): Likewise.
23455 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
23456 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
23457 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
23458 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
23460 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
23461 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
23462 L(1_2) and L(1_3) into L(1).
23463 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
23464 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
23465 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23466 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
23467 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
23468 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
23469 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
23470 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23471 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
23473 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
23474 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23475 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
23476 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
23477 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
23478 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23479 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
23480 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
23481 * sysdeps/i386/strcspn.S (strcspn): Likewise.
23482 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
23483 * sysdeps/i386/strrchr.S (strrchr): Likewise.
23484 * sysdeps/i386/strspn.S (strspn): Likewise.
23485 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
23487 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
23488 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
23489 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
23490 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
23491 L(1_3) into L(1_1).
23492 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
23493 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23494 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
23496 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23498 2013-02-19 Jakub Jelinek <jakub@redhat.com>
23500 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
23503 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
23505 * math/atest-exp.c (exp_mpn): Remove ROUND.
23506 * math/atest-exp2.c (exp_mpn): Likewise.
23507 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
23509 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
23510 * stdlib/tst-tls-atexit-lib.c: Likewise.
23511 * stdlib/tst-tls-atexit.c: Likewise.
23513 2013-02-18 Mike Frysinger <vapier@gentoo.org>
23515 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
23516 and __attribute_alloc_size__.
23518 2013-02-18 Mike Frysinger <vapier@gentoo.org>
23520 * include/programs/xmalloc.h: Change __attribute_alloc_size to
23521 __attribute_alloc_size__.
23522 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
23523 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
23525 2013-02-18 Mike Frysinger <vapier@gentoo.org>
23527 * include/programs/xmalloc.h: New file.
23528 * catgets/gencat.c: Include it.
23529 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
23530 * elf/pldd.c: Likewise.
23531 * iconv/iconv_charmap.c: Likewise.
23532 * iconv/iconvconfig.c: Likewise.
23533 * iconv/strtab.c: Likewise.
23534 * locale/programs/locale.c: Likewise.
23535 * locale/programs/localedef.h: Likewise.
23536 * locale/programs/simple-hash.c: Likewise.
23537 * nscd/nscd.h: Likewise.
23538 * nss/makedb.c: Likewise.
23539 * sysdeps/generic/ldconfig.h: Likewise.
23541 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
23543 * Versions.def: Add GLIBC_2.18.
23544 * include/link.h (struct link_map): New member l_tls_dtor_count.
23545 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
23546 (__call_tls_dtors): Likewise.
23547 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
23548 __cxa_thread_atexit_impl.
23549 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23551 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
23553 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
23555 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
23557 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
23558 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
23560 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
23562 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
23563 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
23565 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
23566 (tests): Add test case tst-tls-atexit.
23567 (modules-names): Add shared library for tst-tls-atexit.
23568 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
23569 (GLIBC_PRIVATE): Add __call_tls_dtors.
23570 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
23572 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
23573 * stdlib/tst-tls-atexit.c: New test case.
23574 * stdlib/tst-tls-atexit-lib.c: New test case.
23576 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
23578 * elf/Versions (ld): Add _dl_find_dso_for_object.
23579 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
23580 * elf/dl-open.c (_dl_find_dso_for_object): New function.
23581 (dl_open_worker): Use _dl_find_dso_for_object.
23582 * elf/dl-sym.c (do_sym): Likewise.
23583 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
23585 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23587 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
23588 Syntactic changes only.
23589 (_dl_runtime_profile): Do a tail-call to the resolved function.
23591 2013-02-17 Joseph Myers <joseph@codesourcery.com>
23594 * sysdeps/x86_64/bp-asm.h: Remove file.
23595 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
23596 <bp-sym.h> and <bp-asm.h>.
23597 (__clone): Do not use BP_SYM.
23598 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
23599 <bp-sym.h> and <bp-asm.h>.
23600 * sysdeps/unix/x86_64/sysdep.S: Likewise.
23601 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
23603 (_setjmp): Do not use BP_SYM.
23604 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
23606 (setjmp): Do not use BP_SYM.
23607 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
23609 (mempcpy): Do not use BP_SYM in weak_alias.
23610 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
23612 (strchr): Do not use BP_SYM.
23613 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
23615 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
23616 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
23617 (_start): Do not use BP_SYM.
23618 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
23620 (strcat): Do not use BP_SYM.
23621 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
23623 (STRCMP): Do not use BP_SYM.
23624 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
23626 (STRCPY): Do not use BP_SYM.
23627 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
23629 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
23631 (FUNCTION): Do not use BP_SYM.
23632 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
23634 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
23636 2013-02-17 Andreas Jaeger <aj@suse.de>
23638 * time/Versions: Sort entries.
23639 * string/Versions: Likewise.
23640 * resolv/Versions: Likewise.
23641 * posix/Versions: Likewise.
23642 * iconv/Versions: Likewise.
23643 * elf/Versions: Likewise.
23644 * wcsmbs/Versions: Likewise.
23646 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
23648 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
23649 loop termination condition.
23651 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
23652 variable to calculate EZ.
23655 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
23656 the lower precision input.
23658 2013-02-15 Joseph Myers <joseph@codesourcery.com>
23661 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
23662 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
23663 (run-via-rtld-prefix): Do not handle %-bp tests.
23664 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
23665 (all-object-suffixes): Remove .ob.
23666 (bppfx): Remove variable.
23667 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
23668 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
23669 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
23670 [$(build-bounded) = yes] (libtype.ob): Likewise.
23671 * Makerules (elide-routines.ob): Remove variable.
23672 (do-tests-clean): Do not handle *-bp.out.
23673 (common-mostlyclean): Do not handle *-bp and *-bp.out.
23674 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
23675 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
23676 (tests): Do not include $(tests-bp.out).
23677 (xtests): Do not include $(xtests-bp.out).
23678 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
23679 [$(build-bounded) = yes] ($(addprefix
23680 $(objpfx),$(binaries-bounded))): Remove rule.
23681 ($(objpfx)%-bp.out): Remove rule.
23682 * config.make.in (build-bounded): Remove variable.
23683 * crypt/Makefile [$(build-bounded) = yes]
23684 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
23685 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
23686 append to variable.
23687 [$(build-bounded) = yes] (install-lib): Likewise.
23688 [$(build-bounded) = yes] (generated): Likewise.
23689 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
23691 * intl/Makefile [$(build-bounded) = yes]
23692 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
23693 * math/Makefile [$(build-bounded) = yes]
23694 ($(tests:%=$(objpfx)%-bp): Likewise.
23695 * misc/Makefile [$(build-bounded) = yes]
23696 ($(objpfx)tst-tsearch-bp): Likewise.
23697 * nptl/Makeconfig (bounded-thread-library): Remove variable.
23698 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
23700 * string/Makefile (o-objects.ob): Remove variable.
23701 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
23702 (CFLAGS-.ob): Remove variable.
23703 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
23704 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
23705 both definitions of variable.
23706 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
23707 (ASFLAGS-.ob): Remove variable.
23709 2013-02-14 Joseph Myers <joseph@codesourcery.com>
23712 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
23713 Remove __BOUNDED_POINTERS__ from condition.
23714 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
23715 * string/bits/string2.h [!__NO_STRING_INLINES &&
23716 !__BOUNDED_POINTERS__]: Likewise.
23717 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
23719 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
23720 Remove conditional code.
23721 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
23722 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
23723 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
23727 * csu/libc-start.c: Do not include <bp-sym.h>.
23728 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
23729 * elf/dl-open.c: Do not include <bp-sym.h>.
23730 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
23731 * math/fegetenv.c: Do not include <bp-sym.h>.
23732 (fegetenv): Do not use BP_SYM in versioned symbols.
23733 * nptl/sysdeps/pthread/bits/libc-lockP.h
23734 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
23736 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23737 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
23738 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23739 (__pthread_mutex_destroy): Likewise.
23740 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23741 (__pthread_mutex_lock): Likewise.
23742 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23743 (__pthread_mutex_trylock): Likewise.
23744 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23745 (__pthread_mutex_unlock): Likewise.
23746 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23747 (__pthread_mutexattr_init): Likewise.
23748 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23749 (__pthread_mutexattr_destroy): Likewise.
23750 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23751 (__pthread_mutexattr_settype): Likewise.
23752 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23753 (__pthread_rwlock_init): Likewise.
23754 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23755 (__pthread_rwlock_destroy): Likewise.
23756 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23757 (__pthread_rwlock_rdlock): Likewise.
23758 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23759 (__pthread_rwlock_tryrdlock): Likewise.
23760 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23761 (__pthread_rwlock_wrlock): Likewise.
23762 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23763 (__pthread_rwlock_trywrlock): Likewise.
23764 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23765 (__pthread_rwlock_unlock): Likewise.
23766 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23767 (__pthread_key_create): Likewise.
23768 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23769 (__pthread_setspecific): Likewise.
23770 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23771 (__pthread_getspecific): Likewise.
23772 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
23774 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23775 (_pthread_cleanup_push_defer): Likewise.
23776 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23777 (_pthread_cleanup_pop_restore): Likewise.
23778 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23779 (pthread_setcancelstate): Likewise.
23780 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
23782 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
23783 (memchr): Do not use BP_SYM in weak_alias.
23784 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
23785 (fegetenv): Do not use BP_SYM in versioned symbols.
23786 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
23787 (fesetenv): Do not use BP_SYM in versioned symbols.
23788 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
23789 (feupdateenv): Do not use BP_SYM in versioned symbols.
23790 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
23791 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
23792 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
23793 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
23794 (open64): Do not use BP_SYM in weak_alias.
23795 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
23796 (fegetenv): Do not use BP_SYM in versioned symbols.
23797 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
23798 (fesetenv): Do not use BP_SYM in versioned symbols.
23799 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
23800 (feupdateenv): Do not use BP_SYM in versioned symbols.
23801 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
23802 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
23803 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
23804 (feraiseexcept): Do not use BP_SYM in versioned symbols.
23805 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
23806 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
23807 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
23809 (__libc_start_main): Do not use BP_SYM.
23811 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
23813 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
23814 redundant return line.
23816 (denorm): Likewise.
23817 (dbl_mp): Likewise.
23818 (sub_magnitudes): Likewise.
23824 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
23826 (denorm): Likewise.
23827 (dbl_mp): Likewise.
23828 (sub_magnitudes): Likewise.
23835 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
23837 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
23838 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
23841 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
23842 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
23843 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
23844 of __mul for squares.
23845 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
23847 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
23849 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
23850 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
23852 2013-02-13 Joseph Myers <joseph@codesourcery.com>
23855 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
23857 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
23858 prototype or function definition. Rename ubp_* variables and
23859 parameters. Remove argv definitions conditional on
23860 [__BOUNDED_POINTERS__].
23861 * debug/backtrace.c (__backtrace): Do not use __unbounded.
23862 * elf/dl-runtime.c (_dl_fixup): Likewise.
23863 * include/set-hooks.h (RUN_HOOK): Likewise.
23864 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
23866 * string/strcpy.c (strcpy): Do not use __unbounded.
23867 * sysdeps/generic/frame.h (struct layout): Likewise.
23868 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
23869 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
23870 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
23871 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
23872 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
23873 (__backtrace): Likewise.
23874 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
23876 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
23877 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
23878 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
23880 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
23881 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
23882 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
23883 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
23884 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
23885 Do not use __unbounded.
23886 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
23887 Rename __unboundedrlimits parameter to rlimits in prototype.
23888 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
23889 Do not use __unbounded.
23890 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
23891 not use __ptrvalue.
23892 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
23893 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
23894 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
23895 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
23896 __ptrvalue or __unbounded.
23897 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
23898 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
23900 (__new_msgctl): Do not use __ptrvalue.
23901 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
23903 (__libc_msgrcv): Do not use __ptrvalue.
23904 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
23905 startup_info): Do not use __unbounded.
23906 (__libc_start_main): Likewise. Rename ubp_* variables and
23907 parameters. Remove argv definitions conditional on
23908 [__BOUNDED_POINTERS__].
23909 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
23911 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
23913 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
23915 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
23917 (__new_shmctl): Do not use __ptrvalue.
23918 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
23919 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
23921 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
23922 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
23923 (__libc_sigaction): Likewise.
23924 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
23925 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
23927 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
23929 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
23931 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
23933 * string/mempcpy.c: Implement by calling memcpy.
23935 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
23937 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
23939 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
23942 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
23943 values in the mantissa.
23945 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
23946 minimize writes to Z.
23947 (sub_magnitudes): Simplify code a bit.
23949 2013-02-12 Roland McGrath <roland@hack.frob.com>
23951 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
23952 from the message. The linker prefixes all warnings with that already.
23954 2013-02-12 Andreas Schwab <schwab@suse.de>
23957 * posix/regexec.c (extend_buffers): Add parameter min_len.
23958 (check_matching): Pass minimum needed length.
23959 (clean_state_log_if_needed): Likewise.
23960 (get_subexp): Likewise.
23961 * posix/Makefile (tests): Add bug-regex34.
23962 (bug-regex34-ENV): Define.
23963 * posix/bug-regex34.c: New file.
23966 * posix/regcomp.c (parse_bracket_exp): When looking up collating
23967 elements compare against the byte sequence of it, not its name.
23968 * posix/Makefile (tests): Add bug-regex35.
23969 (bug-regex35-ENV): Define.
23970 * posix/bug-regex35.c: New file.
23972 2013-02-11 Tom de Vries <tom@codesourcery.com>
23974 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
23976 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
23977 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
23978 (CHECK_EOL): Add undef.
23980 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
23982 * bits/stdlib-bsearch.h: New file.
23983 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
23984 * stdlib/stdlib.h: Likewise.
23986 2013-02-11 Roland McGrath <roland@hack.frob.com>
23988 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
23989 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
23991 * manual/search.texi (Array Search Function): Add missing const in
23993 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
23994 declaration to use rlim_t.
23995 (Basic Scheduling Functions): Remove erroneous const from
23996 sched_getparam prototype. Remove erroneous * from
23997 sched_get_priority_max and sched_get_priority_min prototypes.
23998 (Resource Usage): Fix summary @comment on vtimes to refer to
23999 sys/vtimes.h rather than vtimes.h.
24000 Add missing *s in vtimes prototype.
24001 (Limits on Resources): Fix ulimit prototype to return long int.
24002 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
24003 prototypes to use long int rather than double.
24004 (BSD Random): Fix initstate and setstate to use char *, not void *.
24005 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
24006 prototype to make second argument 'struct aiocb64 *const[]'.
24007 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
24008 (Status of AIO Operations): Remove erroneous const in aio_return and
24009 aio_return64 prototypes.
24010 (Synchronizing I/O): Fix sync prototype to return void.
24011 * manual/startup.texi (Suboptions): Remove an erroneous const in
24012 getsubopt prototype.
24013 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
24014 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
24015 use size_t rather than int.
24016 (Scanning All Users): Likewise for getpwent_r.
24017 (Setting Groups): Add missing const to setgroups prototype.
24018 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
24019 * manual/socket.texi (Host Names): Fix gethostbyaddr and
24020 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
24021 'const void *' rather than 'const char *'.
24022 (Host Address Functions): Likewise for inet_ntop.
24023 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
24024 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
24025 ssize_t for return value.
24026 (Sending Data): Likewise for send, sendto, sendmsg.
24027 (Socket Option Functions): Add a missing const in setsockopt prototype.
24028 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
24029 use wchar_t for the argument.
24030 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
24031 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
24033 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
24034 double/float/long double for second argument.
24035 Fix return types of significand, significandf, significandl.
24036 * manual/filesys.texi (Setting Permissions): Use mode_t for second
24037 argument in fchmod prototype.
24038 (File Owner): Use uid_t and gid_t in fchown prototype.
24039 (File Times): Add const to utimes, futimes, and lutimes prototypes.
24040 (Making Special Files): Use mode_t and dev_t in mknod prototype.
24041 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
24042 use 'const struct dirent **' as argument types to CMP function pointer
24044 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
24045 (File Times): Fix summary magic @comment for struct utimbuf and utime
24046 to refer to utime.h, not time.h.
24047 * manual/string.texi (Argz Functions): Add missing const in
24048 argz_extract and argz_next prototypes.
24049 (Finding Tokens in a String): Likewise for basename.
24050 (String/Array Comparison): Fix typo in wcscasecmp prototype.
24051 (Copying and Concatenation): Fix typo in wmemmove prototype.
24052 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
24053 (Signal Stack): Remove erroneous const in sigstack prototype.
24054 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
24056 (Simple Calendar Time): Likewise for stime.
24057 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
24059 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
24060 say sys/sysctl.h instead.
24061 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
24062 and vsyslog prototypes.
24064 2013-02-11 Tom de Vries <tom@codesourcery.com>
24066 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
24069 2013-02-11 Roland McGrath <roland@hack.frob.com>
24071 * misc/sys/mman.h: Fix typo in mremap comment.
24073 2013-02-08 Roland McGrath <roland@hack.frob.com>
24075 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
24076 the '\0' terminator.
24078 2013-02-08 Joseph Myers <joseph@codesourcery.com>
24081 * debug/segfault.c: Don't include <bp-checks.h>.
24082 * sysdeps/generic/bp-checks.h: Remove file.
24083 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
24084 (__GETDENTS): Don't use CHECK_N.
24085 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
24086 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
24087 (__getgroups): Don't use CHECK_N.
24088 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
24089 (setgroups): Don't use CHECK_N.
24090 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
24091 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
24092 (__libc_msgrcv): Don't use CHECK_N.
24093 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
24094 (__libc_msgsnd): Don't use CHECK_N.
24095 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
24097 (__libc_pread): Don't use CHECK_N.
24098 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
24099 include <bp-checks.h>.
24100 (__libc_pread64): Don't use CHECK_N.
24101 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
24102 include <bp-checks.h>.
24103 (__libc_pwrite): Don't use CHECK_N.
24104 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
24105 include <bp-checks.h>.
24106 (__libc_pwrite64): Don't use CHECK_N.
24107 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
24109 (__libc_pread): Don't use CHECK_N.
24110 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
24111 include <bp-checks.h>.
24112 (__libc_pread64): Don't use CHECK_N.
24113 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
24114 include <bp-checks.h>.
24115 (__libc_pwrite): Don't use CHECK_N.
24116 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
24117 include <bp-checks.h>.
24118 (__libc_pwrite64): Don't use CHECK_N.
24119 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
24120 (do_pread): Don't use CHECK_N.
24121 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
24122 (do_pread64): Don't use CHECK_N.
24123 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
24124 (do_pwrite): Don't use CHECK_N.
24125 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
24126 (do_pwrite64): Don't use CHECK_N.
24127 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
24128 (__libc_readv): Don't use CHECK_N.
24129 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
24130 (semop): Don't use CHECK_N.
24131 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
24133 (semtimedop): Don't use CHECK_N.
24134 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
24135 (__libc_pread): Don't use CHECK_N.
24136 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
24138 (__libc_pread64): Don't use CHECK_N.
24139 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
24141 (__libc_pwrite): Don't use CHECK_N.
24142 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
24144 (__libc_pwrite64): Don't use CHECK_N.
24145 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
24147 (__libc_msgrcv): Don't use CHECK_N.
24148 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
24149 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
24150 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
24151 (__libc_writev): Don't use CHECK_N.
24153 2013-02-08 Roland McGrath <roland@hack.frob.com>
24155 * string/strcpy.c: Removed unused variable.
24157 * Makeconfig (+sysdep-includes): Define with := rather than =.
24158 Use an existing include/ subdir of each sysdeps dir before it.
24160 2013-02-08 Carlos O'Donell <carlos@redhat.com>
24162 * nscd/connection.c (register_traced_file): Comment function.
24163 [HAVE_INOTIFY] (union __inev): Define.
24164 [HAVE_INOTIFY] (inotify_check_files): New function.
24165 [HAVE_INOTIFY] (clear_db_cache): Likewise.
24166 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
24168 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
24170 2013-02-08 Carlos O'Donell <carlos@redhat.com>
24172 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
24173 loaded if not already and that a failure is permanent.
24175 2013-02-08 Carlos O'Donell <carlos@redhat.com>
24178 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
24179 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
24181 2013-02-08 Joseph Myers <joseph@codesourcery.com>
24184 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
24185 (CHECK_1_NULL_OK): Likewise.
24186 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
24187 (__fxstat): Do not use CHECK_1.
24188 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
24190 (___fxstat64): Do not use CHECK_1.
24191 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
24193 (__fxstatat): Do not use CHECK_1.
24194 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
24196 (__fxstatat64): Do not use CHECK_1.
24197 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
24199 (__fxstat): Do not use CHECK_1.
24200 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
24202 (__fxstatat): Do not use CHECK_1.
24203 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
24205 (__getresgid): Do not use CHECK_1.
24206 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
24208 (__getresuid): Do not use CHECK_1.
24209 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
24211 (__lxstat): Do not use CHECK_1.
24212 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
24214 (__old_msgctl): Do not use CHECK_1.
24215 (__new_msgctl): Likewise.
24216 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
24218 (__new_setrlimit): Do not use CHECK_1.
24219 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
24221 (__old_shmctl): Do not use CHECK_1.
24222 (__new_shmctl): Likewise.
24223 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
24225 (__xstat): Do not use CHECK_1.
24226 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
24227 (__lxstat): Do not use CHECK_1.
24228 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
24230 (___lxstat64): Do not use CHECK_1.
24231 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
24232 (__old_msgctl): Do not use CHECK_1.
24233 (__new_msgctl): Likewise.
24234 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
24236 (__gettimeofday): Do not use CHECK_1.
24237 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
24238 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
24239 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
24241 (__gettimeofday): Do not use CHECK_1.
24242 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
24243 (__old_shmctl): Do not use CHECK_1_NULL_OK.
24244 (__new_shmctl): Do not use CHECK_1.
24245 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
24247 (do_sigtimedwait): Do not use CHECK_1.
24248 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
24250 (do_sigwaitinfo): Do not use CHECK_1.
24251 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
24253 (msgctl): Do not use CHECK_1.
24254 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
24256 (shmctl): Do not use CHECK_1.
24257 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
24258 (ustat): Do not use CHECK_1.
24259 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
24261 (__fxstat): Do not use CHECK_1.
24262 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
24264 (__fxstatat): Do not use CHECK_1.
24265 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
24267 (__lxstat): Do not use CHECK_1.
24268 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
24270 (__xstat): Do not use CHECK_1.
24271 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
24272 (__xstat): Do not use CHECK_1.
24273 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
24274 (___xstat64): Do not use CHECK_1.
24277 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
24279 (CHECK_BOUNDS_HIGH): Likewise.
24280 * string/strcpy.c: Do not include <bp-checks.h>.
24281 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
24283 2013-02-07 Roland McGrath <roland@hack.frob.com>
24285 * nscd/nscd-client.h (__nscd_drop_map_ref):
24286 Add __attribute__ ((unused)).
24287 * nis/nss-nisplus.h (niserr2nss): Likewise.
24289 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
24290 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
24292 * csu/libc-tls.c (init_static_tls, init_slotinfo):
24293 Remove inline keyword.
24294 * include/rounding-mode.h (round_away): Likewise.
24295 * libio/wfileops.c (adjust_wide_data): Likewise.
24296 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
24297 (__m128i_strloadu_tolower): Likewise.
24298 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
24299 (__m128i_strloadu_tolower): Likewise.
24300 * time/mktime.c (ydhms_diff): Likewise.
24301 * locale/elem-hash.h (elem_hash): Likewise.
24302 * locale/setlocale.c (setdata): Likewise.
24303 * posix/regex_internal.h (re_string_char_size_at): Likewise.
24304 (re_string_wchar_at): Likewise.
24305 (bitset_not, bitset_merge, bitset_mask): Likewise.
24306 [!(__GNUC__ > 3)] (inline): Remove macro.
24307 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
24308 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
24309 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
24310 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
24311 * string/memcmp.c (memcmp_bytes): Likewise.
24312 * locale/programs/locarchive.c (compute_hashval): Likewise.
24313 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
24314 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
24315 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
24316 * nss/getent.c (print_rpc, print_protocols): Likewise.
24317 (print_passwd, print_group, print_aliases): Likewise.
24318 * nis/nss-nisplus.h (niserr2nss): Likewise.
24319 * nscd/connections.c (restart_p): Likewise.
24320 Change return type to bool.
24322 2013-02-05 Roland McGrath <roland@hack.frob.com>
24324 * Makeconfig (all-Depend-files): Add existing
24325 $(sorted-subdirs:=/Depend) files.
24326 (all-subdirs): Remove nss.
24327 * sysdeps/unix/inet/Subdirs: Add it here instead.
24328 * hesiod/Depend: New file.
24330 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
24331 instead of calling alloca.
24333 * io/lseek.c (__lseek): Rename to __libc_lseek.
24334 Define __lseek as an alias.
24336 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
24338 2013-02-04 Carlos O'Donell <carlos@redhat.com>
24340 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
24341 else clause and remove check for non-standard endianness.
24343 2013-02-04 David S. Miller <davem@davemloft.net>
24345 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24347 2013-02-04 Joseph Myers <joseph@codesourcery.com>
24350 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
24351 (__ubp_memchr): Remove prototype.
24352 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
24353 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
24354 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
24355 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
24356 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
24358 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
24359 (__ubp_memchr): Likewise.
24360 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
24361 (__ubp_memchr): Likewise.
24362 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
24363 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
24364 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
24365 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
24367 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
24368 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
24369 (__getcwd): Do not use CHECK_STRING.
24370 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
24372 (__real_chown): Do not use CHECK_STRING.
24373 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
24375 (fchownat): Do not use CHECK_STRING.
24376 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
24378 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
24380 (__lchown): Do not use CHECK_STRING.
24381 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
24382 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
24383 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
24384 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
24385 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
24386 include <bp-checks.h>.
24387 (truncate64): Do not use CHECK_STRING.
24388 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
24390 (__real_chown): Do not use CHECK_STRING.
24391 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
24393 (__lchown): Do not use CHECK_STRING.
24394 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
24396 (__chown): Do not use CHECK_STRING.
24397 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
24399 (truncate64): Do not use CHECK_STRING.
24400 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
24402 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
24403 (__xmknod): Do not use CHECK_STRING.
24404 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
24406 (__xmknodat): Do not use CHECK_STRING.
24407 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
24408 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
24410 2013-02-04 Andreas Schwab <schwab@suse.de>
24413 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
24414 * include/netdb.h: Likewise for h_errno.
24415 * elf/tst-stackguard1.c: Include <tls.h>.
24417 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
24419 * elf/link.h (struct link_map): Extend the l_addr comment.
24420 * include/link.h (struct link_map): Likewise.
24422 2013-02-01 Joseph Myers <joseph@codesourcery.com>
24425 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
24426 (BOUNDED_1): Remove macro.
24427 * debug/backtrace.c: Don't include <bp-checks.h>.
24428 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
24429 (__backtrace): Likewise.
24430 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
24432 (__backtrace): Don't use BOUNDED_1.
24433 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
24435 (__backtrace): Don't use BOUNDED_1.
24436 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
24437 (__backtrace): Don't use BOUNDED_1.
24438 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
24439 (shmat): Don't use BOUNDED_N.
24441 2013-01-31 Joseph Myers <joseph@codesourcery.com>
24444 * sysdeps/generic/bp-start.h: Remove file.
24445 * csu/libc-start.c: Don't include <bp-start.h>.
24446 (LIBC_START_MAIN): Set up __environ directly instead of using
24447 INIT_ARGV_and_ENVIRON.
24448 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
24452 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
24454 (CHECK_FCNTL): Likewise.
24455 (CHECK_N_PAGES): Likewise.
24458 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
24460 (CHECK_SIGSET_NULL_OK): Likewise.
24461 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
24463 (sigpending): Don't use CHECK_SIGSET.
24464 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
24466 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
24467 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
24469 (do_sigsuspend): Don't use CHECK_SIGSET.
24470 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
24472 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
24473 (do_sigwait): Don't use CHECK_SIGSET.
24474 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
24476 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
24477 include <bp-checks.h>.
24478 (sigpending): Don't use CHECK_SIGSET.
24479 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
24480 include <bp-checks.h>.
24481 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
24482 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
24484 (sigpending): Don't use CHECK_SIGSET.
24485 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
24487 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
24490 * sysdeps/generic/bp-semctl.h: Remove file.
24491 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
24492 <bp-checks.h> and <bp-semctl.h>.
24493 (__old_semctl): Don't use CHECK_SEMCTL.
24494 (__new_semctl): Likewise.
24495 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
24497 (__old_semctl): Don't use CHECK_SEMCTL.
24498 (__new_semctl): Likewise.
24499 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
24500 <bp-checks.h> and <bp-semctl.h>.
24501 (__old_semctl): Don't use CHECK_SEMCTL.
24502 (__new_semctl): Likewise.
24503 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
24504 <bp-checks.h> and <bp-semctl.h>.
24505 (semctl): Don't use CHECK_SEMCTL.
24508 * Makerules (elide-bp-thunks): Remove variable.
24509 (elide-routines.oS): Don't use $(elide-bp-thunks).
24510 (elide-routines.os): Likewise.
24511 (elide-routines.o): Likewise.
24512 (elide-routines.op): Likewise.
24513 (elide-routines.og): Likewise.
24514 (objects): Don't use $(bp-thunks).
24515 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
24517 (common-generated): Do not add s-proto-bp.d.
24518 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
24521 Do not generate makefile rules for bounded-pointer thunks.
24522 * sysdeps/generic/bp-thunks.h: Remove file.
24523 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
24524 * sysdeps/unix/s-proto-bp.S: Likewise.
24527 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
24528 parts of result separately when argument is not close to line from
24529 -i to i and one part of argument is small.
24530 * math/k_casinhf.c (__kernel_casinhf): Likewise.
24531 * math/k_casinhl.c (__kernel_casinhl): Likewise.
24532 * math/libm-test.inc (cacos_test): Add more tests.
24533 (casin_test): Likewise.
24534 (casinh_test): Likewise.
24535 * sysdeps/i386/fpu/libm-test-ulps: Update.
24536 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24538 2013-01-31 David S. Miller <davem@davemloft.net>
24540 * po/de.po: Update from translation team.
24542 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
24544 * time/tzfile.c: Include stdint.h for SIZE_MAX.
24546 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
24548 * configure.in (_AC_PROG_CC_C89): New definition.
24549 * configure: Regenerate.
24551 * configure.in (AC_PROG_CPP): New definition.
24552 * configure: Regenerate.
24554 2013-01-23 Joseph Myers <joseph@codesourcery.com>
24556 * debug/tst-backtrace.h: New file.
24557 * debug/tst-backtrace2.c: Include tst-backtrace.h.
24558 (ret): Remove variable.
24560 (FAIL): Remove macro.
24561 (NO_INLINE): Likewise.
24562 (fn1): Use match function instead of strstr.
24563 * debug/tst-backtrace3.c: Include tst-backtrace.h.
24564 (ret): Remove variable.
24566 (FAIL): Remove macro.
24567 (NO_INLINE): Likewise.
24568 (fn): Use match function instead of strstr.
24569 * debug/tst-backtrace4.c: Include tst-backtrace.h.
24570 (ret): Remove variable.
24572 (FAIL): Remove macro.
24573 (NO_INLINE): Likewise.
24574 (handle_signal): Use match function instead of strstr.
24575 * debug/tst-backtrace5.c: Include tst-backtrace.h.
24576 (ret): Remove variable.
24578 (FAIL): Remove macro.
24579 (NO_INLINE): Likewise.
24580 (handle_signal): Use match function instead of strstr.
24582 2013-01-23 Roland McGrath <roland@hack.frob.com>
24584 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
24586 2013-01-23 David S. Miller <davem@davemloft.net>
24588 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
24589 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
24590 argument of CAS if possible.
24591 * sysdeps/sparc/sparc64/bits/atomic.h
24592 (__arch_compare_and_exchange_val_32_acq): Likewise.
24593 (__arch_compare_and_exchange_val_64_acq): Likewise.
24595 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
24597 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
24598 * sysdeps/posix/ulimit.c: ... this.
24599 Include <limits.h>.
24600 * sysdeps/unix/bsd/ulimit.c: Remove file.
24602 2013-01-23 Adam Conrad <adconrad@0c3.net>
24604 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
24605 (LDFLAGS-tst-array5): Likewise.
24607 2013-01-23 Joseph Myers <joseph@codesourcery.com>
24610 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
24611 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
24612 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
24613 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
24615 2013-01-21 David S. Miller <davem@davemloft.net>
24617 * sysdeps/sparc/backtrace.c: New file.
24618 * sysdeps/sparc/sparc32/backtrace.h: New file.
24619 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
24620 * sysdeps/sparc/sparc64/backtrace.h: New file.
24621 * sysdeps/sparc/sparc64/backtrace.c: Delete.
24622 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
24625 2013-01-21 Andreas Schwab <schwab@suse.de>
24628 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
24631 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
24633 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
24635 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
24637 2013-01-18 Joseph Myers <joseph@codesourcery.com>
24638 Mark Mitchell <mark@codesourcery.com>
24639 Tom de Vries <tom@codesourcery.com>
24640 Paul Pluzhnikov <ppluzhnikov@google.com>
24642 * debug/tst-backtrace2.c: New file.
24643 * debug/tst-backtrace3.c: Likewise.
24644 * debug/tst-backtrace4.c: Likewise.
24645 * debug/tst-backtrace5.c: Likewise.
24646 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
24647 (CFLAGS-tst-backtrace3.c): Likewise.
24648 (CFLAGS-tst-backtrace4.c): Likewise.
24649 (CFLAGS-tst-backtrace5.c): Likewise.
24650 (LDFLAGS-tst-backtrace2): Likewise.
24651 (LDFLAGS-tst-backtrace3): Likewise.
24652 (LDFLAGS-tst-backtrace4): Likewise.
24653 (LDFLAGS-tst-backtrace5): Likewise.
24654 (tests): Add new tests tst-backtrace2, tst-backtrace3,
24655 tst-backtrace4 and tst-backtrace5.
24657 2013-01-18 Anton Blanchard <anton@samba.org>
24658 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
24660 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
24661 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
24662 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
24663 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
24664 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
24665 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
24666 "+r" and remove output regs list as redundant. Add explicit inline
24667 asm to specify register of return val to work around compiler codegen
24668 bug. Remove (int) cast on return value. Add return type parameter to
24669 use in macro so that this macro does not truncate return value for
24671 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
24672 pass to INTERNAL_VSYSCALL_NCS.
24673 (INLINE_VSYSCALL): Add 'long int' as return type to
24674 INTERNAL_VSYSCALL_NCS macro invocation.
24675 (INTERNAL_VSYSCALL): Add 'long int' as return type to
24676 INTERNAL_VSYSCALL_NCS macro invocation.
24677 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
24679 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
24682 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
24683 Fix application of SIMD FP exception mask.
24685 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
24686 mp_no from a power of two.
24687 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
24688 __mpexp_twomm1. Use __pow_mp.
24690 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
24693 2013-01-17 David S. Miller <davem@davemloft.net>
24695 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24697 2013-01-17 Joseph Myers <joseph@codesourcery.com>
24700 * include/complex.h: Condition contents on [!_COMPLEX_H].
24701 (__kernel_casinhf): New prototype.
24702 (__kernel_casinh): Likewise.
24703 (__kernel_casinhl): Likewise.
24704 * math/Makefile (libm_calls): Add k_casinh.
24705 * math/k_casinh.c: New file.
24706 * math/k_casinhf.c: Likewise.
24707 * math/k_casinhl.c: Likewise.
24708 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
24709 finite nonzero arguments.
24710 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
24711 finite nonzero arguments.
24712 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
24713 finite nonzero arguments.
24714 * math/s_casinh.c: Do not include <float.h>.
24715 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
24716 * math/s_casinhf.c: Do not include <float.h>.
24717 (__casinhf): Move code for finite nonzero arguments to
24719 * math/s_casinhl.c: Do not include <float.h>.
24720 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
24722 (__casinhl): Move code for finite nonzero arguments to
24724 * math/libm-test.inc (cacos_test): Add more tests.
24725 * sysdeps/i386/fpu/libm-test-ulps: Update.
24726 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24728 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
24730 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
24731 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
24732 [!HAVE_MREMAP]: Remove [defined linux] case.
24733 * malloc/arena.c: Do not include <malloc-sysdep.h>.
24735 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
24737 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
24739 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
24741 * elf/elf.h (R_386_SIZE32): New relocation.
24742 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
24744 (elf_machine_rela): Likewise.
24745 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
24746 R_X86_64_SIZE64 and R_X86_64_SIZE32.
24748 2013-01-17 Joseph Myers <joseph@codesourcery.com>
24750 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
24751 (FP_FAST_FMA): Do not define.
24752 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
24753 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
24754 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
24755 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
24756 !_SOFT_FLOAT]: Likewise.
24757 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
24758 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
24760 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
24761 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
24762 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
24763 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
24764 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
24765 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
24768 2013-01-16 Andreas Schwab <schwab@suse.de>
24771 * include/stdlib.h (__mktemp): Add declaration.
24772 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
24773 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
24775 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
24777 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
24779 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
24780 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
24781 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
24783 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
24784 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
24786 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
24788 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
24789 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
24790 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
24792 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
24793 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
24795 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
24797 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
24799 2013-01-15 David S. Miller <davem@davemloft.net>
24801 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
24802 trunc{,f} to libm-sysdep_routes.
24803 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
24804 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
24806 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
24807 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
24809 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
24811 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
24812 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
24813 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
24814 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
24815 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
24816 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
24817 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
24818 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
24820 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
24821 nearbyint{,f} to libm-sysdep_routes.
24822 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
24823 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
24825 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
24827 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
24829 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
24831 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
24832 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
24833 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
24835 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
24836 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
24838 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
24839 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
24840 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
24842 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
24843 libc_feholdexcept and libc_fesetenv.
24845 2013-01-15 Mike Frysinger <vapier@gentoo.org>
24847 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
24849 2013-01-14 David S. Miller <davem@davemloft.net>
24851 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
24852 (SPARC_ASM_VIS2_IFUNC): Likewise.
24853 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
24854 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
24855 use of 'siam' instruction.
24856 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
24858 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
24860 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
24862 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
24863 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
24864 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
24865 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
24866 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
24868 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
24870 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
24872 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
24874 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
24875 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
24876 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
24877 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
24878 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
24880 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
24881 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
24882 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
24884 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
24885 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
24886 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
24887 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
24888 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
24889 routines to libm-sysdep_routines.
24890 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
24892 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
24893 fdim/fdimf to libm-sysdep_routines.
24894 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
24896 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
24897 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
24899 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
24900 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
24901 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
24902 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
24903 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
24904 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
24905 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
24907 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
24909 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
24910 to optimize copies.
24912 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
24913 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
24914 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
24916 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
24917 local variable MPTWO.
24918 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
24921 2013-01-13 Mike Frysinger <vapier@gentoo.org>
24923 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
24926 2013-01-13 Mike Frysinger <vapier@gentoo.org>
24928 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
24930 2013-01-13 Mike Frysinger <vapier@gentoo.org>
24932 * manual/pattern.texi (glob_t): Document gl_flags.
24933 (glob64_t): Likewise.
24935 2013-01-11 David S. Miller <davem@davemloft.net>
24937 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
24938 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
24939 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
24940 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
24941 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
24942 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
24943 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
24944 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
24945 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
24946 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
24947 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
24948 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
24949 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
24951 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
24952 sparc V9 rather than using V8 code.
24953 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
24954 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
24956 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
24958 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
24961 2013-01-11 Roland McGrath <roland@hack.frob.com>
24963 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
24964 not in the main loop.
24965 * configure: Regenerated.
24967 2013-01-11 Joseph Myers <joseph@codesourcery.com>
24969 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
24970 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
24972 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
24973 [!__GLIBC_HAVE_LONG_LONG] case.
24974 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
24975 condition to just #else.
24976 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
24977 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
24978 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
24979 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
24981 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
24982 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
24983 #elif condition to just #else.
24984 * sysdeps/unix/sysv/linux/sys/sysmacros.h
24985 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
24986 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
24987 #elif condition to just #else.
24989 2013-01-11 Steve Ellcey <sellcey@mips.com>
24991 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
24992 (EF_MIPS_ARCH_64): Fix value.
24993 (EF_MIPS_ARCH_32R2): New.
24994 (EF_MIPS_ARCH_64R2): New.
24996 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
24998 * Makeconfig (+link-pie-before-libc): New.
24999 (+link-pie-after-libc): Likewise.
25000 (+link-pie-tests): Likewise.
25001 (+link-pie): Rewritten.
25002 (link-before-libc): Remove $(config-LDFLAGS).
25003 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
25004 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
25005 (config-LDFLAGS): Renamed to ...
25006 (rtld-LDFLAGS): This.
25007 (rtld-tests-LDFLAGS): New macro.
25008 (link-libc-rpath-link): Likewise.
25009 (link-libc-tests-rpath-link): Likewise.
25010 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
25011 (link-libc): Prepand $(link-libc-rpath-link).
25012 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
25013 (test-program-prefix): New macro.
25014 (test-via-rtld-prefix): Likewise.
25015 (test-program-cmd): Likewise.
25016 (host-test-program-cmd): Likewise.
25017 * Makefile ($(common-objpfx)testrun.sh): Replace
25018 $(run-program-prefix) with $(test-program-prefix).
25019 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
25021 ($(common-objpfx)shlib.lds): Likewise.
25022 (build-module-helper): Likewise.
25023 ($(common-objpfx)format.lds): Likewise.
25024 * Rules (binaries-pie-tests): New.
25025 (binaries-pie-notests): Likewise.
25026 (binaries-pie): Rewritten.
25027 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
25028 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
25029 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
25030 (make-test-out): Replace $(host-built-program-cmd) with
25031 $(host-test-program-cmd).
25032 * config.make.in (build-hardcoded-path-in-tests): New variable.
25033 * configure.in (--enable-hardcoded-path-in-tests): New configure
25035 (hardcoded_path_in_tests): New AC_SUBST.
25036 * configure: Regenerated.
25037 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
25038 $(built-program-cmd) with $(test-program-cmd).
25039 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
25040 (test_program_cmd): This.
25041 * elf/Makefile ($(objpfx)order.out): Run test with
25042 $(test-program-prefix).
25043 ($(objpfx)order2.out): Likewise.
25044 ($(objpfx)tst-initorder.out): Likewise.
25045 ($(objpfx)tst-initorder2.out): Likewise.
25046 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
25047 $(test-program-cmd).
25048 ($(objpfx)tst-array1-static.out): Likewise.
25049 ($(objpfx)tst-array2.out): Likewise.
25050 ($(objpfx)tst-array3.out): Likewise.
25051 ($(objpfx)tst-array4.out): Likewise.
25052 ($(objpfx)tst-array5.out): Likewise.
25053 ($(objpfx)tst-array5-static.out): Likewise.
25054 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
25055 $(test-program-cmd).
25056 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
25057 $(run-program-prefix) with $(test-program-prefix).
25058 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
25059 (test_program_prefix): This.
25060 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
25061 $(run-program-prefix) with $(test-program-prefix).
25062 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
25063 (test_program_prefix): This.
25064 * iconvdata/tst-tables.sh: Likewise.
25065 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
25066 $(run-program-prefix) with $(test-program-prefix).
25067 ($(objpfx)tst-translit.out): Likewise.
25068 ($(objpfx)tst-gettext2.out): Likewise.
25069 ($(objpfx)tst-gettext4.out): Likewise.
25070 ($(objpfx)tst-gettext6.out): Likewise.
25071 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
25072 (test_program_prefix): This.
25073 * intl/tst-gettext2.sh: Likewise.
25074 * intl/tst-gettext4.sh Likewise.
25075 * intl/tst-gettext6.sh: Likewise.
25076 * intl/tst-translit.sh: Likewise.
25077 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
25078 with $(test-program-cmd).
25079 * libio/Makefile ($(objpfx)test-freopen.out): Replace
25080 $(run-program-prefix) with $(test-program-prefix).
25081 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
25082 (test_program_prefix): This.
25083 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
25084 $(run-program-prefix) with $(test-program-prefix).
25085 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
25086 (test_program_prefix): This.
25087 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
25088 * posix/Makefile ($(objpfx)globtest.out): Replace
25089 $(run-via-rtld-prefix) and $(test-wrapper) with
25090 $(test-program-prefix) and $(test-via-rtld-prefix).
25091 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
25092 $(test-program-prefix).
25093 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
25094 $(host-test-program-cmd).
25095 (tst-spawn-ARGS): Likewise.
25096 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
25097 $(test-program-prefix).
25098 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
25099 (test_via_rtld_prefix): This.
25100 (test_wrapper): Renamed to ...
25101 (test_program_prefix): This.
25102 (run_program_prefix): Replaced by test_program_prefix.
25103 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
25104 (test_program_prefix): This.
25105 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
25106 with $(host-test-program-cmd).
25107 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
25108 $(run-program-prefix) with $(test-program-prefix).
25109 ($(objpfx)tst-printf.out): Likewise.
25110 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
25111 $(test-program-cmd).
25112 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
25113 (test_program_prefix): This.
25114 * stdio-common/tst-unbputc.sh: Likewise.
25115 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
25116 $(run-program-prefix) with $(test-program-prefix).
25117 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
25118 (test_program_prefix): This.
25119 * string/Makefile ($(objpfx)tst-svc.out): Replace
25120 $(built-program-cmd) with $(test-program-cmd).
25122 2013-01-11 Andreas Jaeger <aj@suse.de>
25125 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
25126 value. Sync with Linux 3.7.
25128 2013-01-10 David S. Miller <davem@davemloft.net>
25130 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
25131 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
25132 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
25134 2013-01-10 Roland McGrath <roland@hack.frob.com>
25136 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
25138 * configure: Regenerated.
25140 2013-01-10 David S. Miller <davem@davemloft.net>
25142 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
25143 sparc V9 rather than using V8 code.
25144 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
25145 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
25147 2013-01-10 Roland McGrath <roland@hack.frob.com>
25149 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
25150 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
25151 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
25152 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
25153 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
25154 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
25155 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
25156 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
25157 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
25158 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
25159 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
25160 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
25161 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
25162 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
25163 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
25164 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
25165 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
25166 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
25167 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
25168 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
25169 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
25170 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
25171 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
25172 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
25173 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
25174 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
25175 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
25177 2013-01-10 David S. Miller <davem@davemloft.net>
25179 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25181 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
25183 * posix/Makefile (tests-static): New variable.
25184 (tests): Add $(tests-static).
25185 (tst-exec-static-ARGS): New variable.
25186 (tst-spawn-static-ARGS): Likewise.
25187 * posix/tst-exec-static.c: New file.
25188 * posix/tst-spawn-static.c: Likewise.
25189 * posix/tst-exec.c: Support run directly.
25190 * posix/tst-spawn.c: Likewise.
25192 2013-01-10 Joseph Myers <joseph@codesourcery.com>
25194 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
25196 * math/bits/mathcalls.h (llrint): Likewise.
25197 (llround): Likewise.
25198 * stdlib/stdlib.h (struct drand48_data): Likewise.
25199 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
25200 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
25201 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
25203 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
25205 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
25206 (elf_greg_t): Likewise.
25207 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
25208 (__jmp_buf): Likewise.
25209 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
25211 (llrint): Likewise, for all definitions.
25212 (llrintl): Likewise.
25214 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
25215 Remove [__GNUC__] condition.
25216 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
25217 condition to just [__USE_ISOC99].
25218 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
25220 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
25223 * sysdeps/unix/sysv/linux/x86/bits/environments.h
25224 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
25226 (_POSIX_V6_ILP32_OFF32): Likewise.
25227 (_XBS5_ILP32_OFF32): Likewise.
25228 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
25229 (__ILP32_OFFBIG_LDFLAGS): Likewise.
25231 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
25233 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
25235 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
25236 doubles __mpexp_twomm1. Adjust usage.
25237 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
25240 2013-01-10 Andreas Schwab <schwab@suse.de>
25243 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
25244 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
25246 2013-01-09 David S. Miller <davem@davemloft.net>
25249 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
25250 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
25251 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
25252 (TCP_FASTOPEN): Define.
25253 (tcp_repair_opt): New structure.
25254 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
25256 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
25257 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
25258 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
25259 (tcp_cookie_transactions): New structure.
25261 2013-01-09 Anton Blanchard <anton@samba.org>
25263 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
25264 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
25265 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
25266 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
25268 2013-01-09 Joseph Myers <joseph@codesourcery.com>
25270 * include/features.h (__USE_ANSI): Remove.
25272 2013-01-09 Roland McGrath <roland@hack.frob.com>
25274 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
25276 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
25278 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
25280 * sysdeps/s390/fpu/libm-test-ulps: Update.
25282 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25284 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
25288 (denorm): Likewise.
25289 (__mp_dbl): Likewise.
25290 (__dbl_mp): Likewise.
25291 (add_magnitudes): Likewise.
25292 (sub_magnitudes): Likewise.
25298 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
25302 (denorm): Likewise.
25303 (__mp_dbl): Likewise.
25304 (__dbl_mp): Likewise.
25305 (add_magnitudes): Likewise.
25306 (sub_magnitudes): Likewise.
25312 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
25316 (denorm): Likewise.
25317 (__mp_dbl): Likewise.
25318 (__dbl_mp): Likewise.
25319 (add_magnitudes): Likewise.
25320 (sub_magnitudes): Likewise.
25327 2013-01-08 Joseph Myers <joseph@codesourcery.com>
25329 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
25330 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
25331 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
25332 2 && __USE_EXTERN_INLINES]: Likewise.
25334 2013-01-08 Andreas Jaeger <aj@suse.de>
25337 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
25339 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
25340 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
25342 2013-01-07 Anton Blanchard <anton@samba.org>
25344 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
25345 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
25346 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
25347 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
25348 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
25349 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
25350 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
25351 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
25352 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
25353 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
25354 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
25355 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
25356 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
25357 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
25358 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
25359 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
25360 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
25361 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
25362 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
25363 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
25364 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
25365 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
25366 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
25367 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
25368 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
25369 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
25370 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
25371 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
25372 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
25373 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
25374 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
25375 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
25376 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
25377 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
25378 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
25379 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
25380 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
25381 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
25382 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
25383 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
25384 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
25385 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
25386 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
25388 2013-01-07 Joseph Myers <joseph@codesourcery.com>
25390 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
25391 (__MALLOC_PMT): Likewise.
25392 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
25393 [__GNUC__], only on [_LIBC].
25394 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
25395 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
25396 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
25397 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
25398 forward declaration.
25399 (realloc_hook_ini): Likewise.
25400 (memalign_hook_ini): Likewise.
25401 (__libc_memalign): Do not use __MALLOC_PMT in variable
25403 (__libc_valloc): Likewise.
25404 (__libc_pvalloc): Likewise.
25405 (__libc_calloc): Likewise.
25406 (__posix_memalign): Likewise.
25409 * math/s_casinh.c: Include <float.h>.
25410 (__casinh): Do not do computation with squaring and square root
25411 for large arguments.
25412 * math/s_casinhf.c: Include <float.h>.
25413 (__casinhf): Do not do computation with squaring and square root
25414 for large arguments.
25415 * math/s_casinhl.c: Include <float.h>.
25416 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
25417 (__casinhl): Do not do computation with squaring and square root
25418 for large arguments.
25419 * math/libm-test.inc (casin_test): Add more tests.
25420 (casinh_test): Likewise.
25421 * sysdeps/i386/fpu/libm-test-ulps: Update.
25422 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25424 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
25426 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
25427 (__x86_64_raw_data_cache_size): Likewise.
25428 (__x86_64_data_cache_size_half): Likewise.
25429 (__x86_64_raw_data_cache_size_half): Likewise.
25430 (__x86_64_shared_cache_size): Likewise.
25431 (__x86_64_raw_shared_cache_size): Likewise.
25432 (__x86_64_shared_cache_size_half): Likewise.
25433 (__x86_64_raw_shared_cache_size_half): Likewise.
25434 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
25436 (__x86_data_cache_size): This.
25437 (__x86_64_raw_data_cache_size): Renamed to ...
25438 (__x86_raw_data_cache_size): This.
25439 (__x86_64_data_cache_size_half): Renamed to ...
25440 (__x86_data_cache_size_half): This.
25441 (__x86_64_raw_data_cache_size_half): Renamed to ...
25442 (__x86_raw_data_cache_size_half): This.
25443 (__x86_64_shared_cache_size): Renamed to ...
25444 (__x86_shared_cache_size): This.
25445 (__x86_64_raw_shared_cache_size): Renamed to ...
25446 (__x86_raw_shared_cache_size): This.
25447 (__x86_64_shared_cache_size_half): Renamed to ...
25448 (__x86_shared_cache_size_half): This.
25449 (__x86_64_raw_shared_cache_size_half): Renamed to ...
25450 (__x86_raw_shared_cache_size_half): This.
25451 * sysdeps/x86_64/memcpy.S: Updated.
25452 * sysdeps/x86_64/memset.S: Likewise.
25453 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
25454 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
25455 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
25457 2013-01-04 David S. Miller <davem@davemloft.net>
25459 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25461 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
25463 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
25464 1 to avoid redefinition warning.
25465 (__USE_GNU): Don't define.
25466 (init_signaling_nan): Protoize.
25468 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25470 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
25472 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
25473 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
25474 (__cpymn): Likewise.
25475 (norm): Remove commented code.
25476 (denorm): Likewise.
25477 (__mp_dbl): Likewise.
25479 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
25480 (__cpymn): Likewise.
25481 (norm): Remove commented code.
25482 (denorm): Likewise.
25483 (__mp_dbl): Likewise.
25486 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
25487 mp_no value for 1.0 and 2.0.
25488 (norm): Use RADIXI instead of radixi.d.
25489 (denorm): Likewise.
25490 (__mul): Use 0.0 instead of zero.d.
25491 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
25492 mp_no value for 1.0 and 2.0.
25493 (norm): Use RADIXI instead of radixi.d.
25494 (denorm): Likewise.
25495 (__mul): Use 0.0 instead of zero.d.
25497 2013-01-04 Joseph Myers <joseph@codesourcery.com>
25500 * math/s_casinh.c (__casinh): Reduce finite argument to first
25501 quadrant then set signs of results at the end.
25502 * math/s_casinhf.c (__casinhf): Likewise.
25503 * math/s_casinhl.c (__casinhl): Likewise.
25504 * math/libm-test.inc (casin_test): Add more tests.
25505 (casinh_test): Likewise.
25506 * sysdeps/i386/fpu/libm-test-ulps: Update.
25507 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25509 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
25511 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
25513 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
25515 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
25517 (denorm): Likewise.
25518 (__mp_dbl): Likewise.
25521 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
25522 and adjust the header comment.
25524 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
25525 variable name from declaration.
25527 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
25529 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25530 Initialize COMMON_CPUID_INDEX_7 element.
25531 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
25532 (CPUID_RTM): Likewise.
25533 (HAS_RTM): Likewise.
25534 (COMMON_CPUID_INDEX_7): New enum.
25536 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
25539 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
25540 size is zero, record memory as freed.
25542 2013-01-03 Andreas Jaeger <aj@suse.de>
25544 * po/ia.po: Add new Interlingua translation.
25546 2012-01-03 Allan McRae <allan@archlinux.org>
25548 * locale/programs/localedef.c: Fix description of '--posix' flag.
25550 2013-01-02 Joseph Myers <joseph@codesourcery.com>
25552 * NEWS: Update dates in second copyright notice.
25553 * README: Update copyright dates in example.
25554 * manual/libc.texinfo: Update copyright dates.
25555 * scripts/test-installation.pl: Update copyright date in --version
25558 * hurd/ctty-input.c: Fix copyright notice formatting.
25559 * hurd/ctty-output.c: Likewise.
25560 * hurd/dtable.c: Likewise.
25561 * hurd/hurd-raise.c: Likewise.
25562 * hurd/hurdprio.c: Likewise.
25563 * hurd/msgportdemux.c: Likewise.
25564 * misc/sys/file.h: Likewise.
25565 * misc/sys/ioctl.h: Likewise.
25566 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
25567 * sysdeps/mach/hurd/chdir.c: Likewise.
25568 * sysdeps/mach/hurd/fchdir.c: Likewise.
25569 * sysdeps/mach/hurd/rename.c: Likewise.
25570 * sysdeps/mach/hurd/rmdir.c: Likewise.
25571 * sysdeps/mach/hurd/seekdir.c: Likewise.
25572 * sysdeps/mach/hurd/setsid.c: Likewise.
25573 * sysdeps/posix/wait3.c: Likewise.
25575 * All files with FSF copyright notices: Update copyright dates
25576 using scripts/update-copyrights.
25577 * intl/plural.c: Regenerated.
25578 * locale/programs/charmap-kw.h: Likewise.
25579 * locale/programs/locfile-kw.h: Likewise.
25581 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
25583 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
25586 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
25587 calculation loop and add branch prediction.
25589 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
25590 check access beyond bounds of m1np.
25592 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
25594 (__inv): Remove local variable MPTWO to use the global
25596 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
25597 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
25599 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
25600 MP3HALFS static const.
25602 2013-01-01 David S. Miller <davem@davemloft.net>
25604 * po/ca.po: Update from translation team.
25606 2013-01-01 Joseph Myers <joseph@codesourcery.com>
25608 * scripts/update-copyrights: New file.
25609 * Makeconfig: Reformat copyright notice.
25610 * ctype/ctype.h: Likewise.
25611 * debug/swprintf_chk.c: Likewise.
25612 * elf/dl-cache.c: Likewise.
25613 * elf/dl-debug.c: Likewise.
25614 * elf/dl-object.c: Likewise.
25615 * grp/initgroups.c: Likewise.
25616 * hurd/Makefile: Likewise.
25617 * hurd/hurd/signal.h: Likewise.
25618 * hurd/hurdfault.c: Likewise.
25619 * hurd/hurdioctl.c: Likewise.
25620 * hurd/hurdlookup.c: Likewise.
25621 * hurd/intr-msg.c: Likewise.
25622 * iconv/gconv_open.c: Likewise.
25623 * libio/swprintf.c: Likewise.
25624 * locale/lc-ctype.c: Likewise.
25625 * locale/nl_langinfo.c: Likewise.
25626 * mach/Machrules: Likewise.
25627 * mach/Makefile: Likewise.
25628 * malloc/obstack.h: Likewise.
25629 * manual/Makefile: Likewise.
25630 * manual/tsort.awk: Likewise.
25631 * misc/bits/stab.def: Likewise.
25632 * nis/nis_print_group_entry.c: Likewise.
25633 * nis/nis_table.c: Likewise.
25634 * nis/nss_compat/compat-pwd.c: Likewise.
25635 * nis/nss_compat/compat-spwd.c: Likewise.
25636 * po/Makefile: Likewise.
25637 * posix/fnmatch.c: Likewise.
25638 * posix/regex.h: Likewise.
25639 * resolv/Makefile: Likewise.
25640 * resolv/nss_dns/dns-network.c: Likewise.
25641 * resolv/res_hconf.c: Likewise.
25642 * scripts/gen-sorted.awk: Likewise.
25643 * soft-fp/soft-fp.h: Likewise.
25644 * stdio-common/printf.h: Likewise.
25645 * stdlib/monetary.h: Likewise.
25646 * stdlib/random.c: Likewise.
25647 * stdlib/random_r.c: Likewise.
25648 * sysdeps/generic/Makefile: Likewise.
25649 * sysdeps/gnu/Makefile: Likewise.
25650 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
25651 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
25652 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
25653 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
25654 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
25655 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25656 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
25657 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
25658 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
25659 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
25660 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
25661 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
25662 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
25663 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
25664 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
25665 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
25666 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
25667 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
25668 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
25669 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
25670 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
25671 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
25672 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
25673 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
25674 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
25675 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
25676 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
25677 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
25678 * sysdeps/mach/hurd/errnos.awk: Likewise.
25679 * sysdeps/mach/hurd/fork.c: Likewise.
25680 * sysdeps/mach/hurd/getcwd.c: Likewise.
25681 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
25682 * sysdeps/mach/hurd/mmap.c: Likewise.
25683 * sysdeps/mach/hurd/utimes.c: Likewise.
25684 * sysdeps/mach/hurd/xmknod.c: Likewise.
25685 * sysdeps/posix/profil.c: Likewise.
25686 * sysdeps/posix/readdir_r.c: Likewise.
25687 * sysdeps/powerpc/bits/mathdef.h: Likewise.
25688 * sysdeps/powerpc/bits/setjmp.h: Likewise.
25689 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
25690 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
25691 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
25692 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
25693 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
25694 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
25695 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
25696 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
25697 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
25698 * sysdeps/pthread/lio_listio.c: Likewise.
25699 * sysdeps/sparc/dl-procinfo.h: Likewise.
25700 * sysdeps/unix/i386/sysdep.S: Likewise.
25701 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
25702 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
25703 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
25704 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
25705 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
25706 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
25707 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
25708 * sysdeps/unix/sysv/linux/speed.c: Likewise.
25709 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
25710 * sysdeps/wordsize-32/divdi3.c: Likewise.
25711 * time/sys/time.h: Likewise.
25712 * wcsmbs/Makefile: Likewise.
25714 2013-01-01 David S. Miller <davem@davemloft.net>
25716 * po/fr.po: Update from translation team.
25718 * catgets/gencat.c: Update copyright year.
25719 * csu/version.c: Likewise.
25720 * debug/catchsegv.sh: Likewise.
25721 * debug/pcprofiledump.c: Likewise.
25722 * debug/xtrace.sh: Likewise.
25723 * elf/ldconfig.c: Likewise.
25724 * elf/ldd.bash.in: Likewise.
25725 * elf/pldd.c: Likewise.
25726 * elf/sotruss.ksh: Likewise.
25727 * elf/sprof.c: Likewise.
25728 * iconv/iconv_prog.c: Likewise.
25729 * iconv/iconvconfig.c: Likewise.
25730 * locale/programs/locale.c: Likewise.
25731 * locale/programs/localedef.c: Likewise.
25732 * login/programs/pt_chown.c: Likewise.
25733 * malloc/memusage.sh: Likewise.
25734 * malloc/memusagestat.c: Likewise.
25735 * malloc/mtrace.pl: Likewise.
25736 * nscd/nscd.c: Likewise.
25737 * nss/getent.c: Likewise.
25738 * nss/makedb.c: Likewise.
25739 * posix/getconf.c: Likewise.
25741 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
25743 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
25746 2012-12-30 Mike Frysinger <vapier@gentoo.org>
25748 * math/bits/mathcalls.h (modf): Use __nonnull.
25750 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
25752 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
25753 (split): Use macro CN instead of the bare value.
25754 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
25756 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
25757 instead of the bare value.
25758 (power1): Likewise.
25760 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25762 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
25764 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
25766 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
25768 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
25769 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
25770 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
25771 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
25773 2012-12-28 Andreas Jaeger <aj@suse.de>
25775 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
25776 values are from Linux 3.7.
25778 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
25779 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
25781 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25783 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
25786 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
25788 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
25789 variables with preprocessor constants.
25790 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
25791 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
25792 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
25794 2012-12-27 Bruno Haible <bruno@clisp.org>
25797 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
25800 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
25802 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
25803 and use variable directly.
25804 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
25806 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
25808 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
25809 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
25811 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
25812 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
25813 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
25814 include directive. Remove local variable MPONE.
25815 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
25816 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
25817 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
25819 2012-12-25 David S. Miller <davem@davemloft.net>
25821 * version.h (RELEASE): Set to "development".
25822 (VERSION): Set to "2.17.90".
25823 * NEWS: Add 2.18 section.
25825 2012-12-21 David S. Miller <davem@davemloft.net>
25827 * po/hr.po: Update from translation team.
25829 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25831 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
25833 2012-12-19 Steve Ellcey <sellcey@mips.com>
25835 * NEWS: Mention new memcpy for MIPS.
25837 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
25839 * manual/contrib.texi (Contributors): Spelling correction.
25841 2012-12-15 David S. Miller <davem@davemloft.net>
25843 * po/ru.po: Update from translation team.
25845 2012-12-13 David S. Miller <davem@davemloft.net>
25847 * NEWS: Mention IFUNC testsuite enhancements.
25849 * po/pl.po: Update from translation team.
25850 * po/bg.po: Likewise.
25852 * manual/contrib.texi (Contributors): Update entries for Hongjiu
25853 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
25855 2012-12-11 David S. Miller <davem@davemloft.net>
25857 * po/sv.po: Update from translation team.
25859 * po/vi.po: Update from translation team.
25861 * po/cs.po: Update from translation team.
25863 * po/de.po: Update from translation team.
25864 * po/eo.po: Likewise.
25865 * po/nl.po: Likewise.
25867 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
25870 * manual/argp.texi (Argp Helper Functions): Move node to follow
25871 Argp Parsing State.
25874 * manual/conf.texi (Limits on File System Capacity): Mention if
25875 terminating null is included in the max size.
25877 2012-12-10 Andreas Jaeger <aj@suse.de>
25879 * po/cs.po: Update from translation team.
25881 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
25883 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
25884 void pointer and cast to uintptr_t.
25885 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
25887 * sysdeps/s390/s390-64/memcpy.S: Likewise.
25888 * sysdeps/s390/s390-64/memset.S: Likewise.
25890 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
25893 * menual/message.texi (Message Translation): Fix typos.
25894 (Helper programs for gettext): Likewise.
25896 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
25899 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
25902 2012-12-07 David S. Miller <davem@davemloft.net>
25904 * po/libc.pot: Update.
25906 2012-12-07 Richard Henderson <rth@redhat.com>
25909 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
25910 normal/normal case to before the switch.
25911 (_FP_DIV): Likewise.
25913 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
25914 Mike Frysinger <vapier@gentoo.org>
25916 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
25917 check for __NR_fadvise64_64.
25919 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
25921 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
25922 0, not just to plain "0" as a statement.
25923 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
25926 2012-12-06 Joseph Myers <joseph@codesourcery.com>
25928 * NEWS: Use sourceware.org in Bugzilla URL.
25930 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
25932 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
25933 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
25935 * stdio-common/tst-put-error.c (do_test): Add newline to the
25936 padded test to ensure flush.
25938 2012-12-05 Jeff Law <law@redhat.com>
25940 * sunrpc/etc.rpc (fedfs_admin): Add entry.
25942 2012-12-05 Joseph Myers <joseph@codesourcery.com>
25944 * README: Don't refer to ports add-on as distributed separately.
25945 Mention AArch64 in list of systems supported in the ports add-on.
25947 * LICENSES: Add more non-FSF copyright and license notices.
25949 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
25952 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
25954 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
25955 10000 as width of padded output.
25957 2012-12-04 Joseph Myers <joseph@codesourcery.com>
25959 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
25961 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
25962 variable LX with __attribute__ ((unused)).
25963 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
25965 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
25966 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
25967 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
25968 with __attribute__ ((unused)).
25970 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
25972 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
25974 2012-12-04 Joseph Myers <joseph@codesourcery.com>
25976 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
25977 (CFLAGS-nldbl-acos.c): New variable.
25978 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
25979 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
25980 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
25981 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
25982 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
25983 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
25984 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
25985 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
25986 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
25987 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
25988 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
25989 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
25990 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
25991 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
25992 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
25993 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
25994 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
25995 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
25996 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
25997 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
25998 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
25999 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
26000 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
26001 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
26002 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
26003 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
26004 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
26005 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
26006 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
26007 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
26008 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
26009 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
26010 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
26011 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
26012 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
26013 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
26014 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
26015 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
26016 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
26017 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
26018 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
26019 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
26020 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
26021 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
26022 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
26023 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
26024 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
26025 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
26026 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
26027 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
26028 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
26029 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
26030 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
26031 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
26032 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
26033 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
26034 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
26035 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
26036 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
26037 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
26038 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
26039 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
26040 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
26041 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
26042 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
26043 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
26044 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
26045 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
26046 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
26047 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
26048 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
26049 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
26050 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
26051 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
26052 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
26053 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
26054 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
26055 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
26056 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
26057 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
26058 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
26059 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
26060 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
26061 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
26062 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
26063 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
26064 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
26065 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
26066 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
26067 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
26068 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
26069 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
26070 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
26071 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
26072 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
26073 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
26074 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
26076 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
26077 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
26080 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
26081 whole low double instead of just low 47 bits when splitting values
26084 2012-12-03 Allan McRae <allan@archlinux.org>
26086 * manual/stdio.texi (Predefined Printf Handlers): Remove
26087 @hsep and @vsep usage.
26089 2012-12-03 Mike Frysinger <vapier@gentoo.org>
26091 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
26092 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
26094 2012-12-03 Jeff Law <law@redhat.com>
26096 * time/sys/time.h (settimeofday): Do not mark TV argument
26099 2012-12-01 Mike Frysinger <vapier@gentoo.org>
26101 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
26102 when currently writing and seek to current position when not.
26103 * libio/Makefile (tests): Remove bug-fclose1.
26104 * libio/bug-fclose1.c: Delete.
26106 2012-12-01 Joseph Myers <joseph@codesourcery.com>
26108 * manual/arith.texi (feenableexcept): Fix typo.
26109 (fedisableexcept): Likewise.
26111 2012-11-30 Roland McGrath <roland@hack.frob.com>
26113 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
26114 second, differently-typed declaration, rather than a cast.
26116 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
26118 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
26119 * include/rpc/svc.h: ... here.
26121 2012-11-30 Aurelien Jarno <aurel32@debian.org>
26124 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
26125 depending n and resplen2 to catch cases where answer
26128 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
26130 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
26131 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
26133 2012-11-29 Mike Frysinger <vapier@gentoo.org>
26135 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
26137 2012-11-29 Roland McGrath <roland@hack.frob.com>
26139 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
26141 2012-11-28 Jeff Law <law@redhat.com>
26144 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
26145 dataset_temporary. Track alloca usage into alloca_used.
26146 If dataset is large allocate and release it via malloc/free.
26148 2012-06-04 Florian Weimer <fweimer@redhat.com>
26151 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
26153 2012-11-28 David S. Miller <davem@davemloft.net>
26155 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26157 2012-11-28 Joseph Myers <joseph@codesourcery.com>
26160 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
26161 of pi/2 rounded to nearest to 64 bits.
26162 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
26163 nearest to 64 bits.
26164 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
26167 2012-11-28 Jeff Law <law@redhat.com>
26168 Martin Osvald <mosvald@redhat.com>
26171 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
26172 * sunrpc/svc.c: Include time.h.
26173 (__svc_accept_failed): New function.
26174 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
26175 any reason other than EINTR, call __svc_accept_failed.
26176 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
26177 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
26179 2012-11-28 Andreas Schwab <schwab@suse.de>
26181 * scripts/abilist.awk: Also handle indirect functions in .opd
26184 2012-11-28 Joseph Myers <joseph@codesourcery.com>
26187 * sysdeps/x86/fpu/powl_helper.c: New file.
26188 * sysdeps/x86/fpu/Makefile: Likewise.
26189 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
26191 (__ieee754_powl): Use __powl_helper for finite arguments except
26192 integer exponents below 8.
26193 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
26195 (__ieee754_powl): Use __powl_helper for finite arguments except
26196 integer exponents below 8.
26197 * math/libm-test.inc (pow_test): Add more tests and enable some
26198 previously disabled tests.
26199 * sysdeps/i386/fpu/libm-test-ulps: Update.
26200 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26202 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
26203 Carlos O'Donell <carlos_odonell@mentor.com>
26205 * nss/makedb.c (is_prime): Assert that input is odd and greater
26206 than 4. Note that fact in a comment too.
26207 (next_prime): Add 4 to input.
26209 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
26212 * libio/Makefile (tests): Add test case tst-fwrite-error.
26213 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
26214 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
26215 * libio/tst-fwrite-error.c: New test case.
26217 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
26219 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
26220 before casting to void *.
26221 * include/libc-internal.h (__pointer_type): New macro.
26222 (__integer_if_pointer_type_sub): Likewise.
26223 (__integer_if_pointer_type): Likewise.
26224 (cast_to_integer): Likewise.
26225 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
26226 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
26227 before casting to atomic64_t.
26228 (atomic_exchange_acq): Likewise.
26229 (__arch_exchange_and_add_body): Likewise.
26230 (__arch_add_body): Likewise.
26231 (atomic_add_negative): Likewise.
26232 (atomic_add_zero): Likewise.
26234 2012-11-26 Joseph Myers <joseph@codesourcery.com>
26236 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
26237 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
26238 (add_fdes): Likewise.
26239 (linear_search_fdes): Likewise.
26240 (binary_search_unencoded_fdes): Likewise.
26242 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
26244 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
26246 2012-11-24 Adam Conrad <adconrad@0c3.net>
26248 * configure.in: Autodetect C++ header directories.
26249 * configure: Regenerated.
26251 2012-11-23 Mike Frysinger <vapier@gentoo.org>
26253 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
26255 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
26257 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26259 2012-11-22 Joseph Myers <joseph@codesourcery.com>
26261 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
26262 LDBL_MANT_DIG == 106]: Disable some tests.
26263 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
26265 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
26269 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
26270 input for small inputs. Return +/- pi/2 for large inputs.
26271 * math/libm-test.inc (atan_test): Add more tests.
26273 * sysdeps/generic/unwind-dw2-fde-glibc.c
26274 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
26275 __attribute__ ((unused)).
26278 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
26279 x * y if x and y are nonzero and z is zero.
26282 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
26283 nonzero exponents with absolute value below 0x1p-117 to +/-
26287 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
26288 up arguments below 2**-450, not just those below 2**-500.
26289 * math/libm-test.inc (hypot_test): Add another test.
26292 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
26293 Return a+b for ratio over 2**120, not 2**60.
26294 * math/libm-test.inc (hypot_test): Add another test.
26296 * math/libm-test.inc (clog_test): Use
26297 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
26298 (clog10_test): Likewise.
26301 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
26303 2012-11-22 Andreas Schwab <schwab@suse.de>
26305 * sysdeps/i386/fpu/libm-test-ulps: Update.
26307 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
26309 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
26310 printf output with newline.
26312 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
26315 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
26316 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
26317 -z nodlopen, -z initfirst and -z execstack support.
26318 * configure: Regenerated.
26320 * elf/elf.h (DF_1_NODIRECT): New macro.
26321 (DF_1_IGNMULDEF): Likewise.
26322 (DF_1_NOKSYMS): Likewise.
26323 (DF_1_NOHDR): Likewise.
26324 (DF_1_EDITED): Likewise.
26325 (DF_1_NORELOC): Likewise.
26326 (DF_1_SYMINTPOSE): Likewise.
26327 (DF_1_GLOBAUDIT): Likewise.
26328 (DF_1_SINGLETON): Likewise.
26329 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
26330 DT_1_SUPPORTED_MASK bits.
26331 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
26333 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
26335 * sysdeps/unix/make-syscalls.sh: Document prefixes.
26337 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
26339 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
26342 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
26343 (sendmmsg): Move declarations...
26344 * socket/sys/socket.h: ... here.
26345 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
26346 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
26348 * socket/recvmmsg.c: ... this new file.
26349 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
26350 (sendmmsg): Rename to __sendmmsg, create weak alias and make
26351 definition of __sendmmsg hidden.
26352 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
26353 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
26354 Move ENOSYS stub into and include it from...
26355 * socket/sendmmsg.c: ... this new file.
26356 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
26357 (sysdep_routines): Move recvmmsg and sendmmsg...
26358 * socket/Makefile (routines): ... here.
26359 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
26360 (GLIBC_PRIVATE): Add __sendmmsg.
26361 * include/sys/socket.h (__sendmmsg): Add declarations.
26362 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
26365 2012-11-20 Joseph Myers <joseph@codesourcery.com>
26367 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
26368 variable I1 with __attribute__ ((unused)).
26369 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
26371 2012-11-19 Joseph Myers <joseph@codesourcery.com>
26373 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
26374 DUMMY variables with __attribute__ ((unused)).
26376 * bits/byteswap.h: Include <bits/types.h>.
26377 (__bswap_64): Use __uint64_t instead of unsigned long long int.
26379 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
26381 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
26382 string_t. Do not manually set errno.
26383 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
26384 length with __strnlen. Make sure to both set errno and return it on
26387 2012-11-19 David S. Miller <davem@davemloft.net>
26389 With help from Joseph Myers.
26390 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
26391 very large arguments properly.
26392 * math/libm-test.inc (atan_test): New tests.
26393 (atan2_test): New tests.
26394 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26395 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26397 2012-11-19 Joseph Myers <joseph@codesourcery.com>
26400 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
26403 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
26404 [POSIX] (EADDRNOTAVAIL): Likewise.
26405 [POSIX] (EAFNOSUPPORT): Likewise.
26406 [POSIX] (EALREADY): Likewise.
26407 [POSIX] (ECONNABORTED): Likewise.
26408 [POSIX] (ECONNREFUSED): Likewise.
26409 [POSIX] (ECONNRESET): Likewise.
26410 [POSIX] (EDESTADDRREQ): Likewise.
26411 [POSIX] (EDQUOT): Likewise.
26412 [POSIX] (EHOSTUNREACH): Likewise.
26413 [POSIX] (EIDRM): Likewise.
26414 [POSIX] (EISCONN): Likewise.
26415 [POSIX] (ELOOP): Likewise.
26416 [POSIX] (EMULTIHOP): Likewise.
26417 [POSIX] (ENETDOWN): Likewise.
26418 [POSIX] (ENETUNREACH): Likewise.
26419 [POSIX] (ENOBUFS): Likewise.
26420 [POSIX] (ENODATA): Likewise.
26421 [POSIX] (ENOLINK): Likewise.
26422 [POSIX] (ENOMSG): Likewise.
26423 [POSIX] (ENOPROTOOPT): Likewise.
26424 [POSIX] (ENOSR): Likewise.
26425 [POSIX] (ENOSTR): Likewise.
26426 [POSIX] (ENOTCONN): Likewise.
26427 [POSIX] (ENOTSOCK): Likewise.
26428 [POSIX] (EOPNOTSUPP): Likewise.
26429 [POSIX] (EOVERFLOW): Likewise.
26430 [POSIX] (EPROTO): Likewise.
26431 [POSIX] (EPROTONOSUPPORT): Likewise.
26432 [POSIX] (EPROTOTYPE): Likewise.
26433 [POSIX] (ESTALE): Likewise.
26434 [POSIX] (ETIME): Likewise.
26435 [POSIX] (ETXTBSY): Likewise.
26436 [POSIX] (EWOULDBLOCK): Likewise.
26437 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
26438 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
26439 [POSIX] (SEEK_CUR): Likewise.
26440 [POSIX] (SEEK_END): Likewise.
26441 [POSIX || UNIX98] (mode_t): Do not require.
26442 [POSIX] (off_t): Likewise.
26443 [POSIX] (pid_t): Likewise.
26444 [POSIX] (sys/stat.h): Do not allow header.
26445 [POSIX] (unistd.h): Likewise.
26446 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
26447 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
26448 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
26449 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
26451 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
26452 sigevent): Specify elements.
26453 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
26455 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
26456 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
26458 * conform/data/cpio.h-data [POSIX]: Disable whole file.
26459 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
26460 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
26461 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
26462 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
26463 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
26464 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
26465 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
26466 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
26467 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
26468 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
26469 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
26470 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
26471 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
26473 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
26475 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
26477 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
26479 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
26480 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
26481 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
26482 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
26483 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
26484 Specify lower bound on value.
26485 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
26486 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
26487 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
26488 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
26489 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
26490 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
26491 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
26492 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
26494 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
26496 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
26497 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
26498 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
26499 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
26500 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
26501 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
26502 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
26503 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
26504 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
26505 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
26506 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
26507 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
26508 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
26509 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
26510 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
26511 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
26513 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
26515 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
26516 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
26517 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
26518 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
26519 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
26520 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
26522 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
26523 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
26524 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
26525 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
26526 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
26527 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
26528 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
26530 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
26531 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
26532 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
26533 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
26534 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
26535 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
26536 specify as optional.
26537 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
26538 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
26539 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
26540 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
26541 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
26542 [XPG3] (NL_LANGMAX): Likewise.
26543 [POSIX || XPG3] (NL_MSGMAX): Likewise.
26544 [POSIX || XPG3] (NL_NMAX): Likewise.
26545 [POSIX || XPG3] (NL_SETMAX): Likewise.
26546 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
26547 [XPG3] (NZERO): Likewise.
26548 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
26549 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
26550 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
26551 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
26552 (REG_ERANGE): Expect.
26553 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
26555 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
26556 Use (void) in prototype.
26557 [POSIX] (*_t): Allow.
26558 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
26559 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
26560 (WRDE_BADVAL): Expect.
26562 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
26564 [XPG3 || XPG4] (O_RSYNC): Likewise.
26565 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
26567 [XPG3 || XPG4] (pthread_sigmask): Likewise.
26568 [XPG3 || XPG4] (sigqueue): Likewise.
26569 [XPG3 || XPG4] (sigtimedwait): Likewise.
26570 [XPG3 || XPG4] (sigwaitinfo): Likewise.
26571 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
26572 [XPG3 || XPG4] (vsnprintf): Likewise.
26573 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
26575 [XPG3 || XPG4] (blksize_t): Likewise.
26576 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
26578 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
26579 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
26580 [XPG3 || XPG4] (struct itimerspec): Likewise.
26581 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
26582 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
26583 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
26584 [XPG3 || XPG4] (clockid_t): Likewise.
26585 [XPG3 || XPG4] (timer_t): Likewise.
26586 [XPG3 || XPG4] (clock_getres): Likewise.
26587 [XPG3 || XPG4] (clock_gettime): Likewise.
26588 [XPG3 || XPG4] (clock_settime): Likewise.
26589 [XPG3 || XPG4] (nanosleep): Likewise.
26590 [XPG3 || XPG4] (timer_create): Likewise.
26591 [XPG3 || XPG4] (timer_delete): Likewise.
26592 [XPG3 || XPG4] (timer_gettime): Likewise.
26593 [XPG3 || XPG4] (timer_getoverrun): Likewise.
26594 [XPG3 || XPG4] (timer_settime): Likewise.
26595 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
26596 [XPG3 || XPG4] (getlogin_r): Likewise.
26597 [XPG3 || XPG4] (pread): Likewise.
26598 [XPG3 || XPG4] (pthread_atfork): Likewise.
26599 [XPG3 || XPG4] (pwrite): Likewise.
26602 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
26605 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
26607 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
26608 finalizing MALLSTREAM.
26610 * sysdeps/mach/hurd/syncfs.c: New file.
26612 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
26615 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
26616 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
26617 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
26618 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
26619 (_nss_dns_gethostbyname4_r): Likewise.
26620 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
26621 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
26623 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
26626 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
26628 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
26630 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
26631 * elf/cache.c (print_entry): Print ",AArch64" for
26634 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
26635 * elf/cache.c (print_entry): Print ",hard-float" for
26638 2012-11-18 David S. Miller <davem@davemloft.net>
26640 With help from Joseph Myers.
26641 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
26643 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
26645 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
26646 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
26648 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
26649 * math/libm-test.inc (y0_test): New tests.
26650 (y1_test): New tests.
26651 * sysdeps/i386/fpu/libm-test-ulps: Update.
26652 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26653 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26655 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
26657 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
26659 * configure: Regenerated.
26661 2012-11-17 David S. Miller <davem@davemloft.net>
26664 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
26665 nonzero exponents with absolute value below 0x1p-128 to +/-
26668 2012-11-17 Joseph Myers <joseph@codesourcery.com>
26670 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
26672 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
26674 * posix/getconf-speclist.c: New file.
26675 * posix/posix-envs.def: Likewise.
26676 * posix/confstr.c (START_ENV_GROUP): New macro.
26677 (END_ENV_GROUP): Likewise.
26678 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
26679 (KNOWN_PRESENT_ENV_STRING): Likewise.
26680 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
26681 (UNKNOWN_ENVIRONMENT): Likewise.
26682 (confstr): Include posix-envs.def instead of handling
26683 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
26684 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
26685 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
26686 (END_ENV_GROUP): Likewise.
26687 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
26688 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
26689 (UNKNOWN_ENVIRONMENT): Likewise.
26690 (__sysconf): Include posix-envs.def instead of handling associated
26691 cases directly here.
26692 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
26693 preprocessing getconf-speclist.c rather than running getconf or
26694 generating empty file.
26696 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
26698 * scripts/check-local-headers.sh: Ignore 'mach' headers.
26700 2012-11-16 Andrej Lajovic <natrij@gmail.com>
26703 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
26705 2012-11-16 David S. Miller <davem@davemloft.net>
26707 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
26708 smaller than LDBL_EPSILON/2.0L, just return xm1.
26710 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
26712 * elf/tst-array1.c (init): Set constructor priority to 1000.
26713 (fini): Set destructor priority to 1000.
26714 * elf/tst-array2dep.c: Likewise.
26716 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
26719 * libio/fileops.c (_IO_new_file_write): Correctly return error.
26720 (_IO_new_file_xsputn): Also return EOF if none of the input
26721 data was written when overflow failed.
26722 * libio/iopadn.c (_IO_padn): Likewise.
26723 * libio/iowpadn.c (_IO_wpadn): Likewise.
26724 * stdio-common/tst-put-error.c: Add copyright notice.
26725 (do_test): Add case for printing padded string.
26726 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
26727 _IO_padn returned error.
26728 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
26729 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
26732 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
26734 * libio/libioP.h: Add comment note that the references to C++
26735 bits are now obsolete.
26737 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
26739 * math/libm-test.inc (check_complex): Use asprintf.
26741 2012-11-14 Joseph Myers <joseph@codesourcery.com>
26743 * debug/pcprofiledump.c (print_version): Update copyright year.
26744 * malloc/memusagestat.c (print_version): Likewise.
26746 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
26749 * elf/Makefile (tests): Add tst-audit8.
26750 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
26751 ($(objpfx)tst-audit8.out): New target.
26752 (tst-audit8-ENV): New variable.
26753 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
26754 audit if l_reloc_result is NULL.
26755 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
26756 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
26757 * elf/tst-audit8.c: New file.
26759 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
26761 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
26762 * misc/Makefile (CFLAGS-select.c): Define.
26763 * posix/Makefile (CFLAGS-pause.c): Define.
26765 2012-11-13 David S. Miller <davem@davemloft.net>
26767 * crypt/Makefile: Move test targets after toplevel Rules
26768 inclusion. Grab any necessary sysdep routines when linking.
26769 * crypt/md5.c (md5_process_block): Remove define, we will always
26770 name it __md5_process_block.
26771 (md5_finish_ctx): Update md5_process_block call.
26772 (md5_stream): Likewise.
26773 (md5_process_bytes): Likewise.
26774 (md5_process_block): Rename to __md5_process_block and move to ...
26775 * crypt/md5-block.c: ... here.
26776 * crypt/sha256.c (sha256_process_block): Move to ...
26777 * crypt/sha256-block.c: ... here.
26778 * crypt/sha512.c (sha512_process_block): Move to ...
26779 * crypt/sha512-block.c: ... here.
26780 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
26782 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
26783 * sysdeps/sparc/sparc64/multiarch/Makefile
26784 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
26786 (localedef-aux): Add md5 crypto assembler when in locale subdir.
26787 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
26789 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
26790 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
26791 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
26792 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
26793 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
26794 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
26795 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
26796 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
26797 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
26799 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
26800 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
26802 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
26804 2012-11-13 Joseph Myers <joseph@codesourcery.com>
26806 * timezone/tzselect.ksh: Update from tzcode git revision
26807 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
26808 * timezone/zdump.c: Likewise.
26809 * timezone/zic.c: Likewise.
26810 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
26811 in TZVERSION setting, not $(PKGVERSION).
26812 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
26813 REPORT_BUGS_TO settings.
26816 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
26819 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
26821 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
26822 detection to immediately after _FP_ROUND().
26823 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
26826 2012-11-11 David S. Miller <davem@davemloft.net>
26828 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
26830 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
26831 __close rather than their public counterparts.
26833 2012-11-10 Joseph Myers <joseph@codesourcery.com>
26835 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
26837 [UNIX98] (sem_timedwait): Do not expect.
26838 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
26839 [XPG4 || UNIX98] (sockatmark): Do not expect.
26840 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
26841 (clock_getcpuclockid): Do not expect.
26842 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
26843 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
26845 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
26846 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
26847 [UNIX98] (vwscanf): Likewise.
26848 [UNIX98] (vswscanf): Likewise.
26850 2012-11-09 Joseph Myers <joseph@codesourcery.com>
26852 * timezone/version.h: Remove file.
26853 * timezone/README: Do not refer to version.h.
26854 * timezone/Makefile ($(objpfx)zic.o): New dependency on
26855 $(objpfx)version.h.
26856 ($(objpfx)zdump.o): Likewise.
26857 ($(objpfx)version.h): New target.
26859 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
26861 * timezone/README: Don't mention modification to tzselect.ksh.
26862 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
26863 work on unmodified tzselect.ksh. Substitute version numbers in
26866 * Makefile (format-me): Remove.
26867 (INSTALL): Adjust indentation. Use commands directly instead of
26868 using $(format-me).
26870 * aclocal.m4 (ACX_PKGVERSION): New macro.
26871 (ACX_BUGURL): Likewise.
26872 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
26873 (PKGVERSION): New AC_DEFINE_UNQUOTED.
26874 (REPORT_BUGS_TO): Likewise.
26875 * configure: Regenerated.
26876 * config.h.in (PKGVERSION): New macro.
26877 (REPORT_BUGS_TO): Likewise.
26878 * config.make.in (PKGVERSION): New variable.
26879 (PKGVERSION_TEXI): Likewise.
26880 (REPORT_BUGS_TO): Likewise.
26881 (REPORT_BUGS_TEXI): Likewise.
26882 * Makefile (format-me): Use -I$(common-objpfx)manual.
26883 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
26884 ($(common-objpfx)manual/%): New target.
26885 (manual/%): Remove target.
26886 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
26887 (print_version): Use PKGVERSION.
26888 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
26889 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
26890 and REPORT_BUGS_TO.
26891 ($(objpfx)xtrace): Likewise.
26892 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
26893 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
26894 (print_version): Use PKGVERSION.
26895 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
26896 (do_version): Use PKGVERSION.
26897 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
26899 (common-ldd-rewrite): Likewise.
26900 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
26901 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
26902 (print_version): Use PKGVERSION.
26903 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
26904 * elf/pldd.c (argp_program_bug_address): Remove variable.
26905 (more_help): New function.
26906 (argp): Use more_help.
26907 (print_version): Use PKGVERSION.
26908 * elf/sln.c (main): Use PKGVERSION.
26909 (usage): Use REPORT_BUGS_TO.
26910 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
26911 (top level): Use PKGVERSION.
26912 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
26913 (print_version): Use PKGVERSION.
26914 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
26915 (print_version): Use PKGVERSION.
26916 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
26917 (print_version): Use PKGVERSION.
26918 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
26919 (print_version): Use PKGVERSION.
26920 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
26921 (print_version): Use PKGVERSION.
26922 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
26923 (print_version): Use PKGVERSION.
26924 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
26926 ($(objpfx)memusage): Likewise.
26927 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
26928 (do_version): Use PKGVERSION.
26929 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
26930 (print_version): Use PKGVERSION.
26931 * malloc/mtrace.pl ($PACKAGE): Remove variable.
26932 ($PKGVERSION): New variable.
26933 ($REPORT_BUGS_TO): Likewise.
26934 (usage): Use $REPORT_BUGS_TO.
26935 (top level): Use $PKGVERSION.
26936 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
26937 ($(objpfx)pkgvers.texi): New rule.
26938 ($(objpfx)stamp-pkgvers): Likewise.
26939 * manual/install.texi: Include pkgvers.texi.
26940 (--with-pkgversion): Document new configure option.
26941 (--with-bugurl): Likewise.
26942 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
26943 than necessarily for this particular distribution. Use
26944 REPORT_BUGS_TO for where to report bugs.
26945 * INSTALL: Regenerated.
26946 * manual/libc.texinfo: Include pkgvers.texi.
26947 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
26948 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
26949 (print_version): Use PKGVERSION.
26950 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
26951 (print_version): Use PKGVERSION.
26952 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
26953 (print_version): Use PKGVERSION.
26954 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
26955 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
26957 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
26958 (print_version): Use PKGVERSION.
26959 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
26960 (print_version): Use PKGVERSION.
26961 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
26964 * timezone/checktab.awk: Update from tzcode 2012i.
26965 * timezone/ialloc.c: Likewise.
26966 * timezone/private.h: Likewise.
26967 * timezone/scheck.c: Likewise.
26968 * timezone/tzfile.h: Likewise.
26969 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
26970 (TZVERSION): Hardcode tzcode version number.
26971 * timezone/zdump.c: Update from tzcode 2012i.
26972 * timezone/zic.c: Likewise.
26973 * timezone/version.h: New file.
26974 * timezone/README: Describe version.h. Update upstream location.
26977 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
26978 (mktemp): Enable declaration.
26979 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
26980 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
26981 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
26982 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
26984 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
26986 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
26988 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
26990 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
26992 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
26996 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
26997 offset in buffer as u_int32_t not u_long. Consistently use memcpy
26998 for copies of such integer values.
26999 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
27000 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
27002 2012-11-09 Andreas Jaeger <aj@suse.de>
27004 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
27005 definitions and declarations that are provided by
27006 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
27008 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27010 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
27011 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
27012 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
27015 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
27017 * elf/elf.h: Update comment before AArch64 relocations.
27019 2012-11-07 David S. Miller <davem@davemloft.net>
27021 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
27022 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
27023 (__start_context): Declare.
27024 (__makecontext_ret): Delete.
27025 (__makecontext): Hook up __start_context instead of
27027 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
27028 (sysdep_routines): Add __start_context when in stdlib.
27030 2012-11-07 Joseph Myers <joseph@codesourcery.com>
27032 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
27033 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
27034 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
27036 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
27037 (READELF): New variable. Use it instead of hardcoded "readelf".
27039 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
27041 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
27042 * sysdeps/x86/Makefile: Here.
27043 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
27044 * sysdeps/x86/tst-xmmymm.sh: This.
27046 2012-11-07 Joseph Myers <joseph@codesourcery.com>
27048 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
27050 [UNIX98] (pthread_barrier_t): Do not expect.
27051 [UNIX98] (pthread_barrierattr_t): Likewise.
27052 [UNIX98] (pthread_spinlock_t): Likewise.
27053 [UNIX98] (pthread_barrier_destroy): Likewise.
27054 [UNIX98] (pthread_barrier_init): Likewise.
27055 [UNIX98] (pthread_barrier_wait): Likewise.
27056 [UNIX98] (pthread_barrierattr_destroy): Likewise.
27057 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
27058 [UNIX98] (pthread_barrierattr_init): Likewise.
27059 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
27060 [UNIX98] (pthread_getcpuclockid): Likewise.
27061 [UNIX98] (pthread_mutex_timedlock): Likewise.
27062 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
27063 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
27064 [UNIX98] (pthread_sigmask): Likewise.
27065 [UNIX98] (pthread_spin_destroy): Likewise.
27066 [UNIX98] (pthread_spin_init): Likewise.
27067 [UNIX98] (pthread_spin_lock): Likewise.
27068 [UNIX98] (pthread_spin_trylock): Likewise.
27069 [UNIX98] (pthread_spin_unlock): Likewise.
27070 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
27072 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
27073 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
27074 [XPG3 || XPG4] (pthread_cond_t): Likewise.
27075 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
27076 [XPG3 || XPG4] (pthread_key_t): Likewise.
27077 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
27078 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
27079 [XPG3 || XPG4] (pthread_once_t): Likewise.
27080 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
27081 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
27082 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
27083 [XPG3 || XPG4] (pthread_t): Likewise.
27085 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
27087 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
27089 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
27090 Change function return type to int.
27092 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
27093 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
27094 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
27095 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
27096 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
27097 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
27098 [!POSIX] (posix_madvise): Likewise.
27099 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
27101 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
27102 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
27103 (mode_t): Likewise.
27104 (posix_mem_offset): Likewise.
27105 (posix_typed_mem_get_info): Likewise.
27106 (posix_typed_mem_open): Likewise.
27108 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
27109 Change condition to [XOPEN2K8].
27111 * conform/conformtest.pl: Preprocess allow-header data with -x c
27112 instead of from stdin.
27113 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
27114 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
27115 [C99-based standards] (cerfc): Likewise.
27116 [C99-based standards] (cexp2): Likewise.
27117 [C99-based standards] (cexpm1): Likewise.
27118 [C99-based standards] (clog10): Likewise.
27119 [C99-based standards] (clog1p): Likewise.
27120 [C99-based standards] (clog2): Likewise.
27121 [C99-based standards] (clgamma): Likewise.
27122 [C99-based standards] (ctgamma): Likewise.
27123 [C99-based standards] (cerff): Likewise.
27124 [C99-based standards] (cerfcf): Likewise.
27125 [C99-based standards] (cexp2f): Likewise.
27126 [C99-based standards] (cexpm1f): Likewise.
27127 [C99-based standards] (clog10f): Likewise.
27128 [C99-based standards] (clog1pf): Likewise.
27129 [C99-based standards] (clog2f): Likewise.
27130 [C99-based standards] (clgammaf): Likewise.
27131 [C99-based standards] (ctgammaf): Likewise.
27132 [C99-based standards] (cerfl): Likewise.
27133 [C99-based standards] (cerfcl): Likewise.
27134 [C99-based standards] (cexp2l): Likewise.
27135 [C99-based standards] (cexpm1l): Likewise.
27136 [C99-based standards] (clog10l): Likewise.
27137 [C99-based standards] (clog1pl): Likewise.
27138 [C99-based standards] (clog2l): Likewise.
27139 [C99-based standards] (clgammal): Likewise.
27140 [C99-based standards] (ctgammal): Likewise.
27141 * conform/data/inttypes.h-data [C99-based standards]: Include
27142 stdint.h-data. Remove all expectations for stdint.h contents.
27143 [C99-based standards] (PRI*): Do not allow.
27144 [C99-based standards] (SCN*): Likewise.
27145 [C99-based standards] (*_t): Likewise.
27146 [C99-based-standards] (PRId8): Expect macro.
27147 [C99-based-standards] (PRIi8): Likewise.
27148 [C99-based-standards] (PRIo8): Likewise.
27149 [C99-based-standards] (PRIu8): Likewise.
27150 [C99-based-standards] (PRIx8): Likewise.
27151 [C99-based-standards] (PRIX8): Likewise.
27152 [C99-based-standards] (SCNd8): Likewise.
27153 [C99-based-standards] (SCNi8): Likewise.
27154 [C99-based-standards] (SCNo8): Likewise.
27155 [C99-based-standards] (SCNu8): Likewise.
27156 [C99-based-standards] (SCNx8): Likewise.
27157 [C99-based-standards] (PRIdLEAST8): Likewise.
27158 [C99-based-standards] (PRIiLEAST8): Likewise.
27159 [C99-based-standards] (PRIoLEAST8): Likewise.
27160 [C99-based-standards] (PRIuLEAST8): Likewise.
27161 [C99-based-standards] (PRIxLEAST8): Likewise.
27162 [C99-based-standards] (PRIXLEAST8): Likewise.
27163 [C99-based-standards] (SCNdLEAST8): Likewise.
27164 [C99-based-standards] (SCNiLEAST8): Likewise.
27165 [C99-based-standards] (SCNoLEAST8): Likewise.
27166 [C99-based-standards] (SCNuLEAST8): Likewise.
27167 [C99-based-standards] (SCNxLEAST8): Likewise.
27168 [C99-based-standards] (PRIdFAST8): Likewise.
27169 [C99-based-standards] (PRIiFAST8): Likewise.
27170 [C99-based-standards] (PRIoFAST8): Likewise.
27171 [C99-based-standards] (PRIuFAST8): Likewise.
27172 [C99-based-standards] (PRIxFAST8): Likewise.
27173 [C99-based-standards] (PRIXFAST8): Likewise.
27174 [C99-based-standards] (SCNdFAST8): Likewise.
27175 [C99-based-standards] (SCNiFAST8): Likewise.
27176 [C99-based-standards] (SCNoFAST8): Likewise.
27177 [C99-based-standards] (SCNuFAST8): Likewise.
27178 [C99-based-standards] (SCNxFAST8): Likewise.
27179 [C99-based-standards] (PRId16): Likewise.
27180 [C99-based-standards] (PRIi16): Likewise.
27181 [C99-based-standards] (PRIo16): Likewise.
27182 [C99-based-standards] (PRIu16): Likewise.
27183 [C99-based-standards] (PRIx16): Likewise.
27184 [C99-based-standards] (PRIX16): Likewise.
27185 [C99-based-standards] (SCNd16): Likewise.
27186 [C99-based-standards] (SCNi16): Likewise.
27187 [C99-based-standards] (SCNo16): Likewise.
27188 [C99-based-standards] (SCNu16): Likewise.
27189 [C99-based-standards] (SCNx16): Likewise.
27190 [C99-based-standards] (PRIdLEAST16): Likewise.
27191 [C99-based-standards] (PRIiLEAST16): Likewise.
27192 [C99-based-standards] (PRIoLEAST16): Likewise.
27193 [C99-based-standards] (PRIuLEAST16): Likewise.
27194 [C99-based-standards] (PRIxLEAST16): Likewise.
27195 [C99-based-standards] (PRIXLEAST16): Likewise.
27196 [C99-based-standards] (SCNdLEAST16): Likewise.
27197 [C99-based-standards] (SCNiLEAST16): Likewise.
27198 [C99-based-standards] (SCNoLEAST16): Likewise.
27199 [C99-based-standards] (SCNuLEAST16): Likewise.
27200 [C99-based-standards] (SCNxLEAST16): Likewise.
27201 [C99-based-standards] (PRIdFAST16): Likewise.
27202 [C99-based-standards] (PRIiFAST16): Likewise.
27203 [C99-based-standards] (PRIoFAST16): Likewise.
27204 [C99-based-standards] (PRIuFAST16): Likewise.
27205 [C99-based-standards] (PRIxFAST16): Likewise.
27206 [C99-based-standards] (PRIXFAST16): Likewise.
27207 [C99-based-standards] (SCNdFAST16): Likewise.
27208 [C99-based-standards] (SCNiFAST16): Likewise.
27209 [C99-based-standards] (SCNoFAST16): Likewise.
27210 [C99-based-standards] (SCNuFAST16): Likewise.
27211 [C99-based-standards] (SCNxFAST16): Likewise.
27212 [C99-based-standards] (PRId32): Likewise.
27213 [C99-based-standards] (PRIi32): Likewise.
27214 [C99-based-standards] (PRIo32): Likewise.
27215 [C99-based-standards] (PRIu32): Likewise.
27216 [C99-based-standards] (PRIx32): Likewise.
27217 [C99-based-standards] (PRIX32): Likewise.
27218 [C99-based-standards] (SCNd32): Likewise.
27219 [C99-based-standards] (SCNi32): Likewise.
27220 [C99-based-standards] (SCNo32): Likewise.
27221 [C99-based-standards] (SCNu32): Likewise.
27222 [C99-based-standards] (SCNx32): Likewise.
27223 [C99-based-standards] (PRIdLEAST32): Likewise.
27224 [C99-based-standards] (PRIiLEAST32): Likewise.
27225 [C99-based-standards] (PRIoLEAST32): Likewise.
27226 [C99-based-standards] (PRIuLEAST32): Likewise.
27227 [C99-based-standards] (PRIxLEAST32): Likewise.
27228 [C99-based-standards] (PRIXLEAST32): Likewise.
27229 [C99-based-standards] (SCNdLEAST32): Likewise.
27230 [C99-based-standards] (SCNiLEAST32): Likewise.
27231 [C99-based-standards] (SCNoLEAST32): Likewise.
27232 [C99-based-standards] (SCNuLEAST32): Likewise.
27233 [C99-based-standards] (SCNxLEAST32): Likewise.
27234 [C99-based-standards] (PRIdFAST32): Likewise.
27235 [C99-based-standards] (PRIiFAST32): Likewise.
27236 [C99-based-standards] (PRIoFAST32): Likewise.
27237 [C99-based-standards] (PRIuFAST32): Likewise.
27238 [C99-based-standards] (PRIxFAST32): Likewise.
27239 [C99-based-standards] (PRIXFAST32): Likewise.
27240 [C99-based-standards] (SCNdFAST32): Likewise.
27241 [C99-based-standards] (SCNiFAST32): Likewise.
27242 [C99-based-standards] (SCNoFAST32): Likewise.
27243 [C99-based-standards] (SCNuFAST32): Likewise.
27244 [C99-based-standards] (SCNxFAST32): Likewise.
27245 [C99-based-standards] (PRId64): Likewise.
27246 [C99-based-standards] (PRIi64): Likewise.
27247 [C99-based-standards] (PRIo64): Likewise.
27248 [C99-based-standards] (PRIu64): Likewise.
27249 [C99-based-standards] (PRIx64): Likewise.
27250 [C99-based-standards] (PRIX64): Likewise.
27251 [C99-based-standards] (SCNd64): Likewise.
27252 [C99-based-standards] (SCNi64): Likewise.
27253 [C99-based-standards] (SCNo64): Likewise.
27254 [C99-based-standards] (SCNu64): Likewise.
27255 [C99-based-standards] (SCNx64): Likewise.
27256 [C99-based-standards] (PRIdLEAST64): Likewise.
27257 [C99-based-standards] (PRIiLEAST64): Likewise.
27258 [C99-based-standards] (PRIoLEAST64): Likewise.
27259 [C99-based-standards] (PRIuLEAST64): Likewise.
27260 [C99-based-standards] (PRIxLEAST64): Likewise.
27261 [C99-based-standards] (PRIXLEAST64): Likewise.
27262 [C99-based-standards] (SCNdLEAST64): Likewise.
27263 [C99-based-standards] (SCNiLEAST64): Likewise.
27264 [C99-based-standards] (SCNoLEAST64): Likewise.
27265 [C99-based-standards] (SCNuLEAST64): Likewise.
27266 [C99-based-standards] (SCNxLEAST64): Likewise.
27267 [C99-based-standards] (PRIdFAST64): Likewise.
27268 [C99-based-standards] (PRIiFAST64): Likewise.
27269 [C99-based-standards] (PRIoFAST64): Likewise.
27270 [C99-based-standards] (PRIuFAST64): Likewise.
27271 [C99-based-standards] (PRIxFAST64): Likewise.
27272 [C99-based-standards] (PRIXFAST64): Likewise.
27273 [C99-based-standards] (SCNdFAST64): Likewise.
27274 [C99-based-standards] (SCNiFAST64): Likewise.
27275 [C99-based-standards] (SCNoFAST64): Likewise.
27276 [C99-based-standards] (SCNuFAST64): Likewise.
27277 [C99-based-standards] (SCNxFAST64): Likewise.
27278 [C99-based-standards] (PRIdMAX): Likewise.
27279 [C99-based-standards] (PRIiMAX): Likewise.
27280 [C99-based-standards] (PRIoMAX): Likewise.
27281 [C99-based-standards] (PRIuMAX): Likewise.
27282 [C99-based-standards] (PRIxMAX): Likewise.
27283 [C99-based-standards] (PRIXMAX): Likewise.
27284 [C99-based-standards] (SCNdMAX): Likewise.
27285 [C99-based-standards] (SCNiMAX): Likewise.
27286 [C99-based-standards] (SCNoMAX): Likewise.
27287 [C99-based-standards] (SCNuMAX): Likewise.
27288 [C99-based-standards] (SCNxMAX): Likewise.
27289 [C99-based-standards] (PRIdPTR): Likewise.
27290 [C99-based-standards] (PRIiPTR): Likewise.
27291 [C99-based-standards] (PRIoPTR): Likewise.
27292 [C99-based-standards] (PRIuPTR): Likewise.
27293 [C99-based-standards] (PRIxPTR): Likewise.
27294 [C99-based-standards] (PRIXPTR): Likewise.
27295 [C99-based-standards] (SCNdPTR): Likewise.
27296 [C99-based-standards] (SCNiPTR): Likewise.
27297 [C99-based-standards] (SCNoPTR): Likewise.
27298 [C99-based-standards] (SCNuPTR): Likewise.
27299 [C99-based-standards] (SCNxPTR): Likewise.
27300 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
27302 * conform/data/stdint.h-data: Update comments to clarify
27304 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
27306 [C99-based standards] (INT8_MAX): Likewise.
27307 [C99-based standards] (INT16_MIN): Likewise.
27308 [C99-based standards] (INT16_MAX): Likewise.
27309 [C99-based standards] (INT32_MIN): Likewise.
27310 [C99-based standards] (INT32_MAX): Likewise.
27311 [C99-based standards] (INT64_MIN): Likewise.
27312 [C99-based standards] (INT64_MAX): Likewise.
27313 [C99-based standards] (UINT8_MAX): Likewise.
27314 [C99-based standards] (UINT16_MAX): Likewise.
27315 [C99-based standards] (UINT32_MAX): Likewise.
27316 [C99-based standards] (UINT64_MAX): Likewise.
27317 [C99-based standards] (INT_LEAST8_MIN): Likewise.
27318 [C99-based standards] (INT_LEAST8_MAX): Likewise.
27319 [C99-based standards] (INT_LEAST16_MIN): Likewise.
27320 [C99-based standards] (INT_LEAST16_MAX): Likewise.
27321 [C99-based standards] (INT_LEAST32_MIN): Likewise.
27322 [C99-based standards] (INT_LEAST32_MAX): Likewise.
27323 [C99-based standards] (INT_LEAST64_MIN): Likewise.
27324 [C99-based standards] (INT_LEAST64_MAX): Likewise.
27325 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
27326 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
27327 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
27328 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
27329 [C99-based standards] (INT_FAST8_MIN): Likewise.
27330 [C99-based standards] (INT_FAST8_MAX): Likewise.
27331 [C99-based standards] (INT_FAST16_MIN): Likewise.
27332 [C99-based standards] (INT_FAST16_MAX): Likewise.
27333 [C99-based standards] (INT_FAST32_MIN): Likewise.
27334 [C99-based standards] (INT_FAST32_MAX): Likewise.
27335 [C99-based standards] (INT_FAST64_MIN): Likewise.
27336 [C99-based standards] (INT_FAST64_MAX): Likewise.
27337 [C99-based standards] (UINT_FAST8_MAX): Likewise.
27338 [C99-based standards] (UINT_FAST16_MAX): Likewise.
27339 [C99-based standards] (UINT_FAST32_MAX): Likewise.
27340 [C99-based standards] (UINT_FAST64_MAX): Likewise.
27341 [C99-based standards] (INTPTR_MIN): Likewise.
27342 [C99-based standards] (INTPTR_MAX): Likewise.
27343 [C99-based standards] (UINTPTR_MAX): Likewise.
27344 [C99-based standards] (INTMAX_MIN): Likewise.
27345 [C99-based standards] (INTMAX_MAX): Likewise.
27346 [C99-based standards] (UINTMAX_MAX): Likewise.
27347 [C99-based standards] (PTRDIFF_MIN): Likewise.
27348 [C99-based standards] (PTRDIFF_MAX): Likewise.
27349 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
27350 [C99-based standards] (SIZE_MAX): Likewise.
27351 [C99-based standards] (WCHAR_MAX): Likewise.
27352 [C99-based standards] (WINT_MAX): Likewise.
27353 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
27354 constraint on value.
27355 [C99-based standards] (WCHAR_MIN): Likewise.
27356 [C99-based standards] (WINT_MIN): Likewise.
27357 [C99-based standards] (*_t): Allow.
27358 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
27359 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
27360 Include math.h-data and complex.h-data. Remove all expectations
27361 of math.h and complex.h contents.
27362 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
27364 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
27365 (struct tm): Expect tag.
27366 [C99-based-standards] (wcstof): Expect function.
27367 [C99-based-standards] (wcstold): Likewise.
27368 [C99-based-standards] (wcstoll): Likewise.
27369 [C99-based-standards] (wcstoull): Likewise.
27370 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
27371 macro-int-constant. Specify type.
27372 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
27373 constraint on value.
27374 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
27376 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
27378 [ISO C standards]: Do not allow headers.
27379 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
27380 wcs[abcdefghijklmnopqrstuvwxyz]*.
27381 [ISO C standards] (*_t): Do not allow.
27382 * conform/data/wctype.h-data [C99-based standards] (iswblank):
27384 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
27385 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
27387 [ISO C standards]: Do not allow headers.
27388 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
27389 is[abcdefghijklmnopqrstuvwxyz]*.
27390 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
27391 to[abcdefghijklmnopqrstuvwxyz]*.
27392 [ISO C standards] (*_t): Do not allow.
27393 * conform/data/stdalign.h-data: New file.
27394 * conform/data/stdbool.h-data: Likewise.
27395 * conform/data/stdnoreturn.h-data: Likewise.
27397 2012-11-07 Roland McGrath <roland@hack.frob.com>
27400 * manual/filesys.texi (Directory Entries): Typo fix.
27401 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
27403 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
27405 * elf/elf.h (EM_AARCH64): New macro.
27406 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
27407 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
27408 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
27409 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
27410 (R_AARCH64_TLSDESC): Likewise.
27411 (NT_ARM_TLS): Likewise.
27412 (NT_ARM_HW_BREAK): Likewise.
27413 (NT_ARM_HW_WATCH): Likewise.
27415 2012-11-07 Joseph Myers <joseph@codesourcery.com>
27418 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
27419 (__ieee754_powl): Saturate nonzero exponents with absolute value
27420 below 0x1p-79 to +/- 0x1p-79.
27421 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
27422 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
27423 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
27424 nonzero exponents with absolute value below 0x1p-32 to +/-
27426 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
27427 (__ieee754_powl): Saturate nonzero exponents with absolute value
27428 below 0x1p-79 to +/- 0x1p-79.
27429 * math/libm-test.inc (pow_test): Add more tests.
27431 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27433 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
27434 _dl_s390_cap_flags with kernel. Increase string length.
27435 (_dl_s390_platforms): Add z196 and zEC12.
27437 2012-11-07 Joseph Myers <joseph@codesourcery.com>
27439 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
27440 Change XOPEN21K to XOPEN2K.
27442 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
27444 * string/memmove.c: Use memcpy when possible.
27446 2012-11-06 Andreas Jaeger <aj@suse.de>
27448 * po/eo.po: Update from translation team.
27450 2012-11-06 Joseph Myers <joseph@codesourcery.com>
27453 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
27454 exponent and small x and y exponents, scale x or y up. Increase
27455 by 2 the exponent used in scaling up.
27456 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27457 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27458 * math/libm-test.inc (fma_test): Add more tests.
27459 (fma_test_towardzero): Likewise.
27460 (fma_test_downward): Likewise.
27461 (fma_test_upward): Likewise.
27463 2012-11-05 Joseph Myers <joseph@codesourcery.com>
27466 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
27470 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
27471 namespace for names of struct fields.
27472 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
27474 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
27475 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
27477 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
27480 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
27482 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
27484 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
27488 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
27491 2012-11-04 Joseph Myers <joseph@codesourcery.com>
27494 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
27495 definitely overflow as x * y not x * y + z.
27496 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27497 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27498 * math/libm-test.inc (fma_test): Add more tests.
27499 (fma_test_towardzero): Likewise.
27500 (fma_test_downward): Likewise.
27501 (fma_test_upward): Likewise.
27503 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
27507 * include/stub-tag.h: Remove file.
27508 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
27510 * manual/maint.texi (Porting): Don't reference it.
27511 * Makerules ($(objpfx)stubs): Likewise.
27512 * dirent/closedir.c: Don't include <stub-tag.h>.
27513 * dirent/dirfd.c: Likewise.
27514 * dirent/fdopendir.c: Likewise.
27515 * dirent/getdents.c: Likewise.
27516 * dirent/getdents64.c: Likewise.
27517 * dirent/opendir.c: Likewise.
27518 * dirent/readdir.c: Likewise.
27519 * dirent/readdir64.c: Likewise.
27520 * dirent/readdir64_r.c: Likewise.
27521 * dirent/readdir_r.c: Likewise.
27522 * dirent/rewinddir.c: Likewise.
27523 * dirent/seekdir.c: Likewise.
27524 * dirent/telldir.c: Likewise.
27525 * gmon/profil.c: Likewise.
27526 * grp/setgroups.c: Likewise.
27527 * inet/if_index.c: Likewise.
27528 * io/access.c: Likewise.
27529 * io/chdir.c: Likewise.
27530 * io/chmod.c: Likewise.
27531 * io/chown.c: Likewise.
27532 * io/close.c: Likewise.
27533 * io/dup.c: Likewise.
27534 * io/dup2.c: Likewise.
27535 * io/dup3.c: Likewise.
27536 * io/euidaccess.c: Likewise.
27537 * io/faccessat.c: Likewise.
27538 * io/fchdir.c: Likewise.
27539 * io/fchmod.c: Likewise.
27540 * io/fchmodat.c: Likewise.
27541 * io/fchown.c: Likewise.
27542 * io/fchownat.c: Likewise.
27543 * io/fcntl.c: Likewise.
27544 * io/flock.c: Likewise.
27545 * io/fstatfs.c: Likewise.
27546 * io/fstatfs64.c: Likewise.
27547 * io/fstatvfs.c: Likewise.
27548 * io/fstatvfs64.c: Likewise.
27549 * io/futimens.c: Likewise.
27550 * io/fxstat.c: Likewise.
27551 * io/fxstat64.c: Likewise.
27552 * io/fxstatat.c: Likewise.
27553 * io/fxstatat64.c: Likewise.
27554 * io/getcwd.c: Likewise.
27555 * io/isatty.c: Likewise.
27556 * io/lchmod.c: Likewise.
27557 * io/lchown.c: Likewise.
27558 * io/link.c: Likewise.
27559 * io/linkat.c: Likewise.
27560 * io/lseek.c: Likewise.
27561 * io/lseek64.c: Likewise.
27562 * io/lxstat64.c: Likewise.
27563 * io/mkdir.c: Likewise.
27564 * io/mkdirat.c: Likewise.
27565 * io/mkfifo.c: Likewise.
27566 * io/mkfifoat.c: Likewise.
27567 * io/open.c: Likewise.
27568 * io/open64.c: Likewise.
27569 * io/openat.c: Likewise.
27570 * io/openat64.c: Likewise.
27571 * io/pipe.c: Likewise.
27572 * io/pipe2.c: Likewise.
27573 * io/poll.c: Likewise.
27574 * io/posix_fadvise.c: Likewise.
27575 * io/posix_fadvise64.c: Likewise.
27576 * io/posix_fallocate.c: Likewise.
27577 * io/posix_fallocate64.c: Likewise.
27578 * io/read.c: Likewise.
27579 * io/readlink.c: Likewise.
27580 * io/readlinkat.c: Likewise.
27581 * io/rmdir.c: Likewise.
27582 * io/sendfile.c: Likewise.
27583 * io/sendfile64.c: Likewise.
27584 * io/statfs.c: Likewise.
27585 * io/statfs64.c: Likewise.
27586 * io/statvfs.c: Likewise.
27587 * io/statvfs64.c: Likewise.
27588 * io/symlink.c: Likewise.
27589 * io/symlinkat.c: Likewise.
27590 * io/ttyname.c: Likewise.
27591 * io/ttyname_r.c: Likewise.
27592 * io/umask.c: Likewise.
27593 * io/unlink.c: Likewise.
27594 * io/unlinkat.c: Likewise.
27595 * io/utime.c: Likewise.
27596 * io/utimensat.c: Likewise.
27597 * io/write.c: Likewise.
27598 * io/xmknod.c: Likewise.
27599 * io/xmknodat.c: Likewise.
27600 * io/xstat.c: Likewise.
27601 * io/xstat64.c: Likewise.
27602 * login/getpt.c: Likewise.
27603 * login/grantpt.c: Likewise.
27604 * login/unlockpt.c: Likewise.
27605 * math/e_acoshl.c: Likewise.
27606 * math/e_acosl.c: Likewise.
27607 * math/e_asinl.c: Likewise.
27608 * math/e_atan2l.c: Likewise.
27609 * math/e_atanhl.c: Likewise.
27610 * math/e_coshl.c: Likewise.
27611 * math/e_expl.c: Likewise.
27612 * math/e_fmodl.c: Likewise.
27613 * math/e_gammal_r.c: Likewise.
27614 * math/e_hypotl.c: Likewise.
27615 * math/e_j0l.c: Likewise.
27616 * math/e_j1l.c: Likewise.
27617 * math/e_jnl.c: Likewise.
27618 * math/e_lgammal_r.c: Likewise.
27619 * math/e_log10l.c: Likewise.
27620 * math/e_log2l.c: Likewise.
27621 * math/e_logl.c: Likewise.
27622 * math/e_powl.c: Likewise.
27623 * math/e_rem_pio2l.c: Likewise.
27624 * math/e_sinhl.c: Likewise.
27625 * math/e_sqrtl.c: Likewise.
27626 * math/fclrexcpt.c: Likewise.
27627 * math/fedisblxcpt.c: Likewise.
27628 * math/feenablxcpt.c: Likewise.
27629 * math/fegetenv.c: Likewise.
27630 * math/fegetexcept.c: Likewise.
27631 * math/fegetround.c: Likewise.
27632 * math/feholdexcpt.c: Likewise.
27633 * math/fesetenv.c: Likewise.
27634 * math/fesetround.c: Likewise.
27635 * math/feupdateenv.c: Likewise.
27636 * math/fgetexcptflg.c: Likewise.
27637 * math/fraiseexcpt.c: Likewise.
27638 * math/fsetexcptflg.c: Likewise.
27639 * math/ftestexcept.c: Likewise.
27640 * math/k_cosl.c: Likewise.
27641 * math/k_rem_pio2l.c: Likewise.
27642 * math/k_sinl.c: Likewise.
27643 * math/k_tanl.c: Likewise.
27644 * math/s_asinhl.c: Likewise.
27645 * math/s_atanl.c: Likewise.
27646 * math/s_cbrtl.c: Likewise.
27647 * math/s_erfl.c: Likewise.
27648 * math/s_expm1l.c: Likewise.
27649 * math/s_log1pl.c: Likewise.
27650 * math/s_tanhl.c: Likewise.
27651 * misc/acct.c: Likewise.
27652 * misc/brk.c: Likewise.
27653 * misc/chflags.c: Likewise.
27654 * misc/chroot.c: Likewise.
27655 * misc/fchflags.c: Likewise.
27656 * misc/fgetxattr.c: Likewise.
27657 * misc/flistxattr.c: Likewise.
27658 * misc/fremovexattr.c: Likewise.
27659 * misc/fsetxattr.c: Likewise.
27660 * misc/fsync.c: Likewise.
27661 * misc/ftruncate.c: Likewise.
27662 * misc/futimes.c: Likewise.
27663 * misc/futimesat.c: Likewise.
27664 * misc/getdomain.c: Likewise.
27665 * misc/getdtsz.c: Likewise.
27666 * misc/gethostid.c: Likewise.
27667 * misc/gethostname.c: Likewise.
27668 * misc/getloadavg.c: Likewise.
27669 * misc/getpagesize.c: Likewise.
27670 * misc/getsysstats.c: Likewise.
27671 * misc/getxattr.c: Likewise.
27672 * misc/gtty.c: Likewise.
27673 * misc/ioctl.c: Likewise.
27674 * misc/lgetxattr.c: Likewise.
27675 * misc/listxattr.c: Likewise.
27676 * misc/llistxattr.c: Likewise.
27677 * misc/lremovexattr.c: Likewise.
27678 * misc/lsetxattr.c: Likewise.
27679 * misc/lutimes.c: Likewise.
27680 * misc/madvise.c: Likewise.
27681 * misc/mincore.c: Likewise.
27682 * misc/mlock.c: Likewise.
27683 * misc/mlockall.c: Likewise.
27684 * misc/mmap.c: Likewise.
27685 * misc/mprotect.c: Likewise.
27686 * misc/msync.c: Likewise.
27687 * misc/munlock.c: Likewise.
27688 * misc/munlockall.c: Likewise.
27689 * misc/munmap.c: Likewise.
27690 * misc/preadv.c: Likewise.
27691 * misc/preadv64.c: Likewise.
27692 * misc/ptrace.c: Likewise.
27693 * misc/pwritev.c: Likewise.
27694 * misc/pwritev64.c: Likewise.
27695 * misc/readv.c: Likewise.
27696 * misc/reboot.c: Likewise.
27697 * misc/remap_file_pages.c: Likewise.
27698 * misc/removexattr.c: Likewise.
27699 * misc/revoke.c: Likewise.
27700 * misc/select.c: Likewise.
27701 * misc/setdomain.c: Likewise.
27702 * misc/setegid.c: Likewise.
27703 * misc/seteuid.c: Likewise.
27704 * misc/sethostid.c: Likewise.
27705 * misc/sethostname.c: Likewise.
27706 * misc/setregid.c: Likewise.
27707 * misc/setreuid.c: Likewise.
27708 * misc/setxattr.c: Likewise.
27709 * misc/sstk.c: Likewise.
27710 * misc/stty.c: Likewise.
27711 * misc/swapoff.c: Likewise.
27712 * misc/swapon.c: Likewise.
27713 * misc/sync.c: Likewise.
27714 * misc/syncfs.c: Likewise.
27715 * misc/syscall.c: Likewise.
27716 * misc/truncate.c: Likewise.
27717 * misc/ualarm.c: Likewise.
27718 * misc/usleep.c: Likewise.
27719 * misc/ustat.c: Likewise.
27720 * misc/utimes.c: Likewise.
27721 * misc/vhangup.c: Likewise.
27722 * misc/writev.c: Likewise.
27723 * posix/_exit.c: Likewise.
27724 * posix/alarm.c: Likewise.
27725 * posix/execve.c: Likewise.
27726 * posix/fexecve.c: Likewise.
27727 * posix/fork.c: Likewise.
27728 * posix/fpathconf.c: Likewise.
27729 * posix/getaddrinfo.c: Likewise.
27730 * posix/getegid.c: Likewise.
27731 * posix/geteuid.c: Likewise.
27732 * posix/getgid.c: Likewise.
27733 * posix/getgroups.c: Likewise.
27734 * posix/getlogin.c: Likewise.
27735 * posix/getlogin_r.c: Likewise.
27736 * posix/getpgid.c: Likewise.
27737 * posix/getpid.c: Likewise.
27738 * posix/getppid.c: Likewise.
27739 * posix/getresgid.c: Likewise.
27740 * posix/getresuid.c: Likewise.
27741 * posix/getsid.c: Likewise.
27742 * posix/getuid.c: Likewise.
27743 * posix/glob64.c: Likewise.
27744 * posix/nanosleep.c: Likewise.
27745 * posix/pathconf.c: Likewise.
27746 * posix/pause.c: Likewise.
27747 * posix/posix_madvise.c: Likewise.
27748 * posix/pread.c: Likewise.
27749 * posix/pread64.c: Likewise.
27750 * posix/pwrite.c: Likewise.
27751 * posix/pwrite64.c: Likewise.
27752 * posix/sched_getaffinity.c: Likewise.
27753 * posix/sched_getp.c: Likewise.
27754 * posix/sched_gets.c: Likewise.
27755 * posix/sched_primax.c: Likewise.
27756 * posix/sched_primin.c: Likewise.
27757 * posix/sched_rr_gi.c: Likewise.
27758 * posix/sched_setaffinity.c: Likewise.
27759 * posix/sched_setp.c: Likewise.
27760 * posix/sched_sets.c: Likewise.
27761 * posix/sched_yield.c: Likewise.
27762 * posix/setgid.c: Likewise.
27763 * posix/setlogin.c: Likewise.
27764 * posix/setpgid.c: Likewise.
27765 * posix/setresgid.c: Likewise.
27766 * posix/setresuid.c: Likewise.
27767 * posix/setsid.c: Likewise.
27768 * posix/setuid.c: Likewise.
27769 * posix/sleep.c: Likewise.
27770 * posix/spawni.c: Likewise.
27771 * posix/sysconf.c: Likewise.
27772 * posix/times.c: Likewise.
27773 * posix/wait.c: Likewise.
27774 * posix/wait3.c: Likewise.
27775 * posix/wait4.c: Likewise.
27776 * posix/waitpid.c: Likewise.
27777 * resolv/gai_sigqueue.c: Likewise.
27778 * resource/getpriority.c: Likewise.
27779 * resource/getrlimit.c: Likewise.
27780 * resource/getrusage.c: Likewise.
27781 * resource/nice.c: Likewise.
27782 * resource/setpriority.c: Likewise.
27783 * resource/setrlimit.c: Likewise.
27784 * resource/ulimit.c: Likewise.
27785 * rt/aio_cancel.c: Likewise.
27786 * rt/aio_fsync.c: Likewise.
27787 * rt/aio_read.c: Likewise.
27788 * rt/aio_sigqueue.c: Likewise.
27789 * rt/aio_suspend.c: Likewise.
27790 * rt/aio_write.c: Likewise.
27791 * rt/clock_getres.c: Likewise.
27792 * rt/clock_gettime.c: Likewise.
27793 * rt/clock_nanosleep.c: Likewise.
27794 * rt/clock_settime.c: Likewise.
27795 * rt/lio_listio.c: Likewise.
27796 * rt/mq_close.c: Likewise.
27797 * rt/mq_getattr.c: Likewise.
27798 * rt/mq_notify.c: Likewise.
27799 * rt/mq_open.c: Likewise.
27800 * rt/mq_receive.c: Likewise.
27801 * rt/mq_send.c: Likewise.
27802 * rt/mq_setattr.c: Likewise.
27803 * rt/mq_timedreceive.c: Likewise.
27804 * rt/mq_timedsend.c: Likewise.
27805 * rt/mq_unlink.c: Likewise.
27806 * rt/shm_open.c: Likewise.
27807 * rt/shm_unlink.c: Likewise.
27808 * rt/timer_create.c: Likewise.
27809 * rt/timer_delete.c: Likewise.
27810 * rt/timer_getoverr.c: Likewise.
27811 * rt/timer_gettime.c: Likewise.
27812 * rt/timer_settime.c: Likewise.
27813 * setjmp/__longjmp.c: Likewise.
27814 * setjmp/setjmp.c: Likewise.
27815 * signal/kill.c: Likewise.
27816 * signal/killpg.c: Likewise.
27817 * signal/raise.c: Likewise.
27818 * signal/sigaction.c: Likewise.
27819 * signal/sigaltstack.c: Likewise.
27820 * signal/sigblock.c: Likewise.
27821 * signal/sigignore.c: Likewise.
27822 * signal/sigintr.c: Likewise.
27823 * signal/signal.c: Likewise.
27824 * signal/sigpause.c: Likewise.
27825 * signal/sigpending.c: Likewise.
27826 * signal/sigqueue.c: Likewise.
27827 * signal/sigreturn.c: Likewise.
27828 * signal/sigset.c: Likewise.
27829 * signal/sigsetmask.c: Likewise.
27830 * signal/sigstack.c: Likewise.
27831 * signal/sigsuspend.c: Likewise.
27832 * signal/sigtimedwait.c: Likewise.
27833 * signal/sigvec.c: Likewise.
27834 * signal/sigwait.c: Likewise.
27835 * signal/sigwaitinfo.c: Likewise.
27836 * signal/sysv_signal.c: Likewise.
27837 * socket/accept.c: Likewise.
27838 * socket/accept4.c: Likewise.
27839 * socket/bind.c: Likewise.
27840 * socket/connect.c: Likewise.
27841 * socket/getpeername.c: Likewise.
27842 * socket/getsockname.c: Likewise.
27843 * socket/getsockopt.c: Likewise.
27844 * socket/isfdtype.c: Likewise.
27845 * socket/listen.c: Likewise.
27846 * socket/recv.c: Likewise.
27847 * socket/recvfrom.c: Likewise.
27848 * socket/recvmsg.c: Likewise.
27849 * socket/send.c: Likewise.
27850 * socket/sendmsg.c: Likewise.
27851 * socket/sendto.c: Likewise.
27852 * socket/setsockopt.c: Likewise.
27853 * socket/shutdown.c: Likewise.
27854 * socket/sockatmark.c: Likewise.
27855 * socket/socket.c: Likewise.
27856 * socket/socketpair.c: Likewise.
27857 * stdio-common/ctermid.c: Likewise.
27858 * stdio-common/cuserid.c: Likewise.
27859 * stdio-common/remove.c: Likewise.
27860 * stdio-common/rename.c: Likewise.
27861 * stdio-common/renameat.c: Likewise.
27862 * stdio-common/tempname.c: Likewise.
27863 * stdlib/getcontext.c: Likewise.
27864 * stdlib/makecontext.c: Likewise.
27865 * stdlib/setcontext.c: Likewise.
27866 * stdlib/swapcontext.c: Likewise.
27867 * stdlib/system.c: Likewise.
27868 * streams/fattach.c: Likewise.
27869 * streams/fdetach.c: Likewise.
27870 * streams/getmsg.c: Likewise.
27871 * streams/getpmsg.c: Likewise.
27872 * streams/putmsg.c: Likewise.
27873 * streams/putpmsg.c: Likewise.
27874 * sysdeps/unix/bsd/getpt.c: Likewise.
27875 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
27876 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
27877 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
27878 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
27880 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
27881 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
27882 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
27883 * sysvipc/msgctl.c: Likewise.
27884 * sysvipc/msgget.c: Likewise.
27885 * sysvipc/msgrcv.c: Likewise.
27886 * sysvipc/msgsnd.c: Likewise.
27887 * sysvipc/semctl.c: Likewise.
27888 * sysvipc/semget.c: Likewise.
27889 * sysvipc/semop.c: Likewise.
27890 * sysvipc/semtimedop.c: Likewise.
27891 * sysvipc/shmat.c: Likewise.
27892 * sysvipc/shmctl.c: Likewise.
27893 * sysvipc/shmdt.c: Likewise.
27894 * sysvipc/shmget.c: Likewise.
27895 * termios/tcdrain.c: Likewise.
27896 * termios/tcflow.c: Likewise.
27897 * termios/tcflush.c: Likewise.
27898 * termios/tcgetattr.c: Likewise.
27899 * termios/tcgetpgrp.c: Likewise.
27900 * termios/tcsendbrk.c: Likewise.
27901 * termios/tcsetattr.c: Likewise.
27902 * termios/tcsetpgrp.c: Likewise.
27903 * time/adjtime.c: Likewise.
27904 * time/clock.c: Likewise.
27905 * time/getitimer.c: Likewise.
27906 * time/gettimeofday.c: Likewise.
27907 * time/setitimer.c: Likewise.
27908 * time/settimeofday.c: Likewise.
27909 * time/stime.c: Likewise.
27910 * time/time.c: Likewise.
27912 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
27914 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
27917 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
27919 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
27921 2012-11-03 Joseph Myers <joseph@codesourcery.com>
27924 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
27925 FE_TONEAREST before applying Dekker multiplication and Knuth
27926 addition. Clear inexact exceptions and check for exact zero
27927 results afterwards.
27928 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27929 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
27930 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27931 * math/libm-test.inc (fma_test): Add more tests.
27932 (fma_test_towardzero): Likewise.
27933 (fma_test_downward): Likewise.
27934 (fma_test_upward): Likewise.
27935 * sysdeps/generic/math_private.h (default_libc_fesetround): New
27937 (libc_fesetround): New macro.
27938 (libc_fesetroundf): Likewise.
27939 (libc_fesetroundl): Likewise.
27940 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
27942 (libc_fesetround_387): Likewise.
27943 (libc_fesetroundf): New macro.
27944 (libc_fesetround): Likewise.
27945 (libc_fesetroundl): Likewise.
27946 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
27948 (libc_fesetroundf): New macro.
27949 (libc_fesetround): Likewise.
27950 (libc_fesetroundl): Likewise.
27951 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
27952 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
27953 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
27955 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
27956 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
27958 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
27959 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
27961 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
27965 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
27966 integer constant usable in #if and use that to give value to enum
27968 (FE_DIVBYZERO): Likewise.
27969 (FE_UNDERFLOW): Likewise.
27970 (FE_OVERFLOW): Likewise.
27971 (FE_INVALID): Likewise.
27972 (FE_INVALID_SNAN): Likewise.
27973 (FE_INVALID_ISI): Likewise.
27974 (FE_INVALID_IDI): Likewise.
27975 (FE_INVALID_ZDZ): Likewise.
27976 (FE_INVALID_IMZ): Likewise.
27977 (FE_INVALID_COMPARE): Likewise.
27978 (FE_INVALID_SOFTWARE): Likewise.
27979 (FE_INVALID_SQRT): Likewise.
27980 (FE_INVALID_INTEGER_CONVERSION): Likewise.
27981 (FE_TONEAREST): Likewise.
27982 (FE_TOWARDZERO): Likewise.
27983 (FE_UPWARD): Likewise.
27984 (FE_DOWNWARD): Likewise.
27985 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
27986 (FE_DIVBYZERO): Likewise.
27987 (FE_OVERFLOW): Likewise.
27988 (FE_UNDERFLOW): Likewise.
27989 (FE_INEXACT): Likewise.
27990 (FE_TONEAREST): Likewise.
27991 (FE_DOWNWARD): Likewise.
27992 (FE_UPWARD): Likewise.
27993 (FE_TOWARDZERO): Likewise.
27994 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
27995 (FE_UNDERFLOW): Likewise.
27996 (FE_OVERFLOW): Likewise.
27997 (FE_DIVBYZERO): Likewise.
27998 (FE_INVALID): Likewise.
27999 (FE_TONEAREST): Likewise.
28000 (FE_TOWARDZERO): Likewise.
28001 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
28002 (FE_OVERFLOW): Likewise.
28003 (FE_UNDERFLOW): Likewise.
28004 (FE_DIVBYZERO): Likewise.
28005 (FE_INEXACT): Likewise.
28006 (FE_TONEAREST): Likewise.
28007 (FE_TOWARDZERO): Likewise.
28008 (FE_UPWARD): Likewise.
28009 (FE_DOWNWARD): Likewise.
28010 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
28011 (FE_DIVBYZERO): Likewise.
28012 (FE_OVERFLOW): Likewise.
28013 (FE_UNDERFLOW): Likewise.
28014 (FE_INEXACT): Likewise.
28015 (FE_TONEAREST): Likewise.
28016 (FE_DOWNWARD): Likewise.
28017 (FE_UPWARD): Likewise.
28018 (FE_TOWARDZERO): Likewise.
28020 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
28022 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
28024 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
28026 * scripts/cross-test-ssh.sh (command): Use newlines to separate
28027 commands. Quote $PWD.
28028 (blacklist_exports): Don't use remove_newlines. Replace "declare
28030 (remove_newlines): Remove.
28032 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
28034 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
28035 * stdlib/stdlib.h (atof): Moved to ...
28036 * include/bits/stdlib-float.h: Here. New file.
28037 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
28038 * stdlib/bits/stdlib-float.h: New file.
28039 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
28041 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
28044 2012-11-02 Joseph Myers <joseph@codesourcery.com>
28046 * conform/conformtest.pl (@headers): Add fenv.h.
28047 * conform/data/fenv.h-data: New file.
28048 * include/fenv.h [_ISOMAC]: Disable all contents of file except
28049 include of <math/fenv.h>.
28051 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
28052 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
28053 && !UNIX98]. Enables tests for XOPEN2K8.
28054 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
28055 POSIX2008]: Likewise.
28057 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
28058 (struct rusage): Do not expect type or its members.
28061 * math/math.h (FP_NAN): Define macro to integer constant usable in
28062 #if and use that to give value to enum constant.
28063 (FP_INFINITE): Likewise.
28064 (FP_ZERO): Likewise.
28065 (FP_SUBNORMAL): Likewise.
28066 (FP_NORMAL): Likewise.
28068 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
28070 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
28071 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
28074 2012-11-02 Roland McGrath <roland@hack.frob.com>
28076 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
28077 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
28078 autoconf-time if not.
28079 * configure.in: Remove AC_PREREQ.
28081 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28083 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
28084 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
28085 of the internal implementation.
28087 2012-11-02 Joseph Myers <joseph@codesourcery.com>
28089 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
28090 except include of <misc/sys/syslog.h>.
28092 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
28094 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
28095 function returns with a NULL context exit with zero.
28097 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28099 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
28101 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
28103 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
28104 (run_program_cmd): This.
28105 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
28106 (tst_langinfo): New variable. Use it.
28108 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
28110 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
28111 floating point opcodes.
28113 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
28115 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
28118 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
28120 * sysdeps/mach/hurd/powerpc: Remove directory.
28121 * sysdeps/mach/powerpc: Likewise.
28123 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
28125 * scripts/check-local-headers.sh: Ignore c++ headers.
28127 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
28129 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
28130 __libc_cleanup_region_start argument.
28132 2012-11-01 Joseph Myers <joseph@codesourcery.com>
28136 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
28137 x * y using scaling, not as x * y + z.
28138 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28139 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28140 * math/libm-test.inc (fma_test): Add more tests.
28141 (fma_test_towardzero): Likewise.
28142 (fma_test_downward): Likewise.
28143 (fma_test_upward): Likewise.
28145 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
28147 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
28149 2012-10-31 Joseph Myers <joseph@codesourcery.com>
28151 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
28154 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
28156 * rt/tst-shm.c (worker): Correct checking for mmap failure.
28158 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
28160 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28162 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
28165 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28167 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28168 Fix the order of the list for glibc 2.17.
28169 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
28172 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
28174 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28176 2012-10-31 Joseph Myers <joseph@codesourcery.com>
28179 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
28180 for low part of x being zero before using __atanl (y).
28181 * math/libm-test.inc (atan2_test): Add another test.
28183 * manual/install.texi (Configuring and compiling): Document
28184 general use of test-wrapper and test-wrapper-env.
28185 * INSTALL: Regenerated.
28187 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
28188 (__fma): Do not extract and scale down low bits on after-rounding
28189 systems when result rounded to normal precision would have normal
28191 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
28192 (__fmal): Do not extract and scale down low bits on after-rounding
28193 systems when result rounded to normal precision would have normal
28195 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
28196 (__fmal): Do not extract and scale down low bits on after-rounding
28197 systems when result rounded to normal precision would have normal
28199 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
28201 (fma_test): Add more tests.
28202 (fma_test_towardzero): Likewise.
28203 (fma_test_downward): Likewise.
28204 (fma_test_upward): Likewise.
28206 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
28208 * sysdeps/i386/tininess.h: Renamed to ...
28209 * sysdeps/x86/tininess.h: This.
28210 * sysdeps/x86_64/tininess.h: Removed.
28212 2012-10-30 Joseph Myers <joseph@codesourcery.com>
28214 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
28215 input. Use $(build-program-cmd).
28216 ($(objpfx)tst-array1-static.out): Likewise.
28217 ($(objpfx)tst-array2.out): Likewise.
28218 ($(objpfx)tst-array3.out): Likewise.
28219 ($(objpfx)tst-array4.out): Likewise.
28220 ($(objpfx)tst-array5.out): Likewise.
28221 ($(objpfx)tst-array5-static.out): Likewise.
28223 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
28225 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
28228 * nss/nsswitch.h (nss_interface_function): Provide new
28229 macro for use with NSS functions.
28230 * grp/initgroups.c: Use new macro.
28231 * nss/getXXbyYY.c: Likewise.
28232 * nss/getXXbyYY_r.c: Likewise.
28233 * nss/getXXent.c: Likewise.
28234 * nss/getXXent_r.c: Likewise.
28235 * sysdeps/posix/getaddrinfo.c: Likewise.
28237 2012-10-30 Andreas Jaeger <aj@suse.de>
28239 * po/ru.po: Update Russion translation from translation project.
28241 2012-10-30 Joseph Myers <joseph@codesourcery.com>
28245 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
28246 result and shift together with sticky bit instead of replicating
28247 round-to-nearest rounding.
28248 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28249 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28250 * math/libm-test.inc (fma_test): Add more tests. Do not permit
28251 missing underflow exceptions.
28252 (fma_test_towardzero): Add more tests.
28253 (fma_test_downward): Likewise.
28254 (fma_test_upward): Likewise.
28257 * sysdeps/generic/tininess.h: New file.
28258 * sysdeps/i386/tininess.h: Likewise.
28259 * sysdeps/sh/tininess.h: Likewise.
28260 * sysdeps/x86_64/tininess.h: Likewise.
28261 * stdlib/tst-strtod-underflow.c: Likewise.
28262 * stdlib/tst-tininess.c: Likewise.
28263 * stdlib/strtod_l.c: Include <tininess.h>.
28264 (round_and_return): Do not set errno for exact underflow cases.
28265 Force an underflow exception when setting errno for underflow.
28266 Determine underflow based on rounding to normal precision if
28267 TININESS_AFTER_ROUNDING.
28268 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
28269 ERANGE for exact underflow cases.
28270 * stdlib/Makefile (tests): Add tst-tininess and
28271 tst-strtod-underflow.
28272 ($(objpfx)tst-tininess): Use $(link-libm).
28273 ($(objpfx)tst-strtod-underflow): Likewise.
28275 2012-10-30 Andreas Jaeger <aj@suse.de>
28278 * elf/Makefile (tests): Remove conditional for have-initfini-array
28279 since this is now always required and the variable does not exist
28281 (tests-static): Likewise.
28282 (modules-names): Likewise.
28284 * po/eo.po: Add Esperanto translation from translation project.
28286 * elf/tst-array1.c (fini_array): Make writeable so that it can be
28287 merged with constructor/destructor.
28288 (init_array): Likewise.
28289 * elf/tst-array2dep.c (fini_array): Likewise.
28290 (init_array): Likewise.
28292 2012-10-29 Mike Frysinger <vapier@gentoo.org>
28294 * manual/message.texi: Delete @cartouche tags.
28296 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
28298 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
28300 * sysdeps/mach/hurd/fsync.c: Likewise.
28302 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
28303 [_POSIX_REALTIME_SIGNALS]: Change condition to
28304 [_POSIX_REALTIME_SIGNALS > 0].
28306 2012-10-27 Andreas Jaeger <aj@suse.de>
28308 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
28309 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
28310 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
28311 [__WORDSIZE != 64]: Likewise.
28313 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
28315 * iconvdata/tst-table.sh: Remove ${SHELL}.
28316 * iconvdata/tst-tables.sh: Likewise.
28318 2012-10-25 David S. Miller <davem@davemloft.net>
28320 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
28321 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
28324 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
28326 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
28327 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
28328 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
28331 2012-10-25 Roland McGrath <roland@hack.frob.com>
28333 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
28334 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
28337 2012-10-25 Joseph Myers <joseph@codesourcery.com>
28338 Jim Blandy <jimb@codesourcery.com>
28340 * scripts/cross-test-ssh.sh: New file.
28341 * manual/install.texi (Configuring and compiling): Document use of
28343 * INSTALL: Regenerated.
28345 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
28347 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
28350 2012-10-25 Joseph Myers <joseph@codesourcery.com>
28352 * Makeconfig (run-program-prefix): Fix comment.
28354 2012-10-24 Joseph Myers <joseph@codesourcery.com>
28355 Jim Blandy <jimb@codesourcery.com>
28357 * Makeconfig (test-wrapper): New variable,
28358 (test-wrapper-env): Likewise.
28359 [$(cross-compiling) = yes && $(test-wrapper) != ""]
28360 (run-built-tests): Define to yes.
28361 (run-program-prefix): Use $(test-wrapper).
28362 (built-program-cmd): Likewise.
28363 * Rules (make-test-out): Use $(test-wrapper-env) and
28364 $(host-built-program-cmd).
28365 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
28366 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
28368 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
28369 $(test-wrapper-env) to tst-rtld-load-self.sh.
28370 ($(objpfx)order2.out): Use $(test-wrapper).
28371 ($(objpfx)tst-initorder.out): Likewise.
28372 ($(objpfx)tst-initorder2.out): Likewise.
28373 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
28374 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
28375 (test_wrapper_env): New variable. Use it to run ld.so.
28376 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
28377 Use it to run ld.so.
28378 (test_wrapper_env): Likewise.
28379 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
28380 $(test-wrapper) to run-iconv-test.sh.
28381 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
28382 (ICONV): Use $test_wrapper.
28383 * posix/Makefile ($(objpfx)globtest.out): Pass
28384 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
28385 globtest.sh, not $(run-program-prefix).
28386 * posix/globtest.sh (run_via_rtld_prefix): New variable.
28387 (test_wrapper): Likewise.
28388 (test_wrapper_env): Likewise. Use it to run globtest with HOME
28389 set together with run_via_rtld_prefix.
28390 (run_program_prefix): Define in terms of test_wrapper and
28391 run_via_rtld_prefix.
28393 2012-10-24 Roland McGrath <roland@hack.frob.com>
28395 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
28396 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
28400 * include/time.h: Remove librt_hidden_proto (clock_gettime).
28401 Declare __clock_getres, __clock_gettime, __clock_settime,
28402 __clock_nanosleep, and __clock_getcpuclockid.
28403 * rt/clock_gettime.c: Define __clock_gettime as an alias.
28404 Remove librt_hidden_def (clock_gettime).
28405 * sysdeps/unix/clock_gettime.c: Likewise.
28406 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
28407 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
28408 * rt/clock_getres.c: Define __clock_getres as an alias.
28409 * sysdeps/posix/clock_getres.c: Likewise.
28410 * rt/clock_settime.c: Define __clock_settime as an alias.
28411 * sysdeps/unix/clock_settime.c: Likewise.
28412 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
28413 * sysdeps/unix/clock_nanosleep.c: Likewise.
28414 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
28415 * rt/clock-compat.c: New file.
28416 * rt/Makefile (librt-routines): Add clock-compat and move
28417 $(clock-routines) to ...
28418 (routines): ... here, new variable.
28419 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
28420 Don't add get_clockfreq here.
28421 * rt/Versions (libc: GLIBC_2.17): New version set.
28422 Add clock_* symbols here.
28423 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
28424 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
28425 (GLIBC_2.17): Add clock_* symbols.
28426 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
28427 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
28428 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
28429 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
28431 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28433 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
28434 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
28435 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
28436 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
28437 * NEWS: Mention the move.
28439 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
28440 Use __open, __read, __close rather than their public counterparts.
28441 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
28442 (__get_clockfreq_via_cpuinfo): Likewise.
28443 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
28444 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
28446 * config.h.in (HAVE_IFUNC): New #undef.
28447 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
28449 * configure: Regenerated.
28451 2012-10-24 Mike Frysinger <vapier@gentoo.org>
28453 * configure.in: Move READELF check to start of file.
28454 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
28455 libc_cv_asm_gnu_indirect_function in the process.
28456 * configure: Regenerated.
28458 2012-10-24 Mike Frysinger <vapier@gentoo.org>
28460 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
28461 send the output to /dev/null.
28462 (libc_cv_cc_with_libunwind): Likewise.
28463 (libc_cv_as_noexecstack): Likewise.
28464 * configure: Regenerate.
28466 2012-10-24 Joseph Myers <joseph@codesourcery.com>
28468 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
28470 * posix/globtest.sh (TMPDIR): Do not set.
28471 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
28472 (testout): Likewise.
28474 2012-10-24 Andreas Jaeger <aj@suse.de>
28476 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
28477 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
28478 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
28479 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
28480 posix_fadvise64, posix_fallocate64.
28482 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
28483 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
28484 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
28486 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
28488 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
28490 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
28491 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
28492 <bits/fcntl-linux.h>.
28493 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
28495 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
28496 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
28497 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
28498 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
28499 [__WORDSIZE != 64]: Likewise.
28501 2012-10-23 Joseph Myers <joseph@codesourcery.com>
28503 * Makeconfig (run-built-tests): New variable.
28504 * Rules [$(cross-compiling) = yes]: Change condition to
28505 [$(run-built-tests) = no].
28506 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
28507 to [$(run-built-tests) = yes].
28508 * elf/Makefile [$(cross-compiling) = no]: Likewise
28509 * grp/Makefile [$(cross-compiling) = no]: Likewise.
28510 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
28511 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
28512 * intl/Makefile [$(cross-compiling) = no]: Likewise.
28513 * io/Makefile [$(cross-compiling) = no]: Likewise.
28514 * libio/Makefile [$(cross-compiling) = no]: Likewise.
28515 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
28516 * misc/Makefile [$(cross-compiling) = no]: Likewise.
28517 * posix/Makefile [$(cross-compiling) = no]: Likewise.
28518 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
28519 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
28520 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
28521 * string/Makefile [$(cross-compiling) = no]: Likewise.
28523 * posix/Makefile ($(objpfx)globtest.out): Pass
28524 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
28525 $(rtld-installed-name).
28526 * posix/globtest.sh (elf_objpfx): Remove variable.
28527 (rtld_installed_name): Likewise.
28528 (library_path): Likewise.
28529 (run_program_prefix): New variable. Use for running globtest
28532 2012-10-23 Jim Blandy <jimb@codesourcery.com>
28533 Joseph Myers <joseph@codesourcery.com>
28535 * Makeconfig (host-built-program-cmd): New variable.
28536 * elf/Makefile (tst-stackguard1-ARGS): Use
28537 $(host-built-program-cmd).
28538 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
28539 (tst-spawn-ARGS): Likewise.
28540 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
28542 2012-10-23 Joseph Myers <joseph@codesourcery.com>
28543 Jim Blandy <jimb@codesourcery.com>
28545 * Makeconfig (run-via-rtld-prefix): New variable.
28546 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
28547 (built-program-cmd): Likewise.
28549 2012-10-22 Andreas Jaeger <aj@suse.de>
28551 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
28552 __O_RSYNC if it exists, otherwise to O_SYNC.
28554 2012-10-22 Jim Blandy <jimb@codesourcery.com>
28555 Joseph Myers <joseph@codesourcery.com>
28557 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
28559 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
28561 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
28564 2012-10-22 Andreas Jaeger <aj@suse.de>
28566 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
28568 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
28570 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28571 bits/fcntl-linux.h.
28573 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
28574 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
28576 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
28578 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
28581 2012-10-21 Jim Blandy <jimb@codesourcery.com>
28582 Joseph Myers <joseph@codesourcery.com>
28584 * config.make.in (NM): New variable.
28586 2012-10-21 Andreas Jaeger <aj@suse.de>
28588 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
28589 definitions and declarations that are provided by
28590 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
28592 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
28595 * elf/Makefile (tests-static): Add tst-leaks1-static.
28596 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
28597 ($(objpfx)tst-leaks1-static): New rule.
28598 ($(objpfx)tst-leaks1-static-mem): Likewise.
28599 (tst-leaks1-static-ENV): New macro.
28600 * elf/dl-open.c (dl_open_worker): Check the main application
28601 only if SHARED is defined.
28602 * elf/tst-leaks1-static.c: New file.
28604 2012-10-20 Andreas Jaeger <aj@suse.de>
28606 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
28607 generic values for Linux.
28608 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
28609 and declarations that are provided by <bits/fcntl-linux.h> and
28610 include <bits/fcntl-linux.h>.
28611 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
28612 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
28614 2012-10-20 Roland McGrath <roland@hack.frob.com>
28616 * io/fcntl.h: Move include of <bits/types.h> to the top and
28617 include it unconditionally.
28619 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
28621 * wcsmbs/Makefile (tests-ifunc): New variable.
28622 (tests): Add $(tests-ifunc).
28623 * wcsmbs/test-wcschr-ifunc.c: New file.
28624 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
28625 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
28626 * wcsmbs/test-wcslen-ifunc.c: Likewise.
28627 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
28628 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
28630 * string/Makefile (tests-ifunc): New variable.
28631 (tests): Add $(tests-ifunc).
28632 * string/test-memccpy.c (TEST_NAME): New macro.
28633 * string/test-memchr.c (TEST_NAME): Likewise.
28634 * string/test-memcmp.c (TEST_NAME): Likewise.
28635 * string/test-memcpy.c (TEST_NAME): Likewise.
28636 * string/test-memmem.c (TEST_NAME): Likewise.
28637 * string/test-memmove.c (TEST_NAME): Likewise.
28638 * string/test-memset.c (TEST_NAME): Likewise.
28639 * string/test-rawmemchr.c (TEST_NAME): Likewise.
28640 * string/test-stpcpy.c (TEST_NAME): Likewise.
28641 * string/test-stpncpy.c (TEST_NAME): Likewise.
28642 * string/test-strcasecmp.c (TEST_NAME): Likewise.
28643 * string/test-strcasestr.c (TEST_NAME): Likewise.
28644 * string/test-strcat.c (TEST_NAME): Likewise.
28645 * string/test-strchr.c (TEST_NAME): Likewise.
28646 * string/test-strcmp.c(TEST_NAME): Likewise.
28647 * string/test-strcpy.c (TEST_NAME): Likewise.
28648 * string/test-strcspn.c (TEST_NAME): Likewise.
28649 * string/test-strlen.c (TEST_NAME): Likewise.
28650 * string/test-strncasecmp.c (TEST_NAME): Likewise.
28651 * string/test-strncmp.c (TEST_NAME): Likewise.
28652 * string/test-strncpy.c (TEST_NAME): Likewise.
28653 * string/test-strnlen.c (TEST_NAME): Likewise.
28654 * string/test-strpbrk.c (TEST_NAME): Likewise.
28655 * string/test-strrchr.c (TEST_NAME): Likewise.
28656 * string/test-strspn.c (TEST_NAME): Likewise.
28657 * string/test-strstr.c (TEST_NAME): Likewise.
28658 * string/test-bcopy-ifunc.c: New file.
28659 * string/test-bzero-ifunc.c: Likewise.
28660 * string/test-memccpy-ifunc.c: Likewise.
28661 * string/test-memchr-ifunc.c: Likewise.
28662 * string/test-memcmp-ifunc.c: Likewise.
28663 * string/test-memcpy-ifunc.c: Likewise.
28664 * string/test-memmem-ifunc.c: Likewise.
28665 * string/test-memmove-ifunc.c: Likewise.
28666 * string/test-mempcpy-ifunc.c: Likewise.
28667 * string/test-memset-ifunc.c: Likewise.
28668 * string/test-rawmemchr-ifunc.c: Likewise.
28669 * string/test-stpcpy-ifunc.c: Likewise.
28670 * string/test-stpncpy-ifunc.c: Likewise.
28671 * string/test-strcasecmp-ifunc.c: Likewise.
28672 * string/test-strcasestr-ifunc.c: Likewise.
28673 * string/test-strcat-ifunc.c: Likewise.
28674 * string/test-strchr-ifunc.c: Likewise.
28675 * string/test-strchrnul-ifunc.c: Likewise.
28676 * string/test-strcmp-ifunc.c: Likewise.
28677 * string/test-strcpy-ifunc.c: Likewise.
28678 * string/test-strcspn-ifunc.c: Likewise.
28679 * string/test-strlen-ifunc.c: Likewise.
28680 * string/test-strncasecmp-ifunc.c: Likewise.
28681 * string/test-strncat-ifunc.c: Likewise.
28682 * string/test-strncmp-ifunc.c: Likewise.
28683 * string/test-strncpy-ifunc.c: Likewise.
28684 * string/test-strnlen-ifunc.c: Likewise.
28685 * string/test-strpbrk-ifunc.c: Likewise.
28686 * string/test-strrchr-ifunc.c: Likewise.
28687 * string/test-strspn-ifunc.c: Likewise.
28688 * string/test-strstr-ifunc.c: Likewise.
28690 * debug/Makefile (tests-ifunc): New variable.
28691 (tests): Add $(tests-ifunc).
28692 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
28693 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
28694 * debug/test-stpcpy_chk-ifunc.c: New file.
28695 * debug/test-strcpy_chk-ifunc.c: Likewise.
28697 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
28700 * elf/dl-load.c (open_verify): Retry read if the entire ELF
28701 header is not read in.
28703 2012-10-19 Joseph Myers <joseph@codesourcery.com>
28705 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
28706 script to $(SHELL) as $<. Pass $(common-objpfx) to script
28707 directly. Pass built executable to script as
28708 $(built-program-cmd).
28709 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
28710 $testprogram without using LD_LIBRARY_PATH and $ldso.
28712 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
28713 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
28714 $(rtld-installed-name).
28715 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
28716 (rtld_installed_name): Likewise.
28717 (library_path): Likewise.
28718 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
28719 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
28720 $(run-program-prefix) to tst-tables.sh.
28721 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
28722 it to run tst-table-from and tst-table-to.
28723 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
28724 Pass it to tst-table.sh.
28725 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
28726 $(run-program-prefix) to tst-gettext.sh.
28727 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
28729 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
28731 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
28732 to run tst-gettext.
28733 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
28734 to run tst-gettext2.
28735 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
28736 to run tst-translit.
28737 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
28738 $(run-program-prefix) to tst-mtrace.sh.
28739 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
28741 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
28742 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
28743 $(rtld-installed-name).
28744 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
28745 (rtld_installed_name): Likewise.
28746 (run_program_prefix): New variable. Use it to run wordexp-test.
28748 * Makeconfig (ARCH): Remove all definitions.
28749 (machine): Likewise.
28750 [ARCH]: Remove conditional code.
28751 [!objdir]: Give error.
28752 [!objdir] (objpfx): Remove.
28753 [!objdir] (common-objpfx): Likewise.
28754 [!objdir] (common-objdir): Likewise.
28755 * configure.in (config_makefile): Remove. Hardcode Makefile in
28756 AC_CONFIG_FILES call.
28757 * configure: Regenerated.
28760 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
28762 (testout): Likewise.
28764 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
28765 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
28766 $(rtld-installed-name).
28767 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
28768 (rtld_installed_name): Likwise.
28769 (runit): Remove function.
28770 (run_getconf): New variable, Use it for running getconf binary.
28772 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
28775 * string/test-memmem.c (check_result): New function.
28776 (do_one_test): Use it.
28777 (check1): New function.
28778 (test_main): Use it.
28780 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
28782 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
28784 2012-10-18 Joseph Myers <joseph@codesourcery.com>
28786 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
28787 (_G_LSEEK64): Likewise.
28788 (_G_MMAP64): Likewise.
28789 (_G_FSTAT64): Likewise.
28790 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
28791 (_G_LSEEK64): Likewise.
28792 (_G_MMAP64): Likewise.
28793 (_G_FSTAT64): Likewise.
28794 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
28795 unconditional. Call __mmap64 directly.
28796 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
28797 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
28798 __lseek64 directly.
28799 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
28800 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
28802 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
28803 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
28804 __lseek64 directly.
28805 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
28806 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
28807 __lseek64 directly.
28808 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
28809 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
28810 __lseek64 directly.
28811 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
28812 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
28813 __fxstat64 directly.
28814 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
28815 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
28817 (freopen64) [!_G_OPEN64]: Remove conditional code.
28818 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
28820 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
28821 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
28823 (ftello64) [!_G_LSEEK64]: Remove conditional code.
28824 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
28826 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
28827 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
28829 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
28830 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
28832 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
28833 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
28835 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
28836 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
28838 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
28840 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
28843 * manual/memory.texi (Malloc Tunable Parameters): Add note
28844 about free list pointers overwriting some perturb bytes.
28845 Wording suggested by Roland McGrath.
28847 2012-10-17 Joseph Myers <joseph@codesourcery.com>
28849 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
28850 (lgamma_test): Likewise.
28851 (tgamma_test): Likewise.
28853 2012-10-16 Florian Weimer <fweimer@redhat.com>
28856 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
28857 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
28859 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
28861 * NEWS: Mention BZ #14716.
28862 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
28863 when removing AVAILABLE1_USES_J macro.
28865 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
28867 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
28868 (__bswap_64): __uint64_t for unsigned 64-bit int.
28870 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
28872 * include/string.h (memmem): Declare libc hidden alias.
28873 * string/memmem.c (memmem): Define libc hidden alias.
28874 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
28875 __read, __close instead of open, read, close.
28877 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
28879 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
28880 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
28882 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
28883 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
28884 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
28886 (__rawmemchr_sse2): Likewise.
28887 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
28888 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
28889 (__strchr_sse2): Likewise.
28890 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
28891 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
28892 (__strcasecmp_sse2): Likewise.
28893 (__strncasecmp_sse2): Likewise.
28894 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
28895 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
28896 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
28897 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
28898 (__strrchr_sse2): Likewise.
28899 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
28901 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
28902 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
28903 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
28904 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
28905 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
28906 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
28907 * sysdeps/x86_64/multiarch/memset.S: Likewise.
28908 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
28909 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
28910 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
28911 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
28912 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
28913 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
28914 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
28915 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
28916 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
28917 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
28918 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
28919 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
28920 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
28921 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
28922 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
28923 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
28924 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
28925 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
28926 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
28927 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
28928 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
28929 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
28930 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
28932 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
28934 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
28935 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
28936 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
28937 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
28939 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
28941 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
28942 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
28943 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
28944 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
28946 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
28947 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
28948 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
28949 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
28950 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
28951 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
28952 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
28953 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
28954 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
28955 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
28956 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
28957 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
28958 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
28959 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
28960 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
28961 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
28962 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
28963 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
28964 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
28965 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
28966 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
28967 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
28968 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
28969 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
28970 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
28971 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
28972 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
28973 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
28974 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
28975 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
28976 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
28977 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
28978 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
28979 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
28980 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
28981 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
28982 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
28983 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
28984 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
28985 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
28986 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
28988 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
28989 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
28990 * include/ifunc-impl-list.h: New file.
28991 * misc/ifunc-impl-list.c: Likewise.
28992 * misc/Makefile (routines): Add ifunc-impl-list.
28993 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
28994 * string/test-string.h: Include <ifunc-impl-list.h>.
28995 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
28996 TEST_NAME]: New variables.
28997 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
28999 (test_init): Call __libc_ifunc_impl_list to initialize
29000 func_list if TEST_IFUNC and TEST_NAME are defined.
29002 * string/Makefile (strop-tests): Add bcopy and bzero.
29003 * string/test-bcopy.c: New file.
29004 * string/test-bzero.c: Likewise.
29005 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
29007 * string/test-memset.c: Support bzero test if TEST_BZERO is
29009 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
29011 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
29013 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
29016 2012-10-10 Joseph Myers <joseph@codesourcery.com>
29018 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
29019 * configure: Regenerated.
29021 * Makeconfig (+link-static-before-libc): Don't include
29022 $(link-static-libc).
29024 * libio/libio.h (_IO_pos_t): Remove.
29026 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
29028 * NEWS: Add note about FIPS mode. Wording suggested by Roland
29031 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
29033 * crypt/crypt-entry.c: Include fips-private.h.
29034 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
29035 * crypt/md5c-test.c (main): Tolerate disabled MD5.
29036 * sysdeps/unix/sysv/linux/fips-private.h: New file.
29037 * sysdeps/generic/fips-private.h: New file, dummy fallback.
29039 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
29041 * crypt/crypt-private.h: Include stdbool.h.
29042 (_ufc_setup_salt_r): Return bool.
29043 * crypt/crypt-entry.c: Include errno.h.
29044 (__crypt_r): Return NULL with EINVAL for bad salt.
29045 * crypt/crypt_util.c (bad_for_salt): New.
29046 (_ufc_setup_salt_r): Check that salt is long enough and within
29047 the specified alphabet.
29048 * crypt/badsalttest.c: New file.
29049 * crypt/Makefile (tests): Add it.
29050 ($(objpfx)badsalttest): New.
29052 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
29054 * NEWS: Add entry for BZ #14602.
29056 2012-10-09 Joseph Myers <joseph@codesourcery.com>
29058 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
29060 * math/libm-test.inc: Update comment listing what functions and
29062 (isgreater_test): New function.
29063 (isgreaterequal_test): Likewise.
29064 (isless_test): Likewise.
29065 (islessequal_test): Likewise.
29066 (islessgreater_test): Likewise.
29067 (isunordered_test): Likewise.
29068 (main): Call the new functions.
29070 2012-10-09 Roland McGrath <roland@hack.frob.com>
29072 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
29073 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
29074 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
29075 * sysdeps/i386/configure: Regenerated.
29076 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
29077 * sysdeps/mach/configure: Regenerated.
29078 * sysdeps/mach/hurd/configure: Regenerated.
29079 * sysdeps/powerpc/configure: Regenerated.
29080 * sysdeps/powerpc/powerpc32/configure: Regenerated.
29081 * sysdeps/powerpc/powerpc64/configure: Regenerated.
29082 * sysdeps/s390/s390-32/configure: Regenerated.
29083 * sysdeps/s390/s390-64/configure: Regenerated.
29084 * sysdeps/sh/configure: Regenerated.
29085 * sysdeps/sparc/configure: Regenerated.
29086 * sysdeps/unix/sysv/linux/configure: Regenerated.
29087 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
29088 * sysdeps/x86_64/configure: Regenerated.
29090 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
29091 defined. Don't check if MAP is NULL.
29093 2012-10-09 Joseph Myers <joseph@codesourcery.com>
29095 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
29096 (_G_stat64): Likewise.
29097 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
29098 (_G_stat64): Likewise.
29099 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
29100 instead of struct _G_stat64.
29101 * libio/fileops.c (mmap_remap_check): Likewise.
29102 (decide_maybe_mmap): Likewise.
29103 (_IO_new_file_seekoff): Likewise.
29104 (_IO_file_stat): Likewise.
29105 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
29107 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
29108 instead of struct _G_stat64.
29109 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
29111 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
29114 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
29116 (CHECK_EOL): New macro.
29117 (two_way_short_needle): Check beginning of haystack for EOL. Use
29119 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
29120 Replace with CHECK_EOL.
29121 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
29122 Replace with CHECK_EOL.
29124 2012-10-08 Joseph Myers <joseph@codesourcery.com>
29126 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
29128 * math/libm-test.inc: Update comment listing what functions and
29130 (finite_test): New function.
29131 (isinf_test): Likewise.
29132 (isnan_test): Likewise.
29133 (fpclassify_test): Test subnormal input.
29134 (isfinite_test): Likewise.
29135 (isnormal_test): Likewise.
29136 (main): Call the new functions.
29138 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
29141 * Makerules (%.dynsym): Force C locale when running
29142 $(OBJDUMP) --dynamic-syms.
29144 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
29146 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
29149 2012-10-06 David S. Miller <davem@davemloft.net>
29151 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
29152 upper 32-bits of the length value in %o2 since we use branch-on-register
29153 tests which consider the entire 64-bit register.
29155 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
29157 * string/test-strstr.c (check2): Add a test for page boundary.
29159 2012-10-05 David S. Miller <davem@davemloft.net>
29161 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
29162 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
29164 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
29166 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
29167 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
29168 and bzero when HWCAP_SPARC_CRYPTO is present.
29170 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
29173 * string/test-strstr.c (check2): New function.
29174 (test_main): Call check2.
29176 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
29178 * string/bug-strcasestr1.c (do_test): Moved to ...
29179 * string/test-strcasestr.c (check1): Here. New function.
29180 (do_one_test): Break out result checking code into ...
29181 (check_result): This. New function.
29182 (do_one_test): Call check_result.
29183 (test_main): Call check1.
29184 * string/bug-strchr1.c (do_test): Moved to ...
29185 * string/test-strchr.c (check1): Here. New function.
29186 (do_one_test): Break out result checking code into ...
29187 (check_result): This. New function.
29188 (do_one_test): Call check_result.
29189 (test_main): Call check1.
29190 * string/bug-strstr1.c (main): Moved to ...
29191 * string/test-strstr.c (check1): Here. New function.
29192 (do_one_test): Break out result checking code into ...
29193 (check_result): This. New function.
29194 (do_one_test): Call check_result.
29195 (test_main): Call check1.
29196 * string/bug-strcasestr1.c: Removed.
29197 * string/bug-strchr1.c: Likewise.
29198 * string/bug-strstr1.c: Likewise.
29200 * elf/Makefile (dl-routines): Add hwcaps.
29201 * elf/dl-support.c (_dl_important_hwcaps): Removed.
29202 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
29203 (_dl_important_hwcaps): Moved to ...
29204 * elf/dl-hwcaps.c: Here. New file.
29205 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
29208 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
29209 if IS_IN_rtld isn't defined.
29211 * elf/dl-support.c (_dl_sysinfo_map): New.
29212 Include "get-dynamic-info.h" and "setup-vdso.h".
29213 (_dl_non_dynamic_init): Call setup_vdso.
29214 * elf/dynamic-link.h: Don't include <assert.h>.
29215 (elf_get_dynamic_info): Moved to ...
29216 * elf/get-dynamic-info.h: Here. New file.
29217 * elf/dynamic-link.h: Include "get-dynamic-info.h".
29218 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
29219 * elf/setup-vdso.h: Here. New file.
29220 * elf/rtld.c: Include "setup-vdso.h".
29221 (dl_main): Call setup_vdso.
29223 2012-10-05 Joseph Myers <joseph@codesourcery.com>
29225 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
29226 creal in comment listing functions tested. List finite, isinf,
29227 isnan, isless, islessequal, isgreater, isgreaterequal,
29228 islessgreater, isunordered, lgamma_r and pow10 as functions and
29229 macros not tested. Mention which functions not tested are aliases
29230 for other functions. Fix typo. Note that signs of NaNs are not
29233 * scripts/config.guess: Update from config.git.
29234 * scripts/config.sub: Likewise.
29236 2012-10-04 Roland McGrath <roland@hack.frob.com>
29238 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
29239 * misc/madvise.c (madvise): Renamed to __madvise.
29240 Make madvise a weak alias.
29241 * include/sys/mman.h: Declare __madvise.
29242 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
29243 * sysdeps/unix/syscalls.list
29244 (madvise): Make __madvise the strong name, and madvise a weak alias.
29245 * sysdeps/unix/sysv/linux/syscalls.list
29246 (madvise, mmap): Remove redundant entries.
29247 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
29248 * malloc/malloc.c (mtrim): Likewise.
29249 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
29251 2012-10-03 Roland McGrath <roland@hack.frob.com>
29253 * sysdeps/mach/hurd/dl-cache.c: File removed.
29254 * config.h.in (USE_LDCONFIG): New #undef.
29255 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
29256 * configure: Regenerated.
29257 * elf/Makefile (dl-routines): Add dl-cache only under
29258 [$(use-ldconfig) = yes].
29259 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
29260 cache on [USE_LDCONFIG].
29261 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
29263 * elf/rtld.c (dl_main): Likewise.
29265 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
29267 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
29268 _SC_LEVEL4_CACHE_LINESIZE.
29270 2012-10-03 Roland McGrath <roland@hack.frob.com>
29272 * sysdeps/unix/bsd/confstr.h: File removed.
29274 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
29276 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
29279 2012-10-02 Roland McGrath <roland@hack.frob.com>
29281 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
29282 Make 'mapoff' field ElfW(Off) rather than off_t.
29284 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
29286 * nscd/Makefile: Remove nscd-cflags and all its users.
29287 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
29288 (CFLAGS-nonlib): Add compiler flags for nscd modules.
29291 * malloc.c (malloc_printerr): Clarify error message.
29293 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
29296 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29297 Set bit_FMA_Usable if FMA is supported.
29298 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
29300 (bit_FMA4_Usable): Updated.
29301 (index_FMA_Usable): New macro.
29302 (CPUID_FMA): Likewise
29303 (HAS_FMA): Defined with bit_FMA_Usable.
29305 2012-10-01 Roland McGrath <roland@hack.frob.com>
29307 * bits/types.h (__swblk_t): Type removed.
29308 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
29309 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
29310 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
29311 (__SWBLK_T_TYPE): Likewise.
29312 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
29313 (__SWBLK_T_TYPE): Likewise.
29314 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
29315 (__SWBLK_T_TYPE): Likewise.
29316 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
29317 (__SWBLK_T_TYPE): Likewise.
29319 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
29320 Honza Horak <hhorak@redhat.com>
29322 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
29323 (xdr_mapname): Use YPMAXMAP as maxsize.
29324 (xdr_peername): Use YPMAXPEER as maxsize.
29325 (xdr_keydat): Use YPAXRECORD as maxsize.
29326 (xdr_valdat): Use YPMAXRECORD as maxsize.
29328 2012-10-01 Roland McGrath <roland@hack.frob.com>
29330 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
29332 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
29333 * csu/init-first.c: ... here.
29334 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
29335 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
29336 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
29337 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
29338 * sysdeps/i386/init-first.c: File removed.
29339 * sysdeps/sh/init-first.c: File removed.
29341 2012-10-01 Joseph Myers <joseph@codesourcery.com>
29344 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
29345 if x * y might underflow to zero and z is zero.
29346 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29347 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29348 * math/libm-test.inc (min_subnorm_value): New variable.
29349 (fma_test): Add more tests.
29350 (fma_test_towardzero): Likewise.
29351 (fma_test_downward): Likewise
29352 (fma_test_upward): Likewise.
29353 (initialize): Set min_subnorm_value.
29355 2012-09-29 Joseph Myers <joseph@codesourcery.com>
29358 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
29360 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
29361 mode for addition resulting in exact zero.
29362 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
29363 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
29365 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
29366 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29367 * math/libm-test.inc (fma_test): Add more tests.
29368 (fma_test_towardzero): New function.
29369 (fma_test_downward): Likewise.
29370 (fma_test_upward): Likewise.
29371 (main): Call the new functions.
29373 2012-09-28 David S. Miller <davem@davemloft.net>
29375 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
29377 2012-09-28 Roland McGrath <roland@hack.frob.com>
29379 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
29380 instead of SIGALRM.
29382 * sysdeps/gnu/_G_config.h: Moved to ...
29383 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
29384 * sysdeps/mach/hurd/_G_config.h: Moved to ...
29385 * sysdeps/generic/_G_config.h: ... here.
29387 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
29389 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
29391 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
29392 Conditionalize target on [libnss_test1.so-version].
29394 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
29396 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
29397 (elfobjdir): Move out of conditionals.
29399 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
29400 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
29401 (__nss_lookup_function): Conditionalize label remove_from_tree on
29402 [!DO_STATIC_NSS || SHARED], matching its only use.
29404 2012-09-28 David S. Miller <davem@davemloft.net>
29406 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
29407 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
29409 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
29411 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
29412 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
29413 when HWCAP_SPARC_CRYPTO is present.
29415 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
29417 * io/tst-mknodat.c: Create a FIFO instead of a socket.
29419 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
29422 * stdio-common/vfprintf.c (process_string_arg): Revert
29425 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
29427 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
29429 * stdio-common/tst-sprintf.c: Include <locale.h>
29430 (main): Test sprintf's handling of incomplete multibyte
29433 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
29435 * elf/dl-runtime.c (VERSYMIDX): Removed.
29436 * elf/dl-version.c (VERSYMIDX): Likewise.
29437 * elf/do-rel.h (VERSYMIDX): Likewise.
29438 (VALIDX): Likewise.
29439 * elf/dynamic-link.h (VERSYMIDX): Likewise.
29440 * elf/rtld.c (VALIDX): Likewise.
29441 (ADDRIDX): Likewise.
29442 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
29443 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
29444 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
29445 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
29446 (VALIDX): Likewise.
29447 (ADDRIDX): Likewise.
29449 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
29451 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
29453 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
29456 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
29458 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
29459 addresses are in the same scope as 192.0.2/24.
29460 * posix/gai.conf: Document new scope table defaults.
29462 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
29465 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
29466 for ftell. Compute offsets from write pointers instead.
29467 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
29469 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
29472 * libio/Makefile (tests): New test case tst-fseek.
29473 * libio/tst-fseek.c: New test case to verify that fseek/ftell
29474 combination works in wide mode.
29475 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
29476 state when the external buffer state changes.
29478 2012-09-27 David S. Miller <davem@davemloft.net>
29481 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
29482 pass reloc->r_addend in as the 'high' argument to
29483 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
29485 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29487 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
29489 * rt/tst-aio2.c: Include <pthread.h>.
29490 * rt/tst-aio3.c: Likewise.
29492 2012-09-27 Steve Ellcey <sellcey@mips.com>
29494 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
29496 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
29498 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
29499 contents on [SHARED].
29501 2012-09-26 Marek Polacek <polacek@redhat.com>
29505 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
29506 for C++ and GCC <4.3 as well as for non GCC compilers.
29508 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
29510 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29512 2012-09-25 Roland McGrath <roland@hack.frob.com>
29514 * Makefile.in (all, install): Declare with .PHONY.
29515 Reported by Michael Hope <michael.hope@linaro.org>.
29517 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
29519 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
29520 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
29522 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
29524 (sydep_routines): Add the new and the internal functions.
29525 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
29526 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
29527 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
29528 (GLIBC_2.17): Add the new function.
29529 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
29530 (GLIBC_2.17): Likewise.
29531 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
29532 (GLIBC_2.17): Likewise.
29533 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
29534 (GLIBC_2.17): Likewise.
29535 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
29537 2012-09-25 Alan Modra <amodra@gmail.com>
29539 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
29540 Add release barrier before setting once_control to say
29541 initialisation is done. Add hints on lwarx. Use macro in
29543 (clear_once_control): Add release barrier.
29545 2012-09-25 Joseph Myers <joseph@codesourcery.com>
29548 * math/s_clog.c (__clog): Handle more values close to |z| = 1
29550 * math/s_clog10.c (__clog10): Likewise.
29551 * math/s_clog10f.c (__clog10f): Likewise.
29552 * math/s_clog10l.c (__clog10l): Likewise.
29553 * math/s_clogf.c (__clogf): Likewise.
29554 * math/s_clogl.c (__clogl): Likewise.
29555 * math/Makefile (libm-calls): Add x2y2m1.
29556 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
29557 (__x2y2m1): Likewise.
29558 (__x2y2m1l): Likewise.
29559 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
29560 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
29561 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
29562 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
29563 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
29564 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
29565 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
29566 * sysdeps/i386/fpu/libm-test-ulps: Update.
29567 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29570 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
29571 int as type of variable DEPTH.
29572 (glob): Use size_t instead of int as type of variables NEWCOUNT
29575 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29577 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
29578 Add s_sincosf-sse2.
29579 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
29580 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
29581 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
29582 macros for using routine as __sincosf_ia32.
29583 Use macro for function declaration and weak_alias.
29584 * sysdeps/i386/fpu/libm-test-ulps: Update.
29586 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
29587 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29589 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
29590 subnormal argument.
29591 * math/s_cexpf.c (__cexpf): Likewise.
29592 * math/s_csinf.c (__csinf): Likewise.
29593 * math/s_csinhf.c (__csinhf): Likewise.
29594 * math/s_ctanf.c (__ctanf): Likewise.
29595 * math/s_ctanhf.c (__ctanhf): Likewise.
29596 * math/s_ccosh.c (__ccoshf): Likewise.
29597 * math/s_cexp.c (__cexpl): Likewise.
29598 * math/s_csin.c (__csin): Likewise.
29599 * math/s_csinh.c (__csinh): Likewise.
29600 * math/s_ctan.c (__ctan): Likewise.
29601 * math/s_ctanh.c (ctanh): Likewise.
29602 * math/s_ccoshl.c (__ccoshl): Likewise.
29603 * math/s_cexpl.c (__cexpl): Likewise.
29604 * math/s_csinl.c (__csinl): Likewise.
29605 * math/s_csinhl.c (__csinhl): Likewise.
29606 * math/s_ctanl.c (__ctanl): Likewise.
29607 * math/s_ctanhl.c (__ctanhl): Likewise.
29609 2012-09-25 Joseph Myers <joseph@codesourcery.com>
29611 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
29612 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
29613 (_IO_off_t): Define to __off_t, not _G_off_t.
29614 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
29615 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
29616 (_IO_wint_t): Define to wint_t, not _G_wint_t.
29617 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
29618 type of __dummy and __dummy2 fields.
29619 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
29620 (_G_ssize_t): Likewise.
29621 (_G_off_t): Likewise.
29622 (_G_pid_t): Likewise.
29623 (_G_uid_t): Likewise.
29624 (_G_wchar_t): Likewise.
29625 (_G_wint_t): Likewise.
29626 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
29627 (_G_ssize_t): Likewise.
29628 (_G_off_t): Likewise.
29629 (_G_pid_t): Likewise.
29630 (_G_uid_t): Likewise.
29631 (_G_wchar_t): Likewise.
29632 (_G_wint_t): Likewise.
29633 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
29634 (_G_ssize_t): Likewise.
29635 (_G_off_t): Likewise.
29636 (_G_pid_t): Likewise.
29637 (_G_uid_t): Likewise.
29638 (_G_wchar_t): Likewise.
29639 (_G_wint_t): Likewise.
29641 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
29643 * malloc/arena.c: Include malloc-sysdep.h.
29644 (shrink_heap): Use check_may_shrink_heap to decide if madvise
29645 is sufficient to shrink the heap or an unmap is needed.
29646 * sysdeps/generic/malloc-sysdep.h: New file. Define
29647 new function check_may_shrink_heap.
29648 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
29649 new function check_may_shrink_heap.
29651 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
29653 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
29656 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
29658 * catgets/test-gencat.sh: Add "set -e".
29659 * elf/tst-pathopt.sh: Likewise.
29660 * grp/tst_fgetgrent.sh: Likewise.
29661 * iconvdata/run-iconv-test.sh: Likewise.
29662 * intl/tst-gettext.sh: Likewise.
29663 * intl/tst-gettext2.sh: Likewise.
29664 * intl/tst-gettext4.sh: Likewise.
29665 * intl/tst-gettext6.sh: Likewise.
29666 * intl/tst-translit.sh: Likewise.
29667 * io/ftwtest-sh: Likewise.
29668 * libio/test-freopen.sh: Likewise.
29669 * malloc/tst-mtrace.sh: Likewise.
29670 * posix/globtest.sh: Likewise.
29671 * posix/tst-getconf.sh: Likewise.
29672 * posix/wordexp-tst.sh: Likewise.
29673 * stdio-common/tst-printf.sh: Likewise.
29674 * stdio-common/tst-unbputc.sh: Likewise.
29675 * stdlib/tst-fmtmsg.sh: Likewise.
29676 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
29677 * catgets/Makefile: Do not specify -e option when running
29678 testsuite shell scripts.
29679 * elf/Makefile: Likewise.
29680 * grp/Makefile: Likewise.
29681 * iconvdata/Makefile: Likewise.
29682 * intl/Makefile: Likewise.
29683 * io/Makefile: Likewise.
29684 * libio/Makefile: Likewise.
29685 * malloc/Makefile: Likewise.
29686 * posix/Makefile: Likewise.
29687 * stdio-common/Makefile: Likewise.
29688 * stdlib/Makefile: Likewise.
29689 * sysdeps/x86_64/Makefile: Likewise.
29691 * io/ftwtest-sh: Add copyright header.
29692 * posix/globtest.sh: Likewise.
29693 * posix/tst-getconf.sh: Likewise.
29694 * posix/wordexp-tst.sh: Likewise.
29695 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
29697 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
29700 * Makeconfig (+link): Defined as $(+link-static) if
29701 $(build-shared) isn't yes.
29702 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
29704 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
29706 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
29709 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
29710 new chunk size with MALLOC_ALIGN_MASK.
29712 2012-09-24 Joseph Myers <joseph@codesourcery.com>
29715 * stdio-common/printf_fphex.c: Include <stdbool.h> and
29717 (__printf_fphex): Determine rounding using get_rounding_mode and
29719 * stdio-common/tst-printf-round.c (struct hex_test): New
29721 (hex_tests): New variable.
29722 (test_hex_in_one_mode): New function.
29723 (do_test): Also run tests for hex float output.
29725 2012-09-21 Joseph Myers <joseph@codesourcery.com>
29727 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
29728 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
29729 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
29730 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
29731 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
29732 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
29733 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
29734 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
29736 2012-09-20 Joseph Myers <joseph@codesourcery.com>
29738 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
29739 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
29740 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
29741 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
29743 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
29746 * elf/rtld.c (dl_main): Limit the check for self loading to normal
29748 * elf/tst-rtld-load-self.sh: New test.
29749 * elf/Makefile: Run it.
29751 2012-09-18 Joseph Myers <joseph@codesourcery.com>
29753 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
29754 (tst-writev-ENV): Remove.
29755 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
29757 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
29759 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
29761 2012-09-17 Joseph Myers <joseph@codesourcery.com>
29763 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
29765 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
29767 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
29768 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
29769 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
29772 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
29775 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
29776 * config.make.in (have-cpp-asm-debuginfo): Removed.
29777 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
29778 * configure: Regenerated.
29780 2012-09-14 Joseph Myers <joseph@codesourcery.com>
29783 * stdio-common/printf_fp.c: Include <stdbool.h> and
29785 (___printf_fp): Determine rounding using get_rounding_mode and
29787 * stdio-common/tst-printf-round.c: New file.
29788 * stdio-common/Makefile (tests): Add tst-printf-round.
29789 (link-libm): New variable.
29790 ($(objpfx)tst-printf-round): Depend in $(link-libm).
29792 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
29795 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
29796 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
29798 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
29801 2012-09-13 Joseph Myers <joseph@codesourcery.com>
29803 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
29804 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
29805 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
29806 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
29808 2012-09-12 Joseph Myers <joseph@codesourcery.com>
29811 * include/rounding-mode.h: New file.
29812 * sysdeps/generic/get-rounding-mode.h: Likewise.
29813 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
29814 * stdlib/strtod_l.c: Include <rounding-mode.h>.
29815 (MAX_VALUE): New macro.
29816 (MIN_VALUE): Likewise.
29817 (overflow_value): New function.
29818 (underflow_value): Likewise.
29819 (round_and_return): Use overflow_value and underflow_value to
29820 determine return values in overflow and underflow cases. Use
29821 round_away to determine rounding depending on rounding mode.
29822 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
29823 determine return values in overflow and underflow cases.
29824 * stdlib/tst-strtod-round.c: Include <fenv.h>.
29825 (struct test_results): New structure.
29826 (struct test): Use struct test_results to store expected results
29827 for all rounding modes.
29828 (TEST): Include expected results for all rounding modes.
29829 (test_in_one_mode): New function.
29830 (do_test): Use test_in_one_mode to compute and check results.
29831 Check results for all rounding modes.
29832 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
29835 2012-12-09 Allan McRae <allan@archlinux.org>
29837 * sysdeps/i386/fpu/libm-test-ulps: Update
29839 2012-09-11 Joseph Myers <joseph@codesourcery.com>
29841 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
29842 (_G_int32_t): Likewise.
29843 (_G_uint16_t): Likewise.
29844 (_G_uint32_t): Likewise.
29845 (_G_HAVE_BOOL): Likewise.
29846 (_G_HAVE_ATEXIT): Likewise.
29847 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
29848 (_G_HAVE_IO_FILE_OPEN): Likewise.
29849 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
29850 (_G_int32_t): Likewise.
29851 (_G_uint16_t): Likewise.
29852 (_G_uint32_t): Likewise.
29853 (_G_HAVE_BOOL): Likewise.
29854 (_G_HAVE_ATEXIT): Likewise.
29855 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
29856 (_G_HAVE_IO_FILE_OPEN): Likewise.
29857 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
29858 (_G_int32_t): Likewise.
29859 (_G_uint16_t): Likewise.
29860 (_G_uint32_t): Likewise.
29861 (_G_HAVE_BOOL): Likewise.
29862 (_G_HAVE_ATEXIT): Likewise.
29863 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
29864 (_G_HAVE_IO_FILE_OPEN): Likewise.
29866 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
29868 * csu/libc-tls.c: Update copyright years.
29870 2012-09-10 Joseph Myers <joseph@codesourcery.com>
29872 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
29873 [!_G_USING_THUNKS]: Remove conditional code.
29874 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
29875 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
29877 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
29878 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
29879 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
29880 (_G_VTABLE_LABEL_PREFIX): Likewise.
29881 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
29882 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
29883 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
29884 (_G_VTABLE_LABEL_PREFIX): Likewise.
29885 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
29886 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
29887 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
29888 (_G_VTABLE_LABEL_PREFIX): Likewise.
29889 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
29891 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
29893 * libio/Makefile: Include ../Makeconfig before tests.
29894 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
29895 only if $(build-shared) is yes.
29897 * iconv/gconv_db.c: Update copyright years.
29899 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29901 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
29902 unwind info if defined PIC. Fix special cases description.
29903 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
29905 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
29907 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
29909 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
29911 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
29913 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
29916 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
29917 (LDLIBS-tst-chk4): This.
29918 (LDFLAGS-tst-chk5): Renamed to ...
29919 (LDLIBS-tst-chk5): This.
29920 (LDFLAGS-tst-chk6): Renamed to ...
29921 (LDLIBS-tst-chk6): This.
29922 (LDFLAGS-tst-lfschk4): Renamed to ...
29923 (LDLIBS-tst-lfschk4): This.
29924 (LDFLAGS-tst-lfschk5): Renamed to ...
29925 (LDLIBS-tst-lfschk5): This.
29926 (LDFLAGS-tst-lfschk6): Renamed to ...
29927 (LDLIBS-tst-lfschk6): This.
29929 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
29930 on $(common-objpfx)soversions.mk.
29932 2012-09-07 Joseph Myers <joseph@codesourcery.com>
29935 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
29938 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
29940 * malloc/arena.c (arena_get_retry): New function that gets
29941 another arena for the caller to try its request on.
29942 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
29943 current arena cannot fulfill the request.
29944 (__libc_memalign): Likewise.
29945 (__libc_memalign): Likewise.
29946 (__libc_pvalloc): Likewise.
29947 (__libc_calloc): Likewise.
29949 2012-09-05 John Tobey <john.tobey@gmail.com>
29952 * manual/arith.texi (Operations on Complex): Fix description
29953 of carg branch cut.
29955 2012-09-06 Joseph Myers <joseph@codesourcery.com>
29958 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
29962 * manual/memory.texi (Memory): Make order of menu items match
29965 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
29967 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
29968 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
29969 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
29971 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
29973 * csu/libc-tls.c (static_dtv): Renamed to ...
29974 (_dl_static_dtv): This. Make it global.
29975 (_dl_initial_dtv): Removed.
29976 (__libc_setup_tls): Updated.
29977 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
29978 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
29981 2012-09-06 Petr Machata <pmachata@redhat.com>
29983 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
29984 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
29985 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
29986 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
29988 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
29991 * csu/libc-tls.c (_dl_initial_dtv): New variable.
29992 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
29995 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
29998 * Makeconfig (link-static-before-libc): Replace $(+prector)
30000 (link-static-after-libc): Replace $(+postctor) with
30002 (link-bounded): Replace $(+prector)/$(+postctor) with
30003 $(+prectorT)/$(+postctorT).
30004 (+prectorT): New macro.
30005 (+postctorT): Likewise.
30007 2012-09-06 Joseph Myers <joseph@codesourcery.com>
30009 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
30010 (round_str): Handle values above the maximum for IBM long double
30012 * stdlib/tst-strtod-round.c (tests): Regenerated.
30014 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30016 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
30018 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
30019 zarch_nohighgprs around the zarch optimized routines.
30020 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
30021 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
30022 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
30025 2012-09-05 David S. Miller <davem@davemloft.net>
30027 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30029 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
30030 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
30031 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
30032 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
30035 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
30037 * malloc/arena.c: Fold copyright years.
30038 * malloc/mcheck.c, malloc/memusage.c: Likewise.
30040 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
30042 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
30044 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
30046 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
30048 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
30050 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
30051 change internal state upon failure.
30053 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
30055 * malloc/mcheck.c (mcheck_check_all): Fix typo.
30056 * malloc/memusage.c (mmap): Likewise.
30057 (mmap64, mremap): Likewise. Adjust name in comment.
30059 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
30061 * libio/fileops.c: Fix typos in comments.
30062 * libio/oldfileops.c: Likewise.
30063 * libio/wfileops.c: Likewise.
30065 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
30068 * malloc/Makefile (tests): Add tst-malloc-usable test case.
30069 (tst-malloc-usable-ENV): Set environment for test case.
30070 * malloc/hooks.c (malloc_check_get_size): New function to get
30072 * malloc/malloc.c (musable): Use malloc_check_get_size.
30073 * malloc/tst-malloc-usable.c: New test case.
30075 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
30077 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
30079 2012-09-05 Allan McRae <allan@archlinux.org>
30082 * configure.in (CXX_SYSINCLUDES): Use compiler output to
30083 determine header location.
30084 * configure: Regenerated.
30086 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
30088 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
30090 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
30091 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
30093 (test): Regenerate.
30095 2012-09-04 David S. Miller <davem@davemloft.net>
30097 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
30098 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
30099 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
30101 2012-09-04 Florian Weimer <fweimer@redhat.com>
30103 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
30106 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
30108 2012-09-04 Joseph Myers <joseph@codesourcery.com>
30111 * libio/iogetdelim.c: Include <limits.h>.
30112 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
30113 + len + 1 would overflow.
30115 2012-09-03 Andreas Jaeger <aj@suse.de>
30117 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30118 * sysdeps/i386/fpu/libm-test-ulps: Update.
30120 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30122 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
30123 Add s_sinf-sse2, s_conf-sse2.
30125 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
30126 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
30127 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
30128 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
30130 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
30131 for using routine as __sinf_ia32.
30132 Use macro for function declaration and weak_alias.
30133 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
30134 for using routine as __cosf_ia32.
30135 Use macro for function declaration and weak_alias.
30137 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
30138 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
30140 * sysdeps/x86_64/fpu/s_sinf.S: New file.
30141 * sysdeps/x86_64/fpu/s_cosf.S: New file.
30142 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30144 * math/libm-test.inc (cos_test): Add more test cases.
30145 (sin_test): Likewise.
30146 (sincos_test): Likewise.
30148 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30150 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
30151 (IFUNC_RESOLVE): Make pointers to the specialized implementations
30153 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
30155 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
30158 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
30159 first element of the GOT.
30160 (elf_machine_load_address): Return the difference between
30161 the runtime address of _DYNAMIC and elf_machine_dynamic ().
30163 2012-09-01 Allan McRae <allan@archlinux.org>
30166 * configure.in (AWK): Require gawk version 3.0 or later.
30167 * configure: Regenerated.
30169 2012-09-01 Joseph Myers <joseph@codesourcery.com>
30171 * sysdeps/unix/sysv/linux/kernel-features.h
30172 (__ASSUME_POSIX_CPU_TIMERS): Remove.
30173 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
30174 [__NR_clock_getres]: Make code unconditional.
30175 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
30176 (clock_getcpuclockid): Remove code left unreachable by removal of
30178 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
30179 code unconditional.
30180 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
30181 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
30182 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
30183 Make code unconditional.
30184 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
30185 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
30186 * sysdeps/unix/sysv/linux/clock_settime.c
30187 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
30189 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
30190 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
30192 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
30195 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
30196 scripts/test-installation.pl.
30198 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
30199 and $ld_so_version if it is set.
30201 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
30204 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
30205 failure if reading from procfs failed.
30206 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
30208 2012-08-27 Joseph Myers <joseph@codesourcery.com>
30210 * sysdeps/unix/sysv/linux/kernel-features.h
30211 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
30212 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
30213 Remove conditional code.
30214 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30215 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
30216 Remove conditional code.
30217 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30218 * sysdeps/unix/sysv/linux/i386/fxstat.c
30219 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
30220 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30221 * sysdeps/unix/sysv/linux/i386/fxstatat.c
30222 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
30223 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30224 * sysdeps/unix/sysv/linux/i386/lxstat.c
30225 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
30226 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30227 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
30228 Remove conditional code.
30229 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30230 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
30231 Remove conditional code.
30232 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30233 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
30234 <kernel-features.h>.
30235 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
30237 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
30238 Remove conditional code.
30239 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30240 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
30241 Remove conditional.
30243 2012-08-27 Mike Frysinger <vapier@gentoo.org>
30246 * NEWS: Add fixed bug number.
30248 2012-08-27 Joseph Myers <joseph@codesourcery.com>
30251 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
30252 underflowing exponent in case of negative sign.
30253 * stdlib/tst-strtod-round-data: Add more tests.
30254 * stdlib/tst-strtod-round.c (tests): Regenerated.
30257 * stdlib/strtod_l.c (NDIG): Remove.
30258 (HEXNDIG): Likewise.
30259 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
30260 smallest representable value.
30261 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
30262 lie within an exact representation of 1/2 ulp of the result.
30263 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
30265 (TENS_P9_IDX): Define unconditionally.
30266 (TENS_P9_SIZE): Likewise.
30267 (TENS_P10_IDX): Likewise.
30268 (TENS_P10_SIZE): Likewise.
30269 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
30270 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
30271 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
30272 entries for 10^2^13 and 10^2^14.
30273 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
30274 (TENS_P13_IDX): Define.
30275 (TENS_P13_SIZE): Likewise.
30276 (TENS_P14_IDX): Likewise.
30277 (TENS_P14_SIZE): Likewise.
30278 (_fpioconst_pow10): Change array size to
30279 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
30281 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
30282 1024]: Add entries for 10^2^13 and 10^2^14.
30283 [LAST_POW10 > _LAST_POW10]: Remove #error.
30284 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
30285 (_fpioconst_pow10): Change array size to
30286 FPIOCONST_POW10_ARRAY_SIZE.
30287 * stdlib/gen-fpioconst.c: New file.
30288 * stdlib/gen-tst-strtod-round.c: Likewise.
30289 * stdlib/tst-strtod-round-data: Likewise.
30290 * stdlib/tst-strtod-round.c: Likewise.
30291 * stdlib/Makefile (tests): Add tst-strtod-round.
30294 * stdlib/strtod_l.c: Include <stdint.h>.
30295 (NDEBUG): Do not define.
30296 (round_and_return): Change EXPONENT parameter to type intmax_t.
30297 Rearrange calculations to avoid internal overflow possibilities.
30298 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
30299 Rearrange calculations to avoid internal overflow possibilities.
30300 Assert that number fits inside MPNSIZE limbs.
30301 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
30302 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
30303 calculations and add assertions to avoid internal overflow
30304 possibilities. Add casts to avoid signed/unsigned operations.
30305 * stdlib/tst-strtod-overflow.c: New file.
30306 * stdlib/Makefile (tests): Add tst-strtod-overflow.
30308 2012-08-25 Marek Polacek <polacek@redhat.com>
30310 * time/time.h: Fix some typos in comments.
30312 2012-08-23 Roland McGrath <roland@hack.frob.com>
30314 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
30315 * posix/tst-rfc3484-2.c: Likewise.
30316 * posix/tst-rfc3484-3.c: Likewise.
30318 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
30320 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
30321 (EF_ARM_ABI_FLOAT_HARD): Likewise.
30323 2012-08-23 Joseph Myers <joseph@codesourcery.com>
30325 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
30326 #include of fxstatat64.c.
30328 2012-08-22 Roland McGrath <roland@hack.frob.com>
30330 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
30331 * shadow/getspent_r.c: Likewise.
30332 * shadow/getspnam.c: Likewise.
30333 * shadow/getspnam_r.c: Likewise.
30334 * gshadow/getsgent.c: Likewise.
30335 * gshadow/getsgent_r.c: Likewise.
30336 * gshadow/getsgnam.c: Likewise.
30337 * gshadow/getsgnam_r.c: Likewise.
30338 * inet/getnetbyad.c: Likewise.
30339 * inet/getnetbyad_r.c: Likewise.
30340 * inet/getnetbynm.c: Likewise.
30341 * inet/getnetbynm_r.c: Likewise.
30342 * inet/getnetent.c: Likewise.
30343 * inet/getnetent_r.c: Likewise.
30344 * inet/getproto.c: Likewise.
30345 * inet/getproto_r.c: Likewise.
30346 * inet/getprtent.c: Likewise.
30347 * inet/getprtent_r.c: Likewise.
30348 * inet/getprtname.c: Likewise.
30349 * inet/getprtname_r.c: Likewise.
30350 * inet/getrpcbyname.c: Likewise.
30351 * inet/getrpcbyname_r.c: Likewise.
30352 * inet/getrpcbynumber.c: Likewise.
30353 * inet/getrpcbynumber_r.c: Likewise.
30354 * inet/getrpcent.c: Likewise.
30355 * inet/getrpcent_r.c: Likewise.
30356 * inet/getaliasent.c: Likewise.
30357 * inet/getaliasent_r.c: Likewise.
30358 * inet/getaliasname.c: Likewise.
30359 * inet/getaliasname_r.c: Likewise.
30360 * nscd/getgrgid_r.c: Likewise.
30361 * nscd/getgrnam_r.c: Likewise.
30362 * nscd/gethstbyad_r.c: Likewise.
30363 * nscd/gethstbynm3_r.c: Likewise.
30364 * nscd/getpwnam_r.c: Likewise.
30365 * nscd/getpwuid_r.c: Likewise.
30366 * nscd/getsrvbynm_r.c: Likewise.
30367 * nscd/getsrvbypt_r.c: Likewise.
30368 * nscd/gai.c: Likewise.
30370 * configure.in (build_nscd): New substituted variable, set
30371 by --disable-build-nscd and defaults to $use_nscd.
30372 * configure: Regenerated.
30373 * config.make.in (build-nscd): New substituted variable.
30374 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
30375 Change conditional to require [$(build-nscd) = yes] as well.
30376 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
30379 * configure.in (use_nscd): New substituted variable, set by
30380 --disable-nscd. If enabled, define USE_NSCD.
30381 * configure: Regenerated.
30382 * config.h.in: Add USE_NSCD.
30383 * config.make.in (use-nscd): New substituted variable.
30384 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
30385 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
30386 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
30387 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
30388 (CFLAGS-getgrnam_r.c): Likewise.
30389 (CFLAGS-initgroups.c): Likewise.
30390 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
30391 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
30393 * inet/getnetgrent_r.c
30394 (nscd_setnetgrent): New function, broken out of ...
30395 (setnetgrent): ... here. Call it.
30396 (innetgr): Conditionalize nscd bits on [USE_NSCD].
30397 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
30398 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
30399 * nscd/Makefile (routines, aux): Move definitions after include of
30400 Makeconfig. Conditionalize on [$(use-nscd) != no].
30401 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
30402 Conditionalize on [USE_NSCD].
30403 (is_nscd, nscd_init_cb): Likewise.
30404 (nss_load_library): Conditionalize init callback on [USE_NSCD].
30405 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
30406 * nss/nss_db/db-init.c: Likewise.
30407 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
30409 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
30410 (make_request): Use it.
30411 (cache_valid_p): New function.
30412 (__check_pf): Use it.
30413 * NEWS: Add item for --disable-nscd.
30415 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
30417 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
30418 to support sed >= 4.2.1-20-ga9bf076.
30419 * configure: Regenerated.
30421 2012-08-22 Roland McGrath <roland@hack.frob.com>
30423 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
30424 Conditionalize whole body on [IREL].
30426 2012-08-22 Jeff Law <law@redhat.com>
30429 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
30430 if the family is PF_UNSPEC.
30432 2012-08-22 Mike Frysinger <vapier@gentoo.org>
30434 * Makerules (lib-version): Rename from V.
30435 (install-lib-nosubdir): Change V to lib-version.
30437 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
30440 * powerpc32/power6/wcschr.c: New file.
30441 * powerpc32/power6/wcscpy.c: New file.
30442 * powerpc32/power6/wcsrchr.c: New file.
30443 * powerpc64/power6/wcschr.c: New file.
30444 * powerpc64/power6/wcscpy.c: New file.
30445 * powerpc64/power6/wcsrchr.c: New file.
30447 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
30449 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
30450 (two_way_short_needle): Use it.
30451 * string/strstr.c (AVAILABLE1_USES_J): Define.
30452 * string/strcasestr.c: Likewise.
30454 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
30456 * string/strcasestr.c (TOLOWER): Make side-effect safe.
30459 * NEWS: Add an entry.
30460 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
30461 define their defaults.
30462 (two_way_short_needle): Detect end-of-string on-the-fly.
30463 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
30464 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
30465 * string/bug-strcasestr1.c: New test.
30466 * string/Makefile: Run it.
30468 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
30471 * string/str-two-way.h (two_way_short_needle): Optimize matching of
30472 the first character.
30474 2012-08-21 Roland McGrath <roland@hack.frob.com>
30476 * csu/elf-init.c (__libc_csu_irel): Function removed.
30477 * csu/libc-start.c (apply_irel): New function.
30478 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
30480 2012-08-21 Joseph Myers <joseph@codesourcery.com>
30482 * sysdeps/unix/sysv/linux/kernel-features.h
30483 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
30484 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
30485 <kernel-features.h>.
30486 [__NR_fadvise64_64]: Make code unconditional.
30487 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
30488 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
30489 !__NR_fadvise64_64)]: Likewise.
30490 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
30491 !__NR_fadvise64_64))]: Likewise.
30492 [__NR_fadvise64]: Make code unconditional.
30493 [!__NR_fadvise64]: Remove conditional code.
30494 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
30495 <kernel-features.h>.
30496 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
30498 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
30500 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
30501 not include <kernel-features.h>.
30502 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
30504 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
30506 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
30507 include <kernel-features.h>.
30508 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
30510 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
30513 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
30515 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
30516 slight instruction rearrangements per scrollpipe analysis.
30517 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
30519 2012-08-20 Roland McGrath <roland@hack.frob.com>
30521 * manual/syslog.texi (syslog; vsyslog, closelog):
30522 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
30523 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
30525 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
30526 DSOCAPS to match condition on defining it.
30528 2012-08-20 Joseph Myers <joseph@codesourcery.com>
30530 * sysdeps/unix/sysv/linux/kernel-features.h
30531 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
30532 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
30533 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
30534 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
30535 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
30536 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
30537 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
30538 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
30539 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
30540 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
30542 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
30543 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
30545 * sysdeps/unix/sysv/linux/kernel-features.h
30546 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
30547 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
30549 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
30550 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
30551 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
30552 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
30553 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
30554 Make code unconditional.
30555 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
30556 (__mmap64) [!__NR_mmap2]: Likewise.
30557 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
30558 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
30559 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
30560 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
30561 [__NR_mmap2]: Make code unconditional.
30562 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
30563 (__mmap64) [!__NR_mmap2]: Likewise.
30565 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30567 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
30569 2012-08-18 Andreas Jaeger <aj@suse.de>
30571 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
30573 2012-08-18 Mike Frysinger <vapier@gentoo.org>
30575 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
30576 * include/unistd.h (__have_sock_cloexec): Likewise.
30577 (__have_pipe2): Likewise.
30578 (__have_dup3): Likewise.
30580 2012-08-18 Mike Frysinger <vapier@gentoo.org>
30583 * include/unistd.h (__have_pipe2): Change define into an extern int.
30584 (__have_dup3): Likewise.
30585 * socket/have_sock_cloexec.c: Include fcntl.h.
30586 (__have_pipe2): New variable.
30587 (__have_dup3): Likewise.
30589 2012-08-17 Mike Frysinger <vapier@gentoo.org>
30591 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
30593 2012-08-17 Marek Polacek <polacek@redhat.com>
30595 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
30596 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
30598 2012-08-17 Roland McGrath <roland@hack.frob.com>
30600 * configure.in: Add AC_SUBST for sysheaders.
30601 * configure: Regenerated.
30602 * config.make.in (sysheaders): New substituted variable.
30604 * sysdeps/unix/mkfifo.c: Moved ...
30605 * sysdeps/posix/mkfifo.c: ... here.
30606 * sysdeps/unix/mkfifoat.c: Moved ...
30607 * sysdeps/posix/mkfifoat.c: ... here.
30609 * sysdeps/unix/utime.c: Moved ...
30610 * sysdeps/posix/utime.c: ... here.
30612 * sysdeps/unix/time.c: Moved ...
30613 * sysdeps/posix/time.c: ... here.
30614 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
30615 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
30617 * sysdeps/unix/nice.c: Moved ...
30618 * sysdeps/posix/nice.c: ... here.
30620 * sysdeps/unix/alarm.c: Moved ...
30621 * sysdeps/posix/alarm.c: ... here.
30623 * intl/Makefile ($(codeset_mo)): Depend on the input file.
30625 2012-08-17 Jeff Law <law@redhat.com>
30627 * intl/Makefile (codeset_mo): New variable.
30628 ($(codeset_mo)): New target.
30629 (tst-codeset.out): Depend on that. Remove explicit rule.
30630 (tst-gettext3.out, tst-gettext5.out): Likewise.
30631 (LOCPATH-ENV, tst-codeset-ENV): New variables.
30632 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
30633 * intl/tst-codeset.sh: Remove.
30634 * intl/tst-gettext3.sh: Likewise.
30635 * intl/tst-gettext5.sh: Likewise.
30637 2012-08-17 Roland McGrath <roland@hack.frob.com>
30639 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
30640 * sysdeps/unix/syscalls.list: ... here.
30642 * sysdeps/posix/getaddrinfo.c
30643 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
30644 (gaiconf_init, gaiconf_reload): Use them.
30645 [!_STATBUF_ST_NSEC]
30646 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
30647 Define using time_t rather than struct timespec.
30649 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
30650 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
30652 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
30654 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
30655 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
30658 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
30659 __libc_cleanup_push argument.
30661 * bits/param.h: New file.
30662 * misc/sys/param.h: New file.
30663 * include/sys/param.h: New file.
30664 * misc/Makefile (headers): Add bits/param.h.
30665 * sysdeps/generic/sys/param.h: File removed.
30666 * sysdeps/unix/sysv/linux/bits/param.h: New file.
30667 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
30668 * sysdeps/mach/hurd/bits/param.h: New file.
30669 * sysdeps/mach/hurd/sys/param.h: File removed.
30671 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
30674 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
30676 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
30677 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
30680 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
30681 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
30682 rather than -D_IO_MTSAFE_IO conditionally.
30683 * stdio-common/Makefile (CPPFLAGS): Likewise.
30684 * wcsmbs/Makefile (CPPFLAGS): Likewise.
30685 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
30686 Use $(libio-mtsafe).
30687 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
30688 of -D_IO_MTSAFE_IO.
30689 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
30690 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
30691 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
30692 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
30693 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
30694 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
30695 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
30696 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
30697 (CFLAGS-fread_u_chk.c): Likewise.
30698 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
30699 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
30700 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
30701 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
30702 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
30703 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
30704 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
30705 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
30706 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
30708 * libio/Makefile: Test [$(libc-reentrant) = yes]
30709 instead of [$(filter %REENTRANT, $(defines)) nonempty].
30712 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
30713 * sysdeps/pthread/configure: File removed.
30714 * sysdeps/pthread/Makeconfig: New file.
30715 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
30716 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
30718 2012-08-16 Gary Benson <gbenson@redhat.com>
30720 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
30721 unmapping the first object in a namespace.
30723 2012-08-16 Roland McGrath <roland@hack.frob.com>
30725 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
30726 (__internal_setnetgrent): ... this. Add internal_function to
30727 definition. Add libc_hidden_def.
30728 (setnetgrent): Update caller.
30729 (internal_endnetgrent): Renamed to ...
30730 (__internal_endnetgrent): ... this. Add internal_function to
30731 definition. Add libc_hidden_def.
30732 (endnetgrent): Update caller.
30733 (internal_getnetgrent_r): Renamed to ...
30734 (__internal_getnetgrent_r): ... this. Add internal_function to
30735 definition. Add libc_hidden_def.
30736 (__getnetgrent_r): Update caller.
30737 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
30739 2012-08-16 Joseph Myers <joseph@codesourcery.com>
30741 * stdlib/longlong.h: Update from GCC.
30743 2012-08-16 Roland McGrath <roland@hack.frob.com>
30745 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
30746 on _QL, which is set by umul_ppmm but never used.
30747 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
30748 variables, which are set by GMP macros but never used.
30749 * stdio-common/_itowa.c (_itowa): Likewise.
30750 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
30751 * stdlib/mod_1.c (mpn_mod_1): Likewise.
30753 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
30755 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
30756 struct La_sh_regs is not constant.
30757 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
30758 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
30759 and struct La_sparc64_regs are not constant.
30761 2012-08-16 Joseph Myers <joseph@codesourcery.com>
30763 * sysdeps/unix/sysv/linux/kernel-features.h
30764 (__ASSUME_POSIX_TIMERS): Remove.
30765 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
30766 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
30767 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
30768 Make code unconditional.
30769 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
30770 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
30771 Make code unconditional.
30772 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
30773 * sysdeps/unix/sysv/linux/clock_nanosleep.c
30774 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
30775 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
30776 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
30777 Make code unconditional.
30778 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
30779 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
30780 (__libc_missing_posix_timers): Remove.
30782 2012-08-15 Roland McGrath <roland@hack.frob.com>
30784 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
30785 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
30787 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
30789 * elf/dl-sym.c: Include <stdlib.h>.
30791 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
30792 constants, which avoids warnings in 32-bit builds.
30794 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
30795 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
30797 * misc/lseek.c: File moved to ...
30798 * io/lseek.c: ... here.
30800 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
30802 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
30803 shifting LEN more than 31 bits at once.
30805 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30808 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
30809 segmentation fault for a case of two empty input strings.
30810 * string/test-strncasecmp.c (check1): Renamed to...
30811 (bz12205): ...this.
30812 (bz14195): Add new testcase for two empty input strings and N > 0.
30813 (test_main): Call new testcase, adapt for renamed function.
30815 2012-08-15 Andreas Jaeger <aj@suse.de>
30818 * crypt/md5test2.c: New test, based on test supplied by Serge
30819 Belyshev <belyshev@depni.sinp.msu.ru>.
30820 * crypt/Makefile (xtests): Add md5test-giant..
30821 * crypt/Makefile ($(objpfx)md5test-giant): Add.
30823 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
30826 * crypt/md5.c (md5_process_block): Don't assume the buffer
30827 length is less than 2**32.
30828 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
30829 length is less than 2**64.
30831 2012-08-15 Roland McGrath <roland@hack.frob.com>
30833 * string/str-two-way.h: Include <sys/param.h>.
30834 (MAX): Macro removed.
30836 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
30837 Move #define and #undef of memmove to just before and after
30838 including <string.h>.
30840 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
30841 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
30842 and after including <string.h>. Move declarations of
30843 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
30844 to before #include "string/memmove.c".
30846 * include/dirent.h: Declare __getdirentries.
30848 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
30849 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
30851 2012-08-14 Mike Frysinger <vapier@gentoo.org>
30853 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
30854 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
30855 * sysdeps/i386/configure: Regenerated.
30856 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
30857 STABS_CURRENT_FILE, and STABS_FUN.
30858 (END): Remove call to STABS_FUN_END.
30859 (STABS_CURRENT_FILE1): Delete.
30860 (STABS_CURRENT_FILE): Likewise.
30861 (STABS_FUN): Likewise.
30862 (STABS_FUN_END): Likewise.
30863 (STABS_FUN2): Likewise.
30864 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
30865 * sysdeps/x86_64/configure: Regenerated.
30867 2012-08-14 Roland McGrath <roland@hack.frob.com>
30869 * elf/dl-open.c: Include <atomic.h>.
30870 * elf/dl-lookup.c: Likewise.
30872 2012-08-14 Joseph Myers <joseph@codesourcery.com>
30874 * sysdeps/unix/sysv/linux/kernel-features.h
30875 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
30876 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
30878 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
30880 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
30881 condition on __ASSUME_CLONE_THREAD_FLAGS.
30883 2012-08-14 Andreas Jaeger <aj@suse.de>
30885 * sysdeps/i386/fpu/libm-test-ulps: Update.
30887 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
30889 * include/atomic.h (atomic_exchange_and_add): Split into ...
30890 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
30893 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
30895 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30897 2012-08-13 Jeff Law <law@redhat.com>
30899 * manual/stdio.texi (snprintf): Clarify handling of the trailing
30900 null byte in the output string.
30902 2012-08-10 Joseph Myers <joseph@codesourcery.com>
30904 * sysdeps/unix/sysv/linux/kernel-features.h
30905 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
30906 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
30907 (__ASSUME_ARG_MAX_STACK_BASED): Define.
30908 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
30909 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
30910 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
30911 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
30913 2012-08-09 Jeff Law <law@redhat.com>
30916 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
30917 When avoid_arena is set, don't retry in the that arena. Pick the
30918 next one, whatever it might be.
30919 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
30920 (arena_lock): Pass in new parameter to arena_get2.
30921 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
30923 (__libc_malloc): Unify retrying after main arena failure with
30924 __libc_memalign version.
30925 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
30927 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
30930 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
30931 to __redirect_strstr.
30932 (__strstr_sse42): Use typeof __redirect_strstr.
30933 (__strstr_ia32): Likewise.
30934 (__libc_strstr): New prototype.
30935 (strstr): Renamed to ...
30936 (__libc_strstr): This.
30937 (strstr): New strong alias of __libc_strstr.
30938 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
30939 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
30942 (__libc_time): New prototype.
30943 (time_ifunc): Replace time with __libc_time.
30944 (time): New strong alias and hidden definition of __libc_time.
30945 (__GI_time): Remove strong alias.
30946 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
30947 Include <stddef.h>.
30948 (memmove): Redefined to __redirect_memmove.
30949 (__memmove_sse2): Use typeof __redirect_memmove.
30950 (__memmove_ssse3): Likewise.
30951 (__memmove_ssse3_back): Likewise.
30952 (__libc_memmove): New prototype.
30953 (memmove): Renamed to ...
30954 (__libc_memmove): This.
30955 (memmove): New strong alias of __libc_memmove.
30957 2012-08-08 Mark Salter <msalter@redhat.com>
30960 (R_MN10300_TLS_GD): Define.
30961 (R_MN10300_TLS_LD): Likewise.
30962 (R_MN10300_TLS_LDO): Likewise.
30963 (R_MN10300_TLS_GOTIE): Likewise.
30964 (R_MN10300_TLS_IE): Likewise.
30965 (R_MN10300_TLS_LE): Likewise.
30966 (R_MN10300_TLS_DTPMOD): Likewise.
30967 (R_MN10300_TLS_DTPOFF): Likewise.
30968 (R_MN10300_TLS_TPOFF): Likewise.
30969 (R_MN10300_SYM_DIFF): Likewise.
30970 (R_MN10300_ALIGN): Likewise.
30971 (R_MN10300_NUM): Update.
30973 2012-08-08 Joseph Myers <joseph@codesourcery.com>
30975 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
30978 2012-08-08 Roland McGrath <roland@hack.frob.com>
30980 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
30982 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
30983 sysdeps/unix -> sysdeps/posix move.
30984 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
30986 2012-08-07 Allan McRae <allan@archlinux.org>
30989 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
30990 (SUNOS_CPP): Likewise.
30991 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
30993 (open_input): Call CPP using execvp.
30995 2012-08-07 Joseph Myers <joseph@codesourcery.com>
30997 * sysdeps/unix/sysv/linux/kernel-features.h
30998 (__ASSUME_PROT_GROWSUPDOWN): Remove.
30999 (__ASSUME_NO_CLONE_DETACHED): Likewise.
31000 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
31001 (__ASSUME_WAITID_SYSCALL): Likewise.
31002 * sysdeps/unix/sysv/linux/dl-execstack.c
31003 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
31004 code unconditional.
31005 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
31007 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
31008 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
31009 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
31011 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
31013 [__ASSUME_WAITID_SYSCALL]: Likewise.
31014 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
31016 2012-08-07 Roland McGrath <roland@hack.frob.com>
31018 * sysdeps/unix/closedir.c: Renamed to ...
31019 * sysdeps/posix/closedir.c: ... here.
31020 * sysdeps/unix/dirfd.c: Renamed to ...
31021 * sysdeps/posix/dirfd.c: ... here.
31022 * sysdeps/unix/dirstream.h: Renamed to ...
31023 * sysdeps/posix/dirstream.h: ... here.
31024 * sysdeps/unix/fdopendir.c: Renamed to ...
31025 * sysdeps/posix/fdopendir.c: ... here.
31026 * sysdeps/unix/opendir.c: Renamed to ...
31027 * sysdeps/posix/opendir.c: ... here.
31028 * sysdeps/unix/readdir.c: Renamed to ...
31029 * sysdeps/posix/readdir.c: ... here.
31030 * sysdeps/unix/readdir_r.c: Renamed to ...
31031 * sysdeps/posix/readdir_r.c: ... here.
31032 * sysdeps/unix/rewinddir.c: Renamed to ...
31033 * sysdeps/posix/rewinddir.c: ... here.
31034 * sysdeps/unix/seekdir.c: Renamed to ...
31035 * sysdeps/posix/seekdir.c: ... here.
31036 * sysdeps/unix/telldir.c: Renamed to ...
31037 * sysdeps/posix/telldir.c: ... here.
31038 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
31039 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
31040 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
31041 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
31043 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
31044 * bits/fcntl.h: ... here.
31046 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
31048 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
31049 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
31050 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
31051 (struct flock): Move l_start, l_len to the beginning.
31052 Use __pid_t for l_pid.
31053 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
31054 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
31055 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
31056 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
31057 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
31058 [__USE_LARGEFILE64] (struct flock64): New type.
31059 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
31061 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
31062 * bits/dirent.h: ... here.
31064 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
31065 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
31067 2012-08-07 Joseph Myers <joseph@codesourcery.com>
31069 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
31070 Change from 2.6.0 to 2.6.16.
31071 * sysdeps/unix/sysv/linux/configure: Regenerated.
31072 * sysdeps/unix/sysv/linux/kernel-features.h
31073 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
31074 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
31076 (__ASSUME_UTIMES): Likewise.
31077 (__ASSUME_CLONE_STOPPED): Remove.
31078 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
31079 architectures, not kernel version.
31080 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
31081 (__ASSUME_NO_CLONE_DETACHED): Likewise.
31082 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
31083 (__ASSUME_WAITID_SYSCALL): Likewise.
31084 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
31085 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
31086 * README: State 2.6.16 as minimum Linux kernel version. Do not
31087 refer to older versions.
31089 2012-08-06 Roland McGrath <roland@hack.frob.com>
31091 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
31092 Define alphasort64 as an alias.
31093 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
31094 Define versionsort64 as an alias.
31095 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
31096 Define scandir64 as an alias.
31097 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
31098 Define scandirat64 as an alias.
31099 * dirent/alphasort64.c (alphasort64):
31100 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
31101 * dirent/versionsort64.c: Likewise.
31102 * dirent/scandir64.c: Likewise.
31103 * dirent/scandirat64.c: Likewise.
31104 * sysdeps/wordsize-64/alphasort.c: File removed.
31105 * sysdeps/wordsize-64/alphasort64.c: File removed.
31106 * sysdeps/wordsize-64/scandir.c: File removed.
31107 * sysdeps/wordsize-64/scandir64.c: File removed.
31108 * sysdeps/wordsize-64/scandirat.c: File removed.
31109 * sysdeps/wordsize-64/scandirat64.c: File removed.
31110 * sysdeps/wordsize-64/versionsort.c: File removed.
31111 * sysdeps/wordsize-64/versionsort64.c: File removed.
31112 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
31113 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
31114 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
31115 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
31116 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
31117 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
31118 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
31119 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
31121 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
31122 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
31123 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
31124 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31125 [defined __arch64__ || defined __sparcv9]
31126 (__INO_T_MATCHES_INO64_T): New macro.
31127 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
31128 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
31129 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
31130 * sysdeps/unix/sysv/linux/bits/dirent.h
31131 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
31132 (_DIRENT_MATCHES_DIRENT64): New macro.
31134 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
31135 Define lockf64 as an alias.
31136 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
31137 Define fseeko64 as an alias.
31138 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
31139 Define ftello64 as an alias.
31140 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
31141 Define _IO_fgetpos64 and fgetpos64 as aliases.
31142 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
31143 Define _IO_fsetpos64 and fsetpos64 as aliases.
31144 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
31145 Conditionalize body on this.
31146 * libio/fseeko64.c: Likewise.
31147 * libio/ftello64.c: Likewise.
31148 * libio/iofgetpos64.c: Likewise.
31149 * libio/iofsetpos64.c: Likewise.
31150 * sysdeps/wordsize-64/lockf.c: File removed.
31151 * sysdeps/wordsize-64/lockf64.c: File removed.
31152 * sysdeps/wordsize-64/fseeko.c: File removed.
31153 * sysdeps/wordsize-64/fseeko64.c: File removed.
31154 * sysdeps/wordsize-64/ftello.c: File removed.
31155 * sysdeps/wordsize-64/ftello64.c: File removed.
31156 * sysdeps/wordsize-64/iofgetpos.c: File removed.
31157 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
31158 * sysdeps/wordsize-64/iofsetpos.c: File removed.
31159 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
31160 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
31161 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
31162 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
31163 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
31164 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
31165 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
31166 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
31167 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
31168 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
31169 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
31171 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
31172 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
31173 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
31174 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31175 [defined __arch64__ || defined __sparcv9]
31176 (__OFF_T_MATCHES_OFF64_T): New macro.
31177 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
31178 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
31179 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
31180 (__OFF_T_MATCHES_OFF64_T): New macro.
31182 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
31184 * stdlib/secure-getenv.c (__secure_getenv): Replace
31185 GLIBC_2_16 with GLIBC_2_17.
31187 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
31189 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
31190 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
31192 2012-08-03 David S. Miller <davem@davemloft.net>
31194 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31196 2012-08-03 Joseph Myers <joseph@codesourcery.com>
31198 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
31200 (__ASSUME_CORRECT_SI_PID): Likewise.
31201 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
31202 (__ASSUME_TMPFS_NAME): Likewise.
31203 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
31204 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
31205 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
31206 (HAVE_AUX_SECURE): Make definition unconditional.
31207 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
31208 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
31210 2012-08-03 Roland McGrath <roland@hack.frob.com>
31212 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
31213 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
31214 * sysdeps/mach/hurd/eloop-threshold.h: New file.
31215 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
31216 __eloop_threshold instead of SYMLOOP_MAX.
31218 * sysdeps/generic/eloop-threshold.h: New file.
31219 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
31221 * elf/chroot_canon.c (chroot_canon): Likewise.
31223 2012-08-03 Joseph Myers <joseph@codesourcery.com>
31226 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
31227 Change to 2.6.0 everywhere.
31228 * sysdeps/unix/sysv/linux/configure: Regenerated.
31229 * sysdeps/unix/sysv/linux/kernel-features.h
31230 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
31231 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
31233 (__ASSUME_POSIX_TIMERS): Define unconditionally.
31234 (__ASSUME_FUTEX_REQUEUE): Remove.
31235 (__ASSUME_STATFS64): Define unconditionally.
31236 (__ASSUME_AT_SECURE): Likewise.
31237 (__ASSUME_CORRECT_SI_PID): Likewise.
31238 (__ASSUME_TGKILL): Define without depending on kernel version for
31240 (__ASSUME_UTIMES): Likewise.
31241 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
31243 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
31244 (__ASSUME_TMPFS_NAME): Likewise.
31245 * README: Update reference to Linux kernel versions.
31247 2012-08-02 Marek Polacek <polacek@redhat.com>
31250 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
31251 libc_cv_asm_type_prefix with %.
31252 * configure: Regenerated.
31253 * include/libc-symbols.h: Remove comment about
31254 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
31255 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
31256 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
31257 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
31258 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
31259 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
31260 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
31261 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
31262 * elf/tst-unique2mod1.c: Likewise.
31263 * elf/tst-unique1mod2.c: Likewise.
31264 * elf/tst-unique1mod1.c: Likewise.
31265 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
31266 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
31267 Replace ASM_TYPE_DIRECTIVE with .type.
31268 * sysdeps/s390/s390-64/sysdep.h: Likewise.
31269 * sysdeps/i386/sysdep.h: Likewise.
31270 * sysdeps/x86_64/sysdep.h: Likewise.
31271 * sysdeps/sh/sysdep.h: Likewise.
31272 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
31273 Do not define ASM_TYPE_DIRECTIVE.
31274 * sysdeps/powerpc/sysdep.h: Likewise.
31275 * sysdeps/powerpc/powerpc32/sysdep.h:
31276 Replace ASM_TYPE_DIRECTIVE with .type.
31277 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
31278 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
31279 * sysdeps/i386/fpu/e_powf.S: Likewise.
31280 * sysdeps/i386/fpu/e_expl.S: Likewise.
31281 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
31282 * sysdeps/i386/fpu/e_acosh.S: Likewise.
31283 * sysdeps/i386/fpu/e_pow.S: Likewise.
31284 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
31285 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
31286 * sysdeps/i386/fpu/s_expm1.S: Likewise.
31287 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
31288 * sysdeps/i386/fpu/e_log2.S: Likewise.
31289 * sysdeps/i386/fpu/e_log2l.S: Likewise.
31290 * sysdeps/i386/fpu/e_scalb.S: Likewise.
31291 * sysdeps/i386/fpu/e_powl.S: Likewise.
31292 * sysdeps/i386/fpu/e_log10f.S: Likewise.
31293 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
31294 * sysdeps/i386/fpu/e_logl.S: Likewise.
31295 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
31296 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
31297 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
31298 * sysdeps/i386/fpu/e_log2f.S: Likewise.
31299 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
31300 * sysdeps/i386/fpu/e_log.S: Likewise.
31301 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
31302 * sysdeps/i386/fpu/e_logf.S: Likewise.
31303 * sysdeps/i386/fpu/e_log10l.S: Likewise.
31304 * sysdeps/i386/fpu/e_atanh.S: Likewise.
31305 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
31306 * sysdeps/i386/fpu/e_log10.S: Likewise.
31307 * sysdeps/i386/fpu/s_frexp.S: Likewise.
31308 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
31309 * sysdeps/i386/fpu/s_asinh.S: Likewise.
31310 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
31311 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
31312 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
31313 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
31314 * sysdeps/i386/i686/strtok.S: Likewise.
31315 * sysdeps/i386/i386-mcount.S: Likewise.
31316 * sysdeps/i386/strtok.S: Likewise.
31317 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
31318 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
31319 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
31320 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
31321 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
31322 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
31323 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
31324 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
31325 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
31326 * sysdeps/x86_64/_mcount.S: Likewise.
31327 * sysdeps/x86_64/strtok.S: Likewise.
31328 * sysdeps/sh/_mcount.S: Likewise.
31330 2012-08-01 Roland McGrath <roland@hack.frob.com>
31332 * libio/iofopen.c: Include <fcntl.h>.
31333 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
31334 (_IO_fopen64, fopen64): Define as aliases.
31335 * libio/iofopen64.c: Include <fcntl.h>.
31336 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
31337 Conditionalize body on this.
31338 * sysdeps/wordsize-64/iofopen.c: File removed.
31339 * sysdeps/wordsize-64/iofopen64.c: File removed.
31341 2012-08-01 Marek Polacek <polacek@redhat.com>
31343 * libc/Makeconfig: Use elf in place of binfmt-subdir.
31344 Use dlfcn directly instead of a variable.
31345 (binfmt-subdir): Do not define.
31348 2012-08-01 Joseph Myers <joseph@codesourcery.com>
31350 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
31351 Remove all definitions.
31352 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
31353 <kernel-features.h>.
31354 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
31355 (miss_F_GETOWN_EX): Remove all definitions.
31356 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
31358 [!__ASSUME_FCNTL64]: Remove conditional code.
31359 [__ASSUME_FCNTL64]: Make code unconditional.
31360 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
31361 <kernel-features.h>.
31362 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
31363 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
31364 (lockf64) [__NR_fcntl64]: Make code unconditional.
31365 (lockf64) [__ASSUME_FCNTL64]: Likewise.
31367 * sysdeps/unix/sysv/linux/kernel-features.h
31368 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
31369 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
31370 Make code unconditional.
31371 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
31372 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
31373 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
31374 [__NR_vfork]: Make code unconditional.
31375 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
31376 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
31377 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
31378 [__NR_vfork]: Make code unconditional.
31379 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
31380 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
31382 2012-08-01 Roland McGrath <roland@hack.frob.com>
31384 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
31385 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
31387 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
31388 Define mkstemp64 as an alias.
31389 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
31390 Define mkstemps64 as an alias.
31391 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
31392 Define mkostemp64 as an alias.
31393 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
31394 Define mkostemps64 as an alias.
31395 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
31396 Conditionalize body on this.
31397 * misc/mkostemp64.c: Likewise.
31398 * misc/mkostemps64.c: Likewise.
31399 * misc/mkstemps64.c: Likewise.
31400 * sysdeps/wordsize-64/mkstemp64.c: File removed.
31401 * sysdeps/wordsize-64/mkostemp64.c: File removed.
31402 * sysdeps/wordsize-64/mkostemp.c: File removed.
31403 * sysdeps/wordsize-64/mkstemp.c: File removed.
31404 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
31405 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
31406 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
31407 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
31410 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
31411 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
31412 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
31413 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
31415 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
31416 compat_symbol macros from <shlib-compat.h> rather than the underlying
31417 default_symbol_version and symbol_version macros, so that DEFAULT
31418 lines in shlib-versions are respected.
31419 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
31421 2012-08-01 Florian Weimer <fweimer@redhat.com>
31423 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
31424 Declare with warn_unused_result.
31425 (setgid, setregid, setegid, setresgid): Likewise.
31426 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
31428 * WUR-REPORT: Remove set*id functions.
31430 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
31432 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
31434 2012-07-31 Roland McGrath <roland@hack.frob.com>
31437 * include/sys/socket.h (__libc_accept, __libc_accept4):
31438 Add attribute_hidden.
31439 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
31441 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
31443 * inet/getnetgrent_r.c (setup): Likewise.
31445 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
31447 2012-07-31 David S. Miller <davem@davemloft.net>
31449 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31451 2012-07-31 Joseph Myers <joseph@codesourcery.com>
31454 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
31455 value between 1.0 and 2.0 and smaller part has absolute value less
31457 * math/s_clog10.c (__clog10): Likewise.
31458 * math/s_clog10f.c (__clog10f): Likewise.
31459 * math/s_clog10l.c (__clog10l): Likewise.
31460 * math/s_clogf.c (__clogf): Likewise.
31461 * math/s_clogl.c (__clogl): Likewise.
31462 * math/libm-test.inc (clog_test): Add more tests.
31463 (clog10_test): Likewise.
31464 * sysdeps/i386/fpu/libm-test-ulps: Update.
31465 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31467 2012-07-31 Florian Weimer <fweimer@redhat.com>
31469 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
31470 Exit with zero in case no suitable GID is found, and write a
31471 message to standard error.
31473 2012-07-30 Roland McGrath <roland@hack.frob.com>
31475 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
31477 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
31478 (MAXPATHLEN): Removed.
31479 (NOGROUP, NODEV): New macros.
31480 (setbit, clrbit, isset, isclr): New macros.
31481 (howmany, roundup, powerof2): New macros.
31482 (DEV_BSIZE): New macro.
31484 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
31485 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
31487 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
31488 definition on [!__NO_LONG_DOUBLE_MATH].
31490 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
31491 PTR_MANGLE and PTR_DEMANGLE.
31493 * socket/accept4.c (accept4): Rename to __libc_accept4.
31494 Define accept4 as a weak alias.
31496 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
31497 on [_DIRENT_HAVE_D_TYPE].
31498 * io/ftw.c (ftw_dir): Likewise.
31500 * io/xmknod.c (__xmknod): Don't check PATH for being null.
31502 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
31504 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
31505 Use the BSD numbers rather than the arbitrary ones we had.
31506 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
31507 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
31508 (SIGXCPU, SIGXFSZ): New macros.
31511 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
31512 initializer on [_LIBC_REENTRANT].
31514 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
31515 definitions inside [_POSIX_MAPPED_FILES].
31517 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
31519 * dirent/opendir.c: Include <fcntl.h>.
31521 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
31522 (__libc_getspecific): Likewise.
31523 (__libc_key_create): Likewise.
31525 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
31526 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
31527 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
31528 (tmpfile64): Define as alias.
31529 * sysdeps/wordsize-64/tmpfile.c: File removed.
31530 * sysdeps/wordsize-64/tmpfile64.c: File removed.
31531 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
31532 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
31534 * stdio-common/vfscanf.c: Include <stdbool.h>.
31535 * nss/makedb.c: Likewise.
31536 * stdio-common/_i18n_number.h: Likewise.
31537 * argp/argp-help.c: Likewise.
31538 * posix/wordexp.c: Likewise.
31539 * sysdeps/posix/spawni.c: Likewise.
31540 * nss/nss_files/files-initgroups.c: Likewise.
31541 * stdio-common/reg-modifier.c: Include <stdlib.h>.
31542 * nss/nss_files/files-initgroups.c: Likewise.
31543 * nss/nss_db/db-netgrp.c: Likewise.
31544 * nss/nss_db/db-initgroups.c: Likewise.
31545 * io/fchmodat.c: Include <sys/stat.h>.
31547 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
31548 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
31550 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
31553 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
31554 Add multiple inclusion protection.
31556 2012-07-27 David S. Miller <davem@davemloft.net>
31558 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31560 2012-07-27 Gary Benson <gbenson@redhat.com>
31563 * elf/rtld.c: Include <stap-probe.h>.
31564 (dl_main): Added static probes "init_start" and "init_complete".
31565 * elf/dl-load.c: Include <stap-probe.h>.
31566 (lose): Take new parameter "nsid".
31567 Added static probe "map_failed".
31568 (_dl_map_object_from_fd): Pass namespace id to lose.
31569 Added static probe "map_start".
31570 (open_verify): Pass namespace id to lose.
31571 * elf/dl-open.c: Include <stap-probe.h>.
31572 (dl_open_worker) Added static probes "map_complete", "reloc_start"
31573 and "reloc_complete".
31574 * elf/dl-close.c: Include <stap-probe.h>.
31575 (_dl_close_worker): Added static probes "unmap_start" and
31577 * elf/rtld-debugger-interface.txt: New file documenting the above.
31579 2012-07-26 Roland McGrath <roland@hack.frob.com>
31581 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
31582 rather than a string variable.
31583 * sunrpc/rpc_main.c (h_output): Likewise.
31584 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
31586 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
31588 * inet/check_native.c: New file.
31590 2012-07-26 Joseph Myers <joseph@codesourcery.com>
31593 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
31594 if larger part has absolute value 1.0.
31595 * math/s_clog10.c (__clog10): Likewise.
31596 * math/s_clog10f.c (__clog10f): Likewise.
31597 * math/s_clog10l.c (__clog10l): Likewise.
31598 * math/s_clogf.c (__clogf): Likewise.
31599 * math/s_clogl.c (__clogl): Likewise.
31600 * math/libm-test.inc (clog_test): Add more tests.
31601 (clog10_test): Likewise.
31602 * sysdeps/i386/fpu/libm-test-ulps: Update.
31603 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31605 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
31606 (pltexit): Likewise.
31607 (La_regs): Likewise.
31608 (La_retval): Likewise.
31609 (int_retval): Likewise.
31610 Update #error for removed macros to refer only to definitions in
31612 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
31614 (pltexit): Likewise.
31615 (La_regs): Likewise.
31616 (La_retval): Likewise.
31617 (int_retval): Likewise.
31618 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
31620 (pltexit): Likewise.
31621 (La_regs): Likewise.
31622 (La_retval): Likewise.
31623 (int_retval): Likewise.
31624 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
31626 (pltexit): Likewise.
31627 (La_regs): Likewise.
31628 (La_retval): Likewise.
31629 (int_retval): Likewise.
31630 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
31632 (pltexit): Likewise.
31633 (La_regs): Likewise.
31634 (La_retval): Likewise.
31635 (int_retval): Likewise.
31636 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
31638 (pltexit): Likewise.
31639 (La_regs): Likewise.
31640 (La_retval): Likewise.
31641 (int_retval): Likewise.
31642 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
31644 (pltexit): Likewise.
31645 (La_regs): Likewise.
31646 (La_retval): Likewise.
31647 (int_retval): Likewise.
31648 * sysdeps/generic/tst-audit.h: Update comment to refer only to
31649 macro definitions in tst-audit.h.
31650 * sysdeps/i386/tst-audit.h: New file.
31651 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
31652 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
31653 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
31654 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
31655 * sysdeps/sh/tst-audit.h: Likewise.
31656 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
31657 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
31658 * sysdeps/x86_64/tst-audit.h: Likewise.
31660 2012-07-26 Andreas Jaeger <aj@suse.de>
31662 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
31665 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
31666 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
31667 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
31669 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
31670 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
31671 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
31673 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
31676 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
31678 (si_call_addr, si_syscall, si_arch): Define new macro.
31679 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
31681 (si_call_addr, si_syscall, si_arch): Define new marcro.
31682 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
31684 (si_call_addr, si_syscall, si_arch): Define new macro.
31685 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
31687 (si_call_addr, si_syscall, si_arch): Define new macro.
31689 2012-07-25 Joseph Myers <joseph@codesourcery.com>
31692 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
31693 Change to 2.4.21 where previously 2.4.1.
31694 * sysdeps/unix/sysv/linux/configure: Regenerated.
31695 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
31696 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
31697 Linux kernel version.
31698 (__ASSUME_STD_AUXV): Remove.
31699 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
31701 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
31702 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
31703 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
31704 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
31705 (__ASSUME_NETLINK_SUPPORT): Likewise.
31706 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
31707 (__no_netlink_support): Remove conditional definition.
31708 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
31710 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
31711 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
31712 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
31713 (if_nameindex_ioctl): Remove.
31714 (if_nameindex_netlink): Do not handle __no_netlink_support.
31715 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
31717 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
31718 Remove conditional code.
31719 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
31721 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
31723 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
31724 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
31725 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
31727 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
31728 [!__ASSUME_STD_AUXV]: Remove conditional code.
31729 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
31730 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
31731 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
31732 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
31733 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
31734 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
31736 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
31737 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
31738 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
31739 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
31741 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
31742 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
31743 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
31745 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
31746 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
31748 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
31749 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
31750 code unconditional.
31751 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31753 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
31755 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31757 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
31758 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
31760 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31762 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
31763 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
31764 code unconditional.
31765 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31767 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
31769 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31771 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
31772 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
31773 code unconditional.
31774 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31776 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
31778 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31781 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
31783 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
31784 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
31785 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
31786 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
31787 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
31788 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
31789 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
31790 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
31791 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
31792 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
31793 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
31794 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
31795 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
31796 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
31797 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
31798 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
31799 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
31800 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
31801 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
31802 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
31803 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
31804 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
31805 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
31807 2012-07-25 Florian Weimer <fweimer@redhat.com>
31809 * Versions.def: Add GLIBC_2.17.
31810 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
31811 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
31812 Introduce __libc_secure_getenv.
31813 * stdlib/Versions (2.17): Add secure_getenv
31814 (GLIBC_PRIVATE): Add __libc_secure_getenv.
31815 * stdlib/secure-getenv.c: Rename __secure_getenv to
31816 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
31817 symbol __secure_getenv for GLIBC_2.0.
31818 * stdlib/tst-secure-getenv.c: New.
31819 * stdlib/Makefile (tests): Add testcase.
31820 * manual/startup.texi (Environment Access): Document
31822 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
31823 __libc_secure_getenv.
31824 * inet/ruserpass.c (ruserpass): Likewise.
31825 * malloc/mtrace.c (mtrace): Likewise.
31826 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
31827 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
31828 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
31829 * sysdeps/posix/tempname.c: Likewise. Evaluate
31830 HAVE_SECURE_GETENV.
31831 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
31832 __secure_getenv to __libc_secure_getenv.
31833 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
31834 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31836 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
31838 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
31839 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
31840 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
31841 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
31842 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
31843 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
31844 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
31846 2012-07-25 Joseph Myers <joseph@codesourcery.com>
31848 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
31849 (struct La_i86_retval): Likewise.
31850 (struct La_x86_64_regs): Likewise.
31851 (struct La_x86_64_retval): Likewise.
31852 (struct La_x32_regs): Likewise.
31853 (struct La_x32_retval): Likewise.
31854 (struct La_ppc32_regs): Likewise.
31855 (struct La_ppc32_retval): Likewise.
31856 (struct La_ppc64_regs): Likewise.
31857 (struct La_ppc64_retval): Likewise.
31858 (struct La_sh_regs): Likewise.
31859 (struct La_sh_retval): Likewise.
31860 (struct La_s390_32_regs): Likewise.
31861 (struct La_s390_32_retval): Likewise.
31862 (struct La_s390_64_regs): Likewise.
31863 (struct La_s390_64_retval): Likewise.
31864 (struct La_sparc32_regs): Likewise.
31865 (struct La_sparc32_retval): Likewise.
31866 (struct La_sparc64_regs): Likewise.
31867 (struct La_sparc64_retval): Likewise.
31868 (struct audit_ifaces): Remove architecture-specific pltenter and
31870 * sysdeps/i386/ldsodefs.h: New file.
31871 * sysdeps/powerpc/ldsodefs.h: Likewise.
31872 * sysdeps/s390/ldsodefs.h: Likewise.
31873 * sysdeps/sh/ldsodefs.h: Likewise.
31874 * sysdeps/sparc/ldsodefs.h: Likewise.
31875 * sysdeps/x86_64/ldsodefs.h: Likewise.
31877 2012-07-25 Marek Polacek <polacek@redhat.com>
31880 * math/libm-test.inc (yn_test): Add another test.
31881 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
31882 to ERANGE when the result is +-Inf.
31883 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
31884 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
31885 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
31886 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
31888 2012-07-24 Joseph Myers <joseph@codesourcery.com>
31890 * conform/data/time.h-data (NULL): Use macro-constant. Require
31892 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
31894 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
31896 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
31898 * configure.in <sysdeps resolving>: Correct printing
31900 * configure: Regenerate.
31902 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
31904 * math/w_ilogb.c: Include <limits.h>.
31905 * math/w_ilogbl.c: Likewise.
31907 2012-07-20 Joseph Myers <joseph@codesourcery.com>
31909 * manual/lang.texi (__va_copy): Document primarily as ISO C99
31910 va_copy. Document allowing for unavailable va_copy only as
31911 pre-C99 compatibility.
31912 * manual/string.texi (Copying and Concatenation): Use va_copy
31913 instead of __va_copy in concat example.
31915 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
31917 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
31918 (__sendto): Use create_address_port. Initialize APORT and deallocate
31921 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
31922 with O_NOLINK passed to __file_name_lookup.
31924 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
31925 with O_NOLINK passed to __file_name_lookup.
31927 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
31928 negative N or less than NGIDS.
31930 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
31931 type to string_t. Set ERANGE as errno and return it if NAME is not big
31932 enough. Use memcpy instead of strncpy.
31934 2012-07-20 Joseph Myers <joseph@codesourcery.com>
31936 * elf/Makefile (check-data): Remove.
31937 (localplt.data): New vpath directive.
31938 ($(objpfx)check-localplt.out): Use localplt.data from vpath
31939 instead of $(check-data).
31940 * scripts/data/localplt-generic.data: Move to ...
31941 * sysdeps/generic/localplt.data: ... here.
31942 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
31943 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
31944 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
31945 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
31947 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
31948 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
31950 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
31951 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
31953 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
31954 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
31956 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
31957 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
31959 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
31960 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
31963 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31965 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
31966 PPC32 and PPC64 files.
31967 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
31968 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
31970 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31972 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
31973 __makecontext_ret to ...
31974 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
31975 ... here and call exit if uc_link is NULL. New file.
31976 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
31977 __makecontext_ret.S.
31978 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
31979 __makecontext_ret to ...
31980 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
31981 ... here and call exit if uc_link is NULL. New file.
31982 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
31983 __makecontext_ret.S.
31985 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31987 * elf/elf.h (R_390_IRELATIVE): New definition.
31988 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
31989 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
31990 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
31991 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
31992 (elf_machine_lazy_rel): Likewise.
31993 * sysdeps/s390/dl-irel.h: New file.
31994 * sysdeps/s390/s390-64/memcpy.S: New asm code.
31995 * sysdeps/s390/s390-64/memset.S: New asm code.
31996 * sysdeps/s390/s390-64/memcmp.S: New asm code.
31997 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
31998 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
31999 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
32000 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
32001 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
32002 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
32003 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
32004 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
32005 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
32006 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
32007 * sysdeps/s390/s390-32/memcpy.S: New asm code.
32008 * sysdeps/s390/s390-32/memset.S: New asm code.
32009 * sysdeps/s390/s390-32/memcmp.S: New asm code.
32011 2012-07-17 Marek Polacek <polacek@redhat.com>
32014 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
32015 * sysdeps/s390/s390-64/configure.in: Likewise.
32016 * sysdeps/sparc/configure.in: Likewise.
32017 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
32018 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
32019 * sysdeps/i386/configure.in: Likewise.
32020 * sysdeps/x86_64/configure.in: Likewise.
32021 * sysdeps/sh/configure.in: Likewise.
32022 * sysdeps/s390/s390-32/configure: Regenerated.
32023 * sysdeps/s390/s390-64/configure: Likewise.
32024 * sysdeps/x86_64/configure: Likewise.
32025 * sysdeps/sh/configure: Likewise.
32026 * sysdeps/powerpc/powerpc64/configure: Likewise.
32027 * sysdeps/powerpc/powerpc32/configure: Likewise.
32028 * sysdeps/sparc/configure: Likwise.
32029 * sysdeps/i386/configure: Likewise.
32031 * elf/dl-open.c: Comment fixes.
32033 2012-07-17 Joseph Myers <joseph@codesourcery.com>
32035 * Makefile [CXX] (check-data): Remove.
32036 [CXX] (c++-types.data): New vpath directive.
32037 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
32038 vpath. Do not allow for C++ type data being missing.
32039 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
32040 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
32041 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
32042 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
32043 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
32044 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
32045 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
32046 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
32048 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
32049 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
32051 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
32052 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
32054 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
32055 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
32057 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
32058 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
32060 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
32061 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
32063 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
32064 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
32066 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
32067 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
32069 * elf/tls-macros.h (TLS_LE): Move architecture-specific
32070 definitions to architecture-specific files.
32071 (TLS_IE): Likewise.
32072 (TLS_LD): Likewise.
32073 (TLS_GD): Likewise.
32074 * sysdeps/i386/tls-macros.h: New file.
32075 * sysdeps/powerpc/tls-macros.h: Likewise.
32076 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
32077 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
32078 * sysdeps/sh/tls-macros.h: Likewise.
32079 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
32080 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
32081 * sysdeps/x86_64/tls-macros.h: Likewise.
32083 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
32085 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
32086 zero value for regular exit case.
32088 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
32089 (__start_context): Preserve zero value for regular exit case.
32091 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
32092 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32094 * manual/setjmp.texi (setcontext): Clarify normal process
32095 termination when uc_link is the null pointer.
32096 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
32099 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
32101 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
32102 preprocessor. Test for each exception mask separately.
32104 2012-07-16 Andreas Jaeger <aj@suse.de>
32106 * po/ru.po: Update from translation team.
32108 2012-07-15 Joseph Myers <joseph@codesourcery.com>
32110 * conform/data/string.h-data (NULL): Use macro-constant. Require
32112 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
32113 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
32114 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
32115 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
32116 [ISO || ISO99 || ISO11] (*_t): Do not allow.
32118 2012-07-13 Andreas Jaeger <aj@suse.de>
32120 * po/fr.po: Update from translation team.
32122 2012-07-12 Marek Polacek <polacek@redhat.com>
32125 * math/libm-test.inc (yn_test): Add test for BZ #14173.
32126 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
32129 2012-07-12 Joseph Myers <joseph@codesourcery.com>
32132 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
32133 Change to 2.4.1 where previously 2.4.0.
32134 * sysdeps/unix/sysv/linux/configure: Regenerated.
32135 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
32136 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
32138 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
32139 (__ASSUME_AT_CLKTCK): Remove.
32140 (__ASSUME_AT_PAGESIZE): Likewise.
32141 (__ASSUME_AT_XID): Likewise.
32142 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
32143 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
32144 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
32146 (HAVE_AUX_PAGESIZE): Likewise.
32147 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
32148 [__ASSUME_AT_CLKTCK]: Make code unconditional.
32149 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
32151 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
32154 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
32155 the temporary buffer used to invoke __gethostbyname2_r,
32156 __gethostbyaddr_r and gethostbyname4_r to make room for struct
32157 host_data / struct gaih_addrtuple.
32158 * resolv/nss_dns/dns-host.c (global scope): Move definition of
32159 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
32160 header file nss/nsswitch.h.
32161 * nss/nsswitch.h (global scope): Add definition of implementation
32162 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
32163 resolv/nss_dns/dns-host.c).
32165 2012-07-11 Andreas Jaeger <aj@suse.de>
32167 * po/fr.po: Update from translation team.
32169 * po/sv.po: Update from translation team
32170 * po/fr.po: Another update from translation team.
32172 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32174 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
32175 for subnormals or multiply small sinh result by itself.
32176 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
32177 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32179 2012-07-11 David S. Miller <davem@davemloft.net>
32181 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32183 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
32186 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
32187 (INTERNAL_MARK): Shift it here.
32189 2012-07-10 Marek Polacek <polacek@redhat.com>
32192 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
32193 libc_cv_asm_global_directive with .globl.
32194 * configure: Regenerated.
32195 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
32197 * sysdeps/i386/configure: Regenerated.
32198 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
32200 * sysdeps/x86_64/configure: Regenerated.
32201 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
32202 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
32203 * elf/tst-unique2mod2.c: Likewise.
32204 * elf/tst-unique2mod1.c: Likewise.
32205 * elf/tst-unique1mod2.c: Likewise.
32206 * elf/tst-unique1mod1.c: Likewise.
32207 * sysdeps/s390/s390-32/sysdep.h: Likewise.
32208 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
32209 * sysdeps/s390/s390-64/sysdep.h: Likewise.
32210 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
32211 * sysdeps/mach/sysdep.h: Likewise.
32212 * sysdeps/i386/sysdep.h: Likewise.
32213 * sysdeps/i386/i386-mcount.S: Likewise.
32214 * sysdeps/x86_64/_mcount.S: Likewise.
32215 * sysdeps/x86_64/sysdep.h: Likewise.
32216 * sysdeps/sh/_mcount.S: Likewise.
32217 * sysdeps/sh/sysdep.h: Likewise.
32218 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
32219 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
32220 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
32221 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
32222 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
32223 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
32224 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
32225 * locale/localeinfo.h: Likewise.
32226 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
32227 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
32229 2012-07-09 Roland McGrath <roland@hack.frob.com>
32232 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
32234 * manual/message.texi (The Uniforum approach): Likewise.
32235 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
32236 (glibc iconv Implementation): Likewise.
32238 2012-07-09 Joseph Myers <joseph@codesourcery.com>
32241 * math/s_clog.c (__clog): Avoid scaling a value down where that
32242 could result in underflow.
32243 * math/s_clog10.c (__clog10): Likewise.
32244 * math/s_clog10f.c (__clog10f): Likewise.
32245 * math/s_clog10l.c (__clog10l): Likewise.
32246 * math/s_clogf.c (__clogf): Likewise.
32247 * math/s_clogl.c (__clogl): Likewise.
32248 * math/libm-test.inc (clog_test): Add more tests.
32249 (clog10_test): Likewise.
32250 * sysdeps/i386/fpu/libm-test-ulps: Update.
32251 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32253 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
32256 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
32257 by 7 not 8 to examine high bit of fractional part.
32260 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
32261 for call to __mcount_internal.
32262 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
32263 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
32264 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
32266 2012-07-06 Joseph Myers <joseph@codesourcery.com>
32269 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
32270 approximation for values within 0x1p-13f of an odd multiple of
32272 * math/libm-test.inc (tan_test): Do not allow spurious underflow
32273 exception. Add more tests.
32274 * sysdeps/i386/fpu/libm-test-ulps: Update.
32277 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
32278 inputs and return -1 for them. Do not check for +Inf in case not
32279 reachable for +Inf.
32280 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
32281 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
32282 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
32283 and return -1 for them. Do not check for +Inf in case not
32284 reachable for +Inf.
32285 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
32287 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
32288 and return -1 for them. Do not check for +Inf in case not
32289 reachable for +Inf.
32290 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
32291 spurious underflow.
32292 * sysdeps/i386/fpu/libm-test-ulps: Update.
32293 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32295 2012-07-06 Mike Frysinger <vapier@gentoo.org>
32297 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
32299 2012-07-05 Joseph Myers <joseph@codesourcery.com>
32303 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
32304 could result in spurious underflow. Scale down values above
32305 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
32306 * math/s_csqrtf.c (__csqrtf): Likewise.
32307 * math/s_csqrtl.c (__csqrtl): Likewise.
32308 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
32309 spurious underflow.
32310 * sysdeps/i386/fpu/libm-test-ulps: Update.
32311 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32313 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
32315 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
32317 * catgets/xopen-msg.awk: New file.
32318 * catgets/xopen-msg.sed: Removed.
32320 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
32322 * intl/po2test.awk: New file.
32323 * intl/po2test.sed: Removed.
32325 2012-07-04 Joseph Myers <joseph@codesourcery.com>
32328 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
32329 or multiply small sinh result by itself.
32330 * math/s_ctanf.c (__ctanf): Likewise.
32331 * math/s_ctanh.c (__ctanh): Likewise.
32332 * math/s_ctanhf.c (__ctanhf): Likewise.
32333 * math/s_ctanhl.c (__ctanhl): Likewise.
32334 * math/s_ctanl.c (__ctanl): Likewise.
32335 * math/libm-test.inc (ctan_test_tonearest): New function.
32336 (ctan_test_towardzero): Likewise.
32337 (ctan_test_downward): Likewise.
32338 (ctan_test_upward): Likewise.
32339 (ctanh_test_tonearest): Likewise.
32340 (ctanh_test_towardzero): Likewise.
32341 (ctanh_test_downward): Likewise.
32342 (ctanh_test_upward): Likewise.
32343 (main): Call these new functions.
32344 * sysdeps/i386/fpu/libm-test-ulps: Update.
32345 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32347 2012-07-03 Mike Frysinger <vapier@gentoo.org>
32349 * .gitignore: Delete /ports entry.
32351 2012-07-03 Andreas Jaeger <aj@suse.de>
32353 * po/bg.po: Update from translation team.
32354 * po/cs.po: Likewise.
32355 * po/de.po: Likewise.
32356 * po/hr.po: Likewise.
32357 * po/nl.pl: Likewise.
32358 * po/pl.po: Likewise.
32359 * po/vi.po: Likewise.
32361 2012-07-03 Joseph Myers <joseph@codesourcery.com>
32363 * Makeconfig [!+link] (+link-before-libc): New variable.
32364 [!+link] (+link-after-libc): Likewise.
32365 [!+link] (+link-tests): Likewise.
32366 [!+link] (+link): Define in terms of $(+link-before-libc) and
32367 $(+link-after-libc).
32368 [!+link-static] (+link-static-before-libc): New variable.
32369 [!+link-static] (+link-static-after-libc): Likewise.
32370 [!+link-static] (+link-static-tests): Likewise.
32371 [!+link-static] (+link-static): Define in terms of
32372 $(+link-static-before-libc) and $(+link-static-after-libc).
32373 [build-shared] (link-libc-before-gnulib): New variable.
32374 [build-shared] (link-libc-tests): Likewise.
32375 [build-shared] (link-libc): Define in terms of
32376 $(link-libc-before-gnulib).
32377 [!build-shared] (link-libc-tests): New variable.
32378 (link-libc-static-tests): New variable.
32379 [!gnulib] (gnulib-arch): New variable.
32380 [!gnulib] (gnulib-tests): Likewise.
32381 [!gnulib] (static-gnulib-arch): Likewise.
32382 [!gnulib] (static-gnulib-tests): Likewise.
32383 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
32384 Define with "=" instead of ":=".
32385 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
32386 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
32387 * Rules (binaries-all-notests): New variable.
32388 (binaries-all-tests): Likewise.
32389 (binaries-static-notests): Likewise.
32390 (binaries-static-tests): Likewise.
32391 (binaries-all): Define using $(binaries-all-notests) and
32392 $(binaries-all-tests).
32393 (binaries-static): Define using $(binaries-static-notests) and
32394 $(binaries-static-tests).
32395 (binaries-shared-tests): New variable.
32396 (binaries-shared-notests): Likewise.
32397 (binaries-shared): Remove variable.
32398 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
32399 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
32400 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
32401 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
32402 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
32403 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
32404 * elf/Makefile (sln-modules): New variable.
32405 (extra-objs): Add $(sln-modules:=.o).
32406 (ldconfig-modules): Add static-stubs.
32407 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
32408 * elf/static-stubs.c: New file.
32411 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
32412 by 7 not 8 to examine high bit of fractional part. Use volatile
32413 variables when splitting into final array of floats if
32414 __FLT_EVAL_METHOD__ != 0.
32415 * math/libm-test.inc (cos_test): Add another test.
32416 (sin_test): Likewise.
32417 * sysdeps/i386/fpu/libm-test-ulps: Update.
32420 * math/libm-test.inc (cosh_test): Add more tests.
32422 * version.h (RELEASE): Set to "development".
32423 (VERSION): Set to "2.16.90".
32425 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
32427 * NEWS: Update copyright. Remove last-updated date.
32428 Mention math library bug fixes and timezone data changes.
32429 * README: Mention GNU/Hurd, x32, and HPPA support status.
32431 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
32433 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
32435 2012-06-27 Andreas Jaeger <aj@suse.de>
32437 * manual/contrib.texi (Contributors): Add Samuel Thibault.
32439 2012-06-25 Andreas Jaeger <aj@suse.de>
32441 * sysdeps/s390/fpu/libm-test-ulps: Update.
32443 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
32444 Thomas Schwinge <thomas@codesourcery.com>
32446 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
32447 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
32448 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
32451 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
32453 * sysdeps/mach/start.c: Remove file.
32454 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
32455 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
32456 * sysdeps/sh/init-first.c: Likewise.
32458 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
32459 registers for frame unwinding purposes, add CFI directives.
32460 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
32461 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
32462 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
32465 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
32466 __fortify_fail returning.
32467 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
32469 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
32470 sysdeps/sh/____longjmp_chk.S.
32471 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
32472 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
32473 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
32474 (gen-as-const-headers): Append sigaltstack-offsets.sym.
32476 * sysdeps/sh/abort-instr.h: New file.
32477 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
32478 process in case exit returns.
32480 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
32481 initialize the GOT register before use.
32483 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
32484 calculation of ARGC > 4.
32486 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
32487 meaningful names to some local labels.
32489 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
32490 Kaz Kojima <kkojima@rr.iij4u.or.jp>
32492 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
32493 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
32494 (__arch_compare_and_exchange_val_16_acq): Likewise.
32495 (__arch_compare_and_exchange_val_32_acq): Likewise.
32496 (atomic_exchange_and_add): Fix gUSA sequence.
32497 (atomic_add): Likewise.
32498 (atomic_add_negative): Likewise.
32499 (atomic_add_zero): Likewise.
32500 (atomic_bit_test_set): Likewise.
32502 2012-06-22 Andreas Schwab <schwab@redhat.com>
32505 * include/link.h (struct link_map): Add l_free_initfini.
32506 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
32508 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
32509 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
32510 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
32513 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
32515 * configure.in: Use AC_LANG_SOURCE.
32516 * configure: Regenerate.
32518 2012-06-22 Roland McGrath <roland@hack.frob.com>
32520 * configure.in (libc_cv_localstatedir): New substituted variable.
32521 * configure: Regenerated.
32522 * config.make.in (localstatedir): New variable, substituted from
32523 libc_cv_localstatedir.
32524 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
32525 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
32526 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
32527 * sysdeps/gnu/configure: Regenerated.
32529 2012-06-21 Jeff Law <law@redhat.com>
32532 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
32533 free. Simplify list management for _LIBC case.
32535 2012-06-21 Joseph Myers <joseph@codesourcery.com>
32538 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
32539 Clear sign bit of 64-bit integer value before comparing against
32542 * sysdeps/mach/configure: Regenerated.
32544 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
32547 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
32549 2012-06-21 Jeff Law <law@redhat.com>
32552 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
32553 uint16_t for elements in the "seen" array to avoid char overflows.
32554 * elf/dl-fini.c (_dl_sort_fini): Likewise.
32555 * elf/dl-open.c (dl_open_worker): Likewise.
32557 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
32559 * scripts/list-sources.sh: Scan PORTS for translations.
32560 * po/libc.pot: Regenerated.
32562 2012-06-21 Andreas Jaeger <aj@suse.de>
32565 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
32567 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
32568 * bits/byteswap-16.h (__bswap_16): Likewise.
32569 * bits/byteswap.h (__bswap_constant_16): Likewise.
32571 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
32574 * sysdeps/i386/fpu_control.h: Removed.
32575 * sysdeps/x86_64/fpu_control.h: Moved to ...
32576 * sysdeps/x86/fpu_control.h: Here.
32578 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
32579 (_FPU_SETCW): Likewise.
32581 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
32584 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
32585 * sysdeps/x86/fpu/bits/mathinline.h: This.
32586 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
32590 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
32591 functions if __x86_64__ is defined.
32593 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
32595 * string/endian.h: Add !__ASSEMBLER__ condition for including
32596 conversion interfaces.
32598 2012-06-15 Joseph Myers <joseph@codesourcery.com>
32601 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
32602 of ABS(x) in calculating zero to negative powers other than odd
32604 * math/libm-test.inc (pow_test): Add more tests.
32606 2012-06-15 Andreas Jaeger <aj@suse.de>
32608 * manual/contrib.texi (Contributors): Update entry of Liubov
32609 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
32612 2012-06-15 Cyril Hrubis <metan@ucw.cz>
32614 * string/string.h: Add __wur to GNU version of strerror_r.
32616 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
32619 * string/Makefile (tests): Add tst-strtok_r.
32620 * string/tst-strtok_r.c: New file.
32621 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
32622 RAX_LP/RDX_LP on SAVE_PTR.
32624 2012-06-14 Roland McGrath <roland@hack.frob.com>
32626 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
32628 2012-06-14 Joseph Myers <joseph@codesourcery.com>
32630 * libm_test.inc (csqrt_test): Allow more spurious underflow
32632 (j0_test): Likewise.
32633 (j1_test): Likewise.
32634 (y0_test): Likewise.
32635 (y1_test): Likewise.
32637 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
32639 * po/Makefile (libc.pot): Use UTF-8 charset.
32641 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
32644 Suppress sign-conversion warning from FD_SET.
32645 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
32646 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
32647 not unsigned long int.
32648 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
32650 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
32654 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
32655 __extern_always_inline instead of __extern_inline.
32656 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
32657 (__signbit): Likewise.
32658 (__signbitl): Support C++ namespace.
32659 (lrintf): New inline function.
32661 (llrintf): Likewise.
32662 (llrint): Likewise.
32672 (floorf): Likewise.
32673 (nearbyint): Likewise.
32674 (nearbyintf): Likewise.
32676 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
32678 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
32679 non-default versions.
32681 2012-06-11 Roland McGrath <roland@hack.frob.com>
32684 * manual/argp.texi (Argp): Reword argp_parse description slightly.
32686 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
32688 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
32689 (FE_UPWARD, FE_DOWNWARD): Don't define.
32690 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
32691 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
32693 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
32695 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
32696 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
32698 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
32700 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
32701 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
32702 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
32703 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
32705 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
32708 * sysdeps/i386/fpu/bits/fenv.h: Removed.
32709 * sysdeps/i386/fpu/Implies: New file.
32710 * sysdeps/x86_64/fpu/Implies: Likewise.
32711 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
32712 * sysdeps/x86/fpu/bits/fenv.h: This.
32714 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
32717 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
32720 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
32721 character 0xffff that matches the last element of the
32724 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32726 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
32729 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32731 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
32732 values higher than 25.6283.
32734 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32736 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
32737 subnormal exponent extraction and add some __builtin_expect.
32738 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
32739 Fix for subnormal mantissa calculation.
32741 2012-06-04 Mike Frysinger <vapier@gentoo.org>
32743 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
32744 cpu2 is -1 and errno is not ENOSYS.
32746 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
32749 * sysdeps/i386/i486/bits/string.h: Renamed to ...
32750 * sysdeps/x86/bits/string.h: This.
32751 * sysdeps/x86_64/bits/string.h: Removed.
32753 * sysdeps/i386/i486/bits/string.h: Define inline functions only
32754 if not compiling for x86-64, but compiling for >= i486.
32756 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
32757 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
32759 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
32760 New macro from Linux kernel 3.4.0.
32761 (FP_XSTATE_MAGIC2): Likewise.
32762 (FP_XSTATE_MAGIC2_SIZE): Likewise.
32763 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
32764 (struct _fpx_sw_bytes): New struct.
32765 (struct _xsave_hdr): Likewise.
32766 (struct _ymmh_state): Likewise.
32767 (struct _xstate): Likewise.
32769 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
32770 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
32771 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
32772 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
32773 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
32774 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
32776 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
32777 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
32778 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
32779 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
32780 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
32781 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
32783 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32786 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
32787 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
32788 (sysdep_headers): Include sys/platform/ppc.h.
32789 * sysdeps/powerpc/test-gettimebase.c: Test for
32790 __ppc_get_timebase() to catch future ISA opcode/insn changes.
32791 * manual/Makefile (appendices): Include platform.texi.
32792 * manual/contrib.texi (Contributors): Update @node pointers.
32793 * manual/maint.texi (Maintenance): Likewise.
32794 (Platform): New node.
32795 * manual/platform.texi: New file. Document the new features.
32797 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
32798 Jakub Jelinek <jakub@redhat.com>
32801 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
32802 where __builtin_expect is unavailable.
32804 2012-06-03 David S. Miller <davem@davemloft.net>
32806 * stdlib/longlong.h: Updated from GCC.
32808 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
32811 * sysdeps/powerpc/powerpc32/mcount.c: New file.
32812 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
32814 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
32815 (GLIBC_2.16): Likewise.
32817 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
32819 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
32821 2012-06-01 Joseph Myers <joseph@codesourcery.com>
32823 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
32824 (default-abi): New variable.
32825 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
32826 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
32828 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
32830 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
32832 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
32835 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
32836 definition. Document in comment.
32838 2012-06-01 David S. Miller <davem@davemloft.net>
32840 * stdlib/longlong.h: Updated from GCC.
32842 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
32845 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
32846 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
32847 sys/debugreg.h sys/io.h here.
32848 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
32849 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
32851 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
32852 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
32853 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
32854 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
32855 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
32856 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
32858 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
32859 Define only if __x86_64__ is defined.
32861 2012-06-01 Joseph Myers <joseph@codesourcery.com>
32864 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
32865 Use int64_t for variable i.
32866 * math/libm-test.inc (fmod_test): Add more tests.
32868 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
32869 z computation is not scheduled after fetestexcept.
32870 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
32871 Use math_force_eval instead of asm to ensure calculation scheduled
32872 before exception test.
32873 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
32874 Ensure a1 + u.d computation is not scheduled after fetestexcept.
32876 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
32878 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
32879 computation is not scheduled after fetestexcept.
32881 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
32884 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
32885 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
32887 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32889 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
32890 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
32892 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
32895 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
32897 (__WCHAR_MIN): Support __WORDSIZE == 64.
32898 (__WCHAR_MAX): Likewise.
32900 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
32901 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
32904 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
32905 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
32908 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
32909 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
32911 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
32912 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
32914 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
32915 Defined to 1 if __x86_64__ isn't defined.
32916 (_STAT_VER_LINUX_OLD): New.
32917 (st_atime): Remove duplicate.
32918 (st_mtime): Likewise.
32919 (st_ctime): Likewise.
32921 2012-05-31 David S. Miller <davem@davemloft.net>
32923 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
32926 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
32928 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
32932 * elf/dl-reloc.c: Include <_itoa.h>.
32933 (_dl_reloc_bad_type): Remove use of INTUSE.
32934 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
32935 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
32936 * stdio-common/psiginfo.c (psiginfo): Likewise.
32937 * stdio-common/psignal.c (psignal): Likewise.
32938 * string/strsignal.c (strsignal): Likewise.
32939 * include/signal.h (_sys_siglist): Declare hidden proto.
32940 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
32941 INTVARDEF with libc_hidden_data_def.
32942 * stdio-common/itoa-udigits.c: Likewise.
32943 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
32944 (_itoa_lower_digits_internal): Remove declaration.
32945 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
32946 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
32947 (_sys_sigabbrev_internal): Remove aliases.
32948 (_sys_siglist): Define hidden alias.
32950 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
32952 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32955 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
32958 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
32959 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
32961 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
32962 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
32963 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
32964 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
32965 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
32966 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
32968 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
32969 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
32970 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
32972 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
32980 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
32981 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
32982 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
32984 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
32985 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
32986 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
32987 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
32988 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
32989 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
32991 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
32992 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
32994 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
32995 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
32997 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
32998 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
32999 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
33001 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
33002 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
33004 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
33006 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
33007 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
33008 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
33010 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
33012 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
33014 2012-05-31 Joseph Myers <joseph@codesourcery.com>
33016 * math/math.h (M_El): Use two more decimal places.
33017 (M_LOG2El): Likewise.
33018 (M_LOG10El): Likewise.
33019 (M_LN2l): Likewise.
33020 (M_LN10l): Likewise.
33022 (M_PI_2l): Likewise.
33023 (M_PI_4l): Likewise.
33024 (M_1_PIl): Likewise.
33025 (M_2_PIl): Likewise.
33026 (M_2_SQRTPIl): Likewise.
33027 (M_SQRT2l): Likewise.
33028 (M_SQRT1_2l): Likewise.
33030 2012-05-31 David S. Miller <davem@davemloft.net>
33032 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
33033 values between float registers.
33034 * sysdeps/sparc/sparc64/memset.S: Likewise.
33035 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
33037 2012-05-31 Mike Frysinger <vapier@gentoo.org>
33039 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
33040 -D_FORTIFY_SOURCE=1.
33041 (CPPFLAGS-tst-longjmp_chk.c): Define.
33042 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
33043 (CPPFLAGS-tst-longjmp_chk2.c): Define.
33044 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
33045 CFLAGS-tst-wchar-h.c.
33047 2012-05-31 Marek Polacek <polacek@redhat.com>
33050 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
33051 __endmntent_internal): Remove declaration.
33052 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
33053 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
33054 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
33056 2012-05-30 David S. Miller <davem@davemloft.net>
33058 * sysdeps/sparc/sparc32/soft-fp/q_util.c
33059 (___Q_simulate_exceptions): Use real FP ops rather than writing
33061 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
33064 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
33067 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
33068 * sysdeps/x86/bits/xtitypes.h: This.
33070 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
33071 * sysdeps/x86/bits/wordsize.h: This.
33073 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
33074 * sysdeps/x86/bits/huge_vall.h: This.
33076 * sysdeps/i386/bits/select.h: Removed.
33077 * sysdeps/x86_64/bits/select.h: Renamed to ...
33078 * sysdeps/x86/bits/select.h: This.
33080 * sysdeps/i386/bits/setjmp.h: Removed.
33081 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
33082 * sysdeps/x86/bits/setjmp.h: This.
33084 * sysdeps/i386/bits/mathdef.h: Removed.
33085 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
33086 * sysdeps/x86/bits/mathdef.h: This.
33088 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
33091 * include/sys/socket.h (__connect_internal)
33092 (__libc_sa_len_internal): Remove declaration.
33093 (__connect, __libc_sa_len): Declare hidden_proto.
33094 (SA_LEN): Remove use of INTUSE.
33095 * socket/connect.c: Add libc_hidden_def.
33096 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
33097 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
33098 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
33100 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
33101 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
33102 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
33103 of adding _internal alias.
33105 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
33108 * sysdeps/i386/bits/link.h: Removed.
33109 * sysdeps/i386/bits/linkmap.h: Likewise.
33110 * sysdeps/x86_64/bits/link.h: Renamed to ...
33111 * sysdeps/x86/bits/link.h: This.
33112 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
33113 * sysdeps/x86/bits/linkmap.h: This.
33115 * sysdeps/i386/bits/endian.h: Removed.
33116 * sysdeps/x86_64/bits/endian.h: Renamed to ...
33117 * sysdeps/x86/bits/endian.h: This.
33119 * sysdeps/i386/bits/byteswap.h: Removed.
33120 * sysdeps/i386/bits/byteswap-16.h: Likewise.
33121 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
33122 * sysdeps/x86/bits/byteswap.h: This.
33123 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
33124 * sysdeps/x86/bits/byteswap-16.h: This.
33125 * sysdeps/i386/Implies: Add x86.
33126 * sysdeps/x86_64/Implies: Likewise.
33128 2012-05-30 David S. Miller <davem@davemloft.net>
33130 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
33131 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
33132 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
33133 (FP_TRAPPING_EXCEPTIONS): Define.
33134 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
33135 (FP_TRAPPING_EXCEPTIONS): Define.
33136 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
33137 subnormals only when inexact has been signalled or underflow
33138 exceptions are enabled.
33139 (_FP_PACK_CANONICAL): Likewise.
33141 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
33144 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
33145 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
33147 2012-05-30 Richard Henderson <rth@twiddle.net>
33149 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
33150 with #ifndef NOT_IN_libc.
33152 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
33153 marked to avoid plt entry.
33155 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
33158 * Makeconfig (default-abi): New macro.
33159 (abi-includes): Likewise.
33160 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
33161 $(abi-$(default-abi)-lib-soname) for soname if defined.
33162 ($(common-objpfx)gnu/lib-names.stmp): Generate from
33164 * Makefile (installed-stubs): Likewise.
33165 * include/stubs-biarch.h: Removed.
33166 * scripts/lib-names.awk: Only handle one library at a time.
33167 * scripts/soversions.awk: Remove WORDSIZE support.
33168 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
33170 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
33172 (syscall-list-default-condition): Likewise.
33173 (syscall-list-default-condition): Likewise.
33174 (syscall-list-includes): Likewise.
33175 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
33176 syscall-list-* with abi-*. Handle undefined abi-variants.
33177 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
33178 * sysdeps/unix/sysv/linux/i386/Implies: New file.
33179 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
33180 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
33181 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
33182 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
33184 (syscall-list-32-options): Likewise.
33185 (syscall-list-32-condition): Likewise.
33186 (syscall-list-64-options): Likewise.
33187 (syscall-list-64-condition): Likewise.
33188 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
33190 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
33193 (abi-64-ld-soname): New macro.
33194 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
33195 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
33198 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
33199 * sysdeps/x86_64/x32/shlib-versions: Likewise.
33201 2012-05-30 Joseph Myers <joseph@codesourcery.com>
33203 * sysdeps/unix/sysv/linux/kernel-features.h
33204 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
33205 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
33206 include <kernel-features.h>.
33207 [!__NR_ftruncate64]: Remove conditional code.
33208 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33209 [__NR_ftruncate64]: Make code unconditional.
33210 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33211 * sysdeps/unix/sysv/linux/truncate64.c: Do not
33212 include <kernel-features.h>.
33213 [!__NR_ftruncate64]: Remove conditional code.
33214 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33215 [__NR_ftruncate64]: Make code unconditional.
33216 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33217 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
33218 include <kernel-features.h>.
33219 [!__NR_ftruncate64]: Remove conditional code.
33220 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33221 [__NR_ftruncate64]: Make code unconditional.
33222 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33223 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
33224 include <kernel-features.h>.
33225 [!__NR_ftruncate64]: Remove conditional code.
33226 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33227 [__NR_ftruncate64]: Make code unconditional.
33228 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33230 * configure.in (libc_cv_fpie): Weaken to a compile test using
33231 LIBC_TRY_CC_OPTION.
33232 * configure: Regenerated.
33234 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33236 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
33237 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
33238 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
33239 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
33241 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
33242 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
33243 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
33244 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
33245 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
33246 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
33249 2012-05-27 David S. Miller <davem@davemloft.net>
33251 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
33253 (__Q_simulate_exceptions): Return void. Change to simulate
33254 exceptions by writing into the %fsr.
33255 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
33256 (__Qp_handle_exceptions): Likewise.
33258 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
33259 __Qp_handle_exceptions.
33260 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
33261 __Qp_handle_exceptions.
33262 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
33263 as unused and give dummy FP_RND_NEAREST initializer.
33264 (FP_INHIBIT_RESULTS): Define.
33265 (___Q_simulate_exceptions): Update declaration.
33266 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
33268 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
33269 as unused and give dummy FP_RND_NEAREST initializer.
33270 (__Qp_handle_exceptions): Update declaration.
33271 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
33274 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
33276 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
33277 the temporary FPU control word.
33278 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
33279 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
33280 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
33281 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
33282 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
33283 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
33284 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
33285 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
33286 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
33287 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
33288 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
33290 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
33292 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
33295 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
33297 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
33298 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
33299 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
33300 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
33302 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
33303 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
33306 2012-05-27 Ulrich Drepper <drepper@gmail.com>
33308 * po/h.po: Update from translation team.
33310 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
33312 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
33314 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
33315 handling of denormals.
33316 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
33317 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
33318 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
33319 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
33320 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
33321 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
33322 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
33325 2012-05-26 Marek Polacek <polacek@redhat.com>
33328 * math/libm-test.inc (fma_test): Don't always expect underflow
33331 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
33334 * elf/tst-execstack.c: Include stackinfo.h.
33335 (do_test): Adjust test case to ensure that pthread_getattr_np
33336 behaviour remains the same after marking stack executable.
33338 2012-05-25 Joseph Myers <joseph@codesourcery.com>
33340 * sysdeps/unix/sysv/linux/kernel-features.h
33341 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
33342 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
33344 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
33345 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
33346 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
33348 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
33349 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
33351 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
33353 * configure.in: Define the default includes to being none.
33354 * configure: Regenerated.
33356 2012-05-25 Roland McGrath <roland@hack.frob.com>
33358 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
33359 * sysdeps/x86_64/setjmp.S: Likewise.
33360 * sysdeps/i386/bsd-setjmp.S: Likewise.
33361 * sysdeps/i386/bsd-_setjmp.S: Likewise.
33362 * sysdeps/i386/setjmp.S: Likewise.
33363 * sysdeps/i386/__longjmp.S: Likewise.
33364 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
33365 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
33367 * include/stap-probe.h: New file.
33368 * configure.in: Handle --enable-systemtap.
33369 * configure: Regenerated.
33370 * config.h.in (USE_STAP_PROBE): New #undef.
33371 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
33372 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
33373 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
33375 2012-05-25 Joseph Myers <joseph@codesourcery.com>
33378 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
33379 to 2.4.0 where earlier.
33380 * sysdeps/unix/sysv/linux/configure: Regenerated.
33381 * sysdeps/unix/sysv/linux/i386/chown.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/fchown.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/fchownat.c (fchownat)
33390 [__ASSUME_32BITUIDS]: Make code unconditional.
33391 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
33392 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
33393 <kernel-features.h>.
33394 [__ASSUME_32BITUIDS]: Make code unconditional.
33395 [!__ASSUME_32BITUIDS]: Remove conditional code.
33396 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
33397 <kernel-features.h>.
33398 [__ASSUME_32BITUIDS]: Make code unconditional.
33399 [!__ASSUME_32BITUIDS]: Remove conditional code.
33400 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
33401 <kernel-features.h>.
33402 [__ASSUME_32BITUIDS]: Make code unconditional.
33403 [!__ASSUME_32BITUIDS]: Remove conditional code.
33404 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
33405 <kernel-features.h>.
33406 [__ASSUME_32BITUIDS]: Make code unconditional.
33407 [!__ASSUME_32BITUIDS]: Remove conditional code.
33408 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
33409 <kernel-features.h>.
33410 [__ASSUME_32BITUIDS]: Make code unconditional.
33411 [!__ASSUME_32BITUIDS]: Remove conditional code.
33412 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
33413 <kernel-features.h>.
33414 [__ASSUME_32BITUIDS]: Make code unconditional.
33415 [!__ASSUME_32BITUIDS]: Remove conditional code.
33416 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
33417 <kernel-features.h>.
33418 [__ASSUME_32BITUIDS]: Make code unconditional.
33419 [!__ASSUME_32BITUIDS]: Remove conditional code.
33420 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
33421 <kernel-features.h>.
33422 [__ASSUME_32BITUIDS]: Make code unconditional.
33423 [!__ASSUME_32BITUIDS]: Remove conditional code.
33424 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
33425 <kernel-features.h>.
33426 [__ASSUME_32BITUIDS]: Make code unconditional.
33427 [!__ASSUME_32BITUIDS]: Remove conditional code.
33428 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
33429 <kernel-features.h>.
33430 [__ASSUME_32BITUIDS]: Make code unconditional.
33431 [!__ASSUME_32BITUIDS]: Remove conditional code.
33432 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
33433 <kernel-features.h>.
33434 [__NR_setresgid] (__setresgid): Do not declare.
33435 [__ASSUME_32BITUIDS]: Make code unconditional.
33436 [!__ASSUME_32BITUIDS]: Remove conditional code.
33437 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
33438 <kernel-features.h>.
33439 [__NR_setresuid] (__setresuid): Do not declare.
33440 [__ASSUME_32BITUIDS]: Make code unconditional.
33441 [!__ASSUME_32BITUIDS]: Remove conditional code.
33442 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
33443 <kernel-features.h>.
33444 [__ASSUME_32BITUIDS]: Make code unconditional.
33445 [!__ASSUME_32BITUIDS]: Remove conditional code.
33446 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
33447 <kernel-features.h>.
33448 [__ASSUME_32BITUIDS]: Make code unconditional.
33449 [!__ASSUME_32BITUIDS]: Remove conditional code.
33450 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
33451 <kernel-features.h>.
33452 [__ASSUME_32BITUIDS]: Make code unconditional.
33453 [!__ASSUME_32BITUIDS]: Remove conditional code.
33454 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
33455 <kernel-features.h>.
33456 [__ASSUME_32BITUIDS]: Make code unconditional.
33457 [!__ASSUME_32BITUIDS]: Remove conditional code.
33458 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
33459 <kernel-features.h>.
33460 [__ASSUME_32BITUIDS]: Make code unconditional.
33461 [!__ASSUME_32BITUIDS]: Remove conditional code.
33462 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
33463 <kernel-features.h>.
33464 [__ASSUME_32BITUIDS]: Make code unconditional.
33465 [!__ASSUME_32BITUIDS]: Remove conditional code.
33466 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
33467 <kernel-features.h>.
33468 [__ASSUME_32BITUIDS]: Make code unconditional.
33469 [!__ASSUME_32BITUIDS]: Remove conditional code.
33470 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
33471 <kernel-features.h>.
33472 [__ASSUME_32BITUIDS]: Make code unconditional.
33473 [!__ASSUME_32BITUIDS]: Remove conditional code.
33474 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
33475 <kernel-features.h>.
33476 [__ASSUME_32BITUIDS]: Make code unconditional.
33477 [!__ASSUME_32BITUIDS]: Remove conditional code.
33478 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
33479 <kernel-features.h>.
33480 [__ASSUME_32BITUIDS]: Make code unconditional.
33481 [!__ASSUME_32BITUIDS]: Remove conditional code.
33482 * sysdeps/unix/sysv/linux/kernel-features.h
33483 (__ASSUME_SETRESUID_SYSCALL): Remove.
33484 (__ASSUME_SETRESGID_SYSCALL): Likewise.
33485 (__ASSUME_32BITUIDS): Likewise.
33486 (__ASSUME_LDT_WORKS): Likewise.
33487 (__ASSUME_O_DIRECTORY): Likewise.
33488 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
33489 architecture but not kernel version.
33490 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
33491 (__ASSUME_MMAP2_SYSCALL): Likewise.
33492 (__ASSUME_STAT64_SYSCALL): Likewise.
33493 (__ASSUME_IPC64): Likewise.
33494 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
33495 <kernel-features.h>.
33496 [__ASSUME_32BITUIDS]: Make code unconditional.
33497 [!__ASSUME_32BITUIDS]: Remove conditional code.
33498 * sysdeps/unix/sysv/linux/opendir.c: Do not include
33499 <kernel-features.h>.
33500 [__ASSUME_O_DIRECTORY]: Make code unconditional.
33501 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
33502 132096]: Remove conditional code.
33503 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
33504 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
33505 <kernel-features.h>.
33506 [__ASSUME_32BITUIDS]: Make code unconditional.
33507 [!__ASSUME_32BITUIDS]: Remove conditional code.
33508 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
33509 <kernel-features.h>.
33510 [__ASSUME_32BITUIDS]: Make code unconditional.
33511 [!__ASSUME_32BITUIDS]: Remove conditional code.
33512 * sysdeps/unix/sysv/linux/setegid.c: Do not include
33513 <kernel-features.h>.
33514 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
33516 (__setresgid): Do not declare.
33517 [__ASSUME_32BITUIDS]: Make code unconditional.
33518 [!__ASSUME_32BITUIDS]: Remove conditional code.
33519 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
33520 <kernel-features.h>.
33521 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
33523 (__setresuid): Do not declare.
33524 [__ASSUME_32BITUIDS]: Make code unconditional.
33525 [!__ASSUME_32BITUIDS]: Remove conditional code.
33526 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
33527 <kernel-features.h>.
33528 [__ASSUME_32BITUIDS]: Make code unconditional.
33529 [!__ASSUME_32BITUIDS]: Remove conditional code.
33530 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
33531 <kernel-features.h>.
33532 [__ASSUME_32BITUIDS]: Make code unconditional.
33533 [!__ASSUME_32BITUIDS]: Remove conditional code.
33535 2012-05-25 Richard Henderson <rth@twiddle.net>
33537 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
33538 dl_hwcap to ifunc resolver.
33539 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
33541 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
33542 dl_hwcap to ifunc resolver.
33543 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
33545 2012-05-24 Joseph Myers <joseph@codesourcery.com>
33548 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
33549 for |x| <= 2**-26, not 2**-57.
33550 * math/libm-test.inc (acos_test): Do not allow spurious underflow
33553 2012-05-24 Jeff Law <law@redhat.com>
33555 * stdio-common/Makefile (tests): Add bug25.
33556 * stdio-common/bug25.c: New test.
33558 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
33561 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
33562 multiple of MALLOC_ALIGNMENT in size.
33563 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
33565 2012-05-24 Joseph Myers <joseph@codesourcery.com>
33567 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
33569 (FILENAME_MAX): Use macro-int-constant.
33570 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
33571 (_IOFBF): Use macro-int-constant.
33572 (_IOLBF): Likewise.
33573 (_IONBF): Likewise.
33574 (SEEK_CUR): Likewise.
33575 (SEEK_END): Likewise.
33576 (SEEK_SET): Likewise.
33577 (TMP_MAX): Likewise.
33578 (EOF): Use macro-int-constant. Require < 0.
33579 (NULL): Use macro-constant. Require == 0.
33580 (stdin): Require type to be FILE *.
33581 (stdout): Likewise.
33582 (stderr): Likewise.
33583 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
33584 macro-int-constant.
33585 (EXIT_SUCCESS): Likewise.
33586 (NULL): Use macro-constant. Require == 0.
33587 (RAND_MAX): Use macro-int-constant.
33588 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
33589 [C99-based standards] (strtof): Require function.
33590 [C99-based standards] (strtold): Likewise.
33591 [C99-based standards] (strtoll): Likewise.
33592 [C99-based standards] (strtoull): Likewise.
33593 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
33594 [ISO || ISO99 || ISO11] (limits.h): Likewise.
33595 [ISO || ISO99 || ISO11] (math.h): Likewise.
33596 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
33597 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
33598 [ISO || ISO99 || ISO11] (*_t): Do not allow.
33600 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
33603 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
33604 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
33605 * intl/dgettext.c (DCGETTEXT): Likewise.
33606 * intl/gettext.c (DCGETTEXT): Likewise.
33607 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
33608 * posix/regex_internal.h (gettext): Likewise.
33609 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
33610 Remove declaration.
33611 * include/argz.h (__argz_count_internal)
33612 (__argz_stringify_internal): Remove declaration.
33613 (__argz_count, __argz_stringify): Declare hidden proto.
33614 * intl/dcgettext.c: Remove use of INTDEF.
33615 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
33616 * string/argz-stringify.c: Likewise.
33617 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
33618 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
33619 Declare hidden proto.
33620 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
33621 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
33622 Declare hidden proto.
33623 * include/stdio.h (__asprintf_internal): Don't declare.
33624 (__asprintf): Don't define as macro. Declare hidden proto.
33625 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
33626 (__fsetlocking): Declare hidden proto.
33627 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
33628 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
33630 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
33631 (_IO_setlinebuf): Remove use of INTUSE.
33632 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
33633 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
33634 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
33635 Remove declaration.
33636 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
33637 (_IO_do_flush): Remove use of INTUSE.
33638 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
33639 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
33640 (_IO_adjust_column, _IO_least_wmarker)
33641 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
33642 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
33643 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
33644 (_IO_default_doallocate, _IO_wdefault_doallocate)
33645 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
33646 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
33647 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
33648 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
33649 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
33650 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
33651 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
33652 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
33653 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
33654 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
33655 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
33656 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
33657 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
33659 (_IO_flush_all_internal, _IO_adjust_column_internal)
33660 (_IO_default_uflow_internal, _IO_default_finish_internal)
33661 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
33662 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
33663 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
33664 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
33665 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
33666 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
33667 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
33668 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
33669 (_IO_file_close_internal, _IO_file_close_it_internal)
33670 (_IO_file_underflow_internal, _IO_file_overflow_internal)
33671 (_IO_file_init_internal, _IO_file_attach_internal)
33672 (_IO_file_fopen_internal, _IO_file_read_internal)
33673 (_IO_file_sync_internal, _IO_file_seek_internal)
33674 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
33675 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
33676 (_IO_str_underflow_internal, _IO_str_overflow_internal)
33677 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
33678 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
33679 (_IO_list_all_internal, _IO_link_in_internal)
33680 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
33681 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
33682 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
33683 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
33684 (_IO_do_write_internal, _IO_padn_internal)
33685 (_IO_getline_info_internal, _IO_getline_internal)
33686 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
33687 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
33688 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
33689 (_IO_vfscanf_internal, _IO_vfprintf_internal)
33690 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
33691 (_IO_init_internal, _IO_un_link_internal): Don't declare.
33692 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
33693 with libc_hidden_ver, remove use of INTUSE.
33694 * libio/genops.c: Likewise.
33695 * libio/freopen.c: Likewise.
33696 * libio/freopen64.c: Likewise.
33697 * libio/iofclose.c: Likewise.
33698 * libio/iofdopen.c: Likewise.
33699 * libio/iofflush.c: Likewise.
33700 * libio/iofflush_u.c: Likewise.
33701 * libio/iofgets.c: Likewise.
33702 * libio/iofgets_u.c: Likewise.
33703 * libio/iofopen.c: Likewise.
33704 * libio/iofopncook.c: Likewise.
33705 * libio/iofread.c: Likewise.
33706 * libio/iofread_u.c: Likewise.
33707 * libio/ioftell.c: Likewise.
33708 * libio/iofwrite.c: Likewise.
33709 * libio/iogetline.c: Likewise.
33710 * libio/iogets.c: Likewise.
33711 * libio/iogetwline.c: Likewise.
33712 * libio/iopadn.c: Likewise.
33713 * libio/iopopen.c: Likewise.
33714 * libio/ioseekoff.c: Likewise.
33715 * libio/ioseekpos.c: Likewise.
33716 * libio/iosetbuffer.c: Likewise.
33717 * libio/iosetvbuf.c: Likewise.
33718 * libio/ioungetc.c: Likewise.
33719 * libio/ioungetwc.c: Likewise.
33720 * libio/iovdprintf.c: Likewise.
33721 * libio/iovsprintf.c: Likewise.
33722 * libio/iovsscanf.c: Likewise.
33723 * libio/memstream.c: Likewise.
33724 * libio/obprintf.c: Likewise.
33725 * libio/oldfileops.c: Likewise.
33726 * libio/oldiofclose.c: Likewise.
33727 * libio/oldiofdopen.c: Likewise.
33728 * libio/oldiofopen.c: Likewise.
33729 * libio/oldiopopen.c: Likewise.
33730 * libio/oldstdfiles.c: Likewise.
33731 * libio/putc.c: Likewise.
33732 * libio/setbuf.c: Likewise.
33733 * libio/setlinebuf.c: Likewise.
33734 * libio/stdfiles.c: Likewise.
33735 * libio/strops.c: Likewise.
33736 * libio/vasprintf.c: Likewise.
33737 * libio/vscanf.c: Likewise.
33738 * libio/vsnprintf.c: Likewise.
33739 * libio/vswprintf.c: Likewise.
33740 * libio/wfiledoalloc.c: Likewise.
33741 * libio/wfileops.c: Likewise.
33742 * libio/wgenops.c: Likewise.
33743 * libio/wmemstream.c: Likewise.
33744 * libio/wstrops.c: Likewise.
33745 * libio/__fpurge.c: Likewise.
33746 * libio/__fsetlocking.c: Likewise.
33747 * assert/assert.c: Likewise.
33748 * debug/fgets_chk.c: Likewise.
33749 * debug/fgets_u_chk.c: Likewise.
33750 * debug/fread_chk.c: Likewise.
33751 * debug/fread_u_chk.c: Likewise.
33752 * debug/gets_chk.c: Likewise.
33753 * debug/obprintf_chk.c: Likewise.
33754 * debug/vasprintf_chk.c: Likewise.
33755 * debug/vdprintf_chk.c: Likewise.
33756 * debug/vsnprintf_chk.c: Likewise.
33757 * debug/vsprintf_chk.c: Likewise.
33758 * malloc/mtrace.c: Likewise.
33759 * misc/error.c: Likewise.
33760 * misc/syslog.c: Likewise.
33761 * stdio-common/asprintf.c: Likewise.
33762 * stdio-common/fxprintf.c: Likewise.
33763 * stdio-common/getw.c: Likewise.
33764 * stdio-common/isoc99_fscanf.c: Likewise.
33765 * stdio-common/isoc99_scanf.c: Likewise.
33766 * stdio-common/isoc99_vfscanf.c: Likewise.
33767 * stdio-common/isoc99_vscanf.c: Likewise.
33768 * stdio-common/isoc99_vsscanf.c: Likewise.
33769 * stdio-common/printf-prs.c: Likewise.
33770 * stdio-common/printf_fp.c: Likewise.
33771 * stdio-common/printf_fphex.c: Likewise.
33772 * stdio-common/printf_size.c: Likewise.
33773 * stdio-common/putw.c: Likewise.
33774 * stdio-common/scanf.c: Likewise.
33775 * stdio-common/sprintf.c: Likewise.
33776 * stdio-common/tmpfile.c: Likewise.
33777 * stdio-common/vfprintf.c: Likewise.
33778 * stdio-common/vfscanf.c: Likewise.
33779 * stdlib/strfmon_l.c: Likewise.
33780 * sunrpc/openchild.c: Likewise.
33781 * sunrpc/xdr_stdio.c: Likewise.
33782 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
33783 * sysdeps/mach/hurd/tmpfile.c: Likewise.
33785 2012-05-24 Roland McGrath <roland@hack.frob.com>
33787 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
33789 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
33790 in the third column, to generate for the shared library an IFUNC
33791 that uses _dl_vdso_vsym.
33792 * Makerules (COMPILE.c, compile-stdin.c): New variables.
33793 * Makeconfig (object-suffixes-noshared): New variable.
33795 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
33796 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
33797 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
33798 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
33801 * include/sys/time.h (__gettimeofday): Remove macro.
33802 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
33803 * time/gettimeofday.c (__gettimeofday): Remove #undef.
33805 (__gettimeofday): Add libc_hidden_def.
33806 (gettimeofday): Add libc_hidden_weak.
33807 * sysdeps/mach/gettimeofday.c: Likewise.
33808 * sysdeps/posix/gettimeofday.c: Likewise.
33809 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
33810 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
33811 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
33812 (__gettimeofday_internal): Remove strong_alias.
33813 (__gettimeofday): Add libc_hidden_def.
33814 (gettimeofday): Add libc_hidden_weak.
33815 * sysdeps/unix/syscalls.list (gettimeofday):
33816 Remove __gettimeofday_internal alias.
33818 2012-05-24 Daniel Jacobowitz <drow@false.org>
33819 H.J. Lu <hongjiu.lu@intel.com>
33822 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
33823 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
33824 (largebin_index_32_big): New.
33825 (largebin_index): Use it for 16-byte alignment.
33826 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
33827 correction with front_misalign.
33829 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
33831 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
33832 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
33834 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
33836 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
33838 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
33840 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
33842 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
33844 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
33846 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
33848 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
33850 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
33852 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
33854 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
33857 * scripts/data/c++-types-x32-linux-gnu.data: New file.
33858 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
33860 2012-05-24 Joseph Myers <joseph@codesourcery.com>
33864 * math/libm-test.inc (exp_test): Add test from bug 14036.
33865 (pow_test): Add test from bug 10846.
33867 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
33869 (special_function): Do not include flags in test name.
33870 (parse_args): Likewise.
33871 * sysdeps/i386/fpu/libm-test-ulps: Update.
33872 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
33873 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
33874 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
33875 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33877 * math/gen-libm-test.pl (%beautify): Add entries for underflow
33879 * math/libm-test.inc ("Philosophy"): Update comment about
33881 (UNDERFLOW_EXCEPTION): New macro.
33882 (UNDERFLOW_EXCEPTION_OK): Likewise.
33883 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
33884 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
33885 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
33886 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
33887 (INVALID_EXCEPTION_OK): Update value.
33888 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
33889 (OVERFLOW_EXCEPTION_OK): Likewise.
33890 (IGNORE_ZERO_INF_SIGN): Likewise.
33891 (test_exceptions): Handle underflow exceptions.
33892 (acos_test): Update for underflow exception expectations.
33893 (cexp_test): Likewise.
33894 (clog_test): Likewise.
33895 (clog10_test): Likewise.
33896 (csqrt_test): Likewise.
33897 (ctan_test): Likewise.
33898 (ctanh_test): Likewise.
33899 (exp_test): Likewise.
33900 (exp10_test): Likewise.
33901 (exp2_test): Likewise.
33902 (expm1_test): Likewise.
33903 (fma_test): Likewise.
33904 (j0_test): Likewise.
33905 (jn_test): Likewise.
33906 (nexttoward_test): Likewise.
33907 (pow_test): Likewise.
33908 (scalbn_test): Likewise.
33909 (scalbln_test): Likewise.
33910 (tan_test): Likewise.
33911 (y1_test): Likewise.
33912 * sysdeps/i386/fpu/libm-test-ulps: Update.
33913 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33915 2012-05-23 David S. Miller <davem@davemloft.net>
33917 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
33918 (__libc_sigaction): Remove unused local variables.
33920 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
33922 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
33924 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
33926 mktime: avoid signed integer overflow
33927 * time/mktime.c (__mktime_internal): Do not mishandle the case
33928 where diff == INT_MIN.
33930 mktime: simplify computation of average
33931 * time/mktime.c (ranged_convert): Use new time_t_avg function
33932 instead of rolling our own (probably-slower) code.
33934 mktime: do not assume signed right shift propagates sign bit
33935 * time/mktime.c (isdst_differ): New static function.
33936 (__mktime_internal): No need to normalize tm_isdst now.
33937 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
33940 mktime: merge another wrapv change from gnulib
33941 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
33942 from some compilers.
33944 mktime: remove incorrect attempt at unusual arithmetics
33945 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
33946 The code didn't really work on such machines anyway.
33947 (TYPE_MINIMUM): Assume two's complement.
33948 (twos_complement_arithmetic): Verify that long_int and time_t
33949 are two's complement (or unsigned, in the latter case).
33951 mktime: check signed shifts on long_int and time_t, too
33952 * time/mktime.c (SHR): Check that shifts work as desired
33953 on the types long_int and time_t too, as SHR is used on
33956 mktime: do not assume 'long' is wide enough
33957 * time/mktime.c (verify): Move decl up.
33958 (long_int): New type.
33959 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
33960 to remove assumption in the code that 'long' is wide enough to
33961 store year values. This assumption is not true on x32 and on
33962 some non-glibc platforms.
33964 mktime: merge wrapv change from gnulib
33965 * time/mktime.c (WRAPV): New macro.
33966 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
33967 (guess_time_tm, __mktime_internal): Do not assume that signed
33968 integer overflow wraps around; modern compilers generate code
33969 where this assumption is no longer valid.
33971 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
33973 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
33974 Replace "jmp L(pseudo_end)" with "ret".
33975 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
33978 2012-05-23 Andreas Jaeger <aj@suse.de>
33980 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
33981 * sysdeps/unix/sysv/linux/poll.c: Remove file.
33983 2012-05-23 Andreas Jaeger <aj@suse.de>
33984 Maximilian Attems <max@stro.at>
33986 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
33989 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
33991 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
33992 code so that pseudo_end is just ret and the stack pointer is
33993 correct also for static library in error case.
33995 2012-05-23 Joseph Myers <joseph@codesourcery.com>
33997 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
33998 move to syscalls.list.
33999 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
34000 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
34001 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
34002 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
34004 * manual/install.texi (Running make install): Do not mention Linux
34005 kernel version for which pt_chown is not needed.
34006 (Linux): Do not mention problems with nscd with 2.0 kernels.
34007 * INSTALL: Regenerated.
34009 2012-05-23 Andreas Jaeger <aj@suse.de>
34011 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
34012 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
34014 * sysdeps/unix/sysv/linux/s390/bits/mman.h
34015 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
34016 * sysdeps/unix/sysv/linux/sh/bits/mman.h
34017 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
34018 * sysdeps/unix/sysv/linux/i386/bits/mman.h
34019 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
34020 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
34021 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
34022 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
34023 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
34024 * sysdeps/unix/sysv/linux/bits/in.h
34025 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
34027 2012-05-22 Roland McGrath <roland@hack.frob.com>
34029 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
34030 (PREPARE_VERSION): Just use assert instead, it will be elided
34031 under [NDEBUG] anyway.
34033 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
34035 * sysdeps/unix/sysv/linux/Makefile: Include
34036 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
34037 (sysdep_routines): Remove sysctl.
34038 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
34039 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
34040 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
34041 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
34042 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
34044 2012-05-22 Andreas Jaeger <aj@suse.de>
34046 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
34047 that pseudo_end is just ret and the stack pointer is correct also
34048 for static library in error case.
34050 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
34053 * nss/nsswitch.c (defconfig_entries): New variable.
34054 (__nss_database_lookup): Don't leak defconfig entries.
34055 (nss_parse_service_list): Don't leak on error paths.
34056 (free_database_entries): New function.
34057 (free_defconfig): New function.
34058 (free_mem): Move common code to free_database_entries.
34060 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
34062 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
34064 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
34066 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
34067 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
34068 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
34070 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
34071 (INTERNAL_SYSCALL_TYPES): Likewise.
34072 (LOAD_ARGS_TYPES_[1-6]): Likewise.
34073 (LOAD_REGS_TYPES_[1-6]): Likewise.
34074 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
34075 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
34077 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34079 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
34080 copysignl for GLIBC_2_0.
34081 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
34082 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
34083 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
34084 logbl for GLIBC_2_0.
34085 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
34086 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
34088 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
34090 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
34091 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
34093 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
34096 * time/mktime.c: Update copyright years.
34098 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
34100 mktime: merge comment-quoting-style change from gnulib
34101 * time/mktime.c: Quote 'like this' in comments.
34102 The GNU coding standards suggest that we no longer quote `like this',
34103 as "`" and "'" are typically rendered asymmetrically nowadays.
34104 The typical gnulib style is to quote 'like this' when quoting
34105 code, and "like this" when quoting English.
34107 * time/mktime.c (compile-command): Add "-I.".
34109 mktime: merge mktime-internal.h change from gnulib
34110 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
34112 mktime: merge time_r change from gnulib
34113 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
34115 mktime: merge DEBUG change from gnulib
34116 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
34117 case system <time.h> has a #define.
34119 mktime: merge <sys/types.h> change from gnulib
34120 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
34121 since <time.t> is now guaranteed to define time_t.
34123 mktime: merge HAVE_CONFIG_H change from gnulib
34124 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
34126 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
34128 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
34131 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
34133 (struct rusage): Use anonymous union to pad each field to
34136 2012-05-21 David S. Miller <davem@davemloft.net>
34138 * Makefules (o-iterator): Remove .s cases.
34139 (compile-command.s): Delete.
34140 (COMPILE.s): Delete.
34141 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
34143 2012-05-21 Joseph Myers <joseph@codesourcery.com>
34145 * configure.in (libc_cv_predef_stack_protector): Only consider
34146 "foobar" and "__stack_chk_fail" lines in libc_undefs.
34147 * configure: Regenerated.
34149 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
34151 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
34152 New macro. Use R*LP on int and pointer.
34153 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
34154 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
34155 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
34156 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
34158 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
34159 [__WORDSIZE_TIME64_COMPAT32] instead of
34160 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
34161 (struct utmp): Likewise.
34162 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
34163 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
34165 (__WORDSIZE_TIME64_COMPAT32): This.
34166 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
34167 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
34168 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
34169 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
34170 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
34171 (__WORDSIZE_TIME64_COMPAT32): New macro.
34173 2012-05-21 Andreas Jaeger <aj@suse.de>
34175 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
34176 only if [SHARED]. Add prototype for __wcschr_ia32.
34178 2012-05-21 Roland McGrath <roland@hack.frob.com>
34180 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
34181 of %rbp unmolested in the jmp_buf while mangling the low bits.
34182 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
34183 unmolested high bits of %rbp while demangling the low bits.
34184 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
34186 2012-05-21 Andreas Jaeger <aj@suse.de>
34188 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
34189 * sunrpc/svc_simple.c: Use it for registerrpc.
34190 * sunrpc/xcrypt.c: Use it for passwd2des.
34192 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
34194 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
34196 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
34197 Don't define if [__SYSCALL_WORDSIZE != 32].
34198 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
34201 2012-05-21 Bruno Haible <bruno@clisp.org>
34202 Andreas Jaeger <aj@suse.de>
34204 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
34205 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
34206 inptr and inend for must_buffer_ch.
34207 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
34208 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
34209 * stdio-common/Makefile (tests): Remove bug15.
34210 (bug15-ENV): Remove macro.
34211 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
34214 2012-05-19 Andreas Jaeger <aj@suse.de>
34215 Roland McGrath <roland@hack.frob.com>
34217 * manual/contrib.texi: Completely rewritten. It contains now an
34218 alphabetical list of contributors and their contributions.
34220 2012-05-21 Richard Henderson <rth@twiddle.net>
34222 * misc/getauxval.c (__getauxval): Use unsigned long int.
34223 * misc/sys/auxv.h: Include <sys/cdefs.h>.
34224 (getauxval): Use unsigned long int.
34226 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
34228 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
34230 2012-05-21 Roland McGrath <roland@hack.frob.com>
34232 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
34233 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
34234 __alignof__ (long double).
34236 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34238 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34240 2012-05-20 Richard Henderson <rth@twiddle.net>
34242 * misc/getauxval.c: New file.
34243 * misc/sys/auxv.h: New file.
34244 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
34245 (routines): Add getauxval.
34246 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
34247 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
34248 * elf/dl-sysdep.c (_dl_auxv): Remove.
34249 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
34250 * elf/dl-support.c (_dl_auxv): New variable.
34251 (_dl_aux_init): Initialize it.
34252 * manual/startup.texi (Auxiliary Vector): New node.
34253 * sysdeps/generic/bits/hwcap.h: New file.
34254 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
34255 * sysdeps/powerpc/sysdep.h: ... here. Include it.
34256 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
34257 * sysdeps/sparc/sysdep.h: ... here. Include it.
34258 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
34259 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
34260 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
34262 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
34263 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
34264 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
34265 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
34266 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
34267 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
34268 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
34269 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
34271 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34273 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34275 2012-05-19 David S. Miller <davem@davemloft.net>
34277 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34279 2012-05-19 Joseph Myers <joseph@codesourcery.com>
34282 * math/s_ccosh.c: Include <float.h>
34283 (__ccosh): Avoid internal overflow calculating sinh and cosh
34284 values before multiplying by sin and cos values.
34285 * math/s_ccoshf.c: Likewise.
34286 * math/s_ccoshl.c: Likewise.
34287 * math/s_csin.c: Likewise.
34288 * math/s_csinf.c: Likewise.
34289 * math/s_csinl.c: Likewise.
34290 * math/s_csinh.c: Likewise.
34291 * math/s_csinhf.c: Likewise.
34292 * math/s_csinhl.c: Likewise.
34293 * math/libm-test.inc (ccos_test): Add more tests.
34294 (ccosh_test): Likewise.
34295 (csin_test): Likewise.
34296 (csinh_test): Likewise.
34297 * sysdeps/i386/fpu/libm-test-ulps: Update.
34298 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34300 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
34302 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
34303 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
34305 * sysdeps/x86_64/x32/_itoa.h: Add comment.
34307 2012-05-19 Joseph Myers <joseph@codesourcery.com>
34309 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
34310 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
34311 * sysdeps/powerpc/soft-fp/Versions: Likewise.
34312 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
34313 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
34314 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
34315 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
34316 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
34317 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
34318 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
34319 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
34320 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
34321 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
34322 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
34323 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
34324 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
34325 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
34326 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
34327 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
34328 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
34329 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
34330 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
34331 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
34332 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
34333 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
34334 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
34335 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
34336 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
34337 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
34338 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
34339 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
34341 2012-05-18 Andreas Jaeger <aj@suse.de>
34343 * csu/.gitignore: Delete.
34345 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
34347 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
34348 (timex): Use __syscall_slong_t.
34350 2012-05-18 Andreas Jaeger <aj@suse.de>
34351 Carlos O'Donell <carlos_odonell@mentor.com>
34353 * manual/install.texi (Configuring and compiling): Update
34354 description about files modified in the source directory.
34355 * INSTALL: Regenerated.
34357 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
34359 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
34360 value. Use "or" to set return value to -1.
34361 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
34362 negate return value.
34364 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
34366 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
34367 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
34368 failure if the compiler has Graphite support disabled.
34369 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
34371 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
34372 (CFLAGS-memmove.c): Likewise.
34373 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
34376 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
34378 * sysdeps/x86_64/x32/_itoa.h: New file.
34380 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
34381 getdents system call only if kernel and user dirents have the
34382 same d_ino and d_off.
34384 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
34385 LLONG_MAX != LONG_MAX.
34386 (_itoa_word): Use _ITOA_WORD_TYPE on value.
34387 (_fitoa_word): Likewise.
34389 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
34391 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
34392 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
34393 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
34395 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
34396 include <bits/wordsize.h>. Check __x86_64__ instead of
34398 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
34399 if __x86_64__ is defined. Use anonymous union on fpstate.
34401 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
34404 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
34406 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
34407 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
34408 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
34409 Refer to _rtld_local_ro instead of _rtld_global_ro.
34410 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
34412 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
34414 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
34416 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
34417 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
34418 of _rtld_global, and rtld_progname instead of _dl_argv[0].
34420 * sysdeps/powerpc/powerpc32/dl-machine.c
34421 (__elf_machine_runtime_setup) [PROF]: Don't reference
34424 2012-05-18 Andreas Jaeger <aj@suse.de>
34426 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
34427 function only available for GCCs before 3.4 since GCC 3.4
34428 introduced a builtin.
34430 (llrintf): Likewise.
34431 (llrint): Likewise.
34438 (nearbyint): Likewise.
34439 (nearbyintf): Likewise.
34443 (floorf): Likewise.
34445 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
34447 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
34448 on both fields and cast pointer to __syscall_ulong_t.
34450 * bits/types.h (__fsword_t): New type.
34451 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
34452 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
34453 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
34454 (__FSWORD_T_TYPE): Likewise.
34455 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
34456 (__FSWORD_T_TYPE): Likewise.
34457 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34458 (__FSWORD_T_TYPE): Likewise.
34459 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
34460 (__FSWORD_T_TYPE): Likewise.
34461 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
34462 __SWORD_TYPE with __fsword_t.
34463 (statfs64): Likewise.
34465 2012-05-17 David S. Miller <davem@davemloft.net>
34467 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
34469 2012-05-17 Andreas Jaeger <aj@suse.de>
34471 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
34474 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
34476 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
34478 2012-05-17 Andreas Jaeger <aj@suse.de>
34480 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
34483 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
34485 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
34487 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
34489 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
34490 * sysdeps/x86_64/tst-mallocalign1.c: New file.
34492 2012-05-17 Andreas Jaeger <aj@suse.de>
34493 Carlos O'Donell <carlos_odonell@mentor.com>
34496 * sysdeps/x86_64/multiarch/init-arch.h
34497 (bit_YMM_Usable): Rename to...
34498 (bit_AVX_Usable): ... this.
34499 (bit_FMA4_Usable): New macro.
34500 (bit_XMM_state): New macro.
34501 (bit_YMM_state): New macro.
34502 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
34503 [__ASSEMBLER__] (index_AVX_Usable): ... this.
34504 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
34505 (CPUID_OSXSAVE): New macro.
34506 (CPUID_AVX): New macro.
34507 (CPUID_FMA4): New macro.
34508 (index_YMM_Usable): Rename to...
34509 (index_AVX_Usable): ... this.
34510 (HAS_AVX): Use HAS_ARCH_FEATURE.
34511 (HAS_FMA4): Likewise.
34512 (HAS_YMM_USABLE): Remove.
34513 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34514 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
34516 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
34517 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
34518 * sysdeps/x86_64/multiarch/Makefile: Likewise.
34519 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
34520 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
34522 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
34524 * math/libm-test.c: Support platforms without multiple rounding modes.
34525 * math/bug-nextafter.c: Support platforms without FP exceptions.
34526 * math/bug-nexttoward.c: Likewise.
34527 * math/test-fenv.c: Likewise.
34528 * math/test-misc.c: Likewise.
34529 * stdlib/bug-getcontext.c: Likewise.
34531 2012-05-17 Andreas Jaeger <aj@suse.de>
34533 * manual/examples/search.c (critter_cmp): Change signature to
34535 * manual/string.texi (Collation Functions): Likewise.
34537 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
34539 * bits/types.h: Fold copyright years.
34540 * bits/typesizes.h: Likewise.
34541 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
34542 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
34543 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
34544 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
34545 * time/time.h: Likewise.
34547 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
34550 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
34551 in instead of returning them. Return void.
34552 (__libc_mallinfo): Accumulate over all arenas.
34553 (__malloc_stats): Adjust for change in int_mallinfo interface.
34555 2012-05-16 Roland McGrath <roland@hack.frob.com>
34558 * configure.in (NM): Add AC_CHECK_TOOL for it.
34559 (libc_extra_cflags): New substituted variable.
34560 Check for -fstack-protector being used implicitly.
34561 * configure: Regenerated.
34562 * config.make.in (config-extra-cflags): New variable,
34563 gets @libc_extra_cflags@.
34564 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
34567 * configure.in: Check for _FORTIFY_SOURCE being predefined.
34568 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
34569 * configure: Regenerated.
34570 * config.make.in (CPPUNDEFS): New substituted variable.
34571 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
34572 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
34573 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
34575 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
34577 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
34578 (mq_attr): Use __syscall_slong_t.
34580 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
34582 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
34583 Check __x86_64__ instead of __WORDSIZE.
34584 (_STAT_VER_LINUX): Likewise.
34585 (stat): Check __x86_64__ instead of __WORDSIZE. Use
34586 __syscall_ulong_t and __syscall_slong_t.
34587 (stat64): Likewise.
34589 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
34591 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
34593 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
34595 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
34597 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
34599 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
34602 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
34603 include <bits/wordsize.h>. Check __x86_64__ instead of
34605 (greg_t): Use "__extension__ long long int" if __x86_64__ is
34607 (mcontext_t): Replace "unsigned long" with "unsigned long long".
34609 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
34610 include <bits/wordsize.h>. Check __x86_64__ instead of
34612 (user_regs_struct): Use "__extension__ unsigned long long"
34613 instead of "unsigned long" if __x86_64__ is defined.
34614 (user): Likewise. Pad after pointer field if __ILP32__ is
34617 2012-05-16 Joseph Myers <joseph@codesourcery.com>
34619 * configure.in (makeinfo): Require version 4.5 or later. Allow
34621 * configure: Regenerated.
34622 * manual/install.texi (texinfo): Increase version requirement to
34624 * INSTALL: Regenerated.
34626 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
34628 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
34630 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
34632 * sysdeps/x86_64/x32/ffs.c: New file.
34634 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
34636 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
34637 defined. Use __syscall_ulong_t.
34638 (shminfo): Use __syscall_ulong_t.
34639 (shm_info): Likewise.
34641 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
34644 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
34646 (msgqnum_t): Use __syscall_ulong_t.
34647 (msglen_t): Likewise.
34648 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
34651 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
34652 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
34654 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
34656 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
34657 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
34659 * sysvipc/sys/msg.h (msgbuf): Replace long int with
34662 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
34663 include <bits/wordsize.h>. Check __x86_64__ instead of
34666 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
34667 "unsigned long long int" if __x86_64__ is defined.
34668 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
34670 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
34671 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
34672 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
34674 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
34676 (GET_PC): Cast to uintptr_t first.
34677 (GET_FRAME): Likewise.
34678 (GET_STACK): Likewise.
34680 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
34681 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
34682 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
34683 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
34684 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
34685 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
34686 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
34687 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
34688 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
34689 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
34690 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
34691 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
34692 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
34693 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
34694 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
34695 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
34696 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
34697 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
34698 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
34699 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
34700 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
34701 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
34702 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
34703 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
34704 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
34705 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
34706 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
34707 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
34708 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
34710 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
34712 * Makerules (+depfiles): Also collect depfiles from .oS in
34714 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
34715 .oS, $(libnldbl-routines)).
34717 * Makerules (native-compile-mkdep-flags): Define.
34718 * sunrpc/Makefile (extra-objs): Add $(addprefix
34719 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
34720 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
34721 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
34722 calling $(make-target-directory).
34724 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34726 * bits/types.h (__snseconds_t): Removed.
34727 * time/time.h (struct timespec): Replace __snseconds_t with
34729 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
34730 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
34732 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
34733 (__SNSECONDS_T_TYPE): Likewise.
34734 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
34735 (__SNSECONDS_T_TYPE): Likewise.
34736 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34737 (__SNSECONDS_T_TYPE): Likewise.
34739 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34741 * sysdeps/mach/hurd/bits/typesizes.h
34742 (__SYSCALL_SLONG_TYPE): New macro.
34743 (__SYSCALL_ULONG_TYPE): Likewise.
34745 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34747 * bits/types.h (__syscall_slong_t): New type.
34748 (__syscall_ulong_t): Likewise.
34750 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
34751 (__SYSCALL_ULONG_TYPE): Likewise.
34752 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
34753 (__SYSCALL_SLONG_TYPE): Likewise.
34754 (__SYSCALL_ULONG_TYPE): Likewise.
34755 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
34756 (__SYSCALL_SLONG_TYPE): Likewise.
34757 (__SYSCALL_ULONG_TYPE): Likewise.
34758 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34759 (__SYSCALL_SLONG_TYPE): Likewise.
34760 (__SYSCALL_ULONG_TYPE): Likewise.
34762 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34764 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
34765 Add sigaltstack-offsets.sym.
34766 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
34767 <sigaltstack-offsets.h>.
34768 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
34769 longjmp_msg pointer.
34770 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
34771 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
34773 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
34775 2012-05-15 Joseph Myers <joseph@codesourcery.com>
34777 * elf/stackguard-macros.h: Remove file.
34778 * sysdeps/generic/stackguard-macros.h: New file.
34779 * sysdeps/i386/stackguard-macros.h: Likewise.
34780 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
34781 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
34782 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
34783 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
34784 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
34785 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
34786 * sysdeps/x86_64/stackguard-macros.h: Likewise.
34787 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
34788 <elf/stackguard-macros.h>.
34791 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
34792 __aligned__ in attribute.
34793 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
34794 (gregset_t): Likewise.
34796 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34798 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
34799 * sysdeps/x86_64/64/Implies-after: Here. New file.
34800 * sysdeps/x86_64/x32/Implies-after: New file.
34802 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34804 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
34805 and access return value for _dl_profile_fixup. Use R10_LP to
34808 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34810 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
34812 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34814 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
34815 * sysdeps/x86_64/x32/sysdep.h: New file.
34817 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34819 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
34820 * sysdeps/x86_64/setjmp.S: Likewise.
34822 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34824 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
34825 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
34826 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
34827 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
34828 remove unused global constant.
34830 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
34832 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
34833 include of <not-cancel.h>.
34835 2012-05-15 Roland McGrath <roland@hack.frob.com>
34837 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
34839 2012-05-15 Jeff Law <law@redhat.com>
34840 Andreas Jaeger <aj@suse.de>
34843 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
34845 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
34846 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
34847 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
34848 code changing __hst_map_handle.map.
34850 2012-05-15 Roland McGrath <roland@hack.frob.com>
34852 * configure.in (sysnames): Look for Implies-before and Implies-after
34854 * configure: Regenerated.
34856 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34858 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
34859 8-byte data alignment with LP_SIZE alignment.
34861 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34863 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
34866 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34868 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
34870 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34872 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
34873 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
34874 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
34876 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
34878 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34880 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
34881 (stackinfo_sub_sp): Likewise.
34883 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34885 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
34888 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34890 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
34893 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34895 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
34898 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34900 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
34902 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34904 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
34905 into R11_LP and load __x86_64_shared_cache_size_half into
34908 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34910 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
34913 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34915 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
34917 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
34919 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
34921 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
34922 powerpc32/power7/fpu/s_logb.c via #include.
34923 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
34924 powerpc32/power7/fpu/s_logbf.c via #include.
34925 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
34926 powerpc32/power7/fpu/s_logbl.c via #include.
34928 2012-05-15 Joseph Myers <joseph@codesourcery.com>
34930 * README.libm: Remove file.
34932 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34934 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
34935 count for x32. Use R*_LP and omit operand-size suffix.
34937 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34939 * shlib-versions: Move x86_64-.*-linux.* entries to ...
34940 * sysdeps/x86_64/64/shlib-versions: Here. New file.
34941 * sysdeps/x86_64/x32/shlib-versions: New file.
34943 2012-05-14 Roland McGrath <roland@hack.frob.com>
34945 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
34946 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
34947 Use _dl_fatal_printf instead.
34949 2012-05-14 Joseph Myers <joseph@codesourcery.com>
34951 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
34952 set if not set by the user. Do not allow for being unset.
34953 * sysdeps/unix/sysv/linux/configure: Regenerated.
34955 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34957 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
34958 the `q' suffix from lea and replace .quad with ASM_ADDR.
34960 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34962 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
34963 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
34965 (PTR_DEMANGLE): Likewise.
34967 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34969 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
34971 (ASM_ADDR): Likewise.
34972 (RAX_LP): Likewise.
34973 (RBP_LP): Likewise.
34974 (RBX_LP): Likewise.
34975 (RCX_LP): Likewise.
34976 (RDI_LP): Likewise.
34977 (RSI_LP): Likewise.
34978 (RSP_LP): Likewise.
34981 (R10_LP): Likewise.
34982 (R10_LP): Likewise.
34983 (R11_LP): Likewise.
34984 (R12_LP): Likewise.
34985 (R13_LP): Likewise.
34986 (R14_LP): Likewise.
34987 (R15_LP): Likewise.
34989 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34991 * sysdeps/x86_64/x32/dl-machine.h: New file.
34993 2012-05-14 Andreas Jaeger <aj@suse.de>
34995 * manual/Makefile (subdir): Remove export of subdir.
34996 (all): Remove target.
34997 (.PHONY): Remove all from list.
34998 (mkinstalldirs): Remove.
34999 (.PHONY): Remove installdirs from list.
35000 ($(inst_infodir)/libc.info): Use make-target-directory.
35001 (installdirs): Remove.
35002 (subdir_%): Remove.
35003 (glibc-targets): Remove.
35006 ($(objpfx)stubs ../po/manual.pot): Remove.
35007 ($(objpfx)stamp%): Remove.
35008 (make-target-directory): Remove.
35009 (subdir_install): Remove.
35010 (routines): Remove.
35017 * manual/.gitignore: Remove, it's not needed anymore.
35018 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
35020 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
35022 (texis): Renamed to $(objpfx)texis.
35023 (texis-path): New, contains path to generated files.
35024 (chapters.%): Use texis-path for complete path, add extra argument
35026 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
35027 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
35028 (summary,texi, stamp-summary): Use complete path of
35029 files. Generate files in build dir.
35030 (dir-add.texi): Build in build dir.
35031 (libm-err.texi,stamp-libm-err): Likewise.
35032 (version.texi, stamp-version): Likewise.
35033 (.%c.texi): Likewise.
35034 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
35035 (mostlyclean): Remove target.
35036 (realclean): Remove target.
35037 (generated): Add new variable with contents from mostlyclean and
35038 realclean, remove entries duplicated in common-mostlyclean, add
35039 stamp-libm-err and stamp-version.
35040 (generated-dirs): Add libc directory.
35041 ($(inst_infodir)/libc.info): Install files from build dir.
35043 * manual/install.texi (Configuring and compiling): Adjust since
35044 the info files are not part of the tar ball anymore.
35046 2012-05-14 Andreas Jaeger <aj@suse.de>
35048 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
35051 2012-05-14 Joseph Myers <joseph@codesourcery.com>
35054 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
35055 to 2.2.0 where earlier.
35056 * sysdeps/unix/sysv/linux/configure: Regenerated.
35057 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
35058 Remove conditional code.
35059 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
35060 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
35061 Remove conditional code.
35062 [!__NR_lchown]: Likewise.
35063 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
35064 [__NR_lchown]: Likewise.
35065 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
35066 comment referencing __ASSUME_LCHOWN_SYSCALL.
35067 * sysdeps/unix/sysv/linux/i386/sigaction.c
35068 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35069 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35070 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
35071 Remove conditional code.
35072 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
35073 (__protocol_available): Remove #if 0 code.
35074 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
35076 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
35077 * sysdeps/unix/sysv/linux/kernel-features.h
35078 (__ASSUME_GETCWD_SYSCALL): Don't define.
35079 (__ASSUME_REALTIME_SIGNALS): Likewise.
35080 (__ASSUME_PREAD_SYSCALL): Likewise.
35081 (__ASSUME_PWRITE_SYSCALL): Likewise.
35082 (__ASSUME_POLL_SYSCALL): Likewise.
35083 (__ASSUME_LCHOWN_SYSCALL): Likewise.
35084 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
35086 (__ASSUME_SIOCGIFNAME): Don't define.
35087 (__ASSUME_MSG_NOSIGNAL): Likewise.
35088 (__ASSUME_SENDFILE): Define unconditionally.
35089 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
35090 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
35092 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
35093 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
35094 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
35095 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
35096 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
35097 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
35098 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
35099 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
35100 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
35101 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35102 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
35103 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
35104 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35105 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
35106 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35107 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35108 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
35109 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35110 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35111 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
35112 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
35113 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35114 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
35115 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
35116 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35117 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
35118 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35119 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35120 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
35121 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35122 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35123 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
35124 Remove conditional code.
35125 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35126 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
35127 Remove conditional code.
35128 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35129 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
35130 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
35131 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
35132 Remove conditional code.
35133 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35134 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
35135 Remove conditional code.
35136 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35137 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
35138 Remove conditional code.
35139 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35140 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
35141 Remove conditional code.
35142 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35143 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
35144 Remove conditional code.
35145 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35146 * sysdeps/unix/sysv/linux/sh/pwrite64.c
35147 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35148 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35149 * sysdeps/unix/sysv/linux/sigaction.c
35150 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35151 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35152 * sysdeps/unix/sysv/linux/sigpending.c
35153 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35154 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35155 * sysdeps/unix/sysv/linux/sigprocmask.c
35156 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35157 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35158 * sysdeps/unix/sysv/linux/sigsuspend.c
35159 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35160 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35161 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
35162 (__libc_missing_rt_sigs): Remove.
35163 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
35164 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
35165 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
35166 Remove conditional code.
35167 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
35168 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
35170 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
35171 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
35172 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
35173 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
35175 2012-05-14 Andreas Jaeger <aj@suse.de>
35177 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
35178 it's not used in glibc.
35179 (__coshm1): Likewise.
35180 (__acosh1p): Likewise.
35183 * manual/string.texi (Copying and Concatenation): Add missing
35184 variable in concat example.
35185 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
35187 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35190 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
35191 __builtin_clzl with __builtin_clzll.
35193 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35196 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
35199 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35201 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
35202 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
35203 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
35204 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
35206 2012-05-14 Mike Frysinger <vapier@gentoo.org>
35208 * NEWS: Update ia64 info.
35210 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
35212 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
35215 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
35217 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
35218 * sysdeps/unix/syscalls.list (dup3): Likewise.
35219 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
35220 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
35222 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
35224 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
35225 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
35227 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
35229 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
35231 (TLS_IE): Use mov/add instead of movq/addq to load thread
35233 (TLS_GD_PREFIX): New.
35236 2012-05-11 David S. Miller <davem@davemloft.net>
35238 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
35239 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
35240 (_FPU_SETCW): Likewise.
35242 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
35244 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
35245 is 32-byte aligned.
35247 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
35250 * iconvdata/gb18030.c: Update tables.
35251 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
35252 characters specially.
35253 (BODY for TO_LOOP): Add encoding of missing ranges.
35255 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
35258 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
35259 * sysdeps/mach/hurd/dup3.c: Likewise.
35260 * sysdeps/mach/hurd/readlinkat.c: Likewise.
35261 * sysdeps/powerpc/memmove.c:: Likewise.
35263 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
35265 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
35266 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
35268 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
35270 * elf/elf.h (R_X86_64_RELATIVE64): New.
35271 (R_X86_64_NUM): Updated.
35272 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
35273 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
35274 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
35275 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
35276 tst-quad1pie tst-quad2pie
35277 (modules-names): Add tst-quadmod1 tst-quadmod2.
35278 ($(objpfx)tst-quad1): New dependency.
35279 ($(objpfx)tst-quad2): Likewise.
35280 ($(objpfx)tst-quad1pie): Likewise.
35281 ($(objpfx)tst-quad2pie): Likewise.
35282 * sysdeps/x86_64/tst-quad1.c: New file.
35283 * sysdeps/x86_64/tst-quad1pie.c: New file.
35284 * sysdeps/x86_64/tst-quad2.c: Likewise.
35285 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
35286 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
35287 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
35288 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
35289 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
35291 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35293 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
35294 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
35295 * streams/stropts.h (t_scalar_t): Define type.
35297 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
35298 (_PATH_PRESERVE): Set to "/var/lib".
35299 (_PATH_RWHODIR): Set to "/var/spool/rwho".
35301 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
35304 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
35305 if __dir_mkfile succeeded.
35307 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
35308 checking for _hurd_dtablesize. Unlock it right after having
35309 finished _hurd_dtable allocation.
35311 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
35313 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
35314 * sysdeps/mach/hurd/configure: Regenerated.
35315 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
35316 special-casing to...
35317 * sysdeps/gnu/configure.in: ... this new file.
35318 * sysdeps/unix/sysv/linux/configure: Regenerated.
35319 * sysdeps/gnu/configure: New generated file.
35321 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
35322 for Linux: use nsec instead of usec, as well as:
35323 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
35324 members of type struct timespec.
35325 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
35327 (struct stat64): Likewise.
35328 (_STATBUF_ST_NSEC): New macro.
35329 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
35331 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
35332 __strtoul_internal rather than strtoul.
35334 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
35336 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
35339 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35341 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
35342 which preserves existing values.
35343 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
35345 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
35347 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
35348 TIMEOUT values. Return EINVAL for NFDS values either negative or
35349 greater than FD_SETSIZE.
35351 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35353 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
35354 allocated, call __vm_protect to finish enabling the existing space, and
35355 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
35356 allocate the remainder.
35358 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
35360 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
35361 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
35363 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35365 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
35366 sysdeps/mach/hurd/readlink.c.
35368 * posix/tst-sysconf.c (posix_options): Only use
35369 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
35370 _POSIX_SYNCHRONIZED_IO when they are defined
35371 * sysdeps/mach/hurd/bits/posix_opt.h:
35372 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
35373 (_XOPEN_REALTIME): Undefine macro.
35374 (_XOPEN_REALTIME_THREADS): Undefine macro.
35375 (_XOPEN_SHM): Undefine macro.
35376 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
35378 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
35380 (_POSIX_ASYNC_IO): Undefine macro.
35381 (_POSIX_PRIORITIZED_IO): Undefine macro.
35382 (_POSIX_SPIN_LOCKS): Define macro to -1.
35384 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
35385 SA_NODEFER, SA_RESETHAND.
35386 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
35387 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
35390 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
35392 * elf/Makefile (pldd-modules): Define unconditionally.
35394 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
35396 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
35398 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35400 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
35401 Return ENOENT when name is empty.
35402 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
35404 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
35406 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
35408 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
35410 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35412 Fix mlock in all cases except non-readable pages.
35413 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
35414 instead of VM_PROT_ALL as parameter to __vm_wire function.
35416 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
35417 (__mkdir): When path is `/', just fail with EEXIST.
35418 * sysdeps/mach/hurd/mkdirat.c: Likewise.
35420 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
35422 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
35423 <sys/uio.h> (for writev).
35424 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
35425 and <sys/param.h> (for MIN).
35427 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
35429 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
35430 REQUESTED_TIME. Properly set the remaining time and return EINTR
35433 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
35435 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
35436 Depend on against $(link-rpcuserlibs).
35438 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35440 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
35441 (__libc_stack_end): Do not use attribute_relro.
35442 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
35443 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
35444 to libthread-provided value.
35445 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
35448 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
35451 * bits/libc-lock.h (__libc_once_get): New macro.
35452 * sysdeps/mach/bits/libc-lock.h: Likewise.
35453 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
35454 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
35455 instead of using implementation details.
35457 * libio/fileops.c: Unconditionally include <kernel-features.h>.
35458 * libio/freopen.c: Likewise.
35459 * libio/freopen64.c: Likewise.
35460 * misc/syslog.c: Likewise.
35461 * nscd/connections.c: Likewise.
35462 * nscd/netgroupcache.c: Likewise.
35463 * sysdeps/posix/getcwd.c: Likewise.
35465 2012-05-10 Roland McGrath <roland@hack.frob.com>
35467 * math/w_ilogbf.c: Add #include <limits.h>.
35469 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35471 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
35472 path instead of returning without unlocking.
35474 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
35475 immediate-write ioctls.
35476 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
35478 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
35480 * sysdeps/mach/hurd/i386/init-first.c (init): Use
35481 __builtin_frame_address instead of making assumptions about the
35482 location of the return address relative to DATA. Force early load of
35483 the return address.
35484 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
35485 __builtin_frame_address.
35488 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
35489 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
35490 implement dup3 and do some further code clean-ups.
35491 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
35492 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
35494 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35496 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
35498 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
35499 HURD_CRITICAL_END around holding _hurd_dtable_lock.
35500 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
35501 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
35502 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
35505 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
35506 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
35507 when handler == SIG_ERR, not when handler != SIG_ERR.
35509 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
35511 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
35512 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
35515 accept4 for GNU Hurd.
35516 * include/sys/socket.h (__libc_accept4): New prototype.
35517 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
35518 to implement __libc_accept4.
35519 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
35521 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
35523 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
35524 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
35525 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
35526 signal-defines.sym.
35528 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35530 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
35532 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
35534 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
35535 assertion on O_CLOEXEC flag.
35536 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
35537 * hurd/intern-fd.c: Likewise.
35538 * hurd/port2fd.c: Likewise.
35540 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35543 * bits/in.h (IPV6_PKTINFO): Define new macro.
35544 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
35546 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35551 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
35552 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
35553 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
35554 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
35555 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
35556 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
35557 * math/libm-test.inc (logb_test) : Additional logb tests.
35559 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
35560 Andreas Jaeger <aj@suse.de>
35562 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
35563 * configure: Regenerated.
35564 * config.h.in (LINK_OBSOLETE_RPC): New macro.
35565 * config.make.in (link-obsolete-rpc): New substituted variable.
35566 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
35567 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
35568 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
35569 (shared-only-routines): Don't set it under [link-obsolete-rpc],
35570 so that libc.a contains the symbols.
35571 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
35572 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
35573 * sunrpc/auth_none.c: Likewise.
35574 * sunrpc/auth_unix.c: Likewise.
35575 * sunrpc/authdes_prot.c: Likewise.
35576 * sunrpc/authuxprot.c: Likewise.
35577 * sunrpc/clnt_gen.c: Likewise.
35578 * sunrpc/clnt_perr.c: Likewise.
35579 * sunrpc/clnt_raw.c: Likewise.
35580 * sunrpc/clnt_simp.c: Likewise.
35581 * sunrpc/clnt_tcp.c: Likewise.
35582 * sunrpc/clnt_udp.c: Likewise.
35583 * sunrpc/clnt_unix.c: Likewise.
35584 * sunrpc/des_crypt.c: Likewise.
35585 * sunrpc/des_soft.c: Likewise.
35586 * sunrpc/get_myaddr.c: Likewise.
35587 * sunrpc/key_call.c: Likewise.
35588 * sunrpc/key_prot.c: Likewise.
35589 * sunrpc/netname.c: Likewise.
35590 * sunrpc/pm_getmaps.c: Likewise.
35591 * sunrpc/pm_getport.c: Likewise.
35592 * sunrpc/pmap_clnt.c: Likewise.
35593 * sunrpc/pmap_prot.c: Likewise.
35594 * sunrpc/pmap_prot2.c: Likewise.
35595 * sunrpc/pmap_rmt.c: Likewise.
35596 * sunrpc/publickey.c: Likewise.
35597 * sunrpc/rpc_cmsg.c: Likewise.
35598 * sunrpc/rpc_common.c: Likewise.
35599 * sunrpc/rpc_dtable.c: Likewise.
35600 * sunrpc/rpc_prot.c: Likewise.
35601 * sunrpc/rpc_thread.c: Likewise.
35602 * sunrpc/rtime.c: Likewise.
35603 * sunrpc/svc.c: Likewise.
35604 * sunrpc/svc_auth.c: Likewise.
35605 * sunrpc/svc_raw.c: Likewise.
35606 * sunrpc/svc_run.c: Likewise.
35607 * sunrpc/svc_tcp.c: Likewise.
35608 * sunrpc/svc_udp.c: Likewise.
35609 * sunrpc/svc_unix.c: Likewise.
35610 * sunrpc/svcauth_des.c: Likewise.
35611 * sunrpc/xcrypt.c: Likewise.
35612 * sunrpc/xdr.c: Likewise.
35613 * sunrpc/xdr_array.c: Likewise.
35614 * sunrpc/xdr_float.c: Likewise.
35615 * sunrpc/xdr_intXX_t.c: Likewise.
35616 * sunrpc/xdr_mem.c: Likewise.
35617 * sunrpc/xdr_rec.c: Likewise.
35618 * sunrpc/xdr_ref.c: Likewise.
35619 * sunrpc/xdr_sizeof.c: Likewise.
35620 * sunrpc/xdr_stdio.c: Likewise.
35622 2012-05-10 Roland McGrath <roland@hack.frob.com>
35624 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
35625 change. Update copyright years.
35627 2012-05-10 Joseph Myers <joseph@codesourcery.com>
35629 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
35631 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
35632 Joseph Myers <joseph@codesourcery.com>
35633 Paul Pluzhnikov <ppluzhnikov@google.com>
35636 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
35638 [cross-compiling] (extra-libs): Likewise.
35639 [cross-compiling] (extra-libs-others): Likewise.
35640 [cross-compiling] (librpcsvc-routines): Likewise.
35641 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
35642 [cross-compiling] (omit-deps): Likewise.
35643 (sunrpc-CPPFLAGS): New variable.
35644 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
35645 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
35646 (cross-rpcgen-objs): New variable.
35647 (extra-objs): Append $(cross-rpcgen-objs).
35648 ($(cross-rpcgen-objs)): New rule.
35649 ($(objpfx)cross-rpcgen): Likewise.
35650 (rpcgen-cmd): Define to use $(built-program-file). Expand
35652 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
35653 ($(objpfx)x%.stmp): Likewise.
35654 * sunrpc/proto.h [IS_IN_build] (_): Define.
35655 [IS_IN_build] (_libc_intl_domainname): Likewise.
35657 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
35659 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
35660 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
35661 and R_X86_64_TPOFF64.
35663 2012-05-10 Joseph Myers <joseph@codesourcery.com>
35665 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
35666 sysdeps/unix/sysv/syscalls.list.
35669 * sysdeps/unix/sysv/syscalls.list: Remove file.
35671 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
35674 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
35675 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
35676 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
35677 (__LC_IDENTIFICATION): Make these macros useful in #if
35678 expressions, as required by C99.
35680 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
35682 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
35683 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
35686 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
35688 * stdlib/longlong.h: Updated from GCC.
35690 2012-05-09 Andreas Jaeger <aj@suse.de>
35692 * nscd/nscd.c (run_modes): Make named enum, reorder so that
35693 default is first entry.
35694 (run_mode): Set type.
35695 (main): Remove informal message about syslog.
35696 (options): Fix typo.
35699 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
35702 (llrintf): Likewise.
35703 (llrint): Likewise.
35706 (nearbyint): Likewise.
35707 (nearbyintf): Likewise.
35709 2012-05-09 Andreas Jaeger <aj@suse.de>
35710 Pedro Alves <palves@redhat.com>
35712 * nscd/nscd.c (run_mode): Use enum.
35713 (main): Cleanup coding style issue.
35715 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
35716 Andreas Jaeger <aj@suse.de>
35718 * nscd/nscd.c (go_background): Replaced with...
35719 (run_mode): ... this.
35720 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
35721 (options): Add -F --foreground.
35722 (main): Implement it.
35723 (parse_opt): Parse it.
35725 2012-05-09 Andreas Jaeger <aj@suse.de>
35728 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
35729 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
35730 -Wconversion warning.
35731 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
35734 2012-05-09 Joseph Myers <joseph@codesourcery.com>
35736 * conform/data/locale.h-data (NULL): Use macro-constant. Require
35738 (LC_ALL): Use macro-int-constant.
35739 (LC_COLLATE): Likewise.
35740 (LC_CTYPE): Likewise.
35741 (LC_MESSAGES): Likewise.
35742 (LC_MONETARY): Likewise.
35743 (LC_NUMERIC): Likewise.
35744 (LC_TIME): Likewise.
35745 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
35746 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
35747 [ISO || ISO99 || ISO11] (*_t): Do not allow.
35748 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
35750 [C99-based standards] (float_t): Expect type.
35751 [C99-based standards] (double_t): Expect type.
35752 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
35754 [C99-based standards] (HUGE_VALL): Likewise.
35755 [C99-based standards] (INFINITY): Likewise.
35756 [C99-based standards] (NAN): Likewise.
35757 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
35758 [C99-based standards] (FP_NAN): Likewise.
35759 [C99-based standards] (FP_NORMAL): Likewise.
35760 [C99-based standards] (FP_SUBNORMAL): Likewise.
35761 [C99-based standards] (FP_ZERO): Likewise.
35762 [C99-based standards] (FP_FAST_FMA): Use
35763 optional-macro-int-constant. Specify type. Require == 1.
35764 [C99-based standards] (FP_FAST_FMAF): Likewise.
35765 [C99-based standards] (FP_FAST_FMAL): Likewise.
35766 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
35767 [C99-based standards] (FP_ILOGBNAN): Likewise.
35768 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
35770 [C99-based standards] (MATH_ERREXCEPT): Likewise.
35771 [C99-based standards] (math_errhandling): Specify type.
35772 [ISO99 || ISO11] (signgam): Do not allow.
35773 [non-C99-based standards] (copysignf): Do not allow.
35774 [non-C99-based standards] (exp2f): Likewise.
35775 [non-C99-based standards] (log2f): Likewise.
35776 [non-C99-based standards] (modff): Allow.
35777 [non-C99-based standards] (erff): Do not allow.
35778 [non-C99-based standards] (erfcf): Likewise.
35779 [non-C99-based standards] (gammaf): Likewise.
35780 [non-C99-based standards] (hypotf): Likewise.
35781 [non-C99-based standards] (j0f): Likewise.
35782 [non-C99-based standards] (j1f): Likewise.
35783 [non-C99-based standards] (jnf): Likewise.
35784 [non-C99-based standards] (lgammaf): Likewise.
35785 [non-C99-based standards] (tgammaf): Likewise.
35786 [non-C99-based standards] (y0f): Likewise.
35787 [non-C99-based standards] (y1f): Likewise.
35788 [non-C99-based standards] (ynf): Likewise.
35789 [non-C99-based standards] (isnanf): Likewise.
35790 [non-C99-based standards] (acoshf): Likewise.
35791 [non-C99-based standards] (asinhf): Likewise.
35792 [non-C99-based standards] (atanhf): Likewise.
35793 [non-C99-based standards] (cbrtf): Likewise.
35794 [non-C99-based standards] (expm1f): Likewise.
35795 [non-C99-based standards] (ilogbf): Likewise.
35796 [non-C99-based standards] (log1pf): Likewise.
35797 [non-C99-based standards] (logbf): Likewise.
35798 [non-C99-based standards] (nextafterf): Likewise.
35799 [non-C99-based standards] (remainderf): Likewise.
35800 [non-C99-based standards] (rintf): Likewise.
35801 [non-C99-based standards] (scalbf): Likewise.
35802 [non-C99-based standards] (copysignl): Likewise.
35803 [non-C99-based standards] (exp2l): Likewise.
35804 [non-C99-based standards] (log2l): Likewise.
35805 [non-C99-based standards] (modfl): Allow.
35806 [non-C99-based standards] (erfl): Do not allow.
35807 [non-C99-based standards] (erfcl): Likewise.
35808 [non-C99-based standards] (gammal): Likewise.
35809 [non-C99-based standards] (hypotl): Likewise.
35810 [non-C99-based standards] (j0l): Likewise.
35811 [non-C99-based standards] (j1l): Likewise.
35812 [non-C99-based standards] (jnl): Likewise.
35813 [non-C99-based standards] (lgammal): Likewise.
35814 [non-C99-based standards] (tgammal): Likewise.
35815 [non-C99-based standards] (y0l): Likewise.
35816 [non-C99-based standards] (y1l): Likewise.
35817 [non-C99-based standards] (ynl): Likewise.
35818 [non-C99-based standards] (isnanl): Likewise.
35819 [non-C99-based standards] (acoshl): Likewise.
35820 [non-C99-based standards] (asinhl): Likewise.
35821 [non-C99-based standards] (atanhl): Likewise.
35822 [non-C99-based standards] (cbrtl): Likewise.
35823 [non-C99-based standards] (expm1l): Likewise.
35824 [non-C99-based standards] (ilogbl): Likewise.
35825 [non-C99-based standards] (log1pl): Likewise.
35826 [non-C99-based standards] (logbl): Likewise.
35827 [non-C99-based standards] (nextafterl): Likewise.
35828 [non-C99-based standards] (remainderl): Likewise.
35829 [non-C99-based standards] (rintl): Likewise.
35830 [non-C99-based standards] (scalbl): Likewise.
35831 [ISO || ISO99 || ISO11] (*_t): Do not allow.
35832 [non-C99-based standards] (FP_*): Do not allow.
35833 [C99-based standards] (FP_*): Change to
35834 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
35835 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
35837 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
35838 (SIG_ERR): Likewise.
35839 [X/Open-based standards] (SIG_HOLD): Likewise.
35840 (SIG_IGN): Likewise.
35841 (SIGABRT): Use macro-int-constant. Specify type. Require
35843 (SIGFPE): Likewise.
35844 (SIGILL): Likewise.
35845 (SIGINT): Likewise.
35846 (SIGSEGV): Likewise.
35847 (SIGTER): Likewise.
35848 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
35849 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
35850 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
35851 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
35852 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
35853 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
35854 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
35855 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
35856 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
35857 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
35858 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
35859 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
35860 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
35861 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
35862 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
35863 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
35864 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
35865 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
35866 [X/Open-based standards] (SIGTRAP): Likewise.
35867 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
35868 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
35869 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
35870 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
35871 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
35874 2012-05-08 Ian Wienand <ianw@vmware.com>
35877 * time/tzset.c (__tzset_parse_tz): Update default rules for
35878 daylight time changes in the Energy Policy Act of 2005.
35880 2012-05-09 Andreas Jaeger <aj@suse.de>
35883 * elf/ldconfig.c (parse_conf): Change string to make clear that
35884 ldconfig only issued a warning if ld.so.conf does not exist.
35886 2012-05-08 David S. Miller <davem@davemloft.net>
35888 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
35889 movxtod instead of popping the value on the stack.
35891 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35893 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
35895 * config.h.in: Add HAVE_ARM_PCS_VFP.
35897 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
35900 * include/features.h: Warn if user requests __FORTIFY_SOURCE
35901 checking but the checks are disabled for any reason.
35903 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
35905 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
35906 and ELF64_R_TYPE with ELFW(R_TYPE).
35908 2012-05-08 Joseph Myers <joseph@codesourcery.com>
35910 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
35911 (ulimit): Likewise.
35913 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
35914 (settimeofday): Likewise.
35916 2012-05-08 Mike Frysinger <vapier@gentoo.org>
35918 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
35919 a struct th_u2 inside the union, and move tu_block/tu_code into
35920 a new th_u3 union of tu_block/tu_code inside of that. Move
35921 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
35922 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
35923 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
35924 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
35925 (th_stuff): Change to th_u1.tu_stuff.
35927 (th_msg): Change to th_u1.th_u2.tu_data.
35929 2012-05-07 David S. Miller <davem@davemloft.net>
35931 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35934 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
35935 (SETUP_PIC_REG): Use it.
35936 (SETUP_PIC_REG_LEAF): Use it.
35938 2012-05-07 Joseph Myers <joseph@codesourcery.com>
35942 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
35944 (EXPL_FINITE): Likewise.
35945 (FLDLOG): Likewise.
35946 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
35947 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
35949 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
35951 (EXPL_FINITE): Likewise.
35952 (FLDLOG): Likewise.
35953 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
35954 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
35956 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
35957 test of -max_value argument for long double.
35958 * sysdeps/i386/fpu/libm-test-ulps: Update.
35959 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35961 2012-05-06 David S. Miller <davem@davemloft.net>
35963 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
35964 quad soft-float symbols whose references which are compiler
35966 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
35968 2012-05-06 Joseph Myers <joseph@codesourcery.com>
35972 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
35974 (EXPL_FINITE): Likewise.
35975 (FLDLOG): Likewise.
35978 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
35979 Adjust comments for base varying.
35980 (__expl_finite): Change alias to EXPL_FINITE.
35981 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
35983 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
35984 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
35985 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
35986 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
35987 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
35989 (EXPL_FINITE): Likewise.
35990 (FLDLOG): Likewise.
35993 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
35994 Adjust comments for base varying.
35995 (__expl_finite): Change alias to EXPL_FINITE.
35996 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
35998 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36001 * math/libm-test.inc (check_float_internal): Correct ulp
36002 calculation for subnormal expected results.
36004 2012-05-06 Andreas Jaeger <aj@suse.de>
36006 * Makeconfig (+math-flags): New, set to -frounding-math.
36007 (+cflags): Add +math-flags so that all of glibc gets compiled with
36010 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
36012 2012-05-05 Joseph Myers <joseph@codesourcery.com>
36014 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
36020 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
36021 (__ieee754_expl): Allow for and saturate large arguments.
36022 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
36023 (u_threshold): Likewise.
36024 (__exp): Call __ieee754_exp before checking for overflow and
36026 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
36027 (u_threshold): Likewise.
36028 (__expf): Call __ieee754_expf before checking for overflow and
36030 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
36031 (u_threshold): Likewise.
36032 (__expl): Call __ieee754_expl before checking for overflow and
36034 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
36035 (__ieee754_expl): Allow for and saturate large arguments.
36036 * math/libm-test.inc (exp_test): Add another test. Do not allow
36037 missing overflow exception on overflow.
36038 (expm1_test): Do not allow missing overflow exception on overflow.
36040 * sysdeps/i386/fpu/e_expl.c: Move to ...
36041 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
36042 rather than using inline asm.
36043 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
36044 * sysdeps/x86_64/fpu/e_expl.S: Copy from
36045 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
36047 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
36050 (signal): Likewise.
36054 2012-05-04 Joseph Myers <joseph@codesourcery.com>
36056 * sysdeps/unix/syscalls.list (adjtime): Add entry from
36057 sysdeps/unix/common/syscalls.list.
36058 (fchmod): Likewise.
36059 (fchown): Likewise.
36060 (ftruncate): Likewise.
36061 (getrusage): Likewise.
36062 (gettimeofday): Likewise.
36063 (setpgid): Likewise.
36064 (setregid): Likewise.
36065 (setreuid): Likewise.
36066 (sigaction): Likewise.
36067 (truncate): Likewise.
36068 (vhangup): Likewise.
36069 * sysdeps/unix/common/syscalls.list: Remove file.
36070 * sysdeps/unix/bsd/Implies: Don't include unix/common.
36071 * sysdeps/unix/sysv/linux/Implies: Likewise.
36073 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
36075 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
36076 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
36077 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
36079 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
36081 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
36083 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
36084 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
36086 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
36087 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
36089 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
36090 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
36092 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
36093 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
36095 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
36096 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
36098 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
36099 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
36101 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
36103 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
36105 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
36107 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
36109 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
36110 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
36112 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
36114 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
36116 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
36118 2012-05-04 Joseph Myers <joseph@codesourcery.com>
36120 * sysdeps/unix/common/bits/dirent.h: Remove file.
36121 * sysdeps/unix/common/bits/fcntl.h: Likewise.
36123 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
36124 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
36125 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
36126 * sysdeps/unix/bsd/isatty.c: Likewise.
36127 * sysdeps/unix/bsd/tcdrain.c: Likewise.
36128 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
36129 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
36131 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36134 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
36135 long double comparison inaccuracies.
36136 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
36137 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36139 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
36141 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
36142 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
36144 2012-05-04 Joseph Myers <joseph@codesourcery.com>
36147 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
36148 nonzero digits before rounding a hex value.
36149 * stdlib/tst-strtod.c (tests): Add another test.
36151 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36153 * sysdeps/s390/fpu/libm-test-ulps: Update.
36155 2012-05-03 Andreas Jaeger <aj@suse.de>
36157 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
36158 does not get optimized out.
36159 (malloc_opt_barrier): New.
36161 2012-05-03 Andreas Jaeger <aj@suse.de>
36162 Roland McGrath <roland@hack.frob.com>
36164 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
36165 intermediate file deletion.
36166 (generated): Add .symlist files.
36168 2012-05-03 Joseph Myers <joseph@codesourcery.com>
36171 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
36172 Redirect under this condition.
36173 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
36174 [__USE_GNU] (__dprintf_chk): Not under this condition.
36175 [__USE_GNU] (__vdprintf_chk): Likewise.
36176 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
36177 under this condition.
36178 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
36179 [__USE_XOPEN2K8] (dprintf): Define under this condition.
36180 [__USE_XOPEN2K8] (vdprintf): Likewise.
36181 [__USE_GNU] (__dprintf_chk): Not under this condition.
36182 [__USE_GNU] (__vdprintf_chk): Likewise.
36183 [__USE_GNU] (dprintf): Likewise.
36184 [__USE_GNU] (vdprintf): Likewise.
36186 2012-05-03 Roland McGrath <roland@hack.frob.com>
36188 * elf/Makefile (common-generated): Set this instead of generated for
36189 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
36190 $(all-built-dso)-derived lists.
36192 2012-05-03 Andreas Jaeger <aj@suse.de>
36194 * sysdeps/i386/fpu/libm-test-ulps: Update.
36197 * FAQ.in: Likewise.
36198 * scripts/gen-FAQ.pl: Likewise.
36199 * manual/install.texi (Installation): Point to online location of
36201 * Makefile (files-for-dist): Remove FAQ.
36204 2012-05-02 Allan McRae <allan@archlinux.org>
36206 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
36207 (LDFLAGS-reldepmod5.so): Likewise.
36208 (LDFLAGS-reldep6mod1.so): Likewise.
36209 (LDFLAGS-reldep6mod4.so): Likewise.
36210 (LDFLAGS-reldep8mod3.so): Likewise.
36211 (LDFLAGS-unload4mod1.so): Likewise.
36212 (LDFLAGS-unload4mod2.so): Likewise.
36213 (LDFLAGS-tst-initorder): Likewise.
36214 (LDFLAGS-tst-initordera2.so): Likewise.
36215 (LDFLAGS-tst-initordera3.so): Likewise.
36216 (LDFLAGS-tst-initordera4.so): Likewise.
36217 (LDFLAGS-tst-initorderb2.so): Likewise.
36218 (LDFLAGS-noload): Likewise.
36219 (LDFLAGS-next): Likewise.
36220 (LDFLAGS-order2mod1.so): Likewise.
36221 (LDFLAGS-order2mod2.so): Likewise.
36222 (LDFLAGS-tst-initorder2): Likewise.
36223 (LDFLAGS-tst-initorder2a.so): Likewise.
36224 (LDFLAGS-tst-initorder2b.so): Likewise.
36225 (LDFLAGS-tst-initorder2c.so): Likewise.
36226 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
36228 2012-05-02 David S. Miller <davem@davemloft.net>
36230 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36232 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
36235 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
36237 2012-05-02 Andreas Jaeger <aj@suse.de>
36239 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
36240 since we manipulate rounding mode.
36241 (CPPFLAGS-test-idouble.c): Likewise.
36242 (CPPFLAGS-test-ifloat.c): Likewise.
36243 (CFLAGS-test-ldouble.c): Likewise.
36244 (CFLAGS-test-double.c): Likewise.
36245 (CFLAGS-test-float.c): Likewise.
36246 (CFLAGS-test-misc.c): Likewise.
36247 (CFLAGS-test-test-fenv.c): Likewise.
36249 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36253 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
36254 comparisons to determine direction to adjust input.
36256 2012-05-01 Roland McGrath <roland@hack.frob.com>
36258 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
36259 output to the target.
36261 * scripts/localplt.awk: New file.
36262 * elf/Makefile ($(objpfx)check-localplt): Target removed.
36263 (check-localplt-CFLAGS): Variable removed.
36264 ($(all-built-dso:=.jmprel)): New static pattern rule.
36265 (generated): Add those targets.
36266 (localplt-built-dso): New variable.
36267 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
36269 * elf/check-localplt.c: File removed.
36271 * scripts/check-execstack.awk: New file.
36272 * elf/Makefile ($(objpfx)check-execstack): Target removed.
36273 (check-execstack-CFLAGS): Variable removed.
36274 ($(objpfx)check-execstack.h): Target removed.
36275 ($(objpfx)execstack-default): New target.
36276 (generated): Add that instead of check-execstack.h.
36277 ($(all-built-dso:=.phdr)): New static pattern rule.
36278 (generated): Add those targets.
36279 * elf/check-execstack.c: File removed.
36281 * scripts/check-textrel.awk: New file.
36282 * elf/Makefile ($(objpfx)check-textrel): Target removed.
36283 (check-textrel-CFLAGS): Variable removed.
36284 (all-built-dso): Use := to define.o
36285 ($(all-built-dso:=.dyn)): New static pattern rule.
36286 (generated): Add those targets.
36287 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
36288 * config.make.in (READELF): New substituted variable.
36289 * elf/check-textrel.c: File removed.
36291 2012-05-01 Joseph Myers <joseph@codesourcery.com>
36293 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
36295 * conform/data/ctype.h-data [C99-based standards] (isblank):
36297 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
36298 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
36299 [ISO || ISO99 || ISO11] (*_t): Do not allow.
36300 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
36301 Specify type. Require positive value.
36302 (EILSEQ): Likewise.
36303 (ERANGE): Likewise.
36304 [ISO || POSIX] (EILSEQ): Do not expect.
36305 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
36306 Specify type. Require positive value.
36307 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
36308 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
36309 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
36310 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
36311 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
36312 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
36313 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
36314 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
36315 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
36316 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
36317 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
36318 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
36319 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
36320 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
36321 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
36322 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
36323 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
36324 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
36325 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
36326 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
36327 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
36328 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
36329 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
36330 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
36331 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
36332 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
36333 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
36334 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
36335 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
36336 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
36337 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
36338 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
36339 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
36340 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
36341 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
36342 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
36343 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
36344 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
36345 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
36346 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
36347 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
36348 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
36349 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
36350 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
36351 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
36352 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
36353 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
36354 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
36355 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
36356 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
36357 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
36358 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
36359 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
36360 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
36361 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
36362 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
36363 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
36364 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
36365 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
36366 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
36367 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
36368 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
36369 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
36370 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
36371 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
36372 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
36373 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
36374 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
36375 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
36376 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
36377 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
36378 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
36379 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
36380 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
36381 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
36382 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
36383 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
36385 (FLT_ROUNDS): Expect as macro, not constant.
36386 (FLT_MANT_DIG): Use macro-int-constant.
36387 (DBL_MANT_DIG): Likewise.
36388 (LDBL_MANT_DIG): Likewise.
36389 (FLT_DIG): Likewise.
36390 (DBL_DIG): Likewise.
36391 (LDBL_DIG): Likewise.
36392 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
36393 (DBL_MIN_EXP): Likewise.
36394 (LDBL_MIN_EXP): Likewise.
36395 (FLT_MAX_EXP): Use macro-int-constant.
36396 (DBL_MAX_EXP): Likewise.
36397 (LDBL_MAX_EXP): Likewise.
36398 (FLT_MAX_10_EXP): Likewise.
36399 (DBL_MAX_10_EXP): Likewise.
36400 (LDBL_MAX_10_EXP): Likewise.
36401 (FLT_MAX): Use macro-constant.
36402 (DBL_MAX): Likewise.
36403 (LDBL_MAX): Likewise.
36404 (FLT_EPSILON): Use macro-constant. Give upper bound.
36405 (DBL_EPSILON): Likewise.
36406 (LDBL_EPSILON): Likewise.
36407 (FLT_MIN): Likewise.
36408 (DBL_MIN): Likewise.
36409 (LDBL_MIN): Likewise.
36410 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
36411 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
36412 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
36413 [ISO11] (FLT_HAS_SUBNORM): Likewise.
36414 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
36415 [ISO11] (DBL_DECIMAL_DIG): Likewise.
36416 [ISO11] (FLT_DECIMAL_DIG): Likewise.
36417 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
36418 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
36419 [ISO11] (FLT_TRUE_MIN): Likewise.
36420 [ISO11] (LDBL_TRUE_MIN): Likewise.
36421 [ISO || ISO99 || ISO11] (*_t): Do not allow.
36422 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
36423 (SCHAR_MIN): Use macro-int-constant. Specify type.
36424 (SCHAR_MAX): Likewise.
36425 (UCHAR_MAX): Likewise.
36426 (CHAR_MIN): Likewise.
36427 (CHAR_MAX): Likewise.
36428 (MB_LEN_MAX): Use macro-int-constant.
36429 (SHRT_MIN): Use macro-int-constant. Specify type.
36430 (SHRT_MAX): Likewise.
36431 (USHRT_MAX): Likewise.
36432 (INT_MAX): Likewise.
36433 (INT_MIN): Use macro-int-constant. Specify type. Make upper
36435 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
36437 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
36439 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
36440 bound negative. Suffix upper bound with "L".
36441 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
36443 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
36445 [C99-based standards] (LLONG_MAX): Likewise.
36446 [C99-based standards] (ULLONG_MAX): Likewise.
36447 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
36449 [ISO11] (max_align_t): Require type.
36450 [ISO || ISO99 || ISO11] (*_t): Do not allow.
36452 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
36453 from $CFLAGS, without defining away __attribute__ calls.
36454 (checknamespace): Use $CFLAGS_namespace.
36456 * conform/conformtest.pl (@keywords): Only include C99 keywords
36457 for standards based on C99 or C11.
36459 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
36461 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
36464 * conform/conformtest.pl: Handle "macro-int-constant" and test for
36465 usability of symbols in #if.
36467 * conform/conformtest.pl: If macro or constant types start
36468 "promoted:", expect the symbol to be of the following type
36469 promoted by the integer promotions.
36471 * conform/conformtest.pl: Parse all "constant" and "macro" lines
36472 in one place. Also handle "macro-constant".
36474 * conform/conformtest.pl: Only accept expected macro values with
36475 "==". Parse all "macro" lines in one place.
36476 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
36478 * conform/conformtest.pl: Handle braced types on "constant" lines
36479 instead of handling "typed-constant".
36480 * conform/data/signal.h-data: Use "constant" instead of
36483 * conform/conformtest.pl: Handle "optional-" at start of lines in
36484 one place rather than duplicating several cases. Handle each
36485 format of "macro" line with initial "optional-".
36487 * conform/conformtest.pl: Only accept expected constant or
36488 optional-constant values with "==". Parse all "constant" lines in
36489 one place. Parse all "optional-constant" lines in one place.
36490 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
36491 * conform/data/fmtmsg.h-data: Likewise.
36492 * conform/data/netinet/in.h-data: Likewise.
36493 * conform/data/tar.h-data: Likewise.
36494 * conform/data/limits.h-data: Use "==" form on "constant" and
36495 "optional-constant" lines.
36497 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
36498 Use -std=c99 for XOPEN2K.
36499 (@knownproblems): Remove.
36500 (newtoken): Don't check %isknown.
36502 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
36503 Do not expect macro.
36504 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
36505 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
36506 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
36507 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
36508 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
36509 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
36510 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
36511 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
36512 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
36513 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
36514 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
36515 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
36516 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
36517 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
36518 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
36519 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
36520 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
36521 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
36522 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
36523 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
36524 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
36525 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
36526 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
36527 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
36528 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
36529 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
36530 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
36531 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
36532 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
36533 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
36534 [XPG3] (acosh): Likewise.
36535 [XPG3] (asinh): Likewise.
36536 [XPG3] (atanh): Likewise.
36537 [XPG3] (cbrt): Likewise.
36538 [XPG3] (expm1): Likewise.
36539 [XPG3] (ilogb): Likewise.
36540 [XPG3] (log1p): Likewise.
36541 [XPG3] (logb): Likewise.
36542 [XPG3] (nextafter): Likewise.
36543 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
36544 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
36545 [XPG3] (remainder): Likewise.
36546 [XPG3] (rint): Likewise.
36547 [XPG3 || XPG4 || UNIX98] (round): Likewise.
36548 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
36549 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
36550 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
36551 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
36552 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
36553 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
36554 [UNIX98 || XOPEN2K] (scalb): Expect.
36555 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
36556 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
36557 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
36558 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
36559 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
36560 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
36561 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
36562 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
36563 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
36564 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
36565 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
36566 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
36567 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
36568 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
36569 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
36570 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
36571 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
36572 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
36573 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
36574 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
36575 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
36576 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
36577 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
36578 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
36579 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
36580 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
36581 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
36582 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
36583 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
36584 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
36585 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
36586 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
36587 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
36588 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
36589 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
36590 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
36591 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
36592 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
36593 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
36594 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
36595 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
36596 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
36597 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
36598 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
36599 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
36600 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
36601 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
36602 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
36603 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
36604 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
36605 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
36606 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
36607 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
36608 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
36609 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
36610 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
36611 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
36612 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
36613 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
36614 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
36615 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
36616 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
36617 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
36618 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
36619 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
36620 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
36621 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
36622 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
36623 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
36624 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
36625 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
36626 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
36627 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
36628 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
36629 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
36630 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
36631 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
36632 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
36633 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
36634 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
36635 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
36636 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
36637 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
36638 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
36639 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
36640 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
36641 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
36642 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
36643 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
36644 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
36645 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
36646 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
36647 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
36648 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
36649 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
36650 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
36651 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
36652 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
36653 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
36654 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
36655 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
36656 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
36657 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
36658 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
36659 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
36660 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
36661 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
36662 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
36663 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
36664 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
36665 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
36666 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
36667 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
36668 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
36669 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
36670 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
36671 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
36672 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
36673 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
36674 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
36675 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
36676 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
36677 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
36678 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
36679 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
36680 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
36681 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
36682 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
36683 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
36684 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
36685 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
36686 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
36687 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
36688 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
36689 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
36690 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
36691 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
36693 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
36694 _XOPEN_SOURCE_EXTENDED for XPG4.
36696 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
36698 * Makeconfig (localtime): Remove variable.
36699 (inst_localtime-file): Likewise.
36701 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
36703 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
36705 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
36707 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
36709 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
36711 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
36713 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
36715 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
36717 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
36719 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
36722 2012-05-01 Joseph Myers <joseph@codesourcery.com>
36726 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
36727 comparisons to determine direction to adjust input.
36728 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
36729 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
36730 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
36732 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
36734 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
36736 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
36737 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
36739 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
36741 * math/libm-test.inc (nexttoward_test): Add more tests.
36743 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
36746 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
36747 in version GLIBC_2.1, not GLIBC_2.0.
36748 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
36751 2012-04-30 Joseph Myers <joseph@codesourcery.com>
36754 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
36756 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
36757 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
36758 * math/libm-test.inc (acos_test): Add more tests.
36759 (asin_test): Likewise.
36760 * sysdeps/i386/fpu/libm-test-ulps: Update.
36761 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36764 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
36766 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
36767 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
36768 * math/libm-test.inc (acos_test_tonearest): New function.
36769 (acos_test_towardzero): Likewise.
36770 (acos_test_downward): Likewise.
36771 (acos_test_upward): Likewise.
36772 (asin_test_tonearest): Likewise.
36773 (asin_test_towardzero): Likewise.
36774 (asin_test_downward): Likewise.
36775 (asin_test_upward): Likewise.
36776 (main): Call the new functions.
36777 * sysdeps/i386/fpu/libm-test-ulps: Update.
36778 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36782 * math/e_exp10.c: Include <float.h>.
36783 (__ieee754_exp10): Handle underflow here rather than multiplying
36784 large negative argument by M_LN10.
36785 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
36787 * math/e_exp10l.c: Include <float.h>.
36788 (__ieee754_exp10l): Handle underflow here rather than multiplying
36789 large negative argument by M_LN10l.
36790 * math/libm-test.inc (exp10_test): Add another test. Do not allow
36791 spurious overflow exception on underflow.
36793 2012-04-29 Marek Polacek <polacek@redhat.com>
36795 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
36796 (__fortify_function): New macro.
36797 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
36798 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
36799 __extern_always_inline.
36800 * libio/bits/stdio2.h: Likewise.
36801 * libio/bits/stdio.h: Likewise.
36802 * string/string.h: Likewise.
36803 * string/bits/string3.h: Likewise.
36804 * include/stdio.h: Likewise.
36805 * stdlib/bits/stdlib.h: Likewise.
36806 * stdlib/stdlib.h: Likewise.
36807 * rt/bits/mqueue2.h: Likewise.
36808 * rt/mqueue.h: Likewise.
36809 * posix/bits/unistd.h: Likewise.
36810 * posix/unistd.h: Likewise.
36811 * io/bits/poll2.h: Likewise.
36812 * io/bits/fcntl2.h: Likewise.
36813 * io/fcntl.h: Likewise.
36814 * io/sys/poll.h: Likewise.
36815 * misc/bits/syslog.h: Likewise.
36816 * misc/bits/syslog-ldbl.h: Likewise.
36817 * misc/sys/syslog.h: Likewise.
36818 * socket/bits/socket2.h: Likewise.
36819 * socket/sys/socket.h: Likewise.
36820 * debug/tst-chk1.c: Likewise.
36821 * wcsmbs/bits/wchar2.h: Likewise.
36822 * wcsmbs/bits/wchar-ldbl.h: Likewise.
36823 * wcsmbs/wchar.h: Likewise.
36825 2012-04-29 Andreas Jaeger <aj@suse.de>
36827 * Makerules (tests): Remove enable-check-abi protection.
36828 (check-abi-warn): Remove.
36829 (check-abi-%): Remove check-abi-warn usage.
36831 * configure.in: Remove check-abi configure option.
36832 * configure: Regenerated.
36833 * config.make.in (enable-check-abi): Remove.
36835 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
36838 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
36839 double functions to double *_finite functions.
36842 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
36843 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
36845 * stdio-common/Makefile (tests): Add tst-sprintf3.
36846 * stdio-common/tst-sprintf3.c: New file.
36848 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
36849 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
36851 2012-04-28 Joseph Myers <joseph@codesourcery.com>
36853 * conform/conformtest.pl: Remove duplicate typed-constant
36856 2012-04-28 David S. Miller <davem@davemloft.net>
36858 * Makerules (%.abilist): Add vpath on sysdep_dirs.
36859 (check-abi-%): Remove AWK script prerequisite and explicit
36861 (check-abi): Rewrite to just diff the symlist with the abilist.
36862 (config-tls, config-abi-config): Delete, no longer used.
36863 (update-abi-%): Remove AWK script and explicit abilist directory.
36864 (update-abi): Rewrite to simply compare and conditionally copy the
36865 symlist and the sysdep abilist file. Remove update-abi-config
36867 * abilist/ld.abilist: Remove.
36868 * abilist/libBrokenLocale.abilist: Remove.
36869 * abilist/libanl.abilist: Remove.
36870 * abilist/libcrypt.abilist: Remove.
36871 * abilist/libdl.abilist: Remove.
36872 * abilist/librt.abilist: Remove.
36873 * abilist/libthread_db.abilist: Remove.
36874 * abilist/libutil.abilist: Remove.
36875 * scripts/extract-abilist.awk: Remove.
36876 * scripts/merge-abilist.awk: Remove.
36877 * sysdeps/generic/libcidn.abilist: New file.
36878 * sysdeps/generic/libnss_compat.abilist: New file.
36879 * sysdeps/generic/libnss_db.abilist: New file.
36880 * sysdeps/generic/libnss_dns.abilist: New file.
36881 * sysdeps/generic/libnss_files.abilist: New file.
36882 * sysdeps/generic/libnss_hesiod.abilist: New file.
36883 * sysdeps/generic/libnss_nis.abilist: New file.
36884 * sysdeps/generic/libnss_nisplus.abilist: New file.
36885 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
36886 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
36887 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
36889 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
36890 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
36891 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
36892 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
36893 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
36894 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
36895 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
36896 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
36897 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
36899 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
36900 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
36901 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
36902 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
36904 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
36905 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
36906 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
36907 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
36908 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
36909 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
36911 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
36912 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
36913 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
36915 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
36916 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
36918 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
36920 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
36922 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
36924 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
36926 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
36928 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
36930 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
36932 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
36934 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
36936 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
36938 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
36940 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
36942 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
36944 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
36946 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
36948 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
36950 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
36952 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
36954 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
36956 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
36958 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
36960 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
36962 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
36964 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
36966 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
36968 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
36969 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
36971 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
36973 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
36975 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
36977 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
36979 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
36981 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
36983 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
36985 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
36987 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
36989 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
36991 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
36993 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
36994 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
36996 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
36998 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
37000 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
37002 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
37004 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
37006 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
37008 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
37010 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
37012 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
37014 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
37016 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
37018 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
37019 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
37020 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
37022 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
37023 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
37024 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
37025 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
37026 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
37027 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
37028 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
37029 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
37030 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
37031 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
37032 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
37033 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
37035 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
37037 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
37039 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
37041 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
37043 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
37045 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
37047 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
37049 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
37051 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
37053 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
37055 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
37057 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
37058 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
37060 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
37062 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
37064 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
37066 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
37068 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
37070 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
37072 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
37074 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
37076 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
37078 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
37080 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
37083 2012-04-28 Joseph Myers <joseph@codesourcery.com>
37085 * conform/conformtest.pl: Fix typo in handling typed-constant from
37088 2012-04-27 Joseph Myers <joseph@codesourcery.com>
37090 * README: Cut down references to pre-2.6 Linux kernels and
37091 Linuxthreads. Update lists of configurations in libc and ports
37092 and sort alphabetically. Say "or newer" with Linux kernel version
37095 * config.h.in [IS_IN_build]: Allow compiling without optimization.
37097 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
37100 * math/libm-test.inc (logb_test_downward): New test to expose
37101 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
37104 2012-04-27 Joseph Myers <joseph@codesourcery.com>
37107 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
37109 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
37110 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
37112 2012-04-26 Joseph Myers <joseph@codesourcery.com>
37114 * sysdeps/unix/i386/brk.S: Remove file.
37115 * sysdeps/unix/i386/dl-brk.S: Likewise.
37116 * sysdeps/unix/i386/pipe.S: Likewise.
37117 * sysdeps/unix/i386/sigreturn.S: Likewise.
37118 * sysdeps/unix/i386/syscall.S: Likewise.
37119 * sysdeps/unix/i386/vfork.S: Likewise.
37120 * sysdeps/unix/i386/wait.S: Likewise.
37122 * sysdeps/unix/common/tcsendbrk.c: Move to ...
37123 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
37125 * configure.in (arm*-none*): Do not allow without
37126 --enable-hacker-mode.
37127 (netbsd*): Remove case setting base_os.
37128 (386bsd*): Likewise.
37129 (freebsd*): Likewise.
37132 (sunos*): Likewise.
37133 (ultrix*): Likewise.
37134 (newsos*): Likewise.
37135 (dynix*): Likewise.
37141 (minix*): Likewise.
37142 (irix4*): Likewise.
37143 (irix6*): Likewise.
37144 (solaris[2-9]*): Likewise.
37146 * configure: Regenerated.
37148 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37151 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
37152 overflow or cancellation in calculating denominator.
37153 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
37154 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
37155 down expression to avoid unexpected rounding in newer GCCs.
37156 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
37158 2012-04-26 David S. Miller <davem@davemloft.net>
37160 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
37161 long-double compat symbols.
37162 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
37163 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
37164 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
37165 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
37166 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
37167 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
37168 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
37169 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
37170 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
37171 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
37172 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
37173 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
37174 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
37176 2012-04-25 David S. Miller <davem@davemloft.net>
37178 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
37179 HWCAP_* values only after the memory barriers have been defined.
37180 (atomic_full_barrier): Define.
37181 (atomic_read_barrier): Define.
37182 (atomic_write_barrier): Define.
37184 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
37186 * shlib-versions: Add libgcc_s version information.
37187 * sysdeps/generic/libgcc_s.h: Remove.
37188 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
37190 * sysdeps/gnu/unwind-resume.c: Likewise.
37191 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
37193 2012-04-25 David S. Miller <davem@davemloft.net>
37195 * sysdeps/unix/sparc/brk.S: Delete.
37196 * sysdeps/unix/sparc/dl-brk.S: Delete.
37197 * sysdeps/unix/sparc/pipe.S: Delete.
37198 * sysdeps/unix/sparc/sysdep.S: Delete.
37199 * sysdeps/unix/sparc/sysdep.h: Delete.
37200 * sysdeps/unix/sparc/vfork.S: Delete.
37201 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
37202 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
37203 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
37204 (ret_ERRVAL, r0, r1, MOVE): Define.
37205 (JUMPTARGET): Remove.
37206 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
37207 sysdeps/unix/sparc/sysdep.h
37208 (ENTRY, END): Remove.
37209 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
37211 2012-04-25 Joseph Myers <joseph@codesourcery.com>
37213 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
37214 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
37217 * timezone/README: Update upstream location and email address for
37219 * timezone/zdump.c: Update from tzcode 2012b.
37220 * timezone/zic.c: Likewise.
37222 * configure.in (libc_cv_as_needed): Remove test.
37223 * configure: Regenerated.
37224 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
37225 conditional definition.
37226 [$(have-as-needed) != yes] (no-as-needed): Likewise.
37227 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
37228 * config.make.in (have-as-needed): Remove variable.
37230 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
37231 Paul Pluzhnikov <ppluzhnikov@google.com>
37233 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
37236 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
37238 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
37239 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
37240 * sysdeps/sh/strlen.S: Likewise.
37242 2012-04-24 Joseph Myers <joseph@codesourcery.com>
37244 * sysdeps/unix/fork.S: Remove file.
37245 * sysdeps/unix/i386/fork.S: Likewise.
37246 * sysdeps/unix/sparc/fork.S: Likewise.
37248 * sysdeps/unix/system.c: Remove file.
37249 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
37251 * sysdeps/unix/getegid.S: Remove file.
37252 * sysdeps/unix/geteuid.S: Likewise.
37254 2012-04-24 Roland McGrath <roland@hack.frob.com>
37256 * scripts/check-localplt.awk: New file.
37257 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
37259 * scripts/data/localplt-generic.data: Add a comment.
37261 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
37262 NODE when __dir_mkfile failed.
37263 * sysdeps/mach/hurd/symlinkat.c: Likewise.
37264 Reported by Ludovic Courtès <ludo@gnu.org>.
37266 2012-04-24 Andreas Jaeger <aj@suse.de>
37268 * Makerules (common-clean): Also remove gen-as-const-headers
37271 2012-04-24 Joseph Myers <joseph@codesourcery.com>
37273 * Makerules (native-compile): Do not change working directory for
37274 build. Use $(OUTPUT_OPTION) in command.
37275 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
37277 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37280 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
37281 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
37282 * math/libm-test.inc (floor_test): Add more tests.
37283 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
37285 2012-04-24 Joseph Myers <joseph@codesourcery.com>
37287 * sysdeps/unix/getdents.c: Remove file.
37288 * sysdeps/unix/sysv/getdents.c: Likewise.
37289 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
37291 * sysdeps/unix/syscalls.list (madvise): Add syscall from
37292 sysdeps/unix/mman/syscalls.list.
37294 (mprotect): Likewise.
37296 (munmap): Likewise.
37297 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
37298 * sysdeps/unix/mman/syscalls.list: Remove.
37299 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
37301 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
37302 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
37303 * configure: Regenerated.
37304 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
37305 $(libgcc_s_suffix).
37306 * config.make.in (libgcc_s_suffix): Remove variable.
37308 2012-04-23 Joseph Myers <joseph@codesourcery.com>
37310 * sysdeps/unix/sysv/gethostname.c: Move to ...
37311 * sysdeps/posix/gethostname.c: ... here.
37313 * sysdeps/unix/execve.S: Remove file.
37315 * sysdeps/unix/_exit.S: Remove file.
37317 2012-04-23 Andreas Jaeger <aj@suse.de>
37320 * manual/Makefile: Remove make dist support, there's no
37321 need for a stand-alone documentation tar ball.
37322 (TEXI2DVI): Define always, it's not in Makeconfig.
37325 (edition): Removed.
37326 (glibc-doc-$(edition).tar): Removed
37330 (ETAGS): Remove, it's in Makeconfig.
37331 (move-if-change): Remove, it's in Makeconfig.
37333 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
37336 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
37337 (strtod, strtof, strtold, strtol, strtoul, strtoq)
37338 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
37339 (strtod_l, strtof_l, strtold_l): Remove __wur.
37340 It is not necessarily an error to ignore strtol's return value.
37341 One can reliably look at the stored endptr to decide whether
37342 the number had valid syntax.
37344 2012-04-21 Andreas Jaeger <aj@suse.de>
37347 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
37349 2012-04-21 Joseph Myers <joseph@codesourcery.com>
37351 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
37352 * sysdeps/unix/sysv/Versions: Remove file.
37354 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
37357 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37359 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
37362 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
37363 version from __vm86.
37365 2012-04-20 Joseph Myers <joseph@codesourcery.com>
37367 * sysdeps/unix/common/lxstat.c: Remove file.
37368 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
37370 * sysdeps/unix/sysv/Makefile: Remove file.
37372 * sysdeps/unix/sysv/direct.h: Remove file.
37374 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
37375 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
37376 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
37377 * sysdeps/unix/sysv/bits/signum.h: Likewise.
37378 * sysdeps/unix/sysv/bits/stat.h: Likewise.
37379 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
37380 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
37382 * sysdeps/unix/sysv/setrlimit.c: Remove file.
37384 * sysdeps/unix/xmknod.c: Remove file.
37385 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
37387 * sysdeps/unix/sysv/settimeofday.c: Remove file.
37389 * sysdeps/unix/sysv/i386/time.S: Remove file.
37391 * sysdeps/unix/fxstat.c: Remove file.
37392 * sysdeps/unix/xstat.c: Likewise.
37393 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
37395 * sysdeps/unix/sysv/sigaction.c: Remove file.
37397 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
37398 (sysdep_headers): Remove variable.
37399 [termio.h not in sysdep_headers] (generated): Likewise.
37400 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
37401 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
37402 * sysdeps/unix/sysv/tcdrain.c: Likewise.
37403 * sysdeps/unix/sysv/tcflow.c: Likewise.
37404 * sysdeps/unix/sysv/tcflush.c: Likewise.
37405 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
37406 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
37407 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
37408 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
37409 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
37411 * sysdeps/unix/siglist.c: Remove file.
37413 * sysdeps/unix/getppid.S: Remove file.
37415 * sysdeps/unix/mkdir.c: Remove file.
37416 * sysdeps/unix/rmdir.c: Likewise.
37418 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
37420 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
37422 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
37423 errlist-compat value.
37425 2012-04-18 David S. Miller <davem@davemloft.net>
37427 * sysdeps/generic/memcopy.h (reg_char): Delete.
37428 * debug/strcat_chk.c: Use char, not reg_char.
37429 * debug/strcpy_chk.c: Likewise.
37430 * debug/strncat_chk.c: Likewise.
37431 * debug/strncpy_chk.c: Likewise.
37432 * string/memchr.c: Likewise.
37433 * string/memrchr.c: Likewise.
37434 * string/rawmemchr.c: Likewise.
37435 * string/strcat.c: Likewise.
37436 * string/strchr.c: Likewise.
37437 * string/strchrnul.c: Likewise.
37438 * string/strcmp.c: Likewise.
37439 * string/strcpy.c: Likewise.
37440 * string/strncat.c: Likewise.
37441 * string/strncmp.c: Likewise.
37442 * string/strncpy.c: Likewise.
37444 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
37446 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
37447 __builtin_memcopy is called when src and dest ranges are known to not
37450 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
37452 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
37453 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
37454 fwd_align_merge macro call.
37455 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
37456 bwd_align_merge macro call.
37457 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
37459 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
37461 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
37462 bwd_align_merge macros.
37463 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
37464 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
37465 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
37467 2012-04-18 David S. Miller <davem@davemloft.net>
37469 * sysdeps/sparc/sparc64/memcopy.h: Delete.
37471 2012-04-18 Andreas Jaeger <aj@suse.de>
37474 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
37475 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
37476 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
37478 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
37479 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
37480 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
37482 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
37483 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
37484 Adjust for changed ldbl-128 files.
37486 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
37487 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
37488 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
37490 2012-04-17 David S. Miller <davem@davemloft.net>
37492 * sysdeps/sparc/sparc32/memcopy.h: Delete.
37494 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
37496 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
37497 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
37498 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
37499 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
37500 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
37501 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
37503 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37506 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
37507 * math/libm-test.inc: Add ilogb errno and exception tests.
37508 * math/w_ilogb.c: New file: ilogb wrapper.
37509 * math/w_ilogbf.c: New file: ilogbf wrapper.
37510 * math/w_ilogbl.c: New file: ilogbl wrapper.
37511 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
37512 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
37513 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
37514 exception being thrown with 0.0 as argument.
37515 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
37516 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
37517 exception being thrown with 0.0 as argument.
37518 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
37519 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
37520 exception being thrown with 0.0 as argument.
37521 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
37522 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
37523 exception being thrown with 0.0 as argument.
37524 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
37525 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
37526 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
37527 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
37528 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
37529 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
37530 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
37531 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
37532 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
37534 2012-04-17 Petr Baudis <pasky@ucw.cz>
37536 * include/sys/uio.h: Change __vector to __iovec to avoid clash
37539 2012-04-16 Marek Polacek <polacek@redhat.com>
37541 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
37543 2012-04-16 Marek Polacek <polacek@redhat.com>
37545 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
37546 operands of fdivp instruction.
37548 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
37550 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
37551 * elf/tst-auditmod3b.c: Likewise.
37552 * elf/tst-auditmod4b.c: Likewise.
37553 * elf/tst-auditmod5b.c: Likewise.
37554 * elf/tst-auditmod6b.c: Likewise.
37555 * elf/tst-auditmod6c.c: Likewise.
37556 * elf/tst-auditmod7b.c: Likewise.
37557 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
37558 * sysdeps/x86_64/preconfigure.in: Likewise.
37559 * sysdeps/x86_64/preconfigure: Regenerated.
37561 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
37563 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
37566 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
37568 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
37569 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
37571 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
37574 * locale/iso-639.def: Fix gl language name. Spotted by
37577 2012-04-12 Roland McGrath <roland@hack.frob.com>
37580 * libio/libio.h (__io_write_fn): Update comment.
37582 2012-04-12 Petr Baudis <pasky@ucw.cz>
37585 * stdio.texi (Hook Functions): The user provided writer function
37586 is not allowed to return -1.
37588 2012-04-11 David S. Miller <davem@davemloft.net>
37590 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37592 2012-04-11 Mike Frysinger <vapier@gentoo.org>
37594 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
37595 Add a leading slash to rtkaio.
37597 2012-04-11 Jim Meyering <meyering@redhat.com>
37600 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
37601 It is not necessarily an error to ignore fwrite's return
37602 value. One can reliably use ferror to test for errors after
37605 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
37607 * bits/types.h (__snseconds_t): New type.
37608 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
37610 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
37611 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
37612 (__SNSECONDS_T_TYPE): Likewise.
37613 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
37614 (__SNSECONDS_T_TYPE): Likewise.
37615 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
37616 (__SNSECONDS_T_TYPE): Likewise.
37618 2012-04-10 Andreas Jaeger <aj@suse.de>
37621 * manual/time.texi (Processor Time): Return type of times is
37622 elapsed real time since an arbitrary point in the past.
37623 (CPU Time): Move CLK_TCK from here...
37624 (Processor Time): ...to here. Correct description.
37625 * manual/conf.texi (Constants for Sysconf): Correct description of
37628 2012-04-10 David S. Miller <davem@davemloft.net>
37631 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
37632 where the is a gap between DT_REL(A) and DT_JMPREL.
37634 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
37636 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
37637 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
37638 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
37640 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
37642 * elf/dl-support.c (_dl_inhibit_cache): New variable.
37643 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
37644 (dl_main): Handle --inhibit-cache.
37645 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
37647 * elf/dl-load.c (_dl_map_object): Use it.
37648 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
37650 2012-04-09 Joseph Myers <joseph@codesourcery.com>
37653 * sysdeps/i386/fpu/e_powl.S (p78): New object.
37654 (__ieee754_powl): Saturate large exponents rather than testing for
37655 overflow of y*log2(x).
37656 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
37657 * math/libm-test.inc (pow_test): Do not permit spurious overflow
37661 * math/s_ctan.c: Include <float.h>.
37662 (__ctan): Avoid internal overflow or cancellation in calculating
37664 * math/s_ctanf.c: Likewise.
37665 * math/s_ctanl.c: Likewise.
37666 * math/s_ctanh.c: Likewise.
37667 * math/s_ctanhf.c: Likewise.
37668 * math/s_ctanhl.c: Likewise.
37669 * math/libm-test.inc (ctan_test): Add more tests.
37670 (ctanh_test): Likewise.
37671 * sysdeps/i386/fpu/libm-test-ulps: Update.
37672 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37674 2012-04-09 Andreas Jaeger <aj@suse.de>
37677 * manual/filesys.texi (Directory Entries): Mention that d_namlen
37678 is an optional BSD extension.
37681 * manual/stdio.texi (Opening Streams): Document additional fopen
37684 2012-04-09 Roland McGrath <roland@hack.frob.com>
37686 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
37687 %eax without telling the compiler.
37689 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
37692 * manual/install.texi: Use sourceware.org.
37694 2012-04-09 Joseph Myers <joseph@codesourcery.com>
37697 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
37698 (__ieee754_pow): Generate overflow and underflow using huge*huge
37699 and tiny*tiny rather than just returning constant infinity or zero
37700 for large exponents.
37701 * math/libm-test.inc (pow_test): Require overflow exceptions for
37702 applicable cases of large exponents.
37705 * sysdeps/i386/fpu/e_pow.S (p10): New object.
37706 (__ieee754_pow): Use iterative multiplication algorithm only for
37707 integer exponents with absolute value below 1024. Check for odd
37708 integer exponents when using algorithm for real exponents.
37709 * math/libm-test.inc (pow_test): Add more tests.
37710 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37712 2012-04-08 Joseph Myers <joseph@codesourcery.com>
37715 * math/libm-test.inc (exp_test): Do not allow overflow exception
37718 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
37721 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
37722 instead of __kernel_standard_f.
37724 2012-04-08 Mike Frysinger <vapier@gentoo.org>
37726 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
37727 * sysdeps/x86_64/memset_chk.S: Likewise.
37729 2012-04-08 Andreas Jaeger <aj@suse.de>
37732 * manual/startup.texi (Environment Access): Describe return value
37733 for putenv and setenv.
37736 * manual/filesys.texi (Directory Entries): Add description for
37740 * manual/filesys.texi (Directory Entries): Clarify that it's file
37741 system not operating system in the description of DT_UNKNOWN.
37744 * manual/syslog.texi (closelog): Fix reference, it's openlog.
37746 2012-04-08 Stephen Compall <s11@member.fsf.org>
37749 * manual/llio.texi (Opening and Closing Files): Add cross
37750 reference to explain mode argument.
37752 2012-04-07 Mike Frysinger <vapier@gentoo.org>
37754 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
37755 * sysdeps/x86_64/memset_chk.S: Likewise.
37757 2012-04-07 David S. Miller <davem@davemloft.net>
37759 * elf/elf.h (R_SPARC_WDISP10): Define.
37760 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
37762 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
37763 R_SPARC_SIZE64 and R_SPARC_H34.
37765 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
37767 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
37768 conditions and remove no longer applicable assertion.
37770 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
37772 * bits/byteswap.h: Include <features.h>.
37773 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
37774 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
37776 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
37778 * bits/byteswap.h (__bswap_16): Removed.
37779 Include <bits/byteswap-16.h> to get __bswap_16.
37780 * sysdeps/i386/bits/byteswap.h: Likewise.
37781 * sysdeps/s390/bits/byteswap.h: Likewise.
37782 * sysdeps/x86_64/bits/byteswap.h: Likewise.
37783 * bits/byteswap-16.h: New file.
37784 * sysdeps/i386/bits/byteswap-16.h: Likewise.
37785 * sysdeps/s390/bits/byteswap-16.h: Likewise.
37786 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
37787 * string/Makefile (headers): Add bits/byteswap-16.h.
37789 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
37792 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
37794 * nss/Makefile (tests-static, tests): Add tst-nss-static.
37795 * nss/tst-nss-static.c: New.
37797 2012-04-06 Robert Millan <rmh@gnu.org>
37800 * manual/llio.texi (File Position Primitive): lseek
37801 refers to WHENCE when it really means OFFSET.
37803 2012-04-06 Andreas Jaeger <aj@suse.de>
37805 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
37806 strncmp declarations.
37808 * abilist/libc.abilist: Add __poll and __ppoll.
37810 2012-04-05 David S. Miller <davem@davemloft.net>
37812 * scripts/check-local-headers.sh: Accept a host triplet in the
37813 path matched by the exclude regexp.
37815 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
37817 * sysdeps/powerpc/powerpc32/dl-machine.h
37818 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
37819 * sysdeps/s390/s390-32/dl-machine.h
37820 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
37821 * sysdeps/sparc/sparc32/dl-machine.h
37822 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
37823 * sysdeps/sparc/sparc64/dl-machine.h
37824 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
37826 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
37828 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
37829 undefined symbol errors.
37831 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
37834 2012-04-05 Michael Matz <matz@suse.de>
37837 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
37839 2012-04-05 Andreas Jaeger <aj@suse.de>
37842 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
37845 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
37847 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
37848 which ROUND is no valid rounding mode.
37850 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
37852 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
37854 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
37856 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
37858 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
37859 an exception using FPU order intentionally.
37861 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
37863 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
37864 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
37865 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
37866 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
37868 2012-04-05 Simon Josefsson <simon@josefsson.org>
37871 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
37872 EINVAL when BUFLEN is too smal.
37874 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
37877 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
37878 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
37880 2012-04-03 Andreas Jaeger <aj@suse.de>
37883 * manual/setjmp.texi (System V contexts): Fix sentence.
37886 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
37887 New macro for this case.
37888 [!__GNUC__] (__bswap_64): New inline function for this case.
37889 * sysdeps/x86_64/bits/byteswap.h: Likewise.
37890 * bits/byteswap.h: Likewise.
37891 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
37892 ull, guard with __GLIBC_HAVE_LONG_LONG.
37894 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
37895 __GLIBC_HAVE_LONG_LONG.
37897 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
37898 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
37900 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
37903 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
37904 inptr and inend, rather than using last_ch.
37906 2012-04-02 David S. Miller <davem@davemloft.net>
37908 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
37909 * stdio-common/printf-parse.h (read_int): Change return type to
37910 'int', return -1 on INT_MAX overflow.
37911 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
37912 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
37913 overflows INT_MAX. Check for overflow of in-format-string precision
37914 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
37915 SIZE_MAX not INT_MAX for integer overflow test.
37916 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
37917 skip the construct in the format string but do not record anything.
37918 * stdio-common/bug22.c: Adjust to test both width/prevision
37919 INT_MAX overflow as well as total length INT_MAX overflow. Check
37920 explicitly for proper errno values.
37922 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
37924 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
37926 * string/test-strcmp.c [! WIDE]: Likewise.
37927 * time/tst-mktime2.c: Likewise for INT_MAX.
37928 * string/test-string.h: #include <sys/param.h> for MIN.
37930 * csu/init-first.c (__libc_init_first): Call __ctype_init.
37931 * sysdeps/i386/init-first.c (init): Likewise.
37932 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
37933 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
37934 * sysdeps/sh/init-first.c (init): Likewise.
37936 2012-04-01 Ulrich Drepper <drepper@gmail.com>
37938 * po/ru.po: Update from translation team.
37939 * po/vi.po: Likewise.
37941 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
37943 * resolv/nss_dns/dns-host.c: Merge copyright years.
37945 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37947 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
37948 Optimize memcpy with prefetch if
37949 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
37950 src, dst pointers have unequal 16 byte alignments.
37952 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
37955 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
37956 from a CNAME entry and return the minimum ttl for the query.
37957 (gaih_getanswer_slice): Likewise.
37959 2012-03-30 Jeff Law <law@redhat.com>
37961 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
37963 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
37964 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
37966 * resolv/nss_dns/dns-host.c: Update copyright year.
37968 2012-03-30 Ulrich Drepper <drepper@gmail.com>
37970 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
37971 requests to save a system call. Fix check that all bytes are sent.
37973 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
37974 comments for sendmmsg.
37976 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
37979 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
37980 with only 1 character between 0x0041 and 0x01b0.
37981 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
37982 * wcsmbs/tst-mbsnrtowcs.c: New file.
37984 2012-03-29 David S. Miller <davem@davemloft.net>
37986 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
37987 small copies by hand.
37989 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
37992 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
37993 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
37996 2012-03-28 David S. Miller <davem@davemloft.net>
37998 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
37999 that branches into memcpy.
38000 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
38001 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
38002 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
38003 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
38004 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
38006 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
38007 implementation too.
38008 * sysdeps/sparc/mempcpy.S: New file.
38010 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
38011 the IFUNC routine in the libc case.
38012 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
38014 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
38015 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
38016 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
38017 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
38018 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
38019 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
38020 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
38021 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
38023 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
38024 loop to 256 bytes instead of 64 bytes and fix test signedness.
38026 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
38027 * sysdeps/sparc/sparc32/Makefile: rather than here...
38028 * sysdeps/sparc/sparc64/Makefile: and here.
38030 2012-03-28 Ulrich Drepper <drepper@gmail.com>
38032 * malloc/mallocbug.c: Avoid warnings about unused variables.
38034 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
38037 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
38038 in the right place. Discard and retry query if response is
38039 larger than input buffer size.
38041 2012-03-28 Joseph Myers <joseph@codesourcery.com>
38046 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
38047 x for large integer exponent.
38048 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
38049 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
38050 sign of result as needed afterwards.
38051 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
38052 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
38053 result for underflowing pow the same as for overflow.
38054 (__kernel_standard_l): Handle powl overflow and underflow here
38055 rather than calling __kernel_standard.
38056 * math/libm-test.inc (pow_test): Add more tests.
38071 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
38072 * sysdeps/ieee754/k_standard.c: Include <float.h>.
38073 (__kernel_standard_l): New function.
38074 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
38076 * math/w_acosl.c (__acosl): Likewise.
38077 * math/w_asinl.c (__asinl): Likewise.
38078 * math/w_atan2l.c (__atan2l): Likewise.
38079 * math/w_atanhl.c (__atanhl): Likewise.
38080 * math/w_coshl.c (__coshl): Likewise.
38081 * math/w_exp10l.c (__exp10l): Likewise.
38082 * math/w_exp2l.c (__exp2l): Likewise.
38083 * math/w_fmodl.c (__fmodl): Likewise.
38084 * math/w_hypotl.c (__hypotl): Likewise.
38085 * math/w_j0l.c (__j0l, __y0l): Likewise.
38086 * math/w_j1l.c (__j1l, __y1l): Likewise.
38087 * math/w_jnl.c (__jnl, __ynl): Likewise.
38088 * math/w_lgammal.c (__lgammal): Likewise.
38089 * math/w_log10l.c (__log10l): Likewise.
38090 * math/w_log2l.c (__log2l): Likewise.
38091 * math/w_logl.c (__logl): Likewise.
38092 * math/w_powl.c (__powl): Likewise.
38093 * math/w_remainderl.c (__remainderl): Likewise.
38094 * math/w_scalbl.c (sysv_scalbl): Likewise.
38095 * math/w_sinhl.c (__sinhl): Likewise.
38096 * math/w_sqrtl.c (__sqrtl): Likewise.
38097 * math/w_tgammal.c (__tgammal): Likewise.
38098 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
38099 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
38100 * math/libm-test.inc (acos_test): Add more tests.
38101 (acosh_test): Likewise.
38102 (asin_test): Likewise.
38103 (atanh_test): Likewise.
38104 (exp_test): Likewise.
38105 (exp10_test): Likewise.
38106 (exp2_test): Likewise.
38107 (expm1_test): Likewise.
38108 (lgamma_test): Likewise.
38109 (log_test): Likewise.
38110 (log10_test): Likewise.
38111 (log1p_test): Likewise.
38112 (log2_test): Likewise.
38113 (pow_test): Do not allow some spurious overflow exceptions.
38114 (sqrt_test): Add more tests.
38115 (tgamma_test): Likewise.
38116 (y0_test): Likewise.
38117 (y1_test): Likewise.
38118 (yn_test): Likewise.
38120 2012-03-27 Anton Blanchard <anton@samba.org>
38122 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
38124 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
38125 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
38126 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
38128 2012-03-27 David S. Miller <davem@davemloft.net>
38130 * conform/Makefile: Run run-conformtest.sh using $(BASH).
38132 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
38133 have-as-vis3 check.
38135 2012-03-27 Andreas Jaeger <aj@suse.de>
38137 * sysdeps/x86_64/elf/configure.in: Moved to ...
38138 * sysdeps/x86_64/configure.in: ... here.
38139 * sysdeps/x86_64/elf/start.S: Moved to ...
38140 * sysdeps/x86_64/start.S: ... here.
38141 * sysdeps/x86_64/elf/configure: Delete.
38143 * sysdeps/x86_64/configure.in: Merge contents from
38144 sysdeps/i386/configure.in (without i686 check).
38146 * sysdeps/i386/elf/Versions: Merge into ...
38147 * sysdeps/i386/Versions: ... this.
38148 * sysdeps/i386/elf/Versions: Delete file.
38149 * sysdeps/i386/elf/start.S: Moved to ...
38150 * sysdeps/i386/start.S: ...here.
38151 * sysdeps/i386/elf/configure.in: Merge into...
38152 * sysdeps/i386/configure.in: ...here.
38153 * sysdeps/i386/elf/configure.in: Delete file.
38154 * sysdeps/i386/elf/configure: Delete file.
38156 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
38157 * debug/backtracesyms.c: ... here.
38158 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
38159 * debug/backtracesymsfd.c: ... here.
38160 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
38161 * sysdeps/generic/ifunc-sel.h: ... here.
38163 * sysdeps/unix/i386/start.c: Delete file.
38164 * sysdeps/unix/sparc/start.c: Delete file.
38165 * sysdeps/unix/start.c: Delete file.
38167 * sysdeps/sh/elf/configure.in: Moved to ...
38168 * sysdeps/sh/configure.in: ... here.
38169 * sysdeps/sh/elf/start.S: Moved to ...
38170 * sysdeps/sh/start.S: ... here.
38171 * sysdeps/sh/elf/configure: Delete file.
38173 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
38174 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
38175 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
38176 * sysdeps/powerpc/powerpc64/entry.h: ... here.
38177 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
38178 * sysdeps/powerpc/powerpc64/start.S: here.
38179 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
38180 * sysdeps/powerpc/powerpc64/Makefile: ... this.
38181 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
38182 * sysdeps/powerpc/powerpc64/configure.in: ... this.
38183 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
38185 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
38186 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
38187 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
38188 * sysdeps/powerpc/powerpc32/start.S: ... here.
38189 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
38190 * sysdeps/powerpc/powerpc32/configure.in: ... this.
38191 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
38193 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
38194 * sysdeps/powerpc/ifunc-sel.h: ... here.
38195 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
38196 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
38198 * sysdeps/sparc/elf/configure.in: Moved to ...
38199 * sysdeps/sparc/configure.in: ... here.
38200 * sysdeps/sparc/elf/configure: Delete file.
38201 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
38202 * sysdeps/sparc/sparc32/start.S: ... here.
38203 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
38204 * sysdeps/sparc/sparc64/start.S: ... here.
38205 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
38206 * sysdeps/sparc/sparc32/Makefile: ... this.
38207 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
38208 * sysdeps/sparc/sparc64/Makefile: ... this.
38210 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
38211 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
38212 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
38213 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
38214 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
38215 * sysdeps/s390/s390-32/setjmp.S: ... here.
38216 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
38217 * sysdeps/s390/s390-32/configure.in: ... here.
38218 * sysdeps/s390/s390-32/elf/configure: Delete file.
38219 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
38220 * sysdeps/s390/s390-32/start.S: ... here.
38222 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
38223 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
38224 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
38225 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
38226 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
38227 * sysdeps/s390/s390-64/setjmp.S: ... here.
38228 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
38229 * sysdeps/s390/s390-64/configure.in: ... here
38230 * sysdeps/s390/s390-64/elf/configure: Delete file.
38231 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
38232 * sysdeps/s390/s390-64/start.S: ... here.
38233 * sysdeps/s390/s390-64/elf/configure: Delete.
38235 * configure.in: Remove support for elf directories in sysdeps.
38237 * configure: Regenerated.
38238 * sysdeps/i386/configure: Regenerated.
38239 * sysdeps/powerpc/powerpc32/configure: Regenerated.
38240 * sysdeps/powerpc/powerpc64/configure: Regenerated.
38241 * sysdeps/s390/s390-32/configure: Regenerated.
38242 * sysdeps/s390/s390-64/configure: Regenerated.
38243 * sysdeps/sh/configure: Regenerated.
38244 * sysdeps/sparc/configure: Regenerated.
38245 * sysdeps/x86_64/configure: Regenerated.
38247 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
38249 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38251 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
38252 denormal result into account.
38254 2012-03-25 Roland McGrath <roland@hack.frob.com>
38256 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
38257 Reported by Allan McRae <allan@archlinux.org>.
38259 2012-03-23 Jeff Law <law@redhat.com>
38261 * nss/getnssent.c (__nss_getent): Fix typo.
38263 2012-03-23 David S. Miller <davem@davemloft.net>
38265 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38267 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
38269 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
38270 to pad to uint64_t for each field.
38271 (dl_tls_index): Replace unsigned long with uint64_t.
38273 2012-03-23 Daniel Jacobowitz <dmj@google.com>
38274 Paul Pluzhnikov <ppluzhnikov@google.com>
38277 * grp/Makefile (otherlibs): Don't set it.
38278 * inet/Makefile (otherlibs): Likewise.
38279 * login/Makefile (otherlibs): Likewise.
38280 * nscd/Makefile (otherlibs): Likewise.
38281 * posix/Makefile (otherlibs): Likewise.
38282 * pwd/Makefile (otherlibs): Likewise.
38283 * rt/Makefile (otherlibs): Likewise.
38284 * sunrpc/Makefile (otherlibs): Likewise.
38285 * nss/Makefile (otherlibs): Likewise.
38286 Add libnss_files to routines and static-only-routines.
38287 ($(objpfx)getent): Remove rule.
38288 * resolv/Makefile: Add libnss_dns and libresolv to routines and
38289 static-only-routines.
38291 2012-03-22 Joseph Myers <joseph@codesourcery.com>
38294 * math/s_cexp.c: Include <float.h>.
38295 (__cexp): Handle exp result overflowing not necessarily
38296 overflowing both real and imaginary parts of result.
38297 * math/s_cexpf.c: Likewise.
38298 * math/s_cexpl.c: Likewise.
38299 * math/libm-test.inc (cexp_test): Add more tests.
38300 * sysdeps/i386/fpu/libm-test-ulps: Update.
38301 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38303 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
38305 * include/link.h (ELFW): New macro.
38306 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
38307 Replace ELF64_R_TYPE with ELFW(R_TYPE).
38309 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
38311 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
38314 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
38316 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
38318 (struct La_x32_retval): Likewise.
38320 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
38322 * sysdeps/x86_64/preconfigure.in: New file.
38323 * sysdeps/x86_64/preconfigure: New generated file.
38325 2012-03-22 Joseph Myers <joseph@codesourcery.com>
38328 * math/e_exp2l.c: Include <float.h>.
38329 (__ieee754_exp2l): Handle overflow and underflow cases
38330 separately. Only pass fractional part of argument to
38332 * math/libm-test.inc (exp2_test): Add more tests.
38334 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
38335 negating x to take absolute value.
38336 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
38338 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
38339 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
38341 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
38342 computing low part if x was negated.
38343 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
38345 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
38347 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
38348 la_x32_gnu_pltexit.
38349 (pltexit): Cast int_retval to ptrdiff_t.
38350 * elf/tst-auditmod3b.c: Likewise.
38351 * elf/tst-auditmod4b.c: Likewise.
38352 * elf/tst-auditmod5b.c: Likewise.
38353 * elf/tst-auditmod6b.c: Likewise.
38354 * elf/tst-auditmod6c.c: Likewise.
38355 * elf/tst-auditmod7b.c: Likewise.
38357 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
38358 and x32_gnu_pltexit.
38360 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
38361 __ELF_NATIVE_CLASS.
38362 (La_x32_regs): New macro.
38363 (La_x32_retval): Likewise.
38364 (la_x32_gnu_pltenter): New function prototype.
38365 (la_x32_gnu_pltexit): Likewise.
38367 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
38369 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
38372 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38374 * configure.in (libc_cv_cc_nofma): Check for option to disable
38375 generation of FMA instructions.
38376 * configure: Regenerate.
38377 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
38378 * sysdeps/ieee754/dbl-64/Makefile: New file.
38379 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
38380 Remove brandred-fma4.
38381 (CFLAGS-brandred-fma4.c): Remove.
38382 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
38383 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
38385 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
38388 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
38390 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
38391 LLONG_MAX != LONG_MAX.
38392 (_itoa_word): Use _ITOA_WORD_TYPE on value.
38393 (_fitoa_word): Likewise.
38394 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
38395 LLONG_MAX != LONG_MAX.
38396 * stdio-common/_itowa.h: Include <_itoa.h>.
38397 (_itowa_word): Use _ITOA_WORD_TYPE on value.
38398 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
38399 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
38400 only if not defined.
38401 (_ITOA_WORD_TYPE): Likewise.
38402 (_itoa_word): Use _ITOA_WORD_TYPE on value.
38403 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
38405 2012-03-21 David S. Miller <davem@davemloft.net>
38407 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38409 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
38411 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
38412 of x86_64 when setting libc_cv_slibdir, libdir and
38414 * sysdeps/unix/sysv/linux/configure: Regenerated.
38416 2012-03-21 Joseph Myers <joseph@codesourcery.com>
38418 * manual/lang.texi (Old Varargs): Remove section.
38419 (How Variadic): Update menu.
38420 (va_start): Do not mention varargs.h.
38422 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
38423 Joseph Myers <joseph@codesourcery.com>
38425 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
38427 * configure: Regenerated.
38429 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
38431 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
38432 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
38435 2012-03-21 Joseph Myers <joseph@codesourcery.com>
38438 * Makefile (files-for-dist): Remove NOTES.
38439 (NOTES): Remove rule.
38440 * README: Don't refer to NOTES.
38441 * manual/creature.texi: Don't include macros.texi.
38442 * manual/intro.texi (creature.texi): Remove comment referring to
38445 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
38446 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
38447 * configure: Regenerated.
38448 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
38449 LIBC_TRY_CC_OPTION.
38450 (libc_cv_as_i686): Likewise.
38451 (libc_cv_cc_avx): Likewise.
38452 (libc_cv_cc_sse2avx): Likewise.
38453 (libc_cv_cc_fma4): Likewise.
38454 (libc_cv_cc_novzeroupper): Likewise.
38455 * sysdeps/i386/configure: Regenerated.
38458 * sysdeps/i386/fpu/s_cexp.S: Remove.
38459 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
38460 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
38461 * math/libm-test.inc (cexp_test): Add more tests.
38462 * sysdeps/i386/fpu/libm-test-ulps: Update.
38463 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38465 2012-03-21 Allan McRae <allan@archlinux.org>
38467 * timezone/Makefile: Do not install iso3166.tab and zone.tab
38469 2012-03-21 Joseph Myers <joseph@codesourcery.com>
38472 * math/w_exp2.c: Do not include <float.h>.
38473 (o_threshold, u_threshold): Remove.
38474 (__exp2): Calculate result before checking finiteness and calling
38476 * math/w_exp2f.c: Likewise.
38477 * math/w_exp2l.c: Likewise.
38478 * math/libm-test.inc (exp2_test): Require overflow exception for
38482 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
38483 range of signed 64-bit integers before using fistpll. Remove
38484 checks for whether integers fit in mantissa bits.
38485 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
38486 the range of signed 32-bit integers before using fistpl. Remove
38487 checks for whether integers fit in mantissa bits.
38488 * sysdeps/i386/fpu/e_powl.S (p64): New object.
38489 (__ieee754_powl): Test for y outside the range of signed 64-bit
38490 integers before using fistpll. Reduce 64-bit values to 63-bit
38492 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
38493 divide-by-zero is raised for zero to large negative powers.
38494 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
38495 (__ieee754_powl): Test for y outside the range of signed 64-bit
38496 integers before using fistpll. Reduce 64-bit values to 63-bit
38498 * math/libm-test.inc (pow_test): Add more tests.
38500 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
38502 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
38503 <stdio-common/_itoa.h>.
38504 * debug/segfault.c: Likewise.
38505 * elf/dl-cache.c: Likewise.
38506 * elf/dl-minimal.c: Likewise.
38507 * elf/dl-misc.c: Likewise.
38508 * elf/dl-sysdep.c: Likewise.
38509 * elf/dl-version.c: Likewise.
38510 * elf/rtld.c: Likewise.
38511 * hurd/hurdsock.c: Likewise.
38512 * hurd/lookup-retry.c: Likewise.
38513 * malloc/malloc.c: Likewise.
38514 * malloc/mtrace.c: Likewise.
38515 * nscd/nscd_getgr_r.c: Likewise.
38516 * nscd/nscd_getpw_r.c: Likewise.
38517 * nscd/nscd_getserv_r.c: Likewise.
38518 * posix/getopt_init.c: Likewise.
38519 * posix/wordexp.c: Likewise.
38520 * stdio-common/_itoa.c: Likewise.
38521 * stdio-common/printf_fphex.c: Likewise.
38522 * stdio-common/vfprintf.c: Likewise.
38523 * string/_strerror.c: Likewise.
38524 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
38525 * sysdeps/i386/i686/hp-timing.h: Likewise.
38526 * sysdeps/mach/_strerror.c: Likewise.
38527 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
38528 * sysdeps/mach/hurd/sethostid.c: Likewise.
38529 * sysdeps/mach/hurd/xmknodat.c: Likewise.
38530 * sysdeps/mach/xpg-strerror.c: Likewise.
38531 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
38532 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
38533 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
38534 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
38535 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
38536 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
38537 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
38538 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
38539 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
38540 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
38541 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
38542 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
38543 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
38544 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
38545 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
38546 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
38547 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
38548 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
38549 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
38550 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
38551 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
38553 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
38555 * stdio-common/_itoa.h: Moved to ...
38556 * sysdeps/generic/_itoa.h: Here.
38558 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
38560 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
38561 instead of "_itoa.h" and "_itowa.h".
38562 * stdio-common/vfprintf.: Likewise.
38564 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
38566 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
38568 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
38569 (__signbit): Likwise.
38570 (llrintf): Likwise.
38573 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
38575 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
38578 2012-03-20 Joseph Myers <joseph@codesourcery.com>
38580 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
38581 OVERFLOW_EXCEPTION_OK.
38582 * math/libm-test.inc ("Philosophy"): Update comment about
38584 (OVERFLOW_EXCEPTION): Define.
38585 (OVERFLOW_EXCEPTION_OK): Likewise.
38586 (INVALID_EXCEPTION_OK): Renumber.
38587 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
38588 (IGNORE_ZERO_INF_SIGN): Likewise.
38589 (test_exceptions): Handle FE_OVERFLOW.
38590 (exp10_test): Expect overflow exceptions.
38591 (exp2_test): Likewise.
38592 (expm1_test): Likewise.
38593 (nextafter_test): Likewise.
38594 (pow_test): Likewise.
38595 (scalbn_test): Likewise.
38596 (scalbln_test): Likewise.
38598 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
38600 * sysdeps/x86_64/bits/atomic.h
38601 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
38603 (atomic_exchange_acq): Likewise.
38604 (__arch_exchange_and_add_body): Likewise.
38605 (__arch_add_body): Likewise.
38606 (atomic_add_negative): Likewise.
38607 (atomic_add_zero): Likewise.
38609 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
38611 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
38612 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
38614 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
38616 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
38617 Check __x86_64__ instead of __WORDSIZE.
38619 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
38621 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
38623 2012-03-19 David S. Miller <davem@davemloft.net>
38625 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38627 * sysdeps/sparc/fpu/fenv_private.h: New file.
38628 * sysdeps/sparc/fpu/math_private.h: Use it.
38629 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
38631 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
38632 (libc_feholdexcept_setroundl): Remove.
38633 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
38635 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
38636 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
38638 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
38640 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
38641 int64_t instead of long int.
38642 (INSERT_WORDS64): Likwise.
38644 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
38646 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
38647 _Unwind_GetCFA return to _Unwind_Ptr first.
38649 2012-03-19 Joseph Myers <joseph@codesourcery.com>
38652 * math/s_clog.c: Include <float.h>.
38653 (__clog): Scale large or subnormal inputs.
38654 * math/s_clogf.c: Likewise.
38655 * math/s_clogl.c: Likewise.
38656 * math/s_clog10.c: Include <float.h>.
38657 (M_LOG10_2): Define.
38658 (__clog10): Scale large or subnormal inputs.
38659 * math/s_clog10f.c: Likewise.
38660 * math/s_clog10l.c: Likewise.
38661 * math/libm-test.inc (clog_test): Add more tests.
38662 (clog10_test): Likewise.
38663 * sysdeps/i386/fpu/libm-test-ulps: Update.
38664 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38667 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
38669 * math/libm-test.inc (atan2_test): Add another test.
38671 * Makerules (common-objdir-compile): Remove.
38672 * sysdeps/unix/Makefile (config-generated): Do not add
38673 $(unix-generated) to variable.
38674 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
38675 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
38677 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
38679 [generic bits/local_lim.h] (before-compile): Do not append to
38681 [generic bits/local_lim.h] (common-generated): Likewise.
38682 [generic sys/param.h] (before-compile): Do not append to variable.
38683 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
38684 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
38685 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
38686 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
38688 [generic sys/param.h] (sys/param.h-includes): Remove variable.
38689 [generic sys/param.h] (sys/param.h-includes): Remove rule.
38690 [generic sys/param.h] ($(addprefix
38691 $(common-objpfx),$(sys/param.h-includes))): Likewise.
38692 [generic sys/param.h] (common-generated): Do not append to
38694 [generic sys/param.h] (sysdep_headers): Likewise.
38695 [generic bits/errno.h] (before-compile): Do not append to
38697 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
38699 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
38700 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
38701 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
38702 [generic bits/errno.h] (common-generated): Do not append to
38704 [generic bits/ioctls.h] (before-compile): Do not append to
38706 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
38708 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
38709 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
38710 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
38712 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
38713 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
38714 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
38715 [generic bits/ioctls.h] (common-generated): Do not append to
38717 [generic sys/syscall.h] (syscall.h): Remove variable.
38718 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
38720 [generic sys/syscall.h] (before-compile): Do not append to
38722 [generic sys/syscall.h] (common-generated): Likewise.
38723 * sysdeps/unix/errnos-tmpl.c: Remove file.
38724 * sysdeps/unix/errnos.awk: Likewise.
38725 * sysdeps/unix/ioctls-tmpl.c: Likewise.
38726 * sysdeps/unix/ioctls.awk: Likewise.
38727 * sysdeps/unix/mk-local_lim.c: Likewise.
38728 * sysdeps/unix/snarf-ioctls: Likewise.
38730 2012-03-19 Richard Henderson <rth@twiddle.net>
38732 * sysdeps/i386/fpu/fenv_private.h: New file.
38733 * sysdeps/i386/fpu/math_private.h: Use it.
38734 (math_opt_barrier, math_force_eval): Remove.
38735 (libc_feholdexcept_setround_53bit): Remove.
38736 (libc_feupdateenv_53bit): Remove.
38737 * sysdeps/x86_64/fpu/math_private.h: Likewise.
38738 (math_opt_barrier, math_force_eval): Remove.
38739 (libc_feholdexcept): Remove.
38740 (libc_feholdexcept_setround): Remove.
38741 (libc_fetestexcept, libc_fesetenv): Remove.
38742 (libc_feupdateenv_test): Remove.
38743 (libc_feupdateenv, libc_feholdsetround): Remove.
38744 (libc_feresetround): Remove.
38746 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
38747 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
38749 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
38750 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
38751 (libc_feupdateenv_testl): New.
38752 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
38753 (libc_feupdateenv_testf): New.
38754 (libc_feupdateenv): Use libc_feupdateenv_test.
38755 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
38756 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
38758 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
38759 (libc_feholdsetroundf, libc_feholdsetroundl): New.
38760 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
38761 (libc_feresetround_noex): New.
38762 (libc_feresetround_noexf): New.
38763 (libc_feresetround_noexl): New.
38764 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
38765 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
38766 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
38767 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
38769 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
38770 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
38772 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
38773 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
38774 SET_RESTORE_ROUND_NOEX.
38775 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
38776 SET_RESTORE_ROUND_NOEXF.
38777 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
38778 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
38779 (libc_feholdsetroundf): New.
38780 (libc_feresetround, libc_feresetroundf): New.
38782 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
38783 (libc_feholdexcept_setround_53bit): Convert from macro to function.
38784 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
38786 * sysdeps/generic/math_private.h: Include <fenv.h>.
38787 (default_libc_feholdexcept): New.
38788 (default_libc_feholdexcept_setround): New.
38789 (default_libc_fesetenv, default_libc_feupdateenv): New.
38790 (libc_feholdexcept): Only define if undefined.
38791 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
38792 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
38793 (libc_feholdexcept_setroundl): Likewise.
38794 (libc_feholdexcept_setround_53bit): Likewise.
38795 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
38796 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
38797 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
38798 (libc_feupdateenv_53bit): Likewise.
38799 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
38800 (libc_feholdexcept): Convert from macro to inline function.
38801 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
38802 (libc_fesetenv, libc_feupdateenv): Likewise.
38804 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
38805 not previously defined.
38806 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
38807 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
38808 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
38809 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
38810 * sysdeps/ieee754/flt-32/math_private.h: New file.
38811 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
38812 math_private.h below SET_FLOAT_WORD.
38813 (__isnan, __isinf_ns, __finite): Remove.
38814 (__isnanf, __isinf_nsf, __finitef): Remove.
38816 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
38818 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38820 2012-03-17 David S. Miller <davem@davemloft.net>
38823 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
38826 2012-03-16 David S. Miller <davem@davemloft.net>
38828 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
38832 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
38834 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
38835 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
38836 sysdep_routines when subdir is sysvipc.
38837 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
38838 __getshmlba helper.
38840 * sysdeps/sparc/fpu/libm-test/ulps: Update.
38842 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
38844 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
38847 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
38849 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
38850 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
38851 (__lround): Renamed to ...
38852 (__llround): This. Replace long int with long long int.
38853 Define lround functions as aliases of llround functions.
38854 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
38856 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
38858 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
38859 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
38860 adresses to uintptr_t. Replace "long int" and "unsigned long
38861 int" with "greg_t" on va_arg.
38863 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
38865 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
38866 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
38868 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
38869 Move e_machine check before EI_CLASS check. Handle x32
38870 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
38871 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
38872 SKIP_EM_IA_64 and include
38873 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
38875 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
38876 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
38877 (add_system_dir): New macro.
38879 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
38880 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
38882 2012-03-16 Joseph Myers <joseph@codesourcery.com>
38893 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
38895 * math/w_j0f.c (j0f): Likewise.
38897 * math/w_j0l.c (__j0l): Likewise.
38899 * math/w_j1.c (j1): Likewise.
38901 * math/w_j1f.c (j1f): Likewise.
38903 * math/w_j1l.c (__j1l): Likewise.
38905 * math/w_jn.c (jn): Likewise.
38907 * math/w_jnf.c (jnf): Likewise.
38909 * math/w_jnl.c (__jnl): Likewise.
38911 * math/libm-test.inc (j0_test): Add more tests.
38912 (j1_test): Likewise.
38913 (jn_test): Likewise. Add trailing semicolon to existing test.
38914 (y0_test): Likewise.
38915 (y1_test): Likewise.
38916 * sysdeps/i386/fpu/libm-test-ulps: Update.
38917 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38921 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
38922 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
38923 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
38924 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
38925 (__tanl): Set errno for infinite argument.
38926 * sysdeps/i386/fpu/mptan.c: Remove.
38927 * sysdeps/i386/fpu/s_tan.S: Likewise.
38928 * sysdeps/i386/fpu/s_tanl.S: Likewise.
38929 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
38930 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
38931 * math/libm-test.inc (tan_test): Add more tests and enable more
38932 tests for double and long double.
38933 * sysdeps/i386/fpu/libm-test-ulps: Update.
38934 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38936 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
38938 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
38939 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
38941 2012-03-16 Roland McGrath <roland@hack.frob.com>
38943 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
38944 * configure.in: Use it for both main tree and add-ons.
38945 * configure: Regenerated.
38947 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
38949 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
38951 2012-03-16 Joseph Myers <joseph@codesourcery.com>
38953 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
38957 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
38958 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
38959 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
38960 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
38961 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
38963 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
38964 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
38965 != 0 for prec == 2.
38966 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
38967 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
38968 * sysdeps/i386/fpu/s_cosl.S: Likewise.
38969 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
38970 * sysdeps/i386/fpu/s_sinl.S: Likewise.
38971 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
38972 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
38973 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
38974 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
38975 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
38976 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
38977 * math/libm-test.inc (cos_test): Add more tests and enable more
38978 tests for long double.
38979 (sin_test): Likewise.
38980 (sincos_test): Likewise.
38981 * sysdeps/i386/fpu/libm-test-ulps: Update.
38982 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38984 2012-03-16 David S. Miller <davem@davemloft.net>
38986 * sysdeps/sparc/fpu/math_private.h: New file.
38988 2012-03-15 David S. Miller <davem@davemloft.net>
38990 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
38992 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
38993 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
38995 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
38996 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
38997 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
38998 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
38999 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
39000 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
39002 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
39004 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
39005 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
39007 * sysdeps/sparc/sparc-ifunc.h: New file.
39008 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
39010 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
39011 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
39013 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
39015 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
39016 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
39017 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
39018 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
39020 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
39021 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
39022 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
39023 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
39024 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
39026 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
39028 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
39029 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
39030 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
39031 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
39032 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
39033 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
39034 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
39035 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
39036 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
39037 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
39038 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
39039 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
39040 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
39041 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
39042 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
39043 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
39044 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
39045 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
39046 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
39047 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
39048 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
39049 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
39050 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
39051 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
39053 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
39055 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
39057 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39059 2012-03-15 Andreas Jaeger <aj@suse.de>
39062 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
39063 ieee754/flt-32 implementation for sin, cos and sincos.
39064 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
39065 * sysdeps/i386/fpu/s_cosf.S: Likewise.
39066 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
39067 * sysdeps/i386/fpu/s_sinf.S: Likewise.
39068 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
39069 ieee754/flt-32 implementation for tan.
39071 * math/libm-test.inc (cos_test): Enable some large input tests for
39073 (sin_test): Likewise.
39074 (sincos_test): Likewise.
39075 (tan_test): Add tests for large input.
39077 * sysdeps/i386/fpu/libm-test-ulps: Update.
39079 2012-03-15 Andreas Jaeger <aj@suse.de>
39082 * math/libm-test.inc (cos_test): Add more test cases.
39083 (sin_test): Likewise.
39084 (sincos_test): Likewise.
39086 2012-03-15 Andreas Jaeger <aj@suse.de>
39089 * math/libm-test.inc (cos_test): Add a test case for large input
39091 (sin_test): Likewise.
39092 (sincos_test): Likewise.
39094 2012-03-15 Andreas Jaeger <aj@suse.de>
39095 Joseph Myers <joseph@codesourcery.com>
39098 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
39099 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
39100 * sysdeps/i386/fpu/branred.c: Likewise.
39101 * sysdeps/i386/fpu/dosincos.c: Likewise.
39102 * sysdeps/i386/fpu/mpa.c: Likewise.
39103 * sysdeps/i386/fpu/s_cos.S: Likewise.
39104 * sysdeps/i386/fpu/s_sin.S: Likewise.
39105 * sysdeps/i386/fpu/s_sincos.S: Likewise.
39106 * sysdeps/i386/fpu/sincos32.c: Likewise.
39108 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
39110 (libc_feupdateenv_53bit): Define.
39111 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
39113 (libc_feupdateenv_53bit): Define.
39115 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
39116 53 bit (without extend i386 double precision).
39118 * math/libm-test.inc (sincos_test): Add tests for large input.
39122 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
39124 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
39126 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39128 2012-03-15 David S. Miller <davem@davemloft.net>
39130 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
39131 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
39132 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
39133 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
39134 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
39135 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
39136 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
39137 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
39138 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
39139 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
39140 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
39141 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
39142 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
39143 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
39144 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
39145 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
39147 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
39148 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
39150 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
39151 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
39153 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
39154 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
39156 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
39157 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
39158 fmin/fmax sysdep routines.
39159 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
39161 2012-03-14 David S. Miller <davem@davemloft.net>
39163 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
39164 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
39165 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
39166 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
39167 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
39168 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
39169 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
39170 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
39171 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
39172 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
39173 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
39174 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
39175 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
39176 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
39177 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
39178 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
39179 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
39180 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
39181 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
39182 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
39183 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
39184 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
39185 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
39186 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
39187 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
39188 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
39189 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
39190 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
39191 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
39193 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
39195 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
39196 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
39198 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
39199 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
39201 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
39202 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
39204 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
39205 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
39207 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
39208 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
39210 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
39212 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
39214 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
39216 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
39218 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
39220 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
39222 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
39223 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
39225 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
39226 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
39228 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
39229 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
39231 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
39232 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
39235 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
39238 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39240 * sysdeps/sparc/configure.in: New file.
39241 * sysdeps/sparc/configure: Generate.
39242 * configure.in (libc_cv_sparc_as_vis3): Substitute.
39243 * configure: Regenerate.
39244 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
39245 * config.make.in (have-as-vis3): New.
39246 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
39247 available use -Av9d instead of -Av9a.
39248 * sysdeps/sparc/sparc64/Makefile: Likewise.
39249 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
39250 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
39252 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
39254 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
39256 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
39258 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
39259 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
39260 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
39261 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
39262 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
39264 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
39265 fzeros/fnegs to load 0x80000000 into a float register instead of
39267 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
39269 2012-03-14 Joseph Myers <joseph@codesourcery.com>
39271 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39273 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
39274 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
39275 ($(inst_includedir)/bits/syscall.h): Remove rule.
39276 ($(objpfx)bits/syscall.d): Include instead of
39277 $(objpfx)syscall-list.d.
39278 (generated): Change syscall-list.h and syscall-list.d to
39279 bits/syscall.h and bits/syscall.d.
39281 2012-03-14 Roland McGrath <roland@hack.frob.com>
39284 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
39286 2012-03-14 Joseph Myers <joseph@codesourcery.com>
39289 * math/s_csqrt.c: Include <float.h>.
39290 (__csqrt): Scale large or subnormal inputs.
39291 * math/s_csqrtf.c: Likewise.
39292 * math/s_csqrtl.c: Likewise.
39293 * math/libm-test.inc (csqrt_test): Add more tests.
39294 * sysdeps/i386/fpu/libm-test-ulps: Update.
39295 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39298 * math/libm-test.inc (hypot_test): Add more tests.
39300 2012-03-13 David S. Miller <davem@davemloft.net>
39303 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
39304 double-precision for the calculation instead of scaling.
39306 2012-03-13 Joseph Myers <joseph@codesourcery.com>
39308 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
39309 manipulate bits before adding and subtracting TWO52[sx].
39310 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
39311 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
39313 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
39315 2012-03-13 David S. Miller <davem@davemloft.net>
39317 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
39318 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
39319 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
39320 rtld-global-offsets.h
39321 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
39323 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
39326 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
39328 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
39329 'err' in the ifdef scope in which it is actually used.
39331 * nss/nss_db/db-init.c: Include string.h
39333 2012-03-12 David S. Miller <davem@davemloft.net>
39335 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
39336 masking out of the most significant byte of random value used.
39337 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
39338 Fix coding style in previous change.
39340 * sysdeps/unix/sysv/linux/kernel-features.h
39341 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
39342 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
39344 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
39347 2012-03-11 David S. Miller <davem@davemloft.net>
39349 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
39350 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
39351 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
39352 for 'resultvar' otherwise things get truncated on 64-bit.
39354 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
39355 Fix masking out of the most significant byte of random value used.
39357 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39359 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
39361 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39363 2012-03-09 David S. Miller <davem@davemloft.net>
39365 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
39366 variables with appropriate CPP guards.
39367 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
39368 from the frame pointer, not the stack pointer. Correct layout
39369 comments. Fix test on resulting framesize and the management of
39370 the outregs buffer for pltexit. Preserve floating point return
39371 values across _dl_call_pltexit call.
39372 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
39373 framesize and the management of the outregs buffer for pltexit.
39374 Preserve floating point return values across _dl_call_pltexit
39376 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
39377 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
39378 (la_sparc64_gnu_pltexit): New functions.
39379 (print_exit): Fix format string for return register value.
39381 2012-03-10 Joseph Myers <joseph@codesourcery.com>
39383 * sunrpc/Makefile (others): Add rpcgen.
39384 ($(objpfx)rpcgen): Remove special build rule and dependency on
39386 * sunrpc/rpcgen.c: New file.
39388 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
39391 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
39392 * stdio-common/bug-vfprintf-nargs.c: Likewise.
39393 * sysdeps/i386/crti.S: Likewise.
39394 * sysdeps/i386/crtn.S: Likewise.
39395 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
39396 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
39397 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
39398 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
39399 * sysdeps/sh/crti.S: Likewise.
39400 * sysdeps/sh/crtn.S: Likewise.
39401 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
39404 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
39406 * locale/programs/locfile-kw.gperf: Likewise.
39407 * locale/programs/charmap-kw.h: Regenerated.
39408 * locale/programs/locfile-kw.h: Likewise.
39411 * intl/plural.y: Replace FSF snail mail address with URL.
39412 * intl/plural.c: Regenerated.
39414 2012-03-09 Richard Henderson <rth@twiddle.net>
39416 * include/math_private.h: Remove file.
39417 * math/math_private.h: Move file ...
39418 * sysdeps/generic/math_private.h: ... here.
39420 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
39421 * sysdeps/powerpc/fpu/math_private.h: Likewise.
39422 * sysdeps/x86_64/fpu/math_private.h: Likewise.
39424 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
39425 and <math_private.h>.
39426 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
39427 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
39428 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
39429 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
39430 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
39431 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
39432 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
39433 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
39434 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
39435 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
39436 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
39437 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
39438 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
39439 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
39440 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
39441 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
39442 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
39443 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
39444 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
39445 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
39446 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39447 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
39448 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
39449 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39450 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
39451 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
39452 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
39453 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
39454 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
39455 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
39456 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
39457 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
39458 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
39459 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
39460 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
39461 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
39462 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
39463 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
39464 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
39465 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
39466 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
39467 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
39468 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
39469 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
39470 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
39471 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
39472 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
39473 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
39474 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
39475 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
39476 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
39477 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
39478 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
39479 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
39480 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
39481 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
39482 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
39483 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
39484 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
39485 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
39486 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
39487 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
39488 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
39489 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
39490 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
39491 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
39492 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
39493 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
39494 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
39495 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
39496 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
39497 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
39498 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
39499 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
39500 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
39501 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
39502 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
39503 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
39504 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
39505 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
39506 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
39507 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
39508 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
39509 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
39510 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
39511 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
39512 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
39513 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
39514 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
39515 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
39516 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
39517 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
39518 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
39519 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
39520 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
39521 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
39522 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
39523 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
39524 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
39525 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
39526 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
39527 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
39528 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
39529 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
39530 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
39531 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
39532 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
39533 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
39534 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
39535 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
39536 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
39537 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
39538 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
39539 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
39540 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
39541 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
39542 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
39543 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
39544 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
39545 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
39546 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
39547 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
39548 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
39549 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
39550 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
39551 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
39552 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
39553 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
39554 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
39555 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
39556 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
39557 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
39558 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
39559 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
39560 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
39561 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
39562 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
39563 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
39564 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
39565 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
39566 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
39567 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
39568 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
39569 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
39570 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
39571 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
39572 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
39573 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
39574 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
39575 * sysdeps/ieee754/k_standard.c: Likewise.
39576 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
39577 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
39578 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
39579 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
39580 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
39581 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
39582 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
39583 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
39584 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
39585 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
39586 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
39587 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
39588 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
39589 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
39590 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
39591 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
39592 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
39593 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
39594 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
39595 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
39596 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
39597 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
39598 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
39599 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
39600 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
39601 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
39602 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
39603 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
39604 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
39605 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
39606 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
39607 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
39608 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
39609 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
39610 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
39611 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
39612 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
39613 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
39614 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
39615 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
39616 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
39617 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
39618 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
39619 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
39620 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
39621 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
39622 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
39623 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
39624 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
39625 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
39626 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
39627 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
39628 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
39629 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
39630 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
39631 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
39632 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
39633 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
39634 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
39635 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
39636 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
39637 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
39638 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
39639 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
39640 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
39641 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
39642 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
39643 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
39644 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
39645 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
39646 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
39647 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
39648 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
39649 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
39650 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
39651 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
39652 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
39653 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
39654 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
39655 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
39656 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
39657 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
39658 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
39659 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
39660 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
39661 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
39662 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
39663 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
39664 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
39665 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
39666 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
39667 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
39668 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
39669 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
39670 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
39671 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
39672 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
39673 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
39674 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
39675 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
39676 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
39677 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
39678 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
39679 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
39680 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
39681 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
39682 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
39683 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
39684 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
39685 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
39686 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
39687 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
39688 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
39689 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
39690 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
39691 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
39692 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
39693 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
39694 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
39695 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
39696 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
39697 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
39698 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
39699 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
39700 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
39701 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
39702 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
39703 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
39704 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
39705 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
39706 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
39707 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
39708 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
39709 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
39710 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
39711 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
39712 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
39713 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
39714 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
39715 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
39716 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
39717 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
39718 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
39719 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
39720 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
39721 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
39722 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
39723 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
39724 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
39725 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
39726 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
39727 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
39728 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
39729 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
39730 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
39731 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
39732 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
39733 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
39734 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
39735 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
39736 * sysdeps/ieee754/s_lib_version.c: Likewise.
39737 * sysdeps/ieee754/s_matherr.c: Likewise.
39738 * sysdeps/ieee754/s_signgam.c: Likewise.
39739 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
39740 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
39741 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
39742 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
39743 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
39744 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
39745 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
39746 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
39747 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
39748 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
39749 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
39750 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
39751 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
39752 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
39753 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
39754 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
39755 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
39756 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
39757 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
39758 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
39759 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
39761 2012-03-09 Joseph Myers <joseph@codesourcery.com>
39763 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
39764 * sunrpc/rpc_main.c: Likewise.
39765 * sunrpc/rpc_svcout.c: Likewise.
39767 2012-03-09 David S. Miller <davem@davemloft.net>
39769 * include/math_private.h: New file.
39771 2012-03-09 Joseph Myers <joseph@codesourcery.com>
39773 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
39774 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
39775 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
39776 from <bits/socket_type.h>.
39777 (enum __socket_type): Don't define here.
39778 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
39779 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39780 bits/socket_type.h.
39783 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
39784 checking __USE_GNU.
39786 * Makerules ($(inst_includedir)/%.h): New rule.
39787 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
39788 (install-others): Remove variable setting.
39789 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
39791 2012-03-08 Richard Henderson <rth@twiddle.net>
39793 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
39794 from macro to inline function; merge with the
39795 !__LIBC_INTERNAL_MATH_INLINES version.
39796 (__ieee754_sqrtf): Likewise.
39798 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
39799 to inline function.
39800 (__rintf, __floor, __floorf): Likewise.
39802 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
39803 macro to inline function.
39804 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
39806 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
39807 not <math/math_private.h>.
39809 2012-03-08 David S. Miller <davem@davemloft.net>
39811 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
39813 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
39815 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
39817 * resolv/gai_misc.c (handle_requests): Fix struct timespec
39819 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
39820 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
39822 2012-03-08 Ulrich Drepper <drepper@gmail.com>
39824 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
39825 be defined individually, they must be defined as a block. Define
39826 S for printing a string instead of hidint the different by using a
39827 macro for adding the 'l'.
39828 * stdio-common/tst-fphex-wide.c: Adjust.
39830 2012-03-07 Marek Polacek <polacek@redhat.com>
39832 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
39834 2012-03-08 Marek Polacek <polacek@redhat.com>
39837 * stdio-common/Makefile (tests): Add tst-fphex-wide.
39838 * stdio-common/tst-fphex.c: Define a few macros to make the
39839 test reusable. Use them.
39840 * stdio-common/tst-fphex-wide.c: New file.
39842 2012-03-08 Joseph Myers <joseph@codesourcery.com>
39845 * manual/macros.texi (gnusystems): New macro.
39846 (nongnusystems): Likewise.
39847 (gnulinuxhurdsystems): Likewise.
39848 (gnuhurdsystems): Likewise..
39849 (gnulinuxsystems): Likewise.
39850 * manual/charset.texi: Use new macros or @theglibc{} to refer to
39851 variants of the GNU system, not "GNU system".
39852 * manual/conf.texi: Likewise.
39853 * manual/errno.texi: Likewise. Update example of errno macro
39855 * manual/filesys.texi: Likewise.
39856 (getumask): Document as specific to GNU/Hurd.
39857 * manual/install.texi: Likewise. Reword some references to
39859 * manual/intro.texi: Likewise.
39860 * manual/io.texi: Likewise.
39861 (File Name Portability): Detail which constraints are inapplicable
39862 to all GNU systems and which are only inapplicable to GNU/Hurd.
39863 * manual/job.texi: Likewise.
39864 * manual/llio.texi: Likewise.
39865 (O_NOCTTY): Document as present on GNU/Linux.
39866 * manual/maint.texi: Likewise.
39867 * manual/memory.texi: Likewise.
39868 * manual/pattern.texi: Likewise.
39869 * manual/pipe.texi: Likewise.
39870 * manual/process.texi: Likewise.
39871 * manual/resource.texi: Likewise.
39872 (RUSAGE_CHILDREN): Remove statement about specifying a particular
39874 * manual/setjmp.texi: Likewise.
39875 * manual/signal.texi: Likewise.
39876 * manual/startup.texi: Likewise.
39877 * manual/stdio.texi: Likewise.
39878 * manual/terminal.texi: Likewise.
39879 (ONLCR): Document as POSIX.
39880 (OXTABS): Document availability on GNU/Linux as XTABS.
39881 (ONOEOT): Document availability separately from other bits.
39882 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
39883 * manual/time.texi: Likewise.
39884 * manual/users.texi: Likewise.
39885 * INSTALL: Regenerated.
39886 * sysdeps/gnu/errlist.c: Regenerated.
39888 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
39889 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
39890 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
39892 * configure: Regenerated.
39894 2012-03-07 Joseph Myers <joseph@codesourcery.com>
39896 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
39897 default includes instead of AC_HEADER_CHECK.
39898 * sysdeps/i386/configure: Regenerated.
39901 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
39902 * math/s_cacoshf.c (__cacoshf): Likewise.
39903 * math/s_cacoshl.c (__cacoshl): Likewise.
39904 * math/s_casinh.c (__casinh): Set signs of result from argument.
39905 * math/s_casinhf.c (__casinhf): Likewise.
39906 * math/s_casinhl.c (__casinhl): Likewise.
39907 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
39908 (casinh_test): Add more tests.
39909 * sysdeps/i386/fpu/libm-test-ulps: Update.
39910 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39912 2012-03-07 Ulrich Drepper <drepper@gmail.com>
39914 * po/zh_TW.po: Update from translation team.
39916 * login/Makefile (distribute): Remove variable.
39917 * catgets/Makefile: Likewise.
39918 * mach/Makefile: Likewise.
39919 * malloc/Makefile: Likewise.
39920 * misc/Makefile: Likewise.
39921 * iconv/Makefile: Likewise.
39922 * nscd/Makefile: Likewise.
39923 * hurd/Makefile: Likewise.
39924 * manual/Makefile: Likewise.
39925 * locale/Makefile: Likewise.
39926 * intl/Makefile: Likewise.
39927 * conform/Makefile: Likewise.
39928 * nss/Makefile: Likewise.
39929 * time/Makefile: Likewise.
39930 * soft-fp/Makefile: Likewise.
39931 * dirent/Makefile: Likewise.
39932 * gmon/Makefile: Likewise.
39933 * po/Makefile: Likewise.
39934 * rt/Makefile: Likewise.
39935 * socket/Makefile: Likewise.
39936 * math/Makefile: Likewise.
39937 * signal/Makefile: Likewise.
39938 * debug/Makefile: Likewise.
39939 * elf/Makefile: Likewise.
39940 * timezone/Makefile: Likewise.
39941 * stdlib/Makefile: Likewise.
39942 * iconvdata/Makefile: Likewise.
39943 * sunrpc/Makefile: Likewise.
39944 * io/Makefile: Likewise.
39945 * argp/Makefile: Likewise.
39946 * inet/Makefile: Likewise.
39947 * hesiod/Makefile: Likewise.
39948 * grp/Makefile: Likewise.
39949 * csu/Makefile: Likewise.
39950 * wctype/Makefile: Likewise.
39951 * crypt/Makefile: Likewise.
39952 * libio/Makefile: Likewise.
39953 * string/Makefile: Likewise.
39954 * nis/Makefile: Likewise.
39955 * resolv/Makefile: Likewise.
39956 * stdio-common/Makefile: Likewise.
39957 * wcsmbs/Makefile: Likewise.
39958 * dlfcn/Makefile: Likewise.
39959 * posix/Makefile: Likewise.
39962 * timezone/Makefile: Don't install timezone files, just the programs
39965 2012-03-06 Ulrich Drepper <drepper@gmail.com>
39967 * nss/databases.def: Add missing gshadow entry.
39969 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
39971 2012-03-06 Marek Polacek <polacek@redhat.com>
39974 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
39975 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
39976 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
39977 * stdio-common/tst-long-dbl-fphex.c: New file.
39979 2012-03-06 David S. Miller <davem@davemloft.net>
39981 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
39982 (set_obp_int): New function.
39983 (get_obp_int): New function.
39984 (__get_clockfreq_via_dev_openprom): Likewise.
39985 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
39986 Avoid unused variable warnings on 'val' and use builtin_expect.
39987 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
39989 (INLINE_CLONE_SYSCALL): Likewise.
39991 2012-03-05 David S. Miller <davem@davemloft.net>
39993 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39995 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
39997 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39999 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
40000 only for |x| >= 40.
40001 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
40003 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
40005 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
40006 Replace gettimeofday with __vdso_gettimeofday.
40008 * sysdeps/unix/sysv/linux/x86_64/init-first.c
40009 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
40010 __vdso_clock_gettime and __vdso_getcpu.
40012 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
40013 time with __vdso_time.
40015 2012-03-05 Joseph Myers <joseph@codesourcery.com>
40017 * manual/lang.texi (size_t): Note types to which size_t may be
40018 equivalent with the GNU C Library, but do not describe when
40019 differences between them are significant.
40021 2012-03-05 Andreas Jaeger <aj@suse.de>
40023 * sysdeps/i386/fpu/libm-test-ulps: Update.
40025 2012-03-05 Joseph Myers <joseph@codesourcery.com>
40028 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
40029 (__ieee754_pow): Save and restore rounding mode and use
40030 round-to-nearest for main computations.
40031 * math/libm-test.inc (pow_test_tonearest): New function.
40032 (pow_test_towardzero): Likewise.
40033 (pow_test_downward): Likewise.
40034 (pow_test_upward): Likewise.
40035 (main): Call the new functions.
40036 * sysdeps/i386/fpu/libm-test-ulps: Update.
40037 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40040 * math/libm-test.inc (cosh_test_tonearest): New function.
40041 (cosh_test_towardzero): Likewise.
40042 (cosh_test_downward): Likewise.
40043 (cosh_test_upward): Likewise.
40044 (sinh_test_tonearest): Likewise.
40045 (sinh_test_towardzero): Likewise.
40046 (sinh_test_downward): Likewise.
40047 (sinh_test_upward): Likewise.
40048 (main): Call the new functions.
40049 * sysdeps/i386/fpu/libm-test-ulps: Update.
40050 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40052 2012-03-05 Tom de Vries <tom@codesourcery.com>
40054 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
40055 default stack guard is set in last bytes.
40056 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
40058 2012-03-05 Kees Cook <keescook@chromium.org>
40060 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
40063 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
40064 possibly allocate from heap instead of stack.
40065 * stdio-common/bug-vfprintf-nargs.c: New file.
40066 * stdio-common/Makefile (tests): Add nargs overflow test.
40068 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
40070 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40072 2012-03-03 Marek Polacek <polacek@redhat.com>
40074 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
40075 * math/math_private.h: Likewise.
40076 * stdlib/tst-strtod.c: Likewise.
40077 * sysdeps/i386/i486/bits/atomic.h: Likewise.
40078 * sysdeps/x86_64/bits/atomic.h: Likewise.
40080 2012-03-02 David S. Miller <davem@davemloft.net>
40082 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
40083 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
40084 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
40085 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
40086 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
40087 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
40088 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
40089 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
40091 2012-03-02 Roland McGrath <roland@hack.frob.com>
40094 * manual/examples/README: New file, says the example source files
40095 can be used under GPL>=2.
40096 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
40097 line containing just "*/".
40098 * manual/examples/add.c: Add copyright header (GPL>=2).
40099 * manual/examples/argp-ex1.c: Likewise.
40100 * manual/examples/argp-ex2.c: Likewise.
40101 * manual/examples/argp-ex3.c: Likewise.
40102 * manual/examples/argp-ex4.c: Likewise.
40103 * manual/examples/atexit.c: Likewise.
40104 * manual/examples/db.c: Likewise.
40105 * manual/examples/dir.c: Likewise.
40106 * manual/examples/dir2.c: Likewise.
40107 * manual/examples/execinfo.c: Likewise.
40108 * manual/examples/filecli.c: Likewise.
40109 * manual/examples/filesrv.c: Likewise.
40110 * manual/examples/fmtmsgexpl.c: Likewise.
40111 * manual/examples/genpass.c: Likewise.
40112 * manual/examples/inetcli.c: Likewise.
40113 * manual/examples/inetsrv.c: Likewise.
40114 * manual/examples/isockad.c: Likewise.
40115 * manual/examples/longopt.c: Likewise.
40116 * manual/examples/memopen.c: Likewise.
40117 * manual/examples/memstrm.c: Likewise.
40118 * manual/examples/mkfsock.c: Likewise.
40119 * manual/examples/mkisock.c: Likewise.
40120 * manual/examples/mygetpass.c: Likewise.
40121 * manual/examples/pipe.c: Likewise.
40122 * manual/examples/popen.c: Likewise.
40123 * manual/examples/rprintf.c: Likewise.
40124 * manual/examples/search.c: Likewise.
40125 * manual/examples/select.c: Likewise.
40126 * manual/examples/setjmp.c: Likewise.
40127 * manual/examples/sigh1.c: Likewise.
40128 * manual/examples/sigusr.c: Likewise.
40129 * manual/examples/stpcpy.c: Likewise.
40130 * manual/examples/strdupa.c: Likewise.
40131 * manual/examples/strftim.c: Likewise.
40132 * manual/examples/strncat.c: Likewise.
40133 * manual/examples/subopt.c: Likewise.
40134 * manual/examples/swapcontext.c: Likewise.
40135 * manual/examples/termios.c: Likewise.
40136 * manual/examples/testopt.c: Likewise.
40137 * manual/examples/testpass.c: Likewise.
40138 * manual/examples/timeval_subtract.c: Likewise.
40141 * manual/time.texi (Elapsed Time): Move timeval_subtract example
40143 * manual/timeval_subtract.c.texi: ... here, new file.
40145 2012-03-02 David S. Miller <davem@davemloft.net>
40147 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
40149 2012-03-02 Joseph Myers <joseph@codesourcery.com>
40152 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
40153 (__sin): Save and restore rounding mode and use round-to-nearest
40154 for all computations.
40155 (__cos): Save and restore rounding mode and use round-to-nearest
40156 for all computations.
40157 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
40159 (tan): Save and restore rounding mode and use round-to-nearest for
40161 * math/libm-test.inc (cos_test_tonearest): New function.
40162 (cos_test_towardzero): Likewise.
40163 (cos_test_downward): Likewise.
40164 (cos_test_upward): Likewise.
40165 (sin_test_tonearest): Likewise.
40166 (sin_test_towardzero): Likewise.
40167 (sin_test_downward): Likewise.
40168 (sin_test_upward): Likewise.
40169 (tan_test_tonearest): Likewise.
40170 (tan_test_towardzero): Likewise.
40171 (tan_test_downward): Likewise.
40172 (tan_test_upward): Likewise.
40173 (main): Call the new functions.
40174 * sysdeps/i386/fpu/libm-test-ulps: Update.
40175 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40178 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
40179 small n, then large n, before computing and testing k+n.
40180 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
40181 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
40183 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
40185 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
40186 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
40187 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
40188 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
40189 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
40190 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
40191 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
40192 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
40193 * math/libm-test.inc (scalbn_test): Add more tests.
40194 (scalbln_test): Likewise.
40196 * manual/filesys.texi (mode_t): Describe constraints on size and
40197 signedness, not exact equivalence to a particular type.
40199 (ino64_t): Likewise.
40201 (nlink_t): Likewise.
40202 (blkcnt_t): Likewise.
40203 (blkcnt64_t): Likewise.
40204 * manual/llio.texi (off_t): Likewise.
40207 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
40208 (__ieee754_exp): Save and restore rounding mode and use
40209 round-to-nearest for all computations.
40210 * math/libm-test.inc (exp_test_tonearest): New function.
40211 (exp_test_towardzero): Likewise.
40212 (exp_test_downward): Likewise.
40213 (exp_test_upward): Likewise.
40214 (main): Call the new functions.
40215 * sysdeps/i386/fpu/libm-test-ulps: Update.
40216 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40218 2012-03-01 Chris Demetriou <cgd@google.com>
40220 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
40221 have predictable order.
40223 2012-03-01 David S. Miller <davem@davemloft.net>
40225 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
40227 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
40228 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
40229 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
40230 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
40232 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
40233 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
40234 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
40235 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
40236 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
40237 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
40238 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
40239 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
40240 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
40242 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40244 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
40245 * sysdeps/sparc/fpu/libm-test-ulps: to here.
40246 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
40248 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
40249 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
40250 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
40251 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
40252 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
40253 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
40254 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
40255 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
40256 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
40257 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
40258 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
40259 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
40260 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
40261 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
40262 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
40263 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
40264 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
40265 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
40266 * sysdeps/sparc/elf/configure: Regenerated.
40268 2012-03-01 Joseph Myers <joseph@codesourcery.com>
40270 * configure.in (AS, LD): Require binutils 2.20 or later.
40271 * configure: Regenerated.
40272 * manual/install.texi (Tools for Compilation): Give binutils 2.20
40273 as required minimum version.
40274 * INSTALL: Regenerated.
40278 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
40279 before squaring exponent.
40280 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
40281 bottom long double and 27 bits of top long double before squaring
40283 * math/libm-test.inc (erfc_test): Add more tests.
40284 * sysdeps/i386/fpu/libm-test-ulps: Update.
40285 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
40286 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40288 2012-03-01 Kai Tietz <ktietz@redhat.com>
40290 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
40291 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
40292 containing bit-fields.
40293 * soft-fp/extended.h (_FP_UNION_E): Likewise.
40294 * soft-fp/single.h (_FP_UNION_S): Likewise.
40295 * soft-fp/double.h (_FP_UNION_D): Likewise.
40297 2012-02-29 Joseph Myers <joseph@codesourcery.com>
40300 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
40301 not include ../strcmp.S.
40302 [USE_AS_STRNCASECMP_L]: Likewise.
40303 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
40304 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
40305 * sysdeps/i386/i686/multiarch/strncase_l-c.c
40306 (__strncasecmp_l_ia32): Define as alias to
40307 __strncasecmp_l_nonascii.
40310 * math/libm-test.inc (expm1_test): Add test for bug 5794.
40311 * sysdeps/i386/fpu/libm-test-ulps: Update.
40312 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40314 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
40315 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40317 2012-02-29 Jeff Law <law@redhat.com>
40319 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
40320 out of bounds read.
40322 2012-02-29 Marek Polacek <polacek@redhat.com>
40325 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
40326 * elf/Makefile: Add rules to run tst-unused-dep.out.
40328 2012-02-28 David S. Miller <davem@davemloft.net>
40330 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
40331 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
40332 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
40333 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
40334 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
40335 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
40337 2012-02-29 Joseph Myers <joseph@codesourcery.com>
40339 * math/libm-test.inc (llround_test): Move one test from
40340 lround_test. Use TEST_f_L in moved test.
40341 (lround_test): Move misplaced test to llround_test. Add testcase
40344 2012-02-28 Ulrich Drepper <drepper@gmail.com>
40346 * sysdeps/x86_64/fpu/e_expf.S: New file.
40347 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
40349 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
40352 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
40353 of remain_len that may cause incomplete multi-byte character and
40355 * posix/bug-regex33.c: New file.
40356 * posix/Makefile (tests): Add bug-regex33.
40358 2012-02-28 Joseph Myers <joseph@codesourcery.com>
40360 * manual/macros.texi: New file.
40361 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
40362 * manual/libc.texinfo: Include macros.texi.
40363 * manual/creatute.texi: Likewise.
40364 * manual/install.texi: Likewise.
40365 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
40366 @glibcadj{} in references to the GNU C Library.
40367 * manual/charset.texi: Likewise.
40368 * manual/conf.texi: Likewise.
40369 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
40370 when not using those macros.
40371 * manual/creature.texi: Likewise.
40372 * manual/crypt.texi: Likewise.
40373 * manual/errno.texi: Likewise.
40374 * manual/filesys.texi: Likewise.
40375 * manual/header.texi: Likewise.
40376 * manual/install.texi: Likewise.
40377 * manual/intro.texi: Likewise.
40378 * manual/io.texi: Likewise.
40379 * manual/job.texi: Likewise.
40380 * manual/lang.texi: Likewise.
40381 * manual/libc.texiinfo: Likewise.
40382 * manual/llio.texi: Likewise.
40383 * manual/locale.texi: Likewise.
40384 * manual/maint.texi: Likewise.
40385 * manual/math.texi: Likewise.
40386 * manual/memory.texi: Likewise.
40387 * manual/message.texi: Likewise.
40388 * manual/nss.texi: Likewise.
40389 * manual/pattern.texi: Likewise.
40390 * manual/process.texi: Likewise.
40391 * manual/resource.texi: Likewise.
40392 * manual/search.texi: Likewise.
40393 * manual/setjmp.texi: Likewise.
40394 * manual/signal.texi: Likewise.
40395 * manual/socket.texi: Likewise.
40396 * manual/startup.texi: Likewise.
40397 * manual/stdio.texi: Likewise.
40398 * manual/string.texi: Likewise.
40399 * manual/sysinfo.texi: Likewise.
40400 * manual/syslog.texi: Likewise.
40401 * manual/terminal.texi: Likewise.
40402 * manual/time.texi: Likewise.
40403 * manual/users.texi: Likewise.
40404 * INSTALL: Regenerated.
40405 * NOTES: Regenerated.
40406 * sysdeps/gnu/errlist.c: Regenerated.
40408 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
40410 * include/dirent.h: Include <dirstream.h> before
40413 2012-02-28 David S. Miller <davem@davemloft.net>
40415 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
40416 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
40417 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
40418 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
40420 2012-02-27 David S. Miller <davem@davemloft.net>
40422 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
40423 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
40424 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
40425 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
40427 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
40428 frame pointer instead of stack pointer relative arg slot.
40429 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
40430 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
40431 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
40433 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
40436 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
40438 2012-02-27 David S. Miller <davem@davemloft.net>
40440 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
40441 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
40442 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
40443 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
40444 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
40445 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
40446 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
40447 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
40449 2012-02-27 Joseph Myers <joseph@codesourcery.com>
40451 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
40452 later. Allow versions 5-9.
40453 * configure: Regenerated.
40454 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
40455 required minimum version and 4.6 as recommended version. Do not
40456 mention bugs in GCC 2.7 and 2.8.
40457 * INSTALL: Regenerated.
40459 2012-02-27 David S. Miller <davem@davemloft.net>
40461 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
40462 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
40463 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
40464 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
40465 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
40466 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
40467 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
40468 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
40470 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
40471 manipulate bits before adding and subtracting TWO112[sx].
40472 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
40474 2012-02-27 Roland McGrath <roland@hack.frob.com>
40477 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
40478 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
40479 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
40480 being in POSIX, because they are in 1003.1-2008.
40482 * rt/tst-aio.c: Include <fcntl.h>.
40483 * rt/tst-aio7.c: Likewise.
40484 * rt/tst-aio64.c: Likewise.
40486 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
40488 2012-02-27 Joseph Myers <joseph@codesourcery.com>
40490 * manual/install.texi (--with-headers): Describe headers as
40491 interface headers, not private headers.
40492 (Specific advice for GNU/Linux systems): Describe use of headers
40493 from "make headers_install", not private headers from older
40495 * INSTALL: Regenerated.
40496 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
40498 * sysdeps/unix/sysv/linux/configure: Regenerated.
40500 * manual/llio.texi (fclean): Remove documentation.
40502 * manual/Makefile (libc-texi-generated): New variable. Include
40504 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
40505 $(libc-texi-generated), not duplicated list of files.
40506 (version.texi, stamp-version): New rules.
40507 (realclean): Remove $(libc-texi-generated), not individual files
40508 from that list. Do not remove dir-add.texinfo.
40509 * manual/libc.texinfo: Comment out uses of edition numbers and
40510 references to printed manual. Remove last-updated dates.
40511 (EDITION): Comment out.
40513 (VERSION, UPDATED): Remove.
40514 (version.texi): Include.
40516 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
40518 * sysdeps/posix/spawni.c: Include <signal.h>.
40519 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
40520 * sysdeps/pthread/aio_fsync.c: Likewise.
40522 2012-02-26 Ulrich Drepper <drepper@gmail.com>
40524 * conform/Makefile (tests): Run only when not cross-compiling and
40525 when fast-check is not defined.
40527 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
40528 * conform/data/limits.h-data: Fixes for POSIX2008.
40529 * conform/run-conformtest.sh: Run all tests.
40530 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
40532 * include/bits/dlfcn.h: Likewise.
40533 * include/langinfo.h: Likewise.
40534 * include/monetary.h: Likewise.
40535 * include/sys/poll.h: Likewise.
40537 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
40539 * posix/spawn.h: Define __need_sigset_t.
40540 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
40541 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
40542 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
40543 to get sigevent_t only.
40544 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
40545 only for __USE_GNU.
40546 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
40547 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
40548 process_vm_writev only for __USE_GNU.
40549 * termios/termios.h: Declare tcgetsid also for POSIX2008.
40551 * conform/Makefile: For now ignore errors from run-conformtest.
40552 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
40553 POSIX to avoid namespace pollution. Don't prepend headers.
40554 * conform/data/aio.h-data: Fixes for POSIX testing.
40555 * conform/data/fcntl.h-data: Likewise.
40556 * conform/data/glob.h-data: Likewise.
40557 * conform/data/grp.h-data: Likewise.
40558 * conform/data/pthread.h-data: Likewise.
40559 * conform/data/pwd.h-data: Likewise.
40560 * conform/data/signal.h-data: Likewise.
40561 * conform/data/spawn.h-data: Likewise.
40562 * conform/data/stdio.h-data: Likewise.
40563 * conform/data/stdlib.h-data: Likewise.
40564 * conform/data/stropts.h-data: Likewise.
40565 * conform/data/sys/mman.h-data: Likewise.
40566 * conform/data/sys/stat.h-data: Likewise.
40567 * conform/data/sys/types.h-data: Likewise.
40568 * conform/data/sys/wait.h-data: Likewise.
40569 * conform/data/time.h-data: Likewise.
40570 * conform/data/unistd.h-data: Likewise.
40571 * conform/data/utime.h-data: Likewise.
40573 * io/sys/stat.h: fchmod was always in POSIX.
40574 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
40575 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
40576 * rt/aio.h: Define __need_timespec before including <time.h>.
40577 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
40578 struct. Add forward declaration of pthread_attr_t and use it in
40580 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
40581 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
40582 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
40583 always remove CLK_TCK definition.
40585 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
40587 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
40589 2012-02-25 Ulrich Drepper <drepper@gmail.com>
40591 * conform/run-conformtest.sh: New file.
40592 * conform/Makefile: Run run-conformtest for tests.
40593 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
40596 * conform/data/uchar.h-data: New file.
40597 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
40598 * conform/data/arpa/inet.h-data: Likewise.
40599 * conform/data/assert.h-data: Likewise.
40600 * conform/data/complex.h-data: Likewise.
40601 * conform/data/cpio.h-data: Likewise.
40602 * conform/data/ctype.h-data: Likewise.
40603 * conform/data/dirent.h-data: Likewise.
40604 * conform/data/dlfcn.h-data: Likewise.
40605 * conform/data/errno.h-data: Likewise.
40606 * conform/data/fcntl.h-data: Likewise.
40607 * conform/data/float.h-data: Likewise.
40608 * conform/data/fmtmsg.h-data: Likewise.
40609 * conform/data/fnmatch.h-data: Likewise.
40610 * conform/data/ftw.h-data: Likewise.
40611 * conform/data/glob.h-data: Likewise.
40612 * conform/data/grp.h-data: Likewise.
40613 * conform/data/iconv.h-data: Likewise.
40614 * conform/data/inttypes.h-data: Likewise.
40615 * conform/data/langinfo.h-data: Likewise.
40616 * conform/data/libgen.h-data: Likewise.
40617 * conform/data/limits.h-data: Likewise.
40618 * conform/data/locale.h-data: Likewise.
40619 * conform/data/math.h-data: Likewise.
40620 * conform/data/monetary.h-data: Likewise.
40621 * conform/data/mqueue.h-data: Likewise.
40622 * conform/data/ndbm.h-data: Likewise.
40623 * conform/data/net/if.h-data: Likewise.
40624 * conform/data/netdb.h-data: Likewise.
40625 * conform/data/netinet/in.h-data: Likewise.
40626 * conform/data/nl_types.h-data: Likewise.
40627 * conform/data/poll.h-data: Likewise.
40628 * conform/data/pthread.h-data: Likewise.
40629 * conform/data/pwd.h-data: Likewise.
40630 * conform/data/regex.h-data: Likewise.
40631 * conform/data/sched.h-data: Likewise.
40632 * conform/data/search.h-data: Likewise.
40633 * conform/data/semaphore.h-data: Likewise.
40634 * conform/data/setjmp.h-data: Likewise.
40635 * conform/data/signal.h-data: Likewise.
40636 * conform/data/spawn.h-data: Likewise.
40637 * conform/data/stdarg.h-data: Likewise.
40638 * conform/data/stdio.h-data: Likewise.
40639 * conform/data/stdlib.h-data: Likewise.
40640 * conform/data/string.h-data: Likewise.
40641 * conform/data/strings.h-data: Likewise.
40642 * conform/data/stropts.h-data: Likewise.
40643 * conform/data/sys/ipc.h-data: Likewise.
40644 * conform/data/sys/mman.h-data: Likewise.
40645 * conform/data/sys/msg.h-data: Likewise.
40646 * conform/data/sys/resource.h-data: Likewise.
40647 * conform/data/sys/select.h-data: Likewise.
40648 * conform/data/sys/sem.h-data: Likewise.
40649 * conform/data/sys/shm.h-data: Likewise.
40650 * conform/data/sys/socket.h-data: Likewise.
40651 * conform/data/sys/stat.h-data: Likewise.
40652 * conform/data/sys/statvfs.h-data: Likewise.
40653 * conform/data/sys/time.h-data: Likewise.
40654 * conform/data/sys/timeb.h-data: Likewise.
40655 * conform/data/sys/times.h-data: Likewise.
40656 * conform/data/sys/types.h-data: Likewise.
40657 * conform/data/sys/uio.h-data: Likewise.
40658 * conform/data/sys/un.h-data: Likewise.
40659 * conform/data/sys/utsname.h-data: Likewise.
40660 * conform/data/sys/wait.h-data: Likewise.
40661 * conform/data/syslog.h-data: Likewise.
40662 * conform/data/tar.h-data: Likewise.
40663 * conform/data/termios.h-data: Likewise.
40664 * conform/data/utime.h-data: Likewise.
40665 * conform/data/utmpx.h-data: Likewise.
40666 * conform/data/varargs.h-data: Likewise.
40667 * conform/data/wchar.h-data: Likewise.
40668 * conform/data/wctype.h-data: Likewise.
40669 * conform/data/wordexp.h-data: Likewise.
40671 * include/stropts.h: New file.
40672 * include/uchar.h: New file.
40673 * include/aio.h: Changes to allow conformtest.pl to use the headers.
40674 * include/assert.h: Likewise.
40675 * include/ctype.h: Likewise.
40676 * include/dirent.h: Likewise.
40677 * include/dlfcn.h: Likewise.
40678 * include/fcntl.h: Likewise.
40679 * include/fnmatch.h: Likewise.
40680 * include/glob.h: Likewise.
40681 * include/grp.h: Likewise.
40682 * include/libio.h: Likewise.
40683 * include/locale.h: Likewise.
40684 * include/math.h: Likewise.
40685 * include/net/if.h: Likewise.
40686 * include/netdb.h: Likewise.
40687 * include/netinet/in.h: Likewise.
40688 * include/pthread.h: Likewise.
40689 * include/pwd.h: Likewise.
40690 * include/regex.h: Likewise.
40691 * include/sched.h: Likewise.
40692 * include/search.h: Likewise.
40693 * include/setjmp.h: Likewise.
40694 * include/signal.h: Likewise.
40695 * include/stdio.h: Likewise.
40696 * include/stdlib.h: Likewise.
40697 * include/string.h: Likewise.
40698 * include/sys/cdefs.h: Likewise.
40699 * include/sys/mman.h: Likewise.
40700 * include/sys/msg.h: Likewise.
40701 * include/sys/resource.h: Likewise.
40702 * include/sys/select.h: Likewise.
40703 * include/sys/socket.h: Likewise.
40704 * include/sys/stat.h: Likewise.
40705 * include/sys/statvfs.h: Likewise.
40706 * include/sys/time.h: Likewise.
40707 * include/sys/times.h: Likewise.
40708 * include/sys/uio.h: Likewise.
40709 * include/sys/utsname.h: Likewise.
40710 * include/sys/wait.h: Likewise.
40711 * include/termios.h: Likewise.
40712 * include/time.h: Likewise.
40713 * include/ulimit.h: Likewise.
40714 * include/unistd.h: Likewise.
40715 * include/utime.h: Likewise.
40716 * include/wchar.h: Likewise.
40717 * include/wctype.h: Likewise.
40718 * include/wordexp.h: Likewise.
40720 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
40722 * time/time.h: TIME_UTC must be a macro.
40723 Make timespec_get available for ISO C11 only as well.
40725 2012-02-24 Ulrich Drepper <drepper@gmail.com>
40727 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
40728 Reported by Peng Haitao <penght@cn.fujitsu.com>.
40730 2012-02-24 Joseph Myers <joseph@codesourcery.com>
40732 * configure.in: Use -o not -a in test for unsupported multi-arch.
40734 2012-02-24 Joseph Myers <joseph@codesourcery.com>
40736 * manual/texinfo.tex: Update to version 2012-01-19.16.
40738 2012-02-24 Joseph Myers <joseph@codesourcery.com>
40740 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
40742 2012-02-24 Roland McGrath <roland@hack.frob.com>
40745 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
40746 * manual/fdl-1.3.texi: New file.
40747 * manual/fdl-1.1.texi: File removed.
40750 * manual/libc.texinfo (FDL_VERSION): New @set.
40751 Use it for mention of FDL in cover text.
40752 (Documentation License): Use it in @include file name.
40754 2012-02-22 Joseph Myers <joseph@codesourcery.com>
40755 Roland McGrath <roland@hack.frob.com>
40758 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
40759 (not LONG_LONG_MAX and LONG_LONG_MIN.
40760 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
40761 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
40763 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
40765 2012-02-22 Joseph Myers <joseph@codesourcery.com>
40769 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
40770 manipulate bits before adding and subtracting TWO23[sx].
40771 * math/libm-test.inc (nearbyint_test): Add more tests.
40773 2012-02-22 Joseph Myers <joseph@codesourcery.com>
40776 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
40777 bits before adding and subtracting TWO23[sx].
40778 * math/libm-test.inc (rint_test): Add more tests.
40779 (rint_test_tonearest): Likewise.
40780 (rint_test_towardzero): Likewise.
40781 (rint_test_downward): Likewise.
40782 (rint_test_upward: Likewise.
40784 2012-02-22 Joseph Myers <joseph@codesourcery.com>
40787 * include/stdc-predef.h: New file. Extracted from features.h.
40788 * include/features.h: Include stdc-predef.h.
40789 * Makefile (headers): Add stdc-predef.h.
40790 * CONFORMANCE (Compiler limitations): Update.
40792 2012-02-22 Joseph Myers <joseph@codesourcery.com>
40794 * manual/libc.texinfo (VERSION, UPDATED): Revert.
40796 2012-02-21 David S. Miller <davem@davemloft.net>
40798 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
40799 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
40801 2012-02-20 David S. Miller <davem@davemloft.net>
40803 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
40804 using a normal save/restore sequence, rather than allocating a
40805 dummy stack frame just to store a frame pointer and restore.
40806 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
40808 2012-02-21 Joseph Myers <joseph@codesourcery.com>
40810 * manual/install.texi: Fix stray word in line-wrapped comment.
40812 2012-02-20 David S. Miller <davem@davemloft.net>
40814 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
40815 both binutils and gcc support GOTDATA.
40817 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
40818 "rd %pc" in the PIC register setup sequences.
40820 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
40821 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
40822 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
40823 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
40824 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
40825 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
40826 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
40827 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
40828 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
40829 (SYSCALL_ERROR_HANDLER): Likewise.
40830 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
40831 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
40832 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
40833 (SYSCALL_ERROR_HANDLER): Likewise.
40835 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
40836 (HAVE_GCC_GOTDATA): New.
40837 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
40838 relocation support in both binutils and gcc.
40839 * sysdeps/sparc/elf/configure: Regenerate.
40841 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
40842 * sysdeps/sparc/sparc32/elf/configure: Delete.
40843 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
40844 * sysdeps/sparc/sparc64/elf/configure: Delete.
40845 * sysdeps/sparc/elf/configure.in: New file.
40846 * sysdeps/sparc/elf/configure: Generate.
40848 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
40849 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
40850 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
40851 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
40852 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
40854 2012-02-21 Joseph Myers <joseph@codesourcery.com>
40856 * manual/install.texi: Do not mention specific glibc version
40858 * manual/libc.texinfo (VERSION, UPDATED): Update.
40859 (@copying): Use @copyright{} and range of years.
40861 2012-02-21 Joseph Myers <joseph@codesourcery.com>
40864 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
40865 [crti.S not in sysdirs] (generated): Do not append.
40866 [crti.S not in sysdirs] (omit-deps): Likewise.
40867 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
40868 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
40869 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
40870 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
40871 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
40873 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
40874 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
40875 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
40876 * csu/defs.awk: Remove file.
40877 * sysdeps/generic/initfini.c: Likewise.
40878 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
40880 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
40883 2012-02-20 Joseph Myers <joseph@codesourcery.com>
40885 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
40886 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
40887 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
40888 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
40889 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
40890 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
40892 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
40893 (__EPOLL_PACKED): Define to empty if not defined by
40895 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
40896 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40899 2012-02-20 Joseph Myers <joseph@codesourcery.com>
40901 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
40902 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
40903 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
40904 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
40906 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
40907 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40910 2012-02-20 Joseph Myers <joseph@codesourcery.com>
40912 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
40914 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
40915 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
40916 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
40917 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40919 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
40921 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
40922 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
40924 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
40926 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
40927 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
40929 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
40931 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
40934 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
40936 * math/w_acos.c: Use non-signaling floating-point comparisons.
40937 * math/w_acosf.c: Likewise.
40938 * math/w_acosh.c: Likewise.
40939 * math/w_acoshf.c: Likewise.
40940 * math/w_acoshl.c: Likewise.
40941 * math/w_acosl.c: Likewise.
40942 * math/w_asin.c: Likewise.
40943 * math/w_asinf.c: Likewise.
40944 * math/w_asinl.c: Likewise.
40945 * math/w_atanh.c: Likewise.
40946 * math/w_atanhf.c: Likewise.
40947 * math/w_atanhl.c: Likewise.
40948 * math/w_exp2.c: Likewise.
40949 * math/w_exp2f.c: Likewise.
40950 * math/w_exp2l.c: Likewise.
40951 * math/w_j0.c: Likewise.
40952 * math/w_j0f.c: Likewise.
40953 * math/w_j0l.c: Likewise.
40954 * math/w_j1.c: Likewise.
40955 * math/w_j1f.c: Likewise.
40956 * math/w_j1l.c: Likewise.
40957 * math/w_jn.c: Likewise.
40958 * math/w_jnf.c: Likewise.
40959 * math/w_log.c: Likewise.
40960 * math/w_log10.c: Likewise.
40961 * math/w_log10f.c: Likewise.
40962 * math/w_log10l.c: Likewise.
40963 * math/w_log2.c: Likewise.
40964 * math/w_log2f.c: Likewise.
40965 * math/w_log2l.c: Likewise.
40966 * math/w_logf.c: Likewise.
40967 * math/w_logl.c: Likewise.
40968 * math/w_sqrt.c: Likewise.
40969 * math/w_sqrtf.c: Likewise.
40970 * math/w_sqrtl.c: Likewise.
40971 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
40972 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
40973 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
40974 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
40975 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
40977 2012-02-19 Joseph Myers <joseph@codesourcery.com>
40980 * manual/string.texi (strnlen): Use correct parameter name in
40981 equivalent expression.
40983 2012-02-19 Joseph Myers <joseph@codesourcery.com>
40986 * manual/users.texi (seteuid): Consistently use neweuid for
40989 2012-02-19 Joseph Myers <joseph@codesourcery.com>
40992 * manual/nss.texi (Services in the NSS configuration): Correct
40993 list of services in example configuration file.
40995 2012-02-19 Nick Bowler <nbowler@draconx.ca>
40998 * manual/arith.texi: Remove statements about negative zero
40999 behaving identically to zero.
41001 2012-02-18 Joseph Myers <joseph@codesourcery.com>
41004 * manual/install.texi: Do not document upgrading from libc5.
41006 2012-02-18 Joseph Myers <joseph@codesourcery.com>
41009 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
41011 2012-02-18 David S. Miller <davem@davemloft.net>
41013 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
41014 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
41015 %o7 across the call.
41016 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
41018 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
41019 SETUP_PIC_REG_LEAF.
41020 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
41021 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
41022 * sysdeps/sparc/crtn.S: Likewise.
41024 2012-02-17 Ulrich Drepper <drepper@gmail.com>
41026 * aout/Makefile: Remove.
41028 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
41031 * manual/examples/argp-ex1.c (main): Format definition in GNU
41033 * manual/examples/argp-ex2.c (main): Likewise.
41034 * manual/examples/argp-ex3.c (main): Likewise.
41035 * manual/examples/argp-ex4.c (main): Likewise.
41036 * manual/examples/longopt.c (main): Use new-style prototype
41038 * manual/examples/strncat.c (main): Specify return type and use
41039 (void) for arguments.
41040 * manual/examples/subopt.c (main): Use char **argv argument.
41042 2012-02-17 Joseph Myers <joseph@codesourcery.com>
41045 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
41048 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
41051 * manual/string.texi (strchr): Change when strchrnul is
41054 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
41057 * manual/locale.texi (setlocale): Document LOCPATH.
41059 2012-02-17 Joseph Myers <joseph@codesourcery.com>
41062 * manual/process.texi (execle): Move @dots{} before last argument.
41064 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
41067 * manual/charset.texi (Generic Charset Conversion): Fix typo
41068 (LC_TYPE -> LC_CTYPE).
41070 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
41073 * manual/arith.texi (scalbn): Use @var{} on parameter names.
41074 (scalbnf): Likewise.
41075 (scalbnl): Likewise.
41076 (scalbln): Likewise.
41077 (scalblnf): Likewise.
41078 (scalblnl): Likewise.
41079 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
41080 (vwarnx): Likewise.
41083 * manual/filesys.texi (telldir): Use braces around return type.
41084 * manual/llio.texi (mmap): Add space after comma.
41085 (mmap64): Likewise.
41086 * manual/math.texi (jn): Use @var{} on parameter names.
41092 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
41094 * manual/resource.texi (ulimit): Use @dots{} instead of literal
41096 (sched_get_priority_min): Remove semicolon on @deftypefun line.
41097 (sched_get_priority_max): Likewise.
41098 * manual/signal.texi (sigvec): Add space after comma.
41099 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
41101 (if_indextoname): Likewise.
41102 (if_freenameindex): Likewise.
41103 (sendto): Use ',' instead of '.' in prototype.
41104 * manual/startup.texi (syscall): Use @dots{} instead of literal
41106 * manual/stdio.texi (__fpending): Separate initial words of
41107 paragraph from @deftypefun line.
41108 * manual/syslog.texi (syslog): Use @dots{} instead of literal
41110 (vsyslog): Use @var{} on parameter names.
41111 * manual/terminal.texi (stty): Use @var{} on parameter names.
41112 * manual/users.texi (getutmp): Use @var{} on parameter names.
41113 (getutmpx): Likewise.
41115 2012-02-17 Joseph Myers <joseph@codesourcery.com>
41118 * manual/stdio.texi (fopen): Fix typos in description of
41121 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
41124 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
41125 get clock_id definition.
41127 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
41130 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
41131 (madvise): Cast every argument to void on its own.
41133 2012-02-17 Joseph Myers <joseph@codesourcery.com>
41136 * manual/startup.texi (Exit Status): Fix typo.
41138 2012-02-17 Joseph Myers <joseph@codesourcery.com>
41141 * manual/examples/argp-ex1.c: Include <stdlib.h>.
41142 * manual/examples/argp-ex2.c: Likewise.
41143 * manual/examples/argp-ex3.c: Likewise.
41145 2012-02-16 Richard Henderson <rth@redhat.com>
41147 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
41148 * sysdeps/s390/s390-32/initfini.c: Remove.
41149 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
41150 * sysdeps/s390/s390-64/initfini.c: Remove.
41152 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
41154 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
41155 compiler output for sysdeps/generic/initfini.c.
41156 * sysdeps/sh/elf/initfini.c: Remove file.
41158 2012-02-16 David S. Miller <davem@davemloft.net>
41161 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
41163 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
41164 * sysdeps/sparc/crti.S: New file.
41165 * sysdeps/sparc/crtn.S: New file.
41166 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
41167 * sysdeps/sparc/sparc64/Makefile: Likewise.
41169 2012-02-15 Mike Frysinger <vapier@gentoo.org>
41172 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
41174 2012-02-15 Roland McGrath <roland@hack.frob.com>
41177 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
41179 * mach/devstream.c (cookie_io_functions_t): Macro removed.
41180 (write, read, close): Likewise.
41181 Patch by Aurelien Jarno <aurelien@aurel32.net>.
41183 2012-02-15 Joseph Myers <joseph@codesourcery.com>
41185 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
41186 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
41187 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
41188 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
41190 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
41191 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41194 2012-02-14 Marek Polacek <polacek@redhat.com>
41196 * sysdeps/x86_64/crti.S: New file.
41197 * sysdeps/x86_64/crtn.S: New file.
41198 * sysdeps/x86_64/elf/initfini.c: Remove file.
41200 2012-02-13 Joseph Myers <joseph@codesourcery.com>
41202 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
41203 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
41204 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
41205 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
41207 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
41208 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41211 2012-02-13 Joseph Myers <joseph@codesourcery.com>
41213 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
41214 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
41215 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
41216 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
41218 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
41219 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41222 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
41224 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
41225 __feraiseexcept instead of feraiseexcept.
41227 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
41228 nanosleep invocations.
41229 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
41230 strings, and add error checking for a nanosleep invocations.
41232 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
41234 Replace FSF snail mail address with URLs, as per GNU coding standards.
41235 Most of the snail mail addresses were wrong anyway, and omitting
41236 them makes the source code easier to maintain. Almost all of the
41237 changes are to license notices and to locale LC_IDENTIFICATION
41238 addresses, except for this one:
41239 * manual/libc.texinfo: In "Published by", give the FSF's URL,
41240 not its snail mail address.
41242 2012-02-09 Richard Henderson <rth@twiddle.net>
41244 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
41245 of kernel-features.h.
41247 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
41249 2012-02-08 Marek Polacek <polacek@redhat.com>
41251 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
41252 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
41253 * sysdeps/gnu/_G_config.h: Likewise.
41254 * sysdeps/generic/_G_config.h: Likewise.
41256 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
41258 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
41260 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41262 * sysdeps/powerpc/powerpc32/crti.S: New file.
41263 * sysdeps/powerpc/powerpc32/crtn.S: New file.
41264 * sysdeps/powerpc/powerpc64/crti.S: New file.
41265 * sysdeps/powerpc/powerpc64/crtn.S: New file.
41267 * Makeconfig (have-initfini): Don't set.
41268 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
41269 * configure.in (nopic_initfini): Don't substitute.
41270 * config.h.in (HAVE_INITFINI): Don't #undef.
41271 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
41272 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
41274 2012-02-08 Joseph Myers <joseph@codesourcery.com>
41276 Support crti.S and crtn.S provided directly by architectures.
41277 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
41278 [crti.S in sysdirs] (omit-deps): Likewise.
41279 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
41280 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
41281 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
41282 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
41283 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
41284 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
41285 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
41286 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
41287 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
41288 compiler output for sysdeps/generic/initfini.c.
41289 * sysdeps/i386/elf/Makefile: Remove file.
41290 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
41292 2012-02-07 Marek Polacek <polacek@redhat.com>
41294 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
41295 * sysdeps/gnu/_G_config.h: Likewise.
41296 * sysdeps/mach/hurd/_G_config.h: Likewise.
41298 2012-02-07 Marek Polacek <polacek@redhat.com>
41300 * math/Makefile (tests): Add tst-CMPLX2.
41301 * math/tst-CMPLX2.c: New file.
41303 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
41305 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
41307 * math/libm-test.inc (jn_test): Add missing L suffix.
41309 2012-02-06 Marek Polacek <polacek@redhat.com>
41311 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
41312 * sysdeps/i386/fpu/e_powf.S: Likewise.
41313 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
41314 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
41315 * sysdeps/i386/fpu/e_acosh.S: Likewise.
41316 * sysdeps/i386/fpu/e_pow.S: Likewise.
41317 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
41318 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
41319 * sysdeps/i386/fpu/s_expm1.S: Likewise.
41320 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
41321 * sysdeps/i386/fpu/e_log2.S: Likewise.
41322 * sysdeps/i386/fpu/e_log2l.S: Likewise.
41323 * sysdeps/i386/fpu/e_scalb.S: Likewise.
41324 * sysdeps/i386/fpu/e_powl.S: Likewise.
41325 * sysdeps/i386/fpu/s_log1p.S: Likewise.
41326 * sysdeps/i386/fpu/e_log10f.S: Likewise.
41327 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
41328 * sysdeps/i386/fpu/e_logl.S: Likewise.
41329 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
41330 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
41331 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
41332 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
41333 * sysdeps/i386/fpu/e_log2f.S: Likewise.
41334 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
41335 * sysdeps/i386/fpu/e_log.S: Likewise.
41336 * sysdeps/i386/fpu/s_cexp.S: Likewise.
41337 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
41338 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
41339 * sysdeps/i386/fpu/e_logf.S: Likewise.
41340 * sysdeps/i386/fpu/e_log10l.S: Likewise.
41341 * sysdeps/i386/fpu/e_atanh.S: Likewise.
41342 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
41343 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
41344 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
41345 * sysdeps/i386/fpu/e_log10.S: Likewise.
41346 * sysdeps/i386/fpu/s_frexp.S: Likewise.
41347 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
41348 * sysdeps/i386/fpu/s_asinh.S: Likewise.
41349 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
41350 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
41351 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
41352 * sysdeps/i386/asm-syntax.h: Likewise.
41353 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
41354 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
41355 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
41356 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
41357 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
41358 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
41359 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
41360 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
41361 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
41362 * sysdeps/powerpc/sysdep.h: Likewise.
41363 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
41364 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
41366 2012-02-06 Joseph Myers <joseph@codesourcery.com>
41369 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
41371 2012-02-06 Joseph Myers <joseph@codesourcery.com>
41373 * sysdeps/i386/sysdep.h: Include <features.h>.
41374 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
41377 2012-02-05 Joseph Myers <joseph@codesourcery.com>
41379 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
41381 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
41384 2012-02-03 Joseph Myers <joseph@codesourcery.com>
41386 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
41387 (SETUP_PIC_REG): Use GET_PC_THUNK.
41388 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
41391 2012-02-03 Joseph Myers <joseph@codesourcery.com>
41393 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
41394 for non-PIC compilation.
41395 (SETUP_PIC_REG): Add .p2align directive.
41396 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
41397 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
41398 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
41399 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
41400 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
41401 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
41402 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
41403 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
41404 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
41405 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
41406 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
41407 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
41408 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
41409 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
41410 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
41411 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
41412 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
41413 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
41414 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
41415 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
41416 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
41417 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
41418 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
41419 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
41420 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
41421 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
41422 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
41423 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
41424 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
41425 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
41426 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
41427 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
41428 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
41429 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
41430 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
41431 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
41432 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
41433 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
41434 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
41435 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
41436 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
41438 2012-02-03 Joseph Myers <joseph@codesourcery.com>
41440 * math/tst-CMPLX.c: Include <stdio.h>.
41442 2012-01-31 Joseph Myers <joseph@codesourcery.com>
41444 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
41446 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
41447 * sysdeps/sparc/bits/mathdef.h: Likewise.
41449 2012-01-31 Marek Polacek <polacek@redhat.com>
41451 * libio/libio.h: Don't define _PARAMS.
41452 * locale/programs/config.h: Don't define PARAMS.
41453 * stdlib/strtol_l.c: Likewise.
41454 (__strtol_l): Remove PARAMS from the prototype.
41456 2012-01-31 Ulrich Drepper <drepper@gmail.com>
41458 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
41459 names. Just use the correct names. Remove unnecessary wrapper
41461 * malloc/arena.c: Likewise.
41462 * malloc/hooks.c: Likewise.
41464 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
41465 ARENA_TEST says not to. Simplify test for creation of a new arena.
41466 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
41468 2012-01-30 Ulrich Drepper <drepper@gmail.com>
41470 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
41472 (update_get_addr): New function.
41473 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
41474 GET_ADDR_MODULE parameter.
41476 2012-01-30 Joseph Myers <joseph@codesourcery.com>
41478 * crypt/cert.c: Remove __STDC__ conditionals.
41479 * crypt/crypt-entry.c: Likewise.
41480 * crypt/crypt_util.c: Likewise.
41481 * libio/filedoalloc.c: Likewise.
41482 * libio/fileops.c: Likewise.
41483 * libio/genops.c: Likewise.
41484 * libio/iofclose.c: Likewise.
41485 * libio/iofdopen.c: Likewise.
41486 * libio/iofopen.c: Likewise.
41487 * libio/iofopen64.c: Likewise.
41488 * libio/iogetdelim.c: Likewise.
41489 * libio/iopopen.c: Likewise.
41490 * libio/obprintf.c: Likewise.
41491 * libio/oldfileops.c: Likewise.
41492 * libio/oldiofclose.c: Likewise.
41493 * libio/oldiofdopen.c: Likewise.
41494 * libio/oldiofopen.c: Likewise.
41495 * libio/oldiopopen.c: Likewise.
41496 * libio/wfiledoalloc.c: Likewise.
41497 * libio/wgenops.c: Likewise.
41498 * locale/programs/xmalloc.c: Likewise.
41499 * misc/syslog.c: Likewise.
41500 * stdio-common/xbug.c: Likewise.
41501 * string/memchr.c: Likewise.
41502 * string/memcmp.c: Likewise.
41503 * string/memrchr.c: Likewise.
41504 * string/rawmemchr.c: Likewise.
41505 * sysdeps/posix/getcwd.c: Likewise.
41506 * time/strftime_l.c: Likewise.
41508 2012-01-30 Joseph Myers <joseph@codesourcery.com>
41510 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
41511 * config.make.in (config-cflags-sse2avx): Define.
41512 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
41515 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
41517 * scripts/config.guess: Update from upstream config git repository.
41518 * scripts/config.sub: Likewise.
41520 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
41522 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
41524 (R_TILEPRO_*, R_TILEGX_*): New macros.
41526 * scripts/firstversions.awk: Fix bug in version range handling.
41528 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
41530 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
41532 * include/sys/epoll.h: New file.
41533 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
41536 2012-01-28 Ulrich Drepper <drepper@gmail.com>
41538 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
41539 Avoid unnecessary __WORDSIZE == 64 test.
41540 (fmaxf): Use VEX format if possible.
41545 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
41546 * math/math_private.h: Remove libc_fegetround* and
41548 * sysdeps/i386/configure.in: Check for -msse2avx.
41549 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
41550 also if SSE2AVX is defined.
41551 Remove libc_fegetround* and libc_fesetround*.
41552 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
41553 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
41554 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
41556 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
41557 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
41558 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
41559 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
41560 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
41562 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
41564 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41566 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
41568 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
41570 2012-01-27 Ulrich Drepper <drepper@gmail.com>
41573 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
41575 * Makeconfig (libm): Define.
41576 * elf/Makefile: Add rules to build and run tst-relsort1.
41577 * elf/tst-relsort1.c: New file.
41578 * elf/tst-relsort1mod1.c: New file.
41579 * elf/tst-relsort1mod2.c: New file.
41581 2012-01-27 Joseph Myers <joseph@codesourcery.com>
41583 * math/s_ldexp.c: Remove __STDC__ conditionals.
41584 * math/s_ldexpf.c: Likewise.
41585 * math/s_ldexpl.c: Likewise.
41586 * math/s_nextafter.c: Likewise.
41587 * math/s_nexttowardf.c: Likewise.
41588 * math/s_significand.c: Likewise.
41589 * math/s_significandf.c: Likewise.
41590 * math/s_significandl.c: Likewise.
41591 * math/w_jnl.c: Likewise.
41592 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
41593 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
41594 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
41595 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
41596 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
41597 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
41598 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
41599 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
41600 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
41601 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
41602 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
41603 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
41604 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
41605 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
41606 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
41607 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
41608 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
41609 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
41610 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
41611 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
41612 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
41613 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
41614 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
41615 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
41616 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
41617 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
41618 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
41619 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
41620 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
41621 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
41622 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
41623 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
41624 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
41625 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
41626 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
41627 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
41628 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
41629 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
41630 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
41631 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
41632 * sysdeps/ieee754/k_standard.c: Likewise.
41633 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
41634 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
41635 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
41636 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
41637 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
41638 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
41639 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
41640 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
41641 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
41642 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
41643 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
41644 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
41645 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
41646 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
41647 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
41648 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
41649 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
41650 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
41651 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
41652 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
41653 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
41654 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
41655 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
41656 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
41657 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
41658 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
41659 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
41660 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
41661 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
41662 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
41663 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
41664 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
41665 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
41666 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
41667 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
41668 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
41669 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
41670 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
41671 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
41672 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
41673 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
41674 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
41675 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
41676 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
41677 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
41678 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
41679 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
41680 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
41681 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
41682 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
41683 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
41684 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
41685 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
41686 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
41687 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
41688 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
41689 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
41690 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
41691 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
41692 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
41693 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
41694 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
41695 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
41696 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
41697 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
41698 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
41699 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
41700 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
41701 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
41702 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
41703 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
41704 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
41705 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
41706 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
41707 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
41708 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
41709 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
41710 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
41711 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
41712 * sysdeps/ieee754/s_matherr.c: Likewise.
41713 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
41714 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
41715 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
41716 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
41718 2012-01-26 Joseph Myers <joseph@codesourcery.com>
41720 * crypt/md5.h: Remove __STDC__ conditionals.
41721 * libio/libioP.h: Likewise.
41722 * locale/programs/config.h: Likewise.
41723 * sysdeps/generic/sysdep.h: Likewise.
41724 * sysdeps/i386/asm-syntax.h: Likewise.
41725 * sysdeps/s390/asm-syntax.h: Likewise.
41726 * sysdeps/unix/sysdep.h: Likewise.
41727 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
41728 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
41730 2012-01-26 Joseph Myers <joseph@codesourcery.com>
41732 * libio/libio.h: Remove __STDC__ conditionals.
41733 * malloc/obstack.h: Likewise.
41734 * math/complex.h: Likewise.
41735 * math/math.h: Likewise.
41736 * sysdeps/generic/_G_config.h: Likewise.
41737 * sysdeps/gnu/_G_config.h: Likewise.
41738 * sysdeps/mach/hurd/_G_config.h: Likewise.
41739 * sysdeps/powerpc/bits/mathdef.h: Likewise.
41740 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
41741 * sysdeps/sparc/bits/mathdef.h: Likewise.
41743 2012-01-26 Ulrich Drepper <drepper@gmail.com>
41746 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
41747 Clean up HAS_* macros.
41748 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
41749 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
41751 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
41753 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
41754 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
41755 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
41756 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
41757 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
41759 2012-01-25 Joseph Myers <joseph@codesourcery.com>
41761 * elf/tst-unique3.cc (gets): Remove declaration.
41762 * elf/tst-unique3lib.cc (gets): Likewise.
41763 * elf/tst-unique3lib2.cc (gets): Likewise.
41764 * elf/tst-unique4.cc (gets): Likewise.
41766 2012-01-24 Ulrich Drepper <drepper@gmail.com>
41768 * include/stdio.h: Add C++ protection. Add gets declarations and
41770 * debug/tst-chk1.c: Don't declare gets here.
41771 * stdio-common/tst-gets.c: Likewise.
41773 2012-01-24 Joseph Myers <joseph@codesourcery.com>
41775 * posix/glob: Remove directory.
41777 2012-01-24 Joseph Myers <joseph@codesourcery.com>
41779 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
41781 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
41783 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
41784 of the non-standard EPFNOSUPPORT.
41786 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
41788 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
41789 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
41790 ANYWHERE set to 1 only on KERN_NO_SPACE error.
41792 2012-01-21 Ulrich Drepper <drepper@gmail.com>
41794 * wcsmbs/uchar.h: Test __STDC_VERSION__.
41796 2012-01-20 Ulrich Drepper <drepper@gmail.com>
41798 * nscd/aicache.c (addhstaiX): Do not cache negative results of
41800 * nscd/grpcache.c (cache_addgr): Likewise.
41801 * nscd/hstcache.c (cache_addhst): Likewise.
41802 * nscd/initgrcache.c (addinitgroupsX): Likewise.
41803 * nscd/pwdcache.c (cache_addpw): Likewise.
41804 * nscd/servicescache.c (cache_addserv): Likewise.
41806 2012-01-16 Ulrich Drepper <drepper@gmail.com>
41808 * malloc/malloc.c: Various cleanups.
41809 * malloc/hooks.c: Likewise.
41811 * stdlib/Makefile (tests): Add bug-fmtmsg1.
41812 * stdlib/bug-fmtmsg1.c: New file.
41814 * stdlib/fmtmsg.c (init): Add missing unlock.
41815 Patch by Peng Haitao <penght@cn.fujitsu.com>.
41817 2012-01-12 Marek Polacek <polacek@redhat.com>
41819 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
41822 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
41824 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
41825 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
41826 macro to ensure uniqueness of label name.
41827 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
41828 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
41830 2012-01-11 Ulrich Drepper <drepper@gmail.com>
41832 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
41834 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
41835 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
41836 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
41837 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
41839 2012-01-10 Ulrich Drepper <drepper@gmail.com>
41841 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
41843 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
41844 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
41845 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
41847 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
41849 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
41850 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
41851 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41852 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
41854 * math/bits/math-finite.h: Add ldexp support.
41856 2012-01-10 Marek Polacek <polacek@redhat.com>
41858 * locale/programs/localedef.h (show_archive_content): Add noreturn
41861 2012-01-09 Ulrich Drepper <drepper@gmail.com>
41863 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
41865 2012-01-08 Ulrich Drepper <drepper@gmail.com>
41867 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
41869 * io/Makefile (headers): Add bits/poll2.h.
41871 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
41873 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
41874 typo #include statement.
41876 2012-01-08 Ulrich Drepper <drepper@gmail.com>
41878 * include/sys/cdefs.h: Define __attribute_alloc_size.
41879 * catgets/gencat.c: Add alloc_size attribute and apply consistently
41880 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
41881 * elf/pldd.c: Likewise.
41882 * iconv/iconv_charmap.c: Likewise.
41883 * iconv/iconvconfig.c: Likewise.
41884 * iconv/strtab.c: Likewise.
41885 * locale/programs/locale.c: Likewise.
41886 * locale/programs/localedef.h: Likewise.
41887 * locale/programs/simple-hash.c: Likewise.
41888 * nscd/nscd.h: Likewise.
41889 * nss/makedb.c: Likewise.
41890 * sysdeps/generic/ldconfig.h: Likewise.
41891 * locale/programs/localedef.c: Remove xmalloc prototype.
41892 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
41894 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
41896 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
41899 2012-01-08 Ulrich Drepper <drepper@gmail.com>
41901 * math/Makefile (tests): Add tst-CMPLX.
41902 * math/tst-CMPLX.c: New file.
41904 * math/complex.h (CMPLXL): Fix typo.
41906 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
41907 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
41909 * debug/tst-chk1.c: Add poll and ppoll tests.
41910 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
41911 * include/sys/poll.h: Add hidden proto for ppoll.
41912 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
41913 * sysdeps/mach/hurd/ppoll.c: Likewise.
41914 * io/ppoll.c: Likewise.
41915 * debug/poll_chk.c: New file.
41916 * debug/ppoll_chk.c: New file.
41917 * include/bits/poll2.h: New file.
41918 * io/bits/poll2.h: New file.
41921 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
41923 * configure.in: static is always set to yes. Remove.
41924 * config.make.in: Don't set build-static.
41925 * Makeconfig: Remove use of build-static.
41926 * dlfcn/Makefile: Likewise.
41927 * elf/Makefile: Likewise.
41928 * math/Makefile: Likewise.
41929 * misc/Makefile: Likewise.
41930 * nptl/Makefile: Likewise.
41931 * sysdeps/mach/hurd/Makefile: Likewise.
41933 * configure.in: PWD_P is not used anymore.
41934 * config.make.in: Remove PWD_P entry.
41936 * configure.in: Remove last remnants of RANLIB.
41937 No need to check for signed size_t anymore.
41938 Don't set libc_commonpagesize and libc_relro_required here for Alpha
41940 Remove __builtin_expect test because we require at least gcc 3.4.
41941 * aclocal.m4: Likewise.
41943 * wcsmbs/mbrtoc16.c: Implement using towc function.
41944 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
41945 * wcsmbs/wcsmbsload.c: Likewise.
41946 * iconv/gconv_simple.c: Likewise.
41947 * iconv/gconv_int.h: Likewise.
41948 * iconv/gconv_builtin.h: Likewise.
41949 * iconv/iconv_prog.c: Remove CHAR16 handling.
41951 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
41953 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
41955 * configure.in: Remove --with-elf and --enable-bounded options.
41956 Dont set base_machine for ia64. More non-ELF conditions removed.
41957 Remove testing and setting of leading underscore information.
41958 * config.make.in (build-bounded): Set to no.
41959 * config.h.in: Remove NO_UNDERSCORES entry.
41960 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
41962 * csu/start.c: Remove !NO_UNDERSCORE code.
41963 * locale/localeinfo.h: Likewise.
41964 * sysdeps/generic/machine-gmon.h: Likewise.
41965 * sysdeps/generic/sysdep.h: Likewise.
41966 * sysdeps/i386/sysdep.h: Likewise.
41967 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
41968 * sysdeps/mach/sysdep.h: Likewise.
41969 * sysdeps/s390/s390-32/sysdep.h: Likewise.
41970 * sysdeps/s390/s390-64/sysdep.h: Likewise.
41971 * sysdeps/sh/sysdep.h: Likewise.
41972 * sysdeps/sparc/sparc32/alloca.S: Likewise.
41973 * sysdeps/unix/i386/sysdep.S: Likewise.
41974 * sysdeps/unix/sparc/start.c: Likewise.
41975 * sysdeps/unix/sparc/sysdep.S: Likewise.
41976 * sysdeps/unix/sparc/sysdep.h: Likewise.
41977 * sysdeps/unix/start.c: Likewise.
41978 * sysdeps/unix/x86_64/sysdep.S: Likewise.
41979 * sysdeps/x86_64/sysdep.h: Likewise.
41981 2012-01-07 Ulrich Drepper <drepper@gmail.com>
41984 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
41986 * argp/argp-fmtstream.h: Use const instead __const.
41987 * argp/argp.h: Likewise.
41988 * assert/assert.h: Likewise.
41989 * bits/fenv.h: Likewise.
41990 * bits/sched.h: Likewise.
41991 * bits/sigset.h: Likewise.
41992 * bits/sigthread.h: Likewise.
41993 * catgets/nl_types.h: Likewise.
41994 * conform/data/pthread.h-data: Likewise.
41995 * crypt/crypt-private.h: Likewise.
41996 * crypt/crypt.h: Likewise.
41997 * crypt/crypt_util.c: Likewise.
41998 * ctype/ctype.h: Likewise.
41999 * debug/execinfo.h: Likewise.
42000 * debug/mbsnrtowcs_chk.c: Likewise.
42001 * debug/mbsrtowcs_chk.c: Likewise.
42002 * debug/wcsnrtombs_chk.c: Likewise.
42003 * debug/wcsrtombs_chk.c: Likewise.
42004 * debug/wcstombs_chk.c: Likewise.
42005 * dirent/dirent.h: Likewise.
42006 * dlfcn/dlfcn.h: Likewise.
42007 * elf/neededtest4.c: Likewise.
42008 * grp/grp.h: Likewise.
42009 * gshadow/gshadow.h: Likewise.
42010 * iconv/gconv.h: Likewise.
42011 * iconv/gconv_int.h: Likewise.
42012 * iconv/gconv_simple.c: Likewise.
42013 * iconv/iconv.h: Likewise.
42014 * iconv/loop.c: Likewise.
42015 * iconv/skeleton.c: Likewise.
42016 * include/aio.h: Likewise.
42017 * include/aliases.h: Likewise.
42018 * include/argz.h: Likewise.
42019 * include/arpa/inet.h: Likewise.
42020 * include/assert.h: Likewise.
42021 * include/dirent.h: Likewise.
42022 * include/dlfcn.h: Likewise.
42023 * include/execinfo.h: Likewise.
42024 * include/fcntl.h: Likewise.
42025 * include/fenv.h: Likewise.
42026 * include/glob.h: Likewise.
42027 * include/grp.h: Likewise.
42028 * include/libintl.h: Likewise.
42029 * include/mntent.h: Likewise.
42030 * include/netdb.h: Likewise.
42031 * include/pwd.h: Likewise.
42032 * include/rpc/netdb.h: Likewise.
42033 * include/sched.h: Likewise.
42034 * include/search.h: Likewise.
42035 * include/shadow.h: Likewise.
42036 * include/signal.h: Likewise.
42037 * include/stdio.h: Likewise.
42038 * include/stdlib.h: Likewise.
42039 * include/string.h: Likewise.
42040 * include/sys/socket.h: Likewise.
42041 * include/sys/stat.h: Likewise.
42042 * include/sys/statfs.h: Likewise.
42043 * include/sys/statvfs.h: Likewise.
42044 * include/sys/syslog.h: Likewise.
42045 * include/sys/time.h: Likewise.
42046 * include/sys/uio.h: Likewise.
42047 * include/time.h: Likewise.
42048 * include/unistd.h: Likewise.
42049 * include/utmp.h: Likewise.
42050 * include/wchar.h: Likewise.
42051 * include/wctype.h: Likewise.
42052 * inet/aliases.h: Likewise.
42053 * inet/arpa/inet.h: Likewise.
42054 * inet/netinet/ether.h: Likewise.
42055 * inet/netinet/in.h: Likewise.
42056 * intl/libintl.h: Likewise.
42057 * io/bits/fcntl2.h: Likewise.
42058 * io/fcntl.h: Likewise.
42059 * io/ftw.h: Likewise.
42060 * io/sys/poll.h: Likewise.
42061 * io/sys/stat.h: Likewise.
42062 * io/sys/statfs.h: Likewise.
42063 * io/sys/statvfs.h: Likewise.
42064 * io/utime.h: Likewise.
42065 * libio/bits/stdio.h: Likewise.
42066 * libio/bits/stdio2.h: Likewise.
42067 * libio/libio.h: Likewise.
42068 * libio/libioP.h: Likewise.
42069 * libio/stdio.h: Likewise.
42070 * locale/lc-ctype.c: Likewise.
42071 * locale/locale.h: Likewise.
42072 * login/utmp.h: Likewise.
42073 * malloc/arena.c: Likewise.
42074 * malloc/malloc.c: Likewise.
42075 * malloc/malloc.h: Likewise.
42076 * malloc/mcheck.c: Likewise.
42077 * malloc/mtrace.c: Likewise.
42078 * math/bits/mathcalls.h: Likewise.
42079 * math/fenv.h: Likewise.
42080 * math/math_private.h: Likewise.
42081 * misc/bits/error.h: Likewise.
42082 * misc/bits/syslog.h: Likewise.
42083 * misc/err.h: Likewise.
42084 * misc/error.h: Likewise.
42085 * misc/fstab.h: Likewise.
42086 * misc/mntent.h: Likewise.
42087 * misc/regexp.h: Likewise.
42088 * misc/search.h: Likewise.
42089 * misc/sgtty.h: Likewise.
42090 * misc/sys/mman.h: Likewise.
42091 * misc/sys/syslog.h: Likewise.
42092 * misc/sys/uio.h: Likewise.
42093 * misc/sys/xattr.h: Likewise.
42094 * misc/ttyent.h: Likewise.
42095 * nis/rpcsvc/ypclnt.h: Likewise.
42096 * nss/nss.h: Likewise.
42097 * posix/bits/unistd.h: Likewise.
42098 * posix/fnmatch.h: Likewise.
42099 * posix/glob.h: Likewise.
42100 * posix/sched.h: Likewise.
42101 * posix/spawn.h: Likewise.
42102 * posix/sys/wait.h: Likewise.
42103 * posix/unistd.h: Likewise.
42104 * posix/wordexp.h: Likewise.
42105 * pwd/pwd.h: Likewise.
42106 * resolv/netdb.h: Likewise.
42107 * resource/sys/resource.h: Likewise.
42108 * rt/aio.h: Likewise.
42109 * rt/bits/mqueue2.h: Likewise.
42110 * rt/mqueue.h: Likewise.
42111 * shadow/shadow.h: Likewise.
42112 * signal/signal.h: Likewise.
42113 * socket/send.c: Likewise.
42114 * socket/sendto.c: Likewise.
42115 * socket/sys/socket.h: Likewise.
42116 * stdio-common/printf.h: Likewise.
42117 * stdlib/bits/stdlib.h: Likewise.
42118 * stdlib/fmtmsg.h: Likewise.
42119 * stdlib/monetary.h: Likewise.
42120 * stdlib/stdlib.h: Likewise.
42121 * stdlib/ucontext.h: Likewise.
42122 * streams/stropts.h: Likewise.
42123 * string/argz.h: Likewise.
42124 * string/bits/string2.h: Likewise.
42125 * string/string.h: Likewise.
42126 * string/strings.h: Likewise.
42127 * sunrpc/rpc/auth.h: Likewise.
42128 * sunrpc/rpc/auth_des.h: Likewise.
42129 * sunrpc/rpc/clnt.h: Likewise.
42130 * sunrpc/rpc/netdb.h: Likewise.
42131 * sunrpc/rpc/pmap_clnt.h: Likewise.
42132 * sunrpc/rpc/xdr.h: Likewise.
42133 * sysdeps/generic/inttypes.h: Likewise.
42134 * sysdeps/generic/net/if.h: Likewise.
42135 * sysdeps/generic/sys/swap.h: Likewise.
42136 * sysdeps/gnu/net/if.h: Likewise.
42137 * sysdeps/gnu/utmpx.h: Likewise.
42138 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
42139 * sysdeps/i386/i486/bits/string.h: Likewise.
42140 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
42141 * sysdeps/s390/bits/string.h: Likewise.
42142 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
42143 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
42144 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
42145 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
42146 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
42147 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
42148 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
42149 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
42150 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
42151 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
42152 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
42153 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
42154 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
42155 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
42156 * sysdeps/unix/sysv/linux/readv.c: Likewise.
42157 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
42158 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
42159 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
42160 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
42161 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
42162 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
42163 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
42164 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
42165 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
42166 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
42167 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
42168 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
42169 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
42170 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
42171 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
42172 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
42173 * sysvipc/sys/ipc.h: Likewise.
42174 * sysvipc/sys/msg.h: Likewise.
42175 * sysvipc/sys/sem.h: Likewise.
42176 * sysvipc/sys/shm.h: Likewise.
42177 * termios/termios.h: Likewise.
42178 * time/sys/time.h: Likewise.
42179 * time/time.h: Likewise.
42180 * wcsmbs/bits/wchar2.h: Likewise.
42181 * wcsmbs/uchar.h: Likewise.
42182 * wcsmbs/wchar.h: Likewise.
42183 * wctype/wctype.h: Likewise.
42186 * Makeconfig: Remove all but ELF support including AIX support.
42187 * Makerules: Likewise.
42188 * config.h.in: Likewise.
42189 * config.make.in: Likewise.
42190 * configure: Likewise.
42191 * configure.in: Likewise.
42192 * csu/Makefile: Likewise.
42193 * csu/version.c: Likewise.
42194 * debug/Makefile: Likewise.
42195 * dlfcn/Makefile: Likewise.
42196 * elf/Makefile: Likewise.
42197 * extra-lib.mk: Likewise.
42198 * iconv/Makefile: Likewise.
42199 * include/libc-symbols.h: Likewise.
42200 * include/shlib-compat.h: Likewise.
42201 * resolv/Makefile: Likewise.
42202 * resolv/res_libc.c: Likewise.
42203 * rt/Makefile: Likewise.
42204 * sysdeps/i386/asm-syntax.h: Likewise.
42205 * sysdeps/i386/sysdep.h: Likewise.
42206 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
42207 * sysdeps/mach/sysdep.h: Likewise.
42208 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
42209 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
42210 * sysdeps/s390/asm-syntax.h: Likewise.
42211 * sysdeps/s390/s390-32/sysdep.h: Likewise.
42212 * sysdeps/s390/s390-64/sysdep.h: Likewise.
42213 * sysdeps/sh/sysdep.h: Likewise.
42214 * sysdeps/unix/sparc/sysdep.h: Likewise.
42215 * sysdeps/wordsize-32/divdi3.c: Likewise.
42216 * sysdeps/x86_64/sysdep.h: Likewise.
42218 * argp/Versions: Remove _argp_unlock_xxx.
42221 * abilist/ld.abilist: Update. Adjust for removal of tls option.
42222 * abilist/libBrokenLocale.abilist: Likewise.
42223 * abilist/libanl.abilist: Likewise.
42224 * abilist/libc.abilist: Likewise.
42225 * abilist/libcrypt.abilist: Likewise.
42226 * abilist/libdl.abilist: Likewise.
42227 * abilist/libm.abilist: Likewise.
42228 * abilist/libnsl.abilist: Likewise.
42229 * abilist/libpthread.abilist: Likewise.
42230 * abilist/libresolv.abilist: Likewise.
42231 * abilist/librt.abilist: Likewise.
42232 * abilist/libthread_db.abilist: Likewise.
42233 * abilist/libutil.abilist: Likewise.
42234 * abilist/libnss_db.abilist: New file.
42236 * scripts/abilist.awk: Add support for indirect functions.
42238 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
42240 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
42242 * shlib-versions: Remove entries for ports architectures.
42244 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
42246 * elf/stackguard-macros.h: Remove support for IA-64.
42247 * elf/tst-auditmod1.c: Likewise.
42248 * sysdeps/generic/ldsodefs.h: Likewise.
42250 * sysdeps/unix/sysv/linux/configure.in: Ports should define
42251 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
42255 * configure.in: Remove --enable-omitfp support.
42257 * config.make.in: Likewise.
42258 * Makeconfig: Likewise.
42259 * manual/install.texi: Likewise.
42261 In case anyone cares, the IA-64 architecture could move to ports.
42262 * sysdeps/ia64/*: Removed.
42263 * sysdeps/unix/sysv/linux/ia64/*: Removed.
42264 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
42267 * configure.in: Remove entries for unsupported architectures.
42270 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
42271 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
42273 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
42274 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
42275 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
42276 fall back to using wcrtomb.
42277 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
42278 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
42280 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
42281 * wcsmbs/tst-c16c32-1.c: New file.
42283 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
42286 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
42288 * elf/tst-unique3.cc: Add explicit declaration of gets.
42289 * elf/tst-unique3lib.cc: Likewise.
42290 * elf/tst-unique3lib2.cc: Likewise.
42291 * elf/tst-unique4.cc: Likewise.
42293 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
42295 2012-01-06 Joseph Myers <joseph@codesourcery.com>
42298 * assert/assert.h (static_assert): Don't define for C++.
42299 * libio/stdio.h (gets): Do declare for C++ <= C++11.
42300 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
42302 2012-01-03 Ulrich Drepper <drepper@gmail.com>
42304 * iconv/loop.c (single loop): Fix assertion in storing of
42307 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
42309 2012-01-01 Ulrich Drepper <drepper@gmail.com>
42311 * posix/getconf.c: Update copyright year.
42312 * nss/getent.c: Likewise.
42313 * nss/makedb.c: Likewise.
42314 * iconv/iconvconfig.c: Likewise.
42315 * iconv/iconv_prog.c: Likewise.
42316 * elf/ldconfig.c: Likewise.
42317 * elf/pldd.c: Likewise.
42318 * elf/sotruss.ksh: Likewise.
42319 * catgets/gencat.c: Likewise.
42320 * csu/version.c: Likewise.
42321 * elf/ldd.bash.in: Likewise.
42322 * elf/sprof.c (print_version): Likewise.
42323 * locale/programs/locale.c: Likewise.
42324 * locale/programs/localedef.c: Likewise.
42325 * login/programs/pt_chown.c: Likewise.
42326 * nscd/nscd.c (print_version): Likewise.
42327 * debug/xtrace.sh: Likewise.
42328 * malloc/memusage.sh: Likewise.
42329 * malloc/mtrace.pl: Likewise.
42330 * debug/catchsegv.sh: Likewise.
42332 2011-12-30 Jakub Jelinek <jakub@redhat.com>
42334 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
42337 2011-12-24 Ulrich Drepper <drepper@gmail.com>
42340 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
42341 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
42343 * iconv/gconv_int.h: Likewise.
42344 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
42345 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
42346 from libc for GLIBC_2.16.
42347 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
42348 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
42349 * wcsmbs/uchar.h: Really define mbstate_t.
42350 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
42351 * wcsmbs/c16rtomb.c: New file.
42352 * wcsmbs/mbrtoc16.c: New file.
42353 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
42354 for C/POSIX locale.
42355 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
42356 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
42358 * wcsmbs/wchar.h: Add missing __restrict.
42360 2011-12-23 Ulrich Drepper <drepper@gmail.com>
42363 * time/Makefile (routines): Add timespec_get.
42364 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
42365 * time/time.h: Define TIME_UTC and declare timespec_get. Define
42366 timespec for ISO C11.
42367 * time/timespec_get.c: New file.
42368 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
42369 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
42372 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
42373 * stdlib/stdlib.h: Declare aligned_alloc.
42374 * Versions.def: Add GLIBC_2.16 for libc.
42375 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
42378 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
42381 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
42385 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
42388 * assert/assert.h (static_assert): Define.
42390 * version.h: Update for 2.16 development version.
42393 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
42396 * version.h (RELEASE): Bump for 2.15 release.
42397 * include/features.h (__GLIBC_MINOR__): Bump to 15.
42399 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
42400 Patch by Marek Polacek <mpolacek@redhat.com>.
42402 * bits/byteswap.h: Protect long long constants with __extension__.
42403 * sysdeps/i386/bits/byteswap.h: Likewise.
42404 * sysdeps/ia64/bits/byteswap.h: Likewise.
42405 * sysdeps/s390/bits/byteswap.h: Likewise.
42406 * sysdeps/x86_64/bits/byteswap.h: Likewise.
42408 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42411 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
42412 destination buffer.
42413 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
42415 2011-12-23 Marek Polacek <polacek@redhat.com>
42417 * elf/dl-addr.c (determine_info): Add inline keyword.
42418 * elf/tst-auditmod4b.c (check_avx): Likewise.
42419 * elf/tst-auditmod6b.c (check_avx): Likewise.
42420 * elf/tst-auditmod6c.c (check_avx): Likewise.
42421 * elf/tst-auditmod7b.c (check_avx): Likewise.
42423 2011-12-23 Ulrich Drepper <drepper@gmail.com>
42425 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
42428 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42431 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
42432 processing for last bytes.
42434 2011-08-06 Bruno Haible <bruno@clisp.org>
42437 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
42438 U+0385, not to U+1FEE.
42441 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
42442 entry for U+00A5 U+0301.
42444 2011-12-22 Ulrich Drepper <drepper@gmail.com>
42447 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
42448 buffer for the output is too small.
42450 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
42454 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
42455 SSE flags if possible.
42457 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42460 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
42461 processing for last bytes.
42463 2011-12-22 Joseph Myers <joseph@codesourcery.com>
42465 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
42466 (syscall-list-default-options, syscall-list-default-condition)
42467 (syscall-list-includes): Define.
42468 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
42469 list of ABIs and options and #if conditions for each ABI. Do not
42470 handle common syscalls between ABIs specially.
42471 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
42473 (syscall-list-variants, syscall-list-32bit-options)
42474 (syscall-list-32bit-condition, syscall-list-64bit-options)
42475 (syscall-list-64bit-condition): Define.
42476 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
42477 (syscall-list-variants, syscall-list-32bit-options)
42478 (syscall-list-32bit-condition, syscall-list-64bit-options)
42479 (syscall-list-64bit-condition): Define.
42480 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
42482 (syscall-list-variants, syscall-list-32bit-options)
42483 (syscall-list-32bit-condition, syscall-list-64bit-options)
42484 (syscall-list-64bit-condition): Define.
42485 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
42487 (syscall-list-variants, syscall-list-32bit-options)
42488 (syscall-list-32bit-condition, syscall-list-64bit-options)
42489 (syscall-list-64bit-condition): Define.
42491 2011-12-22 Ulrich Drepper <drepper@gmail.com>
42493 * locale/iso-639.def: Add brx entry.
42496 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
42497 Proposed by Mariusz_Cukr <marcukr@op.pl>.
42499 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
42500 __feraiseexcept_renamed.
42502 2011-12-21 Ulrich Drepper <drepper@gmail.com>
42505 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
42506 EPOLLET with unsigned values.
42507 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
42508 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
42510 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
42511 to large cancellation.
42512 * math/s_cacoshf.c: Likewise.
42513 * math/s_cacoshl.c: Likewise.
42515 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
42519 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
42520 * math/s_cacoshf.c: Likewise.
42521 * math/s_cacoshl.c: Likewise.
42523 2011-12-21 Ulrich Drepper <drepper@gmail.com>
42526 * iconv/gconv.h: Define __GCONV_SWAP.
42527 * iconvdata/unicode.c: The swap bit must be stored in __flags.
42528 * iconvdata/utf-16.c: Likewise.
42529 * iconvdata/utf-32.c: Likewise.
42531 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
42534 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
42535 numerator after shifting it by one limb.
42537 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
42539 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
42540 under [__USE_EXTERN_INLINES].
42542 2011-12-17 Ulrich Drepper <drepper@gmail.com>
42545 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
42547 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42549 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
42550 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
42552 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
42553 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
42554 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
42555 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
42556 for strncasecmp/strncasecmp_l compilation.
42557 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
42558 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
42560 2011-12-08 Marek Polacek <mpolacek@redhat.com>
42563 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
42566 2011-12-17 Ulrich Drepper <drepper@gmail.com>
42569 * time/tzfile.c (__tzfile_read): Check values from file header.
42571 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
42573 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
42574 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
42575 * powerpc/powerpc32/dl-start.S: Likewise.
42576 * powerpc/powerpc32/elf/start.S: Likewise.
42577 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
42578 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
42579 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
42580 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
42581 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
42582 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
42583 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
42584 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
42585 * powerpc/powerpc32/fpu/s_round.S: Likewise.
42586 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
42587 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
42588 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
42589 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
42590 * powerpc/powerpc32/memset.S: Likewise.
42591 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
42592 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
42593 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
42594 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
42595 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
42596 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
42597 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
42598 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
42599 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
42600 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
42601 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
42602 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
42603 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
42605 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42607 * math/libm-test.inc: Added more nearbyint tests.
42608 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
42609 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
42610 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
42611 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
42613 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
42615 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
42618 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42620 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
42621 Add wcscpy-ssse3 wcscpy-c.
42622 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
42623 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
42624 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
42625 * sysdeps/x86_64/wcschr.S: New file.
42626 * sysdeps/x86_64/wcsrchr.S: New file.
42627 * string/test-strcmp.c: Remove checking of wcscmp function for
42629 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
42630 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
42631 wcsrchr-sse2 wcsrchr-c.
42632 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
42633 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
42634 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
42635 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
42636 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
42637 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
42638 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
42639 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
42640 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
42641 * wcsmbc/wcschr.c (WCSCHR): New macro.
42643 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42645 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
42646 * wcsmbs/test-wcsrchr.c: New file.
42647 * string/test-strrchr.c: Add wcsrchr support.
42649 * wcsmbs/test-wcscpy.c: New file.
42650 * string/test-strcpy.c: Add wcscpy support.
42653 2011-12-10 Ulrich Drepper <drepper@gmail.com>
42655 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
42658 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
42661 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
42663 2011-12-04 Ulrich Drepper <drepper@gmail.com>
42665 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
42666 Minor optimizations.
42668 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
42669 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
42670 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
42672 2011-12-03 Ulrich Drepper <drepper@gmail.com>
42674 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
42675 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
42676 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
42677 for gcc to avoid warnings.
42678 * inet/Makefile (tests): Add tst-checks.
42679 * inet/tst-checks.c: New file.
42681 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
42684 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
42687 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
42688 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
42690 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
42692 2011-12-02 Ulrich Drepper <drepper@gmail.com>
42694 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
42697 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
42699 2011-11-29 Joseph Myers <joseph@codesourcery.com>
42701 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
42702 conditional on GCC version.
42703 (__arch_compare_and_exchange_val_8_acq)
42704 (__arch_compare_and_exchange_val_16_acq)
42705 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
42706 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
42707 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
42709 2011-12-02 Joseph Myers <joseph@codesourcery.com>
42711 * sysdeps/sh/backtrace.c: New file.
42713 2011-12-02 Andreas Schwab <schwab@redhat.com>
42715 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
42718 2011-12-01 Andreas Schwab <schwab@redhat.com>
42720 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
42721 falling back to utime.
42723 2011-11-30 Andreas Schwab <schwab@redhat.com>
42725 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
42726 expectations for float.
42728 2011-11-29 Andreas Schwab <schwab@redhat.com>
42730 * locale/weight.h (findidx): Add parameter len.
42731 * locale/weightwc.h (findidx): Likewise.
42732 * posix/fnmatch_loop.c (FCT): Adjust caller.
42733 * posix/regcomp.c (build_equiv_class): Likewise.
42734 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
42735 * posix/regexec.c (check_node_accept_bytes): Likewise.
42736 * string/strcoll_l.c (STRCOLL): Likewise.
42737 * string/strxfrm_l.c (STRXFRM): Likewise.
42739 2011-11-17 Ulrich Drepper <drepper@gmail.com>
42741 * Makefile.in: Remove CVSOPT handling.
42742 * configure.in: Remove use of AC_REVISION.
42743 * iconvdata/Makefile (distribute): No need to filter out CVS.
42744 * scripts/list-sources.sh: Remove CVS, subversion and monotone
42747 2011-11-16 Andreas Schwab <schwab@redhat.com>
42749 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
42750 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
42751 [USE_AS_STRNCASECMP_L]: Likewise.
42752 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
42753 NO_TLS_DIRECT_SEG_REFS.
42754 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
42755 Fix argument offsets for non-PIC.
42756 [USE_AS_STRNCASECMP_L]: Likewise.
42757 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
42758 NO_TLS_DIRECT_SEG_REFS.
42760 2011-11-15 Ulrich Drepper <drepper@gmail.com>
42762 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
42764 * locale/loadlocale.c (_nl_load_locale): Likewise.
42766 2011-11-15 Andreas Schwab <schwab@redhat.com>
42768 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
42769 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
42770 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
42771 (SYSCALL_GETTIME): Set errno on error.
42773 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
42774 count references to noai6ai_cached.
42776 2011-11-15 Ulrich Drepper <drepper@gmail.com>
42778 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
42780 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
42781 FD_CLOEXEC for /proc/self/maps.
42783 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
42784 FD_CLOEXEC for /proc/meminfo.
42786 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
42789 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
42790 FD_CLOEXEC for given file.
42792 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
42794 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
42795 FD_CLOEXEC for /etc/hosts.
42796 (_gethtent): Likewise.
42798 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
42800 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
42801 cancellation and set FD_CLOEXEC for /etc/netgroup.
42803 * nss/nss_files/files-key.c (search): Don't allow cancellation when
42804 reading /etc/publickey.
42806 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
42807 allow cancellation when reading /etc/group.
42809 * nss/nss_files/files-alias.c (internal_setent): Don't allow
42811 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
42813 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
42814 when using data file.
42816 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
42818 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
42819 (write_nis_obj): Use "c" and "e" in fopen.
42821 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
42823 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
42825 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
42827 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
42829 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
42832 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
42834 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
42836 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
42838 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
42839 file parsing and set FD_CLOEXEC.
42841 2011-11-14 Ulrich Drepper <drepper@gmail.com>
42843 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
42845 2011-11-14 Andreas Schwab <schwab@redhat.com>
42847 * malloc/arena.c (arena_get2): Don't call reused_arena when
42848 _int_new_arena failed.
42850 2011-11-14 Ulrich Drepper <drepper@gmail.com>
42852 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
42853 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
42854 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
42855 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
42856 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
42857 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
42858 to compile strcasecmp and strncasecmp.
42859 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
42860 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
42862 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
42864 2011-11-13 Ulrich Drepper <drepper@gmail.com>
42866 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
42867 locale-defines.sym to gen-as-const-headers.
42868 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
42869 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
42870 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
42871 to compile strcasecmp and strncasecmp.
42872 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
42873 strcasecmp_l and strncasecmp_l.
42874 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
42875 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
42876 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
42877 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
42878 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
42879 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
42880 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
42881 * sysdeps/i386/i686/multiarch/strncase.S: New file.
42882 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
42883 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
42884 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
42886 2011-11-12 Ulrich Drepper <drepper@gmail.com>
42888 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
42889 result of SYSDEP_GETTIME_CPU to retval.
42890 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
42891 parameter list to macro. Remove trailing semicolon. Adjust users.
42893 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
42896 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
42898 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
42900 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
42901 from unused variable.
42903 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
42905 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
42908 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
42911 * sunrpc/rpc_prot.c (rejected): Fix case value.
42913 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
42914 unsigned long long int to avoid warnings in shift.
42916 * posix/regex_internal.c (re_string_reconstruct): Actually use result
42918 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
42921 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
42922 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
42923 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
42925 * nis/nis_table.c (nis_list): Use variable of correct type for
42926 result of __follow_path call.
42928 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42930 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
42931 of math functions ceil, trunc, floor, round, and sqrt, when
42932 avaliable on the platform.
42933 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
42935 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
42936 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
42937 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
42939 2011-10-30 Marek Polacek <mpolacek@redhat.com>
42941 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
42942 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
42944 2011-11-11 Roland McGrath <roland@hack.frob.com>
42946 * include/unistd.h: Fix __readlink return type.
42947 Reported by Chris Metcalf <cmetcalf@tilera.com>.
42949 2011-11-11 Ulrich Drepper <drepper@gmail.com>
42951 * stdlib/ucontext.h: Undo last change for makecontext.
42953 2011-11-11 Andreas Schwab <schwab@redhat.com>
42955 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
42957 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
42958 * setjmp/setjmp.h: Mark functions as non-leaf.
42959 * setjmp/bits/setjmp2.h: Likewise.
42960 * stdlib/ucontext.h: Likewise.
42962 2011-11-10 Andreas Schwab <schwab@redhat.com>
42964 * malloc/arena.c (_int_new_arena): Don't increment narenas.
42965 (reused_arena): Don't check arena limit.
42966 (arena_get2): Atomically check arena limit.
42968 2011-11-08 Ulrich Drepper <drepper@gmail.com>
42970 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
42971 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
42973 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
42976 2011-11-07 Andreas Schwab <schwab@redhat.com>
42978 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
42979 handler when locking.
42981 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
42982 Fix size of allocated buffer.
42984 2011-11-04 Andreas Schwab <schwab@redhat.com>
42987 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
42988 declarations for long double functions.
42989 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
42991 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
42993 2011-11-03 Andreas Schwab <schwab@redhat.com>
42995 * nscd/nscd.c (main): Don't start AVC thread until credentials are
42998 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
43001 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
43003 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
43005 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
43007 * include/alloca.h (stackinfo_alloca_round): Define.
43008 (extend_alloca): Use it.
43009 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
43010 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
43013 * scripts/check-local-headers.sh: Ignore libaudit.h.
43015 * nscd/Makefile (extra-objs): Make recursively expanded.
43017 2011-11-01 Ulrich Drepper <drepper@gmail.com>
43019 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
43020 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
43022 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
43023 * posix/tst-rfc3484-2.c: Likewise.
43024 * posix/tst-rfc3484-3.c: Likewise.
43026 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
43028 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
43030 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
43031 process_vm_writev from libc using GLIBC_2.15 version.
43033 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
43035 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
43037 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
43040 2011-10-31 Ulrich Drepper <drepper@gmail.com>
43043 * nss/getent.c (initgroups_keys): Show error message in case no group
43046 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
43047 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
43048 __bump_nl_timestamp.
43049 * nscd/connections (nscd_init): When host database is served open
43050 netlink socket and request notification about configuration changes.
43051 (main_loop_poll): Track netlink file descriptor and bump timestamp
43052 in case data becomes available.
43053 (main_loop_epoll): Likewise.
43054 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
43055 (database_pers_head): Add extra_data fileds.
43056 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
43057 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
43058 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
43060 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
43061 in6ai data, call __free_in6ai.
43062 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
43063 Add -DHAVE_NETLINK.
43064 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
43065 interface information. Reuse previous data if netlink timestamp
43067 (__bump_nl_timestamp): New function.
43068 (__free_in6ai): New function.
43070 2011-10-30 Ulrich Drepper <drepper@gmail.com>
43072 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
43073 close_not_cancel_no_status here.
43074 (__check_pf): Reorganize code a bit to not call close twice if OOM.
43076 2011-10-29 Ulrich Drepper <drepper@gmail.com>
43079 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
43082 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
43083 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
43084 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
43086 2011-07-03 Andreas Jaeger <aj@suse.de>
43089 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
43090 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
43091 * math/libm-test.inc (sin_test): Add test case.
43093 2011-10-29 Ulrich Drepper <drepper@gmail.com>
43096 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
43097 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
43099 * elf/chroot_canon.c (chroot_canon): Cleanups.
43101 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
43104 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
43105 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
43107 * string/test-strchr.c: Make usable for strchrnul testing.
43108 * string/test-strchrnul.c: New file.
43109 * string/Makefile (strop-tests): Add strchrnul.
43111 * po/it.po: Update from translation team.
43112 * po/es.po: Likewise.
43114 2011-10-28 Ulrich Drepper <drepper@gmail.com>
43116 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
43117 the three constants needed as parameters. Drop the others.
43118 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
43119 __m128i_strloadu_tolower.
43120 Create and initialize variable zero and use it in all the places
43121 where _mm_setzero_si128 was used.
43123 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
43124 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
43125 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
43126 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
43128 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
43129 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
43130 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
43131 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
43132 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
43133 __mpranred, __mptan.
43134 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
43135 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
43136 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
43137 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
43138 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
43139 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
43140 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
43141 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
43142 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
43144 2011-10-28 Andreas Schwab <schwab@redhat.com>
43146 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
43147 redefine if SHARED.
43148 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
43150 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
43151 wide char related routines to wcsmbs subdir.
43153 2011-10-27 Andreas Schwab <schwab@redhat.com>
43156 * misc/sys/cdefs.h (__THROWNL): Define.
43157 * posix/unistd.h: Use __THREADNL instead of __THREAD
43158 for memory synchronization functions.
43160 2011-10-26 Roland McGrath <roland@hack.frob.com>
43163 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
43165 * manual/stdio.texi (Obstack Streams): Node removed.
43167 2011-10-26 Andreas Schwab <schwab@redhat.com>
43169 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
43170 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
43171 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
43173 * math/math_private.h (math_force_eval): Allow non-addressable
43175 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
43177 2011-10-25 Ulrich Drepper <drepper@gmail.com>
43179 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
43180 file is not needed.
43182 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
43183 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
43184 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
43185 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
43186 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
43187 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
43188 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
43189 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
43191 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
43192 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
43193 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
43194 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
43195 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
43196 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
43197 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
43198 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
43199 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
43200 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
43201 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
43202 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
43203 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
43204 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
43205 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
43206 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
43207 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
43208 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
43209 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
43211 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
43212 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
43214 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
43215 place. Use VEX encoding when compiling for AVX.
43217 2011-10-25 Andreas Schwab <schwab@redhat.com>
43219 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
43220 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
43222 * string/test-strchr.c (do_test): Don't generate NUL bytes.
43224 2011-10-25 Ulrich Drepper <drepper@gmail.com>
43226 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
43227 useless if() expression.
43228 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
43229 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
43230 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
43231 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
43232 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
43233 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
43234 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
43235 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
43236 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
43237 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
43238 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
43239 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
43240 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
43241 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
43242 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
43243 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
43244 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
43245 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
43246 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
43248 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
43250 2011-10-25 Andreas Schwab <schwab@redhat.com>
43252 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
43254 * elf/dl-fini.c (_dl_sort_fini): Likewise.
43256 2011-10-25 Ulrich Drepper <drepper@gmail.com>
43258 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
43259 .text section. Avoid duplicate constants.
43260 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
43261 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43262 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
43263 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43264 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
43265 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43266 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43267 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43268 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
43269 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
43270 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
43271 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
43272 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
43273 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
43274 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
43275 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
43276 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
43277 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
43278 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
43279 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
43280 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
43281 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
43282 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
43283 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
43284 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
43285 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
43286 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
43287 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
43288 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
43289 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
43290 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
43291 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
43292 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
43293 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
43294 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
43295 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
43296 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
43297 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
43298 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
43299 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
43300 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
43301 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
43302 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
43303 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
43304 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
43306 2011-10-24 Ulrich Drepper <drepper@gmail.com>
43308 * sysdeps/x86_64/dla.h: Move to ...
43309 * sysdeps/x86_64/fpu/dla.h: ...here.
43310 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
43311 situations. Use __builtin_fma only for gcc 4.6 and up.
43313 * config.make.in: Add have-mfma4 entry.
43314 * configure.in: Substitute libc_cv_cc_fma4.
43315 * math/Makefile (dbl-only-routines): Add sincostab.
43316 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
43317 Use __sincostab not sincos.
43318 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
43320 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
43321 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43322 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43323 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
43325 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
43326 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
43327 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
43328 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
43330 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
43331 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
43333 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
43334 define aliases when function name is a macro.
43335 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
43336 sysdeps/ieee754/dbl-64/sincos.tbl.
43337 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
43338 fma4-enabled routines.
43339 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
43340 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
43341 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
43342 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
43343 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
43344 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
43345 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
43346 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
43347 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
43348 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
43349 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
43350 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
43351 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
43352 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
43353 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
43354 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
43355 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
43356 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
43357 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
43358 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
43359 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
43360 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
43361 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
43362 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
43363 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
43364 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
43365 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
43366 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
43367 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
43368 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
43370 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
43372 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43373 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43374 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43375 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43376 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43377 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43378 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
43379 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
43381 2011-10-24 Andreas Schwab <schwab@redhat.com>
43383 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
43385 2011-10-23 Ulrich Drepper <drepper@gmail.com>
43387 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
43389 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
43391 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
43393 * string/strnlen.c: Don't define STRNLEN, reverse logic.
43394 Remove unused variable magic_bits.
43395 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
43397 * string/strnlen.c: Define and use STRNLEN macro.
43398 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
43399 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
43400 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
43401 * wcsmbs/wcslen.c: Define and use WCSLEN.
43402 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
43403 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
43404 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
43405 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
43406 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
43407 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
43408 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
43410 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43412 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43413 strnlen-sse2-no-bsf.
43414 Rename strlen-no-bsf to strlen-sse2-no-bsf.
43415 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
43416 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
43417 Add strnlen support.
43418 (USE_AS_STRNLEN): New macro.
43419 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
43420 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
43421 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
43422 * sysdeps/x86_64/wcslen.S: New file.
43424 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
43426 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
43427 XMM-moves are used for copying on small sizes.
43429 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43431 * wcsmbs/Makefile (strop-tests): Add wcschr.
43432 * wcsmbs/test-wcschr.c: New file.
43433 * string/test-strchr.c: Update.
43434 Add wcschr support.
43437 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43439 * wcsmbs/Makefile (strop-tests): Add wcslen.
43440 * wcsmbs/test-wcslen.c: New file.
43441 * string/test-strlen.c: Update.
43442 Add wcslen support.
43445 2011-10-23 Ulrich Drepper <drepper@gmail.com>
43447 * po/it.po: Update from translation team.
43449 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43451 * sysdeps/x86_64/wcscmp.S: Update.
43452 Fix wrong comparison semantics.
43453 wcscmp shall use signed comparison not unsigned.
43454 Don't use substraction to avoid overflow bug.
43455 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
43456 * wcsmbc/wcscmp.c: Likewise.
43457 * string/test-strcmp.c: Likewise.
43458 Add new tests to check cases with negative values.
43460 2011-10-23 Ulrich Drepper <drepper@gmail.com>
43462 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
43463 * sysdeps/x86_64/dla.h: ...here. New file.
43464 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
43465 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43466 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43467 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43468 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43469 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
43470 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43471 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
43472 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
43474 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
43476 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
43477 __ynl_finite aliases.
43479 2011-10-22 Ulrich Drepper <drepper@gmail.com>
43481 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43483 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
43485 [DLA_FMA] (EMULV): Use DLA_FMA.
43486 [DLA_FMA] (MUL12): Use EMULV.
43487 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
43488 that are not needed.
43489 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43490 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43491 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43492 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43493 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43494 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
43495 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
43497 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
43499 * math/s_nan.c: Undef __nan.
43500 * math/s_nanf.c: Undef __nanf.
43501 * math/s_nanl.c: Undef __nanl.
43502 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
43505 2011-10-22 Ulrich Drepper <drepper@gmail.com>
43507 * math/s_catan.c: Add branch predictions.
43508 * math/s_catanf.c: Likewise.
43509 * math/s_catanh.c: Likewise.
43510 * math/s_catanhf.c: Likewise.
43511 * math/s_catanhl.c: Likewise.
43512 * math/s_catanl.c: Likewise.
43513 * math/s_cexp.c: Likewise.
43514 * math/s_cexpf.c: Likewise.
43515 * math/s_cexpl.c: Likewise.
43516 * math/s_clog.c: Likewise.
43517 * math/s_clog10.c: Likewise.
43518 * math/s_clog10f.c: Likewise.
43519 * math/s_clog10l.c: Likewise.
43520 * math/s_clogf.c: Likewise.
43521 * math/s_clogl.c: Likewise.
43522 * math/s_csqrt.c: Likewise.
43523 * math/s_csqrtf.c: Likewise.
43524 * math/s_csqrtl.c: Likewise.
43525 * math/s_ctanf.c: Likewise.
43526 * math/s_ctanh.c: Likewise.
43527 * math/s_ctanhf.c: Likewise.
43528 * math/s_ctanhl.c: Likewise.
43529 * math/s_ctanl.c: Likewise.
43531 * math/math_private.h: Define __nan, __nanf, __nanl.
43532 * math/s_cacosh.c: Include <math_private.h>.
43533 * math/s_cacoshl.c: Likewise.
43534 * math/s_casinh.c: Likewise.
43535 * math/s_casinhf.c: Likewise.
43536 * math/s_casinhl.c: Likewise.
43537 * math/s_ccos.c: Rely entire on ccosh.
43538 * math/s_ccosf.c: Rely entire on ccoshf.
43539 * math/s_ccosl.c: Rely entirely on ccoshl.
43540 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
43541 Remove tests for FE_INVALID.
43542 * math/s_ccoshf.c: Likewise.
43543 * math/s_ccoshl.c: Likewise.
43544 * math/s_csin.c: Likewise.
43545 * math/s_csinf.c: Likewise.
43546 * math/s_csinh.c Likewise.
43547 * math/s_csinhf.c: Likewise.
43548 * math/s_csinhl.c: Likewise.
43549 * math/s_csinl.c: Likewise.
43550 * math/s_ctan.c: Likewise.
43551 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
43552 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
43553 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
43555 2011-10-21 Ulrich Drepper <drepper@gmail.com>
43557 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
43558 compilation problems.
43560 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
43563 2011-10-20 Ulrich Drepper <drepper@gmail.com>
43565 * sysdeps/i386/configure.in: Test for -mfma4 option.
43566 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
43567 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
43568 COMMON_CPUID_INDEX_80000001.
43569 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
43570 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
43571 use it if FMA3 is not supported.
43572 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
43574 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
43575 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
43577 2011-10-20 Andreas Schwab <schwab@redhat.com>
43580 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
43581 it would create a cycle with a link time dependency.
43583 2011-10-19 Ulrich Drepper <drepper@gmail.com>
43585 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
43587 * string/Makefile (strop-tests): Add rawmemchr.
43588 * string/test-rawmemchr.c: New file.
43590 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
43591 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
43592 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
43593 when compiling str{,n}casecmp and when AVX is available. Hook up
43594 new optimized code in initializers.
43596 2011-10-19 Andreas Schwab <schwab@redhat.com>
43598 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
43599 __feraiseexcept instead of feraiseexcept.
43601 2011-10-18 Ulrich Drepper <drepper@gmail.com>
43603 * math/math_private.h: Define defaults for libc_fetestexcept and
43605 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
43606 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
43607 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
43608 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
43609 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
43610 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
43611 libc_fetestexcept and libc_feupdateenv.
43613 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
43614 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
43615 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
43616 * sysdeps/x86_64/fpu/math_private.h: Define special version of
43617 libc_feholdexcept_setround.
43619 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
43620 Add s_nearbyint-c and s_nearbyintf-c.
43621 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
43622 nearbyintf inlines.
43623 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
43624 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
43625 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
43626 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
43628 * math/math_private.h: Define defaults for libc_fegetround,
43629 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
43630 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
43631 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
43632 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
43633 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
43634 standard functions.
43635 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
43636 Remove comments and hacks for old compiler versions.
43637 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
43638 libc_fegetround, libc_fesetround, libc_feholdexcept, and
43639 libc_feholdexceptl.
43641 2011-10-18 Andreas Schwab <schwab@redhat.com>
43643 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
43644 (__feraiseexcept_renamed): Add __NTH.
43645 (feraiseexcept): Add __NTH. Rename local variables to fix
43646 namespace violations.
43648 2011-10-17 Ulrich Drepper <drepper@gmail.com>
43650 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
43652 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
43654 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
43655 recently added interfaces.
43656 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
43658 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
43659 about macro parameter expansion.
43661 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
43662 __NO_MATH_INLINES is defined. Cleanups.
43664 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
43665 and __floorf is target has SSE4.1.
43666 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
43667 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
43668 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
43669 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
43671 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
43673 (floorf): Likewise.
43675 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
43677 2011-10-17 Andreas Schwab <schwab@redhat.com>
43679 * misc/sys/cdefs.h: Fix last change.
43681 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
43684 2011-10-16 Ulrich Drepper <drepper@gmail.com>
43686 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
43688 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
43689 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
43690 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
43691 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
43692 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
43693 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
43694 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
43695 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
43696 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
43697 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
43698 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
43699 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
43700 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
43701 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
43702 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
43703 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
43704 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
43705 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
43706 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
43707 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
43708 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
43709 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
43711 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
43712 ceil, ceilf, floor, floorf.
43714 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
43715 Perform IRELATIVE relocations last.
43717 * elf/do-rel.h: Add another parameter nrelative, replacing the
43718 local variable with the same name. Change name of the function
43719 to end in Rel or Rela (uppercase).
43720 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
43721 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
43722 elf_dynamic_do_##reloc function.
43724 2011-10-15 Ulrich Drepper <drepper@gmail.com>
43726 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
43727 is sufficient, at least on modern CPUs.
43729 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
43731 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
43732 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
43734 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
43736 * math/bits/math-finite.h: Add entries for exp.
43737 * math/e_expl.c: Add __*_finite alias.
43738 * sysdeps/i386/fpu/e_exp.S: Likewise.
43739 * sysdeps/i386/fpu/e_expf.S: Likewise.
43740 * sysdeps/i386/fpu/e_expl.c: Likewise.
43741 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
43742 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
43743 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
43744 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
43745 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
43746 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
43747 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
43749 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
43750 is sufficient, at least on modern CPUs.
43752 * ctype/ctype-info.c (__ctype_init): Define.
43753 * include/ctype.h (__ctype_init): Declare.
43754 (__ctype_b_loc): The variable is always initialized.
43755 (__ctype_toupper_loc): Likewise.
43756 (__ctype_tolower_loc): Likewise.
43757 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
43758 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
43760 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
43762 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
43764 * configure.in: Also look in $cxxmachine/include for C++ system
43767 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43769 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
43770 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
43771 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
43772 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
43773 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
43774 (USE_AS_WMEMCMP): New macro.
43776 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
43777 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
43778 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
43779 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
43780 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43781 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
43782 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
43783 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
43784 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
43785 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
43786 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
43787 (USE_AS_WMEMCMP): New macro.
43788 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
43789 * sysdeps/string/test-memcmp.c: Update.
43790 Fix simple_wmemcmp.
43792 * wcsmbs/wmemcmp.c: Update.
43793 (WMEMCMP): New macro.
43796 2011-10-12 Andreas Jaeger <aj@suse.de>
43799 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
43801 2011-10-15 Ulrich Drepper <drepper@gmail.com>
43803 * libio/iofwide.c (do_length): Avoid warning.
43805 * ctype/ctype.h (__isctype_f): Add missing __THROW.
43807 2011-10-14 Ulrich Drepper <drepper@gmail.com>
43809 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
43811 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
43812 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
43813 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
43814 * sysdeps/i386/i686/fpu/e_log.S: New file.
43815 * sysdeps/i386/i686/fpu/e_logf.S: New file.
43816 * sysdeps/i386/i686/fpu/e_logl.S: New file.
43818 * ctype/ctype.h: Add support for inlined isXXX functions when
43819 compiling C++ code.
43821 2011-10-14 Andreas Schwab <schwab@redhat.com>
43823 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
43825 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
43827 2011-10-13 Roland McGrath <roland@hack.frob.com>
43830 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
43832 2011-10-13 Andreas Schwab <schwab@redhat.com>
43834 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
43835 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
43838 * sysdeps/x86_64/memrchr.S: Check for zero size.
43840 * string/stratcliff.c: Add memrchr tests.
43842 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43844 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43845 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
43846 rawmemchr-sse2 rawmemchr-sse2-bsf.
43847 * sysdeps/i386/i686/multiarch/memchr.S: New file.
43848 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
43849 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
43850 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
43851 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
43852 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
43853 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
43854 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
43855 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
43856 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
43857 * string/memrchr.c (MEMRCHR): New macro.
43859 2011-10-12 Ulrich Drepper <drepper@gmail.com>
43861 Add integration with gcc's -ffinite-math-only and optimize wrapper
43863 * Versions.def: Define GLIBC_2.15 version for libm.
43864 * math/Makefile (headers): Add bits/math-finite.h.
43865 * math/bits/math-finite.h: New file.
43866 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
43867 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
43868 * math/e_acoshl.c: Add __*_finite alias.
43869 * math/e_acosl.c: Likewise.
43870 * math/e_asinl.c: Likewise.
43871 * math/e_atan2l.c: Likewise.
43872 * math/e_atanhl.c: Likewise.
43873 * math/e_coshl.c: Likewise.
43874 * math/e_exp10.c: Likewise.
43875 * math/e_exp10f.c: Likewise.
43876 * math/e_exp10l.c: Likewise.
43877 * math/e_exp2l.c: Likewise.
43878 * math/e_fmodl.c: Likewise.
43879 * math/e_gammal_r.c: Likewise.
43880 * math/e_hypotl.c: Likewise.
43881 * math/e_j0l.c: Likewise.
43882 * math/e_j1l.c: Likewise.
43883 * math/e_jnl.c: Likewise.
43884 * math/e_lgammal_r.c: Likewise.
43885 * math/e_log10l.c: Likewise.
43886 * math/e_log2l.c: Likewise.
43887 * math/e_logl.c: Likewise.
43888 * math/e_powl.c: Likewise.
43889 * math/e_sinhl.c: Likewise.
43890 * math/e_sqrtl.c: Likewise.
43891 * math/e_scalb.c: Completely rewritten and optimized.
43892 * math/e_scalbf.c: Likewise.
43893 * math/e_scalbl.c: Likewise.
43894 * math/w_acos.c: Likewise.
43895 * math/w_acosf.c: Likewise.
43896 * math/w_acosl.c: Likewise.
43897 * math/w_acosh.c: Likewise.
43898 * math/w_acoshf.c: Likewise.
43899 * math/w_acoshl.c: Likewise.
43900 * math/w_asin.c: Likewise.
43901 * math/w_asinf.c: Likewise.
43902 * math/w_asinl.c: Likewise.
43903 * math/w_atan2.c: Likewise.
43904 * math/w_atan2f.c: Likewise.
43905 * math/w_atan2l.c: Likewise.
43906 * math/w_atanh.c: Likewise.
43907 * math/w_atanhf.c: Likewise.
43908 * math/w_atanhl.c: Likewise.
43909 * math/w_exp10.c: Likewise.
43910 * math/w_exp10f.c: Likewise.
43911 * math/w_exp10l.c: Likewise.
43912 * math/w_fmod.c: Likewise.
43913 * math/w_fmodf.c: Likewise.
43914 * math/w_fmodl.c: Likewise.
43915 * math/w_j0.c: Likewise.
43916 * math/w_j0f.c: Likewise.
43917 * math/w_j0l.c: Likewise.
43918 * math/w_j1.c: Likewise.
43919 * math/w_j1f.c: Likewise.
43920 * math/w_j1l.c: Likewise.
43921 * math/w_jn.c: Likewise.
43922 * math/w_jnf.c: Likewise.
43923 * math/w_log.c: Likewise.
43924 * math/w_logf.c: Likewise.
43925 * math/w_logl.c: Likewise.
43926 * math/w_log10.c: Likewise.
43927 * math/w_log10f.c: Likewise.
43928 * math/w_log10l.c: Likewise.
43929 * math/w_log2.c: Likewise.
43930 * math/w_log2f.c: Likewise.
43931 * math/w_log2l.c: Likewise.
43932 * math/w_pow.c: Likewise.
43933 * math/w_powf.c: Likewise.
43934 * math/w_powl.c: Likewise.
43935 * math/w_remainder.c: Likewise.
43936 * math/w_remainderf.c: Likewise.
43937 * math/w_remainderl.c: Likewise.
43938 * math/w_scalb.c: Likewise.
43939 * math/w_scalbf.c: Likewise.
43940 * math/w_scalbl.c: Likewise.
43941 * math/w_sqrt.c: Likewise.
43942 * math/w_sqrtf.c: Likewise.
43943 * math/w_sqrtl.c: Likewise.
43944 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
43945 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
43947 * math/math_private.h: Declare __kernel_standard_f.
43948 * math/w_cosh.c: Remove cruft and optimize a bit.
43949 * math/w_coshf.c: Likewise.
43950 * math/w_coshl.c: Likewise.
43951 * math/w_exp2.c: Likewise.
43952 * math/w_exp2f.c: Likewise.
43953 * math/w_exp2l.c: Likewise.
43954 * math/w_hypot.c: Likewise.
43955 * math/w_hypotf.c: Likewise.
43956 * math/w_hypotl.c: Likewise.
43957 * math/w_lgamma.c: Likewise.
43958 * math/w_lgamma_r.c: Likewise.
43959 * math/w_lgammaf.c: Likewise.
43960 * math/w_lgammaf_r.c: Likewise.
43961 * math/w_lgammal.c: Likewise.
43962 * math/w_lgammal_r.c: Likewise.
43963 * math/w_sinh.c: Likewise.
43964 * math/w_sinhf.c: Likewise.
43965 * math/w_sinhl.c: Likewise.
43966 * math/w_tgamma.c: Likewise.
43967 * math/w_tgammaf.c: Likewise.
43968 * math/w_tgammal.c: Likewise.
43969 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
43970 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
43971 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
43972 Minor optimizations. Pretty printing. Remove cruft.
43973 * sysdeps/i386/fpu/e_acosf.S: Likewise.
43974 * sysdeps/i386/fpu/e_acosh.S: Likewise.
43975 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
43976 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
43977 * sysdeps/i386/fpu/e_acosl.c: Likewise.
43978 * sysdeps/i386/fpu/e_asin.S: Likewise.
43979 * sysdeps/i386/fpu/e_asinf.S: Likewise.
43980 * sysdeps/i386/fpu/e_atan2.S: Likewise.
43981 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
43982 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
43983 * sysdeps/i386/fpu/e_atanh.S: Likewise.
43984 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
43985 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
43986 * sysdeps/i386/fpu/e_exp10.S: Likewise.
43987 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
43988 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
43989 * sysdeps/i386/fpu/e_exp2.S: Likewise.
43990 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
43991 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
43992 * sysdeps/i386/fpu/e_fmod.S: Likewise.
43993 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
43994 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
43995 * sysdeps/i386/fpu/e_hypot.S: Likewise.
43996 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
43997 * sysdeps/i386/fpu/e_log.S: Likewise.
43998 * sysdeps/i386/fpu/e_log10.S: Likewise.
43999 * sysdeps/i386/fpu/e_log10f.S: Likewise.
44000 * sysdeps/i386/fpu/e_log10l.S: Likewise.
44001 * sysdeps/i386/fpu/e_log2.S: Likewise.
44002 * sysdeps/i386/fpu/e_log2f.S: Likewise.
44003 * sysdeps/i386/fpu/e_log2l.S: Likewise.
44004 * sysdeps/i386/fpu/e_logf.S: Likewise.
44005 * sysdeps/i386/fpu/e_logl.S: Likewise.
44006 * sysdeps/i386/fpu/e_pow.S: Likewise.
44007 * sysdeps/i386/fpu/e_powf.S: Likewise.
44008 * sysdeps/i386/fpu/e_powl.S: Likewise.
44009 * sysdeps/i386/fpu/e_remainder.S: Likewise.
44010 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
44011 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
44012 * sysdeps/i386/fpu/e_scalb.S: Likewise.
44013 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
44014 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
44015 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
44016 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
44017 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
44018 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
44019 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
44020 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44021 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
44022 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
44023 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
44024 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
44025 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
44026 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
44027 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
44028 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
44029 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
44030 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44031 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
44032 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
44033 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44034 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
44035 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
44036 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
44037 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44038 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
44039 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
44040 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
44041 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
44042 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
44043 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
44044 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
44045 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
44046 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
44047 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
44048 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
44049 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
44050 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
44051 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
44052 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
44053 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
44054 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
44055 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
44056 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
44057 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
44058 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
44059 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
44060 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
44061 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
44062 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
44063 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
44064 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
44065 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
44066 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
44067 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
44068 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
44069 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
44070 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
44071 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
44072 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
44073 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
44074 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
44075 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
44076 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
44077 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
44078 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
44079 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
44080 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
44081 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
44082 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
44083 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
44084 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
44085 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
44086 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
44087 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
44088 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
44089 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
44090 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
44091 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
44092 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
44093 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
44094 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
44095 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
44096 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
44097 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
44098 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
44099 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
44100 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
44101 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
44102 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
44103 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
44104 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
44105 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
44106 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
44107 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
44108 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
44109 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
44110 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
44111 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
44112 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
44113 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
44114 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
44115 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
44116 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
44117 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
44118 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
44119 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
44120 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
44121 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
44122 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
44123 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
44124 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
44125 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
44126 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
44127 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
44128 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
44129 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
44130 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
44131 (__isnanf): Likewise.
44132 (__isinf_ns): Likewise.
44133 (__isinf_nsf): Likewise.
44134 (__finite): Likewise.
44135 (__finitef): Likewise.
44136 (__ieee754_sqrt): Define as macro.
44137 (__ieee754_sqrtf): Define as macro.
44138 (__ieee754_sqrtl): Define as macro.
44139 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
44141 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
44142 __FINITE_MATH_ONLY__ consistent.
44143 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
44145 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
44147 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
44150 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
44152 2011-10-09 Ulrich Drepper <drepper@gmail.com>
44154 * po/ja.po: Update from translation team.
44156 2011-10-08 Roland McGrath <roland@hack.frob.com>
44158 * locale/programs/locarchive.c (prepare_address_space): New function.
44159 (create_archive, enlarge_archive, open_archive): Use it.
44161 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
44162 inside [SHARED], where it is used.
44164 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
44166 * nss/getent.c (netgroup_keys): Remove unused variable.
44167 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
44169 2011-10-08 Ulrich Drepper <drepper@gmail.com>
44171 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
44172 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
44173 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
44174 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
44175 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
44176 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
44177 * math/Makefile (libm-calls): Add s_isinf_ns.
44178 * math/divtc3.c: Use __isinf_nsl instead of isinf.
44179 * math/multc3.c: Likewise.
44180 * math/s_casin.c: Likewise.
44181 * math/s_casinf.c: Likewise.
44182 * math/s_casinl.c: Likewise.
44183 * math/s_ccos.c: Likewise.
44184 * math/s_ccosf.c: Likewise.
44185 * math/s_ccosl.c: Likewise.
44186 * math/s_ctan.c: Likewise.
44187 * math/s_ctanf.c: Likewise.
44188 * math/s_ctanh.c: Likewise.
44189 * math/s_ctanhf.c: Likewise.
44190 * math/s_ctanhl.c: Likewise.
44191 * math/s_ctanl.c: Likewise.
44192 * math/w_fmod.c: Likewise.
44193 * math/w_fmodf.c: Likewise.
44194 * math/w_fmodl.c: Likewise.
44195 * math/w_remainder.c: Likewise.
44196 * math/w_remainderf.c: Likewise.
44197 * math/w_remainderl.c: Likewise.
44198 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
44199 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
44200 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
44201 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
44202 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
44203 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
44204 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
44205 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
44207 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
44209 * stdio-common/printf_fphex.c: Likewise.
44210 * stdio-common/printf_size.c: Likewise.
44212 * math/e_exp10.c: Include math_private.h using <...> not "...".
44213 * math/e_exp10f.c: Likewise.
44214 * math/e_exp10l.c: Likewise.
44215 * math/e_exp2l.c: Likewise.
44216 * math/e_j0l.c: Likewise.
44217 * math/e_j1l.c: Likewise.
44218 * math/e_jnl.c: Likewise.
44219 * math/e_lgammal_r.c: Likewise.
44220 * math/e_rem_pio2l.c: Likewise.
44221 * math/e_scalb.c: Likewise.
44222 * math/e_scalbf.c: Likewise.
44223 * math/e_scalbl.c: Likewise.
44224 * math/k_cosl.c: Likewise.
44225 * math/k_sinl.c: Likewise.
44226 * math/k_tanl.c: Likewise.
44227 * math/s_cacoshf.c: Likewise.
44228 * math/s_catan.c: Likewise.
44229 * math/s_catanf.c: Likewise.
44230 * math/s_catanh.c: Likewise.
44231 * math/s_catanhf.c: Likewise.
44232 * math/s_catanhl.c: Likewise.
44233 * math/s_catanl.c: Likewise.
44234 * math/s_ccosh.c: Likewise.
44235 * math/s_ccoshf.c: Likewise.
44236 * math/s_ccoshl.c: Likewise.
44237 * math/s_cexp.c: Likewise.
44238 * math/s_cexpf.c: Likewise.
44239 * math/s_cexpl.c: Likewise.
44240 * math/s_clog.c: Likewise.
44241 * math/s_clog10.c: Likewise.
44242 * math/s_clog10f.c: Likewise.
44243 * math/s_clog10l.c: Likewise.
44244 * math/s_clogf.c: Likewise.
44245 * math/s_clogl.c: Likewise.
44246 * math/s_csin.c: Likewise.
44247 * math/s_csinf.c: Likewise.
44248 * math/s_csinh.c: Likewise.
44249 * math/s_csinhf.c: Likewise.
44250 * math/s_csinhl.c: Likewise.
44251 * math/s_csinl.c: Likewise.
44252 * math/s_csqrt.c: Likewise.
44253 * math/s_csqrtf.c: Likewise.
44254 * math/s_csqrtl.c: Likewise.
44255 * math/s_ctan.c: Likewise.
44256 * math/s_ctanf.c: Likewise.
44257 * math/s_ctanh.c: Likewise.
44258 * math/s_ctanhf.c: Likewise.
44259 * math/s_ctanhl.c: Likewise.
44260 * math/s_ctanl.c: Likewise.
44261 * math/s_ldexp.c: Likewise.
44262 * math/s_ldexpf.c: Likewise.
44263 * math/s_ldexpl.c: Likewise.
44264 * math/s_significand.c: Likewise.
44265 * math/s_significandf.c: Likewise.
44266 * math/s_significandl.c: Likewise.
44267 * math/w_acos.c: Likewise.
44268 * math/w_acosf.c: Likewise.
44269 * math/w_acosh.c: Likewise.
44270 * math/w_acoshf.c: Likewise.
44271 * math/w_acoshl.c: Likewise.
44272 * math/w_acosl.c: Likewise.
44273 * math/w_asin.c: Likewise.
44274 * math/w_asinf.c: Likewise.
44275 * math/w_asinl.c: Likewise.
44276 * math/w_atan2.c: Likewise.
44277 * math/w_atan2f.c: Likewise.
44278 * math/w_atan2l.c: Likewise.
44279 * math/w_atanh.c: Likewise.
44280 * math/w_atanhf.c: Likewise.
44281 * math/w_atanhl.c: Likewise.
44282 * math/w_cosh.c: Likewise.
44283 * math/w_coshf.c: Likewise.
44284 * math/w_coshl.c: Likewise.
44285 * math/w_dremf.c: Likewise.
44286 * math/w_exp10.c: Likewise.
44287 * math/w_exp10f.c: Likewise.
44288 * math/w_exp10l.c: Likewise.
44289 * math/w_exp2.c: Likewise.
44290 * math/w_exp2f.c: Likewise.
44291 * math/w_fmod.c: Likewise.
44292 * math/w_fmodf.c: Likewise.
44293 * math/w_fmodl.c: Likewise.
44294 * math/w_hypot.c: Likewise.
44295 * math/w_hypotf.c: Likewise.
44296 * math/w_hypotl.c: Likewise.
44297 * math/w_j0.c: Likewise.
44298 * math/w_j0f.c: Likewise.
44299 * math/w_j0l.c: Likewise.
44300 * math/w_j1.c: Likewise.
44301 * math/w_j1f.c: Likewise.
44302 * math/w_j1l.c: Likewise.
44303 * math/w_jn.c: Likewise.
44304 * math/w_jnf.c: Likewise.
44305 * math/w_jnl.c: Likewise.
44306 * math/w_lgamma.c: Likewise.
44307 * math/w_lgamma_r.c: Likewise.
44308 * math/w_lgammaf.c: Likewise.
44309 * math/w_lgammaf_r.c: Likewise.
44310 * math/w_lgammal.c: Likewise.
44311 * math/w_lgammal_r.c: Likewise.
44312 * math/w_log.c: Likewise.
44313 * math/w_log10.c: Likewise.
44314 * math/w_log10f.c: Likewise.
44315 * math/w_log10l.c: Likewise.
44316 * math/w_log2.c: Likewise.
44317 * math/w_log2f.c: Likewise.
44318 * math/w_log2l.c: Likewise.
44319 * math/w_logf.c: Likewise.
44320 * math/w_logl.c: Likewise.
44321 * math/w_pow.c: Likewise.
44322 * math/w_powf.c: Likewise.
44323 * math/w_powl.c: Likewise.
44324 * math/w_remainder.c: Likewise.
44325 * math/w_remainderf.c: Likewise.
44326 * math/w_remainderl.c: Likewise.
44327 * math/w_scalb.c: Likewise.
44328 * math/w_scalbf.c: Likewise.
44329 * math/w_scalbl.c: Likewise.
44330 * math/w_sinh.c: Likewise.
44331 * math/w_sinhf.c: Likewise.
44332 * math/w_sinhl.c: Likewise.
44333 * math/w_sqrt.c: Likewise.
44334 * math/w_sqrtf.c: Likewise.
44335 * math/w_sqrtl.c: Likewise.
44336 * math/w_tgamma.c: Likewise.
44337 * math/w_tgammaf.c: Likewise.
44338 * math/w_tgammal.c: Likewise.
44340 * po/ja.po: Update from translation team.
44342 2011-09-29 Andreas Jaeger <aj@suse.de>
44345 * sunrpc/netname.c (netname2host): Fix logic.
44349 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
44351 * math/w_remainder.c (__remainder): Likewise.
44352 * math/w_remainderf.c (__remainderf): Likewise.
44353 * math/libm-test.inc (remainder_test): Add test cases.
44355 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44357 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
44360 2011-10-07 Ulrich Drepper <drepper@gmail.com>
44362 * string/test-memcmp.c: Avoid unncessary #defines.
44363 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
44365 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44367 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
44368 Use new sse2 version for core i3 - i7 as it's faster
44369 than sse42 version.
44370 (bit_Prefer_PMINUB_for_stringop): New.
44371 * sysdeps/x86_64/rawmemchr.S: Update.
44372 Replace with faster SSE2 version.
44373 * sysdeps/x86_64/memrchr.S: New file.
44374 * sysdeps/x86_64/memchr.S: Update.
44375 Replace with faster SSE2 version.
44377 2011-09-12 Marek Polacek <mpolacek@redhat.com>
44379 * elf/dl-load.c (lose): Add cast to avoid warning.
44381 2011-10-07 Ulrich Drepper <drepper@gmail.com>
44383 * po/ca.po: Update from translation team.
44385 * inet/getnetgrent_r.c: Hook up nscd.
44386 * nscd/Makefile (routines): Add nscd_netgroup.
44387 (nscd-modules): Add netgroupcache.
44388 (CFLAGS-netgroupcache.c): Define.
44389 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
44390 (cache_search): Add const to second parameter.
44391 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
44393 (dbs): Add netgrdb entry.
44394 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
44395 (verify_persistent_db): Handle netgrdb.
44396 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
44397 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
44399 (netgroup_response_header): Define.
44400 (innetgroup_response_header): Define.
44401 (datahead): Add netgroup_response_header and innetgroup_response_header
44403 * nscd/nscd.conf: Add entries for netgroup cache.
44404 * nscd/nscd.h (dbtype): Add netgrdb.
44405 (_PATH_NSCD_NETGROUP_DB): Define.
44406 (netgroup_iov_disabled): Declare.
44407 (xmalloc, xcalloc, xrealloc): Move declarations here.
44408 (cache_search): Adjust prototype.
44409 Add netgroup-related prototypes.
44410 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
44411 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
44412 (__nscd_innetgr): Declare.
44413 * nscd/selinux.c (perms): Use access_vector_t as element type and
44414 add netgroup-related initializers.
44415 * nscd/netgroupcache.c: New file.
44416 * nscd/nscd_netgroup.c: New file.
44417 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
44418 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
44419 For four parameters use innetgr.
44420 * nss/nss_files/files-init.c: Add definition and callback for netgr.
44421 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
44422 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
44423 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
44425 * nscd/connections.c (register_traced_file): Don't register file
44426 for disabled databases.
44428 2011-10-06 Ulrich Drepper <drepper@gmail.com>
44430 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
44432 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
44433 from tree and freeing node.
44435 2011-09-25 Jiri Olsa <jolsa@redhat.com>
44437 * nss/nsswitch.c (__nss_database_lookup): Handle
44438 nss_parse_service_list out of memory case.
44440 2011-09-15 Jiri Olsa <jolsa@redhat.com>
44442 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
44443 out of memory case.
44445 2011-10-04 Andreas Schwab <schwab@redhat.com>
44447 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
44448 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
44450 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
44451 elf_machine_rela, elf_machine_lazy_rel.
44452 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
44453 (ELF_DYNAMIC_DO_REL): Likewise.
44454 (ELF_DYNAMIC_DO_RELA): Likewise.
44455 (ELF_DYNAMIC_RELOCATE): Likewise.
44456 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
44457 to ELF_DYNAMIC_DO_REL.
44458 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
44459 (dl_main): In trace mode always set __RTLD_NOIFUNC.
44460 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
44462 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
44463 skip_ifunc, don't call ifunc function if non-zero.
44464 (elf_machine_rela): Likewise.
44465 (elf_machine_lazy_rel): Likewise.
44466 (elf_machine_lazy_rela): Likewise.
44467 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
44468 (elf_machine_lazy_rel): Likewise.
44469 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
44471 (elf_machine_lazy_rel): Likewise.
44472 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
44474 (elf_machine_lazy_rel): Likewise.
44475 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
44476 (elf_machine_lazy_rel): Likewise.
44477 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
44478 (elf_machine_lazy_rel): Likewise.
44479 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
44480 (elf_machine_lazy_rel): Likewise.
44481 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
44482 (elf_machine_lazy_rel): Likewise.
44483 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
44484 (elf_machine_lazy_rel): Likewise.
44485 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
44486 (elf_machine_lazy_rel): Likewise.
44488 2011-09-28 Ulrich Drepper <drepper@gmail.com>
44490 * nss/nss_files/files-init.c (_nss_files_init): Use static
44491 initialization for all the *_traced_file variables.
44493 2011-09-28 Andreas Schwab <schwab@redhat.com>
44495 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
44497 2011-09-27 Roland McGrath <roland@hack.frob.com>
44500 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
44502 2011-09-27 Andreas Schwab <schwab@redhat.com>
44504 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
44505 Reread the line before reparsing it.
44507 2011-09-26 Andreas Schwab <schwab@redhat.com>
44509 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
44511 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
44512 Maxim Kuvyrkov <maxim@codesourcery.com>
44513 Joseph Myers <joseph@codesourcery.com>
44515 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
44516 if needed for __stack_chk_guard.
44518 2011-09-19 Roland McGrath <roland@hack.frob.com>
44520 * sysdeps/posix/spawni.c (script_execute): Always define it.
44521 It will be optimized away if unused.
44522 (maybe_script_execute): New function.
44523 (__spawni): Call it.
44525 * Makerules: Don't include tls.make.
44526 (config-tls): Always set to thread.
44527 * tls.make.c: File removed.
44529 2011-09-19 Mike Frysinger <vapier@gentoo.org>
44531 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
44532 * config.make.in (CPPFLAGS-config): New substituted variable.
44534 2011-09-15 Ulrich Drepper <drepper@gmail.com>
44536 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
44539 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
44540 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
44542 2011-09-15 Roland McGrath <roland@hack.frob.com>
44544 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
44545 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
44546 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
44547 (CALL_FAIL): Likewise.
44548 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
44549 (CALL_FAIL): Macro removed.
44550 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
44552 2011-09-15 Ulrich Drepper <drepper@gmail.com>
44554 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
44555 for __FINITE_MATH_ONLY__ == 1.
44557 2011-09-15 Andreas Schwab <schwab@redhat.com>
44559 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
44560 __ieee754_sqrt instead of sqrt.
44561 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
44562 __ieee754_sqrtf instead of sqrtf.
44563 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
44564 __floorf instead of floorf.
44565 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
44566 __floorf, __truncf instead of floorf, truncf.
44568 2011-09-14 Ulrich Drepper <drepper@gmail.com>
44570 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
44572 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
44573 __extern_always_inline.
44574 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
44577 2011-09-14 Andreas Schwab <schwab@redhat.com>
44579 * elf/rtld.c (dl_main): Also relocate in dependency order when
44580 doing symbol dependency testing.
44582 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
44584 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
44585 Always define `refsym'.
44587 2011-09-13 Andreas Schwab <schwab@redhat.com>
44589 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
44590 (__FD_ELT): Renamed from __FDELT.
44591 * misc/bits/select2.h (__FD_ELT): Likewise.
44592 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
44593 __FD_MASK instead of __FDELT, __FDMASK.
44594 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
44596 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
44599 * elf/Makefile (gen-ldd): Fix pattern.
44601 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
44602 (init_tls): Likewise.
44604 2011-09-12 Ulrich Drepper <drepper@gmail.com>
44606 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
44608 2011-09-12 Andreas Schwab <schwab@redhat.com>
44610 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
44611 `struct cmsghdr *' instead of `void *'.
44612 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
44615 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
44617 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
44619 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
44620 ldd_rewrite_script.
44622 2011-09-11 Ulrich Drepper <drepper@gmail.com>
44624 * configure.in: Remove --with-tls option.
44625 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
44626 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
44627 out in case it is missing.
44628 * sysdeps/ia64/elf/configure.in: Likewise.
44629 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
44630 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
44631 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
44632 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
44633 * sysdeps/sh/elf/configure.in: Likewise.
44634 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
44635 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
44636 * sysdeps/x86_64/elf/configure.in: Likewise.
44637 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
44638 * sysdeps/mach/hurd/tls.h: Likewise.
44641 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
44644 * configure.in: Fix use of AC_INIT.
44646 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
44648 2011-09-10 Ulrich Drepper <drepper@gmail.com>
44650 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
44652 * malloc/hooks.c: Likewise.
44655 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
44656 variables statically.
44657 (narenas): Initialize.
44658 (list_lock): Initialize.
44659 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
44660 initializtion of main_arena and list_lock. Small cleanups.
44661 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
44662 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
44663 Add initializers to main_arena and mp_.
44664 (malloc_state): Remove pagesize member. Change all users to use
44667 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
44668 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
44669 is always initialized.
44671 * malloc/malloc.c: Removed unused configurations and dead code.
44672 * malloc/arena.c: Likewise.
44673 * malloc/hooks.c: Likewise.
44674 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
44676 * include/tls.h: Removed. USE___THREAD must always be defined.
44677 * bits/libc-tsd.h: Don't handle !USE___THREAD.
44678 * elf/dl-libc.c: Likewise.
44679 * elf/dl-tsd.c: Likewise.
44680 * include/errno.h: Likewise.
44681 * include/netdb.h: Likewise.
44682 * include/resolv.h: Likewise.
44683 * inet/herrno-loc.c: Likewise.
44684 * inet/herrno.c: Likewise.
44685 * malloc/arena.c: Likewise.
44686 * malloc/hooks.c: Likewise.
44687 * malloc/malloc.c: Likewise.
44688 * resolv/res-state.c: Likewise.
44689 * resolv/res_libc.c: Likewise.
44690 * sysdeps/i386/dl-machine.h: Likewise.
44691 * sysdeps/ia64/dl-machine.h: Likewise.
44692 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
44693 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
44694 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
44695 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
44696 * sysdeps/sh/dl-machine.h: Likewise.
44697 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
44698 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
44699 * sysdeps/unix/i386/sysdep.S: Likewise.
44700 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
44701 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
44702 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
44703 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
44704 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
44705 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
44706 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
44707 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
44708 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
44709 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
44710 * sysdeps/unix/x86_64/sysdep.S: Likewise.
44711 * sysdeps/x86_64/dl-machine.h: Likewise.
44712 * tls.make.c: Likewise.
44714 * configure.in: Remove --with-__thread option. Make tests for
44715 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
44716 tls_model attribute fail if no support is available. Remove
44718 * Makeconfig: Adjust for dropped configure option. All features are
44720 * Makerules: Likewise.
44721 * Versions.def: Likewise.
44722 * argp/argp-fmtstream.c: Likewise.
44723 * argp/argp-fmtstream.h: Likewise.
44724 * argp/argp-help.c: Likewise.
44725 * assert/assert.c: Likewise.
44726 * config.h.in: Likewise.
44727 * config.make.in: Likewise.
44728 * configure: Likewise.
44729 * configure.in: Likewise.
44730 * csu/Versions: Likewise.
44731 * csu/init.c: Likewise.
44732 * elf/tst-audit2.c: Likewise.
44733 * elf/tst-tls10.c: Likewise.
44734 * elf/tst-tls10.h: Likewise.
44735 * elf/tst-tls11.c: Likewise.
44736 * elf/tst-tls12.c: Likewise.
44737 * elf/tst-tls14.c: Likewise.
44738 * elf/tst-tlsmod11.c: Likewise.
44739 * elf/tst-tlsmod12.c: Likewise.
44740 * elf/tst-tlsmod13.c: Likewise.
44741 * elf/tst-tlsmod13a.c: Likewise.
44742 * elf/tst-tlsmod14a.c: Likewise.
44743 * elf/tst-tlsmod15b.c: Likewise.
44744 * elf/tst-tlsmod16a.c: Likewise.
44745 * elf/tst-tlsmod16b.c: Likewise.
44746 * elf/tst-tlsmod7.c: Likewise.
44747 * elf/tst-tlsmod8.c: Likewise.
44748 * elf/tst-tlsmod9.c: Likewise.
44749 * gmon/gmon.c: Likewise.
44750 * grp/fgetgrent_r.c: Likewise.
44751 * grp/putgrent.c: Likewise.
44752 * hurd/fopenport.c: Likewise.
44753 * include/libc-symbols.h: Likewise.
44754 * include/tls.h: Likewise.
44755 * intl/gettextP.h: Likewise.
44756 * intl/loadinfo.h: Likewise.
44757 * locale/global-locale.c: Likewise.
44758 * locale/localeinfo.h: Likewise.
44759 * mach/devstream.c: Likewise.
44760 * malloc/arena.c: Likewise.
44761 * malloc/set-freeres.c: Likewise.
44762 * misc/err.c: Likewise.
44763 * misc/getttyent.c: Likewise.
44764 * misc/mntent_r.c: Likewise.
44765 * posix/getopt.c: Likewise.
44766 * posix/wordexp.c: Likewise.
44767 * pwd/fgetpwent_r.c: Likewise.
44768 * resolv/Versions: Likewise.
44769 * resolv/res_hconf.c: Likewise.
44770 * shadow/fgetspent_r.c: Likewise.
44771 * shadow/putspent.c: Likewise.
44772 * stdio-common/printf_fphex.c: Likewise.
44773 * stdio-common/tmpfile.c: Likewise.
44774 * stdlib/abort.c: Likewise.
44775 * stdlib/fmtmsg.c: Likewise.
44776 * sunrpc/auth_unix.c: Likewise.
44777 * sunrpc/clnt_perr.c: Likewise.
44778 * sunrpc/clnt_tcp.c: Likewise.
44779 * sunrpc/clnt_udp.c: Likewise.
44780 * sunrpc/clnt_unix.c: Likewise.
44781 * sunrpc/openchild.c: Likewise.
44782 * sunrpc/svc_simple.c: Likewise.
44783 * sunrpc/svc_tcp.c: Likewise.
44784 * sunrpc/svc_udp.c: Likewise.
44785 * sunrpc/svc_unix.c: Likewise.
44786 * sunrpc/xdr.c: Likewise.
44787 * sunrpc/xdr_array.c: Likewise.
44788 * sunrpc/xdr_rec.c: Likewise.
44789 * sunrpc/xdr_ref.c: Likewise.
44790 * sunrpc/xdr_stdio.c: Likewise.
44792 2011-09-09 Ulrich Drepper <drepper@gmail.com>
44794 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
44796 2011-07-03 Andreas Jaeger <aj@suse.de>
44798 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
44799 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
44800 regenerate with gen-libm-tests.pl.
44802 2010-05-12 Petr Baudis <pasky@suse.cz>
44805 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
44806 around j0() zero points by switching to j1().
44807 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
44808 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
44809 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
44810 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
44812 2011-09-09 Ulrich Drepper <drepper@gmail.com>
44814 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
44816 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
44818 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
44819 Patch in part by Pavel Roskin <proski@gnu.org>.
44822 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
44824 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
44825 Free memory block if necessary.
44828 * libio/genops.c (INTDEF): For string streams the _lock pointer can
44829 be NULL. Don't lock in this case.
44831 2011-09-09 Roland McGrath <roland@hack.frob.com>
44833 * elf/elf.h (ELFOSABI_GNU): New macro.
44834 (ELFOSABI_LINUX): Define to that.
44836 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
44838 * string/strncat.c (strncat): Undef the symbol in case it has been
44839 defined in bits/string.h.
44841 2011-09-09 Ulrich Drepper <drepper@gmail.com>
44843 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
44845 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
44848 2011-08-17 Andreas Jaeger <aj@suse.de>
44850 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
44852 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
44853 Ian Lance Taylor <iant@google.com>
44855 * math/libm-test.inc (lround_test): New testcase.
44856 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
44858 2011-09-08 Ulrich Drepper <drepper@gmail.com>
44860 * Makefile: Remove support for automatic cvs check-ins.
44861 * Makerules: Likewise.
44862 * config.make.in: Likewise.
44863 * configure.in: Likewise.
44864 * intl/Makefile: Likewise.
44865 * locale/Makefile: Likewise.
44866 * po/Makefile: Likewise.
44867 * posix/Makefile: Likewise.
44868 * sysdeps/gnu/Makefile: Likewise.
44869 * sysdeps/mach/hurd/Makefile: Likewise.
44870 * sysdeps/sparc/sparc32/Makefile: Likewise.
44873 * posix/Makefile (bug-regex32-ENV): Define.
44874 Patch by John Stanley <jpsinthemix@verizon.net>.
44876 * misc/Makefile (headers): Add bits/select2.h.
44877 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
44878 * misc/bits/select2.h: New file.
44879 * include/bits/select2.h: New file.
44880 * debug/Makefile (routines): Add fdelt_chk.
44881 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
44882 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
44884 * debug/fdelt_chk.c: New file.
44886 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
44887 * wcsmbs/test-wmemcmp.c: Likewise.
44888 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
44889 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
44891 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44893 * string/Makefile (strop-tests): Add memcmp.
44894 * string/test-wmemcmp.c: New file.
44895 * string/test-memcmp.c: Add wmemcmp support.
44897 2011-09-08 Roland McGrath <roland@hack.frob.com>
44900 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
44903 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
44904 garbage value in a __mach_port_mod_refs call in the cases of the
44905 task-self and thread-self ports.
44907 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
44909 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
44911 2011-09-08 Andreas Schwab <schwab@redhat.com>
44913 * elf/dl-load.c (lose): Check for non-null L.
44915 2011-09-07 Ulrich Drepper <drepper@gmail.com>
44917 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
44919 * elf/dl-libc.c (dlerror_run): Pass back error code from
44923 * elf/dl-load.c (lose): Free l_origin if it is valid.
44925 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
44927 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
44928 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
44929 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
44930 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
44931 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
44932 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
44934 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44936 * sysdeps/powerpc/fpu/e_hypot.c: New file.
44937 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
44938 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
44939 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
44940 * sysdeps/powerpc/fpu/k_cosf.c: New file.
44941 * sysdeps/powerpc/fpu/k_sinf.c: New file.
44942 * sysdeps/powerpc/fpu/s_cosf.c: New file.
44943 * sysdeps/powerpc/fpu/s_sinf.c: New file.
44944 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
44945 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
44947 2011-08-15 Alan Modra <amodra@gmail.com>
44950 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
44951 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
44952 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
44953 ppc_mcount to static-only-routines.
44954 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
44956 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
44957 __mcount_internal with usual JUMPTARGET. Remove useless nop.
44959 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
44961 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
44962 for finite and infinity parameters.
44964 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
44966 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
44967 and add nop instructions for throughput optimization.
44968 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
44970 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
44972 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
44973 aligned copy for power7 with vector-scalar instructions.
44974 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
44976 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
44978 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
44981 2011-09-07 Andreas Schwab <schwab@redhat.com>
44984 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
44987 2011-09-07 Ulrich Drepper <drepper@gmail.com>
44989 * sysdeps/unix/sysv/linux/x86_64/init-first.c
44990 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
44991 syscall wrapper around clock_gettime in __vdso_clock_gettime.
44992 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
44995 2011-09-06 Ulrich Drepper <drepper@gmail.com>
44997 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
44998 Forgot to demangle the pointer.
45000 * sysdeps/i386/sysdep.h: Define atom_text_section.
45001 * sysdeps/x86_64/sysdep.h: Likewise.
45002 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
45003 section with atom_text_section.
45004 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
45005 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
45006 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
45007 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
45008 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
45010 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
45011 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
45012 already be defined. Change to take two parameters and don't assign
45013 result to variable. Adjust all users.
45014 Define INTERNAL_GETTIME if not already defined.
45015 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
45017 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
45018 HAVE_CLOCK_GETTIME_VSYSCALL.
45019 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
45021 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
45022 gettimeofday vsyscall, just use time.
45024 2011-09-06 Andreas Schwab <schwab@redhat.com>
45026 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
45029 2011-09-06 Ulrich Drepper <drepper@gmail.com>
45031 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
45033 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
45035 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
45036 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
45037 syscall if possible.
45039 2011-09-05 Ulrich Drepper <drepper@gmail.com>
45041 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
45042 e_ident. Don't pass to find_mapsXX.
45043 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
45045 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
45047 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45048 strchr-sse2-no-bsf strrchr-sse2-no-bsf
45049 * sysdeps/x86_64/multiarch/strchr.S: Update.
45050 Check bit_slow_BSF bit.
45051 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
45052 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
45053 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
45055 2011-09-05 Ulrich Drepper <drepper@gmail.com>
45058 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
45060 (tryshell): Define.
45061 (__spawni): Change last parameter to be flag. Test
45062 SPAWN_XFLAGS_USE_PATH flag to use path or not.
45063 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
45064 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
45065 * posix/spawni.c: Likewise.
45066 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
45067 * posix/spawnp.c: Likewise. Change normal version to use
45068 SPAWN_XFLAGS_USE_PATH.
45069 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
45070 SPAWN_XFLAGS_TRY_SHELL.
45073 * posix/glob.h: Remove gcc 1.x support.
45076 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
45078 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
45080 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45081 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
45083 * sysdeps/i386/i686/multiarch/strchr.S: New file.
45084 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
45085 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
45086 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
45087 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
45088 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
45090 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45092 * sysdeps/x86_64/wcscmp.S: New file.
45094 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
45095 wcscmp-c wcscmp-sse2
45096 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
45097 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
45098 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
45099 * wcsmbs/wcscmp.c: Allow renaming.
45101 2011-09-05 David S. Miller <davem@davemloft.net>
45103 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
45104 stack slot, rather than the struct return pointer slot.
45105 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
45106 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
45107 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
45108 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
45110 2011-09-05 Ulrich Drepper <drepper@gmail.com>
45112 * po/ja.po: Update from translation team.
45115 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
45116 kernel in 64-bit binaries.
45118 2011-09-01 David S. Miller <davem@davemloft.net>
45120 * elf/elf.h (HWCAP_SPARC_*): Move to..
45121 * sysdeps/sparc/sysdep.h: this new file and add new values.
45122 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
45123 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
45124 _DL_HWCAP_COUNT to 24.
45125 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
45127 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
45128 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
45129 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
45130 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
45131 instead of magic constants.
45132 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
45134 2011-08-31 David S. Miller <davem@davemloft.net>
45136 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
45137 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
45138 Reimplement to do errno handling inline.
45139 (SYSCALL_ERROR_HANDLER): New macro.
45140 (__SYSCALL_STRING): Do not do errno handling in asm.
45141 (__CLONE_SYSCALL_STRING): Delete.
45142 (__INTERNAL_SYSCALL_STRING): Delete.
45143 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
45144 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
45145 (PSEUDO): Reimplement to do errno handling inline.
45146 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
45147 (SYSCALL_ERROR_HANDLER): New macro.
45148 (__SYSCALL_STRING): Do not do errno handling in asm.
45149 (__CLONE_SYSCALL_STRING): Delete.
45150 (__INTERNAL_SYSCALL_STRING): Delete.
45151 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
45152 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
45154 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
45155 (inline_syscall*): Add 'err' argument.
45156 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
45157 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
45158 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
45159 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
45161 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
45162 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
45164 2011-08-30 Andreas Schwab <schwab@redhat.com>
45166 * elf/rtld.c (dl_main): Relocate objects in dependency order.
45168 2011-08-29 Jiri Olsa <jolsa@redhat.com>
45170 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
45173 2011-08-24 David S. Miller <davem@davemloft.net>
45175 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
45177 2011-08-24 Andreas Schwab <schwab@redhat.com>
45179 * elf/Makefile: Add rules to build and run unload8 test.
45180 * elf/unload8.c: New file.
45181 * elf/unload8mod1.c: New file.
45182 * elf/unload8mod1x.c: New file.
45183 * elf/unload8mod2.c: New file.
45184 * elf/unload8mod3.c: New file.
45186 * elf/dl-close.c (_dl_close_worker): Reset private search list if
45189 2011-08-23 David S. Miller <davem@davemloft.net>
45191 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
45192 subtract stack bias.
45193 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
45194 %sp not %fp in calculations.
45195 (_JMPBUF_UNWINDS_ADJ): Likewise.
45197 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
45198 (aio_suspend): Call it to force an exception region around the
45199 AIO_MISC_WAIT() invocation.
45201 2011-08-23 Andreas Schwab <schwab@redhat.com>
45203 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
45206 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
45208 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
45210 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
45211 and <dl-machine.h>.
45212 (Elf64_FuncDesc): Remove.
45214 2011-08-22 David S. Miller <davem@davemloft.net>
45216 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
45217 sigaltstack check, add missing cfi directives.
45218 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
45219 missing cfi directives, and sigaltstack handling.
45221 2011-08-16 Andreas Schwab <schwab@redhat.com>
45224 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
45225 object is seen twice.
45226 * elf/dl-fini.c (_dl_sort_fini): Likewise.
45228 * elf/Makefile (distribute): Add tst-initorder2.c.
45229 (tests): Add tst-initorder2.
45230 (modules-names): Add tst-initorder2a tst-initorder2b
45231 tst-initorder2c tst-initorder2d. Add rules to build them.
45232 ($(objpfx)tst-initorder2.out): New rule.
45233 * elf/tst-initorder2.c: New file.
45234 * elf/tst-initorder2.exp: New file.
45236 2011-08-22 Andreas Schwab <schwab@redhat.com>
45238 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
45240 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
45241 dependencies back to end of function.
45243 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
45244 $(elfobjdir)/ld.so.
45246 2011-08-21 Ulrich Drepper <drepper@gmail.com>
45248 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
45249 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
45250 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
45251 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
45252 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
45253 of __vdso_gettimeofday.
45254 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
45255 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
45257 (_libc_vdso_platform_setup): Remove initialization of
45258 __vdso_gettimeofday and __vdso_time.
45260 2011-08-20 Ulrich Drepper <drepper@gmail.com>
45262 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
45263 and fgetc_unlocked.
45264 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
45267 * elf/dl-open.c (add_to_global): Report additions to the global scope
45268 for LD_DEBUG=scopes.
45269 (dl_open_worker): Also print scope of newly loaded dependencies.
45270 (_dl_show_scope): Indicate if there is no scope.
45273 * stdio-common/Makefile (tests): Add bug24.
45274 * stdio-common/bug24.c: New file.
45276 2011-08-19 Andreas Jaeger <aj@suse.de>
45279 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
45280 non-existant file when using close-on-exec mode.
45282 2011-08-20 Ulrich Drepper <drepper@gmail.com>
45284 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
45285 the very first instruction.
45287 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
45288 the CFI state in the end.
45289 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
45290 inclusion of dl-trampoline.h.
45291 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
45293 2011-08-19 Andreas Schwab <schwab@redhat.com>
45295 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
45296 expectations for long double.
45298 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
45299 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
45301 2011-08-14 David S. Miller <davem@davemloft.net>
45303 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
45304 artificual limit depends upon the system page size.
45306 2011-08-17 Ulrich Drepper <drepper@gmail.com>
45308 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
45309 * resolv/Makefile: Define CFLAGS-libresolv.
45311 2011-08-17 Andreas Schwab <schwab@redhat.com>
45313 * nss/makedb.c (compute_tables): Make variables used in nested
45316 2011-08-17 Ulrich Drepper <drepper@gmail.com>
45318 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
45319 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
45320 if buffer was too small.
45322 * elf/pldd.c (main): Attach to all threads in the process.
45323 Rewrite /proc handling to use *at functions.
45325 2011-08-16 Ulrich Drepper <drepper@gmail.com>
45327 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
45328 specifies first scope to show.
45329 (dl_open_worker): Update callers. Move printing scope of new
45330 object to before the relocation.
45331 * elf/rtld.c (dl_main): Update _dl_show_scope call.
45332 * sysdeps/generic/ldsodefs.h: Update declaration.
45334 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
45335 string for the scope number.
45337 2011-08-14 Ulrich Drepper <drepper@gmail.com>
45339 * nscd/servicescache.c (cache_addserv): Make sure written is always
45342 2011-08-14 Roland McGrath <roland@hack.frob.com>
45344 * sysdeps/i386/i486/bits/atomic.h
45345 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
45346 statement expression, so as to suppress "set but not used" warning.
45347 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
45349 * string/strncat.c (STRNCAT): Use prototype definition.
45351 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
45352 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
45354 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
45355 (localedef-modules): Add localedef.
45356 (locale-modules): Add locale.
45358 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
45359 * elf/rtld.c (dl_main): Invert order of assignment in last change,
45360 to avoid a warning.
45362 2011-08-14 David S. Miller <davem@davemloft.net>
45364 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
45365 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
45367 2011-08-13 Ulrich Drepper <drepper@gmail.com>
45369 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
45370 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
45371 * elf/rtld.c (dl_main): Set l_name of vDSO.
45372 Call _dl_show_scope when DL_DEBUG_SCOPES.
45373 (process_dl_debug): Recognize scopes flag and also set it for all.
45374 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
45375 Declare _dl_show_scope.
45377 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
45378 (do_dlopen): Pass caller_dlopen to dl_open.
45379 (__libc_dlopen_mode): Initialize caller_dlopen.
45381 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
45382 of libc. Make tolower call locale-independent. Optimize a bit by
45383 using isdigit instead of isalnum.
45384 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
45386 2011-08-12 Ulrich Drepper <drepper@gmail.com>
45388 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
45389 was a dependency or dynamically loaded.
45391 2011-08-11 Ulrich Drepper <drepper@gmail.com>
45393 * intl/l10nflist.c: Allow architecture-specific pop function.
45394 * sysdeps/x86_64/l10nflist.c: New file.
45396 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
45399 2011-08-10 Andreas Schwab <schwab@redhat.com>
45401 * include/dirent.h: Add libc_hidden_proto for scandirat and
45402 scandirat64. Don't declare __scandirat64.
45403 * dirent/scandirat.c: Add libc_hidden_def.
45404 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
45405 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
45407 2011-08-10 David S. Miller <davem@davemloft.net>
45409 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
45411 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
45412 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
45413 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
45415 2011-08-09 Ulrich Drepper <drepper@gmail.com>
45417 * Versions.def [libc]: Add GLIBC_2.15.
45418 * dirent/Makefile (routines): Add scandirat and scandirat64.
45419 * dirent/Versions [libc]: Export scandirat and scandirat64 for
45421 * dirent/dirent.h: Declare scandirat and scandirat64.
45422 * dirent/scandirat.c: New file.
45423 * dirent/scandirat64.c: New file.
45424 * sysdeps/wordsize-64/scandirat.c: New file.
45425 * sysdeps/wordsize-64/scandirat64.c: New file.
45426 * dirent/opendir.c: Define opendirat.
45427 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
45429 * dirent/scandir64.c: Adjust for scandir.c change.
45430 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
45431 __scandirat64, and __scandir_cancel_handler.
45432 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
45433 additional parameter and use openat instead of open (outside of ld.so).
45434 Add new __opendir as wrapper around __opendirat.
45435 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
45436 here without requiring old scandirat implementation.
45438 2011-08-08 Ulrich Drepper <drepper@gmail.com>
45440 * dirent/scandir.c (cancel_handler): Renamed to
45441 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
45442 defined. Adjust users.
45443 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
45444 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
45446 2011-08-04 Ulrich Drepper <drepper@gmail.com>
45448 * string/test-string.h (IMPL): Use __STRING to expand name and then
45451 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
45454 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45456 * string/Makefile: Update.
45457 (strop-tests): Append strncat.
45458 * string/test-wcscmp.c: New file.
45459 New comprehensive test for wcscmp.
45460 * string/test-strcmp.c: Update.
45461 (WIDE): New define.
45463 2011-07-22 Andreas Schwab <schwab@redhat.com>
45465 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
45468 2011-07-26 Andreas Schwab <schwab@redhat.com>
45470 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
45471 encoding to ACE if AI_IDN.
45473 2011-08-01 Jakub Jelinek <jakub@redhat.com>
45475 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
45476 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
45478 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
45480 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
45481 Fix overflow bug in strncat.
45482 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
45484 * string/test-strncat.c: Update.
45485 Add new tests for checking overflow bugs.
45487 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
45489 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45490 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
45491 * sysdeps/i386/i686/multiarch/strcat.S: New file.
45492 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
45493 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
45494 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
45495 * sysdeps/i386/i686/multiarch/strncat.S: New file.
45496 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
45497 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
45499 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
45500 (USE_AS_STRCAT): Define.
45501 Add strcat and strncat support.
45502 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
45504 2011-07-25 Andreas Schwab <schwab@redhat.com>
45506 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
45507 __n bigger than INT_MAX+1.
45508 (__strncmp_g): Likewise.
45510 2011-07-23 Ulrich Drepper <drepper@gmail.com>
45512 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
45513 * libio/stido.h: Likewise.
45515 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
45517 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
45520 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
45521 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
45522 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
45523 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
45524 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
45527 * scripts/test-installation.pl: Don't expect libnss_test1 to be
45530 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
45532 (_dl_x86_64_save_sse): Likewise.
45534 2011-07-22 Ulrich Drepper <drepper@gmail.com>
45536 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
45538 (_dl_x86_64_save_sse): Likewise.
45540 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
45542 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
45544 2011-07-21 Andreas Schwab <schwab@redhat.com>
45546 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
45548 (_dl_x86_64_save_sse): Use correct AVX check.
45550 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45552 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
45553 bug in strncpy/strncat.
45554 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
45556 2011-07-21 Ulrich Drepper <drepper@gmail.com>
45558 * string/tester.c (test_strcat): Add tests for different alignments
45559 of source and destination.
45560 (test_strncat): Likewise.
45562 2011-07-20 Ulrich Drepper <drepper@gmail.com>
45565 * posix/glob.c (glob): Check passed in values before using them in
45566 expressions to avoid some overflows.
45567 (glob_in_dir): Likewise.
45570 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
45571 check for AVX enablement so that we don't crash with old kernels and
45573 * elf/tst-audit4.c: Add same checks here.
45574 * elf/tst-audit6.c: Likewise.
45576 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
45578 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
45580 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
45582 2011-07-20 Ulrich Drepper <drepper@gmail.com>
45584 * po/cs.po: Update from translation team.
45585 * po/bg.po: Likewise.
45587 2011-07-12 Marek Polacek <mpolacek@redhat.com>
45589 * misc/sys/cdefs.h: Add support for const attribute.
45590 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
45591 to gnu_dev_{major,minor,makedev} functions.
45593 2011-07-20 Marek Polacek <mpolacek@redhat.com>
45595 * intl/dcigettext.c (get_output_charset): Add missing bracket.
45597 2011-07-20 Andreas Schwab <schwab@redhat.com>
45599 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
45602 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45604 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
45605 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
45606 register in order to avoid conflicts with the soft frame pointer
45607 being held in r11 when necessary.
45608 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
45609 (INTERNAL_VSYSCALL_NCS): Likewise.
45611 2011-07-14 Marek Polacek <mpolacek@redhat.com>
45613 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
45614 * elf/dl-fini.c (_dl_fini): Adjust caller.
45615 * elf/dl-close.c (_dl_close_worker): Likewise.
45616 * sysdeps/generic/ldsodefs.h: Adjust declaration.
45618 2011-07-15 Marek Polacek <mpolacek@redhat.com>
45620 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
45621 "aux_cache->nlibs < 0".
45623 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
45624 in the reload-count case.
45626 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
45628 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45629 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
45630 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
45631 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
45632 * sysdeps/x86_64/multiarch/strcat.S: New file.
45633 * sysdeps/x86_64/multiarch/strncat.S: New file.
45634 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
45635 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
45636 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
45637 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
45638 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
45639 (USE_AS_STRCAT): Define.
45640 Add strcat and strncat support.
45641 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
45642 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
45643 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
45644 * string/strncat.c: Update.
45645 (USE_AS_STRNCAT): Define.
45646 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45647 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
45649 * sysdeps/x86_64/multiarch/init-arch.h
45650 (bit_Prefer_PMINUB_for_stringop): New.
45651 (index_Prefer_PMINUB_for_stringop): Likewise.
45652 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
45653 bit_Prefer_PMINUB_for_stringop.
45655 2011-07-19 Ulrich Drepper <drepper@gmail.com>
45657 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
45659 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
45660 of casting of buffer.
45661 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
45662 buffer32 and buffer64.
45663 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
45664 writes instead of casting of buffer.
45665 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
45667 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
45670 2011-07-19 Andreas Schwab <schwab@redhat.com>
45672 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
45674 2011-07-19 Ulrich Drepper <drepper@gmail.com>
45676 * nscd/nscd.c (termination_handler): Don't do anything for a database
45677 if it has not yet been initialized.
45679 2011-07-18 Ulrich Drepper <drepper@gmail.com>
45681 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
45683 2011-07-15 Marek Polacek <mpolacek@redhat.com>
45685 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
45687 2011-07-18 Ulrich Drepper <drepper@gmail.com>
45689 * po/nl.po: Update from translation team.
45690 * po/sv.po: Likewise.
45692 2011-07-16 Roland McGrath <roland@hack.frob.com>
45694 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
45695 now disallowed by GCC.
45697 * configure.in (use-default-link): Default to yes if a test -shared
45698 link meets our qualifications.
45699 * configure: Regenerated.
45701 * config.make.in (output-format): New variable.
45702 * configure.in: Check for ld --print-output-format support.
45703 * configure: Regenerated.
45704 * Makerules ($(common-objpfx)format.lds)
45705 [$(output-format) != unknown]: Just use $(output-format),
45706 instead of the linker-script munging.
45708 2011-07-14 Roland McGrath <roland@hack.frob.com>
45710 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
45711 of $(common-objpfx)shlib.lds.
45712 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
45714 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
45715 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
45717 * configure.in (-z relro check): Adjust test code to add a large
45718 writable data section after it.
45719 * configure: Regenerated.
45721 2011-07-11 Roland McGrath <roland@hack.frob.com>
45723 * configure.in (-z relro check): Fix test code to make the variable
45725 * configure: Regenerated.
45727 2011-07-11 Ulrich Drepper <drepper@gmail.com>
45729 * nscd/nscd.h (struct traced_file): Define.
45730 (struct database_dyn): Remove inotify_descr, reset_res, and filename
45731 elements. Add traced_files.
45732 (inotify_fd): Declare.
45733 (register_traced_file): Declare.
45734 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
45735 (inotify_fd): Export.
45736 (resolv_conf_descr): Remove.
45737 (nscd_init): Move inotify descriptor creation to main.
45738 Don't register files for notification here.
45739 (register_traced_file): New function.
45740 (invalidate_cache): Don't use reset_res to determine whether to call
45741 res_init, go through the list of registered files.
45742 (main_loop_poll): The inotify descriptors are now stored in the
45743 structures for the traced files.
45744 (main_loop_epoll): Likewise
45745 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
45746 to __nss_disable_nscd.
45747 * nscd/cache.c (prune_cache): There is no single inotify descriptor
45748 for a database anymore. Check the records for all the registered
45750 * nss/Makefile (libnss_files-routines): Add files-init.
45751 (libnss_db-routines): Add db-init.
45752 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
45753 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
45754 * nss/nss_db/db-init.c: New file.
45755 * nss/nss_files/files-init.c: New file.
45756 * nss/nsswitch.c (nss_load_library): New function. Broken out of
45757 __nss_lookup_function.
45758 (__nss_lookup_function): Call nss_load_library.
45759 (nss_load_all_libraries): New function.
45760 (__nss_disable_nscd): Take parameter with callback function for files
45761 to register. Set is_nscd. Load all the DSOs for the NSS modules
45762 used for the cached services.
45763 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
45764 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
45765 options for features to all the files in nscd.
45767 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
45769 2011-07-10 Roland McGrath <roland@hack.frob.com>
45771 * csu/elf-init.c (__libc_csu_init): Comment typo.
45773 2011-07-09 Ulrich Drepper <drepper@gmail.com>
45775 * po/pl.po: Update from translation team.
45776 * po/ja.po: Likewise.
45777 * po/ru.po: Likewise.
45778 * po/ko.po: Likewise.
45779 * po/fr.po: Likewise.
45781 2011-07-09 Roland McGrath <roland@hack.frob.com>
45783 * configure.in (.ctors/.dtors header and trailer check):
45784 Use an empirical test on a built program.
45785 * configure: Regenerated.
45787 * configure.in (-z relro check): Use an empirical test on a built DSO.
45788 Detect, but do not require, on ia64.
45789 * configure: Regenerated.
45791 * configure.in (READELF): Find it with AC_CHECK_TOOL.
45792 Update tests that use readelf to use $READELF instead.
45793 * configure: Regenerated.
45795 2011-07-08 Ulrich Drepper <drepper@gmail.com>
45797 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
45798 if the result is not used.
45800 2011-07-05 Andreas Jaeger <aj@suse.de>
45803 * stdlib/tst-strtod.c: Add testcase.
45805 2011-07-07 Ulrich Drepper <drepper@gmail.com>
45807 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
45808 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
45809 The latter has a higher limit. Take additional parameter to pass to
45811 (__pathconf): Pass file to __statfs_link_max.
45812 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
45814 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
45818 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
45819 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
45821 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
45822 (__statfs_filesize_max): Likewise.
45823 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
45825 2011-07-05 Andreas Jaeger <aj@suse.de>
45827 * resolv/res_comp.c (dn_skipname): Remove unused variable.
45829 2011-07-06 Marek Polacek <mpolacek@redhat.com>
45831 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
45833 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
45836 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
45838 * Makefile (strop-tests): Add strncat.
45839 * string/test-strncat.c: New file.
45841 2011-06-30 Marek Polacek <mpolacek@redhat.com>
45843 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
45845 2011-06-21 Andreas Jaeger <aj@suse.de>
45847 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
45848 Copy rule from iconvdata/Makefile.
45850 2011-07-06 Ulrich Drepper <drepper@gmail.com>
45853 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
45854 but no long options are defined, just return 'W'.
45856 2011-06-22 Marek Polacek <mpolacek@redhat.com>
45859 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
45861 2011-07-06 Ulrich Drepper <drepper@gmail.com>
45863 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
45865 (innetgr): Likewise.
45867 2011-07-05 Roland McGrath <roland@hack.frob.com>
45869 * config.make.in (install_root): Default to $(DESTDIR).
45871 2011-07-05 Ulrich Drepper <drepper@gmail.com>
45873 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
45875 2011-07-02 Roland McGrath <roland@hack.frob.com>
45877 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
45879 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
45880 containing directory rather than embedding absolute directory names.
45882 * scripts/check-local-headers.sh: Rewritten using awk.
45883 Match by word, not by line. Print error messages for matches.
45884 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
45886 * Makerules [shlib-lds-flags empty]:
45887 ($(common-objpfx)libc_pic.opts): New target.
45888 ($(common-objpfx)libc_pic.os.clean): New target.
45889 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
45891 * config.make.in (OBJCOPY): New variable.
45892 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
45893 * configure: Regenerated.
45895 * config.make.in (use-default-link): New variable.
45896 * configure.in (use_default_link): Grok --with-default-link to set it.
45897 * configure: Regenerated.
45898 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
45899 (shlib-lds, shlib-lds-flags): Define to empty.
45901 * Makerules (shlib-lds): New variable.
45902 (shlib-lds-flags): New variable.
45903 (build-shlib, build-moduile, build-module-asneeded): Use it.
45904 ($(common-objpfx)libc.so): Use $(shlib-lds).
45905 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
45906 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
45908 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
45909 DT_FLAGS/DT_FLAGS_1 with zero flags.
45911 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
45912 linker script munging.
45914 2011-07-02 Ulrich Drepper <drepper@gmail.com>
45916 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
45918 * crypt/sha512.c (sha512_process_block): Perform total addition using
45919 128-bit if possible.
45920 (__sha512_finish_ctx): Likewise.
45921 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
45923 * crypt/sha256.c (SWAP64): Define.
45924 (sha256_process_block): Perform total addition using 64-bit if
45926 (__sha256_finish_ctx): Likewise.
45928 2011-07-01 Ulrich Drepper <drepper@gmail.com>
45930 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
45931 * nscd/initgrcache.c (addinitgroupsX): Likewise.
45932 * nscd/hstcache.c (cache_addhst): Likewise.
45933 * nscd/grpcache.c (cache_addgr): Likewise.
45934 * nscd/aicache.c (addhstaiX): Likewise
45935 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
45937 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
45939 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
45940 * nscd/initgrcache.c (addinitgroupsX): Likewise.
45941 * nscd/hstcache.c (cache_addhst): Likewise.
45942 * nscd/grpcache.c (cache_addgr): Likewise.
45943 * nscd/aicache.c (addhstaiX): Likewise
45945 2011-07-01 Andreas Schwab <schwab@redhat.com>
45947 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
45948 domain only when needed.
45950 2011-06-30 Andreas Schwab <schwab@redhat.com>
45952 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
45953 is always restored.
45955 2011-06-29 Ulrich Drepper <drepper@gmail.com>
45957 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
45958 are re-adding the entry.
45959 * nscd/servicescache.c (cache_addserv): Likewise.
45961 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
45963 * sysdeps/generic/dl-irel.h: fix protection against multiple
45965 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
45967 2011-06-28 Ulrich Drepper <drepper@gmail.com>
45970 * malloc/memusage.sh: Fix quoting in message.
45971 * debug/xtrace.sh: Likewise.
45973 * configure.in: Remove support for --experimental-malloc option, make
45975 * config.make.in: Likewise.
45976 * malloc/Makefile: Likewise.
45978 2011-06-27 Andreas Schwab <schwab@redhat.com>
45980 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
45981 two-byte characters.
45983 2011-06-27 Roland McGrath <roland@hack.frob.com>
45985 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
45986 AC_CACHE_CHECK invocation.
45987 * configure: Regenerated.
45989 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
45991 2011-06-27 Ulrich Drepper <drepper@gmail.com>
45994 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
45995 bit from old_res_options.
45997 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
45999 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
46000 value type for setfct.
46002 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
46004 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
46005 __gettimeofday instead of gettimeofday.
46007 2011-06-26 Ulrich Drepper <drepper@gmail.com>
46009 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
46011 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
46013 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
46015 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
46018 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
46020 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46021 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
46022 strcpy-sse2-unaligned strncpy-sse2-unaligned
46023 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
46024 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
46025 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
46026 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
46027 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
46028 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
46029 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
46030 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
46031 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
46032 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
46033 (STRCPY): Support SSE2 and SSSE3 versions.
46035 2011-06-24 Ulrich Drepper <drepper@gmail.com>
46038 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
46039 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
46040 kernels which artificially limit size of requests.
46042 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
46044 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46045 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
46046 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
46047 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
46048 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
46049 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
46050 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
46051 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
46052 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
46053 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
46054 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
46055 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
46056 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
46057 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
46058 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
46059 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46060 Enable unaligned load optimization for Intel Core i3, i5 and i7
46062 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
46064 (index_Fast_Unaligned_Load): Define.
46065 (HAS_FAST_UNALIGNED_LOAD): Define.
46067 2011-06-23 Marek Polacek <mpolacek@redhat.com>
46069 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
46071 2011-06-22 Ulrich Drepper <drepper@gmail.com>
46074 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
46075 until it is clear that the information is realy needed.
46076 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
46078 2011-06-22 Andreas Schwab <schwab@redhat.com>
46080 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
46082 2011-06-22 Ulrich Drepper <drepper@gmail.com>
46084 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
46085 /sys/devices/system/cpu/online if it is usable.
46087 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
46088 reading the information from the /proc filesystem to once a second.
46090 2011-06-21 Andreas Jaeger <aj@suse.de>
46092 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
46093 NULL after inclusion of kernel headers.
46095 2011-06-21 Ulrich Drepper <drepper@gmail.com>
46097 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
46098 calls to internal_setent.
46101 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
46102 addresses using gethostbyname4_r ignore IPv4 addresses.
46104 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
46105 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
46107 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
46109 2011-06-20 David S. Miller <davem@davemloft.net>
46111 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
46113 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
46115 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
46116 (elf_irel): Use it.
46117 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
46118 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
46119 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
46120 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
46121 * sysdeps/x86_64/dl-irel.h: Likewise.
46123 * elf/dl-runtime.c: Use elf_ifunc_invoke.
46124 * elf/dl-sym.c: Likewise.
46126 2011-06-15 Ulrich Drepper <drepper@gmail.com>
46128 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
46129 need to dereference resplen2.
46131 2011-06-14 Andreas Schwab <schwab@redhat.com>
46133 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
46135 2011-06-15 Ulrich Drepper <drepper@gmail.com>
46137 * Makeconfig: Define vardbdir and inst_vardbdir.
46138 * nss/Makefile: Add rules to install db-Makefile.
46140 * nss/nss_db/db-XXX.c: Cleanup.
46142 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
46143 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
46145 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
46146 * nss/makedb.c: Implement -g option to specify that value strings
46147 are generated and should not be added to table iterated over for
46149 * nss/nss_db/db-initgroups.c: New file.
46151 * nss/getent.c: Add support for initgroups lookups through getgrouplist
46154 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
46155 (internal_getgrouplist): Adjust to name change.
46156 Update use_initgroups_entry if this is not the first call.
46157 * nss/databases.def: Add initgroups entry.
46159 * nss/makedb.c (compute_tables): Check result of multiple hash table
46160 sizes to minimize maximum chain length.
46162 2011-06-14 Ulrich Drepper <drepper@gmail.com>
46164 * Versions.def: Add entry for libnss_db.
46165 * shlib-versions: Likewise.
46166 * nss/Makefile: Add rules to build libnss_db.
46167 * nss/Versions: Add libnss_db information. Organize libnss_files
46169 * nss/db-Makefile: Add gshadow support. Change rules for the new
46170 makedb progra. Some minor improvements to generate smaller files.
46171 * nss/nss_db/nss_db.h: Move NSS database header data structures to
46173 * nss/makedb.c: ...here.
46174 Improve database format to be smaller and require less memory at
46176 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
46178 * nss/nss_db/db-netgrp.c: Likewise.
46179 * nss/nss_db/db-open.c: Likewise.
46180 * nss/nss_files/flies-XXX.x: Adjust comments.
46181 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
46182 * nss/nss_files/files-grp.c: Likewise.
46183 * nss/nss_files/files-hosts.c: Likewise.
46184 * nss/nss_files/files-network.c: Likewise.
46185 * nss/nss_files/files-proto.c: Likewise.
46186 * nss/nss_files/files-pwd.c: Likewise.
46187 * nss/nss_files/files-rpc.c: Likewise.
46188 * nss/nss_files/files-service.c: Likewise.
46189 * nss/nss_files/files-sgrp.c: Likewise.
46190 * nss/nss_files/files-spwd.c: Likewise.
46191 * nss/nss_db/db-alias.c: Removed.
46192 * nss/nss_db/dummy-db.h: Removed.
46194 2011-06-02 Ulrich Drepper <drepper@gmail.com>
46196 * nss/makedb.c: Rewritten to not use database library.
46197 * nss/Makefile: Update to build new makedb program.
46199 2011-06-14 Andreas Jaeger <aj@suse.de>
46201 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
46202 memset declaration.
46204 2011-06-10 Andreas Schwab <schwab@redhat.com>
46206 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
46209 2011-06-10 Roland McGrath <roland@hack.frob.com>
46211 * Makerules (shlib.lds): Fail if the linker script comes out empty.
46212 * elf/Makefile ($(objpfx)ld.so): Likewise.
46214 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
46215 Don't list ld.so twice in dependencies.
46217 * posix/bug-regex31.c: Include <stdlib.h>.
46219 * nscd/hstcache.c (cache_addhst): Remove unused variable.
46221 * nis/nss_compat/compat-spwd.c
46222 (getspent_next_nss_netgr): Remove unused variable.
46223 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
46225 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
46226 nonmembers" output to use the right array.
46228 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
46230 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
46232 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
46233 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
46234 * catgets/gencat.c (read_input_file): Likewise.
46235 * locale/programs/locarchive.c (enlarge_archive): Likewise.
46237 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
46238 variable definition inside #if's controlling its use.
46240 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
46242 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
46244 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
46246 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
46249 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
46251 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
46252 * configure: Regenerated.
46254 * Makerules: Revert last change.
46255 * elf/Makefile: Likewise.
46257 2011-06-09 Roland McGrath <roland@hack.frob.com>
46259 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
46260 * elf/Makefile ($(objpfx)librtld.os): Likewise.
46261 (reloc-link): Likewise.
46263 2011-06-09 Ulrich Drepper <drepper@gmail.com>
46265 * elf/Makefile: Add rules to build pldd.
46266 * elf/pldd.c: New file.
46267 * elf/pldd-xx.c: New file.
46269 2011-06-07 Ulrich Drepper <drepper@gmail.com>
46271 * version.h: Update for 2.15 development version.
46273 2011-06-07 David S. Miller <davem@davemloft.net>
46275 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
46277 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
46278 elf_machine_lazy_rel): Likewise.
46279 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
46280 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
46281 elf_machine_lazy_rel): Likewise.
46282 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
46283 dl_hwcap via passed in argument.
46284 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
46287 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46289 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
46291 2011-06-06 Roland McGrath <roland@hack.frob.com>
46294 * manual/fdl-1.1.texi: New file, verbatim from:
46295 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
46296 * manual/lgpl-2.1.texi: New file, verbatim from:
46297 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
46298 * manual/Makefile (licenses): New variable, list those new file names.
46300 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
46302 * manual/fdl.texi: File removed.
46303 * manual/lesser.texi: File removed.
46304 * manual/libc.texinfo (Copying, Documentation License):
46305 Use new @include file names, put @appendix directive before @include.
46307 2011-06-04 Jakub Jelinek <jakub@redhat.com>
46310 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
46311 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
46312 (mq_open): Add __NTH.
46314 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
46316 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46317 Assume Intel Core i3/i5/i7 processor if AVX is available.
46319 2011-05-31 Ulrich Drepper <drepper@gmail.com>
46321 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
46324 2011-05-31 Andreas Schwab <schwab@redhat.com>
46326 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
46327 memory. Use alloca_account. Fix memory leak when retrying.
46329 2011-05-31 Ulrich Drepper <drepper@gmail.com>
46331 * version.h (RELEASE): Bump for 2.14 release.
46332 * include/features.h (__GLIBC_MINOR__): Bump to 14.
46334 * config.make.in (RANLIB): Remove entry.
46336 2011-05-30 Ulrich Drepper <drepper@gmail.com>
46338 * po/Makefile (po-sed-cmd): Add ksh to extensions.
46339 (libc.pot): Work around missing support for .ksh extension in xgettext.
46342 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
46343 if both request failed.
46344 (send_dg): In case of server errors clear resplen or *resplen2.
46347 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
46348 when there are multiple maps.
46349 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
46350 (_dl_fini): Remove test here.
46352 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
46354 2011-05-29 Ulrich Drepper <drepper@gmail.com>
46357 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
46358 bit from old_res_options.
46359 (gaih_inet): Likewise.
46362 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
46365 * resolv/res_init.c (res_setoptions): Make the code more compact.
46368 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
46372 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
46374 * malloc/malloc.h: Mark malloc hook variables as deprecated.
46377 * malloc/malloc.h: Declare malloc hook variables as volatile.
46379 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
46383 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
46384 raise in the comment.
46385 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
46386 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
46387 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
46389 2011-05-28 Ulrich Drepper <drepper@gmail.com>
46392 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
46393 grow the buffers more if it already has to be sufficient.
46394 (build_wcs_upper_buffer): Likewise.
46395 * posix/regexec.c (check_matching): Likewise.
46396 (clean_state_log_if_needed): Likewise.
46397 (extend_buffers): Don't enlarge buffers beyond size of the input
46399 Patches mostly by Emil Wojak <emil@wojak.eu>.
46400 * posix/bug-regex32.c: New file.
46401 * posix/Makefile (tests): Add bug-regex32.
46403 * locale/findlocale.c (_nl_find_locale): Return right away if
46404 _nl_explode_name failed.
46405 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
46407 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
46409 * debug/xtrace.sh: Unify messages.
46410 * malloc/memusage.sh: Likewise.
46413 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
46414 time symbol from vDSO. Substitute with vsyscall if not available.
46415 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
46418 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
46419 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
46420 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
46421 Add sendmmsg and internal_sendmmsg.
46422 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
46423 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
46424 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
46426 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
46427 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
46428 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
46430 2011-05-27 Ulrich Drepper <drepper@gmail.com>
46433 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
46434 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
46436 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
46440 * iconvdata/Makefile (tests): Add bug-iconv9.
46441 * iconvdata/bug-iconv9.c: New file.
46443 2011-05-27 Andreas Schwab <schwab@redhat.com>
46446 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
46448 2011-05-25 Jakub Jelinek <jakub@redhat.com>
46450 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
46451 (struct user_regs_struct): Change intcs field back to cs.
46453 2011-05-25 Ulrich Drepper <drepper@gmail.com>
46455 * po/ja.po: Update from translation team.
46457 2011-05-23 Ulrich Drepper <drepper@gmail.com>
46460 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
46461 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
46463 2011-05-20 Andreas Schwab <schwab@redhat.com>
46465 * stdlib/longlong.h: Update from GCC.
46467 2011-05-23 Andreas Schwab <schwab@redhat.com>
46469 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
46471 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
46472 Add parameter name.
46473 (__sysconf): Pass it down.
46475 2011-05-22 Ulrich Drepper <drepper@gmail.com>
46478 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
46480 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
46481 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
46482 add in in __libc_use_alloca calls. Adjust callers.
46483 (glob): Use malloc in some situations.
46485 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
46486 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
46489 2011-05-21 Ulrich Drepper <drepper@gmail.com>
46491 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
46492 and CLOCK_BOOTTIME_ALARM.
46495 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
46498 * string/_strerror.c (__strerror_r): Print negative errors as signed
46502 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
46503 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
46504 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
46506 * configure.in: Fix typo in redirection and correct removal of test
46507 files in two cases.
46510 * locale/setlocale.c (new_composite_name): Fix test to check for
46511 identical name of all categories.
46514 * libio/filedoalloc.c (local_isatty): New function.
46515 (_IO_file_doallocate): Use local_isatty.
46516 * stdio-common/perror.c (perror): In case a new stream is used
46517 forward the stream error.
46518 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
46521 2011-05-20 Ulrich Drepper <drepper@gmail.com>
46524 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
46526 * include/alloca.h (extend_alloca_account): Define.
46529 * posix/regex.h: Fix comments with documentation of user-accessible
46530 fields after compilation and describe correct free'ing of pattern
46531 after re_compile_pattern.
46532 Patch by Reuben Thomas <rrt@sc3d.org>.
46534 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
46536 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
46537 and -mno-altivec to prevent the compiler from using Altivec and/or
46538 VSX instructions when the corresponding registers are not available.
46540 2011-05-19 Andreas Schwab <schwab@redhat.com>
46542 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
46544 2011-05-19 Ulrich Drepper <drepper@gmail.com>
46546 * libio/freopen.c (freopen): Use __dup2, not dup2.
46547 * libio/freopen64.c (freopen64): Likewise.
46549 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
46552 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
46553 * math/Makefile (tests): Add test-powl.
46554 (CFLAGS-test-powl.c): Define.
46555 * math/test-powl.c: New file.
46557 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
46559 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
46561 2011-05-17 Ulrich Drepper <drepper@gmail.com>
46564 * iconvdata/gb18030.c: Update to GB18020-2005.
46566 2011-05-16 Ulrich Drepper <drepper@gmail.com>
46568 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
46569 RE_SYNTAX_POSIX_AWK): Update to match recent development.
46570 Patch by Aharon Robbins <arnold@skeeve.com>.
46573 * stdlib/putenv.c (putenv): Don't always create copy of the variable
46577 * misc/pselect.c (__pselect): Handle timeout value errors hidden
46578 through underflows.
46581 * misc/error.c (error_at_line): Ensure file_name and old_file_name
46582 point to strings before performing equality test for error_one_per_line
46586 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
46589 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
46590 (struct user_fpregs_struct): Avoid __uint*_t types.
46593 * malloc/mtrace.c (tr_where): Add additional parameter to point to
46594 symbol info. Use it instead of calling _dl_addr locally.
46595 (lock_and_info): New function.
46596 (tr_freehook): Call lock_and_info and pass symbol info as additional
46597 parameter to tr_where.
46598 (tr_mallochook): Likewise.
46599 (tr_reallochook): Likewise.
46600 (tr_memalignhook): Likewise.
46602 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
46603 used and couldn't be at all thread-safe.
46605 2011-05-15 Ulrich Drepper <drepper@gmail.com>
46607 * libio/freopen.c (freopen): Don't close old file descriptor
46608 before the new one is opened. Instead dup the new file descriptor
46609 to the old one after the new stream is created.
46610 * libio/freopen64.c (freopen64): Likewise.
46611 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
46612 * libio/fileops.c (_IO_new_file_close_it): Handle new
46613 _IO_FLAGS2_NOCLOSE flag.
46614 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
46615 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
46616 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
46617 _IO_FLAGS2_NOCLOSE flag.
46618 * include/unistd.h: Add hidden_proto for dup3.
46619 Define __have_dup3.
46620 * io/dup3.c: Define hidden symbol.
46621 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
46624 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
46625 when an incomplete long option is used.
46626 * posix/tst-getopt_long1.c: New file.
46627 * posix/Makefile (tests): Add tst-getopt_long1.
46630 * scripts/config.guess: Update from autoconf-2.68.
46631 * scripts/config.sub: Likewise.
46634 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
46636 (has_cpuclock): ...this. New function.
46637 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
46638 macro here based on has_cpuclock code.
46641 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
46642 First byte (not low byte) is now always NUL.
46643 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
46645 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
46646 Use non-cancelable interfaces.
46649 * locale/iso-639.def: Add entry for Sorani.
46652 * include/stdlib.h: Move include protection to the right place.
46653 Define abort_msg_s. Declare __abort_msg with it.
46654 * stdlib/abort.c (__abort_msg): Adjust type.
46655 * assert/assert.c (__assert_fail_base): New function. Majority
46656 of code from __assert_fail. Allocate memory for __abort_msg with
46658 (__assert_fail): Now call __assert_fail_base.
46659 * assert/assert-perr.c: Remove bulk of implementation. Use
46660 __assert_fail_base.
46661 * include/assert.hL Declare __assert_fail_base.
46662 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
46664 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
46666 2011-05-14 Ulrich Drepper <drepper@gmail.com>
46670 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
46671 until all modules are registered in the DTV.
46672 * elf/Makefile: Add rules to build and run tst-tls19.
46673 * elf/tst-tls19.c: New file.
46674 * elf/tst-tls19mod1.c: New file.
46675 * elf/tst-tls19mod2.c: New file.
46676 * elf/tst-tls19mod3.c: New file.
46677 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
46680 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
46684 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
46685 two-byte sequence errors.
46686 * iconvdata/Makefile (tests): Add bug-iconv8.
46687 * iconvdata/bug-iconv8.c: New file.
46690 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
46693 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
46696 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
46697 (dummy_getcfa): New function.
46698 (init): Get _Unwind_GetCFA address, use dummy if not found.
46699 (backtrace_helper): In recursion check, also check whether CFA changes.
46700 (__backtrace): Completely initialize arg.
46702 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
46703 storing incomplete byte sequence in state object. Avoid testing for
46704 guaranteed too small input if we know there is enough data available.
46706 2011-05-11 Andreas Schwab <schwab@redhat.com>
46708 * Makeconfig (+link-pie): Indent.
46709 * Rules (binaries-pie): Define if $(have-fpie) and
46711 (binaries-shared): Also filter out $(binaries-pie).
46712 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
46713 * nscd/Makefile (others-pie): Add nscd.
46714 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
46715 ($(objpfx)nscd): Remove command override.
46716 * login/Makefile (others-pie): Add pt_chown.
46717 ($(objpfx)pt_chown): Remove command override.
46718 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
46719 remove command overrides.
46721 2011-05-13 Ulrich Drepper <drepper@gmail.com>
46723 * libio/tst_putwc.c: Fix error messages.
46726 * libio/fileops.c (_IO_new_file_close_it): Always flush when
46727 currently writing and seek to current position when not.
46728 * libio/Makefile (tests): Add bug-fclose1.
46729 * libio/bug-fclose1.c: New file.
46731 2011-05-12 Ulrich Drepper <drepper@gmail.com>
46734 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
46735 don't set DF_1_NODELETE here.
46736 (do_lookup_x): When entering new entry test for copy relocation
46737 and if necessary set DF_1_NODELETE flag.
46738 * elf/tst-unique4.cc: New file.
46739 * elf/tst-unique4.h: New file.
46740 * elf/tst-unique4lib.cc: New file.
46741 * elf/Makefile: Add rules to build and run tst-unique4.
46742 Patch by Piotr Bury <pbury@goahead.com>.
46744 2011-05-11 Ulrich Drepper <drepper@gmail.com>
46747 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
46750 * misc/mntent_r.c (addmntent): Flush the stream after the output
46753 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
46754 (is_trusted_path_normalize): Skip initial colon. Append slash
46755 to empty buffer. Duplicate is_trusted_path code but allow
46756 constructed patch to be prefix.
46757 (is_dst): Allow $ORIGIN followed by /.
46758 (_dl_dst_substitute): Correct clearing of check_for_trusted.
46759 Correct testing of result of is_trusted_path_normalize
46760 (decompose_rpath): Fix warning.
46762 2011-05-10 Ulrich Drepper <drepper@gmail.com>
46765 * grp/initgroups.c (internal_getgrouplist): When we found the service
46766 list through the initgroups entry in nsswitch.conf do not always
46767 continue on a successful lookup. Don't always use the
46768 __nss_group_database value if it is set.
46769 * nss/nsswitch.conf (initgroups): Change action for successful db
46770 lookup to continue for compatibility.
46772 2011-05-09 Ulrich Drepper <drepper@gmail.com>
46775 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
46777 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
46779 * iconvdata/tst-tables.sh: Likewise.
46780 * iconvdata/cp770.c: New file.
46781 * iconvdata/cp771.c: New file.
46782 * iconvdata/cp772.c: New file.
46783 * iconvdata/cp773.c: New file.
46784 * iconvdata/cp774.c: New file.
46785 * iconvdata/testdata/CP770: New file.
46786 * iconvdata/testdata/CP770..UTF8: New file.
46787 * iconvdata/testdata/CP771: New file.
46788 * iconvdata/testdata/CP771..UTF8: New file.
46789 * iconvdata/testdata/CP772: New file.
46790 * iconvdata/testdata/CP772..UTF8: New file.
46791 * iconvdata/testdata/CP773: New file.
46792 * iconvdata/testdata/CP773..UTF8: New file.
46793 * iconvdata/testdata/CP774: New file.
46794 * iconvdata/testdata/CP774..UTF8: New file.
46796 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
46798 * iconvdata/gen-8bit-gap.sh: Likewise.
46799 * iconvdata/gen-8bit.sh: Likewise.
46801 * locale/iso-639.def: Add ary entry.
46804 * locale/C-translit.h.in: Add U20A1 transliteration.
46807 * locale/iso-639.def: Add wae entry.
46808 Patch by Kevin Bortis <bortis@translate-wae.ch>.
46811 * locale/programs/localedef.c (construct_output_path): Use ssize_t
46815 * locale/C-translit.h.in: Add entry for U20B9.
46816 Patch by pravin.d.s@gmail.com.
46818 2011-05-08 Ulrich Drepper <drepper@gmail.com>
46821 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
46822 ENAMETOOLONG use generic getcwd.
46823 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
46824 in rtld. Use *stat64.
46825 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
46826 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
46827 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
46828 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
46829 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
46830 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
46831 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
46832 __fstatat64 macros.
46833 * include/dirent.h: Add libc_hidden_proto for rewinddir.
46834 * dirent/rewinddir.c: Add libc_hidden_def.
46835 * sysdeps/mach/hurd/rewinddir.c: Likewise.
46836 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
46838 * include/dirent.h (__alloc_dir): Add flags parameter.
46839 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
46840 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
46842 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
46843 from fdopendir if O_CLOEXEC is already set.
46845 2011-03-15 Alan Modra <amodra@gmail.com>
46847 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
46848 l_tls_firstbyte_offset non-zero. Save padding offset in
46849 l_tls_firstbyte_offset for later use.
46850 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
46851 freeing static tls block.
46853 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
46855 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
46856 where #ifdef was intended. The intent is to prevent ARG_MAX from
46857 being defined by the kernel headers.
46859 2011-05-07 Ulrich Drepper <drepper@gmail.com>
46862 * resolv/resolv.h: Define RES_NOTLDQUERY.
46863 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
46864 no-tld-query and set RES_NOTLDQUERY.
46865 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
46866 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
46867 modern BIND to search name as TLD unless forbidden.
46869 2011-05-07 Petr Baudis <pasky@suse.cz>
46870 Ulrich Drepper <drepper@gmail.com>
46873 * elf/dl-load.c (fillin_rpath): Move trusted path check...
46874 (is_trusted_path): ...to here.
46875 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
46876 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
46877 using is_trusted_path_normalize() in setuid scripts.
46879 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
46881 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
46882 __BEGIN/__END_DECLS.
46884 2011-05-06 Ulrich Drepper <drepper@gmail.com>
46886 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
46887 NSS_STATUS_NOTFOUND if no record was found.
46889 2011-05-05 Andreas Schwab <schwab@redhat.com>
46891 * sunrpc/Makefile (headers): Add rpc/netdb.h.
46892 (headers-not-in-tirpc): Remove rpc/netdb.h
46893 * resolv/netdb.h: Revert last change.
46895 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
46897 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
46898 circular dependency between libgcc.a and libc.a.
46900 2011-05-05 Andreas Schwab <schwab@redhat.com>
46902 * resolv/netdb.h: Don't include <rpc/netdb.h>.
46903 * nis/Makefile: Don't install rpcsvc/*.
46904 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
46905 instead of <rpc/types.h>.
46906 (MAXHOSTNAMELEN): Define.
46908 2011-05-03 Andreas Schwab <schwab@redhat.com>
46910 * elf/ldconfig.c (add_dir): Don't crash on empty path.
46912 2011-04-28 Maciej Babinski <mbabinski@google.com>
46915 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
46916 gethostbyname4_r when IPv6 results are possible.
46918 2011-05-02 Ulrich Drepper <drepper@gmail.com>
46921 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
46922 _PC_PIPE_BUF handling.
46924 2011-04-30 Bruno Haible <bruno@clisp.org>
46927 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
46928 * resolv/netdb.h (getnameinfo): Change type of flags parameter
46930 * inet/getnameinfo.c (getnameinfo): Likewise.
46932 2011-04-29 Ulrich Drepper <drepper@gmail.com>
46934 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
46935 to groups setting in database lookup.
46936 * nss/nsswitch.conf: Add initgroups entry.
46938 2011-04-22 Ulrich Drepper <drepper@gmail.com>
46941 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
46943 Patch by Eric Blake <eblake@redhat.com>.
46945 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
46947 * sunrpc/Makefile (need-export-routines): Add svc_run.
46948 (routines): Remove svc_run.
46949 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
46950 * sunrpc/clnt_perr.c (clnt_perrno): Export.
46951 * sunrpc/svc_run.c (svc_run): Likewise.
46952 * sunrpc/svc_udp.c (svcudp_create): Likewise.
46954 2011-04-21 Ulrich Drepper <drepper@gmail.com>
46956 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
46957 problem in reallocation in last patch.
46959 2011-04-20 Ulrich Drepper <drepper@gmail.com>
46961 * sunrpc/Makefile: Move inclusion of Rules.
46963 2011-04-19 Ulrich Drepper <drepper@gmail.com>
46965 * nss/nss_files/files-initgroups.c: New file.
46966 * nss/Makefile (libnss_files-routines): Add files-initgroups.
46967 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
46968 _nss_files_initgroups_dyn.
46970 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
46972 * elf/elf.h (R_ARM_IRELATIVE): Define.
46974 2011-04-19 Ulrich Drepper <drepper@gmail.com>
46976 * po/ru.po: Update from translation team.
46978 2011-04-17 Ulrich Drepper <drepper@gmail.com>
46980 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
46983 2011-02-06 Mike Frysinger <vapier@gentoo.org>
46986 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
46987 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
46988 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
46989 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
46990 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
46992 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
46994 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
46996 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
46997 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
46998 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
47000 2011-04-17 Ulrich Drepper <drepper@gmail.com>
47003 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
47005 * stdlib/bug-getcontext.c: New file.
47006 * stdlib/Makefile: Add rules to build and run bug-getcontext.
47008 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47010 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
47011 instructions into .machine "z9-109".
47012 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
47013 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
47015 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47017 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
47018 between environment variables and auxiliary vector.
47020 2011-04-16 Ulrich Drepper <drepper@gmail.com>
47022 * Makefile: Add rules to build linkobj/libc.so.
47023 * include/libc-symbols.h: Define libc_hidden_nolink.
47024 * include/rpc/auth.h: Mark functions which are to be hidden.
47025 * include/rpc/auth_des.h: Likewise.
47026 * include/rpc/auth_unix.h: Likewise.
47027 * include/rpc/clnt.h: Likewise.
47028 * include/rpc/des_crypt.h: Likewise.
47029 * include/rpc/key_prot.h: Likewise.
47030 * include/rpc/pmap_clnt.h: Likewise.
47031 * include/rpc/pmap_prot.h: Likewise.
47032 * include/rpc/pmap_rmt.h: Likewise.
47033 * include/rpc/rpc_msg.h: Likewise.
47034 * include/rpc/svc.h: Likewise.
47035 * include/rpc/svc_auth.h: Likewise.
47036 * include/rpc/xdr.h: Likewise.
47037 * nis/Makefile: Link all DSOs against linkobj/libc.so.
47038 * nss/Makefile: Likewise.
47039 * sunrpc/Makefile: Don't install headers. Build library with normal
47040 entry points. Don't build rpcinfo. Link RPC tests appropriately.
47041 * sunrpc/auth_des.c: Hide exported symbols by default, export some
47042 for the compat linking library. Remove use of INTDEF/INTUSE.
47043 * sunrpc/auth_none.c: Likewise.
47044 * sunrpc/auth_unix.c: Likewise.
47045 * sunrpc/authdes_prot.c: Likewise.
47046 * sunrpc/authuxprot.c: Likewise.
47047 * sunrpc/clnt_gen.c: Likewise.
47048 * sunrpc/clnt_perr.c: Likewise.
47049 * sunrpc/clnt_raw.c: Likewise.
47050 * sunrpc/clnt_simp.c: Likewise.
47051 * sunrpc/clnt_tcp.c: Likewise.
47052 * sunrpc/clnt_udp.c: Likewise.
47053 * sunrpc/clnt_unix.c: Likewise.
47054 * sunrpc/des_crypt.c: Likewise.
47055 * sunrpc/des_soft.c: Likewise.
47056 * sunrpc/get_myaddr.c: Likewise.
47057 * sunrpc/key_call.c: Likewise.
47058 * sunrpc/key_prot.c: Likewise.
47059 * sunrpc/netname.c: Likewise.
47060 * sunrpc/pm_getmaps.c: Likewise.
47061 * sunrpc/pm_getport.c: Likewise.
47062 * sunrpc/pmap_clnt.c: Likewise.
47063 * sunrpc/pmap_prot.c: Likewise.
47064 * sunrpc/pmap_prot2.c: Likewise.
47065 * sunrpc/pmap_rmt.c: Likewise.
47066 * sunrpc/publickey.c: Likewise.
47067 * sunrpc/rpc_cmsg.c: Likewise.
47068 * sunrpc/rpc_common.c: Likewise.
47069 * sunrpc/rpc_dtable.c: Likewise.
47070 * sunrpc/rpc_prot.c: Likewise.
47071 * sunrpc/rpc_thread.c: Likewise.
47072 * sunrpc/rtime.c: Likewise.
47073 * sunrpc/svc.c: Likewise.
47074 * sunrpc/svc_auth.c: Likewise.
47075 * sunrpc/svc_authux.c: Likewise.
47076 * sunrpc/svc_raw.c: Likewise.
47077 * sunrpc/svc_run.c: Likewise.
47078 * sunrpc/svc_simple.c: Likewise.
47079 * sunrpc/svc_tcp.c: Likewise.
47080 * sunrpc/svc_udp.c: Likewise.
47081 * sunrpc/svc_unix.c: Likewise.
47082 * sunrpc/svcauth_des.c: Likewise.
47083 * sunrpc/xcrypt.c: Likewise.
47084 * sunrpc/xdr.c: Likewise.
47085 * sunrpc/xdr_array.c: Likewise.
47086 * sunrpc/xdr_float.c: Likewise.
47087 * sunrpc/xdr_intXX_t.c: Likewise.
47088 * sunrpc/xdr_mem.c: Likewise.
47089 * sunrpc/xdr_rec.c: Likewise.
47090 * sunrpc/xdr_ref.c: Likewise.
47091 * sunrpc/xdr_sizeof.c: Likewise.
47092 * sunrpc/xdr_stdio.c: Likewise.
47094 2011-04-10 Ulrich Drepper <drepper@gmail.com>
47097 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
47098 * sysdeps/ia64/dl-tls.h: Likewise.
47099 * sysdeps/powerpc/dl-tls.h: Likewise.
47100 * sysdeps/s390/dl-tls.h: Likewise.
47101 * sysdeps/sh/dl-tls.h: Likewise.
47102 * sysdeps/sparc/dl-tls.h: Likewise.
47103 * sysdeps/x86_64/dl-tls.h: Likewise.
47104 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
47106 2011-03-14 Andreas Schwab <schwab@redhat.com>
47108 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
47109 rpath element also skip the following colon.
47110 (expand_dynamic_string_token): Add is_path parameter and pass
47111 down to DL_DST_REQUIRED and _dl_dst_substitute.
47112 (decompose_rpath): Call expand_dynamic_string_token with
47113 non-zero is_path. Ignore empty rpaths.
47114 (_dl_map_object_from_fd): Call expand_dynamic_string_token
47117 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
47119 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
47122 2011-04-09 Ulrich Drepper <drepper@gmail.com>
47125 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
47126 Patch by Filipe David Manana <fdmanana@apache.org>.
47128 2011-04-07 Andreas Schwab <schwab@redhat.com>
47130 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
47131 Maintain aligned stack.
47132 (CHECK_RSP): Remove unused macro.
47134 2011-04-03 Ulrich Drepper <drepper@gmail.com>
47136 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
47137 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
47139 2011-04-02 Ulrich Drepper <drepper@gmail.com>
47141 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
47143 * include/features.h: Mention __USE_XOPEN2K8 in comment.
47145 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
47148 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
47149 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
47150 * sysdeps/x86_64/memmove.c: New file.
47151 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
47152 (memcpy): Renamed to ...
47153 (__new_memcpy): This.
47154 (memcpy): Provide GLIBC_2_14 memcpy.
47155 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
47156 (memcpy): Provide GLIBC_2_2_5 memcpy.
47158 2011-04-01 Ulrich Drepper <drepper@gmail.com>
47161 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
47163 2011-03-30 Andreas Schwab <schwab@redhat.com>
47165 * misc/syncfs.c: New file.
47166 * misc/Makefile (routines): Add syncfs.
47167 * posix/unistd.h: Declare syncfs.
47168 * sysdeps/unix/syscalls.list: Add syncfs.
47170 2011-04-01 Andreas Schwab <schwab@redhat.com>
47172 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
47174 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
47175 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
47176 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
47177 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
47178 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
47179 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
47180 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
47182 2011-04-01 Ulrich Drepper <drepper@gmail.com>
47184 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
47185 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
47186 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
47187 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
47188 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
47189 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
47190 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
47192 * io/Makefile: Compile fallocate.c, fallocate64.c, and
47193 sync_file_range.c with -fexceptions.
47194 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
47195 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
47196 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
47197 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
47198 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
47199 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
47200 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
47201 sync_file_range as cancellation point
47202 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
47203 now a wrapper around __call_sync_file_range with cancellation handling.
47204 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
47205 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
47206 function name to __call_sync_file_range.
47207 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
47208 Add call_sync_file_range.
47210 2011-04-01 Andreas Schwab <schwab@redhat.com>
47212 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47215 2011-04-01 Ulrich Drepper <drepper@gmail.com>
47217 * iconv/iconv.h: Fix typo in comment.
47218 * io/fcntl.h: Likewise.
47219 * libio/stdio.h: Likewise.
47220 * posix/spawn.h: Likewise.
47221 * posix/unistd.h: Likewise.
47222 * stdlib/stdlib.h: Likewise.
47223 * time/time.h: Likewise.
47224 * wcsmbs/wchar.h: Likewise.
47226 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
47227 open_by_handle): Add.
47228 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
47229 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
47230 Augment a few comments.
47231 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
47232 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
47233 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
47234 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
47235 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
47236 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
47239 * io/fcntl.h (AT_EMPTY_PATH): Define.
47241 2011-03-30 Ulrich Drepper <drepper@gmail.com>
47243 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
47244 * sysdeps/unix/sysv/linux/bits/time.h: New file.
47245 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
47247 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
47248 * Versions.def: Add GLIBC_2.14.
47249 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
47252 2011-03-22 Ulrich Drepper <drepper@gmail.com>
47254 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
47256 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
47258 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
47261 * string/test-strncmp.c (do_page_test): New function.
47262 (check2): Likewise.
47263 (test_main): Call check2.
47264 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
47266 2011-03-20 Ulrich Drepper <drepper@gmail.com>
47269 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
47270 Handle cache information in CPU leaf 4.
47271 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
47273 2011-03-18 Ulrich Drepper <drepper@gmail.com>
47276 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
47277 character representation.
47278 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
47280 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
47282 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
47283 END(__isnan) to END(__isnanf) to match function entry point/label
47284 EALIGN(__isnanf,...).
47286 2011-03-10 Jakub Jelinek <jakub@redhat.com>
47288 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
47290 2011-03-10 Ulrich Drepper <drepper@gmail.com>
47293 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
47294 copy from the symbol referenced in the relocation to initialize the
47296 Patch by Piotr Bury <pbury@goahead.com>.
47297 * elf/Makefile: Add rules to build and tst-unique3.
47298 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
47299 * elf/tst-unique3.cc: New file.
47300 * elf/tst-unique3.h: New file.
47301 * elf/tst-unique3lib.cc: New file.
47302 * elf/tst-unique3lib2.cc: New file.
47304 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
47306 2011-03-10 Mike Frysinger <vapier@gentoo.org>
47308 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
47309 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
47312 2011-03-06 Ulrich Drepper <drepper@gmail.com>
47314 * elf/dl-load.c (_dl_map_object): If we are looking for the first
47315 to-be-loaded object along a path to loader is ld.so.
47317 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
47318 Ulrich Drepper <drepper@gmail.com>
47320 * sysdeps/x86_64/memset.S: After aligning destination, code
47321 branches to different locations depending on the value of
47322 misalignment, when multiarch is enabled. Fix this.
47324 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
47326 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
47327 Set _x86_64_preferred_memory_instruction for AMD processsors.
47328 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47329 Set bit_Prefer_SSE_for_memop for AMD processors.
47331 2011-03-04 Ulrich Drepper <drepper@gmail.com>
47333 * libio/fmemopen.c (fmemopen): Optimize a bit.
47335 2011-03-03 Andreas Schwab <schwab@redhat.com>
47337 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
47339 2011-03-03 Roland McGrath <roland@redhat.com>
47341 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
47343 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
47345 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
47346 __bzero_ultra1 instead of __memset_ultra1.
47348 2011-02-23 Andreas Schwab <schwab@redhat.com>
47349 Ulrich Drepper <drepper@gmail.com>
47352 * include/link.h (struct link_map): Add l_orig_initfini.
47353 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
47354 returning unsuccessfully.
47355 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
47356 close of a file loaded at startup, restore the original l_initfini
47358 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
47359 list, store the pointer.
47360 * elf/Makefile ($(objpfx)noload-mem): New rule.
47361 (noload-ENV): Define.
47362 (tests): Add $(objpfx)noload-mem.
47363 * elf/noload.c: Include <memcheck.h>.
47364 (main): Call mtrace. Close all opened handles.
47366 2011-02-17 Andreas Schwab <schwab@redhat.com>
47369 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
47370 dependencies are missing.
47372 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
47374 Fix __if_freereq crash: Unlike the generic version which uses free,
47376 * sysdeps/mach/hurd/ifreq.h: New file.
47378 2011-01-27 Petr Baudis <pasky@suse.cz>
47379 Ulrich Drepper <drepper@gmail.com>
47382 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
47383 to extend_alloca().
47384 * stdio-common/bug23.c: New file.
47385 * stdio-common/Makefile (tests): Add bug23.
47387 2010-09-28 Andreas Schwab <schwab@redhat.com>
47388 Ulrich Drepper <drepper@gmail.com>
47391 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
47392 before performing relro protection. At old place add assertion
47393 to make sure nothing changed.
47395 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
47396 Glauber de Oliveira Costa <glommer@gmail.com>
47398 * elf/elf.h: Add new ARM TLS relocs.
47400 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
47402 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
47403 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
47405 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
47407 * sysdeps/wordsize-64/tst-writev.c: New file.
47409 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
47411 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
47412 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
47413 insns in _dl_start to prevent a TOC reference before relocs are
47416 2011-02-15 Ulrich Drepper <drepper@gmail.com>
47419 * Makeconfig: Remove RANLIB definition.
47420 * Makerules: Don't use RANLIB.
47421 * aclocal.m4: Remove ranlib test.
47422 * configure.in: No need to check for ranlib.
47423 * elf/rtld-Rules: Don't use RANLIB.
47425 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
47427 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
47429 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
47430 inclusion protection macro.
47432 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
47433 SIGRTMIN and SIGRTMAX and print information in that case only when
47434 SIGRTMIN is defined.
47436 2011-02-11 Jakub Jelinek <jakub@redhat.com>
47438 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
47439 arginfo fn returning -1.
47441 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
47442 and thousands string is zero terminated.
47444 2011-02-03 Andreas Schwab <schwab@redhat.com>
47446 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
47447 sysdeps/unix/sysv/linux/bits/socket.h.
47449 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
47451 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
47452 (__CPU_COUNT): Remove old macros.
47453 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
47454 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
47455 (__CPU_ALLOC, __CPU_FREE): Add macros.
47456 (__sched_cpualloc, __sched_cpufree): Add declarations.
47458 2011-02-05 Ulrich Drepper <drepper@gmail.com>
47460 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
47461 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
47462 * nscd/aicache.c (addhstaiX): Return timeout of added value.
47463 (readdhstai): Return value of addhstaiX call.
47464 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
47465 (addgrbyX): Return value returned by cache_addgr.
47466 (readdgrbyname): Return value returned by addgrbyX.
47467 (readdgrbygid): Likewise.
47468 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
47469 (addpwbyX): Return value returned by cache_addpw.
47470 (readdpwbyname): Return value returned by addhstbyX.
47471 (readdpwbyuid): Likewise.
47472 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
47473 (addservbyX): Return value returned by cache_addserv.
47474 (readdservbyname): Return value returned by addservbyX:
47475 (readdservbyport): Likewise.
47476 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
47477 (addhstbyX): Return value returned by cache_addhst.
47478 (readdhstbyname): Return value returned by addhstbyX.
47479 (readdhstbyaddr): Likewise.
47480 (readdhstbynamev6): Likewise.
47481 (readdhstbyaddrv6): Likewise.
47482 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
47483 (readdinitgroups): Return value returned by addinitgroupsX.
47484 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
47485 (prune_cache): Keep track of timeout value of re-added entries.
47486 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
47487 * nscd/nscd.h: Adjust prototypes of readd* functions.
47489 2011-02-04 Roland McGrath <roland@redhat.com>
47491 * nis/nis_server.c (nis_servstate): Use the right name for 0.
47492 (nis_stats): Likewise.
47493 * nis/nis_modify.c (nis_modify): Likewise.
47494 * nis/nis_remove.c (nis_remove): Likewise.
47495 * nis/nis_add.c (nis_add): Likewise.
47497 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
47499 * posix/fnmatch_loop.c: Add some consts.
47501 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
47503 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
47506 * config.make.in (config-cflags-novzeroupper): Define.
47507 * configure.in: Substitute libc_cv_cc_novzeroupper.
47508 * elf/Makefile (AVX-CFLAGS): Define.
47509 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
47510 (CFLAGS-tst-auditmod4a.c): Likewise.
47511 (CFLAGS-tst-auditmod4b.c): Likewise.
47512 (CFLAGS-tst-auditmod6b.c): Likewise.
47513 (CFLAGS-tst-auditmod6c.c): Likewise.
47514 (CFLAGS-tst-auditmod7b.c): Likewise.
47515 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
47517 2011-02-02 Ulrich Drepper <drepper@gmail.com>
47519 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
47520 function to the callback.
47521 Patch partly by Jiri Olsa <jolsa@redhat.com>.
47523 2011-02-02 Andreas Schwab <schwab@redhat.com>
47525 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
47528 2011-01-19 Ulrich Drepper <drepper@gmail.com>
47531 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
47533 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
47535 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
47538 * elf/Makefile: Add rules to build and run new test.
47539 * elf/tst-initorder.c: New file.
47540 * elf/tst-initorder.exp: New file.
47541 * elf/tst-initordera1.c: New file.
47542 * elf/tst-initordera2.c: New file.
47543 * elf/tst-initordera3.c: New file.
47544 * elf/tst-initordera4.c: New file.
47545 * elf/tst-initorderb1.c: New file.
47546 * elf/tst-initorderb2.c: New file.
47547 * elf/tst-order-a1.c: New file.
47548 * elf/tst-order-a2.c: New file.
47549 * elf/tst-order-a3.c: New file.
47550 * elf/tst-order-a4.c: New file.
47551 * elf/tst-order-b1.c: New file.
47552 * elf/tst-order-b2.c: New file.
47553 * elf/tst-order-main.c: New file.
47554 New test case by George Gensure <werkt0@gmail.com>.
47556 2010-10-01 Andreas Schwab <schwab@redhat.com>
47558 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
47559 decoding ACE if AI_CANONIDN.
47561 2011-01-18 Ulrich Drepper <drepper@gmail.com>
47563 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
47565 2011-01-17 Ulrich Drepper <drepper@gmail.com>
47567 * version.h (RELEASE): Bump for 2.13 release.
47568 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
47570 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
47572 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
47574 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
47575 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
47576 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
47577 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
47578 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
47579 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
47581 * posix/getconf.c: Update copyright year.
47582 * catgets/gencat.c: Likewise.
47583 * csu/version.c: Likewise.
47584 * debug/catchsegv.sh: Likewise.
47585 * debug/xtrace.sh: Likewise.
47586 * elf/ldconfig.c: Likewise.
47587 * elf/ldd.bash.in: Likewise.
47588 * elf/sprof.c (print_version): Likewise.
47589 * iconv/iconv_prog.c: Likewise.
47590 * iconv/iconvconfig.c: Likewise.
47591 * locale/programs/locale.c: Likewise.
47592 * locale/programs/localedef.c: Likewise.
47593 * malloc/memusage.sh: Likewise.
47594 * malloc/mtrace.pl: Likewise.
47595 * nscd/nscd.c (print_version): Likewise.
47596 * nss/getent.c: Likewise.
47598 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
47599 PF_CAIF, and PF_ALG.
47600 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
47602 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
47604 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
47605 (modules-names): Use them.
47606 (ifunc-test-modules, ifunc-pie-tests): Define.
47607 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
47608 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
47609 (test-extras): Likewise.
47610 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
47611 $(compile-command.c).
47612 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
47613 (all-built-dso): Define.
47614 (check-textrel.out, check-execstack.out): Depend on it.
47616 * configure.in: Don't override --enable-multi-arch.
47618 2011-01-15 Ulrich Drepper <drepper@gmail.com>
47621 * nscd/hstcache.c (tryagain): Define.
47622 (cache_addhst): Return tryagain not notfound for temporary errors.
47623 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
47626 2011-01-14 Ulrich Drepper <drepper@gmail.com>
47629 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
47630 to make the syscall.
47631 * sysdeps/unix/sysv/linux/setgroups.c: New file.
47634 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
47635 and fall back to matching as normal character if the string ends before
47636 the matching ']' is found. This is what POSIX requires.
47637 * posix/testfnm.c: Adjust test result.
47638 * posix/globtest.sh: Adjust test result. Add new test.
47639 * posix/tst-fnmatch.input: Likewise.
47640 * posix/tst-fnmatch2.c: Add new test.
47642 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
47644 * elf/Makefile (check-execstack): Revert last change. Depend on
47646 (check-execstack.h): New target.
47647 (generated): Add check-execstack.h.
47648 * elf/check-execstack.c: Include "check-execstack.h".
47649 (main): Revert last change.
47650 (handle_file): Return zero if GNU_STACK is absent and
47651 DEFAULT_STACK_PERMS doesn't include PF_X.
47653 2011-01-13 Ulrich Drepper <drepper@gmail.com>
47655 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
47656 in child fails because the descriptor is already closed.
47657 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
47658 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
47659 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
47662 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
47666 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
47667 temporary buffer used to handle multi lookups locally.
47668 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
47670 2011-01-12 Ulrich Drepper <drepper@gmail.com>
47672 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
47675 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
47677 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
47678 alignment for SSE2.
47680 2011-01-12 Ulrich Drepper <drepper@gmail.com>
47683 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
47684 characters. When rounding increased number of integer digits recompute
47686 * stdio-common/tst-grouping.c: New file.
47687 * stdio-common/Makefile: Add rules to build and run tst-grouping.
47689 2011-01-09 Ulrich Drepper <drepper@gmail.com>
47691 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
47692 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
47694 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
47696 * bits/select.h: Likewise.
47698 2011-01-08 Ulrich Drepper <drepper@gmail.com>
47700 * po/ja.po: Update from translation team.
47702 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
47705 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
47706 implementation just like for lxstat, fxstatat, et al.
47708 2010-12-27 Jim Meyering <meyering@redhat.com>
47711 * posix/regexec.c (build_trtable): Return failure indication upon
47712 calloc failure. Otherwise, re_search_internal could infloop on OOM.
47714 2010-12-25 Ulrich Drepper <drepper@gmail.com>
47717 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
47718 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
47719 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
47720 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
47723 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
47726 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
47727 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
47729 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
47731 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
47732 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
47733 script has SORT_BY_INIT_PRIORITY.
47734 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
47735 NO_CTORS_DTORS_SECTIONS is defined.
47736 * elf/soinit.c: Likewise.
47737 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
47738 NO_CTORS_DTORS_SECTIONS is defined.
47739 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
47740 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
47741 * sysdeps/sh/init-first.c: Likewise.
47742 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
47744 2010-12-24 Ulrich Drepper <drepper@gmail.com>
47746 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
47747 always use the slow path.
47749 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
47751 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
47752 similar rule which adds the sysdep directories to the header search in
47753 order to pick up the correct platform stackinfo.h.
47754 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
47755 perform test if it is, otherwise return successfully without testing.
47756 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
47757 DEFAULT_STACK_PERMS define in stackinfo.h.
47758 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
47759 defined in stackinfo.h.
47760 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
47761 DEFAULT_STACK_PERMS defined in stackinfo.h.
47762 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
47763 * sysdeps/ia64/stackinfo.h: Likewise.
47764 * sysdeps/s390/stackinfo.h: Likewise.
47765 * sysdeps/sh/stackinfo.h: Likewise.
47766 * sysdeps/sparc/stackinfo.h: Likewise.
47767 * sysdeps/x86_64/stackinfo.h: Likewise.
47768 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
47769 PF_X for powerpc64. Retain PF_X for powerpc32.
47771 2010-12-19 Ulrich Drepper <drepper@gmail.com>
47773 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
47775 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
47776 GETDENTS_64BIT_ALIGNED.
47778 2010-12-14 Ulrich Drepper <dreper@gmail.com>
47780 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
47782 2010-12-10 Andreas Schwab <schwab@redhat.com>
47784 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
47787 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
47788 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
47790 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
47791 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
47793 2010-12-09 Ulrich Drepper <drepper@gmail.com>
47796 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
47799 2010-12-09 Jakub Jelinek <jakub@redhat.com>
47801 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
47803 2010-12-03 Ulrich Drepper <drepper@gmail.com>
47805 * po/it.po: Update from translation team.
47807 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
47809 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
47812 2010-11-30 Ulrich Drepper <drepper@gmail.com>
47814 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
47816 2010-11-24 Andreas Schwab <schwab@redhat.com>
47818 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
47820 (gaih_getanswer_slice): Likewise.
47822 2010-10-20 Jakub Jelinek <jakub@redhat.com>
47824 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
47826 2010-05-31 Petr Baudis <pasky@suse.cz>
47829 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
47830 silently even in the chroot mode.
47832 2010-11-22 Ulrich Drepper <drepper@gmail.com>
47834 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
47835 last patch a bit. Pretty printing
47837 2010-05-31 Petr Baudis <pasky@suse.cz>
47840 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
47841 initialization of skip_initgroups_dyn.
47843 2010-11-19 Ulrich Drepper <drepper@gmail.com>
47845 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
47846 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
47848 2010-11-16 Ulrich Drepper <drepper@gmail.com>
47850 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
47852 2010-11-11 Andreas Schwab <schwab@redhat.com>
47854 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
47855 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
47856 (tst-fnmatch-ENV): Set MALLOC_TRACE.
47857 ($(objpfx)tst-fnmatch-mem): New rule.
47858 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
47859 * posix/tst-fnmatch.c (main): Call mtrace.
47861 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
47863 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47864 Support Intel processor model 6 and model 0x2c.
47866 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
47868 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
47871 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
47874 * string/test-strncasecmp.c (check_result): New function.
47875 (do_one_test): Use it.
47876 (check1): New function.
47877 (test_main): Use it.
47878 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
47879 Support strcasecmp and strncasecmp.
47881 2010-11-08 Ulrich Drepper <drepper@gmail.com>
47884 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
47885 * sysdeps/x86_64/bits/byteswap.h: Likewise.
47887 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
47889 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
47891 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47893 * sysdeps/x86_64/multiarch/bzero.S: New file.
47894 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
47895 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
47896 * sysdeps/x86_64/multiarch/memset.S: New file.
47897 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
47898 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47899 Set bit_Prefer_SSE_for_memop for Intel processors.
47900 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
47902 (index_Prefer_SSE_for_memop): Define.
47903 (HAS_PREFER_SSE_FOR_MEMOP): Define.
47905 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
47907 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
47908 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
47910 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
47913 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
47914 (__x86_64_raw_data_cache_size_half): Likewise.
47915 (__x86_64_raw_shared_cache_size): Likewise.
47916 (__x86_64_raw_shared_cache_size_half): Likewise.
47918 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
47919 (__x86_64_raw_data_cache_size_half): Likewise.
47920 (__x86_64_raw_shared_cache_size): Likewise.
47921 (__x86_64_raw_shared_cache_size_half): Likewise.
47922 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
47923 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
47924 and __x86_64_raw_shared_cache_size_half. Round
47925 __x86_64_data_cache_size_half, __x86_64_data_cache_size
47926 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
47927 to multiple of 256 bytes.
47929 2010-11-03 Ulrich Drepper <drepper@gmail.com>
47932 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
47933 of inacessible symlinks. Verify result of symlink before returning it.
47934 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
47935 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
47937 2010-10-28 Erich Ritz <erichritz@gmail.com>
47939 * math/math.h (isinf): Fix typo in comment.
47941 2010-11-01 Ulrich Drepper <drepper@gmail.com>
47943 * po/da.po: Update from translation team.
47945 2010-10-26 Ulrich Drepper <drepper@gmail.com>
47947 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
47948 is added to the list.
47950 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47951 Ulrich Drepper <drepper@gmail.com>
47953 * elf/dl-object.c (_dl_new_object): Don't append the new object to
47954 the global list here. Move code to...
47955 (_dl_add_to_namespace_list): ...here. New function.
47956 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
47957 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
47958 * elf/dl-load.c (lose): Don't remove the element from the list.
47959 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
47960 (_dl_map_object): Likewise.
47962 2010-10-25 Ulrich Drepper <drepper@gmail.com>
47965 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
47966 into all bytes of SSE register.
47967 Patch by Richard Li <richardpku@gmail.com>.
47969 2010-10-24 Ulrich Drepper <drepper@gmail.com>
47972 * malloc/malloc.c (_int_free): Fill correct number of bytes when
47975 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
47977 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
47978 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
47979 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
47980 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
47981 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
47983 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
47985 2010-10-22 Andreas Schwab <schwab@redhat.com>
47987 * include/dlfcn.h (__RTLD_SECURE): Define.
47988 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
47989 mode & __RTLD_SECURE instead.
47990 (open_path): Rename preloaded parameter to secure.
47991 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
47992 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
47993 * elf/dl-deps.c (openaux): Likewise.
47994 * elf/rtld.c (struct map_args): Remove is_preloaded.
47995 (map_doit): Don't use it.
47996 (dl_main): Likewise.
47997 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
47998 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
48000 2010-09-09 Andreas Schwab <schwab@redhat.com>
48002 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
48003 (sysd-rules-targets): Remove duplicates.
48004 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
48005 rtld-%.$o dependency.
48007 2010-10-18 Andreas Schwab <schwab@redhat.com>
48009 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
48010 _dl_map_object do it.
48012 2010-10-19 Ulrich Drepper <drepper@gmail.com>
48014 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
48015 fast fma builtins, define the macros in the C99 standard.
48016 (FP_FAST_FMAF): Likewise.
48017 (FP_FAST_FMAL): Likewise.
48018 * sysdeps/x86_64/bits/mathdef.h: Likewise.
48020 * bits/mathdef.h: Update copyright year.
48021 * sysdeps/powerpc/bits/mathdef.h: Likewise.
48023 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
48025 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
48026 builtins, define the macros in the C99 standard.
48027 (FP_FAST_FMAF): Likewise.
48028 (FP_FAST_FMAL): Likewise.
48029 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
48031 (FP_FAST_FMAF): Likewise.
48033 2010-10-15 Jakub Jelinek <jakub@redhat.com>
48036 * math/libm-test.inc (fma_test): Some new testcases.
48037 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
48038 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
48039 y and infinite z. Do multiplication by C already in long double.
48040 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
48041 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
48042 y and infinite z. Do bitwise or of inexact bit into u.d.
48043 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
48044 * sysdeps/i386/fpu/s_fmaf.S: Removed.
48045 * sysdeps/i386/fpu/s_fma.S: Removed.
48046 * sysdeps/i386/fpu/s_fmal.S: Removed.
48048 2010-10-16 Jakub Jelinek <jakub@redhat.com>
48051 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
48052 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
48053 computation is not scheduled after fetestexcept. Fix value
48054 of minimum denormal long double.
48056 2010-10-14 Jakub Jelinek <jakub@redhat.com>
48059 * math/libm-test.inc (fma_test): Add some more tests.
48060 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
48063 2010-10-15 Andreas Schwab <schwab@redhat.com>
48065 * scripts/data/localplt-s390-linux-gnu.data: New file.
48066 * scripts/data/localplt-s390x-linux-gnu.data: New file.
48068 2010-10-13 Jakub Jelinek <jakub@redhat.com>
48071 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
48072 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
48074 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
48076 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
48077 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
48078 if one of x and y is very large and the other is subnormal.
48079 * sysdeps/s390/fpu/s_fmaf.c: New file.
48080 * sysdeps/s390/fpu/s_fma.c: New file.
48081 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
48082 * sysdeps/powerpc/fpu/s_fma.S: New file.
48083 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
48084 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
48085 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
48087 2010-10-12 Jakub Jelinek <jakub@redhat.com>
48090 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
48092 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
48093 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
48094 * sysdeps/i386/i686/multiarch/s_fma.c: Include
48095 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
48096 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
48097 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
48098 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
48100 2010-10-12 Ulrich Drepper <drepper@redhat.com>
48103 * posix/regcomp.c (parse_branch): One more memory leak plugged.
48104 * posix/bug-regex31.input: Add test case.
48106 2010-10-11 Ulrich Drepper <drepper@gmail.com>
48108 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
48109 * posix/bug-regex31.input: New file.
48112 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
48113 (parse_sub_exp): Fix last change, use postorder.
48115 * posix/bug-regex31.c: New file.
48116 * posix/Makefile: Add rules to build and run bug-regex31.
48118 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
48121 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
48124 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
48125 to have entries in sys_siglist.
48128 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
48131 2010-10-07 Jakub Jelinek <jakub@redhat.com>
48134 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
48135 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
48136 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
48137 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
48138 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
48139 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
48140 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
48141 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
48142 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
48143 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
48144 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
48145 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
48146 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
48147 * math/ftestexcept.c (fetestexcept): Likewise.
48148 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
48149 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
48150 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
48151 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
48152 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
48153 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
48154 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
48156 2010-10-11 Ulrich Drepper <drepper@gmail.com>
48159 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
48162 2010-10-06 Ulrich Drepper <drepper@gmail.com>
48164 * string/bug-strstr1.c: New file.
48165 * string/Makefile: Add rules to build and run bug-strstr1.
48167 2010-10-05 Eric Blake <eblake@redhat.com>
48170 * string/str-two-way.h (two_way_long_needle): Always clear memory
48171 when skipping input due to the shift table.
48173 2010-10-03 Ulrich Drepper <drepper@gmail.com>
48176 * malloc/mcheck.c: Handle large requests.
48179 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
48180 for strncmp and strncasecmp.
48181 * string/stratcliff.c: Add tests for strcmp and strncmp.
48182 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
48184 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
48186 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
48189 2010-09-30 Andreas Jaeger <aj@suse.de>
48191 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
48192 (CGROUP_SUPER_MAGIC): Define.
48193 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
48194 Handle btrfs and cgroup file systems.
48195 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
48198 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
48200 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
48201 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
48203 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48206 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
48207 trying to locate the ELF header.
48209 2010-09-27 Andreas Schwab <schwab@redhat.com>
48212 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
48213 Mask out sign-bit copies when constructing f_fsid.
48215 2010-09-24 Petr Baudis <pasky@suse.cz>
48217 * debug/stack_chk_fail_local.c: Add missing licence exception.
48218 * debug/warning-nop.c: Likewise.
48220 2010-09-15 Joseph Myers <joseph@codesourcery.com>
48222 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
48223 implementing getdents64 using getdents syscall, set d_type if
48224 __ASSUME_GETDENTS32_D_TYPE.
48226 2010-09-16 Andreas Schwab <schwab@redhat.com>
48228 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
48229 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
48231 2010-09-21 Ulrich Drepper <drepper@redhat.com>
48234 * posix/unistd.h: Undo change of feature selection for ftruncate from
48237 2010-09-20 Ulrich Drepper <drepper@redhat.com>
48239 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
48242 2010-09-20 Andreas Schwab <schwab@redhat.com>
48244 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
48246 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
48248 2010-09-14 Andreas Schwab <schwab@redhat.com>
48250 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
48251 variables after CHECK_SP call.
48252 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
48254 2010-09-13 Andreas Schwab <schwab@redhat.com>
48255 Ulrich Drepper <drepper@redhat.com>
48257 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
48258 re-relocationg ld.so.
48259 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
48260 _dl_init_paths call.
48261 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
48264 2010-09-14 Ulrich Drepper <drepper@redhat.com>
48266 * resolv/res_init.c (__res_vinit): Count the default server we added.
48268 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
48269 Ulrich Drepper <drepper@redhat.com>
48272 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
48273 (____longjmp_chk): Use %ebx for saving value across system call.
48276 2010-09-06 Andreas Schwab <schwab@redhat.com>
48278 * manual/Makefile: Don't mix pattern rules with normal rules.
48280 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
48282 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
48284 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
48285 * libio/iofopncook.c (_IO_cookie_init): Likewise.
48286 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
48287 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
48288 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
48291 2010-09-04 Ulrich Drepper <drepper@redhat.com>
48294 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
48295 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
48297 2010-09-02 Ulrich Drepper <drepper@redhat.com>
48299 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
48300 * sysdeps/x86_64/addmul_1.S: Likewise.
48301 * sysdeps/x86_64/lshift.S: Likewise.
48302 * sysdeps/x86_64/mul_1.S: Likewise.
48303 * sysdeps/x86_64/rshift.S: Likewise.
48304 * sysdeps/x86_64/sub_n.S: Likewise.
48305 * sysdeps/x86_64/submul_1.S: Likewise.
48307 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
48309 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
48310 Define __sched_param instead of SCHED_* and sched_param when
48311 <bits/sched.h> is included with __need_schedparam defined.
48312 * bits/sched.h [__need_schedparam]
48313 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
48314 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
48315 (__defined_schedparam): Define to 1.
48316 (__sched_param): New structure, identical to sched_param.
48317 (__need_schedparam): Undefine.
48319 2010-08-31 Mike Frysinger <vapier@gentoo.org>
48321 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
48322 (epoll_create1): Declare.
48324 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
48326 2010-08-31 Andreas Schwab <schwab@redhat.com>
48329 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
48330 shifting retval into place.
48332 2010-09-01 Ulrich Drepper <drepper@redhat.com>
48334 * nis/rpcsvc/nis.h: Update copyright notice.
48335 * nis/rpcsvc/nis.x: Likewise.
48336 * nis/rpcsvc/nis_callback.h: Likewise.
48337 * nis/rpcsvc/nis_callback.x: Likewise.
48338 * nis/rpcsvc/nis_object.x: Likewise.
48339 * nis/rpcsvc/nis_tags.h: Likewise.
48340 * nis/rpcsvc/yp.h: Likewise.
48341 * nis/rpcsvc/yp.x: Likewise.
48342 * nis/rpcsvc/ypupd.h: Likewise.
48343 * nis/yp_xdr.c: Likewise.
48344 * nis/ypupdate_xdr.c: Likewise.
48346 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
48347 mainly the body of pmap_getport. Add parameters to specify timeouts.
48348 (pmap_getport): Use __libc_rpc_getport.
48349 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
48350 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
48351 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
48353 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
48355 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
48358 2010-08-27 Roland McGrath <roland@redhat.com>
48360 * sysdeps/i386/i686/multiarch/Makefile
48361 (CFLAGS-varshift.c): New variable.
48363 2010-08-27 Ulrich Drepper <drepper@redhat.com>
48365 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
48366 * sysdeps/i386/i686/multiarch/varshift.c: New file.
48368 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
48370 * sysdeps/x86_64/strlen.S: Minimal code improvement.
48372 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
48374 * sysdeps/x86_64/strlen.S: Unroll the loop.
48375 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48376 strlen-sse2 strlen-sse2-bsf.
48377 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
48378 __strlen_no_bsf if bit_Slow_BSF is set.
48379 (__strlen_sse42): Removed.
48380 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
48381 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
48383 2010-08-25 Roland McGrath <roland@redhat.com>
48385 * sysdeps/x86_64/multiarch/varshift.S: File removed.
48386 * sysdeps/x86_64/multiarch/varshift.c: New file.
48387 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
48388 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
48389 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
48390 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
48392 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
48394 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
48395 strlen-sse2 strlen-sse2-bsf.
48396 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
48397 __strlen_sse2_bsf if bit_Slow_BSF is unset.
48398 (__strlen_sse2): Removed.
48399 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
48400 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
48401 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
48402 bit_Slow_BSF for Atom.
48403 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
48404 (index_Slow_BSF): Define.
48405 (HAS_SLOW_BSF): Define.
48407 2010-08-25 Ulrich Drepper <drepper@redhat.com>
48410 * resolv/res_init.c (__res_vinit): When no server address at all
48411 is given default to loopback.
48413 2010-08-24 Roland McGrath <roland@redhat.com>
48415 * configure.in: Remove config-name.h generation.
48416 * configure: Regenerated.
48417 * config-name.in: File removed.
48418 * scripts/config-uname.sh: New file.
48419 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
48420 ($(objdir)config-name.h): New target.
48422 * sunrpc/rpc_parse.h: Avoid nested comment.
48424 2010-08-24 Richard Henderson <rth@redhat.com>
48425 Ulrich Drepper <drepper@redhat.com>
48426 H.J. Lu <hongjiu.lu@intel.com>
48428 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
48429 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
48430 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
48431 Replace _mm_srli_si128 with __m128i_shift_right. Replace
48432 _mm_alignr_epi8 with _mm_loadu_si128.
48433 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
48434 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
48435 (__m128i_shift_right): Removed.
48436 * sysdeps/i386/i686/multiarch/varshift.h: New file.
48437 * sysdeps/i386/i686/multiarch/varshift.S: New file.
48438 * sysdeps/x86_64/multiarch/varshift.h: New file.
48439 * sysdeps/x86_64/multiarch/varshift.S: New file.
48441 2010-08-21 Mike Frysinger <vapier@gentoo.org>
48443 * configure.in: Move assembler checks to before sysdep dir checking.
48445 2010-08-20 Petr Baudis <pasky@suse.cz>
48447 * LICENSES: Sync the sunrpc license.
48449 2010-08-19 Ulrich Drepper <drepper@redhat.com>
48451 * sunrpc/auth_des.c: Update copyright notice once again.
48452 * sunrpc/auth_none.c: Likewise.
48453 * sunrpc/auth_unix.c: Likewise.
48454 * sunrpc/authdes_prot.c: Likewise.
48455 * sunrpc/authuxprot.c: Likewise.
48456 * sunrpc/bindrsvprt.c: Likewise.
48457 * sunrpc/clnt_gen.c: Likewise.
48458 * sunrpc/clnt_perr.c: Likewise.
48459 * sunrpc/clnt_raw.c: Likewise.
48460 * sunrpc/clnt_simp.c: Likewise.
48461 * sunrpc/clnt_tcp.c: Likewise.
48462 * sunrpc/clnt_udp.c: Likewise.
48463 * sunrpc/clnt_unix.c: Likewise.
48464 * sunrpc/des_crypt.c: Likewise.
48465 * sunrpc/des_soft.c: Likewise.
48466 * sunrpc/get_myaddr.c: Likewise.
48467 * sunrpc/getrpcport.c: Likewise.
48468 * sunrpc/key_call.c: Likewise.
48469 * sunrpc/key_prot.c: Likewise.
48470 * sunrpc/openchild.c: Likewise.
48471 * sunrpc/pm_getmaps.c: Likewise.
48472 * sunrpc/pm_getport.c: Likewise.
48473 * sunrpc/pmap_clnt.c: Likewise.
48474 * sunrpc/pmap_prot.c: Likewise.
48475 * sunrpc/pmap_prot2.c: Likewise.
48476 * sunrpc/pmap_rmt.c: Likewise.
48477 * sunrpc/rpc/auth.h: Likewise.
48478 * sunrpc/rpc/auth_unix.h: Likewise.
48479 * sunrpc/rpc/clnt.h: Likewise.
48480 * sunrpc/rpc/des_crypt.h: Likewise.
48481 * sunrpc/rpc/key_prot.h: Likewise.
48482 * sunrpc/rpc/netdb.h: Likewise.
48483 * sunrpc/rpc/pmap_clnt.h: Likewise.
48484 * sunrpc/rpc/pmap_prot.h: Likewise.
48485 * sunrpc/rpc/pmap_rmt.h: Likewise.
48486 * sunrpc/rpc/rpc.h: Likewise.
48487 * sunrpc/rpc/rpc_des.h: Likewise.
48488 * sunrpc/rpc/rpc_msg.h: Likewise.
48489 * sunrpc/rpc/svc.h: Likewise.
48490 * sunrpc/rpc/svc_auth.h: Likewise.
48491 * sunrpc/rpc/types.h: Likewise.
48492 * sunrpc/rpc/xdr.h: Likewise.
48493 * sunrpc/rpc_clntout.c: Likewise.
48494 * sunrpc/rpc_cmsg.c: Likewise.
48495 * sunrpc/rpc_common.c: Likewise.
48496 * sunrpc/rpc_cout.c: Likewise.
48497 * sunrpc/rpc_dtable.c: Likewise.
48498 * sunrpc/rpc_hout.c: Likewise.
48499 * sunrpc/rpc_main.c: Likewise.
48500 * sunrpc/rpc_parse.c: Likewise.
48501 * sunrpc/rpc_parse.h: Likewise.
48502 * sunrpc/rpc_prot.c: Likewise.
48503 * sunrpc/rpc_sample.c: Likewise.
48504 * sunrpc/rpc_scan.c: Likewise.
48505 * sunrpc/rpc_scan.h: Likewise.
48506 * sunrpc/rpc_svcout.c: Likewise.
48507 * sunrpc/rpc_tblout.c: Likewise.
48508 * sunrpc/rpc_util.c: Likewise.
48509 * sunrpc/rpc_util.h: Likewise.
48510 * sunrpc/rpcinfo.c: Likewise.
48511 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
48512 * sunrpc/rpcsvc/key_prot.x: Likewise.
48513 * sunrpc/rpcsvc/klm_prot.x: Likewise.
48514 * sunrpc/rpcsvc/mount.x: Likewise.
48515 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
48516 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
48517 * sunrpc/rpcsvc/rex.x: Likewise.
48518 * sunrpc/rpcsvc/rstat.x: Likewise.
48519 * sunrpc/rpcsvc/rusers.x: Likewise.
48520 * sunrpc/rpcsvc/sm_inter.x: Likewise.
48521 * sunrpc/rpcsvc/spray.x: Likewise.
48522 * sunrpc/rpcsvc/yppasswd.x: Likewise.
48523 * sunrpc/rtime.c: Likewise.
48524 * sunrpc/svc.c: Likewise.
48525 * sunrpc/svc_auth.c: Likewise.
48526 * sunrpc/svc_authux.c: Likewise.
48527 * sunrpc/svc_raw.c: Likewise.
48528 * sunrpc/svc_run.c: Likewise.
48529 * sunrpc/svc_simple.c: Likewise.
48530 * sunrpc/svc_tcp.c: Likewise.
48531 * sunrpc/svc_udp.c: Likewise.
48532 * sunrpc/svc_unix.c: Likewise.
48533 * sunrpc/svcauth_des.c: Likewise.
48534 * sunrpc/xcrypt.c: Likewise.
48535 * sunrpc/xdr.c: Likewise.
48536 * sunrpc/xdr_array.c: Likewise.
48537 * sunrpc/xdr_float.c: Likewise.
48538 * sunrpc/xdr_mem.c: Likewise.
48539 * sunrpc/xdr_rec.c: Likewise.
48540 * sunrpc/xdr_ref.c: Likewise.
48541 * sunrpc/xdr_sizeof.c: Likewise.
48542 * sunrpc/xdr_stdio.c: Likewise.
48544 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
48547 2010-08-19 Andreas Schwab <schwab@redhat.com>
48549 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
48551 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
48553 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
48554 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
48555 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
48556 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
48557 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
48558 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
48559 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
48560 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
48561 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
48562 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
48563 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
48564 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
48565 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
48566 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
48568 2010-07-26 Anton Blanchard <anton@samba.org>
48570 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
48571 * malloc/arena.c (heap_trim): Likewise.
48573 2010-08-16 Ulrich Drepper <drepper@redhat.com>
48575 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
48577 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
48578 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
48580 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
48582 * sysdeps/i386/elf/Makefile: New file.
48584 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
48586 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
48587 from fanotify_init.
48588 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
48589 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
48591 2010-08-15 Ulrich Drepper <drepper@redhat.com>
48593 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
48595 * sysdeps/multiarch/strcmp.S: Likewise.
48597 2010-08-14 Ulrich Drepper <drepper@redhat.com>
48599 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
48600 strncase_l-nonascii.
48601 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
48602 Add strncase_l-ssse3.
48603 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
48604 * sysdeps/x86_64/strcmp.S: Likewise.
48605 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
48606 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
48607 * sysdeps/x86_64/strncase.S: New file.
48608 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
48609 * sysdeps/x86_64/strncase_l.S: New file.
48610 * string/Makefile (strop-tests): Add strncasecmp.
48611 * string/test-strncasecmp.c: New file.
48613 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
48616 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
48617 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
48619 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
48621 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
48623 2010-08-12 Ulrich Drepper <drepper@redhat.com>
48625 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
48626 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
48627 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
48629 2010-05-01 Alan Modra <amodra@gmail.com>
48631 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
48632 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
48633 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
48634 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
48635 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
48636 tidying. Don't tail-call __sigjmp_save for static lib.
48637 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
48639 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
48640 (CALL_MCOUNT): Add eh info, and nop after bl.
48641 (TAIL_CALL_SYSCALL_ERROR): New macro.
48642 (PSEUDO_RET): Use it.
48643 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
48644 Correct save location of integer regs and cr.
48645 (_dl_profile_resolve): Correct cr save location. Delete nops
48646 after bl when SHARED. Reduce cfi size a little by better
48647 placement of cfi directives.
48648 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
48649 make a stack frame. Instead use parm save area as a temp.
48650 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
48651 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
48652 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
48653 Don't make a stack frame for parent, use parm save area.
48654 Increase child stack frame to 112 bytes. Don't save unused reg,
48655 and adjust reg usage. Set up cfi on error recovery and
48656 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
48657 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
48658 (__makecontext): Add dummy nop after jump to exit.
48659 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
48660 Use correct parm save area and cr save, reduce stack frame.
48661 Correct cfi for possible PSEUDO_RET frame setup.
48662 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
48663 Branch to local label emitted by PSEUDO_RET rather than
48666 2010-08-12 Andreas Schwab <schwab@redhat.com>
48669 * locale/programs/locale.c (print_assignment): New function.
48670 (show_locale_vars): Use it.
48672 2010-08-11 Ulrich Drepper <drepper@redhat.com>
48674 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
48676 (struct statfs64): Likewise.
48677 (_STATFS_F_FLAGS): Define.
48678 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
48679 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
48680 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
48681 (ST_VALID): Define locally.
48682 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
48683 __statvfs_getflags, use the provided value.
48684 * sysdeps/unix/sysv/linux/kernel-features.h: Define
48685 __ASSUME_STATFS_F_FLAGS.
48687 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
48689 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
48690 Add sys/fanotify.h.
48691 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
48692 fanotify_mask for GLIBC_2.13.
48693 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
48694 fanotify_init and fanotify_mark.
48695 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
48696 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
48698 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
48700 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
48701 prlimit64 for GLIBC_2.13.
48702 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
48704 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
48706 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
48707 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
48708 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
48709 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
48710 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
48712 * sysdeps/unix/sysv/linux/prlimit.c: New file.
48715 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
48716 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
48718 * nss/Makefile: Add rules to build and run tst-nss-test1.
48719 * shlib-versions: Add entry for libnss_test1.
48720 * nss/nss_test1.c: New file.
48721 * nss/tst-nss-test1.c: New file.
48723 * nss/nsswitch.c (__nss_database_custom): Define new variable.
48724 (__nss_configure_lookup): Set appropriate entry in
48725 __nss_configure_lookup to true.
48726 * nss/nsswitch.h: Define enum with indeces of databases in
48727 databases and __nss_database_custom arrays. Declare
48728 __nss_database_custom.
48729 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
48730 to avoid using nscd when custom rules are installed.
48731 * nss/getXXbyYY_r.c: Likewise.
48732 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
48734 * nss/nss_files/files-parse.c: Whitespace fixes.
48736 2010-08-09 Ulrich Drepper <drepper@redhat.com>
48739 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
48740 * posix/fnmatch_loop.c: Likewise.
48742 2010-07-17 Andi Kleen <ak@linux.intel.com>
48744 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
48745 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
48746 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
48747 * Versions.def [GLIBC_2.13]: Add.
48749 2010-08-06 Ulrich Drepper <drepper@redhat.com>
48751 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
48752 Also fail if tpwd after pwuid call is NULL.
48754 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
48756 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
48757 when converting to ms.
48759 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
48761 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
48762 EOPNOTSUPP errors with ENOTTY.
48763 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
48764 EOPNOTSUPP errors with ENOTTY.
48766 2010-07-31 Ulrich Drepper <drepper@redhat.com>
48768 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
48769 Add strcasecmp_l-ssse3.
48770 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
48772 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
48773 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
48774 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
48776 2010-07-30 Ulrich Drepper <drepper@redhat.com>
48778 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
48780 * string/Makefile (strop-tests): Add strcasecmp.
48781 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
48782 strcasecmp_l-nonascii.
48783 (gen-as-const-headers): Add locale-defines.sym.
48784 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
48785 * sysdeps/x86_64/strcasecmp.S: New file.
48786 * sysdeps/x86_64/strcasecmp_l.S: New file.
48787 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
48788 * sysdeps/x86_64/locale-defines.sym: New file.
48789 * string/test-strcasecmp.c: New file.
48791 * string/test-strcasestr.c: Test both ends of the range of characters.
48792 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
48794 2010-07-29 Roland McGrath <roland@redhat.com>
48797 * manual/locale.texi (Yes-or-No Questions): Fix example code.
48799 2010-07-27 Ulrich Drepper <drepper@redhat.com>
48801 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
48804 2010-07-27 Andreas Schwab <schwab@redhat.com>
48806 * manual/memory.texi (Malloc Tunable Parameters): Document
48809 2010-07-26 Roland McGrath <roland@redhat.com>
48812 * configure.in (-fgnu89-inline check): Set and substitute
48813 gnu89_inline, not libc_cv_gnu89_inline.
48814 * configure: Regenerated.
48815 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
48817 2010-07-26 Ulrich Drepper <drepper@redhat.com>
48819 * string/test-strnlen.c: New file.
48820 * string/Makefile (strop-tests): Add strnlen.
48821 * string/tester.c (test_strnlen): Add a few more test cases.
48822 * string/tst-strlen.c: Better error reporting.
48824 * sysdeps/x86_64/strnlen.S: New file.
48826 2010-07-24 Ulrich Drepper <drepper@redhat.com>
48828 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
48829 lower-latency instructions.
48831 2010-07-23 Ulrich Drepper <drepper@redhat.com>
48833 * string/test-strcasestr.c: New file.
48834 * string/test-strstr.c: New file.
48835 * string/Makefile (strop-tests): Add strstr and strcasestr.
48836 * string/str-two-way.h: Don't undefine MAX.
48837 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
48839 2010-07-21 Andreas Schwab <schwab@redhat.com>
48841 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
48842 strcasestr-nonascii.
48843 (CFLAGS-strcasestr-nonascii.c): Define.
48844 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
48845 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
48846 Remove unused attribute.
48848 2010-07-20 Roland McGrath <roland@redhat.com>
48850 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
48851 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
48852 ld.so.cache was broken. With it, there is no way to disable dsocaps
48853 like LD_HWCAP_MASK can disable hwcaps.
48855 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
48857 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
48859 2010-07-16 Ulrich Drepper <drepper@redhat.com>
48861 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
48862 call in strcasestr.
48863 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
48864 __strcasestr_sse42_nonascii.
48865 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
48866 strcasestr-nonascii.c.
48867 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
48869 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
48871 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
48872 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
48873 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
48874 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
48876 2010-07-09 Ulrich Drepper <drepper@redhat.com>
48878 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
48881 2010-07-06 Andreas Schwab <schwab@redhat.com>
48884 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
48887 2010-07-06 Ulrich Drepper <drepper@redhat.com>
48889 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
48890 _PC_PIPE_BUF using F_GETPIPE_SZ.
48892 2010-07-05 Roland McGrath <roland@redhat.com>
48894 * manual/arith.texi (Rounding Functions): Fix rint description
48895 implicit in round description.
48897 2010-07-02 Ulrich Drepper <drepper@redhat.com>
48899 * elf/Makefile: Fix linking for a few tests to make recent linker
48902 2010-06-30 Andreas Schwab <schwab@redhat.com>
48904 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
48905 $(common-objpfx)libc_nonshared.a.
48907 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
48909 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
48910 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
48911 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
48912 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
48913 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
48914 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
48915 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
48916 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
48917 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
48918 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
48919 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
48920 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
48921 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
48922 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
48923 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
48924 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
48925 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
48926 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
48927 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
48928 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
48929 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
48930 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
48931 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
48932 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
48933 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
48934 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
48935 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
48936 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
48937 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
48938 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
48939 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
48940 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
48941 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
48942 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
48943 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
48944 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
48945 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
48946 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
48947 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
48948 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
48949 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
48950 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
48951 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
48952 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
48953 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
48954 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
48955 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
48956 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
48958 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
48960 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
48961 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
48962 * string/memmove.c (memmove): Renamed to ...
48963 (MEMMOVE): ...this. Default to memmove.
48964 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
48965 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
48967 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48968 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
48969 mempcpy-ssse3-back memmove-ssse3-back.
48970 * sysdeps/x86_64/multiarch/bcopy.S: New file .
48971 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
48972 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
48973 * sysdeps/x86_64/multiarch/memcpy.S: New file.
48974 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
48975 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
48976 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
48977 * sysdeps/x86_64/multiarch/memmove.c: New file.
48978 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
48979 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
48980 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
48981 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
48982 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
48983 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
48985 (index_Fast_Copy_Backward): Define.
48986 (HAS_ARCH_FEATURE): Define.
48987 (HAS_FAST_REP_STRING): Define.
48988 (HAS_FAST_COPY_BACKWARD): Define.
48990 2010-06-21 Andreas Schwab <schwab@redhat.com>
48992 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
48993 Restore proper fallback handling.
48995 2010-06-19 Ulrich Drepper <drepper@redhat.com>
48998 * posix/group_member.c (__group_member): Correct checking loop.
49000 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
49001 OOM in getpwuid_r correctly. Return error number when the caller
49002 should return, otherwise -1.
49003 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
49004 call returning > 0 value.
49005 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
49007 2010-06-07 Andreas Schwab <schwab@redhat.com>
49009 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
49010 libc_nonshared.a from targets in modules-names.
49012 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
49014 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
49017 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
49019 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
49020 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
49021 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
49022 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
49024 2010-06-02 Andreas Schwab <schwab@redhat.com>
49026 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
49028 2010-06-14 Ulrich Drepper <drepper@redhat.com>
49030 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
49032 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
49033 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
49034 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
49035 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
49036 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
49037 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
49039 2010-06-14 Roland McGrath <roland@redhat.com>
49041 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
49043 2010-06-07 Jakub Jelinek <jakub@redhat.com>
49045 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
49046 __REDIRECT followed by __THROW.
49047 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
49048 * posix/getopt.h (getopt): Likewise.
49050 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
49052 * hurd/lookup-at.c (__file_name_lookup_at): Accept
49053 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
49054 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
49056 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
49057 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
49059 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
49061 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
49063 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
49066 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49067 Properly check family and model.
49069 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
49071 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
49073 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
49075 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
49077 2010-05-21 Ulrich Drepper <drepper@redhat.com>
49079 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
49082 2010-05-19 Andreas Schwab <schwab@redhat.com>
49084 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
49087 2010-05-21 Andreas Schwab <schwab@redhat.com>
49089 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
49090 and internal_recvmmsg.
49091 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
49092 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
49093 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
49094 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
49096 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
49097 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
49098 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
49100 2010-05-20 Andreas Schwab <schwab@redhat.com>
49102 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
49104 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
49106 POWER7 optimizations.
49107 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
49108 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
49110 2010-05-19 Ulrich Drepper <drepper@redhat.com>
49112 * version.h: Update for 2.13 development version.
49114 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
49116 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
49117 exceptions. Return 0.
49119 2010-05-07 Roland McGrath <roland@redhat.com>
49121 * elf/ldconfig.c (main): Add a const.
49123 2010-05-06 Ulrich Drepper <drepper@redhat.com>
49125 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
49126 (args_options): Add no-idn option.
49127 (ahosts_keys_int): Add idn_flags to ai_flags.
49128 (parse_option): Handle 'i' option to clear idn_flags.
49130 * malloc/malloc.c (_int_free): Possible race in the most recently
49131 added check. Only act on the data if no current modification
49134 See ChangeLog.17 for earlier changes.