1 2014-07-02 Florian Weimer <fweimer@redhat.com>
3 * manual/locale.texi (Locale Names): New section documenting
4 locale name syntax. Adjust menu and node chaining accordingly.
5 (Choosing Locale): Reference Locale Names, Locale Categories.
6 Mention setting LC_ALL=C. Reflect that name syntax is now
8 (Locale Categories): New section title. Reference Locale Names.
9 LC_ALL is an environment variable, but not a category.
10 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
11 description, now in Locale Name. Reference that section. Locale
12 name syntax is now documented.
14 2014-07-02 Florian Weimer <fweimer@redhat.com>
17 * locale/findlocale.c (name_present, valid_locale_name): New
19 (_nl_find_locale): Use the loc_name variable to store name
20 candidates. Call name_present and valid_locale_name to check and
21 validate locale names. Return an error if the locale is invalid.
23 2014-07-02 Florian Weimer <fweimer@redhat.com>
25 * locale/setlocale.c (setlocale): Use strdup for allocating
28 2014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
31 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
32 [!_LIBC && ENABLE_NLS]: Include gettext.h.
33 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
35 [USE_UNLOCKED_IO]: Include unlocked-io.h.
36 [!_LIBC]: Include code for Windows and Cygwin.
37 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
38 Include prototype for int strerror_r.
39 [!_LIBC] (is_open): New function.
40 (flush_stdout): New function.
41 (print_errno_message): Use it.
43 (error_at_line): Likewise.
44 (error_tail) Add function attribute macros. Use
47 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
49 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
51 * io/ftw.c: Include sys/param.h unconditionally.
53 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
56 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
58 (freecache): New function to free CACHE on exit.
60 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
63 2014-07-09 David S. Miller <davem@davemloft.net>
65 * sysdeps/sparc/fpu/libm-test-ulps: Update.
67 * sysdeps/sparc/nptl/internaltypes.h: Delete.
68 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
69 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
70 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
71 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
72 * sysdeps/sparc/nptl/sem_init.c: Likewise.
73 * sysdeps/sparc/nptl/sem_post.c: Likewise.
74 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
75 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
76 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
77 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
78 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
79 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
81 2014-07-09 Andreas Schwab <schwab@suse.de>
83 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
85 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
88 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
90 2014-07-09 Will Newton <will.newton@linaro.org>
92 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
93 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
94 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
95 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
96 * sysdeps/hppa/start.S (_start): Likewise.
98 2014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
100 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
102 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
105 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
107 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
108 after checking that it is non-NULL.
110 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
112 2014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
114 * sysdeps/powerpc/memmove.c: Remove file.
115 * sysdeps/powerpc/powerpc32/power4/memcopy.h
116 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
117 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
118 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
119 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
120 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
121 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
122 string memmove instead of removed powerpc one.
124 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
125 [weak_alias]: Fix compiler warning due trailing data.
126 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
127 [weak_alias]: Likewise.
128 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
129 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
131 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
132 (__libc_ifunc_impl_list): Add memmove functions.
134 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
136 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
138 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
140 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
142 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
144 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
146 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
148 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
150 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
152 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
154 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
156 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
158 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
160 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
162 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
164 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
166 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
168 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
171 2014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
173 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
174 to avoid alignment traps in non-cacheable memory.
175 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
177 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
179 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
180 file: multiarch power7 memmove.
181 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
182 multiarch default memmove.
183 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
184 multiarch memove for powerpc32/power4.
186 * string/bcopy.c: Use full path to include memmove.c.
187 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
189 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
191 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
193 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
194 and memmove implementations.
195 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
196 optimized multiarch memmove for POWER7/powerpc64.
197 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
198 default multiarch memmove for powerpc64.
199 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
200 multiarch for powerpc64.
201 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
202 for POWER7/powerpc64.
203 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
204 memmove for POWER7/powerpc64.
206 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
209 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
210 __ELF_NATIVE_CLASS equal to 64.
212 2014-07-07 Roland McGrath <roland@hack.frob.com>
214 * sysdeps/nptl/lowlevellock.h: File removed.
216 * NEWS: NPTL is no longer an add-on!
217 * nptl/internaltypes.h: Moved ...
218 * sysdeps/nptl/internaltypes.h: ... here.
219 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
220 * sysdeps/nptl/fork.c: Likewise.
221 * sysdeps/nptl/gai_misc.h: Likewise.
222 * sysdeps/nptl/librt-cancellation.c: Likewise.
223 * sysdeps/nptl/jmp-unwind.c: Likewise.
224 * sysdeps/nptl/setxid.h: Likewise.
225 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
226 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
227 * sysdeps/unix/sysv/linux/arm/Implies: New file.
228 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
229 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
230 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
231 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
232 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
233 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
234 * sysdeps/unix/sysv/linux/mips/Implies: New file.
235 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
236 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
237 * sysdeps/unix/sysv/linux/sh/Implies: New file.
238 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
239 * sysdeps/unix/sysv/linux/tile/Implies: New file.
240 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
241 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
242 * nptl/Makeconfig: Moved ...
243 * sysdeps/nptl/Makeconfig: ... here.
244 * nptl/configure: File removed.
245 * nptl/ANNOUNCE: File removed.
246 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
247 * sysdeps/unix/sysv/linux/configure: Regenerated.
249 * nptl/Makefile (routines): Add libc_pthread_init,
250 libc_multiple_threads, register-atfork and unregister-atfork.
251 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
252 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
253 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
254 pthread-pi-defines.sym, structsem.sym.
255 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
256 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
257 [$(subdir) = nptl] (tests): Add tst-setgetname.
258 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
259 * sysdeps/unix/sysv/linux/sigaction.c: Just include
260 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
261 [!LIBC_SIGACTION]: Remove aliases.
262 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
263 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
264 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
265 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
266 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
267 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
268 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
269 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
270 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
271 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
272 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
273 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
274 __libc_allocate_rtsig_private.
275 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
276 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
277 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
278 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
279 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
280 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
281 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
282 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
283 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
284 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
285 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
286 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
287 * nptl/internaltypes.h: ... here.
288 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
289 * sysdeps/nptl/jmp-unwind.c: ... here.
290 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
291 * nptl/libc-lowlevellock.c: ... here.
292 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
293 * nptl/libc_multiple_threads.c: ... here.
294 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
295 * nptl/libc_pthread_init.c: ... here.
296 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
297 * nptl/lowlevelbarrier.sym: ... here.
298 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
299 * nptl/lowlevelcond.sym: ... here.
300 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
301 * nptl/lowlevellock.c: ... here.
302 * nptl/lowlevellock.h: Moved ...
303 * sysdeps/nptl/lowlevellock.h: ... here.
304 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
305 * nptl/lowlevelrobustlock.c: ... here.
306 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
307 * nptl/lowlevelrobustlock.sym: ... here.
308 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
309 * nptl/lowlevelrwlock.sym: ... here.
310 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
311 * nptl/pt-fork.c: ... here.
312 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
313 * nptl/pthread-pi-defines.sym: ... here.
314 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
315 * nptl/pthread_attr_getaffinity.c: ... here.
316 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
317 * nptl/pthread_attr_setaffinity.c: ... here.
318 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
319 * nptl/pthread_mutex_cond_lock.c: ... here.
320 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
322 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
323 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
324 * nptl/pthread_once.c: ... here, replacing old file.
325 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
326 * nptl/pthread_yield.c: ... here.
327 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
328 * nptl/register-atfork.c: ... here.
329 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
330 * nptl/sem_post.c: ... here.
331 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
332 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
333 * nptl/sem_timedwait.c: ... here.
334 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
335 * nptl/sem_trywait.c: ... here.
336 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
337 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
338 * nptl/sem_wait.c: ... here.
339 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
340 * nptl/structsem.sym: ... here.
341 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
342 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
343 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
344 * nptl/unregister-atfork.c: ... here.
345 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
346 * nptl/unwindbuf.sym: ... here.
347 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
348 * sysdeps/nptl/fork.c: ... here.
349 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
350 * sysdeps/nptl/fork.h: ... here.
351 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
352 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
353 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
354 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
355 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
356 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
357 * sysdeps/unix/sysv/linux/getpid.c: ... here.
358 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
359 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
360 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
361 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
362 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
363 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
364 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
365 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
366 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
367 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
368 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
369 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
370 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
371 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
372 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
373 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
374 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
375 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
376 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
377 * sysdeps/unix/sysv/linux/raise.c: ... here.
378 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
379 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
380 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
381 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
382 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
383 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
384 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
385 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
386 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
387 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
388 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
389 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
390 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
391 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
392 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
394 2014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
396 * sysdeps/generic/memcopy.h: Add comment for
397 MEMCPY_OK_FOR_FWD_MEMMOVE.
399 2014-07-04 Will Newton <will.newton@linaro.org>
401 * string/memchr.c: Merge from gnulib.
402 [_LIBC]: Remove conditionals.
403 (__ptr_t): Remove define.
404 (LONG_MAX_32_BITS): Likewise.
405 (LONG_MAX): Likewise.
406 (MEMCHR): Use ANSI prototype and optimize algorithm.
408 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
410 2014-07-03 Roland McGrath <roland@hack.frob.com>
412 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
413 (lll_futex_timed_wait_bitset): Fix syscall argument count.
415 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
416 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
417 in a bare environment with no <stdlib.h> installed.
418 * sysdeps/nptl/configure: Regenerated.
420 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
422 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
423 AC_EGREP_CPP for kernel header checks, so they only succeed if
424 including <linux/version.h> actually works right.
425 * sysdeps/unix/sysv/linux/configure: Regenerated.
427 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
428 value so it's not diagnosed as unused.
430 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
431 thing) with "ifeq ($(subdir),rt)".
433 2014-07-03 Richard Henderson <rth@redhat.com>
435 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
436 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
437 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
439 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
440 (math_force_eval): New.
442 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
443 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
445 * sysdeps/alpha/fpu/s_round.c: Remove file.
446 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
448 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
449 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
450 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
451 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
452 (_dl_start, print_statistics): Likewise.
453 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
454 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
456 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
457 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
458 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
459 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
460 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
461 (HP_SMALL_TIMING_AVAIL): Define.
462 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
463 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
464 (HP_SMALL_TIMING_AVAIL): Define.
465 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
466 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
468 * sysdeps/aarch64/hp-timing.h: New file.
470 * sysdeps/generic/hp-timing.h: Remove dead comment.
471 * sysdeps/generic/hp-timing-common.h: New file.
472 * sysdeps/alpha/hp-timing.h: Include it.
473 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
474 * sysdeps/i386/i686/hp-timing.h: Likewise.
475 * sysdeps/ia64/hp-timing.h: Likewise.
476 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
477 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
478 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
479 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
480 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
481 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
484 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
485 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
486 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
487 * elf/rtld.c (_dl_start_final): Likewise.
488 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
489 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
490 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
491 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
492 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
493 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
494 (HP_TIMING_DIFF_INIT): Remove.
495 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
496 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
497 (HP_TIMING_DIFF_INIT): Remove.
498 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
499 * sysdeps/i386/i686/hp-timing.c: Remove file.
500 * sysdeps/x86_64/hp-timing.c: Remove file.
501 * sysdeps/ia64/hp-timing.c: Remove file.
502 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
503 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
504 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
505 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
507 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
508 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
509 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
510 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
511 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
512 (HP_TIMING_ACCUM): Remove.
513 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
514 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
515 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
517 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
518 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
519 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
520 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
521 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
522 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
523 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
524 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
526 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
528 2014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
530 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
532 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
534 Sync up with gettext.
535 * intl/loadmsgcat.c: Define O_BINARY if not defined.
536 [_MSC_VER]: Include malloc.h
537 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
538 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
539 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
540 TEMP_FAILURE_RETRY. Cast return of alloca.
541 [!_LIBC] Call gl_rwlock_init.
542 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
544 2014-07-02 Roland McGrath <roland@hack.frob.com>
546 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
547 before checking its value.
549 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
551 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
553 * debug/memcpy_chk.c: Don't include pagecopy.h.
554 * debug/mempcpy_chk.c: Likewise.
555 * string/memcpy.c: Likewise.
556 * string/memmove.c: Likewise.
557 * sysdeps/powerpc/memmove.c: Likewise.
558 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
559 definition of PAGE_COPY_FWD_MAYBE here...
560 * sysdeps/generic/pagecopy.h: ... from here.
561 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
563 2014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
564 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
566 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
567 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
569 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
570 (__libc_ifunc_impl_list): Likewise.
571 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
572 multiarch strcat for PPC64.
573 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
574 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
576 2014-07-02 Roland McGrath <roland@hack.frob.com>
578 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
580 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
582 * intl/loadmsgcat.c: Remove declaration of
583 get_sysdep_segment_value.
584 (get_sysdep_segment_value): Use ISO C style.
585 (_nl_load_domain): Use ISO C style. Get rid of redundant
586 semicolon. Fix typo and formatting in comment.
587 (_nl_unload_domain): Use ISO C style.
589 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
591 2014-07-02 Will Newton <will.newton@linaro.org>
593 * malloc/obstack.c: Merge from gnulib master.
594 [HAVE_CONFIG_H]: Remove conditional code.
595 [!_LIBC]: Include config.h.
596 [!ELIDE_CODE]: Don't include inttypes.h, include
597 stdint.h unconditionally.
598 (print_and_abort): Mark as _Noreturn.
599 (_obstack_allocated_p): Mark as __attribute_pure__.
600 (obstack_free): Rename to __obstack_free.
601 [!__attribute__]: Remove conditional code.
602 * malloc/obstack.h: Merge from gnulib master.
603 [__cplusplus]: Move conditional down.
604 [!__attribute_pure__]: Define __attribute_pure__ here
605 if it is not already defined.
606 (_obstack_memory_used): Mark as __attribute_pure__.
607 [!__obstack_free]: Define as obstack_free.
608 [__GNUC__]: Remove check for ancient NeXT gcc.
610 2014-07-02 Will Newton <will.newton@linaro.org>
611 Paul Eggert <eggert@cs.ucla.edu>
613 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
615 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
617 * resolv/gethnamaddr.c: Add comment warning that the file is
620 2014-07-01 Carlos O'Donell <carlos@redhat.com>
622 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
625 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
626 entry for aio_cancel and aio_cancel64.
627 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
628 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
629 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
630 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
631 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
632 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
633 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
634 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
635 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
636 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
637 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
638 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
639 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
641 2014-07-01 Roland McGrath <roland@hack.frob.com>
643 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
644 * nptl/pthread_mutex_lock.c: Likewise.
645 * nptl/pthread_mutex_timedlock.c: Likewise.
646 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
648 2014-07-01 Richard henderson <rth@redhat.com>
650 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
651 (__isnan, __isnanl): Remove.
652 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
654 * sysdeps/alpha/fpu/libm-test-ulps: Update.
656 2014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
658 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
660 2014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
662 * resolv/nss_dns/dns-host.c (getanswer_r)
663 [MULTI_PTRS_ARE_ALIASES]: Remove code.
665 2014-07-01 Joseph Myers <joseph@codesourcery.com>
667 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
668 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
670 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
671 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
673 2014-07-01 Roland McGrath <roland@hack.frob.com>
675 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
676 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
678 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
679 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
681 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
682 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
684 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
685 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
687 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
688 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
689 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
690 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
692 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
693 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
694 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
695 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
696 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
698 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
700 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
701 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
702 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
703 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
704 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
705 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
706 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
707 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
708 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
709 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
710 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
711 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
712 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
713 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
714 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
715 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
716 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
717 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
718 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
719 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
721 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
722 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
723 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
724 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
725 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
726 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
727 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
728 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
730 2014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
732 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
733 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
734 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
737 2014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
739 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
741 2014-06-30 Joseph Myers <joseph@codesourcery.com>
743 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
744 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
746 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
748 * sysdeps/arm/libm-test-ulps: Regenerated.
750 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
751 Roland McGrath <roland@hack.frob.com>
753 * test-skeleton.c (signal_handler): Kill the whole process group
754 before killing the child individually.
755 (main): Report any failure on `setpgid'.
757 2014-06-30 Roland McGrath <roland@hack.frob.com>
759 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
760 from _TLS_H to _ARM_NPTL_TLS_H.
761 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
762 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
764 2014-06-30 Joseph Myers <joseph@codesourcery.com>
767 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
768 (__expm1l): Return argument unchanged when small but not
771 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
773 (_FP_UNPACK_RAW_1_P): Likewise.
774 (_FP_PACK_RAW_1): Likewise.
775 (_FP_PACK_RAW_1_P): Likewise.
776 (_FP_MUL_MEAT_1_wide): Likewise.
777 (_FP_MUL_MEAT_DW_1_hard): Likewise.
778 (_FP_MUL_MEAT_1_hard): Likewise.
779 (_FP_DIV_MEAT_1_imm): Likewise.
780 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
781 (_FP_DIV_MEAT_1_udiv): Likewise.
782 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
783 (_FP_UNPACK_RAW_2): Likewise.
784 (_FP_UNPACK_RAW_2_P): Likewise.
785 (_FP_PACK_RAW_2): Likewise.
786 (_FP_PACK_RAW_2_P): Likewise.
787 (_FP_MUL_MEAT_DW_2_wide): Likewise.
788 (_FP_MUL_MEAT_2_wide): Likewise.
789 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
790 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
791 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
792 (_FP_MUL_MEAT_2_gmp): Likewise.
793 (_FP_DIV_MEAT_2_udiv): Likewise.
794 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
795 (_FP_FRAC_SRL_4): Likewise.
796 (_FP_FRAC_SRST_4): Likewise.
797 (_FP_FRAC_SRS_4): Likewise.
798 (_FP_UNPACK_RAW_4): Likewise.
799 (_FP_UNPACK_RAW_4_P): Likewise.
800 (_FP_PACK_RAW_4): Likewise.
801 (_FP_PACK_RAW_4_P): Likewise.
802 (_FP_MUL_MEAT_DW_4_wide): Likewise.
803 (_FP_MUL_MEAT_4_wide): Likewise.
804 (_FP_MUL_MEAT_4_gmp): Likewise.
805 (umul_ppppmnnn): Likewise.
806 (_FP_DIV_MEAT_4_udiv): Likewise.
807 (__FP_FRAC_ADD_4): Likewise.
808 (__FP_FRAC_SUB_3): Likewise.
809 (__FP_FRAC_SUB_4): Likewise.
810 (__FP_FRAC_DEC_3): Likewise.
811 (__FP_FRAC_DEC_4): Likewise.
812 (__FP_FRAC_ADDI_4): Likewise.
813 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
814 (_FP_FRAC_SRL_8): Likewise.
815 (_FP_FRAC_SRS_8): Likewise.
817 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
819 (FP_UNPACK_RAW_EP): Likewise.
820 (FP_PACK_RAW_E): Likewise.
821 (FP_PACK_RAW_EP): Likewise.
822 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
823 (_FP_ISSIGNAN): Likewise.
824 (_FP_ADD_INTERNAL): Likewise.
827 (_FP_SQRT): Likewise.
828 (_FP_TO_INT): Likewise.
829 (_FP_FROM_INT): Likewise.
830 (FP_EXTEND): Likewise.
831 (_FP_DIV_MEAT_N_loop): Likewise.
833 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
835 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
838 2014-06-29 Joseph Myers <joseph@codesourcery.com>
841 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
842 result with correct sign in case of exponents that produce
843 overflow except for X very close to 1.
845 2014-06-28 Paul Eggert <eggert@cs.ucla.edu>
847 mktime: merge #if/#ifdef usage from glibc
848 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
849 as that works with both Glibc's and Gnulib's style.
850 See thread starting at Siddhesh Poyarekar's bug report at:
851 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
853 2014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
855 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
856 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
857 * sysdeps/tile/tilegx/memmove.c: Remove file.
859 2014-06-27 Joseph Myers <joseph@codesourcery.com>
861 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
863 * scripts/soversions.awk: Do not handle or generate ABI lines.
864 * shlib-versions: Remove ABI entries.
865 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
866 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
868 2014-06-27 Roland McGrath <roland@hack.frob.com>
870 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
871 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
872 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
873 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
874 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
875 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
876 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
878 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
880 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
881 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
882 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
883 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
884 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
885 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
886 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
887 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
888 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
889 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
890 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
891 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
892 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
894 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
895 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
896 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
897 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
898 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
899 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
901 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
902 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
904 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
905 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
906 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
907 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
909 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
910 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
911 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
912 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
913 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
914 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
915 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
916 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
918 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
919 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
920 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
921 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
923 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
924 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
926 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
927 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
928 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
929 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
931 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
933 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
934 Identical file removed.
935 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
937 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
938 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
939 Identical file removed.
940 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
941 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
942 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
944 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
945 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
946 Identical file removed.
947 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
948 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
949 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
950 Identical file removed.
951 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
952 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
953 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
954 Identical file removed.
955 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
956 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
957 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
958 Identical file removed.
959 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
961 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
962 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
963 Identical file removed.
964 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
966 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
967 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
968 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
969 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
970 Identical file removed.
971 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
973 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
975 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
976 Identical file removed.
977 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
979 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
980 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
981 Identical file removed.
982 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
984 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
985 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
986 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
987 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
988 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
989 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
991 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
992 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
993 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
995 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
996 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
997 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
998 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
999 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
1001 2014-06-27 Arjun Shankar <arjun.is@lostca.se>
1004 * nscd/nscd.c (monitor_child): Return exit status of child
1005 instead of return value from wait syscall.
1007 2014-06-27 Joseph Myers <joseph@codesourcery.com>
1009 * configure.ac (libc_commonpagesize): Remove variable.
1010 (libc_relro_required): Likewise.
1011 (libc_cv_z_relro): Remove configure test.
1012 * configure: Regenerated.
1013 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
1015 (libc_relro_required): Likewise.
1016 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
1017 (libc_relro_required): Likewise.
1018 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
1019 (libc_relro_required): Likewise.
1020 * sysdeps/arm/preconfigure: Regenerated.
1021 * sysdeps/ia64/preconfigure: Remove file.
1022 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
1024 (libc_relro_required): Likewise.
1028 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
1029 (__ieee754_yn): Set FE_TONEAREST mode internally and then
1030 recompute overflowing results in original rounding mode.
1031 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
1032 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
1033 recompute overflowing results in original rounding mode.
1034 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
1035 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
1036 recompute overflowing results in original rounding mode.
1037 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
1038 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
1039 recompute overflowing results in original rounding mode.
1040 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
1041 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
1042 recompute overflowing results in original rounding mode.
1043 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
1044 (libc_feholdsetround_ctx): New macro.
1045 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
1046 * sysdeps/i386/fpu/libm-test-ulps: Update.
1047 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
1049 2014-06-26 Joseph Myers <joseph@codesourcery.com>
1051 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
1052 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
1053 corresponding .cpsetup call.
1055 2014-06-26 Roland McGrath <roland@hack.frob.com>
1057 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
1058 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
1059 * sysdeps/arm/Makefile [$(subdir) = csu]
1060 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
1061 (static-only-routines): Add aeabi_read_tp here.
1062 (shared-only-routines): Add libc-aeabi_read_tp here.
1063 (CFLAGS-libc-start.c): Add -fexceptions here.
1064 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
1065 (sysdep_routines, static-only-routines, shared-only-routines):
1066 Don't add to these here.
1067 (CFLAGS-libc-start.c): Likewise.
1069 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
1070 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
1071 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
1072 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
1073 * sysdeps/arm/Makefile [$(subdir) = rt]
1074 (librt-sysdep_routines, librt-shared-only-routines):
1075 Append rt-aeabi_unwind_cpp_pr1 here.
1076 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
1077 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
1078 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
1079 (libpthread-sysdep_routines, libpthread-shared-only-routines):
1080 Append nptl-aeabi_unwind_cpp_pr1 here.
1081 (tests): Filter out tst-cleanupx4 here.
1082 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
1083 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
1084 Don't do those here.
1086 2014-06-26 Joseph Myers <joseph@codesourcery.com>
1088 * scripts/list-sources.sh: Do not handle ports specially.
1090 2014-06-26 Roland McGrath <roland@hack.frob.com>
1092 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
1093 * sysdeps/arm/feupdateenv.c: Likewise.
1095 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
1097 2014-06-26 Joseph Myers <joseph@codesourcery.com>
1099 * manual/texinfo.tex: Update to version 2014-05-05.10 with
1100 trailing whitespace removed.
1101 * scripts/config.guess: Update to version 2014-03-23.
1102 * scripts/config.sub: Update to version 2014-05-01
1103 * scripts/install-sh: Update to version 2013-12-25.23.
1104 * scripts/move-if-change: Update from gnulib.
1106 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1108 * debug/memmove_chk.c: Remove pagecopy.h include.
1110 2014-06-26 Paul Eggert <eggert@cs.ucla.edu>
1112 * time/mktime.c (leapyear): Remove inline keyword. The code is now
1113 identical to gnulib mktime.
1115 2014-06-26 Joseph Myers <joseph@codesourcery.com>
1117 * configure.ac: Do not test for machine being rs6000. Do not test
1119 * configure: Regenerated.
1121 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
1123 * configure: Regenerated.
1124 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
1125 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
1126 Remove configure test.
1127 * sysdeps/arm/configure: Regenerated.
1128 * sysdeps/nptl/configure.ac: Do not check
1129 libc_cv_asm_cfi_directives.
1130 * sysdeps/nptl/configure: Regenerated.
1131 * sysdeps/x86_64/nptl/configure.ac: Remove file.
1132 * sysdeps/x86_64/nptl/configure: Remove generated file.
1133 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
1135 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
1137 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1139 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
1140 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
1141 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
1144 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
1145 instead of whether it is defined.
1146 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
1147 * sysdeps/hppa/dl-machine.h: Likewise.
1148 * sysdeps/ia64/dl-machine.h: Likewise.
1149 * sysdeps/m68k/dl-machine.h: Likewise.
1150 * sysdeps/microblaze/dl-machine.h: Likewise.
1151 * sysdeps/mips/dl-machine.: Likewise.
1152 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
1153 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
1154 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
1155 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
1156 * sysdeps/sh/dl-machine.h: Likewise.
1157 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
1158 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
1159 * sysdeps/tile/dl-machine.h: Likewise.
1160 * sysdeps/x86_64/dl-machine.h: Likewise.
1162 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
1164 (verify_persistent_db): Likewise.
1166 2014-06-26 Roland McGrath <roland@hack.frob.com>
1168 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
1169 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
1170 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
1171 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
1172 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
1174 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
1176 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
1177 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
1178 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
1179 Identical file removed.
1180 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
1181 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
1182 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
1183 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
1184 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
1185 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
1186 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
1187 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
1188 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
1189 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
1190 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
1192 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
1193 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
1194 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
1195 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
1196 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
1197 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
1199 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
1200 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
1201 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
1202 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
1203 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
1204 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
1205 Identical file removed.
1206 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
1207 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
1208 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
1209 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
1210 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
1212 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
1214 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
1215 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
1216 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
1217 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
1218 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
1219 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
1220 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
1221 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
1222 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
1223 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
1224 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
1226 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
1227 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
1229 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
1230 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
1231 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
1232 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
1234 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
1235 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
1236 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
1238 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
1240 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
1241 * sysdeps/unix/sysv/linux/s390/Versions
1242 (libpthread: GLIBC_2.19): New version set.
1243 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
1244 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
1245 (librt: GLIBC_2.3.3): New version set.
1246 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
1247 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
1248 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
1249 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
1250 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
1251 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
1252 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
1253 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
1254 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
1255 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
1256 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
1257 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
1258 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
1259 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
1260 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
1261 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
1262 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
1263 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
1264 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
1265 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
1266 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
1267 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
1268 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
1269 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
1270 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
1271 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
1272 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
1273 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
1274 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
1275 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
1276 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
1277 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
1278 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
1279 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
1280 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
1281 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
1282 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
1283 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
1284 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
1285 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
1286 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
1287 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
1288 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
1289 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
1290 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
1292 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
1293 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
1294 (__libc_vfork): Define the function under this name.
1295 [!NOT_IN_libc] (__vfork): Make this an alias.
1296 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
1297 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
1298 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
1299 (__libc_vfork): Define the function under this name.
1300 [!NOT_IN_libc] (__vfork): Make this an alias.
1301 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
1302 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
1303 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
1304 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
1305 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
1306 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
1308 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
1309 code that was previously under [RESET_PID].
1310 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
1311 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
1312 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
1314 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
1315 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
1316 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
1317 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
1318 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
1319 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
1320 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
1321 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
1322 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
1323 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
1324 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
1326 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
1327 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
1328 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
1329 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
1330 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
1331 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
1332 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
1333 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
1334 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
1335 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
1336 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
1337 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
1338 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
1339 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
1340 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
1341 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
1342 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
1343 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
1344 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
1345 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
1346 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
1347 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
1348 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
1349 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
1350 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
1351 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
1352 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
1353 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
1354 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
1356 2014-06-25 Roland McGrath <roland@hack.frob.com>
1358 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
1359 that was previously under [RESET_PID].
1360 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
1362 2014-06-25 Joseph Myers <joseph@codesourcery.com>
1364 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
1365 not undefine and redefine.
1366 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
1367 [O_CLOEXEC]: Make code unconditional.
1368 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
1369 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
1370 <kernel-features.h>.
1371 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
1372 conditional variable definition.
1373 (shm_open) [O_CLOEXEC]: Make code unconditional.
1374 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
1377 * configure.ac (USE_REGPARMS): Don't define here.
1378 * configure: Regenerated.
1379 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
1380 * sysdeps/i386/configure: Regenerated.
1382 * nptl/createthread.c: Don't include kernel-features.h.
1383 * nptl/pthread_cancel.c: Likewise.
1384 * nptl/pthread_condattr_setclock.c: Likewise.
1385 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
1386 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
1387 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
1388 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
1389 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
1390 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
1391 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
1392 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
1393 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
1394 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
1395 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
1396 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
1397 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
1398 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
1399 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
1400 * nscd/gai.c: Likewise.
1401 * nss/nss_db/db-open.c: Likewise.
1402 * sysdeps/generic/ldsodefs.h: Likewise.
1403 * sysdeps/sh/nptl/tls.h: Likewise.
1404 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
1405 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
1406 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
1407 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
1408 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
1409 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
1410 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
1411 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
1412 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
1413 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
1414 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
1415 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
1416 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
1417 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
1418 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
1419 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
1420 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
1421 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
1422 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
1423 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
1424 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
1425 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
1426 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
1427 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
1428 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
1429 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
1430 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
1431 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
1432 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
1433 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
1434 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
1435 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
1436 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
1437 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
1438 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
1439 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
1440 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
1441 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
1442 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
1443 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
1444 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
1445 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
1446 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
1447 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
1448 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
1449 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
1450 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
1451 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
1452 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
1453 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
1454 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
1455 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
1456 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
1457 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
1458 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
1459 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
1460 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
1461 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
1462 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
1463 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
1464 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
1465 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
1466 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
1467 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
1468 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
1469 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
1470 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
1471 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
1472 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
1473 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
1474 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
1475 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
1476 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
1477 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
1478 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
1479 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
1480 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
1481 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
1482 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
1483 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
1484 * sysdeps/unix/sysv/linux/pread.c: Likewise.
1485 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
1486 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
1487 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
1488 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
1489 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
1490 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
1491 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
1492 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
1493 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
1494 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
1495 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
1496 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
1497 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
1498 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
1499 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
1500 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
1501 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
1502 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
1503 * sysdeps/unix/sysv/linux/system.c: Likewise.
1504 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
1505 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
1506 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
1507 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
1508 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
1509 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
1510 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
1512 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
1513 * configure: Regenerated.
1514 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
1516 * configure.ac (base_machine): Do not set specially for particular
1518 * configure: Regenerated.
1519 * sysdeps/powerpc/preconfigure: Move machine and base_machine
1520 settings from configure.ac.
1521 * sysdeps/i386/preconfigure: New file.
1522 * sysdeps/s390/preconfigure: Likewise.
1523 * sysdeps/sh/preconfigure: Likewise.
1524 * sysdeps/sparc/preconfigure: Likewise.
1526 2014-06-25 Roland McGrath <roland@hack.frob.com>
1528 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
1529 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
1530 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
1531 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
1532 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
1533 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
1534 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
1535 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
1536 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
1537 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
1538 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
1539 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
1540 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
1541 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
1542 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
1543 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
1544 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
1545 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
1546 * sysdeps/sparc/sparc64/Makefile: ... appended here.
1548 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
1549 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
1550 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
1551 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
1552 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
1553 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
1554 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
1555 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
1556 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
1557 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
1558 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
1559 * sysdeps/sparc/sparc32/sem_post.c: ... here.
1560 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
1561 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
1562 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
1563 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
1564 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
1565 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
1566 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
1567 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
1568 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
1569 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
1570 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
1571 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
1572 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
1573 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
1574 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
1575 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
1576 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
1577 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
1578 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
1579 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
1580 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
1581 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
1582 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
1583 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
1584 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
1585 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
1587 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
1588 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
1589 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
1590 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
1591 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
1593 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
1595 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
1596 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
1597 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
1598 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
1599 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
1601 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
1602 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
1603 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
1604 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
1605 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
1606 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
1607 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
1608 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
1610 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
1611 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
1613 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
1614 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
1615 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
1616 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
1618 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
1619 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
1620 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
1621 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
1622 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
1623 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
1624 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
1625 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
1626 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
1627 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
1629 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
1631 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
1632 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
1633 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
1634 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
1635 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
1637 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
1638 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
1639 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
1640 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
1641 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
1642 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
1643 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
1644 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
1646 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
1647 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
1649 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
1650 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
1651 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
1652 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
1654 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
1655 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
1656 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
1657 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
1658 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
1660 2014-06-25 Joseph Myers <joseph@codesourcery.com>
1662 * timezone/checktab.awk: Update from tzcode 2014e.
1663 * timezone/private.h: Likewise.
1664 * timezone/tzfile.h: Likewise.
1665 * timezone/zdump.c: Likewise.
1666 * timezone/zic.c: Likewise.
1668 * sysdeps/unix/sysv/linux/kernel-features.h
1669 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
1670 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
1671 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
1672 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
1673 Remove conditional code.
1675 2014-06-25 Will Newton <will.newton@linaro.org>
1677 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
1678 (_dl_arm_cap_flags): Add HWCAP2 values.
1679 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
1680 (_DL_HWCAP_COUNT): Increase to 37.
1681 (_DL_HWCAP_LAST): New define.
1682 (_DL_HWCAP2_LAST): New define.
1683 (_dl_procinfo): Add support for printing
1685 (_dl_string_hwcap): Use _dl_hwcap_string.
1687 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1689 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1691 2014-06-25 Joseph Myers <joseph@codesourcery.com>
1693 * README: Do not mention ports directory.
1695 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
1697 * sysdeps/unix/sysv/linux/futimes.c: Do not include
1698 <kernel-features.h>.
1699 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
1700 conditional variable definition.
1701 (__futimes): Update comment.
1702 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
1703 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
1706 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
1707 arguments close to 0.
1708 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
1710 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
1712 * math/auto-libm-test-in: Add more tests of exp10.
1713 * math/auto-libm-test-out: Regenerated.
1714 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1716 * sysdeps/unix/sysv/linux/kernel-features.h
1717 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
1718 * sysdeps/unix/sysv/linux/readv.c: Do not include
1719 <kernel-features.h>.
1720 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
1721 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
1722 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
1724 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
1726 * sysdeps/unix/sysv/linux/writev.c: Do not include
1727 <kernel-features.h>.
1728 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
1729 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
1730 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
1732 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
1735 2014-06-25 Will Newton <will.newton@linaro.org>
1737 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
1738 comment changes throughout the file. Remove checks
1739 for HAVE_*_H definitions that are not required.
1740 (__gen_tempname): Call abort if an unknown kind value is
1743 2014-06-25 Andreas Schwab <schwab@suse.de>
1746 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
1747 scalbln, scalblnf, scalblnl in libc.
1749 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
1752 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
1753 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
1754 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
1756 2014-06-24 Roland McGrath <roland@hack.frob.com>
1758 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
1759 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
1760 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
1761 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
1763 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
1764 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
1766 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
1767 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
1768 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
1769 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
1770 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
1771 * sysdeps/x86/bits/pthreadtypes.h: ... here.
1772 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
1773 * sysdeps/x86/bits/semaphore.h: ... here.
1774 * sysdeps/x86/nptl/elide.h: Moved ...
1775 * sysdeps/x86/elide.h: ... here.
1776 * sysdeps/x86_64/nptl/Implies: File removed.
1777 * sysdeps/i386/nptl/Implies: File removed.
1779 2014-06-24 Joseph Myers <joseph@codesourcery.com>
1782 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
1783 return the argument for normal arguments with exponent below -64.
1784 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
1786 * math/auto-libm-test-in: Add another test of expm1.
1787 * math/auto-libm-test-out: Regenerated.
1790 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
1791 calling __erfcl for arguments at least 16.
1792 * math/auto-libm-test-in: Add more tests of erf.
1793 * math/auto-libm-test-out: Regenerated.
1795 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
1796 individual architectures.
1797 * sysdeps/unix/sysv/linux/configure: Regenerated.
1798 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
1799 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
1800 * sysdeps/unix/sysv/linux/powerpc/configure.ac
1801 (ldd_rewrite_script): Define variable.
1802 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
1803 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
1805 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
1807 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
1808 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
1809 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
1810 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
1811 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
1812 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
1813 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
1814 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
1816 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
1819 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
1820 Rename member __data.d to __data.__elision_data.
1822 2014-06-24 Wilco <wdijkstr@arm.com>
1824 * NEWS: Add 16918 to fixed bug list.
1826 2014-06-24 Wilco <wdijkstr@arm.com>
1828 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
1830 2014-06-24 Wilco <wdijkstr@arm.com>
1832 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
1833 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
1834 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
1835 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
1836 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
1837 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
1838 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
1841 2014-06-24 Wilco <wdijkstr@arm.com>
1843 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
1845 2014-06-24 Wilco <wdijkstr@arm.com>
1847 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
1848 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
1849 * sysdeps/arm/fesetround.c (fesetround): Remove space.
1850 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
1852 2014-06-24 Wilco <wdijkstr@arm.com>
1855 * sysdeps/arm/feupdateenv.c (feupdateenv):
1856 Rewrite to reduce FPSCR accesses and fix return value.
1858 2014-06-24 Wilco <wdijkstr@arm.com>
1860 * sysdeps/arm/fclrexcpt.c (feclearexcept):
1861 Optimize to avoid unnecessary FPSCR writes.
1862 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
1863 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
1864 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
1865 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
1867 2014-06-24 Wilco <wdijkstr@arm.com>
1869 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
1870 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
1871 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
1872 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
1873 Call libc_fetestexcept_vfp.
1874 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
1875 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
1876 __SOFTFP__ ifdef so that they can be built for softfp.
1878 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
1880 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
1881 argument type signed char.
1883 * Makerules (check-abi): Dump diff of symlist if the test
1886 2014-06-23 Roland McGrath <roland@hack.frob.com>
1888 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
1891 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
1892 Remove unused variable ST.
1894 2014-06-23 Joseph Myers <joseph@codesourcery.com>
1898 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
1899 small arguments before calling __expm1.
1900 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
1901 small arguments before calling __expm1f.
1902 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
1903 small arguments before calling __expm1l.
1904 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
1906 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
1907 * math/auto-libm-test-in: Add more cosh tests. Do not allow
1908 spurious underflow for some cosh tests.
1909 * math/auto-libm-test-out: Regenerated.
1910 * sysdeps/i386/fpu/libm-test-ulps: Update.
1913 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
1914 (__ieee754_y1): Set errno if return value overflows.
1915 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
1916 (__ieee754_y1f): Set errno if return value overflows.
1917 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
1918 (__ieee754_y1l): Set errno if return value overflows.
1919 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
1920 (__ieee754_y1l): Set errno if return value overflows.
1921 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
1922 * math/auto-libm-test-out: Regenerated.
1924 * math/gen-auto-libm-tests.c: Document use of
1925 ignore-zero-inf-sign.
1926 (input_flag_type): Add value flag_ignore_zero_inf_sign.
1927 (input_flags): Add ignore-zero-inf-sign.
1928 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
1929 * math/gen-libm-test.pl (generate_testfile): Handle
1930 ignore-zero-inf-sign.
1931 * math/auto-libm-test-in: Mark some cpow tests with
1932 ignore-zero-inf-sign and some with xfail-rounding.
1933 * math/auto-libm-test-out: Regenerated.
1934 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
1935 * sysdeps/i386/fpu/libm-test-ulps: Update.
1936 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1939 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
1940 overflowing or underflowing operations take place with sign of
1942 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
1943 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
1944 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
1945 (__ieee754_pow): Recompute overflowing and underflowing results in
1946 original rounding mode.
1947 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
1948 (__powl_helper): Allow negative argument X and scale negated value
1949 as needed. Avoid passing value outside [-1, 1] to f2xm1.
1950 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
1951 overflowing or underflowing operations take place with sign of
1953 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
1955 * math/auto-libm-test-in: Add more tests of pow.
1956 * math/auto-libm-test-out: Regenerated.
1957 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
1958 (pow_tonearest_test_data): Remove.
1959 (pow_test_tonearest): Likewise.
1960 (pow_towardzero_test_data): Likewise.
1961 (pow_test_towardzero): Likewise.
1962 (pow_downward_test_data): Likewise.
1963 (pow_test_downward): Likewise.
1964 (pow_upward_test_data): Likewise.
1965 (pow_test_upward): Likewise.
1966 (main): Don't call removed functions.
1967 * sysdeps/i386/fpu/libm-test-ulps: Update.
1968 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1970 2014-06-23 Roland McGrath <roland@hack.frob.com>
1972 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
1974 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
1975 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1977 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
1978 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
1980 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
1981 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
1983 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
1984 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
1986 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
1988 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
1990 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
1992 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
1994 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
1996 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
1998 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
2000 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
2002 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
2004 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
2006 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
2008 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
2010 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
2011 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
2013 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
2015 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
2017 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
2018 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
2020 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
2021 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
2023 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
2024 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
2026 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
2027 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
2029 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
2030 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
2032 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
2033 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
2035 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
2036 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
2037 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
2039 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
2041 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
2042 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
2044 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
2046 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
2048 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2050 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
2052 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
2054 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
2056 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
2057 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
2059 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
2060 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
2061 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
2062 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
2064 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
2066 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
2068 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
2070 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
2072 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
2073 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
2075 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
2076 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
2078 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
2079 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2081 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
2082 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
2084 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
2086 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
2088 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
2089 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
2091 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
2092 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
2094 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
2095 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
2097 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
2098 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
2099 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
2100 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
2102 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
2103 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
2105 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
2106 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
2108 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
2110 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
2112 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
2114 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
2116 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
2118 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
2120 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
2121 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
2123 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
2124 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
2126 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
2127 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
2129 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
2131 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
2133 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
2135 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
2137 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
2139 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
2141 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
2142 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
2144 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
2146 2014-06-23 Will Newton <will.newton@linaro.org>
2147 Wilco <wdijkstr@arm.com>
2149 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
2150 implementation. Include get-rounding-mode.h.
2151 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
2152 [!libc_feholdsetround_noex_ctx]: Define
2153 libc_feholdsetround_noex_ctx.
2154 [!libc_feholdsetround_noexf_ctx]: Define
2155 libc_feholdsetround_noexf_ctx.
2156 [!libc_feholdsetround_noexl_ctx]: Define
2157 libc_feholdsetround_noexl_ctx.
2158 (libc_feholdsetround_ctx): New function.
2159 (libc_feresetround_ctx): New function.
2160 (libc_feholdsetround_noex_ctx): New function.
2161 (libc_feresetround_noex_ctx): New function.
2163 2014-06-23 Roland McGrath <roland@hack.frob.com>
2165 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
2166 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
2167 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
2168 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
2169 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
2170 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
2172 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
2173 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
2174 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
2175 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
2176 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
2177 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
2178 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
2179 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
2180 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
2181 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
2182 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
2184 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
2186 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
2187 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
2188 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
2189 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
2190 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
2192 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
2193 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
2194 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
2195 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
2196 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
2197 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
2198 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
2199 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
2201 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
2202 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
2204 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
2205 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
2206 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
2207 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
2209 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
2210 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
2211 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
2212 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
2213 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
2214 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
2215 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
2216 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
2217 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
2218 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
2220 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
2222 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
2223 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
2224 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
2225 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
2226 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
2227 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
2228 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
2229 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
2230 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
2231 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
2232 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
2233 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
2234 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
2236 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
2237 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
2238 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
2239 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
2240 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
2241 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
2243 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
2244 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
2245 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
2246 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
2247 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
2249 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
2250 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
2251 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
2252 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
2253 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
2254 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
2255 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
2256 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
2257 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
2258 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
2259 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
2260 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
2261 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
2262 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
2263 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
2264 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
2265 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
2266 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
2267 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
2268 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
2269 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
2270 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
2271 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
2272 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
2273 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
2274 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
2275 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
2276 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
2278 2014-06-23 Joseph Myers <joseph@codesourcery.com>
2280 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
2281 (FALLOC_FL_COLLAPSE_RANGE): New macro.
2282 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
2283 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
2284 (IPV6_PMTUDISC_INTERFACE): Likewise.
2285 (IPV6_PMTUDISC_OMIT): Likewise.
2287 2014-06-23 Andreas Schwab <schwab@suse.de>
2289 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
2290 Remove unused errout label.
2292 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2294 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
2295 macro: hardware supports Vector Crypto instructions.
2297 2014-06-23 Will Newton <will.newton@linaro.org>
2299 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
2300 rather than __builtin_expect.
2302 * elf/dl-lookup.c (undefined_msg): Remove variable.
2303 (_dl_lookup_symbol_x): Replace undefined_msg with string
2306 * elf/dl-lookup.c (do_lookup_unique): New function.
2307 (do_lookup_x): Move STB_GNU_UNIQUE handling code
2308 to a separate function.
2310 2014-06-23 Andreas Schwab <schwab@suse.de>
2313 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
2314 before reading the next line.
2316 2014-06-23 Will Newton <will.newton@linaro.org>
2318 * test-skeleton.c (signal_handler): Use printf and %m
2319 rather than perror. Use printf rather than fprintf to
2320 stderr. Use puts rather than fputs to stderr.
2323 2014-06-22 Ludovic Courtès <ludo@gnu.org>
2325 * nscd/nscd.c (thread_info_t): Remove typedef.
2326 (thread_info): Remove variable.
2328 2014-06-21 Allan McRae <allan@archlinux.org>
2330 * NEWS: Mention CVE-2014-4043.
2332 2014-06-20 Roland McGrath <roland@hack.frob.com>
2334 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
2335 * nptl/smp.h: ... here.
2337 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
2339 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
2340 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
2341 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
2342 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
2344 * nptl/allocatestack.c: Include <stack-aliasing.h>.
2345 * nptl/stack-aliasing.h: New file.
2346 * sysdeps/i386/i686/stack-aliasing.h: New file.
2347 * sysdeps/i386/i686/nptl/Makefile: File removed.
2348 * sysdeps/x86_64/stack-aliasing.h: New file.
2349 * sysdeps/x86_64/nptl/Makefile
2350 (CFLAGS-pthread_create.c): Variable removed.
2352 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
2353 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
2355 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
2356 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
2359 2014-06-21 Joseph Myers <joseph@codesourcery.com>
2361 * sysdeps/unix/sysv/linux/arm/kernel-features.h
2362 (__ASSUME_SIGFRAME_V2): Remove macro.
2363 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
2364 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
2365 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
2366 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
2367 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
2368 Declare as function. Remove conditional macro definitions.
2369 (__default_rt_sa_restorer): Likewise.
2370 (__default_sa_restorer_v1): Remove declaration.
2371 (__default_sa_restorer_v2): Likewise.
2372 (__default_rt_sa_restorer_v1): Likewise.
2373 (__default_rt_sa_restorer_v2): Likewise.
2374 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
2375 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
2376 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
2378 2014-06-20 Roland McGrath <roland@hack.frob.com>
2380 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
2381 (libpthread-routines): Add sysdep.
2382 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
2383 * sysdeps/unix/sysv/linux/sparc/Versions
2384 (libpthread: GLIBC_2.3.3): New version set.
2385 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
2386 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
2387 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
2388 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
2389 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
2390 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
2392 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
2393 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
2394 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
2395 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
2396 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
2397 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
2398 * sysdeps/sparc/nptl/sem_init.c: ... here.
2399 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
2400 * sysdeps/sparc/nptl/sem_post.c: ... here.
2401 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
2402 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
2403 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
2404 * sysdeps/sparc/nptl/sem_wait.c: ... here.
2405 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
2406 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
2407 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
2408 (libpthread-routines): Add cpu_relax.
2409 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
2411 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
2412 (librt: GLIBC_2.3.3): New version set.
2413 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
2414 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
2415 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
2416 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
2417 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
2418 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
2419 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
2420 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
2422 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
2423 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
2424 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
2425 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
2426 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
2427 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
2428 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
2429 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
2430 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
2431 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
2433 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
2435 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
2437 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
2439 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
2441 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
2443 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
2445 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
2447 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
2449 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
2451 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
2453 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
2455 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
2456 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
2457 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
2458 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
2459 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
2460 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
2461 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
2462 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
2463 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
2464 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
2465 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
2467 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
2468 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
2469 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
2470 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
2471 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
2473 2014-06-20 Joseph Myers <joseph@codesourcery.com>
2475 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
2476 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
2477 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
2478 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
2479 * nscd/nscd.c: Likewise.
2480 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
2481 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
2482 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
2483 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
2485 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
2486 <kernel-features.h>.
2487 (init_mq_netlink): Remove conditional have_sock_cloexec
2488 definitions. Remove code conditional on have_sock_cloexec < 0.
2489 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
2490 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
2491 * sysdeps/unix/sysv/linux/opensock.c: Do not include
2492 <kernel-features.h>.
2493 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
2494 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
2496 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
2498 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
2499 Add tests for memset_chk and memset.
2501 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
2504 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
2507 * elf/tst-dl-iter-static.c: New file.
2508 * elf/Makefile (tests-static): Add tst-dl-iter-static.
2510 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
2513 2014-06-20 Joseph Myers <joseph@codesourcery.com>
2515 * sysdeps/unix/sysv/linux/kernel-features.h
2516 (__ASSUME_F_GETOWN_EX): Remove macro.
2517 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
2518 <kernel-features.h>.
2519 (miss_F_GETOWN_EX): Remove variable or macro.
2520 (do_fcntl): Do not check miss_F_GETOWN_EX.
2521 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
2523 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
2525 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
2526 [!__ASSUME_AT_RANDOM]: Remove conditional code.
2527 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
2529 * sysdeps/unix/sysv/linux/kernel-features.h
2530 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
2531 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
2532 [ADJ_OFFSET_SS_READ]: Make code unconditional.
2533 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
2535 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
2538 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
2539 Fix calculation of the symbol's value.
2540 * sysdeps/arm/tst-armtlsdescloc.c: New file.
2541 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
2542 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
2543 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
2544 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
2545 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
2546 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
2547 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
2548 (modules-names): Add `tst-armtlsdescmod',
2549 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
2550 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
2551 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
2552 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
2553 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
2554 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
2555 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
2556 ($(objpfx)tst-armtlsdescloc): New dependency.
2557 ($(objpfx)tst-armtlsdescextnow): Likewise.
2558 ($(objpfx)tst-armtlsdescextlazy): Likewise.
2559 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
2561 * sysdeps/arm/configure: Regenerate.
2563 2014-06-20 Joseph Myers <joseph@codesourcery.com>
2565 * include/fcntl.h (__atfct_seterrno): Remove prototype.
2566 (__atfct_seterrno_2): Likewise.
2567 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
2568 <kernel-features.h>.
2569 (__ASSUME_ATFCTS): Do not undefine and redefine.
2570 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
2571 (__have_atfcts): Remove conditional definition.
2572 (__fxstatat([__NR_fstatat64]: Make code unconditional.
2573 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
2574 unreachable if [__ASSUME_ATFCTS].
2575 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
2576 not undefine and redefine.
2577 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
2578 <kernel-features.h>.
2579 (faccessat) [__NR_faccessat]: Make code unconditional.
2580 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
2581 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
2582 <kernel-features.h>.
2583 (fchmodat) [__NR_fchmodat]: Make code unconditional.
2584 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
2585 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
2586 <kernel-features.h>.
2587 (fchownat) [__NR_fchownat]: Make code unconditional.
2588 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
2589 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
2590 <kernel-features.h>.
2591 (futimesat) [__NR_futimesat]: Make code unconditional.
2592 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
2593 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
2594 <kernel-features.h>.
2595 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
2596 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
2597 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
2598 <kernel-features.h>.
2599 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
2600 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
2601 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
2602 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
2603 <kernel-features.h>.
2604 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
2605 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
2606 * sysdeps/unix/sysv/linux/linkat.c: Do not include
2607 <kernel-features.h>.
2608 (linkat) [__NR_linkat]: Make code unconditional.
2609 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
2610 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
2611 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
2612 <kernel-features.h>.
2613 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
2614 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
2615 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
2616 <kernel-features.h>.
2617 (mkdirat) [__NR_mkdirat]: Make code unconditional.
2618 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
2619 * sysdeps/unix/sysv/linux/openat.c: Do not include
2620 <kernel-features.h>.
2621 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
2622 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
2623 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
2624 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
2625 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
2626 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
2627 <kernel-features.h>.
2628 (readlinkat) [__NR_readlinkat]: Make code unconditional.
2629 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
2630 result of INLINE_SYSCALL directly, not via int variable.
2631 * sysdeps/unix/sysv/linux/renameat.c: Do not include
2632 <kernel-features.h>.
2633 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
2634 (renameat) [__NR_renameat]: Make code unconditional.
2635 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
2636 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
2637 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
2638 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
2639 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
2640 (__ASSUME_ATFCTS): Do not undefine and redefine.
2641 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
2642 <kernel-features.h>.
2643 (symlinkat) [__NR_symlinkat]: Make code unconditional.
2644 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
2645 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
2646 <kernel-features.h>.
2647 (unlinkat) [__NR_unlinkat]: Make code unconditional.
2648 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
2649 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
2650 (__ASSUME_ATFCTS): Do not undefine and redefine.
2651 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
2652 <kernel-features.h>.
2653 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
2654 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
2655 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
2656 <kernel-features.h>.
2657 (__xmknodat) [__NR_mknodat]: Make code unconditional.
2658 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
2660 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
2662 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
2664 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
2667 * posix/regcomp.c (parse_reg_exp): Deallocate partially
2668 constructed tree before returning error.
2669 * posix/bug-regexp36.c: Expand test case.
2671 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
2674 * math/libm-test.inc (scalbln_test_date):
2675 Add errno expectations.
2676 * math/w_scalblnf.c: New File.
2677 Add wrapper which checks for setting errno to ERANGE.
2678 Add weak_alias for corresponding scalbln function.
2679 * math/w_scalbln.c: Likewise.
2680 * math/w_scalblnl.c: Likewise.
2681 * math/Makefile (libm-calls): Add w_scalbln.
2682 * sysdeps/ieee754/flt-32/s_scalblnf.c:
2683 Remove weak_alias for corresponding scalbln function.
2684 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
2685 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
2686 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
2687 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
2688 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
2689 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
2690 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
2691 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
2692 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
2693 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
2694 Remove long_double_symbol for scalblnl function in libm, libc.
2695 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
2696 Add wrapper which checks for setting errno to ERANGE.
2697 Add long_double_symbol for scalblnl function in libm, libc.
2698 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
2699 Remove long_double_symbol for scalblnl in libm.
2700 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
2701 Add wrapper which checks for setting errno to ERANGE.
2702 Add long_double_symbol for scalblnl function in libm.
2703 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
2704 Do not use wrapper because of own implementation.
2706 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
2708 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
2709 3 bytes for __pad1 for x32.
2710 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
2712 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
2713 H.J. Lu <hongjiu.lu@intel.com>
2715 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
2716 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
2717 * sysdeps/x86_64/multiarch/memset.S: Likewise.
2718 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
2719 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
2721 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
2724 * posix/regcomp.c (parse_expression): Deallocate partially
2725 constructed tree before returning error.
2726 * posix/Makefile.c (tests): Add bug-regex36.
2727 (generated): Add bug-regex36.mtrace.
2728 (tests-special): Add $(objpfx)bug-regex36-mem.out
2729 (bug-regex36-ENV): New variable.
2730 ($(objpfx)bug-regex36-mem.out): New rule.
2731 * posix/bug-regex36.c: New file.
2733 2014-06-19 Will Newton <will.newton@linaro.org>
2735 * malloc/malloc.c (systrim): If extra is zero then return
2738 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
2740 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
2742 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
2744 * sysdeps/aarch64/strchr.S: New file.
2746 2014-06-18 Joseph Myers <joseph@codesourcery.com>
2749 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
2750 from arguments -2 or below.
2751 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
2752 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
2754 2014-06-18 Andreas Schwab <schwab@suse.de>
2757 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
2758 of a bracket expr not to run off the end of the string.
2759 * posix/Makefile (tests): Add tst-fnmatch3.
2760 * posix/tst-fnmatch3.c: New file.
2762 2014-06-18 Joseph Myers <joseph@codesourcery.com>
2764 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
2765 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
2766 [$(cross-compiling) = no]: Likewise.
2767 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
2768 [$(cross-compiling) = no]: Likewise.
2770 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2773 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
2774 double, adjusted for any remainder from the high double.
2775 * math/libm-test.inc (nearbyint): Add tests.
2778 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2780 * nptl/sysdeps/powerpc/Makefile: Moved ...
2781 * sysdeps/powerpc/nptl/Makefile: ... here.
2782 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
2783 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
2784 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
2785 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
2786 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
2787 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
2788 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
2789 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
2790 * nptl/sysdeps/powerpc/tls.h: Moved ...
2791 * sysdeps/powerpc/nptl/tls.h: ... here.
2793 2014-06-16 Joseph Myers <joseph@codesourcery.com>
2796 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
2797 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
2798 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
2799 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
2800 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
2801 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
2802 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
2803 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
2804 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
2806 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
2808 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
2810 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
2812 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
2815 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
2818 2014-06-16 Florian Weimer <fweimer@redhat.com>
2821 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
2822 non-executed part of the test.
2824 2014-06-16 Andreas Schwab <schwab@suse.de>
2826 * string/bits/string2.h (strdup, strndup): Update feature guard.
2828 2014-06-14 David S. Miller <davem@davemloft.net>
2830 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2832 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
2834 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
2835 that was previously under [RESET_PID].
2836 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
2838 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
2839 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
2840 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
2841 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
2842 (__libc_vfork): New strong alias.
2843 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
2845 2014-06-14 Andi Kleen <ak@linux.intel.com>
2847 * sysdeps/generic/elide.h: New file.
2849 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
2851 * Makefile (installed-headers): Adjust path of pthread.h header.
2853 2014-06-13 Roland McGrath <roland@hack.frob.com>
2855 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
2856 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
2857 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
2858 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
2860 * nptl/sysdeps/s390/Makefile: Moved ...
2861 * sysdeps/s390/nptl/Makefile: ... here.
2862 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
2863 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
2864 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
2865 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
2866 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
2867 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
2868 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
2869 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
2870 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
2871 * sysdeps/s390/nptl/pthreaddef.h: ... here.
2872 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
2873 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
2874 * nptl/sysdeps/s390/tls.h: Moved ...
2875 * sysdeps/s390/nptl/tls.h: ... here.
2877 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
2878 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
2880 2014-06-13 David S. Miller <davem@davemloft.net>
2882 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
2883 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
2884 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
2885 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
2886 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
2887 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
2888 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
2889 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
2890 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
2891 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
2892 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
2893 Remove RESET_PID cpp guards.
2894 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
2895 Remove RESET_PID cpp guards.
2896 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
2898 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
2900 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
2903 2014-06-13 Andi Kleen <ak@linux.intel.com>
2905 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
2906 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
2907 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
2908 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
2909 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
2910 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
2911 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
2912 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
2913 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
2914 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
2915 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
2916 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
2917 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
2918 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
2919 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
2920 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
2921 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
2922 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
2923 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
2924 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
2926 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
2927 (pthread_rwlock_rdlock): Add elision.
2928 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
2929 (pthread_rwlock_wrlock): Add elision.
2930 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
2931 (pthread_rwlock_trywrlock): Add elision.
2932 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
2933 (pthread_rwlock_tryrdlock): Add elision.
2934 * nptl/pthread_rwlock_unlock.c: Include elide.h.
2935 (pthread_rwlock_tryrdlock): Add elision unlock.
2936 * nptl/sysdeps/pthread/pthread.h:
2937 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
2938 (PTHREAD_RWLOCK_INITIALIZER,
2939 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
2940 Handle new elision field.
2941 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
2942 * sysdeps/arm/nptl/bits/pthreadtypes.h
2943 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2944 * sysdeps/sh/nptl/bits/pthreadtypes.h
2945 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2946 * sysdeps/tile/nptl/bits/pthreadtypes.h
2947 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2948 * sysdeps/a/nptl/bits/pthreadtypes.h
2949 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2950 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
2951 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2952 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
2953 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2954 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
2955 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2956 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
2957 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2958 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
2959 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2960 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
2961 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2962 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
2963 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2964 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
2965 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2966 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
2967 (elision_init): Set try_xbegin to zero when no RTM.
2968 * sysdeps/x86/nptl/bits/pthreadtypes.h
2969 (pthread_rwlock_t): Change __pad1 to __rwelision.
2970 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2972 2014-06-13 Andi Kleen <ak@linux.intel.com>
2974 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
2975 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
2976 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
2977 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
2979 2014-06-13 Meador Inge <meadori@codesourcery.com>
2982 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
2983 that the cached result has been set before returning it.
2985 2014-06-12 Roland McGrath <roland@hack.frob.com>
2987 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
2988 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
2989 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
2990 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
2991 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
2992 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
2994 * nptl/sysdeps/sparc/Makefile: Moved ...
2995 * sysdeps/sparc/nptl/Makefile: ... here.
2996 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
2997 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
2998 * nptl/sysdeps/sparc/tls.h: Moved ...
2999 * sysdeps/sparc/nptl/tls.h: ... here.
3000 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
3001 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
3002 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
3003 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
3004 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
3005 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
3006 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
3007 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
3008 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
3009 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
3010 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
3011 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
3012 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
3013 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
3014 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
3015 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
3016 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
3017 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
3019 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
3020 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
3022 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
3023 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
3025 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
3026 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
3029 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
3031 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
3032 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
3034 * sysdeps/pthread/posix-timer.h: Include <list.h>.
3035 (struct list_links): Type removed.
3036 (struct thread_node, struct timer_node): Replace struct list_links
3037 with struct list_head.
3038 (list_unlink_ip): Likewise.
3039 * sysdeps/pthread/timer_routines.c
3040 (timer_free_list, thread_free_list, thread_active_list): Likewise.
3041 (list_append, list_insbefore): Likewise.
3042 (list_init): Function removed.
3043 (thread_init, init_module): Use INIT_LIST_HEAD instead.
3044 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
3045 * sysdeps/pthread/Makefile: ... here, new file.
3047 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
3048 * sysdeps/nptl/Implies: ... here.
3049 * sysdeps/unix/sysv/linux/Implies: Add nptl.
3050 * nptl/sysdeps/pthread/list.h: Moved ...
3051 * include/list.h: ... here.
3052 * nptl/sysdeps/pthread/createthread.c: Moved ...
3053 * nptl/createthread.c: ... here.
3054 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
3055 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
3056 * nptl/pt-longjmp.c: ... here.
3057 * nptl/sysdeps/pthread/Makefile: Moved ...
3058 * sysdeps/nptl/Makefile: ... here.
3059 * nptl/sysdeps/pthread/Subdirs: Moved ...
3060 * sysdeps/nptl/Subdirs: ... here.
3061 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
3062 * sysdeps/nptl/aio_misc.h: ... here.
3063 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
3064 * sysdeps/nptl/bits/libc-lock.h: ... here.
3065 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
3066 * sysdeps/nptl/bits/libc-lockP.h: ... here.
3067 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
3068 * sysdeps/nptl/bits/stdio-lock.h: ... here.
3069 * nptl/sysdeps/pthread/configure: Moved ...
3070 * sysdeps/nptl/configure: ... here.
3071 * nptl/sysdeps/pthread/configure.ac: Moved ...
3072 * sysdeps/nptl/configure.ac: ... here.
3073 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
3074 * sysdeps/nptl/gai_misc.h: ... here.
3075 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
3076 * sysdeps/nptl/librt-cancellation.c: ... here.
3077 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
3078 * sysdeps/nptl/malloc-machine.h: ... here.
3079 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
3080 * sysdeps/nptl/pthread-functions.h: ... here.
3081 * nptl/sysdeps/pthread/pthread.h: Moved ...
3082 * sysdeps/nptl/pthread.h: ... here.
3083 * nptl/sysdeps/pthread/setxid.h: Moved ...
3084 * sysdeps/nptl/setxid.h: ... here.
3085 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
3086 * sysdeps/nptl/sigfillset.c: ... here.
3087 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
3088 * sysdeps/nptl/tcb-offsets.h: ... here.
3089 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
3090 * sysdeps/nptl/tst-mqueue8x.c: ... here.
3091 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
3092 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
3093 * nptl/sysdeps/pthread/allocalim.h: Moved ...
3094 * sysdeps/pthread/allocalim.h: ... here.
3095 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
3096 * sysdeps/pthread/bits/sigthread.h: ... here.
3097 * nptl/sysdeps/pthread/flockfile.c: Moved ...
3098 * sysdeps/pthread/flockfile.c: ... here.
3099 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
3100 * sysdeps/pthread/ftrylockfile.c: ... here.
3101 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
3102 * sysdeps/pthread/funlockfile.c: ... here.
3103 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
3104 * sysdeps/pthread/posix-timer.h: ... here.
3105 * nptl/sysdeps/pthread/timer_create.c: Moved ...
3106 * sysdeps/pthread/timer_create.c: ... here.
3107 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
3108 * sysdeps/pthread/timer_delete.c: ... here.
3109 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
3110 * sysdeps/pthread/timer_getoverr.c: ... here.
3111 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
3112 * sysdeps/pthread/timer_gettime.c: ... here.
3113 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
3114 * sysdeps/pthread/timer_routines.c: ... here.
3115 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
3116 * sysdeps/pthread/timer_settime.c: ... here.
3117 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
3118 * sysdeps/pthread/tst-timer.c: ... here.
3119 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
3120 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
3122 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
3123 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
3125 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
3126 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
3127 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
3128 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
3129 Update #include target.
3130 * nptl/sysdeps/i386/i686/Makefile: Moved ...
3131 * sysdeps/i386/i686/nptl/Makefile: ... here.
3132 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
3133 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
3134 Update #include target.
3135 * nptl/sysdeps/i386/i686/tls.h: Moved ...
3136 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
3137 * nptl/sysdeps/i386/Makefile: Moved ...
3138 * sysdeps/i386/nptl/Makefile: ... here.
3139 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
3140 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
3141 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
3142 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
3143 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
3144 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
3145 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
3146 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
3147 * sysdeps/i386/nptl/pthreaddef.h: ... here.
3148 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
3149 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
3150 * nptl/sysdeps/i386/tls.h: Moved ...
3151 * sysdeps/i386/nptl/tls.h: ... here.
3153 * sysdeps/sh/Makefile [$(subdir) = csu]
3154 (gen-as-const-headers): Add tcb-offsets.sym.
3155 * nptl/sysdeps/sh/Makefile: File removed.
3156 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
3157 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
3158 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
3159 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
3160 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
3161 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
3162 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
3163 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
3164 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
3165 * sysdeps/sh/nptl/pthreaddef.h: ... here.
3166 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
3167 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
3168 * nptl/sysdeps/sh/tls.h: Moved ...
3169 * sysdeps/sh/nptl/tls.h: ... here.
3170 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
3171 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
3172 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
3173 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
3174 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
3175 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
3176 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
3177 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
3178 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
3179 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
3180 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
3181 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
3182 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
3183 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
3184 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
3185 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
3186 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
3187 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
3188 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
3189 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
3190 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
3191 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
3192 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
3193 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
3194 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
3196 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
3197 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
3199 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
3200 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
3201 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
3202 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
3203 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
3204 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
3205 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
3206 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
3207 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
3208 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
3209 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
3210 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
3211 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
3212 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
3213 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
3214 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
3215 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
3216 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
3217 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
3219 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
3221 * posix/spawn_faction_addopen.c: Include string.h.
3223 2014-06-11 Roland McGrath <roland@hack.frob.com>
3225 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
3226 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
3227 * nptl/sysdeps/x86_64/Makefile: Moved ...
3228 * sysdeps/x86_64/nptl/Makefile: ... here.
3229 * nptl/sysdeps/x86_64/configure: Moved ...
3230 * sysdeps/x86_64/nptl/configure: ... here.
3231 * nptl/sysdeps/x86_64/configure.ac: Moved ...
3232 * sysdeps/x86_64/nptl/configure.ac: ... here.
3233 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
3234 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
3235 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
3236 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
3237 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
3238 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
3239 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
3240 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
3241 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
3242 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
3243 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
3244 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
3245 * nptl/sysdeps/x86_64/tls.h: Moved ...
3246 * sysdeps/x86_64/nptl/tls.h: ... here.
3247 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
3248 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
3249 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
3250 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
3252 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
3254 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3256 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3258 2014-06-11 Joseph Myers <joseph@codesourcery.com>
3260 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
3262 [POSIX] (off_t): Likewise.
3263 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
3264 [POSIX] (S_ISBLK): Require macro.
3265 [POSIX] (S_ISCHR): Likewise.
3266 [POSIX] (S_ISDIR): Likewise.
3267 [POSIX] (S_ISFIFO): Likewise.
3268 [POSIX] (S_ISREG): Likewise.
3269 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
3271 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
3273 [POSIX] (time_t): Likewise.
3274 [POSIX] (timer_t): Likewise.
3276 2014-06-11 Florian Weimer <fweimer@redhat.com>
3279 * posix/spawn_int.h (struct __spawn_action): Make the path string
3280 non-const to support deallocation.
3281 * posix/spawn_faction_addopen.c
3282 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
3283 * posix/spawn_faction_destroy.c
3284 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
3285 path in all spawn_do_open actions.
3286 * posix/tst-spawn.c (do_test): Exercise the copy operation in
3287 posix_spawn_file_actions_addopen.
3289 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
3291 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
3292 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
3293 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
3294 conditional code always true.
3295 (__libc_vfork): New alias.
3297 2014-06-11 Roland McGrath <roland@hack.frob.com>
3299 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3300 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
3302 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
3304 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3305 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
3307 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
3308 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
3310 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3311 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
3313 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
3315 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
3316 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
3317 multiarch strcmp for PPC64.
3318 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
3319 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
3320 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
3321 multiarch optimizations.
3322 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3323 (__libc_ifunc_impl_list): Likewise.
3325 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3327 * benchtests/scripts/validate_benchout.py: New script.
3328 * benchtests/Makefile (bench-func): Call it.
3329 * benchtests/scripts/benchout.schema.json: New file.
3331 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
3333 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
3334 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
3335 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
3336 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
3337 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
3338 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
3339 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
3340 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
3341 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
3342 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
3343 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
3344 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
3345 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
3346 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
3347 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
3348 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
3349 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
3351 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
3353 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
3355 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
3356 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
3358 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
3360 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
3362 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
3364 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
3366 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
3367 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
3369 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
3371 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
3373 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
3375 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
3377 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
3378 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
3380 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
3382 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
3384 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
3386 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
3388 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
3390 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
3392 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
3393 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
3395 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
3397 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
3399 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
3401 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
3403 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
3405 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
3407 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
3408 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
3410 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
3412 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
3414 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
3416 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
3418 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
3419 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
3421 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
3423 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
3425 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
3426 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
3428 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
3429 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
3431 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
3433 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
3435 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
3437 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
3439 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
3441 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
3443 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
3444 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
3446 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
3448 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
3450 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
3452 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
3453 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
3454 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
3455 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
3456 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
3458 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
3460 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
3461 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
3462 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
3463 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
3464 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
3465 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
3466 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
3467 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
3468 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
3469 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
3470 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
3471 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
3472 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
3474 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
3475 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
3477 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
3478 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
3479 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
3480 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
3482 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
3483 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
3484 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
3485 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
3486 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
3487 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
3488 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
3490 2014-06-10 Wilco <wdijkstr@arm.com>
3492 * math/test-fenv-return.c: New file.
3493 * math/Makefile: Add new test test-fenv-return.
3495 2014-06-10 Joseph Myers <joseph@codesourcery.com>
3498 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
3500 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
3501 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
3502 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
3503 0.0L for an argument of 1.0L.
3504 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
3506 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
3507 value when x - 1 is zero.
3508 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
3509 * sysdeps/i386/fpu/libm-test-ulps: Update.
3510 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3512 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
3515 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
3517 2014-06-09 Roland McGrath <roland@hack.frob.com>
3519 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
3520 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
3522 2014-06-09 Roland McGrath <roland@hack.frob.com>
3524 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3525 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
3527 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3528 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
3530 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3531 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
3533 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3534 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
3536 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
3537 if not already defined.
3538 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
3539 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
3540 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
3541 (TLS_INIT_TP): Use it.
3542 (TLS_DEFINE_INIT_TP): New macro.
3543 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
3545 2014-06-09 Joseph Myers <joseph@codesourcery.com>
3547 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
3549 [POSIX] (IXANY): Likewise.
3550 [POSIX] (OLCUC): Likewise.
3551 [POSIX || POSIX2008] (CBAUD): Do not allow.
3552 [POSIX || POSIX2008] (DEFECHO): Likewise.
3553 [POSIX || POSIX2008] (ECHOCTL): Likewise.
3554 [POSIX || POSIX2008] (ECHOKE): Likewise.
3555 [POSIX || POSIX2008] (ECHOPRT): Likewise.
3556 [POSIX || POSIX2008] (EXTA): Likewise.
3557 [POSIX || POSIX2008] (EXTB): Likewise.
3558 [POSIX || POSIX2008] (FLUSHO): Likewise.
3559 [POSIX || POSIX2008] (LOBLK): Likewise.
3560 [POSIX || POSIX2008] (PENDIN): Likewise.
3561 [POSIX || POSIX2008] (SWTCH): Likewise.
3562 [POSIX || POSIX2008] (VDISCARD): Likewise.
3563 [POSIX || POSIX2008] (VDSUSP): Likewise.
3564 [POSIX || POSIX2008] (VLNEXT): Likewise.
3565 [POSIX || POSIX2008] (VREPRINT): Likewise.
3566 [POSIX || POSIX2008] (VSTATUS): Likewise.
3567 [POSIX || POSIX2008] (VWERASE): Likewise.
3568 (B*): Change to B[0123456789]*.
3569 * conform/data/time.h-data [POSIX || UNIX98]
3570 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
3571 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
3572 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
3573 [POSIX] (tm_*): Do not allow.
3575 2014-06-07 Joseph Myers <joseph@codesourcery.com>
3577 * Makefile (install): Don't set LANGUAGE.
3578 * Makefile.in (install): Likewise.
3579 * assert/Makefile (test-assert-ENV): Remove variable.
3580 (test-assert-perr-ENV): Likewise.
3581 * elf/Makefile (neededtest4-ENV): Likewise.
3582 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
3583 [$(cross-compiling) = no]: Don't set LANGUAGE.
3584 * io/ftwtest-sh (LANG): Remove variable.
3585 * libio/Makefile (tst-widetext-ENV): Likewise.
3586 * manual/install.texi (Running make install): Don't refer to
3587 environment settings for make install.
3588 * INSTALL: Regenerated.
3589 * nptl/tst-tls6.sh: Don't set LANG.
3590 * posix/globtest.sh (LANG): Remove variable.
3591 * string/Makefile (tester-ENV): Likewise.
3592 (inl-tester-ENV): Likewise.
3593 (noinl-tester-ENV): Likewise.
3594 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
3595 [$(cross-compiling) = no]: Don't set LANGUAGE.
3596 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
3597 without explicit environment settings.
3599 2014-06-06 Roland McGrath <roland@hack.frob.com>
3601 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
3602 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
3603 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
3604 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
3606 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
3608 * crypt/crypt-private.h [DOS]: Add some includes taken from the
3609 other files in the crypt directory.
3610 * crypt/crypt.c: Remove duplicate includes.
3611 * crypt/crypt-entry.c: Likewise.
3612 * crypt/crypt_util.c: Likewise.
3614 2014-06-06 Joseph Myers <joseph@codesourcery.com>
3616 * Makeconfig (run-program-env): New variable.
3617 (run-program-prefix-before-env): Likewise.
3618 (run-program-prefix-after-env): Likewise.
3619 (run-program-prefix): Define in terms of new variables.
3620 (built-program-cmd-before-env): New variable.
3621 (built-program-cmd-after-env): Likewise.
3622 (built-program-cmd): Define in terms of new variables.
3623 (test-program-prefix-before-env): New variable.
3624 (test-program-prefix-after-env): Likewise.
3625 (test-program-prefix): Define in terms of new variables.
3626 (test-program-cmd-before-env): New variable.
3627 (test-program-cmd-after-env): Likewise.
3628 (test-program-cmd): Define in terms of new variables.
3629 * Rules (make-test-out): Use $(run-program-env).
3630 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
3631 (help): Do not mention environment variables. Mention
3632 --timeoutfactor option.
3633 (timeoutfactor): New variable.
3634 (blacklist_exports): Remove function.
3635 (exports): Remove variable.
3636 (command): Do not include ${exports}.
3637 * manual/install.texi (Configuring and compiling): Do not mention
3638 test wrappers preserving environment variables. Mention that last
3639 assignment to a variable must take precedence.
3640 * INSTALL: Regenerated.
3641 * benchtests/Makefile (run-bench): Use $(run-program-env).
3642 * catgets/Makefile ($(objpfx)test1.cat): Use
3643 $(built-program-cmd-before-env), $(run-program-env) and
3644 $(built-program-cmd-after-env).
3645 ($(objpfx)test2.cat): Do not specify environment variables
3647 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
3648 $(run-program-env) and $(built-program-cmd-after-env).
3649 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
3650 $(run-program-env) and $(test-program-cmd-after-env).
3651 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
3653 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
3654 run_program_env and test_program_cmd_after_env arguments.
3655 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
3656 * elf/tst-pathopt.sh: Use run_program_env argument.
3657 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
3658 $(test-wrapper-env) and $(run-program-env).
3659 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
3660 run_program_env arguments.
3661 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
3662 * intl/Makefile ($(objpfx)tst-gettext.out): Use
3663 $(test-program-prefix-before-env), $(run-program-env) and
3664 $(test-program-prefix-after-env).
3665 ($(objpfx)tst-gettext2.out): Likewise.
3666 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
3667 run_program_env and test_program_prefix_after_env arguments.
3668 * intl/tst-gettext2.sh: Likewise.
3669 * intl/tst-gettext4.sh: Do not set environment variables
3671 * intl/tst-gettext6.sh: Likewise.
3672 * intl/tst-translit.sh: Likewise.
3673 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
3674 $(test-program-prefix-before-env), $(run-program-env) and
3675 $(test-program-prefix-after-env).
3676 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
3677 run_program_env and test_program_prefix_after_env arguments.
3678 * math/Makefile (run-regen-ulps): Use $(run-program-env).
3679 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
3680 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
3681 explicitly with each use of ${test_wrapper_env}.
3682 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
3683 $(test-program-prefix-before-env), $(run-program-env) and
3684 $(test-program-prefix-after-env).
3685 * posix/tst-getconf.sh: Do not set environment variables
3687 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
3688 run_program_env and test_program_prefix_after_env arguments.
3689 * stdio-common/tst-printf.sh: Do not set environment variables
3691 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
3692 $(test-program-prefix-before-env), $(run-program-env) and
3693 $(test-program-prefix-after-env).
3694 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
3695 run_program_env and test_program_prefix_after_env arguments.
3696 Split $test calls into $test_pre and $test.
3697 * timezone/Makefile (build-testdata): Use
3698 $(built-program-cmd-before-env), $(run-program-env) and
3699 $(built-program-cmd-after-env).
3701 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3703 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
3704 strlen for non SHARED builds.
3706 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
3708 * nptl/allocatestack.c (check_list): Inlined function...
3709 (__reclaim_stacks): ... here.
3711 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
3714 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
3717 2014-06-05 Joseph Myers <joseph@codesourcery.com>
3719 * Rules (make-test-out): Include
3720 LOCPATH=$(common-objpfx)localedata in default environment.
3721 * debug/Makefile (tst-chk1-ENV): Remove variable.
3722 (tst-chk2-ENV): Likewise.
3723 (tst-chk3-ENV): Likewise.
3724 (tst-chk4-ENV): Likewise.
3725 (tst-chk5-ENV): Likewise.
3726 (tst-chk6-ENV): Likewise.
3727 (tst-lfschk1-ENV): Likewise.
3728 (tst-lfschk2-ENV): Likewise.
3729 (tst-lfschk3-ENV): Likewise.
3730 (tst-lfschk4-ENV): Likewise.
3731 (tst-lfschk5-ENV): Likewise.
3732 (tst-lfschk6-ENV): Likewise.
3733 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
3734 (tst-iconv7-ENV): Likewise.
3735 * intl/Makefile (LOCPATH-ENV): Likewise.
3736 (tst-codeset-ENV): Likewise.
3737 (tst-gettext3-ENV): Likewise.
3738 (tst-gettext5-ENV): Likewise.
3739 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
3740 (tst-fopenloc-ENV): Likewise.
3741 (tst-fgetws-ENV): Remove variable.
3742 (tst-ungetwc1-ENV): Likewise.
3743 (tst-ungetwc2-ENV): Likewise.
3744 (bug-ungetwc2-ENV): Likewise.
3745 (tst-swscanf-ENV): Likewise.
3746 (bug-ftell-ENV): Likewise.
3747 (tst-fgetwc-ENV): Likewise.
3748 (tst-fseek-ENV): Likewise.
3749 (tst-ftell-partial-wide-ENV): Likewise.
3750 (tst-ftell-active-handler-ENV): Likewise.
3751 (tst-ftell-append-ENV): Likewise.
3752 * posix/Makefile (tst-fnmatch-ENV): Likewise.
3753 (tst-regexloc-ENV): Likewise.
3754 (bug-regex1-ENV): Likewise.
3755 (tst-regex-ENV): Likewise.
3756 (tst-regex2-ENV): Likewise.
3757 (bug-regex5-ENV): Likewise.
3758 (bug-regex6-ENV): Likewise.
3759 (bug-regex17-ENV): Likewise.
3760 (bug-regex18-ENV): Likewise.
3761 (bug-regex19-ENV): Likewise.
3762 (bug-regex20-ENV): Likewise.
3763 (bug-regex22-ENV): Likewise.
3764 (bug-regex23-ENV): Likewise.
3765 (bug-regex25-ENV): Likewise.
3766 (bug-regex26-ENV): Likewise.
3767 (bug-regex30-ENV): Likewise.
3768 (bug-regex32-ENV): Likewise.
3769 (bug-regex33-ENV): Likewise.
3770 (bug-regex34-ENV): Likewise.
3771 (bug-regex35-ENV): Likewise.
3772 (tst-rxspencer-ENV): Likewise.
3773 (tst-rxspencer-no-utf8-ENV): Likewise.
3774 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
3775 (tst-sscanf-ENV): Likewise.
3776 (tst-swprintf-ENV): Likewise.
3777 (tst-swscanf-ENV): Likewise.
3778 (test-vfprintf-ENV): Likewise.
3779 (scanf13-ENV): Likewise.
3780 (bug14-ENV): Likewise.
3781 (tst-grouping-ENV): Likewise.
3782 * stdlib/Makefile (tst-strtod-ENV): Likewise.
3783 (tst-strtod3-ENV): Likewise.
3784 (tst-strtod4-ENV): Likewise.
3785 (tst-strtod5-ENV): Likewise.
3786 (testmb2-ENV): Likewise./
3787 * string/Makefile (tst-strxfrm-ENV): Likewise.
3788 (tst-strxfrm2-ENV): Likewise.
3789 (bug-strcoll1-ENV): Likewise.
3790 (test-strcasecmp-ENV): Likewise.
3791 (test-strncasecmp-ENV): Likewise.
3792 * time/Makefile (tst-strptime-ENV): Likewise.
3793 (tst-ftime_l-ENV): Likewise.
3794 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
3795 (tst-mbrtowc-ENV): Likewise.
3796 (tst-wcrtomb-ENV): Likewise.
3797 (tst-mbrtowc2-ENV): Likewise.
3798 (tst-c16c32-1-ENV): Likewise.
3799 (tst-mbsnrtowcs-ENV): Likewise.
3801 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
3803 * manual/resource.texi (How to get information about the memory
3804 subsystem?): Fix typo.
3805 Reported by Peon de la Parra Ivan <peon@keba.com>
3807 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
3810 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
3811 (pthread_spin_lock): Branch out of spin loop to proper location.
3812 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
3813 (pthread_spin_lock): Likewise.
3815 * nptl/tst-spin4.c: New test.
3816 * nptl/Makefile (tests): Add tst-spin4.
3818 2014-06-03 Andreas Schwab <schwab@suse.de>
3821 * resolv/res_send.c (send_dg): Reload file descriptor after
3824 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
3826 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
3828 2014-06-03 Richard Henderson <rth@redhat.com>
3830 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
3831 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
3832 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
3833 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
3834 in the SAVE_PID block.
3835 (__libc_vfork): New alias.
3836 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
3838 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
3839 child in registers, not on the stack. Remove RESET_PID conditionals.
3840 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
3842 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
3844 * sysdeps/aarch64/libm-test-ulps: Regenerate.
3846 2014-06-03 Wilco <wdijkstr@arm.com>
3848 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
3849 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
3850 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
3851 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
3852 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
3855 2014-06-03 Wilco <wdijkstr@arm.com>
3857 * sysdeps/aarch64/fpu/math_private.h
3858 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
3859 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
3860 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
3861 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
3864 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
3866 * crypt/crypt-private.h: Include ufc-crypt.h.
3867 (__b64_from_24bit): Declare extern.
3868 * crypt/crypt_util.c(__b64_from_24bit): New function.
3869 (b64t): New static const variable.
3870 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
3871 (b64t): Remove variable.
3872 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
3873 * crypt/sha256-crypt.c: Include crypt-private.h.
3874 (b64t): Remove variable.
3875 (__sha256_crypt_r): Remove b64_from_24bit and replace
3876 with __b64_from_24bit.
3877 * crypt/sha512-crypt.c: Likewise.
3879 2014-06-02 Roland McGrath <roland@hack.frob.com>
3881 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
3882 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
3883 Label the code __libc_vfork rather than __vfork.
3884 [!NOT_IN_libc] (vfork): Define as weak alias.
3885 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
3886 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
3887 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
3889 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
3891 * malloc/malloc.c (malloc_info): Fix format specifier for
3894 2014-06-02 Wilco <wdijkstr@arm.com>
3896 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
3899 2014-06-02 Wilco <wdijkstr@arm.com>
3902 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
3903 Rewrite to reduce FPCR/FPSR accesses.
3905 2014-06-01 David S. Miller <davem@davemloft.net>
3907 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3909 2014-05-31 David S. Miller <davem@davemloft.net>
3911 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
3912 to occur in round to nearest mode when |x| >= 2.0
3914 2014-05-30 Richard Henderson <rth@twiddle.net>
3916 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
3917 (PSEUDO_RET_NOERRNO): Remove.
3918 (ret): Don't redefine.
3919 (ret_NOERRNO): Define in terms of ret.
3920 (ret_ERRVAL): Likewise.
3922 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
3923 use of PSEUDO_RET; perform the error check directly.
3925 2014-05-30 Marko Myllynen <myllynen@redhat.com>
3927 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
3930 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3932 * malloc/malloc (malloc_info): Fix formatting.
3934 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3935 Roland McGrath <roland@hack.frob.com>
3937 * malloc/malloc (malloc_info): Also print mmapped statistics.
3939 2014-05-30 Roland McGrath <roland@hack.frob.com>
3941 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
3942 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
3944 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
3946 * malloc/malloc.c (malloc_info): Inline mi_arena.
3948 2014-05-29 Richard Henderson <rth@twiddle.net>
3950 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
3951 Remove comma before expanding ASM_ARGS_##nr.
3952 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
3953 Make _x0 a strict output; make _x8 a strict input; adjust expansion
3955 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
3956 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
3957 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
3958 (ASM_ARGS_1): Add leading comma.
3960 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
3961 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
3962 to __errno_location.
3963 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
3964 Remove the expected plt for __errno_location.
3966 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
3967 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
3970 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
3971 Always allocate 64 bytes of stack frame. Use ldp/stp to create
3972 it and break it down.
3973 (DOCARGS_0, DOCARGS_1): Do nothing.
3974 (DOCARGS_2): Update to store into the new stack frame.
3975 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
3976 (UNDOCARGS_1): Update to restore from the new stack frame.
3977 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
3978 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
3980 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
3981 (SINGLE_THREAD_P): New parameter for result regno.
3982 (PSEUDO): Update to match; use cbz instead of beq.
3984 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
3985 Use ENTRY to define the _nocancel entry point. Share the syscall
3986 and syscall error check paths with the cancel path.
3989 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
3990 whitespace; tabs before and after asm mnemonics.
3992 2014-05-29 Eric Wong <normalperson@yhbt.net>
3995 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
3996 Call fstat64 or stat64 internally, depending on arguments passed.
3997 Replace stat buffer argument with file descriptor argument.
3998 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
3999 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
4000 Pass fd to __internal_statvfs instead of calling fstat64.
4001 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
4002 Pass fd to __internal_statvfs64 instead of calling fstat64.
4003 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
4004 Pass -1 to __internal_statvfs instead of calling stat64.
4005 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
4006 Pass -1 to __internal_statvfs64 instead of calling stat64.
4008 2014-05-28 Roland McGrath <roland@hack.frob.com>
4010 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
4011 that was previously under [RESET_PID].
4012 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
4014 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
4015 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
4017 2014-05-27 Roland McGrath <roland@hack.frob.com>
4019 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
4021 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
4022 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
4024 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
4026 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
4028 2014-05-27 Andreas Schwab <schwab@suse.de>
4030 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
4032 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
4033 * elf/rtld.c (init_tls, dl_main): Likewise.
4034 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
4035 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
4036 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
4037 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
4038 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
4039 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
4040 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
4041 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
4042 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
4043 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
4044 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
4045 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
4046 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
4047 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
4048 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
4049 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
4050 * sysdeps/generic/tls.h: Update description.
4052 2014-05-27 Will Newton <will.newton@linaro.org>
4055 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
4056 and restore r2 rather than just restoring.
4058 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4061 * libio/tst-ftell-append.c: New test case.
4062 * libio/Makefile (tests): Add test case.
4063 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
4065 * libio/wfileops.c (do_ftell_wide): Likewise.
4067 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4069 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4071 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
4073 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
4074 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
4075 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
4076 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
4077 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
4078 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
4079 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
4080 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
4081 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
4083 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
4084 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
4086 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
4087 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
4088 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
4089 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
4090 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
4091 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
4093 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
4094 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
4096 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
4098 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
4100 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
4101 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
4102 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
4104 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
4105 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
4106 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
4107 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
4109 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
4111 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
4112 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
4114 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
4115 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
4117 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
4118 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
4120 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
4122 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
4124 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
4125 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
4127 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
4129 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
4130 conditional [RESET_PID].
4131 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
4132 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
4134 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
4137 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
4139 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
4140 (__libc_vfork): New strong alias.
4141 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
4143 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
4146 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
4148 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
4149 (__libc_vfork): New strong alias.
4150 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
4152 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
4155 2014-05-26 Carlos O'Donell <carlos@redhat.com>
4157 * malloc/malloc.c (mi_arena): New function.
4158 (malloc_info): Remove nested function mi_arena. Call non-nosted
4161 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4163 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
4165 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
4166 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
4167 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
4168 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
4169 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
4170 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
4171 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
4173 2014-05-26 Andreas Schwab <schwab@suse.de>
4176 * locale/programs/repertoire.c (repertoire_read): Add slash
4177 between I18NPATH element and file name.
4178 * locale/programs/locfile.c (locfile_read): Likewise.
4180 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
4182 * nptl/pthread_mutexattr_settype.c
4183 (__pthread_mutexattr_settype):
4184 Disable lock elision for PTHREAD_MUTEX_NORMAL.
4186 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
4188 * nptl/tst-mutex5 (do_test):
4189 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
4191 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4193 * benchtests/README: Document 'init' directive.
4194 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
4196 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
4197 (parse_file): Recognize 'init' directive.
4199 2014-05-26 Kyle McMartin <kyle@redhat.com>
4202 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
4203 alignment of struct pthread.
4205 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4208 * nscd/netgroupcache.c (addgetnetgrentX): Look for
4209 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
4210 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
4211 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
4213 2014-05-25 Richard Henderson <rth@twiddle.net>
4215 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
4216 (SINGLE_THREAD_P_PIC): Remove.
4217 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
4218 (SINGLE_THREAD_P_PIC): Remove.
4220 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
4221 branch to syscall error ...
4223 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
4224 from __local_syscall_error to .Lsyscall_error.
4225 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
4226 (SYSCALL_ERROR): Update label name.
4228 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
4229 Do not use DOARGS/UNDOARGS.
4230 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
4231 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
4232 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
4233 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
4234 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
4236 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
4239 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
4240 define if !NOT_IN_libc.
4241 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
4242 define with non-default symbol versions.
4244 2014-05-23 Richard Henderson <rth@twiddle.net>
4246 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
4247 (vfork, __vfork): Define via compat_symbol.
4249 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
4250 [!HAVE_IFUNC] (vfork_compat): Remove.
4251 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
4253 2014-05-23 Joseph Myers <joseph@codesourcery.com>
4256 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
4257 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
4260 2014-05-23 Richard Henderson <rth@twiddle.net>
4262 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
4263 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
4264 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
4265 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
4267 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
4268 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
4269 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
4270 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
4271 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
4272 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
4273 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
4274 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
4275 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
4276 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
4277 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
4278 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
4279 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
4280 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
4281 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
4282 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
4283 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
4284 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
4285 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
4286 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
4287 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
4288 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
4289 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
4290 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
4291 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
4292 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
4293 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
4294 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
4295 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
4296 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
4297 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
4298 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
4299 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
4300 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
4301 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
4302 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
4303 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
4304 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
4305 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
4306 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
4307 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
4308 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
4309 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
4310 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
4311 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
4312 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
4313 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
4314 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
4315 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
4316 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
4317 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
4318 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
4319 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
4320 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
4321 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
4322 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
4324 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
4325 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
4326 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
4327 before exiting on error.
4328 (__libc_vfork): New strong alias.
4329 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
4330 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
4332 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
4333 that was previously under [RESET_PID].
4334 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
4336 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
4338 2014-05-23 Joseph Myers <joseph@codesourcery.com>
4341 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
4342 value when x - 1 is zero.
4343 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
4344 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
4345 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
4346 0.0L for an argument of 1.0L.
4347 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
4349 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
4350 value when x - 1 is zero.
4351 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
4352 * sysdeps/i386/fpu/libm-test-ulps: Update.
4353 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4355 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
4357 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
4358 alphasort and versionsort.
4360 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4362 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
4364 [copysignf]: Likewise.
4366 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
4368 * crypt/md5-crypt.c: Fix formatting.
4370 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
4372 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
4373 (b64_from_24bit): New function.
4375 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4377 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
4378 libc_hidden_builtin_def to ifunc.
4379 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
4380 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
4382 2014-05-21 Roland McGrath <roland@hack.frob.com>
4384 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
4385 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
4387 2014-05-21 Joseph Myers <joseph@codesourcery.com>
4389 * nscd/Depend (linuxthreads): Remove.
4391 * resolv/Depend (linuxthreads): Remove.
4392 * rt/Depend (linuxthreads): Remove.
4394 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
4395 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
4396 $(common-objpfx)elf/.
4397 (link-libc-before-gnulib): Likewise.
4398 (elfobjdir): Remove variable.
4399 * Makefile (install): Use $(elf-objpfx) instead of
4400 $(common-objpfx)elf/.
4401 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
4403 (link-libc-deps): Likewise.
4404 ($(common-objpfx)libc.so): Likewise.
4405 ($(common-objpfx)linkobj/libc.so): Likewise.
4406 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
4407 instead of $(common-objpfx)elf/.
4408 (symbolic-link-list): Likewise.
4409 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
4410 [$(cross-compiling) = no]: Likewise.
4411 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
4413 (static-gnulib-arch): Likewise.
4414 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
4415 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
4416 $(common-objpfx)elf/.
4418 2014-05-21 Richard Henderson <rth@redhat.com>
4420 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
4421 (SINGLE_THREAD_P): Use the correct width load. Fold
4422 into the ldr offset.
4424 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
4425 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
4427 2014-05-20 Joseph Myers <joseph@codesourcery.com>
4429 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
4430 (libgcc_s_resume): Use __attribute_used__.
4431 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
4434 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4436 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
4437 optimization when used with float constants.
4439 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4441 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
4444 * locale/nl_langinfo_l.c: Make direct reference to every
4445 _nl_current_CATEGORY symbol.
4446 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
4447 (tests-static): Add tst-langinfo-static.
4448 (tests-special): Add tst-langinfo-static.out.
4449 ($(objpfx)tst-langinfo.out): Redirect output.
4450 ($(objpfx)tst-langinfo-static.out): New.
4451 * localedata/tst-langinfo.sh: Send output to stdout.
4452 * localedata/tst-langinfo-static.c: New file.
4455 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
4456 when the shift amount is modulo the limb size.
4458 2014-05-20 Richard Henderson <rth@redhat.com>
4461 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
4462 Change type of sa_flags from unsigned int to int.
4465 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
4467 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
4469 2014-05-20 Will Newton <will.newton@linaro.org>
4471 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
4472 Test the return value of the system call in the nocancel case.
4474 2014-05-20 Will Newton <will.newton@linaro.org>
4475 Yvan Roux <yvan.roux@linaro.org>
4477 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
4478 #include of asm/ptrace.h.
4479 (PTRACE_GET_THREAD_AREA): Remove #undef.
4480 (PTRACE_GETHBPREGS): Likewise.
4481 (PTRACE_SETHBPREGS): Likewise.
4482 (struct user_regs_struct): New structure.
4483 (struct user_fpsimd_struct): New structure.
4484 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
4485 #include of asm/ptrace.h and second #include of sys/user.h.
4486 (PTRACE_GET_THREAD_AREA): Remove #undef.
4487 (PTRACE_GETHBPREGS): Likewise.
4488 (PTRACE_SETHBPREGS): Likewise.
4489 (ELF_NGREG): Use new struct user_regs_struct.
4490 (elf_fpregset_t): Use new struct user_fpsimd_struct.
4492 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4494 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
4495 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
4497 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
4500 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
4501 membar to avoid block loads/stores to overlap previous stores.
4503 2014-05-17 Richard Henderson <rth@redhat.com>
4505 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
4506 Create the __##syscall_name##_nocancel entry point.
4507 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
4508 Remove; let the sysdep-cancel.h code create it.
4510 2014-05-17 David S. Miller <davem@davemloft.net>
4512 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
4513 Protect with __USE_GNU.
4514 (TIOCSET_TEMPT): Likewise.
4515 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
4516 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
4517 these are already provided in bits/ioctl-types.h
4519 2014-05-16 Roland McGrath <roland@hack.frob.com>
4521 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
4522 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
4524 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
4525 Use wait4 regardless of [__NR_waitpid].
4527 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
4530 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
4531 (_FP_NANSIGN_Q): Set the quiet bit.
4533 2014-05-16 Joseph Myers <joseph@codesourcery.com>
4535 * benchtests/Makefile
4536 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
4537 not $(common-objpfx)math/libm.so.
4538 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
4539 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
4540 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
4541 $(common-objpfx)dlfcn/libdl.so.
4542 ($(objpfx)tst-audit8): Depend on $(libm), not
4543 $(common-objpfx)math/libm.so.
4544 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
4545 not $(common-objpfx)dlfcn/libdl.so.
4547 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
4548 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
4549 [$(build-shared) = yes].
4550 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
4551 $(common-objpfx)nptl/libpthread.so.
4552 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
4553 $(common-objpfx)math/libm.so$(libm.so-version) or
4554 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
4555 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
4556 $(common-objpfx)dlfcn/libdl.so.
4557 * setjmp/Makefile (link-libm): Remove variable.
4558 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
4559 * stdio-common/Makefile (link-libm): Remove variable.
4560 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
4561 * stdlib/Makefile (link-libm): Remove variable.
4562 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
4563 ($(objpfx)tst-strtod-round): Likewise.
4564 ($(objpfx)tst-tininess): Likewise.
4565 ($(objpfx)tst-strtod-underflow): Likewise.
4566 ($(objpfx)tst-strtod6): Likewise.
4567 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
4568 $(libdl), not $(common-objpfx)nptl/libpthread.so and
4569 $(common-objpfx)dlfcn/libdl.so.
4571 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4573 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
4574 BSD terminal modes definitions.
4576 2014-05-16 Roland McGrath <roland@hack.frob.com>
4578 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
4579 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
4581 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
4582 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
4583 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
4584 Don't do #include_next.
4585 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
4586 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
4587 Don't do #include_next.
4588 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
4589 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
4590 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
4591 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
4593 2014-05-16 Allan McRae <allan@archlinux.org>
4595 * po/sv.po: Update Swedish translation from translation project.
4597 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
4600 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
4603 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
4604 errno if the TIOCGPTN ioctl fails with an error different than
4606 * login/tst-ptsname.c: New file.
4607 * login/Makefile (tests): Add tst-ptsname.
4610 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
4613 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4616 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
4617 herrno to return EAI_AGAIN.
4619 2014-05-14 Roland McGrath <roland@hack.frob.com>
4621 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
4622 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
4623 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
4624 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
4625 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
4626 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
4627 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
4628 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
4629 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
4630 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
4631 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
4632 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
4633 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
4634 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
4635 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
4636 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
4637 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
4638 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
4639 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
4640 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
4641 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
4642 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
4643 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
4644 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
4645 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
4646 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
4647 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
4648 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
4649 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
4650 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
4651 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
4652 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
4653 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
4654 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
4655 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
4657 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
4658 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
4659 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
4660 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
4661 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
4662 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
4663 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
4664 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
4665 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
4666 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
4667 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
4668 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
4669 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
4670 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
4671 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
4672 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
4673 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
4674 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
4675 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
4676 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
4677 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
4678 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
4679 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
4680 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
4681 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
4682 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
4683 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
4684 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
4686 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
4687 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
4688 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
4689 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
4690 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
4691 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
4692 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
4693 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
4694 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
4695 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
4696 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
4697 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
4698 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
4699 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
4700 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
4701 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
4702 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
4703 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
4704 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
4705 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
4707 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
4708 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
4709 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
4711 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
4712 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
4713 (libpthread-sysdep_routines): Add elision-related stuff here instead.
4714 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
4715 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
4716 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
4717 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
4718 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
4719 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
4720 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
4721 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
4722 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
4723 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
4724 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
4725 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
4726 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
4727 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
4728 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
4729 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
4730 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
4731 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
4732 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
4733 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
4734 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
4735 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
4736 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
4737 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
4738 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
4739 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
4740 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
4741 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
4743 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
4744 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
4746 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
4747 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
4748 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
4749 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
4750 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
4751 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
4753 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
4754 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
4756 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
4757 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
4759 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
4760 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
4762 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
4763 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
4764 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
4765 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
4767 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
4768 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
4769 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
4770 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
4771 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
4772 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
4773 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
4774 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
4776 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
4777 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
4779 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
4781 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
4782 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
4783 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
4784 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
4785 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
4787 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
4789 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
4791 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
4792 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
4793 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
4794 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
4795 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
4796 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
4798 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
4799 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
4801 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
4802 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
4804 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
4805 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
4807 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
4808 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
4809 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
4810 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
4812 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
4813 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
4814 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
4815 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
4816 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
4817 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
4818 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
4819 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
4821 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
4822 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
4824 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
4826 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
4827 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
4828 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
4829 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
4830 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
4832 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
4834 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
4836 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
4837 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
4838 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
4839 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
4840 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
4841 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
4842 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
4843 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
4844 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
4845 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
4847 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
4848 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
4850 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
4851 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
4853 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
4854 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
4856 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
4857 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
4858 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
4859 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
4860 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
4861 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
4863 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
4864 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
4865 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
4866 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
4867 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
4868 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
4869 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
4870 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
4872 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
4873 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
4875 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
4877 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
4878 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
4879 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
4880 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
4881 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
4883 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
4885 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
4887 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
4888 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
4889 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
4890 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
4891 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
4892 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
4893 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
4894 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
4895 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
4896 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
4897 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
4899 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
4900 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
4902 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
4903 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
4905 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
4906 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
4907 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
4908 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
4909 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
4910 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
4911 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
4912 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
4913 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
4914 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
4915 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
4916 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
4917 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
4918 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
4919 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
4920 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
4921 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
4922 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
4924 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
4925 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
4926 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
4927 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
4929 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
4930 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
4931 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
4932 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
4933 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
4934 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
4935 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
4936 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
4938 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
4939 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
4941 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
4942 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
4943 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
4944 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
4945 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
4946 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
4947 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
4948 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
4949 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
4950 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
4951 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
4952 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
4953 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
4954 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
4955 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
4956 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
4957 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
4959 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
4960 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
4961 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
4962 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
4963 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
4965 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
4966 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
4967 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
4968 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
4969 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
4970 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
4971 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
4972 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
4973 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
4974 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
4976 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
4977 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
4979 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
4980 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
4981 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
4982 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
4983 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
4984 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
4985 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
4986 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
4987 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
4988 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
4989 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
4990 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
4991 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
4992 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
4993 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
4995 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
4997 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
4999 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
5001 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
5003 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
5005 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
5007 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
5009 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
5011 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
5013 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
5014 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
5015 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
5016 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
5017 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
5018 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
5019 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
5020 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
5021 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
5022 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
5023 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
5024 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
5025 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
5026 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
5027 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
5029 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
5030 that was previously under [RESET_PID].
5031 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
5032 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
5033 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
5035 * sysdeps/i386/nptl/Implies: New file.
5036 * sysdeps/x86_64/nptl/Implies: New file.
5037 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
5038 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
5039 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
5040 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
5042 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
5043 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
5044 (__libc_vfork): New strong alias.
5045 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
5046 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
5048 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
5049 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
5050 (__libc_vfork): New strong alias.
5051 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
5052 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
5054 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
5055 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
5056 (__libc_vfork): New strong alias.
5057 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
5058 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
5059 * nptl/pt-vfork.c: New file.
5060 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
5061 (libpthread: GLIBC_2.20): New version set (empty).
5063 2014-05-14 Will Newton <will.newton@linaro.org>
5065 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
5068 2014-05-14 Joseph Myers <joseph@codesourcery.com>
5071 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
5072 arguments with exponent 65 or above.
5073 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
5074 arguments 0x1p113L or above.
5075 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
5076 to arguments 0x1p107L or above.
5077 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
5078 positive arguments with exponent 65 or above.
5079 * math/auto-libm-test-in: Add more tests of log1p.
5080 * math/auto-libm-test-out: Regenerated.
5083 * math/s_cacos.c (__cacos): Ensure zero real part of result from
5084 non-finite arguments is +0.
5085 * math/s_cacosf.c (__cacosf): Likewise.
5086 * math/s_cacosl.c (__cacosl): Likewise.
5087 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
5088 * sysdeps/i386/fpu/libm-test-ulps: Update.
5089 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5092 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
5094 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
5095 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
5096 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
5097 for explicit high bit of mantissa when testing for argument equal
5099 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
5100 * sysdeps/i386/fpu/libm-test-ulps: Update.
5101 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5104 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
5105 (__erf): Scale by 16 instead of 8 in potentially underflowing
5106 case. Ensure exception if result actually underflows.
5107 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
5108 (__erff): Scale by 16 instead of 8 in potentially underflowing
5109 case. Ensure exception if result actually underflows.
5110 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
5111 (efx8): Remove variable.
5112 (__erfl): Scale by 16 instead of 8 in potentially underflowing
5113 case. Ensure exception if result actually underflows.
5114 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
5115 (efx8): Remove variable.
5116 (__erfl): Scale by 16 instead of 8 in potentially underflowing
5117 case. Ensure exception if result actually underflows.
5118 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
5119 (efx8): Remove variable.
5120 (__erfl): Scale by 16 instead of 8 in potentially underflowing
5121 case. Ensure exception if result actually underflows.
5122 * math/auto-libm-test-in: Add more tests of erf.
5123 * math/auto-libm-test-out: Regenerated.
5125 2014-05-14 Andreas Schwab <schwab@suse.de>
5127 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
5128 Remove code conditionalized on USE___THREAD.
5130 * config.h.in (HAVE_PT_CHOWN): Define as 0.
5131 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
5134 2014-05-14 Joseph Myers <joseph@codesourcery.com>
5136 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
5137 Define unconditionally.
5138 (__ASSUME_O_CLOEXEC): Likewise.
5139 (__ASSUME_SOCK_CLOEXEC): Likewise.
5140 (__ASSUME_IN_NONBLOCK): Likewise.
5141 (__ASSUME_PIPE2): Likewise.
5142 (__ASSUME_EVENTFD2): Likewise.
5143 (__ASSUME_SIGNALFD4): Likewise.
5144 (__ASSUME_DUP3): Likewise.
5145 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
5146 (__ASSUME_DUP3): Do not define.
5147 (__ASSUME_EVENTFD2): Likewise.
5148 (__ASSUME_IN_NONBLOCK): Likewise.
5149 (__ASSUME_O_CLOEXEC): Likewise.
5150 (__ASSUME_PIPE2): Likewise.
5151 (__ASSUME_SIGNALFD4): Likewise.
5152 (__ASSUME_SOCK_CLOEXEC): Likewise.
5153 (__ASSUME_UTIMES): Undefine.
5154 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5155 (__ASSUME_UTIMES): Do not define.
5156 (__ASSUME_O_CLOEXEC): Likewise.
5157 (__ASSUME_SOCK_CLOEXEC): Likewise.
5158 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
5159 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
5161 (__ASSUME_PIPE2): Likewise.
5162 (__ASSUME_EVENTFD2): Likewise.
5163 (__ASSUME_SIGNALFD4): Likewise.
5164 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
5165 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
5167 (__ASSUME_EVENTFD2): Likewise.
5168 (__ASSUME_SIGNALFD4): Likewise.
5169 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
5170 (__ASSUME_32BITUIDS): Likewise.
5171 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
5172 (__ASSUME_IPC64): Likewise.
5173 (__ASSUME_ST_INO_64_BIT): Likewise.
5174 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
5175 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
5176 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5177 (__ASSUME_UTIMES): Do not define.
5178 (__ASSUME_PSELECT): Likewise.
5179 (__ASSUME_PPOLL): Likewise.
5180 (__ASSUME_O_CLOEXEC): Likewise.
5181 (__ASSUME_SOCK_CLOEXEC): Likewise.
5182 (__ASSUME_IN_NONBLOCK): Likewise.
5183 (__ASSUME_PIPE2): Likewise.
5184 (__ASSUME_EVENTFD2): Likewise.
5185 (__ASSUME_SIGNALFD4): Likewise.
5186 (__ASSUME_DUP3): Likewise.
5187 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5188 (__ASSUME_UTIMES): Likewise.
5189 (__ASSUME_O_CLOEXEC): Likewise.
5190 (__ASSUME_SOCK_CLOEXEC): Likewise.
5191 (__ASSUME_IN_NONBLOCK): Likewise.
5192 (__ASSUME_PIPE2): Likewise.
5193 (__ASSUME_EVENTFD2): Likewise.
5194 (__ASSUME_SIGNALFD4): Likewise.
5195 (__ASSUME_DUP3): Likewise.
5196 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5197 (__ASSUME_UTIMES): Likewise.
5198 (__ASSUME_O_CLOEXEC): Likewise.
5199 (__ASSUME_SOCK_CLOEXEC): Likewise.
5200 (__ASSUME_IN_NONBLOCK): Likewise.
5201 (__ASSUME_PIPE2): Likewise.
5202 (__ASSUME_EVENTFD2): Likewise.
5203 (__ASSUME_SIGNALFD4): Likewise.
5204 (__ASSUME_DUP3): Likewise.
5205 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
5207 (__ASSUME_UTIMES): Likewise.
5208 (__ASSUME_EVENTFD2): Likewise.
5209 (__ASSUME_SIGNALFD4): Likewise.
5210 * sysdeps/unix/sysv/linux/tile/kernel-features.h
5211 (__ASSUME_O_CLOEXEC): Likewise.
5212 (__ASSUME_SOCK_CLOEXEC): Likewise.
5213 (__ASSUME_IN_NONBLOCK): Likewise.
5214 (__ASSUME_PIPE2): Likewise.
5215 (__ASSUME_EVENTFD2): Likewise.
5216 (__ASSUME_SIGNALFD4): Likewise.
5217 (__ASSUME_DUP3): Likewise.
5218 (__ASSUME_UTIMES): Undefine.
5220 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
5221 feclearexcept. Remove symbol versioning code.
5222 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
5223 symbol versioning code.
5224 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
5225 symbol versioning code.
5226 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
5227 feupdateenv. Remove symbol versioning code.
5228 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
5229 fegetexceptflag. Remove symbol versioning code.
5230 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
5231 fesetexceptflag. Remove symbol versioning code.
5232 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
5233 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
5234 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
5235 (__posix_fadvise64_l32): Remove prototype.
5236 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
5239 2014-05-13 Roland McGrath <roland@hack.frob.com>
5241 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
5242 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
5243 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
5244 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
5246 2014-05-13 Sami Kerola <kerolasa@iki.fi>
5248 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
5249 current working directory
5251 2014-05-13 Roland McGrath <roland@hack.frob.com>
5253 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
5254 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
5255 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
5256 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
5257 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
5258 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
5259 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
5260 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
5261 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
5262 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
5263 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
5264 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
5265 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
5266 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
5267 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
5268 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
5269 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
5270 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
5271 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
5272 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
5273 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
5274 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
5275 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
5276 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
5277 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
5278 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
5279 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
5280 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
5281 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
5282 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
5283 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
5284 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
5285 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
5286 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
5287 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
5288 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
5289 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
5290 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
5291 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
5292 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
5293 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
5294 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
5296 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
5297 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
5299 * sysdeps/unix/sysv/linux/arm/Makefile
5300 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
5301 Add rt-aeabi_unwind_cpp_pr1.
5302 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
5303 Add nptl-aeabi_unwind_cpp_pr1.
5304 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
5305 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
5306 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
5307 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
5308 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
5309 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
5311 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
5312 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
5313 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
5314 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
5316 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
5317 Deconditionalize the code that was previously under [RESET_PID].
5318 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
5320 * sysdeps/generic/exit-thread.h: New file.
5321 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
5322 * include/unistd.h (__exit_thread): Remove declaration.
5323 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
5324 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
5325 * csu/libc-start.c: Include <exit-thread.h>.
5326 (LIBC_START_MAIN): Pass no argument to __exit_thread.
5327 * nptl/pthread_create.c: Include <exit-thread.h>.
5328 (start_thread): Call __exit_thread in place of __exit_thread_inline.
5329 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
5330 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
5331 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
5332 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
5333 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
5334 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
5335 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
5336 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
5337 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
5338 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
5339 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
5340 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
5341 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
5342 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
5343 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
5344 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
5346 2014-05-13 Andreas Schwab <schwab@suse.de>
5348 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
5350 2014-05-12 Joseph Myers <joseph@codesourcery.com>
5352 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
5353 (__ASSUME_UTIMES): Do not condition on kernel version.
5354 (__ASSUME_PSELECT): Define unconditionally.
5355 (__ASSUME_PPOLL): Likewise.
5356 (__ASSUME_ATFCTS): Likewise.
5357 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
5358 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
5359 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
5360 (__ASSUME_UTIMENSAT): Define unconditionally.
5361 (__ASSUME_PRIVATE_FUTEX): Likewise.
5362 (__ASSUME_FALLOCATE): Likewise.
5363 (__ASSUME_O_CLOEXEC): Likewise.
5364 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
5365 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
5366 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
5367 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
5368 (__ASSUME_IN_NONBLOCK): Likewise.
5369 (__ASSUME_PIPE2): Likewise.
5370 (__ASSUME_EVENTFD2): Likewise.
5371 (__ASSUME_SIGNALFD4): Likewise.
5372 (__ASSUME_DUP3): Likewise.
5373 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
5374 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
5375 (__ASSUME_AT_RANDOM): Likewise.
5376 (__ASSUME_PREADV): Likewise.
5377 (__ASSUME_PWRITEV): Likewise.
5378 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
5379 (__ASSUME_F_GETOWN_EX): Define unconditionally.
5380 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
5381 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
5382 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
5383 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5384 (__ASSUME_O_CLOEXEC): Define unconditionally.
5385 (__ASSUME_PSELECT): Do not undefine conditionally.
5386 (__ASSUME_PPOLL): Likewise.
5387 (__ASSUME_ATFCTS): Likewise.
5388 (__ASSUME_SET_ROBUST_LIST): Likewise.
5389 (__ASSUME_UTIMENSAT): Likewise.
5390 (__ASSUME_FDATASYNC): Define unconditionally.
5391 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5392 (__ASSUME_SIGFRAME_V2): Likewise.
5393 )__ASSUME_EVENTFD2): Likewise.
5394 (__ASSUME_SIGNALFD4): Likewise.
5395 (__ASSUME_PSELECT): Do not undefine conditionally.
5396 (__ASSUME_PPOLL): Likewise.
5397 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5398 (__ASSUME_PSELECT): Define unconditionally.
5399 (__ASSUME_PPOLL): Likewise.
5400 (__ASSUME_O_CLOEXEC): Likewise.
5401 (__ASSUME_SOCK_CLOEXEC): Likewise.
5402 (__ASSUME_IN_NONBLOCK): Likewise.
5403 (__ASSUME_PIPE2): Likewise.
5404 (__ASSUME_EVENTFD2): Likewise.
5405 (__ASSUME_SIGNALFD4): Likewise.
5406 (__ASSUME_DUP3): Likewise.
5407 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5408 (__ASSUME_O_CLOEXEC): Likewise.
5409 (__ASSUME_SOCK_CLOEXEC): Likewise.
5410 (__ASSUME_IN_NONBLOCK): Likewise.
5411 (__ASSUME_PIPE2): Likewise.
5412 (__ASSUME_EVENTFD2): Likewise.
5413 (__ASSUME_SIGNALFD4): Likewise.
5414 (__ASSUME_DUP3): Likewise.
5415 * sysdeps/unix/sysv/linux/mips/kernel-features.h
5416 (__ASSUME_EVENTFD2): Likewise.
5417 (__ASSUME_SIGNALFD4): Likewise.
5418 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
5420 2014-05-12 Andreas Schwab <schwab@suse.de>
5423 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
5424 (_nss_nis_gethostbyname4_r): Return error if item length is larger
5425 than maximum RPC packet size.
5426 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
5427 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
5428 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
5429 (_nss_nis_getservbyport_r): Likewise.
5431 2014-05-12 Will Newton <will.newton@linaro.org>
5433 * malloc/Makefile (tests): Add tst-mallopt.
5434 * malloc/tst-mallopt.c: New file.
5436 2014-05-09 Roland McGrath <roland@hack.frob.com>
5438 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
5439 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
5441 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5443 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
5444 (tst-tlsmod6.so): Likewise.
5446 2014-05-09 Roland McGrath <roland@hack.frob.com>
5448 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
5450 2014-05-09 Joseph Myers <joseph@codesourcery.com>
5453 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
5454 and <dl-procinfo.h>.
5455 (__fegetenv): Save SSE state in envp->__eip if supported.
5456 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
5457 envp->__eip if supported.
5458 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
5459 and <dl-procinfo.h>.
5460 (__fesetenv): Always set __eip, __cs_selector, __opcode,
5461 __data_offset and __data_selector in environment to 0. Set SSE
5463 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
5465 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
5467 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
5469 2014-05-09 Will Newton <will.newton@linaro.org>
5471 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
5472 and libc_relro_required for ARM.
5473 * sysdeps/arm/preconfigure: Regenerate.
5475 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
5476 Stefan Liebler <stli@linux.vnet.ibm.com>
5478 * config.make.in (enable-lock-elision): New Makefile variable.
5479 * configure.ac: Likewise.
5480 * configure: Regenerate.
5481 * sysdeps/s390/configure.ac:
5482 Add check for gcc transactions support.
5483 * sysdeps/s390/configure: Regenerate.
5484 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
5485 Build elision files if enabled.
5486 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
5487 Add lock elision support for s390.
5488 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
5489 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
5490 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
5491 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
5492 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
5493 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
5494 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
5496 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
5498 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
5500 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
5502 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
5503 (__lll_timedlock_elision, __lll_lock_elision)
5504 (__lll_unlock_elision, __lll_trylock_elision)
5505 (lll_timedlock_elision, lll_lock_elision)
5506 (lll_unlock_elision, lll_trylock_elision): Add.
5507 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
5508 (pthread_mutex_t): Add lock elision support for s390.
5510 2014-05-14 Wilco <wdijkstr@arm.com>
5512 * sysdeps/arm/fclrexcpt.c: Cleanup.
5513 * sysdeps/arm/fedisblxcpt.c: Cleanup.
5514 * sysdeps/arm/feenablxcpt.c: Cleanup.
5515 * sysdeps/arm/fegetenv.c: Cleanup.
5516 * sysdeps/arm/fegetexcept.c: Cleanup.
5517 * sysdeps/arm/fegetround.c: Cleanup.
5518 * sysdeps/arm/feholdexcpt.c: Cleanup.
5519 * sysdeps/arm/fesetenv.c: Cleanup.
5520 * sysdeps/arm/fesetround.c: Cleanup.
5521 * sysdeps/arm/feupdateenv.c: Cleanup.
5522 * sysdeps/arm/fgetexcptflg.c: Cleanup.
5523 * sysdeps/arm/fraiseexcpt.c: Cleanup.
5524 * sysdeps/arm/fsetexcptflg.c: Cleanup.
5525 * sysdeps/arm/ftestexcept.c: Cleanup.
5526 * sysdeps/arm/get-rounding-mode.h: Cleanup.
5527 * sysdeps/arm/setfpucw.c: Cleanup.
5529 2014-05-09 Will Newton <will.newton@linaro.org>
5531 * sysdeps/arm/armv7/strcmp.S: New file.
5532 * NEWS: Mention addition of ARMv7 optimized strcmp.
5534 2014-05-08 Roland McGrath <roland@hack.frob.com>
5536 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
5537 look for %.ac rather than %.in.
5539 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
5540 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
5541 * sysdeps/mach/hurd/configure: Regenerated.
5542 * sysdeps/unix/sysv/linux/configure: Regenerated.
5544 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
5546 2014-05-07 Steve Ellcey <sellcey@mips.com>
5549 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
5553 2014-05-07 Andreas Schwab <schwab@suse.de>
5555 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
5556 when skipping over non-matching result from nscd.
5558 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
5561 * nptl/sockperf.c (client): Check socket return value.
5564 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
5565 nscd security class.
5567 2014-05-06 Roland McGrath <roland@hack.frob.com>
5569 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
5570 * sysdeps/arm/unwind.h: ... here.
5572 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
5575 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
5578 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
5580 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
5581 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
5582 multiarch strncpy for PPC64.
5583 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
5584 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
5585 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
5586 multiarch optimizations.
5587 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5588 (__libc_ifunc_impl_list): Likewise.
5589 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
5590 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
5591 multiarch stpncpy for PPC64.
5592 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
5593 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
5595 2014-05-06 Andreas Schwab <schwab@suse.de>
5598 * gmon/mcount.c (_MCOUNT_DECL): Use
5599 atomic_compare_and_exchange_bool_acq instead of
5600 catomic_compare_and_exchange_bool_acq.
5602 2014-05-05 Roland McGrath <roland@hack.frob.com>
5604 * elf/Makefile (others, install-bin): Remove pldd.
5605 (pldd-modules): Variable removed.
5606 ($(objpfx)pldd): Target removed.
5607 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
5608 (others, install-bin): Append pldd here.
5609 ($(objpfx)pldd): New target.
5611 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
5612 to 0, so the first #if test emitted later doesn't see it undefined.
5613 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
5614 * sysdeps/gnu/errlist.c: Regenerated.
5616 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5618 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
5619 [libc_hidden_builtin_def]: Define to empty value.
5620 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
5621 [libc_hidden_builtin_def]: Likewise.
5622 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
5623 [libc_hidden_builtin_def]: Likewise.
5624 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
5625 [libc_hidden_builtin_def]: Likewise.
5626 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
5627 __redirect_memcpy and define ifunc as default hidden symbol.
5628 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
5629 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
5631 2014-05-04 Adam Conrad <adconrad@0c3.net>
5633 * locale/iso-4217.def: Reintroduce XDR currency.
5635 2014-05-04 Allan McRae <allan@archlinux.org>
5637 * po/eo.po: Update Esperanto translation from translation project.
5639 2014-05-02 Carlos O'Donell <carlos@redhat.com>
5641 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
5642 and FEATURE_INDEX_MAX to 1.
5643 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
5645 2014-05-01 Steve Ellcey <sellcey@mips.com>
5647 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
5648 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
5649 * iconvdata/big5.c (ONE_DIRECTION): Define.
5650 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
5651 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
5652 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
5653 * iconvdata/cp932.c (ONE_DIRECTION): Define.
5654 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
5655 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
5656 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
5657 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
5658 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
5659 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
5660 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
5661 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
5662 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
5663 * iconvdata/gbk.c (ONE_DIRECTION): Define.
5664 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
5665 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
5666 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
5667 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
5668 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
5669 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
5670 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
5671 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
5672 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
5673 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
5674 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
5675 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
5676 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
5677 * iconvdata/iso646.c (ONE_DIRECTION): Define.
5678 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
5679 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
5680 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
5681 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
5682 * iconvdata/johab.c (ONE_DIRECTION): Define.
5683 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
5684 * iconvdata/sjis.c (ONE_DIRECTION): Define.
5685 * iconvdata/t.61.c (ONE_DIRECTION): Define.
5686 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
5687 * iconvdata/tscii.c (ONE_DIRECTION): Define.
5688 * iconvdata/uhc.c (ONE_DIRECTION): Define.
5689 * iconvdata/unicode.c (ONE_DIRECTION): Define.
5690 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
5691 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
5692 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
5694 2014-05-01 Roland McGrath <roland@hack.frob.com>
5696 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
5697 (_IO_JUMPS_OFFSET): Define to 0.
5699 * nptl/sysdeps/pthread/bits/libc-lock.h
5700 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
5701 (__libc_lock_define_initialized_recursive): Always define using
5702 initializer. Modern compilers treat uninitialized (implicit zero) and
5703 explicit zero initializers the same (i.e. put the datum in bss).
5705 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
5707 * nscd/nscd-client.h: Include <string.h>.
5709 2014-05-01 David S. Miller <davem@davemloft.net>
5712 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
5713 multiple zero bytes exist at the end of a string.
5714 Reported by Aurelien Jarno <aurelien@aurel32.net>
5716 * string/test-strcmp.c (check): Add explicit test for situations where
5717 there are multiple zero bytes after the first.
5719 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
5722 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
5723 when compiling wprintf.
5724 * stdio-common/tstdiomisc.c (t3): New function.
5727 2014-05-01 Steve Ellcey <sellcey@mips.com>
5729 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
5730 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
5731 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
5732 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
5734 2014-05-01 Steve Ellcey <sellcey@mips.com>
5736 * stdlib/longlong.h: Updated from GCC.
5738 2014-05-01 Will Newton <will.newton@linaro.org>
5739 Bernard Ogden <bernie.ogden@linaro.org>
5741 * NEWS: Update fixed bug list.
5744 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
5746 2014-04-30 David S. Miller <davem@davemloft.net>
5748 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
5749 (libc_feholdexcept_setround_sparc_ctx): New function.
5750 (libc_fesetenv_sparc_ctx): Likewise.
5751 (libc_feupdateenv_sparc_ctx): Likewise.
5752 (libc_feholdsetround_sparc_ctx): Likewise.
5753 (libc_feholdexcept_setround_ctx): Define.
5754 (libc_feholdexcept_setroundf_ctx): Likewise.
5755 (libc_feholdexcept_setroundl_ctx): Likewise.
5756 (libc_fesetenv_ctx): Likewise.
5757 (libc_fesetenvf_ctx): Likewise.
5758 (libc_fesetenvl_ctx): Likewise.
5759 (libc_feupdateenv_ctx): Likewise.
5760 (libc_feupdateenvf_ctx): Likewise.
5761 (libc_feupdateenvl_ctx): Likewise.
5762 (libc_feresetround_ctx): Likewise.
5763 (libc_feresetroundf_ctx): Likewise.
5764 (libc_feresetroundl_ctx): Likewise.
5765 (libc_feholdsetround_ctx): Likewise.
5766 (libc_feholdsetroundf_ctx): Likewise.
5767 (libc_feholdsetroundl_ctx): Likewise.
5769 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
5770 with __USE_GNU instead of XOPEN cpp guards.
5772 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
5775 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
5776 with XOPEN cpp guards.
5778 2014-04-30 Julian Brown <julian@codesourcery.com>
5781 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
5784 2014-04-30 Joseph Myers <joseph@codesourcery.com>
5787 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
5789 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
5790 * sysdeps/unix/sysv/linux/configure: Regenerated.
5791 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
5792 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
5793 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
5794 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
5795 * README: Update reference to required Linux kernel version.
5796 * manual/install.texi (Linux): Update reference to required Linux
5797 kernel headers version.
5798 * INSTALL: Regenerated.
5800 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
5802 [POSIX] (limits.h): Likewise.
5803 [POSIX] (math.h): Likewise.
5804 [POSIX] (sys/wait.h): Likewise.
5805 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
5807 [POSIX] (stddef.h): Do not allow header inclusion.
5809 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5811 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
5813 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
5815 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
5816 Return immediately after lll_futex_wake.
5818 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
5821 * nscd/nscd-client.h (datahead_init_common): Initialize entire
5823 (datahead_init_pos): Call datahead_init_common early.
5824 (datahead_init_neg): Likewise.
5826 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
5827 datahead_init_neg): New functions.
5828 * nscd/aicache.c (addhstaiX): Use them.
5829 * nscd/grpcache.c (cache_addgr): Likewise.
5830 * nscd/hstcache.c (cache_addhst): Likewise.
5831 * nscd/initgrcache.c (addinitgroupsX): Likewise.
5832 * nscd/netgroupcache.c (do_notfound): Likewise.
5833 (addgetnetgrentX): Likewise.
5834 (addinnetgrX): Likewise.
5835 * nscd/pwdcache.c (cache_addpw): Likewise.
5836 * nscd/servicescache.c (cache_addserv): Likewise.
5838 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
5839 Atsushi Onoe <atsushi@onoe.org>
5844 * resolv/res_query.c (__libc_res_nsearch): Return if at least
5845 one response is valid.
5846 * resolv/res_send.c (send_dg): Check for validity of other
5847 response if the current response is a referral.
5849 2014-04-29 Steve Ellcey <sellcey@mips.com>
5851 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
5853 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
5856 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
5857 Always divide by positive zero when computing -Inf result.
5858 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
5859 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
5861 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5863 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
5864 FPSCR if value do not change.
5865 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
5866 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
5867 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
5868 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
5869 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
5870 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
5873 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
5875 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
5876 * sysdeps/unix/sysv/linux/hppa: Move directory from
5877 ports/systeps/unix/sysv/linux/hppa.
5878 * README: Update listing for hppa-*-linux-gnu.
5880 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
5883 * manual/stdio.texi (Hook functions): Fix types of stream hook
5886 * socket/sys/socket.h: Fix typo in comment.
5888 2014-04-28 Wilco <wdijkstr@arm.com>
5890 * sysdeps/arm/fenv_private.h: New file.
5891 * sysdeps/arm/math_private.h: New file.
5892 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
5894 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
5896 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
5898 (La_x86_64_retval): Likewise.
5900 2014-04-24 Ian Bolton <ian.bolton@arm.com>
5902 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
5903 fpsr if value didn't change.
5904 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
5905 to fpcr if value didn't change.
5906 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
5907 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
5908 fpsr or fpcr if value didn't change.
5909 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
5910 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
5911 fpcr if value didn't change.
5912 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
5913 to fpsr if value didn't change.
5915 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
5917 * nptl/tst-sem3.c: Use test-skeleton.c
5918 (main): Rename to do_test. Use return instead of
5920 * nptl/tst-sem4.c: Use test-skeleton.c
5921 (main): Rename to do_test.
5923 2014-04-22 David S. Miller <davem@davemloft.net>
5925 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
5926 (struct sigaction): New struct member __glibc_reserved0, change
5927 type of sa_flags to int.
5929 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
5931 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
5932 (COUNT_LEADING_ZEROS_0): Define for AArch64.
5934 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
5936 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
5937 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
5939 2014-04-22 Will Newton <will.newton@linaro.org>
5940 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
5942 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
5943 (__longjmp): Add longjmp and longjmp_target SystemTap
5945 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
5946 (__sigsetjmp): Add setjmp SystemTap probe.
5948 2014-04-17 Carlos O'Donell <carlos@redhat.com>
5950 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
5953 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5955 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
5957 * sysdeps/powerpc/fpu/fenv_private.h
5958 (libc_feholdexcept_setroundl_ctx): Define to
5959 libc_feholdexcept_setround_ppc_ctx.
5960 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
5961 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
5962 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
5963 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
5965 2014-04-17 Ian Bolton <ian.bolton@arm.com>
5967 * sysdeps/aarch64/math-tests.h: New file.
5969 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
5971 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
5973 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5974 Check and set bit_AVX2_Usable.
5975 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
5977 (bit_AVX2): Likewise.
5978 (index_AVX2_Usable): Likewise.
5979 (CPUID_AVX2): Likewise.
5980 (HAS_AVX2): Likewise.
5982 2014-04-17 Will Newton <will.newton@linaro.org>
5984 * manual/setjmp.texi (System V contexts): Add note that
5985 calling setcontext on a context created by a call to a
5986 signal handler is undefined. Update text to note that
5987 setcontext from a signal handler is possible but not
5991 * stdlib/tst-setcontext.c: Include signal.h.
5992 (main): Check that the signal stack before and
5993 after swapcontext is the same.
5995 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
5996 Re-implement to restore registers in user code and avoid
5997 rt_sigreturn system call.
5999 2014-04-17 Wilco <wdijkstr@arm.com>
6001 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
6002 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
6003 * math/test-fenv.c: Skip exception trap tests on targets which only
6004 support non-stop mode.
6006 2014-04-17 Ian Bolton <ian.bolton@arm.com>
6007 Wilco Dijkstra <wilco.dijkstra@arm.com>
6009 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
6010 (libc_feholdsetround_aarch64_ctx)
6011 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
6012 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
6013 (libc_feresetround_ctx, libc_feresetroundf_ctx)
6014 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
6015 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
6016 (libc_feresetround_noexl_ctx): Define.
6018 2014-04-16 Richard Henderson <rth@redhat.com>
6020 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
6022 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
6025 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
6026 const from the non-libc, non-ldso copy.
6028 * sysdeps/alpha/libm-test-ulps: Regenerate.
6030 2014-04-16 Ian Bolton <ian.bolton@arm.com>
6031 Wilco Dijkstra <wilco.dijkstra@arm.com>
6033 * sysdeps/aarch64/fpu/math_private.h: New file.
6035 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
6037 * sysdeps/aarch64/libm-test-ulps: Regenerate.
6039 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
6041 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
6042 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
6043 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
6044 Intel MPX bound registers before _dl_profile_fixup.
6045 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
6046 registers after _dl_profile_fixup. Save and restore bound
6047 registers bnd0/bnd1 when calling _dl_call_pltexit.
6048 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
6049 (LR_BND_OFFSET): Likewise.
6050 (LRV_BND0_OFFSET): Likewise.
6051 (LRV_BND1_OFFSET): Likewise.
6053 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
6055 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
6057 * sysdeps/mach/hurd/i386/tls.h: ... here.
6058 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
6059 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
6062 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
6064 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
6066 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
6068 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
6070 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
6073 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
6074 * sysdeps/s390/configure: Regenerate.
6077 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
6078 Set round-to-nearest internally to reduce error accumulation.
6080 2014-04-16 Alan Modra <amodra@gmail.com>
6084 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
6085 * math/libm-test.inc (frexp_test_data): Add tests.
6086 * NEWS: Update fixed bug list.
6088 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6090 * benchtests/Makefile: Depend on libraries in build directory.
6091 (bench-math): Separate out math tests.
6092 (bench-pthread): Separate out pthread tests.
6093 (bench): Include math and pthread tests.
6095 2014-04-14 Carlos O'Donell <carlos@redhat.com>
6098 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
6099 _dl_debug_initialize.
6101 * configure.ac: Remove SELinux header check.
6102 * configure: Regenerate.
6103 * nscd/selinux.c (perms): Array of const char* to permission names.
6104 (nscd_request_avc_has_perm): Call security_deny_unknown to find
6105 default policy. Call string_to_security_class and string_to_av_perm to
6106 translate strings. Enforce default policy and call avs_has_perm with
6107 results of translated strings.
6109 2014-04-13 David S. Miller <davem@davemloft.net>
6111 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6113 2014-04-12 Allan McRae <allan@archlinux.org>
6116 * manual/string.texi (Collation Functions): Fix qsort argument
6118 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
6120 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
6122 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
6123 Make the test a no-op if there are no exceptions defined.
6125 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
6127 * elf/Makefile (tests): make tst-dlopen-aout conditional on
6128 enable-hardcoded-path-in-tests
6130 2014-04-11 Will Newton <will.newton@linaro.org>
6132 * benchtests/Makefile (extra-objs): Add json-lib.o.
6133 (bench-func): Tidy up JSON output.
6134 * benchtests/bench-skeleton.c: Include json-lib.h.
6135 (main): Use JSON library functions to do output of
6137 * benchtests/bench-timing-type.c (main): Output the
6138 timing type simply, leaving formatting to the user.
6139 * benchtests/json-lib.c: New file.
6140 * benchtests/json-lib.h: Likewise.
6142 2014-04-11 Torvald Riegel <triegel@redhat.com>
6145 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
6146 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
6147 memory barriers. Add comments.
6148 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
6149 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
6150 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
6151 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
6152 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
6153 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
6155 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
6157 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
6158 * sysdeps/s390/s390-64/configure.ac: ... this ...
6159 * sysdeps/s390/configure.ac: ... to here.
6160 * sysdeps/s390/s390-32/configure: Delete file.
6161 * sysdeps/s390/s390-64/configure: Delete file.
6162 * sysdeps/s390/configure: Regenerate.
6164 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
6166 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
6168 2014-04-11 Will Newton <will.newton@linaro.org>
6170 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
6171 to zero if it is not defined elsewhere. (mtrim): Test
6172 the value of MALLOC_DEBUG with #if rather than #ifdef.
6174 2014-04-10 Torvald Riegel <triegel@redhat.com>
6176 * benchtests/pthread_once-inputs: New file.
6177 * benchtests/pthread_once-source.c: New file.
6178 * benchtests/README: Update documentation.
6180 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
6181 H.J. Lu <hongjiu.lu@intel.com>
6183 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
6184 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
6185 * sysdeps/x86_64/configure: Regenerated.
6186 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
6188 (REGISTER_SAVE_RAX): Likewise.
6189 (REGISTER_SAVE_RCX): Likewise.
6190 (REGISTER_SAVE_RDX): Likewise.
6191 (REGISTER_SAVE_RSI): Likewise.
6192 (REGISTER_SAVE_RDI): Likewise.
6193 (REGISTER_SAVE_R8): Likewise.
6194 (REGISTER_SAVE_R9): Likewise.
6195 (REGISTER_SAVE_BND0): Likewise.
6196 (REGISTER_SAVE_BND1): Likewise.
6197 (REGISTER_SAVE_BND2): Likewise.
6198 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
6199 bound registers when calling _dl_fixup.
6201 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6203 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
6204 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
6206 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
6207 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
6208 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
6209 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
6210 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
6211 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
6212 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
6214 2014-04-09 Peter Brett <peter@peter-b.co.uk>
6217 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
6218 pathconf(_PC_NAME_MAX).
6220 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6222 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
6224 (__PTHREAD_SPINS): Move definition to ...
6225 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
6226 (__PTHREAD_SPINS): ... here.
6227 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
6228 (__PTHREAD_SPIN): Likewise.
6229 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
6230 (__PTHREAD_SPIN): Likewise.
6231 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
6232 (__PTHREAD_SPIN): Likewise.
6233 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
6234 (__PTHREAD_SPIN): Likewise.
6235 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
6236 (__PTHREAD_SPIN): Likewise.
6237 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
6238 (__PTHREAD_SPIN): Likewise.
6239 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
6240 (__PTHREAD_SPIN): Likewise.
6241 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
6242 (__PTHREAD_SPIN): Likewise.
6243 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
6244 (__PTHREAD_SPIN): Likewise.
6245 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
6246 (__PTHREAD_SPIN): Likewise.
6247 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
6248 (__PTHREAD_SPIN): Likewise.
6249 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
6250 (__PTHREAD_SPIN): Likewise.
6252 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
6253 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
6254 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
6255 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
6257 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
6258 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
6259 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
6260 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
6262 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
6263 strlen symbol for non multi-arch builds.
6264 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
6265 missing hidden_def and weak_alias.
6267 2014-04-08 Carlos O'Donell <carlos@redhat.com>
6269 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
6271 2014-04-07 Will Newton <will.newton@linaro.org>
6273 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
6274 and contents. [!_LIBC] Remove #ifndef and contents.
6275 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
6276 * string/memccpy.c (__memccpy): Use ANSI prototype.
6277 * string/memfrob.c (memfrob): Likewise.
6278 * string/strcoll.c (STRCOLL): Likewise.
6279 * string/strlen.c (strlen): Likewise.
6280 * string/strtok.c (STRTOK): Likewise.
6281 * string/strcat.c: Remove unused #include of memcopy.h.
6282 (strcat): Use ANSI prototype.
6283 * string/strchr.c: Remove unused #include of memcopy.h.
6284 (strchr): Use ANSI prototype.
6285 * string/strcmp.c: Remove unused #include of memcopy.h.
6286 (strcmp): Use ANSI prototype.
6287 * string/strcpy.c: Remove unused #include of memcopy.h.
6288 (strcpy): Use ANSI prototype.
6290 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6292 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
6293 * config.make.in (config-extra-cppflags): Set it from
6294 libc_extra_cppflags.
6295 * configure.ac (libc_extra_cflags): Make it accumulate over
6296 configure fragments.
6297 (libc_extra_cppflags): New flag.
6298 * configure. Regenerate.
6299 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
6300 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
6301 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
6302 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
6305 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
6306 result for FE_DOWNWARD rounding mode.
6307 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
6309 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6311 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
6313 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
6314 in function argument name.
6316 2014-04-03 David Svoboda <svoboda@cert.org>
6319 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
6322 2014-04-03 Roland McGrath <roland@hack.frob.com>
6324 * elf/dl-unmap-segments.h: New file.
6325 * sysdeps/generic/ldsodefs.h
6326 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
6327 * elf/dl-close.c: Include <dl-unmap-segments.h>.
6328 * elf/dl-fptr.c: Likewise.
6329 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
6330 * sysdeps/aarch64/tlsdesc.c: Likewise.
6331 * sysdeps/arm/tlsdesc.c: Likewise.
6332 * sysdeps/i386/tlsdesc.c: Likewise.
6333 * sysdeps/tile/dl-runtime.c: Likewise.
6334 * sysdeps/x86_64/tlsdesc.c: Likewise.
6335 * elf/dl-load.h: New file.
6336 * elf/dl-load.c: Include it.
6337 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
6338 Macros moved to dl-load.h.
6339 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
6340 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
6341 Use _dl_unmap_segments in place of __munmap.
6342 Break out segment-mapping loop into ...
6343 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
6345 2014-04-03 Will Newton <will.newton@linaro.org>
6347 * elf/dl-lookup.c (do_lookup_x): Remove comment
6348 referring to nested function and move variable
6349 declarations down to before first use.
6351 2014-04-02 Joseph Myers <joseph@codesourcery.com>
6355 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
6357 * math/s_catanf.c (__catanf): Likewise.
6358 * math/s_catanh.c (__catanh): Likewise.
6359 * math/s_catanhf.c (__catanhf): Likewise.
6360 * math/s_catanhl.c (__catanhl): Likewise.
6361 * math/s_catanl.c (__catanl): Likewise.
6362 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
6363 by positive zero when computing -Inf result.
6364 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
6365 (catanh_test): Likewise.
6366 * sysdeps/i386/fpu/libm-test-ulps: Update.
6367 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6370 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
6371 instead of using underflowing value in computing result.
6372 * math/s_clog10.c (__clog10): Likewise.
6373 * math/s_clog10f.c (__clog10f): Likewise.
6374 * math/s_clog10l.c (__clog10l): Likewise.
6375 * math/s_clogf.c (__clogf): Likewise.
6376 * math/s_clogl.c (__clogl): Likewise.
6377 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
6378 (clog10_test): Likewise.
6379 * sysdeps/i386/fpu/libm-test-ulps: Update.
6380 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6382 2014-04-02 Alan Modra <amodra@gmail.com>
6385 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
6386 output when value is near a power of two. Use int64_t for lx and
6387 remove casts. Use decimal rather than hex exponent constants.
6388 Don't use long double multiplication when double will suffice.
6389 * math/libm-test.inc (nextafter_test_data): Add tests.
6390 * NEWS: Add 16739 and 16786 to bug list.
6392 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
6394 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
6396 2014-04-01 Will Newton <will.newton@linaro.org>
6398 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
6399 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
6401 2014-04-01 Florian Weimer <fweimer@redhat.com>
6404 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
6405 * nptl/tst-setuid2.c: New file.
6406 * nptl/Makefile (xtests): Add tst-setuid2.
6408 2014-04-01 Alan Modra <amodra@gmail.com>
6411 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
6413 2014-03-31 Joseph Myers <joseph@codesourcery.com>
6417 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
6418 set errno as appropriate.
6419 * math/w_scalbf.c (__scalbf): Likewise.
6420 * math/w_scalbl.c (__scalbl): Likewise.
6421 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
6422 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
6423 * math/libm-test.inc (scalb_test_data): Add errno expectations.
6427 * math/w_atan2.c: Include <errno.h>.
6428 (__atan2): Set errno for result underflowing to zero.
6429 * math/w_atan2f.c: Include <errno.h>.
6430 (__atan2f): Set errno for result underflowing to zero.
6431 * math/w_atan2l.c: Include <errno.h>.
6432 (__atan2l): Set errno for result underflowing to zero.
6433 * math/auto-libm-test-in: Don't allow missing errno for some atan2
6435 * math/auto-libm-test-out: Regenerated.
6437 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6439 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
6440 Encode instruction correctly in little endian.
6441 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
6443 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
6445 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
6447 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
6450 2014-03-31 Joseph Myers <joseph@codesourcery.com>
6453 * sysdeps/unix/sysv/linux/kernel-features.h
6454 [__sparc__ && !__arch64__ && !__sparc_v9__]
6455 (__ASSUME_SET_ROBUST_LIST): Do not define.
6456 [__sparc__ && !__arch64__ && !__sparc_v9__]
6457 (__ASSUME_FUTEX_LOCK_PI): Likewise.
6458 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
6460 * sysdeps/unix/sysv/linux/arm/kernel-features.h
6461 (__ASSUME_FUTEX_LOCK_PI): Undefine.
6462 (__ASSUME_REQUEUE_PI): Likewise.
6463 (__ASSUME_SET_ROBUST_LIST): Likewise.
6464 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6465 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
6467 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6468 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
6470 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
6472 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
6474 * sysdeps/unix/sysv/linux/mips/kernel-features.h
6475 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
6477 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
6478 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
6482 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6483 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
6484 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
6486 2014-03-31 Will Newton <will.newton@linaro.org>
6488 * benchtests/Makefile (bench): Add ffs and ffsll to list
6490 * benchtests/ffs-inputs: New file.
6491 * benchtests/ffsll-inputs: Likewise.
6493 2014-03-29 Joseph Myers <joseph@codesourcery.com>
6496 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
6497 too large before casting to int.
6498 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
6499 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
6500 * math/libm-test.inc (scalb_test_data): Add more tests.
6502 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
6504 * benchtests/Makefile (DETAILED_OPT): New make option.
6505 (bench-func): Run benchmark program with -d if DETAILED_OPT is
6507 * benchtests/bench-skeleton.c: Include stdbool.h.
6508 (main): Store and print timings per input.
6509 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
6510 member to each argument value.
6511 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
6512 (_print_arg_data): Initialize per-input timing to 0.
6514 * benchtests/Makefile (timing-type): New binary.
6515 (bench-clean): Also remove bench-timing-type.
6516 (bench): New target for timing-type.
6517 (bench-func): Print output in JSON format.
6518 * benchtests/bench-skeleton.c (main): Print output in JSON
6520 * benchtests/bench-timing-type.c: New file.
6521 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
6522 (TIMING_PRINT_STATS): Remove.
6523 * benchtests/scripts/bench.py (_print_arg_data): Store variant
6526 * benchtests/bench-modf.c: Remove.
6527 * benchtests/modf-inputs: New inputs file.
6529 2014-03-28 Joseph Myers <joseph@codesourcery.com>
6532 * math/s_clog10.c (M_PI_LOG10E): New macro.
6533 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
6534 imaginary parts are 0.
6535 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
6536 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
6537 imaginary parts are 0.
6538 * math/s_clog10l.c (M_PI_LOG10El): New macro.
6539 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
6540 imaginary parts are 0.
6541 * math/libm-test.inc (clog10_test_data): Update expected results
6542 for when real and imaginary parts are 0.
6544 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
6546 * elf/dl-load.c: Finish conversion of __builtin_expect into
6549 2014-03-27 Joseph Myers <joseph@codesourcery.com>
6552 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
6553 1+x for argument with exponent below -67.
6554 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
6556 * math/auto-libm-test-in: Add more tests of exp.
6557 * math/auto-libm-test-out: Regenerated.
6559 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
6562 * inet/getnetgrent_r.c (get_nonempty_val): New function.
6563 (nscd_getnetgrent): Use it.
6566 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
6569 2014-03-27 Andi Kleen <ak@linux.intel.com>
6571 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
6572 (lll_robust_lock, lll_cond_lock, lll_timedlock)
6573 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
6574 (lll_robust_unlock): Remove out of line section. Use cfi
6576 (LLL_STUB_UNWIND_INFO*): Remove.
6577 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
6578 (lll_robust_lock, lll_cond_lock, lll_timedlock)
6579 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
6580 (lll_robust_unlock): Remove out of line section. Use cfi
6582 (LLL_STUB_UNWIND_INFO*): Remove.
6584 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
6587 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
6590 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
6592 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
6594 2014-03-26 Joseph Myers <joseph@codesourcery.com>
6597 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
6599 * math/test-fenv-preserve.c: New file.
6600 * math/Makefile (tests): Add test-fenv-preserve.
6602 2014-03-26 Will Newton <will.newton@linaro.org>
6604 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
6606 2014-03-25 Roland McGrath <roland@hack.frob.com>
6608 * scripts/versionlist.awk: Partition the version sets and emit all
6609 GLIBC_* (sorted) before all others (sorted).
6611 2014-03-25 Joseph Myers <joseph@codesourcery.com>
6613 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
6614 GLIBC_2.2.5 version.
6616 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6618 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
6621 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
6624 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6626 2014-03-25 Andreas Schwab <schwab@suse.de>
6628 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
6629 label to be used after in6ailist is initialized.
6631 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6633 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
6634 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
6636 2014-03-25 Joseph Myers <joseph@codesourcery.com>
6640 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
6642 (fp_formats): Update initializers.
6643 (init_fp_formats): Initialize new field.
6644 (output_for_one_input_case): Allow underflow for results up to
6646 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
6647 * math/auto-libm-test-in: Don't mark some underflows from asin and
6649 * math/auto-libm-test-out: Regenerated.
6650 * sysdeps/i386/fpu/libm-test-ulps: Update.
6651 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6653 2014-03-25 Andreas Schwab <schwab@suse.de>
6655 * libio/Makefile (tst-ftell-partial-wide-ENV)
6656 (tst-ftell-active-handler-ENV): Define.
6658 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
6660 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
6662 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
6664 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
6666 2014-03-24 Joseph Myers <joseph@codesourcery.com>
6668 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
6669 * sysdeps/x86_64/fpu/multiarch/e_exp.c
6670 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
6672 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
6675 * elf/dl-load.c (open_verify): Add mode parameter.
6676 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
6677 (open_path): Change from boolean 'secure' to complete flag 'mode'
6678 (_dl_map_object): Adjust.
6679 * elf/Makefile (tests): Add tst-dlopen-aout.
6680 * elf/tst-dlopen-aout.c: New test.
6682 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
6685 * sysdeps/unix/sysv/linux/s390/bits/stat.h
6686 (struct stat): Rename member pad0 to __glibc_reserved0.
6689 * sysdeps/s390/s390-32/bits/wordsize.h
6690 (__WORDSIZE32_SIZE_ULONG): New define.
6691 * sysdeps/s390/s390-64/bits/wordsize.h
6692 (__WORDSIZE32_SIZE_ULONG): Likewise.
6693 * sysdeps/generic/stdint.h (SIZE_MAX):
6694 Define as UL if __WORDSIZE32_SIZE_ULONG.
6697 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
6698 (__glibc_reserved0): New variable.
6699 (sa_flags): Change type to int.
6701 * posix/Makefile (before-compile): Use += before-compile instead
6704 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
6705 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
6707 2014-03-20 Andreas Schwab <schwab@suse.de>
6710 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
6711 non-matching result from nscd.
6713 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
6715 * scripts/bench.py: Moved to ...
6716 * benchtests/scripts/bench.py: ... here.
6717 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
6719 2014-03-24 Andreas Schwab <schwab@suse.de>
6722 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
6723 alloca_account and account alloca use for struct in6ailist.
6725 2014-03-24 Joseph Myers <joseph@codesourcery.com>
6728 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
6729 rounding mode to recompute results that overflow to infinity or
6731 * math/auto-libm-test-in: Don't mark tests as expected to fail for
6733 * math/auto-libm-test-out: Regenerated.
6734 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
6735 (ccosh_test): Likewise.
6736 (csin_test_data): Use plus_oflow.
6737 (csin_test): Use ALL_RM_TEST.
6738 (csinh_test_data): Use plus_oflow.
6739 (csinh_test): Use ALL_RM_TEST.
6740 * sysdeps/i386/fpu/libm-test-ulps: Update.
6741 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6743 2014-03-21 Joseph Myers <joseph@codesourcery.com>
6745 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
6746 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
6747 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
6750 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
6752 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
6753 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
6754 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
6755 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
6757 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
6758 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
6760 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
6761 * sysdeps/i386/fpu/libm-test-ulps: Update.
6762 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6764 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6766 * scripts/bench.pl: Remove file.
6767 * scripts/bench.py: New benchmark script.
6768 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
6769 * benchtests/README: Mention python dependency.
6770 * scripts/pylintrc: New file.
6771 * scripts/pylint: New file.
6773 * bits/mathdef.h: Use #ifdef instead of #if.
6774 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
6775 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
6776 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
6777 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
6778 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
6779 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
6781 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6782 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
6784 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
6785 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
6786 and strpbrk-ppc64 objects.
6787 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6788 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
6789 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
6790 multiarch strpbrk for POWER7.
6791 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
6792 multiarch strpbrk for PPC64.
6793 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
6795 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
6798 2014-03-20 Joseph Myers <joseph@codesourcery.com>
6800 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
6801 (atan_test): Likewise.
6802 (atanh_test_data): Use NO_TEST_INLINE for two tests.
6803 (atanh_test): Use ALL_RM_TEST.
6804 (atan2_test_data): Likewise.
6805 (cabs_test): Likewise.
6806 (cacosh_test): Likewise.
6807 (carg_test): Likewise.
6808 (casin_test): Likewise.
6809 (casinh_test): Likewise.
6810 (cbrt_test): Likewise.
6811 (csqrt_test): Likewise.
6812 (erf_test): Likewise.
6813 (erfc_test): Likewise.
6814 (pow10_test): Likewise.
6815 (exp2_test): Likewise.
6816 (hypot_test): Likewise.
6817 (j0_test): Likewise.
6818 (j1_test): Likewise.
6819 (lgamma_test): Likewise.
6820 (gamma_test): Likewise.
6821 (sincos_test): Likewise.
6822 (tanh_test): Likewise.
6823 (y0_test): Likewise.
6824 (y1_test): Likewise.
6825 * sysdeps/i386/fpu/libm-test-ulps: Update.
6826 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6828 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6830 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
6831 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
6832 and strcspn-ppc64 objects.
6833 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6834 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
6835 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
6836 multiarch strcspn for POWER7.
6837 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
6838 multiarch strcspn for PPC64.
6839 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
6841 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
6844 2014-03-20 Joseph Myers <joseph@codesourcery.com>
6846 * math/gen-libm-test.pl (generate_testfile): Expect only function
6847 name as argument to AUTO_TESTS_* and pass results for all rounding
6848 modes to parse_args.
6849 (parse_auto_input): Separate inputs of automatic tests from
6850 outputs before storing in %auto_tests.
6851 * math/libm-test.inc (acos_test_data): Update call to
6853 (acos_test): Use ALL_RM_TEST.
6854 (acos_tonearest_test_data): Remove.
6855 (acos_test_tonearest): Likewise.
6856 (acos_towardzero_test_data): Likewise.
6857 (acos_test_towardzero): Likewise.
6858 (acos_downward_test_data): Likewise.
6859 (acos_test_downward): Likewise.
6860 (acos_upward_test_data): Likewise.
6861 (acos_test_upward): Likewise.
6862 (acosh_test_data): Update call to AUTO_TESTS_f_f.
6863 (asin_test_data): Likewise.
6864 (asin_test): Use ALL_RM_TEST.
6865 (asin_tonearest_test_data): Remove.
6866 (asin_test_tonearest): Likewise.
6867 (asin_towardzero_test_data): Likewise.
6868 (asin_test_towardzero): Likewise.
6869 (asin_downward_test_data): Likewise.
6870 (asin_test_downward): Likewise.
6871 (asin_upward_test_data): Likewise.
6872 (asin_test_upward): Likewise.
6873 (asinh_test_data): Update call to AUTO_TESTS_f_f.
6874 (atan_test_data): Likewise.
6875 (atanh_test_data): Likewise.
6876 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
6877 (cabs_test_data): Update call to AUTO_TESTS_c_f.
6878 (carg_test_data): Likewise.
6879 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
6880 (ccos_test_data): Update call to AUTO_TESTS_c_c.
6881 (ccosh_test_data): Likewise.
6882 (cexp_test_data): Likewise.
6883 (clog_test_data): Likewise.
6884 (clog10_test_data): Likewise.
6885 (cos_test_data): Update call to AUTO_TESTS_f_f.
6886 (cos_test): Use ALL_RM_TEST.
6887 (cos_tonearest_test_data): Remove.
6888 (cos_test_tonearest): Likewise.
6889 (cos_towardzero_test_data): Likewise.
6890 (cos_test_towardzero): Likewise.
6891 (cos_downward_test_data): Likewise.
6892 (cos_test_downward): Likewise.
6893 (cos_upward_test_data): Likewise.
6894 (cos_test_upward): Likewise.
6895 (cosh_test_data): Update call to AUTO_TESTS_f_f.
6896 (cosh_test): Use ALL_RM_TEST.
6897 (cosh_tonearest_test_data): Remove.
6898 (cosh_test_tonearest): Likewise.
6899 (cosh_towardzero_test_data): Likewise.
6900 (cosh_test_towardzero): Likewise.
6901 (cosh_downward_test_data): Likewise.
6902 (cosh_test_downward): Likewise.
6903 (cosh_upward_test_data): Likewise.
6904 (cosh_test_upward): Likewise.
6905 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
6906 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
6907 (ctan_test_data): Likewise.
6908 (ctan_test): Use ALL_RM_TEST.
6909 (ctan_tonearest_test_data): Remove.
6910 (ctan_test_tonearest): Likewise.
6911 (ctan_towardzero_test_data): Likewise.
6912 (ctan_test_towardzero): Likewise.
6913 (ctan_downward_test_data): Likewise.
6914 (ctan_test_downward): Likewise.
6915 (ctan_upward_test_data): Likewise.
6916 (ctan_test_upward): Likewise.
6917 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
6918 (ctanh_test): Use ALL_RM_TEST.
6919 (ctanh_tonearest_test_data): Remove.
6920 (ctanh_test_tonearest): Likewise.
6921 (ctanh_towardzero_test_data): Likewise.
6922 (ctanh_test_towardzero): Likewise.
6923 (ctanh_downward_test_data): Likewise.
6924 (ctanh_test_downward): Likewise.
6925 (ctanh_upward_test_data): Likewise.
6926 (ctanh_test_upward): Likewise.
6927 (erf_test_data): Update call to AUTO_TESTS_f_f.
6928 (erfc_test_data): Likewise.
6929 (exp_test_data): Likewise.
6930 (exp_test): Use ALL_RM_TEST.
6931 (exp_tonearest_test_data): Remove.
6932 (exp_test_tonearest): Likewise.
6933 (exp_towardzero_test_data): Likewise.
6934 (exp_test_towardzero): Likewise.
6935 (exp_downward_test_data): Likewise.
6936 (exp_test_downward): Likewise.
6937 (exp_upward_test_data): Likewise.
6938 (exp_test_upward): Likewise.
6939 (exp10_test_data): Update call to AUTO_TESTS_f_f.
6940 (exp10_test): Use ALL_RM_TEST.
6941 (exp10_tonearest_test_data): Remove.
6942 (exp10_test_tonearest): Likewise.
6943 (exp10_towardzero_test_data): Likewise.
6944 (exp10_test_towardzero): Likewise.
6945 (exp10_downward_test_data): Likewise.
6946 (exp10_test_downward): Likewise.
6947 (exp10_upward_test_data): Likewise.
6948 (exp10_test_upward): Likewise.
6949 (exp2_test_data): Update call to AUTO_TESTS_f_f.
6950 (expm1_test_data): Likewise.
6951 (expm1_test): Use ALL_RM_TEST.
6952 (expm1_tonearest_test_data): Remove.
6953 (expm1_test_tonearest): Likewise.
6954 (expm1_towardzero_test_data): Likewise.
6955 (expm1_test_towardzero): Likewise.
6956 (expm1_downward_test_data): Likewise.
6957 (expm1_test_downward): Likewise.
6958 (expm1_upward_test_data): Likewise.
6959 (expm1_test_upward): Likewise.
6960 (fma_test_data): Update call to AUTO_TESTS_fff_f.
6961 (fma_test): Use ALL_RM_TEST.
6962 (fma_towardzero_test_data): Remove.
6963 (fma_test_towardzero): Likewise.
6964 (fma_downward_test_data): Likewise.
6965 (fma_test_downward): Likewise.
6966 (fma_upward_test_data): Likewise.
6967 (fma_test_upward): Likewise.
6968 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
6969 (j0_test_data): Update call to AUTO_TESTS_f_f.
6970 (j1_test_data): Likewise.
6971 (jn_test_data): Update call to AUTO_TESTS_if_f.
6972 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
6973 (log_test_data): Update call to AUTO_TESTS_f_f.
6974 (log10_test_data): Likewise.
6975 (log1p_test_data): Likewise.
6976 (log2_test_data): Likewise.
6977 (pow_test_data): Update call to AUTO_TESTS_ff_f.
6978 (pow_tonearest_test_data): Likewise.
6979 (sin_test_data): Update call to AUTO_TESTS_f_f.
6980 (sin_test): Use ALL_RM_TEST.
6981 (sin_tonearest_test_data): Remove.
6982 (sin_test_tonearest): Likewise.
6983 (sin_towardzero_test_data): Likewise.
6984 (sin_test_towardzero): Likewise.
6985 (sin_downward_test_data): Likewise.
6986 (sin_test_downward): Likewise.
6987 (sin_upward_test_data): Likewise.
6988 (sin_test_upward): Likewise.
6989 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
6990 (sinh_test_data): Update call to AUTO_TESTS_f_f.
6991 (sinh_test): Use ALL_RM_TEST.
6992 (sinh_tonearest_test_data): Remove.
6993 (sinh_test_tonearest): Likewise.
6994 (sinh_towardzero_test_data): Likewise.
6995 (sinh_test_towardzero): Likewise.
6996 (sinh_downward_test_data): Likewise.
6997 (sinh_test_downward): Likewise.
6998 (sinh_upward_test_data): Likewise.
6999 (sinh_test_upward): Likewise.
7000 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
7001 (sqrt_test): Use ALL_RM_TEST.
7002 (sqrt_tonearest_test_data): Remove.
7003 (sqrt_test_tonearest): Likewise.
7004 (sqrt_towardzero_test_data): Likewise.
7005 (sqrt_test_towardzero): Likewise.
7006 (sqrt_downward_test_data): Likewise.
7007 (sqrt_test_downward): Likewise.
7008 (sqrt_upward_test_data): Likewise.
7009 (sqrt_test_upward): Likewise.
7010 (tan_test_data): Update call to AUTO_TESTS_f_f.
7011 (tan_test): Use ALL_RM_TEST.
7012 (tan_tonearest_test_data): Remove.
7013 (tan_test_tonearest): Likewise.
7014 (tan_towardzero_test_data): Likewise.
7015 (tan_test_towardzero): Likewise.
7016 (tan_downward_test_data): Likewise.
7017 (tan_test_downward): Likewise.
7018 (tan_upward_test_data): Likewise.
7019 (tan_test_upward): Likewise.
7020 (tanh_test_data): Update call to AUTO_TESTS_f_f.
7021 (tgamma_test_data): Likewise.
7022 (y0_test_data): Likewise.
7023 (y1_test_data): Likewise.
7024 (yn_test_data): Update call to AUTO_TESTS_if_f.
7025 (main): Do not call removed functions.
7027 2014-03-19 Joseph Myers <joseph@codesourcery.com>
7029 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
7030 (ldexp_test_data): Remove.
7031 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
7033 (scalb_test): Use ALL_RM_TEST.
7035 2014-03-19 Andreas Schwab <schwab@suse.de>
7037 * nscd/nscd.service: Also invalidate netgroup cache on reload.
7039 2014-03-19 Joseph Myers <joseph@codesourcery.com>
7042 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7043 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
7044 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
7045 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7046 (__ASSUME_PREADV): Undefine.
7047 (__ASSUME_PWRITEV): Likewise.
7049 2014-03-18 Roland McGrath <roland@hack.frob.com>
7051 * bits/mman-linux.h: Add comment about non-Linux use.
7052 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
7053 bits/mman-linux.h resting place.
7055 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
7056 * bits/mman-linux.h: ... here.
7058 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7060 * conform/conformtest.pl: Add standard definition when calling C
7061 preprocessor on data files.
7062 (checknamespace): Remove unused variable.
7064 2014-03-18 Joseph Myers <joseph@codesourcery.com>
7066 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
7067 minus_oflow, plus_uflow and minus_uflow in expected results.
7068 * math/libm-test.inc (scalbn_test_data): Add more tests of
7069 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
7071 (scalbn_test): Use ALL_RM_TEST.
7072 (scalbln_test_data): Add more tests of negative arguments. Use
7073 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
7074 (scalbln_test): Use ALL_RM_TEST.
7076 2014-03-18 Roland McGrath <roland@hack.frob.com>
7078 * scripts/abilist.awk: Ignore symbols marked with .hidden.
7080 2014-03-18 Will Newton <will.newton@linaro.org>
7082 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
7085 2014-03-18 Joseph Myers <joseph@codesourcery.com>
7087 * Makerules [!subdir] (check-abi): Exit with error status if a
7090 2014-03-17 Joseph Myers <joseph@codesourcery.com>
7092 * math/libm-test.inc (nearbyint_test_data): Include all tests used
7093 for rint. Include results for all rounding modes.
7094 (nearbyint_test): Use ALL_RM_TEST.
7095 (rint_test_data): Include all tests used for nearbyint.
7097 2014-03-17 Will Newton <will.newton@linaro.org>
7099 * nptl/sysdeps/pthread/pthread.h: Revert previous
7102 * sysdeps/generic/ldsodefs.h: Revert previous
7105 * libio/genops.c: Revert previous change.
7106 * libio/libioP.h: Likewise.
7107 * stdio-common/vfprintf.c: Likewise.
7109 * sysdeps/generic/math_private.h: Revert previous
7112 * sysdeps/generic/math_private.h: Check whether
7113 HAVE_RM_CTX is defined with #ifdef rather
7116 * argp/argp-fmtstream.h: Check whether
7117 __STRICT_ANSI__ is defined with #ifdef rather
7119 * argp/argp.h: Likewise.
7121 * libio/genops.c: Check whether
7122 _IO_JUMPS_OFFSET is defined with #ifdef rather
7124 * libio/libioP.h: Likewise.
7125 * stdio-common/vfprintf.c: Likewise.
7127 * sysdeps/generic/ldsodefs.h: Check whether
7128 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
7131 * nptl/sysdeps/pthread/pthread.h: Check
7132 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
7135 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
7137 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
7139 * libio/tst-ftell-active-handler.c (do_append_test): Add a
7143 * libio/fileops.c (_IO_file_open): Seek to end of file but
7144 don't cache the offset.
7145 (get_file_offset): Remove function.
7146 (do_ftell): Use cached offset when available.
7147 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
7148 don't cache the offset.
7149 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
7151 (do_one_test): Call it.
7152 (do_ftell_test): Fix up expected old offset for a+ mode.
7153 * libio/wfileops.c (do_ftell_wide): Used cached offset when
7156 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
7157 up test status with function return status.
7158 (do_write_test): Likewise.
7159 (do_append_test): Likewise.
7161 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
7162 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
7165 2014-03-17 Joseph Myers <joseph@codesourcery.com>
7167 * math/gen-libm-test.pl (parse_args): Handle results specified for
7168 each rounding mode separately.
7169 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
7170 tests and results from lrint_tonearest_test_data,
7171 lrint_towardzero_test_data, lrint_downward_test_data and
7172 lrint_upward_test_data.
7173 (lrint_test): Use ALL_RM_TEST.
7174 (lrint_tonearest_test_data): Remove.
7175 (lrint_test_tonearest): Likewise.
7176 (lrint_towardzero_test_data): Likewise.
7177 (lrint_test_towardzero): Likewise.
7178 (lrint_downward_test_data): Likewise.
7179 (lrint_test_downward): Likewise.
7180 (lrint_upward_test_data): Likewise.
7181 (lrint_test_upward): Likewise.
7182 (llrint_test_data): Merge in per-rounding-mode tests and results
7183 from llrint_tonearest_test_data, llrint_towardzero_test_data,
7184 llrint_downward_test_data and llrint_upward_test_data.
7185 (llrint_test): Use ALL_RM_TEST.
7186 (llrint_tonearest_test_data): Remove.
7187 (llrint_test_tonearest): Likewise.
7188 (llrint_towardzero_test_data): Likewise.
7189 (llrint_test_towardzero): Likewise.
7190 (llrint_downward_test_data): Likewise.
7191 (llrint_test_downward): Likewise.
7192 (llrint_upward_test_data): Likewise.
7193 (llrint_test_upward): Likewise.
7194 (rint_test_data): Merge in per-rounding-mode tests and results
7195 from rint_tonearest_test_data, rint_towardzero_test_data,
7196 rint_downward_test_data and rint_upward_test_data. Add
7197 per-rounding-mode results for tests not in those arrays.
7198 (rint_test): Use ALL_RM_TEST.
7199 (rint_tonearest_test_data): Remove.
7200 (rint_test_tonearest): Likewise.
7201 (rint_towardzero_test_data): Likewise.
7202 (rint_test_towardzero): Likewise.
7203 (rint_downward_test_data): Likewise.
7204 (rint_test_downward): Likewise.
7205 (rint_upward_test_data): Likewise.
7206 (rint_test_upward): Likewise.
7207 (main): Don't call removed functions.
7209 2014-03-14 Roland McGrath <roland@hack.frob.com>
7211 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
7212 "Compiled on ..." crapola. It is anti-useful.
7214 2014-03-14 Joseph Myers <joseph@codesourcery.com>
7216 * scripts/evaluate-test.sh: Handle fourth argument to determine
7217 whether test run should stop on failure.
7218 * Makeconfig (stop-on-test-failure): New variable.
7219 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
7220 $(stop-on-test-failure).
7221 * Makefile (tests): Give a summary of results from testing and
7222 exit with failure status if they include an ERROR or FAIL.
7224 * manual/install.texi (Configuring and compiling): Mention
7225 stop-on-test-failure=y.
7226 * INSTALL: Regenerated.
7228 2014-03-14 Roland McGrath <roland@hack.frob.com>
7230 * scripts/versionlist.awk: New file.
7231 * Makerules [$(build-shared) = yes]
7232 (postclean-generated): Add Versions.def, not Versions.def.v and
7234 ($(common-objpfx)Versions.def.v.i): Target removed.
7235 ($(common-objpfx)Versions.def): New target.
7236 ($(common-objpfx)Versions.all): Depend on that rather that
7237 $(common-objpfx)Versions.def.v.
7238 * Versions.def: File removed.
7240 * Makeconfig (+gccwarn): Add -Wundef.
7241 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
7242 a dl-sysdep.h breaking its contract.
7243 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
7244 * include/stackinfo.h: New file.
7245 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
7246 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
7247 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
7248 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
7249 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
7250 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
7251 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7252 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7253 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7254 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7255 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7256 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
7257 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7258 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7259 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7261 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7264 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
7266 * math/libm-test.inc (round_test_data): Add more tests.
7269 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
7271 * math/libm-test.inc (nearbyint_test_data): Add more tests.
7274 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
7276 * math/libm-test.inc (ceil_test_data): Add more tests.
7278 * math/libm-test.inc (trunc_test_data): Add more tests related to
7281 2014-03-14 Roland McGrath <roland@hack.frob.com>
7283 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
7284 with #if rather than #ifdef.
7285 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
7287 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
7289 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
7290 first. Disable AVX-512 GCC support if assembler doesn't support
7292 * sysdeps/x86_64/configure: Regenerated.
7294 2014-03-13 Carlos O'Donell <carlos@redhat.com>
7296 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
7297 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
7298 (__old_pthread_attr_setstack): Likewise.
7299 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
7300 [!_STACK_GROWS_DOWN]: Likewise.
7302 2014-03-13 Mike Frysinger <vapier@gentoo.org>
7304 * config.make.in (have-bash2): Delete.
7305 * configure.ac (libc_cv_have_bash2): Delete.
7306 * configure: Regenerate.
7307 * elf/Makefile (common-ldd-rewrite): Rename to ...
7308 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
7309 (sh-ldd-rewrite): Delete.
7310 (bash-ldd-rewrite): Delete.
7311 (have-bash2): Delete checks.
7312 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
7315 * config.make.in (have-ksh): Delete.
7317 * configure.ac (libc_cv_have_ksh): Delete.
7318 * configure: Regenerate.
7320 * elf/Makefile: Delete $(have-ksh) check.
7321 ($(objpfx)sotruss): Change KSH to BASH.
7322 * elf/sotruss.ksh: Rename to ...
7323 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
7324 function style to match POSIX. Drop ksh vim mode setting.
7326 * manual/time.texi (Specifying the Time Zone with TZ): Change
7327 Tuesday to Thursday.
7329 * debug/tst-longjmp_chk2.c: Update header comment.
7330 (stackoverflow_handler): Add comment. Call assert on pass value.
7332 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
7334 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
7335 (HAVE_AVX512_ASM_SUPPORT): Likewise.
7336 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
7337 (La_x86_64_vector): Add zmm.
7338 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
7339 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
7340 ($(objpfx)tst-audit10): New target.
7341 ($(objpfx)tst-audit10.out): Likewise.
7342 (tst-audit10-ENV): New.
7343 (AVX512-CFLAGS): Likewise.
7344 (CFLAGS-tst-audit10.c): Likewise.
7345 (CFLAGS-tst-auditmod10a.c): Likewise.
7346 (CFLAGS-tst-auditmod10b.c): Likewise.
7347 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
7348 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
7349 * sysdeps/x86_64/configure: Regenerated.
7350 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
7351 AVX-512 zmm register support.
7352 (_dl_x86_64_save_sse): Likewise.
7353 (_dl_x86_64_restore_sse): Likewise.
7354 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
7355 size vector registers.
7356 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
7357 (ZMM_SIZE): Likewise.
7358 * sysdeps/x86_64/tst-audit10.c: New file.
7359 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
7360 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
7362 2014-03-13 Roland McGrath <roland@hack.frob.com>
7364 * configure.ac (HAVE_EHDR_START): New check.
7365 * configure: Regenerated.
7366 * config.h.in (HAVE_EHDR_START): New #undef.
7367 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
7368 assuming the lowest-addressed segment maps the start of the file.
7370 2014-03-13 Joseph Myers <joseph@codesourcery.com>
7372 * INSTALL: Regenerated.
7374 2014-03-13 Will Newton <will.newton@linaro.org>
7376 * manual/setjmp.texi (System V contexts): Improve
7377 clarity and grammar of documentation.
7379 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
7382 * elf/Makefile (tests): Add tst-pie2.
7383 (tests-pie): Add tst-pie2.
7384 * elf/tst-pie2.c: New file.
7385 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
7387 * elf/rtld.c (map_doit): Load executable as lt_executable.
7388 (dl_main): Likewise.
7390 2014-03-12 Joseph Myers <joseph@codesourcery.com>
7393 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7394 (__ASSUME_PSELECT): Undefine.
7396 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7399 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
7400 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
7402 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
7403 selector for static builds.
7405 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
7408 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
7411 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7413 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
7414 IFUNC selector for static builds.
7416 2014-03-11 Joseph Myers <joseph@codesourcery.com>
7418 * sysdeps/mips/math_private.h [__mips_hard_float]
7419 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
7420 libc_feresetround_mips_ctx.
7421 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
7422 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
7423 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
7426 * math/s_nextafter.c (__nextafter): Do not return value from
7427 overflowing computation.
7428 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
7429 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
7430 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
7432 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
7434 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
7435 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
7437 2014-03-11 Roland McGrath <roland@hack.frob.com>
7439 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
7440 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
7441 Move sfi_sp use from the load-multiple (that no longer sets sp) to
7442 the new mov targetting sp.
7444 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7447 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
7448 Define it for static builds as well.
7449 (NO_BZERO_IMPL): Likewise.
7451 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
7453 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
7454 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
7455 multiarch strspn for PPC64.
7456 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
7457 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
7458 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7459 (__libc_ifunc_impl_list): Likewise.
7460 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
7461 multiarch optimizations
7462 * string/strspn.c (strspn): Using macro to redefine symbol name.
7464 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
7465 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7467 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
7468 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
7469 multiarch strncat for PPC64.
7470 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
7471 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
7472 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7473 (__libc_ifunc_impl_list): Likewise.
7474 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
7475 multiarch optimizations
7477 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7480 * nscd/nscd.service: Make service type forking.
7482 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7484 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
7485 sign in non default rounding modes.
7486 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
7488 2014-03-08 Joseph Myers <joseph@codesourcery.com>
7490 * math/libm-test.inc (ALL_RM_TEST): New macro.
7491 (ceil_test): Use ALL_RM_TEST.
7492 (cimag_test): Likewise.
7493 (conj_test): Likewise.
7494 (copysign_test): Likewise.
7495 (cproj_test): Likewise.
7496 (creal_test): Likewise.
7497 (fabs_test): Likewise.
7498 (floor_test): Likewise.
7499 (fmax_test): Likewise.
7500 (fmin_test): Likewise.
7501 (fmod_test): Likewise.
7502 (fpclassify_test): Likewise.
7503 (frexp_test): Likewise.
7504 (ilogb_test): Likewise.
7505 (isfinite_test): Likewise.
7506 (finite_test): Likewise.
7507 (isgreater_test): Likewise.
7508 (isgreaterequal_test): Likewise.
7509 (isinf_test): Likewise.
7510 (isless_test): Likewise.
7511 (islessequal_test): Likewise.
7512 (islessgreater_test): Likewise.
7513 (isnan_test): Likewise.
7514 (isnormal_test): Likewise.
7515 (issignaling_test): Likewise.
7516 (isunordered_test): Likewise.
7517 (logb_test): Likewise.
7518 (logb_downward_test_data): Remove.
7519 (logb_test_downward): Likewise.
7520 (lround_test): Use ALL_RM_TEST.
7521 (llround_test): Likewise.
7522 (modf_test): Likewise.
7523 (nexttoward_test): Likewise.
7524 (remainder_test): Likewise.
7525 (drem_test): Likewise.
7526 (remainder_tonearest_test_data): Likewise.
7527 (remainder_test_tonearest): Likewise.
7528 (drem_test_tonearest): Likewise.
7529 (remainder_towardzero_test_data): Likewise.
7530 (remainder_test_towardzero): Likewise.
7531 (drem_test_towardzero): Likewise.
7532 (remainder_downward_test_data): Likewise.
7533 (remainder_test_downward): Likewise.
7534 (drem_test_downward): Likewise.
7535 (remainder_upward_test_data): Likewise.
7536 (remainder_test_upward): Likewise.
7537 (drem_test_upward): Likewise.
7538 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
7539 (round_test): Use ALL_RM_TEST.
7540 (signbit_test): Likewise.
7541 (trunc_test): Likewise.
7542 (significand_test): Likewise.
7543 (main): Don't call removed functions.
7545 2014-03-07 Joseph Myers <joseph@codesourcery.com>
7548 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
7550 (ILL_ILLOPN): Likewise.
7551 (ILL_ILLADR): Likewise.
7552 (ILL_ILLTRP): Likewise.
7553 (ILL_PRVOPC): Likewise.
7554 (ILL_PRVREG): Likewise.
7555 (ILL_COPROC): Likewise.
7556 (ILL_BADSTK): Likewise.
7557 (FPE_INTDIV): Likewise.
7558 (FPE_INTOVF): Likewise.
7559 (FPE_FLTDIV): Likewise.
7560 (FPE_FLTOVF): Likewise.
7561 (FPE_FLTUND): Likewise.
7562 (FPE_FLTRES): Likewise.
7563 (FPE_FLTINV): Likewise.
7564 (FPE_FLTSUB): Likewise.
7565 (SEGV_MAPERR): Likewise.
7566 (SEGV_ACCERR): Likewise.
7567 (BUS_ADRALN): Likewise.
7568 (BUS_ADRERR): Likewise.
7569 (BUS_OBJERR): Likewise.
7570 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7571 (TRAP_TRACE): Likewise.
7572 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7574 (CLD_KILLED): Likewise.
7575 (CLD_DUMPED): Likewise.
7576 (CLD_TRAPPED): Likewise.
7577 (CLD_STOPPED): Likewise.
7578 (CLD_CONTINUED): Likewise.
7579 (POLL_IN): Likewise.
7580 (POLL_OUT): Likewise.
7581 (POLL_MSG): Likewise.
7582 (POLL_ERR): Likewise.
7583 (POLL_PRI): Likewise.
7584 (POLL_HUP): Likewise.
7585 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
7587 (ILL_ILLOPN): Likewise.
7588 (ILL_ILLADR): Likewise.
7589 (ILL_ILLTRP): Likewise.
7590 (ILL_PRVOPC): Likewise.
7591 (ILL_PRVREG): Likewise.
7592 (ILL_COPROC): Likewise.
7593 (ILL_BADSTK): Likewise.
7594 (FPE_INTDIV): Likewise.
7595 (FPE_INTOVF): Likewise.
7596 (FPE_FLTDIV): Likewise.
7597 (FPE_FLTOVF): Likewise.
7598 (FPE_FLTUND): Likewise.
7599 (FPE_FLTRES): Likewise.
7600 (FPE_FLTINV): Likewise.
7601 (FPE_FLTSUB): Likewise.
7602 (SEGV_MAPERR): Likewise.
7603 (SEGV_ACCERR): Likewise.
7604 (BUS_ADRALN): Likewise.
7605 (BUS_ADRERR): Likewise.
7606 (BUS_OBJERR): Likewise.
7607 (BUS_MCEERR_AR): Likewise.
7608 (BUS_MCEERR_AO): Likewise.
7609 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7610 (TRAP_TRACE): Likewise.
7611 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7613 (CLD_KILLED): Likewise.
7614 (CLD_DUMPED): Likewise.
7615 (CLD_TRAPPED): Likewise.
7616 (CLD_STOPPED): Likewise.
7617 (CLD_CONTINUED): Likewise.
7618 (POLL_IN): Likewise.
7619 (POLL_OUT): Likewise.
7620 (POLL_MSG): Likewise.
7621 (POLL_ERR): Likewise.
7622 (POLL_PRI): Likewise.
7623 (POLL_HUP): Likewise.
7624 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
7625 (ILL_ILLOPN): Likewise.
7626 (ILL_ILLADR): Likewise.
7627 (ILL_ILLTRP): Likewise.
7628 (ILL_PRVOPC): Likewise.
7629 (ILL_PRVREG): Likewise.
7630 (ILL_COPROC): Likewise.
7631 (ILL_BADSTK): Likewise.
7632 (FPE_INTDIV): Likewise.
7633 (FPE_INTOVF): Likewise.
7634 (FPE_FLTDIV): Likewise.
7635 (FPE_FLTOVF): Likewise.
7636 (FPE_FLTUND): Likewise.
7637 (FPE_FLTRES): Likewise.
7638 (FPE_FLTINV): Likewise.
7639 (FPE_FLTSUB): Likewise.
7640 (SEGV_MAPERR): Likewise.
7641 (SEGV_ACCERR): Likewise.
7642 (BUS_ADRALN): Likewise.
7643 (BUS_ADRERR): Likewise.
7644 (BUS_OBJERR): Likewise.
7645 (BUS_MCEERR_AR): Likewise.
7646 (BUS_MCEERR_AO): Likewise.
7647 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7648 (TRAP_TRACE): Likewise.
7649 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7651 (CLD_KILLED): Likewise.
7652 (CLD_DUMPED): Likewise.
7653 (CLD_TRAPPED): Likewise.
7654 (CLD_STOPPED): Likewise.
7655 (CLD_CONTINUED): Likewise.
7656 (POLL_IN): Likewise.
7657 (POLL_OUT): Likewise.
7658 (POLL_MSG): Likewise.
7659 (POLL_ERR): Likewise.
7660 (POLL_PRI): Likewise.
7661 (POLL_HUP): Likewise.
7662 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
7664 (ILL_ILLOPN): Likewise.
7665 (ILL_ILLADR): Likewise.
7666 (ILL_ILLTRP): Likewise.
7667 (ILL_PRVOPC): Likewise.
7668 (ILL_PRVREG): Likewise.
7669 (ILL_COPROC): Likewise.
7670 (ILL_BADSTK): Likewise.
7671 (ILL_BADIADDR): Likewise.
7672 (ILL_BREAK): 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 (FPE_DECOVF): Likewise.
7682 (FPE_DECDIV): Likewise.
7683 (FPE_DECERR): Likewise.
7684 (FPE_INVASC): Likewise.
7685 (FPE_INVDEC): Likewise.
7686 (SEGV_MAPERR): Likewise.
7687 (SEGV_ACCERR): Likewise.
7688 (SEGV_PSTKOVF): Likewise.
7689 (BUS_ADRALN): Likewise.
7690 (BUS_ADRERR): Likewise.
7691 (BUS_OBJERR): Likewise.
7692 (BUS_MCEERR_AR): Likewise.
7693 (BUS_MCEERR_AO): Likewise.
7694 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7695 (TRAP_TRACE): Likewise.
7696 (TRAP_BRANCH): Likewise.
7697 (TRAP_HWBKPT): Likewise.
7698 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7700 (CLD_KILLED): Likewise.
7701 (CLD_DUMPED): Likewise.
7702 (CLD_TRAPPED): Likewise.
7703 (CLD_STOPPED): Likewise.
7704 (CLD_CONTINUED): Likewise.
7705 (POLL_IN): Likewise.
7706 (POLL_OUT): Likewise.
7707 (POLL_MSG): Likewise.
7708 (POLL_ERR): Likewise.
7709 (POLL_PRI): Likewise.
7710 (POLL_HUP): Likewise.
7711 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
7712 (ILL_ILLOPN): Likewise.
7713 (ILL_ILLADR): Likewise.
7714 (ILL_ILLTRP): Likewise.
7715 (ILL_PRVOPC): Likewise.
7716 (ILL_PRVREG): Likewise.
7717 (ILL_COPROC): Likewise.
7718 (ILL_BADSTK): Likewise.
7719 (FPE_INTDIV): Likewise.
7720 (FPE_INTOVF): Likewise.
7721 (FPE_FLTDIV): Likewise.
7722 (FPE_FLTOVF): Likewise.
7723 (FPE_FLTUND): Likewise.
7724 (FPE_FLTRES): Likewise.
7725 (FPE_FLTINV): Likewise.
7726 (FPE_FLTSUB): Likewise.
7727 (SEGV_MAPERR): Likewise.
7728 (SEGV_ACCERR): Likewise.
7729 (BUS_ADRALN): Likewise.
7730 (BUS_ADRERR): Likewise.
7731 (BUS_OBJERR): Likewise.
7732 (BUS_MCEERR_AR): Likewise.
7733 (BUS_MCEERR_AO): Likewise.
7734 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7735 (TRAP_TRACE): Likewise.
7736 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7738 (CLD_KILLED): Likewise.
7739 (CLD_DUMPED): Likewise.
7740 (CLD_TRAPPED): Likewise.
7741 (CLD_STOPPED): Likewise.
7742 (CLD_CONTINUED): Likewise.
7743 (POLL_IN): Likewise.
7744 (POLL_OUT): Likewise.
7745 (POLL_MSG): Likewise.
7746 (POLL_ERR): Likewise.
7747 (POLL_PRI): Likewise.
7748 (POLL_HUP): Likewise.
7749 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
7750 (ILL_ILLOPN): Likewise.
7751 (ILL_ILLADR): Likewise.
7752 (ILL_ILLTRP): Likewise.
7753 (ILL_PRVOPC): Likewise.
7754 (ILL_PRVREG): Likewise.
7755 (ILL_COPROC): Likewise.
7756 (ILL_BADSTK): Likewise.
7757 (FPE_INTDIV): Likewise.
7758 (FPE_INTOVF): Likewise.
7759 (FPE_FLTDIV): Likewise.
7760 (FPE_FLTOVF): Likewise.
7761 (FPE_FLTUND): Likewise.
7762 (FPE_FLTRES): Likewise.
7763 (FPE_FLTINV): Likewise.
7764 (FPE_FLTSUB): Likewise.
7765 (SEGV_MAPERR): Likewise.
7766 (SEGV_ACCERR): Likewise.
7767 (BUS_ADRALN): Likewise.
7768 (BUS_ADRERR): Likewise.
7769 (BUS_OBJERR): Likewise.
7770 (BUS_MCEERR_AR): Likewise.
7771 (BUS_MCEERR_AO): Likewise.
7772 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7773 (TRAP_TRACE): Likewise.
7774 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7776 (CLD_KILLED): Likewise.
7777 (CLD_DUMPED): Likewise.
7778 (CLD_TRAPPED): Likewise.
7779 (CLD_STOPPED): Likewise.
7780 (CLD_CONTINUED): Likewise.
7781 (POLL_IN): Likewise.
7782 (POLL_OUT): Likewise.
7783 (POLL_MSG): Likewise.
7784 (POLL_ERR): Likewise.
7785 (POLL_PRI): Likewise.
7786 (POLL_HUP): Likewise.
7787 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
7788 (ILL_ILLOPN): Likewise.
7789 (ILL_ILLADR): Likewise.
7790 (ILL_ILLTRP): Likewise.
7791 (ILL_PRVOPC): Likewise.
7792 (ILL_PRVREG): Likewise.
7793 (ILL_COPROC): Likewise.
7794 (ILL_BADSTK): Likewise.
7795 (FPE_INTDIV): Likewise.
7796 (FPE_INTOVF): Likewise.
7797 (FPE_FLTDIV): Likewise.
7798 (FPE_FLTOVF): Likewise.
7799 (FPE_FLTUND): Likewise.
7800 (FPE_FLTRES): Likewise.
7801 (FPE_FLTINV): Likewise.
7802 (FPE_FLTSUB): Likewise.
7803 (SEGV_MAPERR): Likewise.
7804 (SEGV_ACCERR): Likewise.
7805 (BUS_ADRALN): Likewise.
7806 (BUS_ADRERR): Likewise.
7807 (BUS_OBJERR): Likewise.
7808 (BUS_MCEERR_AR): Likewise.
7809 (BUS_MCEERR_AO): Likewise.
7810 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7811 (TRAP_TRACE): Likewise.
7812 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7814 (CLD_KILLED): Likewise.
7815 (CLD_DUMPED): Likewise.
7816 (CLD_TRAPPED): Likewise.
7817 (CLD_STOPPED): Likewise.
7818 (CLD_CONTINUED): Likewise.
7819 (POLL_IN): Likewise.
7820 (POLL_OUT): Likewise.
7821 (POLL_MSG): Likewise.
7822 (POLL_ERR): Likewise.
7823 (POLL_PRI): Likewise.
7824 (POLL_HUP): Likewise.
7825 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
7826 (ILL_ILLOPN): Likewise.
7827 (ILL_ILLADR): Likewise.
7828 (ILL_ILLTRP): Likewise.
7829 (ILL_PRVOPC): Likewise.
7830 (ILL_PRVREG): Likewise.
7831 (ILL_COPROC): Likewise.
7832 (ILL_BADSTK): Likewise.
7833 (ILL_DBLFLT): Likewise.
7834 (ILL_HARDWALL): Likewise.
7835 (FPE_INTDIV): Likewise.
7836 (FPE_INTOVF): Likewise.
7837 (FPE_FLTDIV): Likewise.
7838 (FPE_FLTOVF): Likewise.
7839 (FPE_FLTUND): Likewise.
7840 (FPE_FLTRES): Likewise.
7841 (FPE_FLTINV): Likewise.
7842 (FPE_FLTSUB): Likewise.
7843 (SEGV_MAPERR): Likewise.
7844 (SEGV_ACCERR): Likewise.
7845 (BUS_ADRALN): Likewise.
7846 (BUS_ADRERR): Likewise.
7847 (BUS_OBJERR): Likewise.
7848 (BUS_MCEERR_AR): Likewise.
7849 (BUS_MCEERR_AO): Likewise.
7850 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7851 (TRAP_TRACE): Likewise.
7852 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7854 (CLD_KILLED): Likewise.
7855 (CLD_DUMPED): Likewise.
7856 (CLD_TRAPPED): Likewise.
7857 (CLD_STOPPED): Likewise.
7858 (CLD_CONTINUED): Likewise.
7859 (POLL_IN): Likewise.
7860 (POLL_OUT): Likewise.
7861 (POLL_MSG): Likewise.
7862 (POLL_ERR): Likewise.
7863 (POLL_PRI): Likewise.
7864 (POLL_HUP): Likewise.
7865 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
7866 (ILL_ILLOPN): Likewise.
7867 (ILL_ILLADR): Likewise.
7868 (ILL_ILLTRP): Likewise.
7869 (ILL_PRVOPC): Likewise.
7870 (ILL_PRVREG): Likewise.
7871 (ILL_COPROC): Likewise.
7872 (ILL_BADSTK): Likewise.
7873 (FPE_INTDIV): Likewise.
7874 (FPE_INTOVF): Likewise.
7875 (FPE_FLTDIV): Likewise.
7876 (FPE_FLTOVF): Likewise.
7877 (FPE_FLTUND): Likewise.
7878 (FPE_FLTRES): Likewise.
7879 (FPE_FLTINV): Likewise.
7880 (FPE_FLTSUB): Likewise.
7881 (SEGV_MAPERR): Likewise.
7882 (SEGV_ACCERR): Likewise.
7883 (BUS_ADRALN): Likewise.
7884 (BUS_ADRERR): Likewise.
7885 (BUS_OBJERR): Likewise.
7886 (BUS_MCEERR_AR): Likewise.
7887 (BUS_MCEERR_AO): Likewise.
7888 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7889 (TRAP_TRACE): Likewise.
7890 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7892 (CLD_KILLED): Likewise.
7893 (CLD_DUMPED): Likewise.
7894 (CLD_TRAPPED): Likewise.
7895 (CLD_STOPPED): Likewise.
7896 (CLD_CONTINUED): Likewise.
7897 (POLL_IN): Likewise.
7898 (POLL_OUT): Likewise.
7899 (POLL_MSG): Likewise.
7900 (POLL_ERR): Likewise.
7901 (POLL_PRI): Likewise.
7902 (POLL_HUP): Likewise.
7903 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
7904 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
7907 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
7908 before #include of <time.h>.
7909 [!__USE_XOPEN2K] (__need_timespec): Likewise.
7910 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
7911 (test-xfail-UNIX98/sched.h/conform): Likewise.
7913 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
7915 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
7916 error absence of trapping exception support.
7917 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
7919 2014-03-07 Joseph Myers <joseph@codesourcery.com>
7921 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
7922 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
7923 * timezone/Makefile (testdata): Move definition above include of
7925 (test-zones): New variable.
7926 (tests-special): Add zone files.
7927 (build-testdata): Use $(evaluate-test).
7929 * elf/Makefile (tests-special): Rename tests to end with .out.
7930 ($(objpfx)noload-mem): Likewise.
7931 ($(objpfx)tst-leaks1-mem): Likewise.
7932 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
7933 * iconv/Makefile (xtests-special): Change test-iconvconfig to
7934 $(objpfx)test-iconvconfig.out.
7935 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
7936 set -e inside subshell and redirect output to file.
7937 * iconvdata/Makefile (generated): Rename tests to end with .out.
7939 (tests-special): Rename tests to end with .out.
7940 ($(objpfx)mtrace-tst-loading): Likewise.
7941 * intl/Makefile (generated): Likewise.
7942 (tests-special): Likewise.
7943 ($(objpfx)mtrace-tst-gettext): Likewise.
7944 * misc/Makefile (generated): Likewise.
7945 (tests-special): Likewise.
7946 ($(objpfx)tst-error1-mem): Likewise.
7947 * nptl/Makefile (tests-special): Likewise.
7948 ($(objpfx)tst-stack3-mem): Likewise.
7949 (generated): Likewise.
7950 * posix/Makefile (generated): Likewise.
7951 (tests-special): Likewise.
7952 (xtests-special): Likewise.
7953 ($(objpfx)tst-fnmatch-mem): Likewise.
7954 ($(objpfx)bug-regex2-mem): Likewise.
7955 ($(objpfx)bug-regex14-mem): Likewise.
7956 ($(objpfx)bug-regex21-mem): Likewise.
7957 ($(objpfx)bug-regex31-mem): Likewise.
7958 ($(objpfx)tst-vfork3-mem): Likewise.
7959 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
7960 ($(objpfx)tst-pcre-mem): Likewise.
7961 ($(objpfx)tst-boost-mem): Likewise.
7962 ($(objpfx)bug-ga2-mem): Likewise.
7963 ($(objpfx)bug-glob2-mem): Likewise.
7964 * resolv/Makefile (generate): Likewise.
7965 (tests-special): Likewise.
7966 (xtests-special): Likewise.
7967 (generated): Likewise.
7968 ($(objpfx)mtrace-tst-leaks): Likewise.
7969 ($(objpfx)mtrace-tst-leaks2): Likewise.
7971 * scripts/merge-test-results.sh: New file.
7972 * Makefile (tests-special-notdir): New variable.
7973 (tests): Run merge-test-results.sh.
7975 * Rules (tests-special-notdir): New variable.
7976 (xtests-special-notdir): Likewise.
7977 (tests): Run merge-test-results.sh
7980 * Makeconfig (test-xfail-name): New variable.
7981 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
7982 compute variable name for expected failures.
7983 * conform/Makefile (conformtest-headers-data): New variable.
7984 (conformtest-standards): Likewise.
7985 (conformtest-headers-ISO): Likewise.
7986 (conformtest-headers-ISO99): Likewise.
7987 (conformtest-headers-ISO11): Likewise.
7988 (conformtest-headers-POSIX): Likewise.
7989 (conformtest-headers-XPG3): Likewise.
7990 (conformtest-headers-XPG4): Likewise.
7991 (conformtest-headers-UNIX98): Likewise.
7992 (conformtest-headers-XOPEN2K): Likewise.
7993 (conformtest-headers-POSIX2008): Likewise.
7994 (conformtest-headers-XOPEN2K8): Likewise.
7995 (conformtest-header-list-base): Likewise.
7996 (conformtest-header-list-tests): Likewise.
7997 (conformtest-header-base): Likewise.
7998 (conformtest-header-tests): Likewise.
7999 (tests-special): Add $(conformtest-header-list-tests). If
8000 [$(fast-check) && !$(cross-compiling)], add
8001 $(conformtest-header-tests) instead of
8002 $(objpfx)run-conformtest.out.
8003 (generated): Add $(conformtest-header-list-base). If
8004 [$(fast-check) && !$(cross-compiling)], add
8005 $(conformtest-header-base). Remove previous setting.
8006 ($(conformtest-header-list-tests)): New target.
8007 (test-xfail-run-conformtest): Remove variable.
8008 ($(objpfx)run-conformtest.out): Remove target.
8009 (test-xfail-ISO11/complex.h/conform): New variable.
8010 (test-xfail-ISO11/stdalign.h/conform): Likewise.
8011 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
8012 (test-xfail-XPG3/varargs.h/conform): Likewise.
8013 (test-xfail-XPG4/varargs.h/conform): Likewise.
8014 (test-xfail-UNIX98/varargs.h/conform): Likewise.
8015 (test-xfail-XPG4/ndbm.h/conform): Likewise.
8016 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
8017 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
8018 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
8019 (test-xfail-XPG3/fcntl.h/conform): Likewise.
8020 (test-xfail-XPG3/ftw.h/conform): Likewise.
8021 (test-xfail-XPG3/grp.h/conform): Likewise.
8022 (test-xfail-XPG3/langinfo.h/conform): Likewise.
8023 (test-xfail-XPG3/limits.h/conform): Likewise.
8024 (test-xfail-XPG3/pwd.h/conform): Likewise.
8025 (test-xfail-XPG3/search.h/conform): Likewise.
8026 (test-xfail-XPG3/signal.h/conform): Likewise.
8027 (test-xfail-XPG3/stdio.h/conform): Likewise.
8028 (test-xfail-XPG3/stdlib.h/conform): Likewise.
8029 (test-xfail-XPG3/string.h/conform): Likewise.
8030 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
8031 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
8032 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
8033 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
8034 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
8035 (test-xfail-XPG3/sys/types.h/conform): Likewise.
8036 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
8037 (test-xfail-XPG3/termios.h/conform): Likewise.
8038 (test-xfail-XPG3/time.h/conform): Likewise.
8039 (test-xfail-XPG3/unistd.h/conform): Likewise.
8040 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
8041 (test-xfail-XPG4/fcntl.h/conform): Likewise.
8042 (test-xfail-XPG4/langinfo.h/conform): Likewise.
8043 (test-xfail-XPG4/netdb.h/conform): Likewise.
8044 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
8045 (test-xfail-XPG4/signal.h/conform): Likewise.
8046 (test-xfail-XPG4/stdio.h/conform): Likewise.
8047 (test-xfail-XPG4/stdlib.h/conform): Likewise.
8048 (test-xfail-XPG4/stropts.h/conform): Likewise.
8049 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
8050 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
8051 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
8052 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
8053 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
8054 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
8055 (test-xfail-XPG4/sys/time.h/conform): Likewise.
8056 (test-xfail-XPG4/sys/types.h/conform): Likewise.
8057 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
8058 (test-xfail-XPG4/termios.h/conform): Likewise.
8059 (test-xfail-XPG4/ucontext.h/conform): Likewise.
8060 (test-xfail-XPG4/unistd.h/conform): Likewise.
8061 (test-xfail-XPG4/utmpx.h/conform): Likewise.
8062 (test-xfail-POSIX/sched.h/conform): Likewise.
8063 (test-xfail-POSIX/signal.h/conform): Likewise.
8064 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
8065 (test-xfail-POSIX/tar.h/conform): Likewise.
8066 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
8067 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
8068 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
8069 (test-xfail-UNIX98/netdb.h/conform): Likewise.
8070 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
8071 (test-xfail-UNIX98/sched.h/conform): Likewise.
8072 (test-xfail-UNIX98/signal.h/conform): Likewise.
8073 (test-xfail-UNIX98/stdio.h/conform): Likewise.
8074 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
8075 (test-xfail-UNIX98/stropts.h/conform): Likewise.
8076 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
8077 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
8078 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
8079 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
8080 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
8081 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
8082 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
8083 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
8084 (test-xfail-UNIX98/unistd.h/conform): Likewise.
8085 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
8086 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
8087 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
8088 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
8089 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
8090 (test-xfail-XOPEN2K/math.h/conform): Likewise.
8091 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
8092 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
8093 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
8094 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
8095 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
8096 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
8097 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
8098 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
8099 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
8100 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
8101 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
8102 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
8103 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
8104 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
8105 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
8106 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
8107 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
8108 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
8109 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
8110 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
8111 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
8112 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
8113 (test-xfail-POSIX2008/signal.h/conform): Likewise.
8114 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
8115 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
8116 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
8117 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
8118 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
8119 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
8120 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
8121 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
8122 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
8123 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
8124 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
8125 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
8126 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
8127 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
8128 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
8129 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
8130 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
8131 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
8132 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
8133 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
8134 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
8135 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
8136 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
8137 (conformtest-cc-flags): Likewise.
8138 ($(conformtest-header-tests): New target.
8139 * conform/check-header-lists.sh: New file.
8140 * conform/run-conformtest.sh: Remove.
8142 * conform/conformtest.pl: Allow ' and \ in values given for
8144 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
8146 [POSIX] (sys/types.h): Likewise.
8147 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
8149 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
8151 * conform/data/signal.h-data (SIGIO): Remove expectation.
8152 [XPG3] (SIGBUS): Do not expect.
8153 [POSIX || XPG3] (SIGPOLL): Likewise.
8154 [POSIX || XPG3] (SIGPROF): Likewise.
8155 [POSIX || XPG3] (SIGSYS): Likewise.
8156 [XPG3] (SIGTRAP): Likewise.
8157 [POSIX || XPG3] (SIGURG): Likewise.
8158 [POSIX || XPG3] (SIGVTALRM): Likewise.
8159 [POSIX || XPG3] (SIGXCPU): Likewise.
8160 [POSIX || XPG3] (SIGXFSZ): Likewise.
8161 [POSIX] (SA_SIGINFO): Expect.
8162 [XPG3] (siginfo_t): Do not expect type or contents.
8163 [POSIX] (si_pid): Do not expect element.
8164 [POSIX] (si_uid): Likewise.
8165 [POSIX] (si_addr): Likewise.
8166 [POSIX] (si_status): Likewise.
8167 [POSIX] (si_band): Likewise.
8168 [XPG4] (si_value): Likewise.
8169 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
8170 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
8171 [POSIX || XPG3] (ILL_ILLADR): Likewise.
8172 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
8173 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
8174 [POSIX || XPG3] (ILL_PRVREG): Likewise.
8175 [POSIX || XPG3] (ILL_COPROC): Likewise.
8176 [POSIX || XPG3] (ILL_BADSTK): Likewise.
8177 [POSIX || XPG3] (FPE_INTDIV): Likewise.
8178 [POSIX || XPG3] (FPE_INTOVF): Likewise.
8179 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
8180 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
8181 [POSIX || XPG3] (FPE_FLTUND): Likewise.
8182 [POSIX || XPG3] (FPE_FLTRES): Likewise.
8183 [POSIX || XPG3] (FPE_FLTINV): Likewise.
8184 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
8185 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
8186 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
8187 [POSIX || XPG3] (BUS_ADRALN): Likewise.
8188 [POSIX || XPG3] (BUS_ADRERR): Likewise.
8189 [POSIX || XPG3] (BUS_OBJERR): Likewise.
8190 [POSIX || XPG3] (CLD_EXITED): Likewise.
8191 [POSIX || XPG3] (CLD_KILLED): Likewise.
8192 [POSIX || XPG3] (CLD_DUMPED): Likewise.
8193 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
8194 [POSIX || XPG3] (CLD_STOPPED): Likewise.
8195 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
8196 [POSIX || XPG3] (POLL_IN): Likewise.
8197 [POSIX || XPG3] (POLL_OUT): Likewise.
8198 [POSIX || XPG3] (POLL_MSG): Likewise.
8199 [POSIX || XPG3] (POLL_ERR): Likewise.
8200 [POSIX || XPG3] (POLL_PRI): Likewise.
8201 [POSIX || XPG3] (POLL_HUP): Likewise.
8202 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
8203 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
8204 (SIG*): Do not allow.
8205 [XPG3] (si_*): Likewise.
8206 [XPG3] (SI_*): Likewise.
8207 [XPG3 || XPG4] (sigev_*): Likewise.
8208 [XPG3 || XPG4] (SIGEV_*): Likewise.
8209 [XPG3 || XPG4] (sival_*): Likewise.
8210 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
8211 [POSIX || XPG3] (BUS_*): Likewise.
8212 [POSIX || XPG3] (CLD_*): Likewise.
8213 [POSIX || XPG3] (FPE_*): Likewise.
8214 [POSIX || XPG3] (ILL_*): Likewise.
8215 [POSIX || XPG3] (POLL_*): Likewise.
8216 [POSIX || XPG3] (SEGV_*): Likewise.
8217 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
8218 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
8219 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
8220 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
8221 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
8222 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
8223 Specify type and value.
8224 (TVERSLEN): Likewise.
8225 (REGTYPE): Likewise.
8226 (AREGTYPE): Likewise.
8227 (LNKTYPE): Likewise.
8228 (SYMTYPE): Likewise.
8229 (CHRTYPE): Likewise.
8230 (BLKTYPE): Likewise.
8231 (DIRTYPE): Likewise.
8232 (FIFOTYPE): Likewise.
8233 (CONTTYPE): Likewise.
8238 (TUWRITE): Likewise.
8241 (TGWRITE): Likewise.
8244 (TOWRITE): Likewise.
8246 [POSIX] (TSVTX): Expect constant.
8248 2014-03-06 Joseph Myers <joseph@codesourcery.com>
8250 * Makefile (tests): Change dependencies to ....
8251 (tests-special): ... additions to this variable.
8252 (tests): Depend on $(tests-special).
8253 * Makerules (check-abi-list): New variable.
8254 (check-abi): Depend on $(check-abi-list).
8255 [$(subdir) = elf] (tests-special): Add
8256 $(objpfx)check-abi-libc.out.
8257 [$(build-shared) = yes && subdir] (tests-special): Add
8259 [$(build-shared) = yes && subdir] (tests): Do not depend on
8261 * Rules (tests): Depend on $(tests-special).
8262 (xtests): Depend on $(xtests-special).
8263 * catgets/Makefile (tests): Change dependencies to ....
8264 (tests-special): ... additions to this variable.
8265 * conform/Makefile (tests): Change dependencies to ....
8266 (tests-special): ... additions to this variable.
8267 * elf/Makefile (tests): Change dependencies to ....
8268 (tests-special): ... additions to this variable.
8269 * grp/Makefile (tests): Change dependencies to ....
8270 (tests-special): ... additions to this variable.
8271 * iconv/Makefile (xtests): Change dependencies to ....
8272 (xtests-special): ... additions to this variable.
8273 * iconvdata/Makefile (tests): Change dependencies to ....
8274 (tests-special): ... additions to this variable.
8275 * intl/Makefile (tests): Change dependencies to ....
8276 (tests-special): ... additions to this variable. Also add
8277 $(objpfx)tst-gettext.out.
8278 * io/Makefile (tests): Change dependencies to ....
8279 (tests-special): ... additions to this variable.
8280 * libio/Makefile (tests): Change dependencies to ....
8281 (tests-special): ... additions to this variable.
8282 * malloc/Makefile (tests): Change dependencies to ....
8283 (tests-special): ... additions to this variable.
8284 * misc/Makefile (tests): Change dependencies to ....
8285 (tests-special): ... additions to this variable.
8286 * nptl/Makefile (tests): Change dependencies to ....
8287 (tests-special): ... additions to this variable.
8288 * nptl_db/Makefile (tests): Change dependencies to ....
8289 (tests-special): ... additions to this variable.
8290 * posix/Makefile (tests): Change dependencies to ....
8291 (tests-special): ... additions to this variable.
8292 (xtests): Change dependencies to ....
8293 (xtests-special): ... additions to this variable.
8294 * resolv/Makefile (tests): Change dependencies to ....
8295 (tests-special): ... additions to this variable.
8296 (xtests): Change dependencies to ....
8297 (xtests-special): ... additions to this variable.
8298 * stdio-common/Makefile (tests): Change dependencies to ....
8299 (tests-special): ... additions to this variable.
8300 (do-tst-unbputc): Remove target.
8301 (do-tst-printf): Likewise.
8302 * stdlib/Makefile (tests): Change dependencies to ....
8303 (tests-special): ... additions to this variable.
8304 * string/Makefile (tests): Change dependencies to ....
8305 (tests-special): ... additions to this variable.
8306 * sysdeps/x86/Makefile (tests): Change dependencies to ....
8307 (tests-special): ... additions to this variable.
8309 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
8311 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
8313 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
8314 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
8316 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
8317 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
8318 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
8319 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
8320 * conform/data/libgen.h-data [XPG3]: Likewise.
8321 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
8322 * conform/data/ndbm.h-data [XPG3]: Likewise.
8323 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
8324 * conform/data/netdb.h-data [XPG3]: Likewise.
8325 * conform/data/netinet/in.h-data [XPG3]: Likewise.
8326 * conform/data/poll.h-data [XPG3]: Likewise.
8327 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
8328 * conform/data/strings.h-data [XPG3]: Likewise.
8329 * conform/data/stropts.h-data [XPG3]: Likewise.
8330 * conform/data/sys/mman.h-data [XPG3]: Likewise.
8331 * conform/data/sys/resource.h-data [XPG3]: Likewise.
8332 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
8334 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
8335 * conform/data/sys/time.h-data [XPG3]: Likewise.
8336 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
8337 * conform/data/sys/uio.h-data [XPG3]: Likewise.
8338 * conform/data/sys/un.h-data [XPG3]: Likewise.
8339 * conform/data/syslog.h-data [XPG3]: Likewise.
8340 * conform/data/ucontext.h-data [XPG3]: Likewise.
8341 * conform/data/utmpx.h-data [XPG3]: Likewise.
8342 * conform/data/varargs.h-data [UNIX98]: Enable file.
8344 * manual/Makefile (INSTALL_INFO): Remove variable setting.
8346 * math/libm-test.inc (struct test_f_f_data): Move expected results
8347 into structure for each rounding mode.
8348 (struct test_ff_f_data): Likewise.
8349 (struct test_ff_f_data_nexttoward): Likewise.
8350 (struct test_fi_f_data): Likewise.
8351 (struct test_fl_f_data): Likewise.
8352 (struct test_if_f_data): Likewise.
8353 (struct test_fff_f_data): Likewise.
8354 (struct test_c_f_data): Likewise.
8355 (struct test_f_f1_data): Likewise.
8356 (struct test_fF_f1_data): Likewise.
8357 (struct test_ffI_f1_data): Likewise.
8358 (struct test_c_c_data): Likewise.
8359 (struct test_cc_c_data): Likewise.
8360 (struct test_f_i_data): Likewise.
8361 (struct test_ff_i_data): Likewise.
8362 (struct test_f_l_data): Likewise.
8363 (struct test_f_L_data): Likewise.
8364 (struct test_fFF_11_data): Likewise.
8366 (RM_FE_DOWNWARD): Likewise.
8367 (RM_FE_TONEAREST): Likewise.
8368 (RM_FE_TOWARDZERO): Likewise.
8369 (RM_FE_UPWARD): Likewise.
8370 (RUN_TEST_LOOP_f_f): Update references to expected results.
8371 (RUN_TEST_LOOP_2_f): Likewise.
8372 (RUN_TEST_LOOP_fff_f): Likewise.
8373 (RUN_TEST_LOOP_c_f): Likewise.
8374 (RUN_TEST_LOOP_f_f1): Likewise.
8375 (RUN_TEST_LOOP_fF_f1): Likewise.
8376 (RUN_TEST_LOOP_fI_f1): Likewise.
8377 (RUN_TEST_LOOP_ffI_f1): Likewise.
8378 (RUN_TEST_LOOP_c_c): Likewise.
8379 (RUN_TEST_LOOP_cc_c): Likewise.
8380 (RUN_TEST_LOOP_f_i): Likewise.
8381 (RUN_TEST_LOOP_f_i_tg): Likewise.
8382 (RUN_TEST_LOOP_ff_i_tg): Likewise.
8383 (RUN_TEST_LOOP_f_b): Likewise.
8384 (RUN_TEST_LOOP_f_b_tg): Likewise.
8385 (RUN_TEST_LOOP_f_l): Likewise.
8386 (RUN_TEST_LOOP_f_L): Likewise.
8387 (RUN_TEST_LOOP_fFF_11): Likewise.
8388 * math/gen-libm-test.pl (parse_args): Output four copies of
8389 expected results for each test.
8391 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
8392 (__ASSUME_UTIMES): Remove.
8393 * sysdeps/unix/sysv/linux/tile/kernel-features.h
8394 (__ASSUME_UTIMES): Likewise.
8396 * math/gen-auto-libm-tests.c: Update comment on output format.
8397 (output_for_one_input_case): Generate before-rounding and
8398 after-rounding information as conditions on output flags not
8399 floating-point format.
8400 * math/auto-libm-test-out: Regenerated.
8401 * math/gen-libm-test.pl (cond_value): New function.
8402 (or_cond_value): Use cond_value.
8403 (generate_testfile): Handle conditional exceptions.
8405 2014-03-05 Joseph Myers <joseph@codesourcery.com>
8407 * math/libm-test.inc (max_valid_error): New variable.
8408 (init_max_error): Take new argument specifying whether function
8409 results are exactly determined. Set max_valid_error and bound
8410 other variables for errors based on this argument.
8411 (set_max_error): Do not record results above max_valid_error.
8412 (check_float_internal): Only accept errors of up to 0.5ulps if
8413 also at most max_valid_error.
8414 (START): Take new argument EXACT and pass it to init_max_error.
8415 (acos_test): Update call to START.
8416 (acos_test_tonearest): Likewise.
8417 (acos_test_towardzero): Likewise.
8418 (acos_test_downward): Likewise.
8419 (acos_test_upward): Likewise.
8420 (acosh_test): Likewise.
8421 (asin_test): Likewise.
8422 (asin_test_tonearest): Likewise.
8423 (asin_test_towardzero): Likewise.
8424 (asin_test_downward): Likewise.
8425 (asin_test_upward): Likewise.
8426 (asinh_test): Likewise.
8427 (atan_test): Likewise.
8428 (atanh_test): Likewise.
8429 (atan2_test): Likewise.
8430 (cabs_test): Likewise.
8431 (cacos_test): Likewise.
8432 (cacosh_test): Likewise.
8433 (carg_test): Likewise.
8434 (casin_test): Likewise.
8435 (casinh_test): Likewise.
8436 (catan_test): Likewise.
8437 (catanh_test): Likewise.
8438 (cbrt_test): Likewise.
8439 (ccos_test): Likewise.
8440 (ccosh_test): Likewise.
8441 (ceil_test): Likewise.
8442 (cexp_test): Likewise.
8443 (cimag_test): Likewise.
8444 (clog_test): Likewise.
8445 (clog10_test): Likewise.
8446 (conj_test): Likewise.
8447 (copysign_test): Likewise.
8448 (cos_test): Likewise.
8449 (cos_test_tonearest): Likewise.
8450 (cos_test_towardzero): Likewise.
8451 (cos_test_downward): Likewise.
8452 (cos_test_upward): Likewise.
8453 (cosh_test): Likewise.
8454 (cosh_test_tonearest): Likewise.
8455 (cosh_test_towardzero): Likewise.
8456 (cosh_test_downward): Likewise.
8457 (cosh_test_upward): Likewise.
8458 (cpow_test): Likewise.
8459 (cproj_test): Likewise.
8460 (creal_test): Likewise.
8461 (csin_test): Likewise.
8462 (csinh_test): Likewise.
8463 (csqrt_test): Likewise.
8464 (ctan_test): Likewise.
8465 (ctan_test_tonearest): Likewise.
8466 (ctan_test_towardzero): Likewise.
8467 (ctan_test_downward): Likewise.
8468 (ctan_test_upward): Likewise.
8469 (ctanh_test): Likewise.
8470 (ctanh_test_tonearest): Likewise.
8471 (ctanh_test_towardzero): Likewise.
8472 (ctanh_test_downward): Likewise.
8473 (ctanh_test_upward): Likewise.
8474 (erf_test): Likewise.
8475 (erfc_test): Likewise.
8476 (exp_test): Likewise.
8477 (exp_test_tonearest): Likewise.
8478 (exp_test_towardzero): Likewise.
8479 (exp_test_downward): Likewise.
8480 (exp_test_upward): Likewise.
8481 (exp10_test): Likewise.
8482 (exp10_test_tonearest): Likewise.
8483 (exp10_test_towardzero): Likewise.
8484 (exp10_test_downward): Likewise.
8485 (exp10_test_upward): Likewise.
8486 (pow10_test): Likewise.
8487 (exp2_test): Likewise.
8488 (expm1_test): Likewise.
8489 (expm1_test_tonearest): Likewise.
8490 (expm1_test_towardzero): Likewise.
8491 (expm1_test_downward): Likewise.
8492 (expm1_test_upward): Likewise.
8493 (fabs_test): Likewise.
8494 (fdim_test): Likewise.
8495 (floor_test): Likewise.
8496 (fma_test): Likewise.
8497 (fma_test_towardzero): Likewise.
8498 (fma_test_downward): Likewise.
8499 (fma_test_upward): Likewise.
8500 (fmax_test): Likewise.
8501 (fmin_test): Likewise.
8502 (fmod_test): Likewise.
8503 (fpclassify_test): Likewise.
8504 (frexp_test): Likewise.
8505 (hypot_test): Likewise.
8506 (ilogb_test): Likewise.
8507 (isfinite_test): Likewise.
8508 (finite_test): Likewise.
8509 (isgreater_test): Likewise.
8510 (isgreaterequal_test): Likewise.
8511 (isinf_test): Likewise.
8512 (isless_test): Likewise.
8513 (islessequal_test): Likewise.
8514 (islessgreater_test): Likewise.
8515 (isnan_test): Likewise.
8516 (isnormal_test): Likewise.
8517 (issignaling_test): Likewise.
8518 (isunordered_test): Likewise.
8519 (j0_test): Likewise.
8520 (j1_test): Likewise.
8521 (jn_test): Likewise.
8522 (ldexp_test): Likewise.
8523 (lgamma_test): Likewise.
8524 (gamma_test): Likewise.
8525 (lrint_test): Likewise.
8526 (lrint_test_tonearest): Likewise.
8527 (lrint_test_towardzero): Likewise.
8528 (lrint_test_downward): Likewise.
8529 (lrint_test_upward): Likewise.
8530 (llrint_test): Likewise.
8531 (llrint_test_tonearest): Likewise.
8532 (llrint_test_towardzero): Likewise.
8533 (llrint_test_downward): Likewise.
8534 (llrint_test_upward): Likewise.
8535 (log_test): Likewise.
8536 (log10_test): Likewise.
8537 (log1p_test): Likewise.
8538 (log2_test): Likewise.
8539 (logb_test): Likewise.
8540 (logb_test_downward): Likewise.
8541 (lround_test): Likewise.
8542 (llround_test): Likewise.
8543 (modf_test): Likewise.
8544 (nearbyint_test): Likewise.
8545 (nextafter_test): Likewise.
8546 (nexttoward_test): Likewise.
8547 (pow_test): Likewise.
8548 (pow_test_tonearest): Likewise.
8549 (pow_test_towardzero): Likewise.
8550 (pow_test_downward): Likewise.
8551 (pow_test_upward): Likewise.
8552 (remainder_test): Likewise.
8553 (drem_test): Likewise.
8554 (remainder_test_tonearest): Likewise.
8555 (drem_test_tonearest): Likewise.
8556 (remainder_test_towardzero): Likewise.
8557 (drem_test_towardzero): Likewise.
8558 (remainder_test_downward): Likewise.
8559 (drem_test_downward): Likewise.
8560 (remainder_test_upward): Likewise.
8561 (drem_test_upward): Likewise.
8562 (remquo_test): Likewise.
8563 (rint_test): Likewise.
8564 (rint_test_tonearest): Likewise.
8565 (rint_test_towardzero): Likewise.
8566 (rint_test_downward): Likewise.
8567 (rint_test_upward): Likewise.
8568 (round_test): Likewise.
8569 (scalb_test): Likewise.
8570 (scalbn_test): Likewise.
8571 (scalbln_test): Likewise.
8572 (signbit_test): Likewise.
8573 (sin_test): Likewise.
8574 (sin_test_tonearest): Likewise.
8575 (sin_test_towardzero): Likewise.
8576 (sin_test_downward): Likewise.
8577 (sin_test_upward): Likewise.
8578 (sincos_test): Likewise.
8579 (sinh_test): Likewise.
8580 (sinh_test_tonearest): Likewise.
8581 (sinh_test_towardzero): Likewise.
8582 (sinh_test_downward): Likewise.
8583 (sinh_test_upward): Likewise.
8584 (sqrt_test): Likewise.
8585 (sqrt_test_tonearest): Likewise.
8586 (sqrt_test_towardzero): Likewise.
8587 (sqrt_test_downward): Likewise.
8588 (sqrt_test_upward): Likewise.
8589 (tan_test): Likewise.
8590 (tan_test_tonearest): Likewise.
8591 (tan_test_towardzero): Likewise.
8592 (tan_test_downward): Likewise.
8593 (tan_test_upward): Likewise.
8594 (tanh_test): Likewise.
8595 (tgamma_test): Likewise.
8596 (trunc_test): Likewise.
8597 (y0_test): Likewise.
8598 (y1_test): Likewise.
8599 (yn_test): Likewise.
8600 (significand_test): Likewise.
8602 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
8603 individual tests in comment.
8604 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
8605 (prev_max_error): New variable.
8606 (prev_real_max_error): Likewise.
8607 (prev_imag_max_error): Likewise.
8608 (compare_ulp_data): Don't refer to test names in comment.
8609 (find_test_ulps): Remove function.
8610 (find_function_ulps): Likewise.
8611 (find_complex_function_ulps): Likewise.
8612 (init_max_error): Take function name as argument. Look up ulps
8614 (print_ulps): Remove function.
8615 (print_max_error): Use prev_max_error instead of calling
8617 (print_complex_max_error): Use prev_real_max_error and
8618 prev_imag_max_error instead of calling find_complex_function_ulps.
8619 (check_float_internal): Take max_ulp parameter instead of calling
8620 find_test_ulps. Don't call print_ulps.
8621 (check_float): Update call to check_float_internal.
8622 (check_complex): Update calls to check_float_internal.
8623 (START): Pass argument to init_max_error.
8624 * math/gen-libm-test.pl (%results): Don't include "kind"
8626 (parse_ulps): Don't handle ulps of individual tests.
8627 (print_ulps_file): Likewise.
8628 (output_ulps): Likewise.
8629 * math/README.libm-test: Update.
8630 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
8632 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
8633 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
8634 * sysdeps/arm/libm-test-ulps: Likewise.
8635 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
8636 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
8637 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
8638 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
8639 * sysdeps/microblaze/libm-test-ulps: Likewise.
8640 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
8641 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
8642 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8643 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
8644 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
8645 * sysdeps/sh/libm-test-ulps: Likewise.
8646 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
8647 * sysdeps/tile/libm-test-ulps: Likewise.
8648 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8650 2014-03-04 Joseph Myers <joseph@codesourcery.com>
8652 * math/libm-test.inc (print_complex_max_error): Check separately
8653 whether real and imaginary errors are within allowed range and
8654 pass 0 to print_complex_function_ulps instead of value within
8657 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
8659 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
8661 (get_handles_fopen): Likewise.
8662 (do_write_test): Likewise.
8664 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
8666 * libio/fileops.c (do_ftell): Use cached offset when
8668 * libio/iofwide.c (do_ftell_wide): Likewise.
8669 * libio/iofdopen.c (_IO_new_fdopen): Don't use
8671 * libio/wfileops.c (_IO_fwide): Don't cache offset.
8674 * libio/libioP.h (get_file_offset): New function.
8675 * libio/fileops.c (get_file_offset): Likewise.
8676 (do_ftell): Likewise.
8677 (_IO_new_file_seekoff): Split out ftell logic.
8678 * libio/wfileops.c (do_ftell_wide): Likewise.
8679 (_IO_wfile_seekoff): Split out ftell logic.
8680 * libio/tst-ftell-active-handler.c: New test case.
8681 * libio/Makefile (tests): Add it.
8683 2014-03-03 Roland McGrath <roland@hack.frob.com>
8685 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
8686 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
8688 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
8691 * nscd/connections.c (nscd_init): Call do_exit.
8692 (start_threads): Call do_exit and notify_parent.
8693 (begin_drop_privileges): Call do_exit.
8694 (finish_drop_privileges): Likewise.
8695 * nscd/selinux.c (preserve_capabilities): Likewise.
8696 (install_real_capabilities): Likewise.
8697 (nscd_selinux_enabled): Likewise.
8698 (avc_create_thread): Likewise.
8699 (avc_alloc_lock): Likewise.
8700 (nscd_avc_init): Likewise.
8701 * nscd/nscd.c (parent_fd): New static variable.
8702 (main): Create a pipe between parent and child processes.
8703 Skip closing parent_fd.
8704 (monitor_child): New function.
8705 (do_exit): Likewise.
8706 (notify_parent): Likewise.
8707 * nscd/nscd.h (notify_parent): Likewise.
8708 (do_exit): Likewise.
8710 2014-03-03 Carlos O'Donell <carlos@redhat.com>
8712 * malloc/malloc.c (__libc_calloc): Revert last change.
8714 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8716 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8718 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8720 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
8721 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
8723 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8724 (__libc_ifunc_impl_list): Likewise.
8725 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
8726 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
8727 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
8728 * string/strrchr.c: Define STRRCHR.
8730 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
8732 * benchtest/bench-strtok.c (simple_strtok): Delete.
8733 (strtok_string): Use as benchmark.
8734 * string/strtok (STRTOK): New macro.
8736 2014-02-28 Carlos O'Donell <carlos@redhat.com>
8738 * manual/threads.texi: Add header and standard comments to all
8741 * elf/dl-lookup.c (check_match): New function.
8742 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
8743 (do_lookup_x): Remove nested function check_match. Use non-nested
8744 function check_match.
8746 2014-02-28 Roland McGrath <roland@hack.frob.com>
8748 * csu/Makefile (generated, before-compile): Use += rather than =.
8749 * catgets/Makefile (generated, generated-dirs): Likewise.
8750 * debug/Makefile (generated): Likewise.
8751 * dlfcn/Makefile (generated): Likewise.
8752 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
8753 * iconvdata/Makefile (before-compile, generated): Likewise.
8754 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
8755 * libio/Makefile (generated): Likewise.
8756 * malloc/Makefile (generated): Likewise.
8757 * manual/Makefile (generated, generated-dirs): Likewise.
8758 * misc/Makefile (generated): Likewise.
8759 * posix/Makefile (generated): Likewise.
8760 * resolv/Makefile (generated): Likewise.
8761 * sunrpc/Makefile (generated, generated-dirs): Likewise.
8762 * timezone/Makefile (generated, generated-dirs): Likewise.
8764 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
8766 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8768 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
8769 power8 implementation.
8770 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
8771 file: POWER8 llround ifunc implementation.
8772 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
8773 (__lllround): Add POWER8 implementation.
8774 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
8775 POWER8 llround implementation.
8777 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
8778 power8 implementation.
8779 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
8780 file: POWER8 llrint ifunc implementation.
8781 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
8782 Add POWER8 implementation.
8783 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
8784 POWER8 llrint implementation.
8786 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
8787 power8 implementation.
8788 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
8789 file: POWER8 finite ifunc implementation.
8790 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
8791 Add POWER8 implementation.
8792 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
8794 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
8795 POWER8 finite implementation.
8796 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
8798 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
8799 power8 implementation.
8800 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
8801 file: POWER8 isinf ifunc implementation.
8802 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
8803 POWER8 implementation.
8804 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
8806 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
8807 isinf implementation.
8808 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
8810 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
8811 (INIT_ARCH): Add hwcap2 initialization.
8812 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
8813 power8 implementation.
8814 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
8815 file: POWER8 isnan ifunc implementation.
8816 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
8817 POWER8 implementation.
8818 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
8820 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
8821 isnan implementation.
8822 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
8824 2014-02-27 Joey Ye <joey.ye@arm.com>
8826 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
8827 (_FP_NANFRAC_Q): Set to zero.
8829 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
8832 * math/auto-libm-test-in: New test inputs.
8833 * math/auto-libm-test-out: Regenerate.
8834 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
8837 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
8839 2014-02-27 Joseph Myers <joseph@codesourcery.com>
8841 * scripts/evaluate-test.sh: Take new argument indicating whether
8842 failure is expected.
8843 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
8844 indicating whether failure is expected.
8845 * conform/Makefile (test-xfail-run-conformtest): New variable.
8846 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
8848 * posix/Makefile (test-xfail-annexc): New variable.
8849 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
8851 2014-02-26 Joseph Myers <joseph@codesourcery.com>
8853 * argp/Makefile: Include Makeconfig immediately after defining
8855 * assert/Makefile: Likewise.
8856 * benchtests/Makefile: Likewise.
8857 * catgets/Makefile: Likewise.
8858 * conform/Makefile: Likewise.
8859 * crypt/Makefile: Likewise.
8860 * csu/Makefile: Likewise.
8861 (all): Remove target.
8862 * ctype/Makefile: Include Makeconfig immediately after defining
8864 * debug/Makefile: Likewise.
8865 * dirent/Makefile: Likewise.
8866 * dlfcn/Makefile: Likewise.
8867 * gmon/Makefile: Likewise.
8868 * gnulib/Makefile: Likewise.
8869 * grp/Makefile: Likewise.
8870 * gshadow/Makefile: Likewise.
8871 * hesiod/Makefile: Likewise.
8872 * hurd/Makefile: Likewise.
8873 (all): Remove target.
8874 * iconvdata/Makefile: Include Makeconfig immediately after
8876 * inet/Makefile: Likewise.
8877 * intl/Makefile: Likewise.
8878 * io/Makefile: Likewise.
8879 * libio/Makefile: Likewise.
8880 (all): Remove target.
8881 * locale/Makefile: Include Makeconfig immediately after defining
8883 * login/Makefile: Likewise.
8884 * mach/Makefile: Likewise.
8885 (all): Remove target.
8886 * malloc/Makefile: Include Makeconfig immediately after defining
8888 (all): Remove target.
8889 * manual/Makefile: Include Makeconfig immediately after defining
8891 * math/Makefile: Likewise.
8892 * misc/Makefile: Likewise.
8893 * nis/Makefile: Likewise.
8894 * nss/Makefile: Likewise.
8895 * po/Makefile: Likewise.
8896 (all): Remove target.
8897 * posix/Makefile: Include Makeconfig immediately after defining
8899 * pwd/Makefile: Likewise.
8900 * resolv/Makefile: Likewise.
8901 * resource/Makefile: Likewise.
8902 * rt/Makefile: Likewise.
8903 * setjmp/Makefile: Likewise.
8904 * shadow/Makefile: Likewise.
8905 * signal/Makefile: Likewise.
8906 * socket/Makefile: Likewise.
8907 * soft-fp/Makefile: Likewise.
8908 * stdio-common/Makefile: Likewise.
8909 * stdlib/Makefile: Likewise.
8910 * streams/Makefile: Likewise.
8911 * string/Makefile: Likewise.
8912 * sunrpc/Makefile: Likewise.
8913 (all): Remove target.
8914 * sysvipc/Makefile: Include Makeconfig immediately after defining
8916 * termios/Makefile: Likewise.
8917 * time/Makefile: Likewise.
8918 * timezone/Makefile: Likewise.
8919 (all): Remove target.
8920 * wcsmbs/Makefile: Include Makeconfig immediately after defining
8922 * wctype/Makefile: Likewise.
8924 2014-02-26 Steve Ellcey <sellcey@mips.com>
8926 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
8927 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
8928 (libc_feholdexcept_setround_mips): Ditto.
8929 (libc_feholdsetround): New.
8930 (libc_feholdsetroundf): New.
8931 (libc_feholdsetroundl): New.
8932 (libc_feupdateenv_test_mips): New.
8933 (libc_feupdateenv_test): New.
8934 (libc_feupdateenv_testf): New.
8935 (libc_feupdateenv_testl): New.
8936 (libc_feresetround): New.
8937 (libc_feresetroundf): New.
8938 (libc_feresetroundl): New.
8939 (libc_fetestexcept_mips): New.
8940 (libc_fetestexcept): New.
8941 (libc_fetestexceptf): New.
8942 (libc_fetestexceptl): New.
8944 (libc_feholdexcept_setround_mips_ctx): New.
8945 (libc_feholdexcept_setround_ctx): New.
8946 (libc_feholdexcept_setroundf_ctx): New.
8947 (libc_feholdexcept_setroundl_ctx): New.
8948 (libc_fesetenv_mips_ctx): New.
8949 (libc_fesetenv_ctx): New.
8950 (libc_fesetenv_ctxf): New.
8951 (libc_fesetenv_ctxl): New.
8952 (libc_feupdateenv_mips_ctx): New.
8953 (libc_feupdateenv_ctx): New.
8954 (libc_feupdateenvf_ctx): New.
8955 (libc_feupdateenvl_ctx): New.
8956 (libc_feholdsetround_mips_ctx): New.
8957 (libc_feholdsetround_ctx): New.
8958 (libc_feholdsetroundf_ctx): New.
8959 (libc_feholdsetroundl_ctx): New.
8960 (libc_feresetround_mips_ctx): New.
8961 (libc_feresetround_ctx): New.
8962 (libc_feresetroundf_ctx): New.
8963 (libc_feresetroundl_ctx): New.
8965 2014-02-26 Carlos O'Donell <carlos@redhat.com>
8967 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
8969 * manual/ipc.texi: New file.
8970 * manual/Makefile (chapters): Add ipc.
8971 * manual/job.texi: Add "Inter-Process Communication" to next.
8972 * manual/process.texi: Add "Inter-Process Communication" to prev.
8974 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8976 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8978 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
8980 * malloc/malloc.c (__libc_calloc): Simplify implementation.
8982 * manual/arith.texi: Fix spaces after sentences.
8983 * manual/charset.texi: Likewise.
8984 * manual/errno.texi: Likewise.
8985 * manual/install.texi: Likewise.
8986 * manual/llio.texi: Likewise.
8987 * manual/locale.texi: Likewise.
8988 * manual/maint.texi: Likewise.
8989 * manual/math.texi: Likewise.
8990 * manual/memory.texi: Likewise.
8991 * manual/message.texi: Likewise.
8992 * manual/probes.texi: Likewise.
8993 * manual/resource.texi: Likewise.
8994 * manual/signal.texi: Likewise.
8995 * manual/socket.texi: Likewise.
8996 * manual/stdio.texi: Likewise.
8997 * manual/string.texi: Likewise.
8998 * manual/time.texi: Likewise.
8999 * manual/users.texi: Likewise.
9001 2014-02-25 Carlos O'Donell <carlos@redhat.com>
9004 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
9005 _DEFAULT_SOURCE is defined.
9007 2014-02-25 Ulrich Drepper <drepper@gmail.com>
9008 Carlos O'Donell <carlos@redhat.com>
9011 * elf/dl-tls.c (_dl_count_modids): New function.
9012 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
9013 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
9014 audit library and increment generation counter.
9015 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
9016 * elf/tst-audit9.c: New file.
9017 * elf/tst-auditmod9a.c: New file.
9018 * elf/tst-auditmod9b.c: New file.
9019 * elf/Makefile: Add rules to build and run tst-audit9.
9021 2014-02-25 Florian Weimer <fweimer@redhat.com>
9024 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
9026 2014-02-25 Will Newton <will.newton@linaro.org>
9028 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
9029 (__longjmp): Restore sp and lr before restoring callee
9030 saved registers. Add longjmp and longjmp_target
9031 SystemTap probe point.
9032 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
9033 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
9034 Define to zero to match jmpbuf layout.
9035 * sysdeps/arm/setjmp.S: Include stap-probe.h.
9036 (__sigsetjmp): Save sp and lr before saving callee
9037 saved registers. Add setjmp SystemTap probe point.
9039 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
9041 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
9043 2014-02-24 Andreas Schwab <schwab@suse.de>
9046 * elf/pldd.c (wait_for_ptrace_stop): New function.
9047 (main): Call it after attaching.
9049 2014-02-22 Roland McGrath <roland@hack.frob.com>
9051 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
9052 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
9053 Versions files is now verboten.
9054 * hurd/Versions (libc: GLIBC_2.0):
9055 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
9056 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
9057 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
9058 * mach/Versions: Likewise.
9060 * csu/Versions: Remove unused %include.
9061 * resolv/Versions: Likewise.
9063 2014-02-21 Joseph Myers <joseph@codesourcery.com>
9065 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
9066 ($(objpfx)check-local-headers.out): Likewise.
9067 ($(objpfx)begin-end-check.out): Likewise.
9068 * Makerules (check-abi-%.out): Likewise.
9069 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
9070 ($(objpfx)test2.cat): Likewise.
9071 ($(objpfx)de/libc.cat): Likewise.
9072 ($(objpfx)test-gencat.out): Likewise.
9073 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
9074 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
9075 ($(objpfx)noload-mem): Likewise.
9076 ($(objpfx)tst-pathopt.out): Likewise.
9077 ($(objpfx)tst-rtld-load-self.out): Likewise.
9078 ($(objpfx)tst-array1-cmp.out): Likewise.
9079 ($(objpfx)tst-array1-static-cmp.out): Likewise.
9080 ($(objpfx)tst-array2-cmp.out): Likewise.
9081 ($(objpfx)tst-array3-cmp.out): Likewise.
9082 ($(objpfx)tst-array4-cmp.out): Likewise.
9083 ($(objpfx)tst-array5-cmp.out): Likewise.
9084 ($(objpfx)tst-array5-static-cmp.out): Likewise.
9085 ($(objpfx)check-textrel.out): Likewise.
9086 ($(objpfx)check-execstack.out): Likewise.
9087 ($(objpfx)check-localplt.out): Likewise.
9088 ($(objpfx)order2-cmp.out): Likewise.
9089 ($(objpfx)tst-leaks1-mem): Likewise.
9090 ($(objpfx)tst-leaks1-static-mem): Likewise.
9091 ($(objpfx)tst-initorder-cmp.out): Likewise.
9092 ($(objpfx)tst-initorder2-cmp.out): Likewise.
9093 ($(objpfx)tst-unused-dep.out): Likewise.
9094 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
9095 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
9096 * iconv/Makefile (test-iconvconfig): Likewise.
9097 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
9098 ($(objpfx)iconv-test.out): Likewise.
9099 ($(objpfx)tst-tables.out): Likewise.
9100 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
9101 ($(objpfx)tst-gettext.out): Likewise.
9102 ($(objpfx)tst-translit.out): Likewise.
9103 ($(objpfx)tst-gettext2.out): Likewise.
9104 ($(objpfx)tst-gettext4.out): Likewise.
9105 ($(objpfx)tst-gettext6.out): Likewise.
9106 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
9107 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
9108 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
9109 ($(objpfx)tst-fopenloc-mem.out): Likewise.
9110 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
9111 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
9112 * posix/Makefile ($(objpfx)globtest.out): Likewise.
9113 ($(objpfx)wordexp-tst.out): Likewise.
9114 ($(objpfx)annexc.out): Likewise.
9115 ($(objpfx)tst-fnmatch-mem): Likewise.
9116 ($(objpfx)bug-regex2-mem): Likewise.
9117 ($(objpfx)bug-regex14-mem): Likewise.
9118 ($(objpfx)bug-regex21-mem): Likewise.
9119 ($(objpfx)bug-regex31-mem): Likewise.
9120 ($(objpfx)tst-vfork3-mem): Likewise.
9121 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
9122 ($(objpfx)tst-pcre-mem): Likewise.
9123 ($(objpfx)tst-boost-mem): Likewise.
9124 ($(objpfx)tst-getconf.out): Likewise.
9125 ($(objpfx)bug-ga2-mem): Likewise.
9126 ($(objpfx)bug-glob2-mem): Likewise.
9127 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
9128 ($(objpfx)mtrace-tst-leaks2): Likewise.
9129 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
9130 ($(objpfx)tst-printf.out): Likewise.
9131 ($(objpfx)tst-setvbuf1.out): Likewise.
9132 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
9133 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
9134 ($(objpfx)tst-fmtmsg.out): Likewise.
9135 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
9136 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
9138 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
9139 * bits/sigaction.h [__USE_MISC]: Likewise.
9140 * bits/waitstatus.h: Update #endif comments.
9141 * ctype/ctype.h: Likewise.
9142 * dirent/dirent.h: Likewise.
9143 [__USE_MISC]: Remove redundant conditionals.
9144 * grp/grp.h: Update #endif comments.
9145 [__USE_GNU]: Remove redundant conditionals.
9146 [__USE_MISC]: Likewise.
9147 * inet/netinet/in.h [__USE_GNU]: Likewise.
9148 * io/sys/stat.h [__USE_MISC]: Likewise.
9149 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
9150 * libio/bits/stdio.h: Update #endif comments.
9151 [__USE_MISC]: Remove redundant conditionals.
9152 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
9153 * libio/stdio.h: Update #endif comments.
9154 [__USE_MISC]: Remove redundant conditionals.
9155 * math/bits/math-finite.h [__USE_MISC]: Likewise.
9156 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
9157 * math/math.h: Update #else and #endif comments.
9158 [__USE_MISC]: Remove redundant conditionals.
9159 * misc/sys/uio.h: Update #endif comments.
9160 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
9161 * posix/glob.h [__USE_MISC]: Likewise.
9162 * posix/sys/types.h: Update #endif comments.
9163 [__USE_MISC]: Remove redundant conditionals.
9164 * posix/sys/wait.h: Update #endif comments.
9165 [__USE_MISC]: Remove redundant conditionals.
9166 * posix/unistd.h: Update #endif comments.
9167 [__USE_MISC]: Remove redundant conditionals.
9168 * pwd/pwd.h [__USE_GNU]: Likewise.
9169 [__USE_MISC]: Likewise.
9170 * resolv/netdb.h [__USE_GNU]: Likewise.
9171 * signal/signal.h: Update #endif comments.
9172 [__USE_MISC]: Remove redundant conditionals.
9173 * stdlib/stdlib.h: Update #else and #endif comments.
9174 [__USE_MISC]: Remove redundant conditionals.
9175 [__USE_GNU]: Likewise.
9176 * string/bits/string2.h [__USE_MISC]: Likewise.
9177 * string/string.h: Update #endif comments.
9178 [__USE_MISC]: Remove redundant conditionals.
9179 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
9181 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
9182 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
9183 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
9185 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
9187 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
9189 [__USE_MISC]: Remove redundant conditionals.
9190 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
9191 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
9192 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
9193 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
9194 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
9196 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
9197 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
9199 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
9200 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
9202 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
9204 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
9205 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
9207 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
9209 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
9210 * sysdeps/x86/bits/string.h: Update #endif comments.
9211 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
9213 * time/sys/time.h: Update #endif comments.
9214 * time/time.h: Likewise.
9215 [__USE_MISC]: Remove redundant conditionals.
9217 2014-02-21 Yury Gribov <y.gribov@samsung.com>
9220 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
9222 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
9224 * Versions.def (librt): Add GLIBC_2.17.
9226 2014-02-21 Adam Conrad <adconrad@0c3.net>
9228 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
9229 synonym for _SYS_AUXV_H to allow direct inclusion.
9230 * sysdeps/sparc/bits/hwcap.h: Likewise.
9231 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
9232 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
9233 * sysdeps/sparc/sysdep.h: Likewise.
9235 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
9237 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
9239 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9241 * benchtests/bench-strrchr.c: Print length instead of position.
9243 2014-02-20 Joseph Myers <joseph@codesourcery.com>
9246 * sysdeps/unix/sysv/linux/kernel-features.h
9247 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
9248 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
9249 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
9250 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
9252 [__i386__ || __powerpc__ || __sh__ || __sparc__]
9253 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
9254 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
9255 (__ASSUME_SENDMMSG): Define instead of using previous
9256 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
9257 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
9258 (__ASSUME_SENDMMSG_SYSCALL): Define.
9259 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9260 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
9262 * sysdeps/unix/sysv/linux/arm/kernel-features.h
9263 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
9265 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
9266 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
9268 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
9269 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
9270 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
9271 [__ASSUME_SENDMMSG]: Change conditionals to
9272 [__ASSUME_SENDMMSG_SOCKETCALL].
9273 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9274 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
9276 * sysdeps/unix/sysv/linux/mips/kernel-features.h
9277 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
9279 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
9280 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
9281 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
9282 [!__ASSUME_SENDMMSG]: Change conditional to
9283 [!__ASSUME_SENDMMSG_SOCKETCALL].
9284 * sysdeps/unix/sysv/linux/tile/kernel-features.h
9285 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
9289 * sysdeps/unix/sysv/linux/kernel-features.h
9290 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
9291 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
9292 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
9293 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
9294 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
9295 [__i386__ || __sparc__]
9296 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
9297 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
9298 (__ASSUME_RECVMMSG): Define instead of using previous
9299 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
9300 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
9301 (__ASSUME_RECVMMSG_SYSCALL): Define.
9302 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9303 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9305 * sysdeps/unix/sysv/linux/arm/kernel-features.h
9306 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9308 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
9309 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9311 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
9312 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
9313 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
9314 [__ASSUME_RECVMMSG]: Change condition to
9315 [__ASSUME_RECVMMSG_SOCKETCALL].
9316 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9317 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9319 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
9320 * sysdeps/unix/sysv/linux/mips/kernel-features.h
9321 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9323 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
9324 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
9325 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
9326 [!__ASSUME_RECVMMSG]: Change condition to
9327 [!__ASSUME_RECVMMSG_SOCKETCALL].
9328 * sysdeps/unix/sysv/linux/tile/kernel-features.h
9329 (__ASSUME_RECVMMSG_SYSCALL): Define.
9332 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
9333 __powerpc__ || __s390__ || __sh__ || __sparc__]
9334 (__ASSUME_SOCKETCALL): Define.
9335 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
9336 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
9337 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
9338 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
9339 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
9340 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
9341 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
9342 (__ASSUME_ACCEPT4): Define instead of using previous
9343 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
9344 __powerpc__ || __sparc__ || __s390__)] condition.
9345 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
9346 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
9347 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
9348 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
9349 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
9350 [!__ASSUME_ACCEPT4]: Change condition to
9351 [!__ASSUME_ACCEPT4_SOCKETCALL].
9352 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9353 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
9354 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
9355 * sysdeps/unix/sysv/linux/arm/kernel-features.h
9356 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
9357 __ASSUME_ACCEPT4_SYSCALL.
9358 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
9359 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
9360 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
9361 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
9362 __ASSUME_ACCEPT4_SYSCALL.
9363 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
9364 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
9365 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
9366 [__ASSUME_ACCEPT4]: Change condition to
9367 [__ASSUME_ACCEPT4_SOCKETCALL].
9368 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
9369 (__ASSUME_SOCKETCALL): Define.
9370 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
9371 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9372 (__ASSUME_SOCKETCALL): Define.
9373 (__ASSUME_ACCEPT4): Remove.
9374 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
9376 * sysdeps/unix/sysv/linux/mips/kernel-features.h
9377 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
9379 * sysdeps/unix/sysv/linux/tile/kernel-features.h
9380 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
9382 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
9384 (HWCAP_ARM_LPAE): Likewise.
9385 (HWCAP_ARM_EVTSTRM): Likewise.
9386 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
9387 Add vpfd32, lpae and evtstrm.
9388 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
9391 2014-02-19 Joseph Myers <joseph@codesourcery.com>
9393 * math/auto-libm-test-in: Add tests of clog10.
9394 * math/auto-libm-test-out: Regenerated.
9395 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
9396 * sysdeps/i386/fpu/libm-test-ulps: Update.
9397 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9399 2014-02-18 Andreas Schwab <schwab@suse.de>
9402 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
9403 Store non-zero if the second buffer was newly allocated.
9404 (send_dg): Likewise.
9405 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
9406 to send_vc and send_dg.
9407 (res_nsend): Pass NULL for ansp2_malloced.
9408 * resolv/res_query.c (__libc_res_nquery): Add parameter
9409 answerp2_malloced and pass it down to __libc_res_nsend.
9410 (res_nquery): Pass additional NULL to __libc_res_nquery.
9411 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
9412 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
9413 second answer buffer if answerp2_malloced was set.
9414 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
9415 (__libc_res_nquerydomain): Add parameter
9416 answerp2_malloced and pass it down to __libc_res_nquery.
9417 (res_nquerydomain): Pass additional NULL to
9418 __libc_res_nquerydomain.
9419 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
9420 additional NULL to __libc_res_nsend and __libc_res_nquery.
9421 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
9422 additional NULL to __libc_res_nsearch.
9423 (_nss_dns_gethostbyname4_r): Revert last change. Use new
9424 parameter of __libc_res_nsearch to check for separately allocated
9426 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
9428 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
9429 additional NULL to __libc_res_nquery.
9430 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
9432 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
9433 * include/resolv.h: Update prototypes of __libc_res_nquery,
9434 __libc_res_nsearch, __libc_res_nsend.
9436 2014-02-18 Joseph Myers <joseph@codesourcery.com>
9438 * math/auto-libm-test-in: Add tests of fma.
9439 * math/auto-libm-test-out: Regenerated.
9440 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
9441 (fma_towardzero_test_data): Likewise.
9442 (fma_downward_test_data): Likewise.
9443 (fma_upward_test_data): Likewise.
9444 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
9446 (rounding_modes): Add values for new field.
9447 (func_calc_method): Add value mpfr_fff_f.
9448 (func_calc_desc): Add mpfr_fff_f union field.
9449 (test_function): Add field exact_args.
9450 (FUNC): Add macro argument EXACT_ARGS.
9451 (FUNC_mpfr_f_f): Update call to FUNC.
9452 (FUNC_mpfr_f_f): Likewise.
9453 (FUNC_mpfr_ff_f): Likewise.
9454 (FUNC_mpfr_if_f): Likewise.
9455 (FUNC_mpc_c_f): Likewise.
9456 (FUNC_mpc_c_c): Likewise.
9457 (test_functions): Add fma. Update calls to FUNC.
9458 (handle_input_arg): Add argument exact_args.
9459 (add_test): Update call to handle_input_arg.
9460 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
9461 (output_for_one_input_case): Update call to calc_generic_results.
9462 Recalculate exact zero results in each rounding mode.
9464 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
9465 non-negative before setting low bit.
9466 * math/auto-libm-test-in: Mark one asin test possibly having
9468 * math/auto-libm-test-out: Regenerated.
9469 * sysdeps/i386/fpu/libm-test-ulps: Update.
9470 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9472 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
9474 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
9475 * sysdeps/unix/sysv/linux/microblaze: Move directory from
9476 ports/sysdeps/unix/sysv/linux/microblaze.
9477 * README: Add missing listing for microblaze*-*-linux-gnu.
9479 2014-02-16 Mike Frysinger <vapier@gentoo.org>
9481 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
9482 * sysdeps/unix/sysv/linux/ia64: Move directory from
9483 ports/sysdeps/unix/sysv/linux/ia64.
9484 * README: Update listing for ia64-*-linux-gnu.
9486 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
9487 Joseph Myers <joseph@codesourcery.com>
9489 * Makeconfig (test-name): New variable.
9490 (evaluate-test): Likewise.
9491 * Makerules (do-test-clean): Remove .test-result files.
9492 (common-mostlyclean): Likewise.
9493 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
9494 * scripts/evaluate-test.sh: New file.
9496 2014-02-14 Joseph Myers <joseph@codesourcery.com>
9498 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
9499 separate $(objpfx)tst-fopenloc-cmp.out and
9500 $(objpfx)tst-fopenloc-mem.out targets.
9501 (tests): Update dependencies.
9502 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
9503 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
9504 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
9505 (tst-rxspencer-no-utf8-ARGS): New variable.
9506 (tst-rxspencer-no-utf8-ENV): Likewise.
9507 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
9508 instead of $(objpfx)tst-rxspencer-mem.
9509 ($(objpfx)tst-rxspencer-mem): Change target to
9510 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
9511 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
9512 * posix/tst-rxspencer-no-utf8.c: New file.
9514 * elf/Makefile ($(objpfx)order.out): Remove rule.
9515 [$(run-built-tests) = yes] (tests): Depend on
9516 $(objpfx)order-cmp.out.
9517 ($(objpfx)order-cmp.out): New rule.
9518 [$(run-built-tests) = yes] (tests): Depend on
9519 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
9520 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
9521 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
9522 $(objpfx)tst-array5-static-cmp.out.
9523 ($(objpfx)tst-array1.out): Remove rule.
9524 ($(objpfx)tst-array1-cmp.out): New rule.
9525 ($(objpfx)tst-array1-static.out): Remove rule.
9526 ($(objpfx)tst-array1-static-cmp.out): New rule.
9527 ($(objpfx)tst-array2.out): Remove rule.
9528 ($(objpfx)tst-array2-cmp.out): New rule.
9529 ($(objpfx)tst-array3.out): Remove rule.
9530 ($(objpfx)tst-array3-cmp.out): New rule.
9531 ($(objpfx)tst-array4.out): Remove rule.
9532 ($(objpfx)tst-array4-cmp.out): New rule.
9533 ($(objpfx)tst-array5.out): Remove rule.
9534 ($(objpfx)tst-array5-cmp.out): New rule.
9535 ($(objpfx)tst-array5-static.out): Remove rule.
9536 ($(objpfx)tst-array5-static-cmp.out): New rule.
9537 [$(run-built-tests) = yes] (tests): Depend on
9538 $(objpfx)order2-cmp.out.
9539 ($(objpfx)order2.out): Remove rule.
9540 ($(objpfx)order2-cmp.out): New rule.
9541 ($(objpfx)tst-initorder.out): Remove rule.
9542 [$(run-built-tests) = yes] (tests): Depend on
9543 $(objpfx)tst-initorder-cmp.out.
9544 ($(objpfx)tst-initorder-cmp.out): New rule.
9545 ($(objpfx)tst-initorder2.out): Remove rule.
9546 [$(run-built-tests) = yes] (tests): Depend on
9547 $(objpfx)tst-initorder2-cmp.out.
9548 ($(objpfx)tst-initorder2-cmp.out): New rule.
9549 [$(run-built-tests) = yes] (tests): Depend on
9550 $(objpfx)tst-unused-dep-cmp.out.
9551 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
9552 ($(objpfx)tst-unused-dep-cmp.out): New rule.
9553 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
9554 on $(objpfx)tst-setvbuf1-cmp.out.
9555 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
9556 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
9557 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
9558 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
9559 ($(objpfx)tst-svc.out): Remove rule.
9560 ($(objpfx)tst-svc-cmp.out): New rule.
9562 2014-02-13 Joseph Myers <joseph@codesourcery.com>
9564 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
9565 * ctype/ctype.h [__USE_MISC]: Likewise.
9566 * dirent/dirent.h [__USE_MISC]: Likewise.
9567 * grp/grp.h [__USE_MISC]: Likewise.
9568 * io/fcntl.h [__USE_MISC]: Likewise.
9569 * io/sys/stat.h [__USE_MISC]: Likewise.
9570 * libio/stdio.h [__USE_MISC]: Likewise.
9571 * posix/unistd.h [__USE_MISC]: Likewise.
9572 * pwd/pwd.h [__USE_MISC]: Likewise.
9573 * stdlib.h [__USE_MISC]: Likewise.
9574 * string/bits/string2.h [__USE_MISC]: Likewise.
9575 * string/string.h [__USE_MISC]: Likewise.
9576 * time/time.h [__USE_MISC]: Likewise.
9578 2014-02-13 Andreas Schwab <schwab@suse.de>
9581 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
9582 second answer buffer if it was separately allocated.
9584 2014-02-12 Joseph Myers <joseph@codesourcery.com>
9586 * sysdeps/mips/math-tests.h: Include <features.h>.
9587 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
9588 (ROUNDING_TESTS_long_double): Do not define.
9589 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
9590 (EXCEPTION_TESTS_long_double): Likewise.
9591 * sysdeps/mips/mips64/libm-test-ulps: Update.
9593 * include/features.h (__USE_BSD): Remove macro definitions.
9594 (__USE_SVID): Likewise.
9595 (_BSD_SOURCE): Likewise.
9596 (_SVID_SOURCE): Likewise.
9597 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
9598 from definition of _DEFAULT_SOURCE.
9599 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
9601 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
9602 * bits/mman.h [__USE_BSD]: Likewise.
9603 * bits/termios.h [__USE_BSD]: Likewise.
9604 * bits/waitstatus.h [__USE_BSD]: Likewise.
9605 * ctype/ctype.h [__USE_SVID]: Likewise.
9606 * dirent/dirent.h [__USE_BSD]: Likewise.
9607 * grp/grp.h [__USE_SVID]: Likewise.
9608 [__USE_BSD]: Likewise.
9609 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
9610 * io/fcntl.h [__USE_BSD]: Likewise.
9611 * io/ftw.h [__USE_BSD]: Likewise.
9612 * io/sys/stat.h [__USE_BSD]: Likewise.
9613 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
9614 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
9615 * libio/stdio.h [__USE_SVID]: Likewise.
9616 [__USE_BSD]: Likewise.
9617 * math/math.h [__USE_SVID]: Likewise.
9618 [__USE_BSD]: Likewise.
9619 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
9620 * misc/bits/syslog.h [__USE_BSD]: Likewise.
9621 * misc/search.h [__USE_SVID]: Likewise.
9622 * misc/sys/mman.h [__USE_BSD]: Likewise.
9623 * misc/sys/syslog.h [__USE_BSD]: Likewise.
9624 * misc/sys/uio.h [__USE_BSD]: Likewise.
9625 * posix/bits/unistd.h [__USE_BSD]: Likewise.
9626 * posix/glob.h [__USE_BSD]: Likewise.
9627 * posix/regex.h [__USE_BSD]: Likewise.
9628 * posix/sys/types.h [__USE_BSD]: Likewise.
9629 [__USE_SVID]: Likewise.
9630 * posix/sys/utsname.h [__USE_SVID]: Likewise.
9631 * posix/sys/wait.h [__USE_BSD]: Likewise.
9632 [__USE_SVID]: Likewise.
9633 * posix/unistd.h [__USE_BSD]: Likewise.
9634 [__USE_SVID]: Likewise.
9635 * pwd/pwd.h [__USE_SVID]: Likewise.
9636 * resolv/netdb.h [__USE_BSD]: Likewise.
9637 * setjmp/setjmp.h [__USE_BSD]: Likewise.
9638 * signal/signal.h [__USE_BSD]: Likewise.
9639 [__USE_SVID]: Likewise.
9640 * socket/sys/socket.h [__USE_BSD]: Likewise.
9641 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
9642 * stdlib/stdlib.h [__USE_BSD]: Likewise.
9643 [__USE_SVID]: Likewise.
9644 * string/bits/string2.h [__USE_BSD]: Likewise.
9645 [__USE_SVID]: Likewise.
9646 * string/bits/string3.h [__USE_BSD]: Likewise.
9647 * string/endian.h [__USE_BSD]: Likewise.
9648 * string/string.h [__USE_SVID]: Likewise.
9649 [__USE_BSD]: Likewise.
9650 * string/strings.h [__USE_BSD]: Likewise.
9651 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
9652 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
9653 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
9654 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
9655 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
9656 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
9658 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
9660 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
9661 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
9663 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
9664 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
9666 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
9668 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
9669 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
9670 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
9672 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
9674 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
9675 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
9676 * termios/termios.h [__USE_BSD]: Likewise.
9677 * time/sys/time.h [__USE_BSD]: Likewise.
9678 * time/time.h [__USE_BSD]: Likewise.
9679 [__USE_SVID]: Likewise.
9681 * Makefile (subdir_targets): Remove subdir_lint.out.
9683 * stdio-common/Makefile (do-tst-unbputc): Remove target.
9684 (do-tst-printf): Likewise.
9685 (tests): Depend directly on $(objpfx)tst-unbputc.out and
9686 $(objpfx)tst-printf.out.
9688 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
9690 * Makerules (check-abi-%): Change target to
9691 $(objpfx)check-abi-%.out.
9692 (check-abi target): Update dependencies.
9693 (check-abi-pattern variable): Redirect output of diff to $@.
9694 (check-abi variable): Likewise.
9695 * elf/Makefile (check-abi): Update dependencies.
9697 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
9699 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
9700 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
9702 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
9703 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
9704 value has largest subnormal exponent.
9705 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
9706 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
9707 * sysdeps/aarch64/soft-fp/sfp-machine.h
9708 (_FP_TININESS_AFTER_ROUNDING): New macro.
9709 * sysdeps/alpha/soft-fp/sfp-machine.h
9710 (_FP_TININESS_AFTER_ROUNDING): Likewise.
9711 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
9713 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
9714 (_FP_TININESS_AFTER_ROUNDING): Likewise.
9715 * sysdeps/mips/soft-fp/sfp-machine.h
9716 (_FP_TININESS_AFTER_ROUNDING): Likewise.
9717 * sysdeps/powerpc/soft-fp/sfp-machine.h
9718 (_FP_TININESS_AFTER_ROUNDING): Likewise.
9719 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
9721 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
9722 (_FP_TININESS_AFTER_ROUNDING): Likewise.
9723 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
9724 (_FP_TININESS_AFTER_ROUNDING): Likewise.
9725 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
9728 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
9731 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
9734 2014-02-12 Richard Henderson <rth@redhat.com>
9736 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
9737 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
9738 * sysdeps/unix/sysv/linux/alpha: Move directory from
9739 ports/sysdeps/unix/sysv/linux/alpha.
9740 * README: Update listing for alpha-*-linux-gnu.
9742 2014-02-11 Joseph Myers <joseph@codesourcery.com>
9744 * include/features.h: Update comment documenting feature test
9746 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
9748 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
9749 (_SVID_SOURCE): Likewise.
9750 (_DEFAULT_SOURCE): Update description of default features.
9751 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
9753 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
9754 (S_ISVTX): Likewise.
9755 * manual/math.texi (Mathematical Constants): Likewise.
9756 * manual/signal.texi (Interrupted Primitives): Likewise.
9757 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
9758 * math/test-matherr.c (_SVID_SOURCE): Do not define.
9759 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
9760 Don't refer to _SVID_SOURCE in warning text.
9762 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9764 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
9766 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
9767 * sysdeps/mips/dl-lookup.c: Remove.
9768 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
9770 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
9773 * math/auto-libm-test-in: Add testcase for expl.
9774 * math/auto-libm-test-out: Regenerate.
9775 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
9776 calculation of unsafe.
9777 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
9779 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
9781 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
9782 * sysdeps/unix/sysv/linux/aarch64: Move directory from
9783 ports/sysdeps/unix/sysv/linux/aarch64.
9784 * README: Update listing for aarch64*-*-linux-gnu.
9786 2014-02-11 Will Newton <will.newton@linaro.org>
9788 * manual/probes.texi (Mathematical Function Probes): Use
9789 "triggered" instead of "hit".
9791 * manual/probes.texi (Internal Probes): Add documentation
9792 of setjmp, longjmp and longjmp_target probes.
9794 * include/stap-probe.h: Add comment about probe argument
9797 * malloc/mtrace.c (attribute_hidden): Remove unused macro
9798 definition. (tr_where, tr_freehook, tr_mallochook,
9799 tr_reallochook, tr_memalignhook): Use ANSI protoype.
9801 2014-02-11 David S. Miller <davem@davemloft.net>
9803 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
9804 processing int_tests.
9806 2014-02-10 Joseph Myers <joseph@codesourcery.com>
9808 * sysdeps/mips: Move directory from ports/sysdeps/mips.
9809 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
9810 * sysdeps/unix/sysv/linux/mips: Move directory from
9811 ports/sysdeps/unix/sysv/linux/mips.
9812 * README: Update listing for mips-*-linux-gnu and
9815 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
9817 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
9818 * sysdeps/unix/sysv/linux/m68k: Move directory from
9819 ports/sysdeps/unix/sysv/linux/m68k.
9820 * README: Update listing for m68k-*-linux-gnu.
9822 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
9824 * sysdeps/tile: Move directory from ports/sysdeps/tile.
9825 * sysdeps/unix/sysv/linux/generic: Move directory from
9826 ports/sysdeps/unix/sysv/linux/generic.
9827 * sysdeps/unix/sysv/linux/tile: Move directory from
9828 ports/sysdeps/unix/sysv/linux/tile.
9829 * README: Update listing for tile*-*-linux-gnu.
9831 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
9833 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
9835 * benchtests/bench-memmem.c (simple_memmem): Likewise.
9836 * catgets/open_catalog.c (__open_catalog): Likewise.
9837 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
9838 * debug/confstr_chk.c: Likewise.
9839 * debug/fread_chk.c (__fread_chk): Likewise.
9840 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
9841 * debug/getgroups_chk.c: Likewise.
9842 * debug/mbsnrtowcs_chk.c: Likewise.
9843 * debug/mbsrtowcs_chk.c: Likewise.
9844 * debug/mbstowcs_chk.c: Likewise.
9845 * debug/memcpy_chk.c: Likewise.
9846 * debug/memmove_chk.c: Likewise.
9847 * debug/mempcpy_chk.c: Likewise.
9848 * debug/memset_chk.c: Likewise.
9849 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
9850 * debug/strcat_chk.c (__strcat_chk): Likewise.
9851 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
9852 * debug/strncat_chk.c (__strncat_chk): Likewise.
9853 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
9854 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
9855 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
9856 * debug/wcpncpy_chk.c: Likewise.
9857 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
9858 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
9859 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
9860 * debug/wcsncpy_chk.c: Likewise.
9861 * debug/wcsnrtombs_chk.c: Likewise.
9862 * debug/wcsrtombs_chk.c: Likewise.
9863 * debug/wcstombs_chk.c: Likewise.
9864 * debug/wmemcpy_chk.c: Likewise.
9865 * debug/wmemmove_chk.c: Likewise.
9866 * debug/wmempcpy_chk.c: Likewise.
9867 * debug/wmemset_chk.c: Likewise.
9868 * dirent/scandirat.c (SCANDIRAT): Likewise.
9869 * dlfcn/dladdr1.c (dladdr1): Likewise.
9870 * dlfcn/dladdr.c (dladdr): Likewise.
9871 * dlfcn/dlclose.c (dlclose_doit): Likewise.
9872 * dlfcn/dlerror.c (__dlerror): Likewise.
9873 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
9874 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
9875 * dlfcn/dlopen.c (dlopen_doit): Likewise.
9876 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
9877 * dlfcn/dlsym.c (dlsym_doit): Likewise.
9878 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
9879 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
9880 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
9882 * elf/dl-conflict.c: Likewise.
9883 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
9884 * elf/dl-dst.h: Likewise.
9885 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
9886 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
9887 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
9888 * elf/dl-init.c (call_init, _dl_init): Likewise.
9889 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
9890 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
9891 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
9893 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
9895 * elf/dl-minimal.c (__libc_memalign): Likewise.
9896 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
9897 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
9898 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
9899 * elf/dl-sym.c (do_sym): Likewise.
9900 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
9901 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
9902 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
9903 * elf/dl-writev.h (_dl_writev): Likewise.
9904 * elf/ldconfig.c (search_dir): Likewise.
9905 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
9906 (dl_main): Likewise.
9907 * elf/setup-vdso.h (setup_vdso): Likewise.
9908 * grp/compat-initgroups.c (compat_call): Likewise.
9909 * grp/fgetgrent.c (fgetgrent): Likewise.
9910 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
9911 * grp/putgrent.c (putgrent): Likewise.
9912 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
9914 * hurd/hurdinit.c: Likewise.
9915 * iconvdata/8bit-gap.c (struct): Likewise.
9916 * iconvdata/ansi_x3.110.c : Likewise.
9917 * iconvdata/big5.c : Likewise.
9918 * iconvdata/big5hkscs.c : Likewise.
9919 * iconvdata/cp1255.c: Likewise.
9920 * iconvdata/cp1258.c : Likewise.
9921 * iconvdata/cp932.c : Likewise.
9922 * iconvdata/euc-cn.c: Likewise.
9923 * iconvdata/euc-jisx0213.c : Likewise.
9924 * iconvdata/euc-jp.c: Likewise.
9925 * iconvdata/euc-jp-ms.c : Likewise.
9926 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
9927 * iconvdata/gb18030.c : Likewise.
9928 * iconvdata/gbbig5.c (const): Likewise.
9929 * iconvdata/gbgbk.c: Likewise.
9930 * iconvdata/gbk.c : Likewise.
9931 * iconvdata/ibm1364.c : Likewise.
9932 * iconvdata/ibm930.c : Likewise.
9933 * iconvdata/ibm932.c: Likewise.
9934 * iconvdata/ibm933.c : Likewise.
9935 * iconvdata/ibm935.c : Likewise.
9936 * iconvdata/ibm937.c : Likewise.
9937 * iconvdata/ibm939.c : Likewise.
9938 * iconvdata/ibm943.c: Likewise.
9939 * iconvdata/iso_11548-1.c: Likewise.
9940 * iconvdata/iso-2022-cn.c : Likewise.
9941 * iconvdata/iso-2022-cn-ext.c : Likewise.
9942 * iconvdata/iso-2022-jp-3.c: Likewise.
9943 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
9944 * iconvdata/iso-2022-kr.c : Likewise.
9945 * iconvdata/iso646.c (gconv_end): Likewise.
9946 * iconvdata/iso_6937-2.c : Likewise.
9947 * iconvdata/iso_6937.c : Likewise.
9948 * iconvdata/iso8859-1.c: Likewise.
9949 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
9950 * iconvdata/shift_jisx0213.c : Likewise.
9951 * iconvdata/sjis.c : Likewise.
9952 * iconvdata/t.61.c : Likewise.
9953 * iconvdata/tcvn5712-1.c : Likewise.
9954 * iconvdata/tscii.c: Likewise.
9955 * iconvdata/uhc.c : Likewise.
9956 * iconvdata/unicode.c (gconv_end): Likewise.
9957 * iconvdata/utf-16.c (gconv_end): Likewise.
9958 * iconvdata/utf-32.c (gconv_end): Likewise.
9959 * iconvdata/utf-7.c (base64): Likewise.
9960 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
9961 * iconv/gconv_close.c (__gconv_close): Likewise.
9962 * iconv/gconv_open.c (__gconv_open): Likewise.
9963 * iconv/gconv_simple.c (internal_ucs4_loop_single)
9964 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
9965 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
9966 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
9967 (ucs4le_internal_loop_single): Likewise.
9968 * iconv/iconv.c (iconv): Likewise.
9969 * iconv/iconv_close.c: Likewise.
9970 * iconv/loop.c (SINGLE): Likewise.
9971 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
9972 * include/atomic.h: Likewise.
9973 * inet/inet6_option.c (option_alloc): Likewise.
9974 * intl/bindtextdom.c (set_binding_values): Likewise.
9975 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
9976 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
9977 * intl/localealias.c (read_alias_file): Likewise.
9978 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
9979 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
9980 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
9981 * libio/fmemopen.c (fmemopen): Likewise.
9982 * libio/iofgets.c (_IO_fgets): Likewise.
9983 * libio/iofgets_u.c (fgets_unlocked): Likewise.
9984 * libio/iofgetws.c (fgetws): Likewise.
9985 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
9986 * libio/iogetdelim.c (_IO_getdelim): Likewise.
9987 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
9988 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
9989 * locale/findlocale.c (_nl_find_locale): Likewise.
9990 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
9991 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
9993 * locale/setlocale.c (setlocale): Likewise.
9994 * login/programs/pt_chown.c (main): Likewise.
9995 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
9996 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
9997 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
9998 (mmap, mmap64, mremap, munmap): Likewise.
9999 * math/e_exp2l.c: Likewise.
10000 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
10001 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
10002 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
10003 * math/s_catan.c (__catan): Likewise.
10004 * math/s_catanf.c (__catanf): Likewise.
10005 * math/s_catanh.c (__catanh): Likewise.
10006 * math/s_catanhf.c (__catanhf): Likewise.
10007 * math/s_catanhl.c (__catanhl): Likewise.
10008 * math/s_catanl.c (__catanl): Likewise.
10009 * math/s_ccosh.c (__ccosh): Likewise.
10010 * math/s_ccoshf.c (__ccoshf): Likewise.
10011 * math/s_ccoshl.c (__ccoshl): Likewise.
10012 * math/s_cexp.c (__cexp): Likewise.
10013 * math/s_cexpf.c (__cexpf): Likewise.
10014 * math/s_cexpl.c (__cexpl): Likewise.
10015 * math/s_clog10.c (__clog10): Likewise.
10016 * math/s_clog10f.c (__clog10f): Likewise.
10017 * math/s_clog10l.c (__clog10l): Likewise.
10018 * math/s_clog.c (__clog): Likewise.
10019 * math/s_clogf.c (__clogf): Likewise.
10020 * math/s_clogl.c (__clogl): Likewise.
10021 * math/s_csin.c (__csin): Likewise.
10022 * math/s_csinf.c (__csinf): Likewise.
10023 * math/s_csinh.c (__csinh): Likewise.
10024 * math/s_csinhf.c (__csinhf): Likewise.
10025 * math/s_csinhl.c (__csinhl): Likewise.
10026 * math/s_csinl.c (__csinl): Likewise.
10027 * math/s_csqrt.c (__csqrt): Likewise.
10028 * math/s_csqrtf.c (__csqrtf): Likewise.
10029 * math/s_csqrtl.c (__csqrtl): Likewise.
10030 * math/s_ctan.c (__ctan): Likewise.
10031 * math/s_ctanf.c (__ctanf): Likewise.
10032 * math/s_ctanh.c (__ctanh): Likewise.
10033 * math/s_ctanhf.c (__ctanhf): Likewise.
10034 * math/s_ctanhl.c (__ctanhl): Likewise.
10035 * math/s_ctanl.c (__ctanl): Likewise.
10036 * math/w_pow.c: Likewise.
10037 * math/w_powf.c: Likewise.
10038 * math/w_powl.c: Likewise.
10039 * math/w_scalb.c (sysv_scalb): Likewise.
10040 * math/w_scalbf.c (sysv_scalbf): Likewise.
10041 * math/w_scalbl.c (sysv_scalbl): Likewise.
10042 * misc/error.c (error_tail): Likewise.
10043 * misc/pselect.c (__pselect): Likewise.
10044 * nis/nis_callback.c (__nis_create_callback): Likewise.
10045 * nis/nis_call.c (__nisfind_server): Likewise.
10046 * nis/nis_creategroup.c (nis_creategroup): Likewise.
10047 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
10048 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
10049 * nis/nis_getservlist.c (nis_getservlist): Likewise.
10050 * nis/nis_lookup.c (nis_lookup): Likewise.
10051 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
10052 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
10053 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
10054 * nis/nis_xdr.c (xdr_endpoint): Likewise.
10055 * nis/nss_compat/compat-grp.c (getgrent_next_file)
10056 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
10057 * nis/nss_compat/compat-initgroups.c (add_group)
10058 (internal_getgrent_r): Likewise.
10059 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
10060 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
10061 * nis/nss_compat/compat-spwd.c (getspent_next_file)
10062 (internal_getspnam_r): Likewise.
10063 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
10064 (_nss_nis_getaliasbyname_r): Likewise.
10065 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
10066 (_nss_nis_getntohost_r): Likewise.
10067 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
10068 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
10069 (_nss_nis_getgrgid_r): Likewise.
10070 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
10071 (internal_nis_gethostent_r, internal_gethostbyname2_r)
10072 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
10073 (_nss_nis_gethostbyname4_r): Likewise.
10074 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
10075 (initgroups_netid): Likewise.
10076 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
10077 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
10078 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
10079 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
10080 (_nss_nis_getprotobynumber_r): Likewise.
10081 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
10082 (_nss_nis_getsecretkey): Likewise.
10083 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
10084 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
10085 (_nss_nis_getpwuid_r): Likewise.
10086 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
10087 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
10088 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
10089 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
10090 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
10091 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
10092 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
10094 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
10095 (_nss_nisplus_getntohost_r): Likewise.
10096 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
10097 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
10098 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
10099 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
10101 * nis/nss_nisplus/nisplus-initgroups.c
10102 (_nss_nisplus_initgroups_dyn): Likewise.
10103 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
10104 (_nss_nisplus_getnetbyaddr_r): Likewise.
10105 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
10106 (_nss_nisplus_getprotobynumber_r): Likewise.
10107 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
10108 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
10109 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
10111 * nis/nss_nisplus/nisplus-service.c
10112 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
10113 (_nss_nisplus_getservbyport_r): Likewise.
10114 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
10115 (_nss_nisplus_getspnam_r): Likewise.
10116 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
10118 * nscd/aicache.c (addhstaiX): Likewise.
10119 * nscd/cache.c (cache_search, prune_cache): Likewise.
10120 * nscd/connections.c (register_traced_file, send_ro_fd)
10121 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
10122 (main_loop_epoll): Likewise.
10123 * nscd/grpcache.c (addgrbyX): Likewise.
10124 * nscd/hstcache.c (addhstbyX): Likewise.
10125 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10126 * nscd/mem.c (gc, mempool_alloc): Likewise.
10127 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
10128 (addinnetgrX): Likewise.
10129 * nscd/nscd-client.h (__nscd_acquire_maplock)
10130 (__nscd_drop_map_ref): Likewise.
10131 * nscd/nscd_getai.c (__nscd_getai): Likewise.
10132 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
10133 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
10135 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
10136 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
10137 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
10138 (__nscd_get_map_ref): Likewise.
10139 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
10140 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
10142 * nscd/pwdcache.c (addpwbyX): Likewise.
10143 * nscd/selinux.c (preserve_capabilities): Likewise.
10144 * nscd/servicescache.c (addservbyX): Likewise.
10145 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
10146 * posix/fnmatch.c (fnmatch): Likewise.
10147 * posix/getopt.c (_getopt_internal_r): Likewise.
10148 * posix/glob.c (glob, glob_in_dir): Likewise.
10149 * posix/wordexp.c (exec_comm_child): Likewise.
10150 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
10151 (getanswer_r, gaih_getanswer_slice): Likewise.
10152 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
10153 * resolv/res_init.c: Likewise.
10154 * resolv/res_mkquery.c (res_nmkquery): Likewise.
10155 * resolv/res_query.c (__libc_res_nquery): Likewise.
10156 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
10158 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
10159 * stdio-common/perror.c (perror): Likewise.
10160 * stdio-common/printf_fp.c (___printf_fp): Likewise.
10161 * stdio-common/tmpnam.c (tmpnam): Likewise.
10162 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
10163 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
10164 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
10166 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
10167 * stdlib/putenv.c (putenv): Likewise.
10168 * stdlib/setenv.c (__add_to_environ): Likewise.
10169 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
10170 * stdlib/strtol_l.c (INTERNAL): Likewise.
10171 * string/memmem.c (memmem): Likewise.
10172 * string/strerror.c (strerror): Likewise.
10173 * string/strnlen.c (__strnlen): Likewise.
10174 * string/test-memmem.c (simple_memmem): Likewise.
10175 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
10176 * sunrpc/pm_getport.c (__get_socket): Likewise.
10177 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
10178 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
10179 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
10180 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
10182 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
10183 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
10184 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
10185 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
10186 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
10187 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
10189 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
10191 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
10192 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
10193 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
10194 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
10195 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
10196 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
10197 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
10198 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
10199 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
10200 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
10201 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
10202 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
10204 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
10206 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
10208 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
10209 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
10210 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
10211 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
10212 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
10213 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
10214 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
10215 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
10216 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
10217 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
10218 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
10219 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
10220 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
10221 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
10222 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10223 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
10225 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
10227 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
10229 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
10231 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
10232 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10233 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
10235 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
10236 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
10237 * sysdeps/posix/opendir.c (__opendirat): Likewise.
10238 * sysdeps/posix/sleep.c: Likewise.
10239 * sysdeps/posix/tempname.c: Likewise.
10240 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
10241 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
10243 * sysdeps/powerpc/powerpc32/dl-machine.h
10244 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
10245 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
10246 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
10247 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
10248 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
10250 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
10251 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
10252 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
10253 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
10254 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
10255 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
10256 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
10257 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
10258 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
10259 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
10260 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
10261 (elf_machine_lazy_rel): Likewise.
10262 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
10263 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
10264 (elf_machine_lazy_rel): Likewise.
10265 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
10266 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
10267 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
10268 * sysdeps/unix/grantpt.c (grantpt): Likewise.
10269 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
10270 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
10271 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
10272 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
10274 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
10275 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
10276 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
10277 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
10278 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
10279 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
10280 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
10281 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
10282 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
10283 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
10284 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
10286 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
10287 (__posix_fallocate64_l64): Likewise.
10288 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
10289 (posix_fallocate): Likewise.
10290 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
10292 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
10293 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
10294 (getifaddrs_internal): Likewise.
10295 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
10296 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
10297 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
10298 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
10299 * sysdeps/unix/sysv/linux/posix_fallocate64.c
10300 (__posix_fallocate64_l64): Likewise.
10301 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
10303 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
10304 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
10305 (__get_clockfreq): Likewise.
10306 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
10307 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
10308 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
10309 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
10310 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
10311 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
10312 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
10313 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
10315 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
10316 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
10317 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
10318 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
10319 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
10320 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
10321 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
10323 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
10324 (posix_fallocate): Likewise.
10325 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
10326 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
10327 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
10328 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
10329 (elf_machine_rela, elf_machine_rela_relative)
10330 (elf_machine_lazy_rel): Likewise.
10331 * time/asctime.c (asctime_internal): Likewise.
10332 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
10333 * time/tzset.c (__tzset_parse_tz): Likewise.
10334 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
10335 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
10336 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
10337 * wcsmbs/wcsmbsload.h: Likewise.
10340 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
10342 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
10343 (arena_get2): Remove THREAD_STATS conditionals.
10344 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
10345 (__malloc_stats, int): Likewise.
10347 2014-02-08 Mike Frysinger <vapier@gentoo.org>
10349 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
10350 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
10352 * manual/setjmp.texi: Fix typos/grammar errors.
10354 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
10355 Only return early when n is <= 0. Delete unused return statement.
10357 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
10358 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
10359 * debug/tst-longjmp_chk3.c: New file.
10361 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
10362 (test_main): Replace code with set_fortify_handler call.
10363 * debug/test-strcpy_chk.c: Likewise.
10364 * debug/tst-chk1.c: Likewise.
10365 * debug/tst-longjmp_chk.c: Likewise.
10366 * test-skeleton.c: Include fcntl.h & paths.h
10367 (set_fortify_handler): Define.
10369 * debug/tst-longjmp_chk.c: Add header comment and include
10370 ../test-skeleton.c.
10371 (do_test): Mark static.
10372 (TEST_FUNCTION): Define.
10374 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
10375 (IP_PMTUDISC_INTERFACE): Likewise.
10376 (IP_MULTICAST_IF): Likewise.
10377 (IP_MULTICAST_TTL): Likewise.
10378 (IP_MULTICAST_LOOP): Likewise.
10379 (IP_ADD_MEMBERSHIP): Likewise.
10380 (IP_DROP_MEMBERSHIP): Likewise.
10381 (IP_UNBLOCK_SOURCE): Likewise.
10382 (IP_BLOCK_SOURCE): Likewise.
10383 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
10384 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
10385 (IP_MSFILTER): Likewise.
10386 (MCAST_JOIN_GROUP): Likewise.
10387 (MCAST_BLOCK_SOURCE): Likewise.
10388 (MCAST_UNBLOCK_SOURCE): Likewise.
10389 (MCAST_LEAVE_GROUP): Likewise.
10390 (MCAST_JOIN_SOURCE_GROUP): Likewise.
10391 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
10392 (MCAST_MSFILTER): Likewise.
10393 (IP_MULTICAST_ALL): Likewise.
10394 (IP_UNICAST_IF): Likewise.
10396 * timezone/Makefile: Delete $(have-ksh) check.
10397 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
10398 * timezone/tzselect.ksh: Add +x mode bits.
10400 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
10401 (ANON_INODE_FS_MAGIC): Likewise.
10402 (BDEVFS_MAGIC): Likewise.
10403 (BINFMTFS_MAGIC): Likewise.
10404 (BTRFS_TEST_MAGIC): Likewise.
10405 (CRAMFS_MAGIC_WEND): Likewise.
10406 (DEBUGFS_MAGIC): Likewise.
10407 (ECRYPTFS_SUPER_MAGIC): Likewise.
10408 (EXT3_SUPER_MAGIC): Likewise.
10409 (EXT4_SUPER_MAGIC): Likewise.
10410 (FUTEXFS_SUPER_MAGIC): Likewise.
10411 (HOSTFS_SUPER_MAGIC): Likewise.
10412 (HUGETLBFS_MAGIC): Likewise.
10413 (MINIX3_SUPER_MAGIC): Likewise.
10414 (MTD_INODE_FS_MAGIC): Likewise.
10415 (NILFS_SUPER_MAGIC): Likewise.
10416 (OPENPROM_SUPER_MAGIC): Likewise.
10417 (PIPEFS_MAGIC): Likewise.
10418 (PSTOREFS_MAGIC): Likewise.
10419 (QNX6_SUPER_MAGIC): Likewise.
10420 (RAMFS_MAGIC): Likewise.
10421 (REISERFS_SUPER_MAGIC_STRING): Likewise.
10422 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
10423 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
10424 (SECURITYFS_MAGIC): Likewise.
10425 (SELINUX_MAGIC): Likewise.
10426 (SMACK_MAGIC): Likewise.
10427 (SOCKFS_MAGIC): Likewise.
10428 (SQUASHFS_MAGIC): Likewise.
10429 (STACK_END_MAGIC): Likewise.
10430 (TMPFS_MAGIC): Likewise.
10431 (USBDEVICE_SUPER_MAGIC): Likewise.
10432 (V9FS_MAGIC): Likewise.
10433 (XENFS_SUPER_MAGIC): Likewise.
10434 (CRAMFS_MAGIC): Fix typo in comment.
10435 (EXT2_SUPER_MAGIC): Update comment.
10436 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
10438 2014-02-08 Joseph Myers <joseph@codesourcery.com>
10440 * sysdeps/arm: Move directory from ports/sysdeps/arm.
10441 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
10442 * sysdeps/unix/sysv/linux/arm: Move directory from
10443 ports/sysdeps/unix/sysv/linux/arm.
10444 * README: Update listing for arm-*-linux-gnueabi.
10446 * README: Remove mention of am33.
10448 2014-02-07 Roland McGrath <roland@hack.frob.com>
10450 * bits/sigset.h (__sigemptyset): Use a statement expression rather
10451 than the comma operator, to avoid "rhs of comma has no effect"
10453 (__sigfillset, __sigandset, __sigorset): Likewise.
10454 * include/signal.h (__sigemptyset): Likewise.
10455 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
10457 2014-02-07 Allan McRae <allan@archlinux.org>
10459 * version.h (RELEASE): Set to "development".
10460 (VERSION): Set to "2.19.90"
10461 * NEWS: Add 2.20 section.
10463 2014-02-06 Carlos O'Donell <carlos@redhat.com>
10466 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
10468 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
10470 * manual/contrib.texi: Update entry for Carlos O'Donell,
10471 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
10473 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
10475 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
10477 * sysdeps/unix/sysv/linux/kernel-features.h
10478 [__LINUX_KERNEL_VERSION >= 0x020621]
10479 (__ASSUME_PROC_PID_TASK_COMM): Define.
10481 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
10484 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
10485 conversion when destination buffer does not have enough space.
10486 * libio/tst-ftell-partial-wide.c: New test case.
10487 * libio/Makefile (tests): Add tst-ftell-partial-wide.
10489 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
10490 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
10491 Leonard and Allan McRae.
10493 2014-02-04 David S. Miller <davem@davemloft.net>
10495 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
10498 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10500 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
10502 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
10504 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
10506 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
10508 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
10510 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
10512 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
10514 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
10516 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
10518 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
10520 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
10522 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
10524 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
10527 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10529 * nptl/shlib-versions: Change powerpc*le start to 2.17.
10530 * shlib-versions: Likewise.
10532 2014-02-04 Roland McGrath <roland@hack.frob.com>
10533 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10535 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
10536 (abilist-pattern): New variable, set to %-le.abilist.
10538 * Makerules (abilist-pattern): New variable.
10539 (vpath): Use $(abilist-pattern) in place of %.abilist.
10540 (check-abi-% pattern rule): Likewise.
10541 (check-abi, update-abi): Likewise.
10543 2014-02-04 Eric Wong <normalperson@yhbt.net>
10545 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10547 2014-02-03 Carlos O'Donell <carlos@redhat.com>
10549 * manual/startup.texi: Add next, previous, and top entries for
10550 the `Program Arguments' and `Environment Variables' nodes.
10552 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
10554 * manual/macros.texi: Add comments before MTASC-safety macros.
10556 * manual/users.texi: Document MTASC-safety properties.
10558 * manual/threads.texi (pthread_key_create, pthread_key_delete)
10559 (pthread_getspecific, pthread_setspecific): Format with
10560 @deftypefun, and add @safety note.
10561 * manual/signal.texi: Move comments that analyze the above
10562 functions to their home place.
10564 2014-02-03 Allan McRae <allan@archlinux.org>
10566 * po/sl.po: Update Slovenian translation from translation project.
10568 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
10570 * manual/time.texi (timegm): Add missing blank after @c.
10571 Reported by Joseph Myers <joseph@codesourcery.com>.
10573 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
10575 * manual/check-safety.sh: New.
10576 * manual/Makefile ($(objpfx)stamp-summary): Run it.
10578 * manual/terminal.texi: Document MTASC-safety properties.
10580 * manual/filesys.texi: Document MTASC-safety properties.
10582 * manual/errno.texi: Document MTASC-safety properties.
10584 * manual/intro.texi: Document safety identifiers and
10587 * manual/string.texi (wcstok): Fix prototype.
10588 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
10590 * manual/time.texi: Document MTASC-safety properties.
10592 * manual/string.texi: Document MTASC-safety properties.
10594 * manual/threads.texi: Document MTASC-safety properties.
10596 * manual/stdio.texi: Document MTASC-safety properties.
10598 * manual/syslog.texi: Document MTASC-safety properties.
10600 * manual/sysinfo.texi: Document MTASC-safety properties.
10602 * manual/startup.texi: Document MTASC-safety properties.
10604 * manual/socket.texi: Document MTASC-safety properties.
10606 * manual/signal.texi: Document MTASC-safety properties.
10608 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
10610 * manual/setjmp.texi: Document MTASC-safety properties.
10612 * manual/search.texi: Document MTASC-safety properties.
10614 * manual/resource.texi: Document MTASC-safety properties.
10616 * manual/process.texi: Document MTASC-safety properties.
10618 * manual/platform.texi: Document MTASC-safety properties.
10620 * manual/pipe.texi: Document MTASC-safety properties.
10622 * manual/pattern.texi: Document MTASC-safety properties.
10624 * manual/message.texi: Document MTASC-safety properties.
10627 * manual/memory.texi: Document MTASC-safety properties.
10629 * manual/math.texi: Document MTASC-safety properties.
10631 * manual/locale.texi: Document MTASC-safety properties.
10633 * manual/llio.texi: Document MTASC-safety properties.
10635 * manual/libdl.texi: New.
10637 * manual/lang.texi: Document MTASC-safety properties.
10639 * manual/job.texi: Document MTASC-safety properties.
10641 * manual/getopt.texi: Document MTASC-safety properties.
10643 * manual/ctype.texi: Document MTASC-safety properties.
10645 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
10648 * csu/libc-tls.c (static_map): Remove variable.
10649 (__libc_setup_tls): Use main executable's link map for TLS data.
10650 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
10651 casing for LM_ID_BASE and GL(dl_nns).
10652 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
10653 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
10654 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
10655 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
10656 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
10658 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
10661 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
10663 * manual/debug.texi: Document MTASC-safety properties.
10665 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
10668 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
10669 of __x86_64__ when disabling x87 inline functions.
10671 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
10673 * manual/charset.texi: Document MTASC-safety properties.
10675 * manual/crypt.texi: Document MTASC-safety properties.
10677 * manual/conf.texi: Document MTASC-safety properties.
10679 * manual/arith.texi: Document MTASC-safety properties.
10681 * manual/argp.texi: Document MTASC-safety properties.
10683 * manual/macros.texi: Introduce macros to document multi
10684 thread, asynchronous signal and asynchronous cancellation
10686 * manual/intro.texi: Introduce the properties themselves.
10688 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10690 * sysdeps/sh/sh4/Makefile: New file.
10692 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
10694 * math/gen-libm-test.pl ($srcdir): New variable.
10695 ($auto_input): Use it.
10697 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
10700 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
10701 access beyond array bounds when parsing netgroups file.
10703 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
10704 the old buffer before realloc.
10706 2014-01-27 Allan McRae <allan@archlinux.org>
10708 * po/fr.po: Update French translation from translation project.
10710 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10712 * sysdeps/sh/libm-test-ulps: Regenerate.
10714 2014-01-24 David S. Miller <davem@davemloft.net>
10716 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
10718 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10720 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
10721 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
10723 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
10726 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
10727 string pointers after reallocation.
10729 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10731 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
10732 __SH4A__ instead of __SH_FPU_ANY__.
10734 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10736 * sysdeps/sh/fpu_control.h: New file.
10737 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
10738 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
10739 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
10740 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
10741 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
10742 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
10743 * sysdeps/sh/sys/ucontext.h: Remove.
10744 * sysdeps/sh/sys: Remove directory.
10746 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10748 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
10749 s390/sys/ucontext.h.
10750 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
10751 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
10753 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
10756 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
10758 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10761 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
10762 Adjust the vDSO correctly for internal calls.
10763 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
10765 2014-01-20 Allan McRae <allan@archlinux.org>
10767 * po/ca.po: Update Catalan translation from translation project.
10769 2014-01-16 Mike Frysinger <vapier@gentoo.org>
10771 * sysdeps/s390/sotruss-lib.c: New file.
10773 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10776 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
10777 (__GI___gettimeofday): Alias for a different internal symbol to avoid
10778 local calls issues by not having a PLT stub required for IFUNC calls.
10779 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
10781 2014-01-16 Joseph Myers <joseph@codesourcery.com>
10783 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
10784 * math/test-fpucw-static.c: Likewise.
10786 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
10789 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
10791 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10793 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
10794 implementation for powerpc.
10796 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
10799 * sysdeps/posix/system.c (__libc_system): Do not enable
10800 asynchronous cancellation.
10802 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10805 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
10806 handling only for numbers special also in the IEEE case.
10808 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10810 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
10812 2014-01-11 Allan McRae <allan@archlinux.org>
10814 * po/bg.po: Update Bulgarian translation from translation project.
10816 * po/de.po: Update German translation from translation project.
10818 2014-01-10 Roland McGrath <roland@hack.frob.com>
10820 * sysdeps/generic/gcc-compat.h: New file.
10822 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
10824 * benchtests/asin-inputs: Correct slow inputs.
10825 * benchtests/acos-inputs: Likewise.
10827 2014-01-10 Allan McRae <allan@archlinux.org>
10829 * po:sv.po: Update Swedish translation from translation project.
10831 * po/vi.po: Update Vietnamese translation from translation project.
10833 * po/eo.po: Update Esperanto translation from translation project.
10835 * po/cs.po: Update Czech translation from translation project.
10837 * po/nl.po: Update Dutch translation from translation project.
10839 * po/pl.po: Update Polish translation from translation project.
10841 * po/ru.po: Update Russian translation from translation project.
10843 * po/uk.po: Update Ukrainian translation from translation project.
10845 2014-01-08 Brooks Moses <bmoses@google.com>
10847 * elf/dl-load.c: Fix comment typo.
10849 2014-01-08 Carlos O'Donell <carlos@redhat.com>
10851 * po/header.pot: Rename to...
10852 * po/pot.header: ... this.
10853 * po/Makefile: Use pot.header.
10855 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
10856 Maxim Kuvyrkov <maxim@kugelworks.com>
10859 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
10860 SRC and DEST against LEN.
10862 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10865 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
10867 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
10869 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10871 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10873 2014-01-08 Joseph Myers <joseph@codesourcery.com>
10876 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
10877 for large positive arguments.
10879 2014-01-07 Joseph Myers <joseph@codesourcery.com>
10881 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
10883 * math/auto-libm-test-in: Mark various tests with
10884 xfail-rounding:ldbl-128ibm.
10885 * math/auto-libm-test-out: Regenerated.
10888 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
10889 Increase overflow threshold.
10891 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
10894 * stdio-common/vfprintf.c: Check for integer overflow.
10896 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10898 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
10899 the first argument and return value of __tls_get_addr_internal.
10901 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10903 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
10904 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
10906 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10908 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
10909 * sysdeps/s390/rtld-global-offsets.sym: New file.
10910 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
10912 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
10913 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
10914 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
10916 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
10917 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
10919 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
10921 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
10923 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
10924 halfs of GPRs for high_gprs contexts.
10925 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
10926 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
10928 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
10930 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
10932 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
10933 for high GPRs (uc_high_gprs) and for future extensions
10935 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
10936 for future extensions (__reserved).
10937 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
10939 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
10940 SC_HIGHGPRS offset definition.
10941 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
10942 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
10944 * Versions.def: Add GLIBC_2.19 for libpthread.
10945 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
10946 siglongjmp for libpthread with GLIBC_2.19 symver.
10947 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
10948 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
10949 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
10950 * sysdeps/s390/__longjmp.c: New file.
10951 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
10952 * sysdeps/s390/longjmp.c: New file.
10953 * sysdeps/s390/setjmp.S: New file.
10954 * sysdeps/s390/sigjmp.S: New file.
10955 * sysdeps/s390/v1-longjmp.c: New file.
10956 * sysdeps/s390/v1-setjmp.h: New file.
10957 * sysdeps/s390/v1-sigjmp.c: New file.
10958 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
10959 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
10960 GLIBC_2.19 version.
10961 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
10962 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
10963 versioned symbols for ____longjmp_chk.
10964 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
10966 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
10968 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
10970 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
10972 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
10974 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
10975 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
10976 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
10977 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
10978 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
10979 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
10980 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
10981 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
10982 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
10983 * sysdeps/s390/rtld-__longjmp.c: New file.
10984 * sysdeps/s390/rtld-setjmp.S: New file.
10986 2014-01-06 Joseph Myers <joseph@codesourcery.com>
10989 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
10990 Return -__logl (x) for small positive arguments without evaluating
10993 2014-01-06 Mike Frysinger <vapier@gentoo.org>
10995 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
10997 (__ptrace_peeksiginfo_args): ... this.
10998 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
10999 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
11000 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
11002 2014-01-06 Allan McRae <allan@archlinux.org>
11004 * inet/netinet/in.h: Fix typo in comment.
11006 2014-01-05 Andreas Jaeger <aj@suse.de>
11008 * sysdeps/i386/fpu/libm-test-ulps: Update.
11010 2014-01-05 Allan McRae <allan@archlinux.org>
11012 * po/libc.pot: Regenerated.
11014 * malloc/memusagestat.c: Fix gettext call formatting.
11016 2014-01-04 Sami Kerola <kerolasa@iki.fi>
11018 * nscd/nscd.c: Improve usage() output.
11020 2014-01-04 Mike Frysinger <vapier@gentoo.org>
11022 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
11023 * sysdeps/unix/sysv/linux/configure: Regenerated.
11024 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
11025 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
11027 2014-01-03 Joseph Myers <joseph@codesourcery.com>
11030 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
11031 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
11033 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11035 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
11036 extra tokens at end of #undef directive.
11037 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
11038 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
11039 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
11041 2014-01-03 Joseph Myers <joseph@codesourcery.com>
11043 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
11045 * math/auto-libm-test-in: Mark various tests with
11046 xfail-rounding:ldbl-128ibm.
11047 * math/auto-libm-test-out: Regenerated.
11049 2014-01-02 Joseph Myers <joseph@codesourcery.com>
11052 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
11053 numbers with subnormal high part when calculating exponent.
11056 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
11060 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
11062 (__ieee754_acoshl): Use __log1pl not __log1p.
11064 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
11066 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
11067 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
11068 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
11069 (grow_heap, heap_trim, _int_new_arena, get_free_list)
11070 (reused_arena, arena_get2): Convert to GNU style.
11071 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
11072 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
11073 (memalign_check, __malloc_set_state): Likewise.
11074 * malloc/mallocbug.c (main): Likewise.
11075 * malloc/malloc.c (__malloc_assert, malloc_init_state)
11076 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
11077 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
11078 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
11079 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
11080 (__posix_memalign, malloc_info): Likewise.
11081 * malloc/malloc.h: Likewise.
11082 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
11083 (mallochook, memalignhook, reallochook, mabort): Likewise.
11084 * malloc/mcheck.h: Likewise.
11085 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
11086 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
11087 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
11088 * malloc/morecore.c (__default_morecore): Likewise.
11089 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
11090 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
11091 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
11092 (print_and_abort): Likewise.
11093 * malloc/obstack.h: Likewise.
11094 * malloc/set-freeres.c (__libc_freeres): Likewise.
11095 * malloc/tst-mallocstate.c (main): Likewise.
11096 * malloc/tst-mtrace.c (main): Likewise.
11097 * malloc/tst-realloc.c (do_test): Likewise.
11099 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
11102 * nscd/netgroupcache.c (do_notfound): New function.
11103 (addgetnetgrentX): Use it.
11106 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
11107 NSS_STATUS_NOTFOUND.
11109 2014-01-01 Joseph Myers <joseph@codesourcery.com>
11111 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
11112 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11114 2014-01-01 Allan McRae <allan@archlinux.org>
11116 * scripts/update-copyrights: Update configure input file suffix.
11118 * NEWS: Update copyright year.
11119 * catgets/gencat.c: Likewise.
11120 * csu/version.c: Likewise.
11121 * debug/catchsegv.sh: Likewise.
11122 * debug/pcprofiledump.c: Likewise.
11123 * debug/xtrace.sh: Likewise.
11124 * elf/ldconfig.c: Likewise.
11125 * elf/ldd.bash.in: Likewise.
11126 * elf/pldd.c: Likewise.
11127 * elf/sotruss.ksh: Likewise.
11128 * elf/sprof.c: Likewise.
11129 * iconv/iconv_prog.c: Likewise.
11130 * iconv/iconvconfig.c: Likewise.
11131 * locale/programs/locale.c: Likewise.
11132 * locale/programs/localedef.c: Likewise.
11133 * login/programs/pt_chown.c: Likewise.
11134 * malloc/memusage.sh: Likewise.
11135 * malloc/memusagestat.c: Likewise.
11136 * malloc/mtrace.pl: Likewise.
11137 * manual/libc.texinfo: Likewise.
11138 * nscd/nscd.c: Likewise.
11139 * nss/getent.c: Likewise.
11140 * nss/makedb.c: Likewise.
11141 * posix/getconf.c: Likewise.
11142 * scripts/test-installation.pl: Likewise.
11144 * All files with FSF copyright notices: Update copyright dates
11145 using scripts/update-copyrights.
11146 * intl/plural.c: Regenerated.
11147 * locale/programs/charmap-kw.h: Likewise.
11148 * locale/programs/locfile-kw.h: Likewise.
11150 2013-12-31 Mike Frysinger <vapier@gentoo.org>
11152 * sysdeps/unix/sysv/linux/configure: Regenerated.
11153 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
11154 the linux/fanotify.h header.
11155 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
11156 HAVE_LINUX_FANOTIFY_H is defined.
11158 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
11160 * benchtests/cos-inputs: New inputs.
11161 * benchtests/sin-inputs: Likewise.
11163 * benchtests/atan-inputs: New inputs. Fix name of multiple
11164 precision fallback inputs.
11166 * benchtests/atanh-inputs: New inputs.
11167 * benchtests/tanh-inputs: Likewise.
11169 * benchtests/acosh-inputs: New inputs.
11170 * benchtests/asinh-inputs: Likewise.
11172 * benchtests/cosh-inputs: New inputs.
11173 * benchtests/sinh-inputs: Likewise.
11175 * benchtests/acos-inputs: Add more inputs.
11176 * benchtests/asin-inputs: Likewise.
11178 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
11181 * manual/arith.texi: Fix spelling.
11182 * manual/charset.texi: Likewise.
11183 * manual/errno.texi: Likewise.
11184 * manual/filesys.texi: Likewise.
11185 * manual/lang.texi: Likewise.
11186 * manual/llio.texi: Likewise.
11187 * manual/locale.texi: Likewise.
11188 * manual/message.texi: Likewise.
11189 * manual/resource.texi: Likewise.
11190 * manual/search.texi: Likewise.
11191 * manual/setjmp.texi: Likewise.
11192 * manual/stdio.texi: Likewise.
11193 * manual/string.texi: Likewise.
11194 * manual/sysinfo.texi: Likewise.
11195 * manual/time.texi: Likewise.
11197 2013-12-27 Carlos O'Donell <carlos@redhat.com>
11199 * po/sl.po: New file.
11201 2013-12-27 Mike Frysinger <vapier@gentoo.org>
11203 * .gitignore: Add core/.gdbinit/.gdb_history.
11205 2013-12-27 Allan McRae <allan@archlinux.org>
11208 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
11209 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
11211 2013-12-24 Brooks Moses <bmoses@google.com>
11213 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
11214 all compilers that claim C++98 compliance, not just GCC.
11215 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
11218 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
11220 * NEWS: Restore accidentally deleted bug-fix entries.
11222 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
11223 Ondřej Bílka <neleai@seznam.cz>
11226 * malloc/malloc.c (_int_free): Perform sanity check only if we
11229 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
11232 * manual/stdio.texi (String Input Conversions): Clarify that character
11233 classes are not supported.
11235 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11237 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11239 2013-12-22 Joseph Myers <joseph@codesourcery.com>
11242 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
11243 Calculate results for small negative arguments directly rather
11244 than using reflection formula with special underflow handling.
11246 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
11247 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
11248 sysdeps/unix/bsd/bsd4.4/syscalls.list.
11249 (fchflags): Likewise.
11250 (revoke): Likewise.
11251 (setlogin): Likewise.
11252 (sigaltstack): Likewise.
11254 (sigblock): Remove.
11255 (sigsetmask): Likewise.
11257 (waitpid): Likewise.
11258 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
11259 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
11261 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
11262 * sysdeps/unix/bsd/Makefile: ... here.
11263 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
11264 * sysdeps/unix/bsd/Versions: ... here.
11265 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
11266 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
11267 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
11268 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
11269 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
11270 * sysdeps/unix/bsd/sigblock.c: ... here.
11271 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
11272 * sysdeps/unix/bsd/sigsetmask.c: ... here.
11273 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
11274 * sysdeps/unix/bsd/sigvec.c: ... here.
11275 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
11276 * sysdeps/unix/bsd/tcdrain.c: ... here.
11277 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
11278 * sysdeps/unix/bsd/tcgetattr.c: ... here.
11279 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
11280 * sysdeps/unix/bsd/tcsetattr.c: ... here.
11281 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
11282 * sysdeps/unix/bsd/wait.c: ... here.
11283 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
11284 * sysdeps/unix/bsd/wait3.c: ... here.
11285 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
11286 * sysdeps/unix/bsd/waitpid.c: ... here.
11288 2013-12-21 Joseph Myers <joseph@codesourcery.com>
11291 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
11292 round-to-nearest for [!USE_AS_EXPM1L].
11293 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
11294 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
11295 more tests of exp and exp10. Expect some exp10 tests to miss
11296 exceptions or fail in directed rounding modes.
11297 * math/auto-libm-test-out: Regenerated.
11298 * math/libm-test.inc (exp10_tonearest_test_data): New array.
11299 (exp10_test_tonearest): New function.
11300 (exp10_towardzero_test_data): New array.
11301 (exp10_test_towardzero): New function.
11302 (exp10_downward_test_data): New array.
11303 (exp10_test_downward): New function.
11304 (exp10_upward_test_data): New array.
11305 (exp10_test_upward): New function.
11306 (main): Call the new functions.
11307 * sysdeps/i386/fpu/libm-test-ulps: Update.
11308 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11310 2013-12-20 Joseph Myers <joseph@codesourcery.com>
11312 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
11313 asinh, atan, atan2, atanh, cbrt, cos and cosh.
11314 * math/auto-libm-test-out: Regenerated.
11315 * math/libm-test.inc (acosh_test_data): Add more tests.
11316 (atanh_test_data): Likewise.
11317 (ceil_test_data): Likewise.
11318 (copysign_test_data): Likewise.
11319 * sysdeps/i386/fpu/libm-test-ulps: Update.
11320 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11322 * timezone/checktab.awk: Update from tzcode 2013i.
11323 * timezone/private.h: Likewise.
11324 * timezone/scheck.c: Likewise.
11325 * timezone/tzfile.h: Likewise.
11326 * timezone/tzselect.ksh: Likewise.
11327 * timezone/zdump.c: Likewise.
11328 * timezone/zic.c: Likewise.
11330 * math/auto-libm-test-in: Add tests of cpow.
11331 * math/auto-libm-test-out: Regenerated.
11332 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
11333 * math/gen-auto-libm-tests.c (func_calc_method): Add value
11335 (func_calc_desc): Add mpc_cc_c union field.
11336 (test_functions): Add cpow.
11337 (special_fill_2pi): New function.
11338 (special_real_inputs): Add 2pi.
11339 (calc_generic_results): Handle mpc_cc_c.
11340 * sysdeps/i386/fpu/libm-test-ulps: Update.
11341 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11343 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
11344 csqrt, ctan and ctanh.
11345 * math/auto-libm-test-out: Regenerated.
11346 * math/libm-test.inc (TEST_COND_x86_64): New macro.
11347 (TEST_COND_x86): Likewise.
11348 (ccos_test_data): Use AUTO_TESTS_c_c.
11349 (ccosh_test_data): Likewise.
11350 (cexp_test_data): Likewise.
11351 (clog_test_data): Likewise.
11352 (csqrt_test_data): Likewise.
11353 (ctan_test_data): Likewise.
11354 (ctan_tonearest_test_data): Likewise.
11355 (ctan_towardzero_test_data): Likewise.
11356 (ctan_downward_test_data): Likewise.
11357 (ctan_upward_test_data): Likewise.
11358 (ctanh_test_data): Likewise.
11359 (ctanh_tonearest_test_data): Likewise.
11360 (ctanh_towardzero_test_data): Likewise.
11361 (ctanh_downward_test_data): Likewise.
11362 (ctanh_upward_test_data): Likewise.
11363 * math/gen-auto-libm-tests.c (func_calc_method): Add value
11365 (func_calc_desc): Add mpc_c_c union field.
11366 (FUNC_mpc_c_c): New macro.
11367 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
11368 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
11370 (special_fill_min_subnorm_p120): New function.
11371 (special_real_inputs): Add min_subnorm_p120.
11372 (calc_generic_results): Handle mpc_c_c.
11373 * sysdeps/i386/fpu/libm-test-ulps: Update.
11374 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11376 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
11378 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
11379 (do_sin_slow): New functions.
11380 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
11381 (cslow2, csloww1, csloww2): Use the new functions.
11383 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
11384 Use M to change sign of result instead of X. Assume X is
11386 (csloww1): Likewise.
11390 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
11391 arguments A and DA.
11395 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
11397 (sloww1): Don't adjust sign of DX.
11398 (csloww1): Likewise.
11399 (sloww2): Use X directly and don't adjust sign of DX.
11400 (csloww2): Likewise.
11402 2013-12-19 Joseph Myers <joseph@codesourcery.com>
11404 * math/auto-libm-test-in: Add tests of cabs and carg.
11405 * math/auto-libm-test-out: Regenerated.
11406 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
11407 (carg_test_data): Likewise.
11408 * math/gen-auto-libm-tests.c (func_calc_method): Add value
11410 (func_calc_desc): Add mpc_c_f union field.
11411 (test_functions): Add cabs and carg.
11412 (calc_generic_results): Handle mpc_c_f.
11414 * sysdeps/powerpc/powerpc32/libgcc-compat.S
11415 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
11416 as a macro and a compat symbol.
11417 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
11418 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
11419 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
11420 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
11421 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
11422 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
11424 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
11426 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
11428 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
11430 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
11432 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
11434 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
11435 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
11438 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11440 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11442 2013-12-19 Joseph Myers <joseph@codesourcery.com>
11444 * manual/texinfo.tex: Update to version 2013-11-26.10 with
11445 trailing whitespace removed.
11446 * scripts/config.guess: Update to version 2013-11-29.
11447 * scripts/config.sub: Update to version 2013-10-01.
11449 * math/auto-libm-test-in: Add tests of sincos.
11450 * math/auto-libm-test-out: Regenerated.
11451 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
11452 * math/gen-auto-libm-tests.c (func_calc_method): Add value
11454 (func_calc_desc): Add mpfr_f_11 union field.
11455 (test_functions): Add sincos.
11456 (calc_generic_results): Handle mpfr_f_11.
11457 * sysdeps/i386/fpu/libm-test-ulps: Update.
11458 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11460 2013-12-19 Andreas Schwab <schwab@suse.de>
11462 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
11464 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
11465 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
11466 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
11468 2013-12-19 Joseph Myers <joseph@codesourcery.com>
11470 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
11471 * sysdeps/i386/fpu/libm-test-ulps: Update.
11472 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11475 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
11476 round-to-nearest mode when using frndint.
11477 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
11478 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
11479 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
11481 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
11483 * math/auto-libm-test-out: Regenerated.
11484 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
11485 (TEST_COND_x86): Likewise.
11486 (expm1_tonearest_test_data): New array.
11487 (expm1_test_tonearest): New function.
11488 (expm1_towardzero_test_data): New array.
11489 (expm1_test_towardzero): New function.
11490 (expm1_downward_test_data): New array.
11491 (expm1_test_downward): New function.
11492 (expm1_upward_test_data): New array.
11493 (expm1_test_upward): New function.
11494 (main): Run the new test functions.
11495 * sysdeps/i386/fpu/libm-test-ulps: Update.
11496 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11498 * include/features.h: Update comment documenting feature test
11499 macros. Mention _DEFAULT_SOURCE in comment.
11500 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
11501 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
11502 _BSD_SOURCE and _SVID_SOURCE.
11503 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
11504 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
11505 !_SVID_SOURCE]: Likewise.
11506 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
11507 (__USE_POSIX_IMPLICITLY): Define.
11508 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
11509 (_POSIX_SOURCE): Undefine and redefine.
11510 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
11511 (_POSIX_C_SOURCE): Likewise.
11512 * manual/creature.texi (_DEFAULT_SOURCE): Document.
11513 (Feature Test Macros): Update documentation of default features.
11515 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11517 * benchtests/Makefile: Add bench-strtok.
11518 * benchtests/bench-strtok.c: New file: strtok benchtest.
11520 2013-12-19 Allan McRae <allan@archlinux.org>
11522 * manual/install.texi: Suppress menu for plain text output.
11523 * INSTALL: Regenerated.
11525 2013-12-18 Brooks Moses <bmoses@google.com>
11528 * misc/getauxval.c: Include errno.h.
11529 (__getauxval): Set errno to ENOENT if the requested type is not
11531 * misc/sys/auxv.h (getauxval): Document that it may set errno;
11532 don't declare with __attribute_const__.
11533 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
11534 * manual/startup.texi: Document that getauxval sets errno.
11536 2013-12-18 Joseph Myers <joseph@codesourcery.com>
11538 * math/auto-libm-test-in: Add tests of jn and yn.
11539 * math/auto-libm-test-out: Regenerated.
11540 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
11541 (yn_test_data): Likewise.
11542 * math/gen-auto-libm-tests.c (func_calc_method): Add value
11544 (func_calc_desc): Add mpfr_if_f union field.
11545 (FUNC_mpfr_if_f): New macro.
11546 (test_functions): Add jn and yn.
11547 (calc_generic_results): Assert type of second input for
11548 mpfr_ff_f. Handle mpfr_if_f.
11549 (output_for_one_input_case): Disable all checking for arguments
11550 fitting floating-point types in case of an integer argument.
11551 * sysdeps/i386/fpu/libm-test-ulps: Update.
11552 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11554 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
11555 Don't expect fegetround reference in libm.so.
11557 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11559 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
11560 $(config-cflags-nofma).
11562 2013-12-18 Joseph Myers <joseph@codesourcery.com>
11564 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
11565 * math/auto-libm-test-out: Regenerated.
11568 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
11569 to determine exponent and adjust argument to have exponent of -1.
11570 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
11572 * math/auto-libm-test-out: Regenerated.
11573 * sysdeps/i386/fpu/libm-test-ulps: Update.
11574 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11576 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
11578 * manual/probes.texi: Remove cases when per-thread arenas are
11581 2013-12-18 Andreas Schwab <schwab@suse.de>
11583 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
11584 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
11585 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
11586 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
11587 * sysdeps/i386/i686/multiarch/Makefile: Update.
11588 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
11590 2013-12-17 Joseph Myers <joseph@codesourcery.com>
11592 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
11593 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
11595 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
11598 Support TZ transition times < 00:00:00.
11599 This is needed for version-3 tz-format files; it supports time
11600 stamps past 2037 for America/Godthab (the only entry in the tz
11601 database for which this change is relevant).
11602 * manual/time.texi (TZ Variable): Document transition times
11603 from -167:59:59 through -00:00:01.
11604 * time/tzset.c (tz_rule): Time of day is now signed.
11605 (__tzset_parse_tz): Parse negative time of day.
11607 Document TZ transition times >= 25:00:00.
11608 * manual/time.texi (TZ Variable): Document transition times from
11609 25:00:00 through 167:59:59. These are already supported, and this
11610 support will help with version-3 tz-format files.
11612 * manual/time.texi (TZ Variable): Modernize North America example
11613 to reflect current (i.e., 2007-and-later) daylight saving rules.
11615 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
11617 2013-12-17 Joseph Myers <joseph@codesourcery.com>
11619 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
11620 * sysdeps/unix/bsd/bits/stat.h: Likewise.
11621 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
11622 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
11623 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
11624 * sysdeps/unix/bsd/bsdstat.h: Likewise.
11625 * sysdeps/unix/bsd/clock.c: Likewise.
11626 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
11627 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
11628 * sysdeps/unix/bsd/init-posix.c: Likewise.
11629 * sysdeps/unix/bsd/poll.c: Likewise.
11630 * sysdeps/unix/bsd/ptsname.c: Likewise.
11631 * sysdeps/unix/bsd/seekdir.c: Likewise.
11632 * sysdeps/unix/bsd/setegid.c: Likewise.
11633 * sysdeps/unix/bsd/seteuid.c: Likewise.
11634 * sysdeps/unix/bsd/setgid.c: Likewise.
11635 * sysdeps/unix/bsd/setrgid.c: Likewise.
11636 * sysdeps/unix/bsd/setruid.c: Likewise.
11637 * sysdeps/unix/bsd/setsid.c: Likewise.
11638 * sysdeps/unix/bsd/setuid.c: Likewise.
11639 * sysdeps/unix/bsd/sigaction.c: Likewise.
11640 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
11641 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
11642 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
11643 * sysdeps/unix/bsd/telldir.c: Likewise.
11644 * sysdeps/unix/bsd/times.c: Likewise.
11645 * sysdeps/unix/bsd/usleep.c: Likewise.
11647 * misc/Makefile (install-lib): Remove libbsd-compat.a.
11648 ($(objpfx)libbsd-compat.a): Remove rule.
11650 * include/features.h (__FAVOR_BSD): Do not define.
11651 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
11652 features conflicting with POSIX.
11653 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
11654 (_BSD_SOURCE): Remove description of not being a subset of other
11655 feature test macros.
11656 * manual/job.texi (getpgrp): Do not document BSD version.
11657 (getpgid): Do not document by reference to BSD getpgrp.
11658 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
11659 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
11660 * signal/signal.h [__FAVOR_BSD]: Likewise.
11661 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
11662 instead of making contents conditional on [__FAVOR_BSD].
11663 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
11665 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11667 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11669 2013-12-17 Joseph Myers <joseph@codesourcery.com>
11672 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
11673 values below 2**-450, not 2**-500.
11674 * math/auto-libm-test-in: Don't allow spurious underflow from
11676 * math/auto-libm-test-out: Regenerated.
11680 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
11681 values of ha and hb and sort them after adjusting subnormal
11683 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
11685 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
11686 values of ea and eb and sort them after adjusting subnormal
11688 * math/auto-libm-test-in: Do not expect some hypot tests of
11689 subnormals to fail. Add more hypot tests.
11690 * math/auto-libm-test-out: Regenerated.
11692 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11695 * sysdeps/sh/s_fma.c: New file.
11696 * sysdeps/sh/s_fmaf.c: New file.
11697 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
11699 * sysdeps/sh/Implies: Add sh/soft-fp.
11701 2013-12-16 Roland McGrath <roland@hack.frob.com>
11703 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
11704 level of indirection to members `objname', `errstring', `malloced'.
11705 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
11706 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
11707 it as the __longjmp argument (just pass 1 instead).
11708 (_dl_catch_error): Initialize C with argument pointers and address of
11709 volatile local ERRCODE rather than copying values out of C at return.
11711 2013-12-16 Joseph Myers <joseph@codesourcery.com>
11713 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
11714 * math/auto-libm-test-out: Regenerated.
11715 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
11716 (hypot_test_data): Likewise.
11717 (pow_test_data): Likewise.
11718 (pow_tonearest_test_data): Likewise.
11719 * math/gen-auto-libm-tests.c (func_calc_method): Add value
11721 (func_calc_desc): Add mpfr_ff_f union field.
11722 (FUNC_mpfr_ff_f): New macro.
11723 (test_functions): Add atan2, hypot and pow.
11724 (special_fill_min): New function.
11725 (special_fill_minus_min): Likewise.
11726 (special_fill_min_subnorm): Likewise.
11727 (special_fill_minus_min_subnorm): Likewise.
11728 (special_real_inputs): Add min, -min, min_subnorm and
11730 (calc_generic_results): Handle mpfr_ff_f.
11731 * sysdeps/i386/fpu/libm-test-ulps: Update.
11732 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11734 2013-12-16 Will Newton <will.newton@linaro.org>
11736 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
11737 (Aligned Memory Blocks): Add documentation for aligned_alloc
11738 and suggest it as an alternative to posix_memalign.
11739 (Hooks for Malloc): Document __memalign_hook is also called
11740 for aligned_alloc. (Summary of Malloc): Add summary for
11741 aligned alloc. Document __memalign_hook is also called
11744 2013-12-16 Will Newton <will.newton@linaro.org>
11746 * manual/memory.texi (Malloc Examples): Clarify default
11747 alignment documentation. Suggest posix_memalign rather
11748 than memalign or valloc.
11749 (Aligned Memory Blocks): Remove suggestion to use memalign
11750 or valloc. Remove obsolete comment about BSD.
11751 Document memalign errno values and mark the function obsolete.
11752 Document posix_memalign returned error codes. Mark valloc
11753 as obsolete. (Hooks for Malloc): __memalign_hook is also
11754 called for posix_memalign and valloc.
11755 (Summary of Malloc): Add posix_memalign to function summary.
11756 __memalign_hook is also called for posix_memalign and valloc.
11758 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
11760 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
11764 (sloww): Use mynumber union. Expand ternary operator into
11765 if-else statements.
11766 (cslow): use mynumber union.
11768 2013-12-16 Allan McRae <allan@archlinux.org>
11770 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
11771 * configure: Regenerated.
11773 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
11776 * configure.ac: Added --enable-maintainer-mode. Check for
11777 autoconf when enabled.
11778 * configure: Regenerated.
11780 * nscd/nscd.service: New file.
11781 * nscd/nscd.tmpfiles: New file.
11783 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
11786 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
11787 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
11788 * sysdeps/x86_64/multiarch/strstr.c: ... here.
11789 (strstr): Add __strstr_sse2_unaligned ifunc.
11790 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
11791 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
11792 (strcasestr): Remove __strcasestr_sse42 ifunc.
11793 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
11794 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
11795 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
11797 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11799 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
11800 * sysdeps/sh/bits/fenv.h: ... here.
11801 * sysdeps/sh/sh4/fpu/bits: Remove directory.
11803 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11805 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
11807 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
11808 hypotf multiarch implementations.
11809 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
11810 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
11811 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
11812 multiarch hypot for PPC64.
11813 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
11814 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
11815 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
11816 multiarch hypotf for PPC64.
11818 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
11819 modff multiarch implementations.
11820 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
11821 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
11822 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
11823 multiarch modf for PPC64.
11824 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
11825 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
11826 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
11827 multiarch modff for PPC64.
11829 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
11830 and logl multiarch implementations.
11831 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
11832 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
11833 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
11834 multiarch logb for PPC64.
11835 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
11836 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
11837 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
11838 multiarch logb for PPC64.
11839 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
11840 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
11841 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
11842 multiarch logb for PPC64.
11844 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
11845 isinff multiarch implementation.
11846 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
11848 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
11849 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
11850 multiarch isinf for PPC64.
11851 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
11853 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
11854 multiarch isinff for PPC64.
11856 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
11857 finitef multiarch implementation.
11858 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
11860 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
11861 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
11862 multiarch finite for PPC64.
11863 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
11865 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
11866 multiarch finitef for PPC64.
11868 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
11869 lrint multiarch implementation.
11870 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
11872 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
11873 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
11874 multiarch llrint for PPC64.
11875 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
11876 multiarch lrint for PPC64.
11878 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
11879 copysignf multiarch implementation.
11880 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
11882 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
11884 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
11885 multiarch copysign for PPC64.
11886 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
11887 multiarch copysignf for PPC64.
11889 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
11890 multiarch implementation.
11891 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
11893 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
11895 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
11897 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
11899 multiarch llround for PPC64.
11900 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
11901 multiarch trunc for PPC64.
11902 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
11903 multiarch truncf for PPC64.
11905 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
11906 multiarch implementation.
11907 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
11909 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
11911 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
11913 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
11915 multiarch llround for PPC64.
11916 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
11917 multiarch round for PPC64.
11918 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
11919 multiarch roundf for PPC64.
11921 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
11922 multiarch implementation.
11923 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
11925 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
11927 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
11929 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
11931 multiarch llround for PPC64.
11932 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
11933 multiarch floor for PPC64.
11934 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
11935 multiarch floorf for PPC64.
11937 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
11938 multiarch implementation.
11939 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
11941 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
11943 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
11945 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
11947 multiarch llround for PPC64.
11948 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
11949 multiarch ceil for PPC64.
11950 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
11951 multiarch ceilf for PPC64.
11953 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
11954 multiarch implementation.
11955 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
11957 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
11959 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
11961 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
11962 multiarch llround for PPC64.
11963 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
11964 multiarch lround for PPC64.
11966 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
11967 multiarch implementation.
11968 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
11969 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
11970 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
11972 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
11973 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
11974 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
11975 multiarch isnan for PPC64.
11976 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
11977 multiarch isnanf for PPC64.
11979 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
11980 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
11981 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
11982 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
11983 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
11984 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
11986 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
11987 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
11988 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
11989 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
11991 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
11992 multiarch implementations.
11993 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11994 (__libc_ifunc_impl_list): Likewise.
11995 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
11996 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
11997 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
11998 multiarch stpcpy for PPC64.
12000 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
12001 multiarch implementations.
12002 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12003 (__libc_ifunc_impl_list): Likewise.
12004 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
12005 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
12006 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
12007 multiarch strcpy for PPC64.
12009 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
12010 redefine function name.
12011 (_wordcopy_fwd_dest_aligned): Likewise.
12012 (_wordcopy_bwd_aligned): Likewise.
12013 (_wordcopy_bwd_dest_aligned): Likewise.
12014 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
12015 multiarch implementations.
12016 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12017 (__libc_ifunc_impl_list): Likewise.
12018 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
12019 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
12020 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
12021 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
12022 multiarch wcscpy for PPC64.
12024 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
12025 multiarch implementations.
12026 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12027 (__libc_ifunc_impl_list): Likewise.
12028 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
12029 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
12030 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
12031 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
12032 multiarch wcscpy for PPC64.
12034 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
12035 multiarch implementations.
12036 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12037 (__libc_ifunc_impl_list): Likewise.
12038 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
12039 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
12040 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
12041 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
12042 multiarch wcsrchr for PPC64.
12044 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
12045 multiarch implementations.
12046 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12047 (__libc_ifunc_impl_list): Likewise.
12048 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
12049 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
12050 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
12051 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
12052 multiarch wcschr for PPC64.
12054 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
12055 multiarch implementations.
12056 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12057 (__libc_ifunc_impl_list): Likewise.
12058 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
12059 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
12060 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
12061 multiarch strchrnul for PPC64.
12063 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
12065 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12066 (__libc_ifunc_impl_list): Likewise.
12067 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
12068 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
12069 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
12070 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
12073 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
12075 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12076 (__libc_ifunc_impl_list): Likewise.
12077 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
12078 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
12079 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
12080 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
12083 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
12084 multiarch implementations.
12085 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12086 (__libc_ifunc_impl_list): Likewise.
12087 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
12088 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
12089 strncasecmp for PPC64.
12090 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
12091 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
12092 multiarch strncasecmp_l for PPC64.
12094 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
12095 multiarch implementations.
12096 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12097 (__libc_ifunc_impl_list): Likewise.
12098 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
12099 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
12100 multiarch strcasecmp for PPC64.
12101 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
12103 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
12104 multiarch strcasecmp_l for PPC64.
12106 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
12108 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12109 (__libc_ifunc_impl_list): Likewise.
12110 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
12111 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
12112 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
12115 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
12117 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12118 (__libc_ifunc_impl_list): Likewise.
12119 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
12120 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
12121 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
12124 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
12126 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12127 (__libc_ifunc_impl_list): Likewise.
12128 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
12129 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
12130 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
12131 rawmemrchr for PPC64.
12133 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
12135 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12136 (__libc_ifunc_impl_list): Likewise.
12137 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
12138 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
12139 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
12142 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
12144 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12145 (__libc_ifunc_impl_list): Likewise.
12146 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
12147 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
12148 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
12151 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
12153 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12154 (__libc_ifunc_impl_list): Likewise.
12155 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
12156 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
12157 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
12160 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
12161 avoid cretion of __bzero symbol.
12162 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
12164 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
12166 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
12168 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
12169 multiarch implementations.
12170 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12171 (__libc_ifunc_impl_list): Likewise.
12172 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
12173 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
12174 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
12175 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
12177 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
12178 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
12179 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
12180 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
12181 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
12183 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
12185 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
12186 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
12188 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12189 (__libc_ifunc_impl_list): Likewise.
12190 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
12191 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
12192 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
12193 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
12196 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
12197 multiarch for POWER/PPC64.
12198 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
12199 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
12200 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
12201 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
12202 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
12203 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
12204 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
12205 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
12206 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
12209 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
12210 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
12211 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
12212 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
12213 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
12214 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
12215 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
12216 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
12217 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
12218 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
12219 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
12220 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
12221 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
12222 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
12223 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
12224 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
12225 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
12226 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
12227 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
12228 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
12229 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
12230 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
12232 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12234 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
12236 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
12238 * benchtests/Makefile (bench): Add exp2 and log2.
12239 (LDLIBS-bench-exp2): Add -lm.
12240 (LDLIBS-bench-log2): Likewise.
12241 * benchtests/exp2-inputs: New inputs file.
12242 * benchtests/log2-inputs: New inputs file.
12243 * benchtests/log-inputs: Add new inputs.
12244 * benchtests/tan-inputs: Likewise.
12246 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12248 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
12250 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
12251 (csloww2): ... from here.
12253 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
12254 instead of structures.
12255 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
12256 (POLYNOMIAL): Likewise.
12257 (TAYLOR_SLOW): Likewise.
12263 (sloww1); Likewise.
12264 (sloww2): Likewise.
12265 (bsloww1): Likewise.
12266 (bsloww2): Likewise.
12267 (cslow2): Likewise.
12268 (csloww): Likewise.
12269 (csloww1): Likewise.
12270 (csloww2): Likewise.
12272 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
12274 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
12275 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
12276 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
12277 * malloc/hooks.c (realloc_check): Likewise.
12279 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
12280 * malloc/arena.c: Remove PER_THREAD conditional.
12281 [!PER_THREAD]: Remove code.
12282 (ptmalloc_unlock_all2): Likewise.
12283 (ptmalloc_init): Likewise.
12284 (_int_new_arena): Likewise.
12285 (arena_get2): Likewise.
12286 * malloc/hooks.c (__malloc_get_state): Likewise.
12287 (__malloc_set_state): Likewise.
12288 * malloc/malloc.c: Likewise.
12289 (struct malloc_state): Likewise.
12290 (struct malloc_par): Likewise.
12291 (__libc_realloc): Likewise.
12292 (__libc_mallopt): Likewise.
12294 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12296 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
12298 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
12300 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
12301 macro to a function. Check for zero perturb_byte.
12302 (_int_malloc, _int_free): Remove zero perturb_byte checks.
12304 * malloc/malloc.c: (force_reg): Remove.
12305 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
12306 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
12307 force_reg by atomic_forced_read.
12308 * malloc/arena.c (ptmalloc_init): Likewise.
12309 * malloc/hooks.c (top_check): Likewise.
12311 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12313 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12315 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
12317 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12319 2013-12-08 Joseph Myers <joseph@codesourcery.com>
12321 * math/auto-libm-test-in: Add tests of lgamma.
12322 * math/auto-libm-test-out: Regenerated.
12323 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
12324 (M_LOG_2_SQRT_PIl): Likewise.
12325 (lgamma_test_data): Use AUTO_TESTS_f_f1.
12326 * math/gen-auto-libm-tests.c (func_calc_method): Add value
12328 (func_calc_desc): Add mpfr_f_f1 union field.
12329 (ARGS1): New macro.
12337 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
12338 (test_functions): Add lgamma.
12339 (calc_generic_results): Handle mpfr_f_f1.
12340 * sysdeps/i386/fpu/libm-test-ulps: Update.
12341 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12343 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12345 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
12346 __mpn_add_n for PowerPC64/POWER7.
12347 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
12348 __mpn_sub_n for PowerPC64/POWER7.
12350 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
12351 __mpn_addmul_1 for PowerPC64.
12352 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
12353 __mpn_submul_1 for PowerPC64.
12354 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
12356 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
12359 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
12362 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
12364 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12366 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
12368 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
12369 add multiarch folders.
12370 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
12371 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
12372 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
12373 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
12374 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
12375 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
12376 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
12377 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
12378 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
12379 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
12380 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
12381 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
12382 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
12383 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
12384 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
12385 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
12386 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
12388 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
12389 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
12390 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
12392 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
12394 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
12395 multiarch __ieee754_hypot for PowerPC32.
12396 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
12398 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
12400 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
12401 multiarch __ieee754_hypotf for PowerPC32.
12403 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
12404 long_double_symbol only if __logbl is defined.
12405 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
12406 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
12407 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
12408 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
12409 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
12410 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
12411 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
12412 path for implementation.
12413 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
12414 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
12415 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
12416 logb, and logbl multiarch implementations for PowerPC32.
12417 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
12419 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
12421 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
12422 multiarch logb for PowerPC32.
12423 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
12425 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
12427 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
12428 multiarch logbf for PowerPC32.
12429 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
12430 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
12432 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
12433 multiarch logbl implementation for PowerPC32.
12435 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
12436 and modff multiarch implementations.
12437 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
12439 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
12441 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
12442 multiarch modf for PowerPC32.
12443 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
12445 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
12447 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
12448 multiarch modff for PowerPC32.
12450 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
12451 and lrintf multiarch implementations.
12452 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
12454 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
12456 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
12457 multiarch lrint for PowerPC32.
12458 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
12459 file: multiarch lrintf for PowerPC32.
12461 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
12462 and lroundf multiarch implementations.
12463 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
12465 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
12467 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
12469 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
12470 multiarch lround for PowerPC32.
12471 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
12472 file: multiarch lroundf for PowerPC32.
12474 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
12475 copysign and copysignf multiarch implementations.
12476 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
12478 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
12480 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
12481 file: multiarch copysign for PowerPC32.
12482 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
12483 file: multiarch copysignf for PowerPC32.
12485 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
12486 and truncf multiarch implementations.
12487 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
12489 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
12491 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
12492 multiarch trunc for PowerPC32.
12493 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
12495 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
12497 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
12498 multiarch truncf for PowerPC32.
12500 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
12501 and roundf multiarch implementations.
12502 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
12504 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
12506 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
12507 multiarch round for PowerPC32.
12508 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
12510 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
12512 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
12513 multiarch roundf for PowerPC32.
12515 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
12516 and floorf multiarch implementations.
12517 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
12519 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
12521 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
12522 multiarch floor for PowerPC32.
12523 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
12525 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
12527 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
12528 multiarch floorf for PowerPC32.
12530 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
12531 and ceilf multiarch implementations.
12532 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
12534 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
12536 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
12537 multiarch ceil for PowerPC32.
12538 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
12540 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
12542 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
12543 multiarch ceilf for PowerPC32.
12545 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
12547 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
12548 FINITEF is defined.
12549 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
12550 and finitef multiarch implementations.
12551 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
12553 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
12555 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
12556 multiarch finite for PowerPC32.
12557 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
12559 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
12560 file: multiarch finitef for PowerPC32.
12562 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
12563 and isinff multiarch implementations.
12564 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
12566 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
12568 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
12569 multiarch isinf for PowerPC32.
12570 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
12572 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
12573 multiarch isinff for PowerPC32.
12575 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
12576 alias when __isnan is defined.
12577 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
12578 and isnanf multiarch implementations.
12579 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
12581 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
12583 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
12585 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
12587 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
12588 multiarch isnan for PowerPC32.
12589 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
12591 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
12593 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
12594 multiarch isnanf for PowerPC32.
12596 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
12597 and sqrtf multiarch implementations.
12598 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
12600 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
12602 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
12603 multiarch sqrt for PowerPC32.
12604 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
12606 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
12608 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
12609 multiarch sqrtf for PowerPC32.
12611 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
12612 and llroundf multiarch implementations.
12613 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
12615 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
12617 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
12619 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
12620 file: multiarch llround for PowerPC32.
12621 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
12622 file: multiarch llroundf for PowerPC32.
12624 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
12625 multiarch PowerPC32 fpu implementations.
12626 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
12628 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
12630 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
12631 multiarch llrint for PowerPC32.
12632 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
12634 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
12636 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
12639 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
12641 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
12643 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
12645 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
12647 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
12648 multiarch wordcopy for PPC32.
12649 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
12651 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12652 (__libc_ifunc_impl_list): Likewise.
12653 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
12654 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
12655 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
12656 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
12657 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
12658 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
12660 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
12661 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
12663 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
12665 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
12667 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
12668 multiarch wcscpy for PPC32.
12669 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
12671 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12672 (__libc_ifunc_impl_list): Likewise.
12673 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
12674 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
12675 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
12676 sysdeps/powerpc/power6/wcscpy.c.
12678 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
12679 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
12681 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
12683 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
12685 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
12686 multiarch wcsrchr for PPC32.
12687 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
12689 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12690 (__libc_ifunc_impl_list): Likewise.
12691 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
12692 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
12693 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
12694 sysdeps/powerpc/power6/wcsrchr.c.
12696 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
12698 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
12700 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
12701 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
12702 multiarch wcschr for PPc32.
12703 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
12705 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12706 (__libc_ifunc_impl_list): Likewise.
12707 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
12708 * sysdeps/powerpc/power6/wcschr.c: ... to here.
12709 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
12710 sysdeps/powerpc/power6/wcschr.c.
12712 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
12713 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
12715 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
12716 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
12717 file: multiarch strchr for PPC32.
12718 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
12720 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12721 (__libc_ifunc_impl_list): Likewise.
12723 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
12725 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
12727 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
12729 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
12730 multiarch strchrnul for PPC32.
12731 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
12733 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12734 (__libc_ifunc_impl_list): Likewise.
12736 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
12738 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
12739 multiarch strncasecmp for PPC32.
12740 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
12742 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
12743 multiarch strncasecmp_l for PPC32.
12744 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
12745 strncasecmp multiarch objects.
12746 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12747 (__libc_ifunc_impl_list): Likewise.
12749 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
12751 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
12752 multiarch strncasecmp for PPC32.
12753 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
12755 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
12756 multiarch strcasecmp_l for PPC32.
12757 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
12759 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12760 (__libc_ifunc_impl_list): Likewise.
12762 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
12764 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
12766 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
12767 multiarch strncmp for PPC32.
12768 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
12770 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12771 (__libc_ifunc_impl_list): Likewise.
12773 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
12774 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
12776 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
12777 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
12778 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
12780 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12781 (__libc_ifunc_impl_list): Likewise.
12783 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
12785 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
12787 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
12788 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
12790 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12791 (__libc_ifunc_impl_list): Likewise.
12793 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
12795 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
12797 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
12798 multiarch rawmemchr for PPC32.
12799 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
12801 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12802 (__libc_ifunc_impl_list): Likewise.
12804 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
12806 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
12808 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
12809 file: memrchr multiarch for PPC32.
12810 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
12812 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12813 (__libc_ifunc_impl_list): Likewise.
12815 * string/memchr.c (__memchr): Using macro to redefine symbol name.
12816 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
12818 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
12819 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
12820 multiarch memchr for PPC32.
12821 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
12823 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12824 (__libc_ifunc_impl_list): Likewise.
12826 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
12827 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
12829 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
12831 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
12832 file: multiarch mempcpy for PPC32.
12833 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
12835 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12836 (__libc_ifunc_impl_list): Likewise.
12838 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
12839 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
12840 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
12841 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
12842 multiarch bzero for PPC32.
12843 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
12845 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
12847 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
12848 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
12849 file: multiarch memset for PPC32.
12850 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
12851 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
12852 memset multiarch objects.
12853 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12854 (__libc_ifunc_impl_list): Likewise.
12856 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
12858 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
12859 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
12861 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
12862 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
12864 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12865 (__libc_ifunc_impl_list): Likewise.
12867 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
12868 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
12869 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
12871 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
12873 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
12875 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
12876 multiarch memcpy for PPC32.
12877 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
12879 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12880 (__libc_ifunc_impl_list): Likewise.
12882 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
12883 support multiarch for POWER/PPC32.
12884 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
12886 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
12887 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
12888 Implies file to make multiarch folder appers before the fpu and
12889 default folder for power4 configuration.
12891 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
12893 * scripts/bench.pl: Append volatile keyword to type.
12895 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12897 * sysdeps/sh/sotruss-lib.c: New file.
12898 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
12900 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12902 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12904 2013-12-05 Joseph Myers <joseph@codesourcery.com>
12907 * math/w_tgamma.c: Include <errno.h>.
12908 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
12909 * math/w_tgammaf.c: Include <errno.h>.
12910 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
12911 * math/w_tgammal.c: Include <errno.h>.
12912 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
12913 * math/auto-libm-test-in: Do not allow missing errno on tgamma
12914 underflow. Add more tgamma tests.
12915 * math/auto-libm-test-out: Regenerated.
12916 * sysdeps/i386/fpu/libm-test-ulps: Update.
12917 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12919 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
12920 sin, sinh, tan, tanh, tgamma, y0 and y1.
12921 * math/auto-libm-test-out: Regenerated.
12922 * math/libm-test.inc (TEST_COND_x86_64): New macro.
12923 (TEST_COND_x86): Likewise.
12924 (M_E2l): Remove macro.
12926 (M_2_SQRT_PIl): Likewise.
12927 (M_SQRT_PIl): Likewise.
12928 (M_1_DIV_El): Likewise.
12929 (log_test_data): Use AUTO_TESTS_f_f.
12930 (log10_test_data): Likewise.
12931 (log1p_test_data): Likewise.
12932 (log2_test_data): Likewise.
12933 (sin_test_data): Likewise.
12934 (sin_tonearest_test_data): Likewise.
12935 (sin_towardzero_test_data): Likewise.
12936 (sin_downward_test_data): Likewise.
12937 (sin_upward_test_data): Likewise.
12938 (sinh_test_data): Likewise.
12939 (sinh_tonearest_test_data): Likewise.
12940 (sinh_towardzero_test_data): Likewise.
12941 (sinh_downward_test_data): Likewise.
12942 (sinh_upward_test_data): Likewise.
12943 (tan_test_data): Likewise.
12944 (tan_tonearest_test_data): Likewise.
12945 (tan_towardzero_test_data): Likewise.
12946 (tan_downward_test_data): Likewise.
12947 (tan_upward_test_data): Likewise.
12948 (tanh_test_data): Likewise.
12949 (tgamma_test_data): Likewise.
12950 (y0_test_data): Likewise.
12951 (y1_test_data): Likewise.
12952 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
12953 (special_real_inputs): Add pi/4.
12954 * sysdeps/i386/fpu/libm-test-ulps: Update.
12955 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12957 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12959 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
12960 "longjmp_target" static probes.
12961 (__longjmp): Rename to __longjmp_symbol.
12962 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
12963 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
12964 on which longjmp to generate.
12965 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
12966 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
12968 (__sigsetjmp): Rename to __sigsetjmp_symbol.
12969 (__sigjmp_save): Rename to __sigjmp_save_symbol.
12970 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
12971 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
12972 and __sigjmp_save_symbol based on which sigsetjmp to generated.
12973 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
12974 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
12975 __longjmp_symbol based on which __longjmp to generate.
12976 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
12978 (setjmp): Rename to setjmp_symbol.
12979 (__sigsetjmp): Rename to __sigsetjmp_symbol.
12980 (_setjmp): Rename to _setjmp_symbol.
12981 (__sigsetjmp): Rename to __sigsetjmp_symbol.
12982 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
12983 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
12984 which setjmp to generate.
12985 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
12986 "longjmp_target" static probes.
12988 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
12990 * benchtests/README: Add note about output arguments.
12991 * benchtests/bench-sincos.c: Remove file.
12992 * benchtests/sincos-inputs: New file.
12993 * scripts/bench.pl: Identify output arguments and define
12994 static variables for them.
12996 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
12999 * Makefile (INSTALL): Add install-plain.texi as the primary
13001 * manual/install-plain.texi: New file.
13002 * manual/install.texi: Include node directive only for
13003 non-plaintext output.
13005 2013-12-04 Joseph Myers <joseph@codesourcery.com>
13007 * stdlib/longlong.h: Update from GCC.
13011 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
13012 * math/w_j0f.c (y0f): Likewise.
13013 * math/w_j0l.c (__y0l): Likewise.
13014 * math/w_j1.c (y1): Likewise.
13015 * math/w_j1f.c (y1f): Likewise.
13016 * math/w_j1l.c (__y1l): Likewise
13017 * math/w_jn.c (yn): Likewise.
13018 * math/w_jnf.c (ynf): Likewise.
13019 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
13020 Bessel function pole errors in _POSIX_ mode. Use NAN as return
13021 value for Bessel function domain errors outside _SVID_ mode.
13022 Adjust sign of return value for yn (negative integer, 0).
13023 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
13024 by zero in return for negative x and set sign appropriately for
13026 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
13027 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
13028 * math/libm-test.inc (y0_test_data): Add more tests and adjust
13029 expectations in error cases.
13030 (y1_test_data): Likewise.
13031 (yn_test_data): Likewise.
13032 * sysdeps/i386/fpu/libm-test-ulps: Update.
13033 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13035 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13037 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
13038 "64" to "64-v1". Add "64-v2".
13039 (abi-64-options): Rename to ...
13040 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
13041 (abi-64-condition): Rename to ...
13042 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
13043 (abi-64-ld-soname): Rename to ...
13044 (abi-64-v1-ld-soname): ... this.
13045 (abi-64-v2-options): Define.
13046 (abi-64-v2-condition): Likewise.
13047 (abi-64-v2-ld-soname): Likewise.
13048 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
13049 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
13050 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
13051 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
13052 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
13054 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13055 Alan Modra <amodra@gmail.com>
13057 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
13058 New versions for use with the ELFv2 ABI.
13059 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
13060 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
13062 (struct La_ppc64v2_retval): Likewise.
13063 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
13064 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
13065 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
13066 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
13067 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
13068 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
13069 Do not save or restore CR.
13070 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
13071 (_dl_profile_resolve): Do no save or restore CR. Support extended
13072 return values for ELFv2 ABI. Fix location of FPR return registers.
13073 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
13074 updated values for _CALL_ELF == 2.
13075 (La_regs, La_retval, int_retval): Likewise.
13077 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13079 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
13080 (FRAME_MIN_SIZE_PARM): Likewise.
13081 (FRAME_BACKCHAIN): Likewise.
13082 (FRAME_CR_SAVE): Likewise.
13083 (FRAME_LR_SAVE): Likewise.
13084 (FRAME_TOC_SAVE): Likewise.
13085 (FRAME_PARM_SAVE): Likewise.
13086 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
13087 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
13088 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
13089 (call_mcount_parm_offset): New macro.
13090 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
13091 (PROF): Use symbolic stack frame offsets.
13092 (TAIL_CALL_SYSCALL_ERROR): Likewise.
13093 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
13094 Redefine in terms of FRAME_MIN_SIZE.
13095 (_dl_runtime_resolve): Use symbolic stack frame offsets.
13096 (_dl_profile_resolve): Likewise. Update comment.
13097 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
13098 symbols stack frame offsets.
13099 (__sigsetjmp): Likewise.
13100 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
13101 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
13102 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
13103 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
13105 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
13106 (FRAME_BACKCHAIN): Remove.
13107 (FRAME_CR_SAVE): Likewise.
13108 (FRAME_LR_SAVE): Likewise.
13109 (FRAME_COMPILER_DW): Likewise.
13110 (FRAME_LINKER_DW): Likewise.
13111 (FRAME_TOC_SAVE): Likewise.
13112 (FRAME_PARM_SAVE): Likewise.
13113 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
13114 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
13115 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
13116 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
13117 (CHECK_SP): Use symbolic stack frame offsets.
13118 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
13119 zone" instead of caller's parameter save area for temp storage.
13120 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
13121 Likewise. Also, use symbolic stack frame offsets.
13122 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
13123 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
13124 our own stack frame instead of the caller's.
13125 (__socket): Use symbolic stack frame offsets.
13127 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13128 Alan Modra <amodra@gmail.com>
13130 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
13132 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
13133 (PPC64_LOCAL_ENTRY_OFFSET): Define.
13134 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
13136 (elf_machine_fixup_plt): Call it.
13137 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
13139 (elf_machine_rela): Update call to elf_machine_plt_conflict.
13140 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
13141 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
13142 r2 before calling target.
13144 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13145 Alan Modra <amodra@gmail.com>
13147 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
13148 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
13149 versions of macros to support ELFv2 ABI.
13150 (LOCALENTRY): New macro.
13151 (ENTRY, EALIGN): Use it.
13152 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
13153 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
13154 fall through into ENTRY entry point.
13155 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
13156 Only define if _CALL_ELF != 2.
13158 (elf_machine_matches_host): Verify ABI version matches.
13159 (RTLD_START): Use LOCALENTRY.
13160 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
13161 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
13162 (PLT_ENTRY_WORDS): New macro.
13163 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
13164 (elf_machine_runtime_setup): Support ELFv2 ABI.
13165 (elf_machine_fixup_plt): Likewise.
13166 (elf_machine_plt_conflict): Likewise.
13167 (resolve_ifunc): Likewise.
13168 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
13169 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
13171 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
13172 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
13173 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
13174 (makecontext): Support ELFv2 ABI.
13175 * elf/elf.h (EF_PPC64_ABI): Define.
13177 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13179 * sysdeps/powerpc/powerpc64/sysdep.h
13180 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
13181 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
13182 (ENTRY) [ASSEMBLER]: ... but instead here ...
13183 (EALIGN) [ASSEMBLER]: ... and here.
13184 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
13185 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
13186 (ENTRY_2) [!ASSEMBLER]: Use it.
13187 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
13188 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
13189 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
13190 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
13191 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
13192 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
13193 Use PPC64_LOAD_FUNCPTR.
13195 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
13197 2013-12-04 Alan Modra <amodra@gmail.com>
13199 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
13200 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
13201 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
13202 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
13204 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
13205 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
13206 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
13207 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
13208 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
13209 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
13211 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13213 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
13214 (__makecontext): Fix incorrect CFI when backtracing out of
13215 context created via makecontext.
13216 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
13217 (__setcontext): Fix incorrect CFI during switch to new context.
13218 (__novec_setcontext): Likewise.
13220 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
13223 * time/strptime_l.c (__strptime_internal): Allow modifiers
13225 * time/tst-strptime.c (day_tests): Add testcase.
13227 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
13229 * scripts/bench.pl: Skip over blank lines.
13231 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
13234 * manual/time.texi (Calendar Time): Clarify what timezone functions
13237 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13239 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13241 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
13243 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
13245 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
13246 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
13247 * debug/memset_chk.c (__memset_chk): Likewise.
13248 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
13249 * debug/strncpy_chk.c: Likewise.
13251 2013-12-03 Joseph Myers <joseph@codesourcery.com>
13255 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
13256 (__ieee754_exp): For possibly underflowing results, check size of
13257 result and force underflow exception if required.
13258 * math/auto-libm-test-in: Add more tests of exp.
13259 * math/auto-libm-test-out: Regenerated.
13260 * sysdeps/i386/fpu/libm-test-ulps: Update.
13261 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13264 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
13265 * math/w_exp2f.c (__exp2f): Likewise.
13266 * math/w_exp2l.c (__exp2l): Likewise.
13267 * math/auto-libm-test-in: Do not allow missing errno on exp2
13269 * math/auto-libm-test-out: Regenerated.
13271 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
13274 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
13275 handle filename validation.
13276 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
13279 2013-12-03 Joseph Myers <joseph@codesourcery.com>
13282 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
13283 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
13284 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
13286 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
13287 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
13288 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
13289 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
13290 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
13291 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
13292 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
13293 * math/auto-libm-test-in: Don't allow missing errno from erfc.
13294 Add more erfc tests.
13295 * math/auto-libm-test-out: Regenerated.
13296 * sysdeps/i386/fpu/libm-test-ulps: Update.
13297 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13299 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
13300 exp2, expm1, j0 and j1.
13301 * math/auto-libm-test-out: Regenerated.
13302 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
13303 (erfc_test_data): Likewise.
13304 (exp_test_data): Likewise.
13305 (exp_tonearest_test_data): Likewise.
13306 (exp_towardzero_test_data): Likewise.
13307 (exp_downward_test_data): Likewise.
13308 (exp_upward_test_data): Likewise.
13309 (exp10_test_data): Likewise.
13310 (exp2_test_data): Likewise.
13311 (expm1_test_data): Likewise.
13312 (j0_test_data): Likewise.
13313 (j1_test_data): Likewise.
13314 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
13315 (input_flag_type): Add flag_xfail_rounding.
13316 (input_flags): Add xfail-rounding.
13317 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
13318 (output_for_one_input_case): Handle flag_xfail_rounding.
13319 * sysdeps/i386/fpu/libm-test-ulps: Update.
13320 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13322 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
13325 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
13328 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
13331 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
13332 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
13333 (STAP_PROBE0): New macro.
13334 (STAP_PROBE1): Likewise.
13335 (STAP_PROBE2): Likewise.
13336 (STAP_PROBE3): Likewise.
13337 (STAP_PROBE4): Likewise.
13339 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
13341 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
13343 2013-12-02 Steve Ellcey <sellcey@mips.com>
13345 * benchtests/Makefile (bench): Add sqrt.
13346 (LDLIBS-bench-sqrt): New.
13347 * benchtests/sqrt-input: New.
13349 2013-12-02 Pavel Simerda <psimerda@redhat.com>
13351 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
13352 (GAIH_EAI): Likewise.
13353 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
13354 (gaih_inet): Likewise.
13355 (getaddrinfo): Don't use GAIH_EAI.
13357 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
13358 (struct gaih): Remove definition.
13360 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
13362 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
13363 Use HERRNOP directly.
13365 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13367 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13369 2013-11-30 Joseph Myers <joseph@codesourcery.com>
13371 * math/gen-auto-libm-tests.c (test_functions): Add more
13372 single-argument functions.
13373 (special_fill_pi_2): New function.
13374 (special_fill_minus_pi_2): Likewise.
13375 (special_fill_pi_6): Likewise.
13376 (special_fill_minus_pi_6): Likewise.
13377 (special_fill_pi_3): Likewise.
13378 (special_fill_2pi_3): Likewise.
13379 (special_fill_e): Likewise.
13380 (special_fill_1_e): Likewise.
13381 (special_fill_e_minus_1): Likewise.
13382 (special_real_inputs): Add more special inputs.
13383 (output_for_one_input_case): Do not require ERANGE on underflow to
13384 zero if round-to-nearest result does not underflow to zero, unless
13385 exact results required.
13386 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
13387 atan, atanh, cbrt, cos and cosh.
13388 * math/auto-libm-test-out: Regenerated.
13389 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
13390 (acos_tonearest_test_data): Likewise.
13391 (acos_towardzero_test_data): Likewise.
13392 (acos_downward_test_data): Likewise.
13393 (acos_upward_test_data): Likewise.
13394 (acosh_test_data): Likewise.
13395 (asin_test_data): Likewise.
13396 (asin_tonearest_test_data): Likewise.
13397 (asin_towardzero_test_data): Likewise.
13398 (asin_upward_test_data): Likewise.
13399 (asinh_test_data): Likewise.
13400 (atan_test_data): Likewise.
13401 (atanh_test_data): Likewise.
13402 (cbrt_test_data): Likewise.
13403 (cos_test_data): Likewise.
13404 (cos_tonearest_test_data): Likewise.
13405 (cos_towardzero_test_data): Likewise.
13406 (cos_downward_test_data): Likewise.
13407 (cos_upward_test_data): Likewise.
13408 (cosh_test_data): Likewise.
13409 (cosh_tonearest_test_data): Likewise.
13410 (cosh_towardzero_test_data): Likewise.
13411 (cosh_downward_test_data): Likewise.
13412 (cosh_upward_test_data): Likewise.
13413 * sysdeps/i386/fpu/libm-test-ulps: Update.
13414 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13416 2013-11-29 Joseph Myers <joseph@codesourcery.com>
13419 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
13420 * math/w_exp10f.c (__exp10f): Likewise.
13421 * math/w_exp10l.c (__exp10l): Likewise.
13422 * math/libm-test.inc (exp10_test_data): Add more tests and expect
13423 errno settings in existing tests.
13426 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
13427 precision control set to double precision.
13428 * sysdeps/i386/fpu/w_sqrt.c: New file.
13429 * math/auto-libm-test-in: Add more tests.
13430 * math/auto-libm-test-out: Update.
13432 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
13433 (sqrt_test_tonearest): New function.
13434 (sqrt_towardzero_test_data): New variable.
13435 (sqrt_test_towardzero): New function.
13436 (sqrt_downward_test_data): New variable.
13437 (sqrt_test_downward): New function.
13438 (sqrt_upward_test_data): New variable.
13439 (sqrt_test_upward): New function.
13440 (main): Call the new functions.
13442 * math/gen-auto-libm-tests.c: New file.
13443 * math/auto-libm-test-in: Likewise.
13444 * math/auto-libm-test-out: New generated file.
13445 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
13447 (%beautify): Add generated representations of zero.
13448 (top level): Set $auto_input and call parse_auto_input.
13449 (beautify): Remove trailing "f" from hex float constants.
13450 (parse_args): Handle XFAIL_TEST.
13451 (convert_condition): New function.
13452 (or_value): Likewise.
13453 (or_cond_value): Likewise.
13454 (generate_testfile): Handle AUTO_TESTS_* lines.
13455 (parse_auto_input): New function.
13456 * math/libm-test.inc (XFAIL_TEST): New macro.
13457 (ERRNO_UNCHANGED): Update value.
13458 (ERRNO_EDOM): Likewise.
13459 (ERRNO_ERANGE): Likewise.
13460 (IGNORE_RESULT): Likewise.
13461 (TEST_COND_flt_32): New macro.
13462 (TEST_COND_dbl_64): Likewise.
13463 (TEST_COND_ldbl_96_intel): Likewise.
13464 (TEST_COND_ldbl_96_m68k): Likewise.
13465 (TEST_COND_ldbl_128): Likewise.
13466 (TEST_COND_ldbl_128ibm): Likewise.
13467 (TEST_COND_long32): Likewise.
13468 (TEST_COND_long64): Likewise.
13469 (TEST_COND_before_rounding): Likewise.
13470 (TEST_COND_after_rounding): Likewise.
13471 (enable_test): Handle XFAIL_TEST flag.
13472 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
13473 with finite results.
13474 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
13475 auto-libm-test-out.
13477 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
13478 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13481 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
13482 __tls_get_addr_internal instead of __tls_get_offset in order to
13483 avoid GOT pointer dependency. Make rtld export
13484 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
13485 __tls_get_addr since we are a __tls_get_offset platform.
13486 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
13487 GOT pointer being set up before.
13488 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
13490 2013-11-28 Joseph Myers <joseph@codesourcery.com>
13492 * manual/math.texi (Errors in Math Functions): Document accuracy
13496 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
13497 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
13498 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
13499 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
13500 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
13501 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
13502 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
13503 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
13504 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
13505 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
13506 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
13507 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
13508 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
13509 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
13510 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
13511 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
13513 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
13514 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
13515 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
13516 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
13517 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
13519 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
13521 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
13523 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
13524 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
13525 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
13526 atomic-feupdateenv and flt-rounds.
13527 * sysdeps/powerpc/nofpu/Versions (libc): Add
13528 __atomic_feholdexcept, __atomic_feclearexcept,
13529 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
13530 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
13531 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
13532 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
13533 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
13535 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
13538 * manual/arith.texi (FP Exceptions): Document that exceptions may
13539 not be raised when matherr is used.
13540 (Math Error Reporting): Document overflow in directed rounding
13541 modes. Document that errno may not be set when finite values are
13542 returned on overflow. Document intent to set errno on underflow
13543 only for underflow to zero.
13546 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
13547 round-to-nearest then adjust result for other rounding modes.
13548 * include/fenv.h (fegetround): Use libm_hidden_proto.
13549 * math/fegetround.c (fegetround): Use libm_hidden_def.
13550 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
13551 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
13552 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
13553 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
13555 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
13556 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
13557 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
13558 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
13560 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13563 * nss/Versions (libnss_files): Add
13564 _nss_files_gethostbyname3_r.
13565 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
13567 (HOST_DB_LOOKUP): Remove macro.
13568 (_nss_files_gethostbyname_r): Implement function without the
13569 HOST_DB_LOOKUP macro.
13570 (_nss_files_gethostbyname2_r): Likewise.
13572 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
13574 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
13576 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
13578 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
13579 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
13582 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13584 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
13585 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
13586 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
13587 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
13588 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
13589 __fe_nomask_env_priv and attribute_hidden.
13590 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
13591 (libc_feupdateenv_test_ppc): Likewise.
13592 (libc_feresetround_ppc): Likewise.
13593 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
13594 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
13595 compat_symbol macro.
13596 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
13597 (__fe_nomask_env): Likewise.
13598 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
13600 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
13602 * string/Makefile: Remove ifunc tests.
13603 * string/test-string.h: Define TEST_IFUNC.
13604 * string/test-bcopy-ifunc.c: Remove.
13605 * string/test-bzero-ifunc.c: Likewise.
13606 * string/test-memccpy-ifunc.c: Likewise.
13607 * string/test-memchr-ifunc.c: Likewise.
13608 * string/test-memcmp-ifunc.c: Likewise.
13609 * string/test-memcpy-ifunc.c: Likewise.
13610 * string/test-memmem-ifunc.c: Likewise.
13611 * string/test-memmove-ifunc.c: Likewise.
13612 * string/test-mempcpy-ifunc.c: Likewise.
13613 * string/test-memrchr-ifunc.c: Likewise.
13614 * string/test-memset-ifunc.c: Likewise.
13615 * string/test-rawmemchr-ifunc.c: Likewise.
13616 * string/test-stpcpy-ifunc.c: Likewise.
13617 * string/test-stpncpy-ifunc.c: Likewise.
13618 * string/test-strcasecmp-ifunc.c: Likewise.
13619 * string/test-strcasestr-ifunc.c: Likewise.
13620 * string/test-strcat-ifunc.c: Likewise.
13621 * string/test-strchr-ifunc.c: Likewise.
13622 * string/test-strchrnul-ifunc.c: Likewise.
13623 * string/test-strcmp-ifunc.c: Likewise.
13624 * string/test-strcpy-ifunc.c: Likewise.
13625 * string/test-strcspn-ifunc.c: Likewise.
13626 * string/test-strlen-ifunc.c: Likewise.
13627 * string/test-strncasecmp-ifunc.c: Likewise.
13628 * string/test-strncat-ifunc.c: Likewise.
13629 * string/test-strncmp-ifunc.c: Likewise.
13630 * string/test-strncpy-ifunc.c: Likewise.
13631 * string/test-strnlen-ifunc.c: Likewise.
13632 * string/test-strpbrk-ifunc.c: Likewise.
13633 * string/test-strrchr-ifunc.c: Likewise.
13634 * string/test-strspn-ifunc.c: Likewise.
13635 * string/test-strstr-ifunc.c: Likewise.
13637 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
13639 * benchtests/Makefile: Remove ifunc tests.
13640 * benchtests/bench-string.h: Define TEST_IFUNC.
13641 * benchtests/bench-bcopy-ifunc.c: Remove.
13642 * benchtests/bench-bzero-ifunc.c: Likewise.
13643 * benchtests/bench-memccpy-ifunc.c: Likewise.
13644 * benchtests/bench-memchr-ifunc.c: Likewise.
13645 * benchtests/bench-memcmp-ifunc.c: Likewise.
13646 * benchtests/bench-memcpy-ifunc.c: Likewise.
13647 * benchtests/bench-memmem-ifunc.c: Likewise.
13648 * benchtests/bench-memmove-ifunc.c: Likewise.
13649 * benchtests/bench-mempcpy-ifunc.c: Likewise.
13650 * benchtests/bench-memrchr-ifunc.c: Likewise.
13651 * benchtests/bench-memset-ifunc.c: Likewise.
13652 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
13653 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
13654 * benchtests/bench-stpcpy-ifunc.c: Likewise.
13655 * benchtests/bench-stpncpy-ifunc.c: Likewise.
13656 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
13657 * benchtests/bench-strcasestr-ifunc.c: Likewise.
13658 * benchtests/bench-strcat-ifunc.c: Likewise.
13659 * benchtests/bench-strchr-ifunc.c: Likewise.
13660 * benchtests/bench-strchrnul-ifunc.c: Likewise.
13661 * benchtests/bench-strcmp-ifunc.c: Likewise.
13662 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
13663 * benchtests/bench-strcpy-ifunc.c: Likewise.
13664 * benchtests/bench-strcspn-ifunc.c: Likewise.
13665 * benchtests/bench-strlen-ifunc.c: Likewise.
13666 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
13667 * benchtests/bench-strncat-ifunc.c: Likewise.
13668 * benchtests/bench-strncmp-ifunc.c: Likewise.
13669 * benchtests/bench-strncpy-ifunc.c: Likewise.
13670 * benchtests/bench-strnlen-ifunc.c: Likewise.
13671 * benchtests/bench-strpbrk-ifunc.c: Likewise.
13672 * benchtests/bench-strrchr-ifunc.c: Likewise.
13673 * benchtests/bench-strsep-ifunc.c: Likewise.
13674 * benchtests/bench-strspn-ifunc.c: Likewise.
13675 * benchtests/bench-strstr-ifunc.c: Likewise.
13677 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
13679 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
13681 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
13683 * resolv/netdb.h: Use __glibc_reserved instead __unused.
13684 * rt/aio.h: Likewise.
13685 * sysdeps/gnu/bits/utmp.h: Likewise.
13686 * sysdeps/gnu/bits/utmpx.h: Likewise.
13687 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
13688 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
13689 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
13690 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
13691 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
13692 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
13693 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
13694 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
13695 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
13696 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
13697 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
13698 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
13699 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
13700 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
13701 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
13702 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
13703 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
13704 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
13705 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
13706 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
13707 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
13708 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
13709 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
13710 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
13711 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
13712 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
13713 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
13714 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
13715 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
13716 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
13717 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
13718 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
13719 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
13720 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
13721 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
13722 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
13723 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
13724 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
13725 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
13726 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
13727 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
13728 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
13730 2013-11-25 Carlos O'Donell <carlos@redhat.com>
13733 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
13734 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
13736 2013-11-25 Joseph Myers <joseph@codesourcery.com>
13738 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
13739 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
13742 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13744 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
13745 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
13746 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
13747 (__fesetround): Remove define.
13748 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
13749 rounding and exceptions handling.
13750 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
13751 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
13752 (__fe_nomask_env): Likewise.
13753 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
13754 __fegetround instead of fegetround.
13755 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
13756 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
13758 2013-11-21 Roland McGrath <roland@hack.frob.com>
13760 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
13763 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
13765 2013-11-21 Meador Inge <meadori@codesourcery.com>
13768 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
13769 (encrypt_r): Likewise.
13770 * malloc/obstack.h (obstack_free): Likewise.
13771 * posix/unistd.h (encrypt): Likewise.
13773 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
13775 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
13776 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
13777 DL_CALL_DT_FINI() that call the functions directly.
13778 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
13779 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
13780 * elf/dl-fini.c: Likewise.
13782 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
13784 * malloc/hooks.c (memalign_check): Add alignment rounding.
13785 * malloc/malloc.c (_mid_memalign): New function.
13786 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
13787 Implement by calling _mid_memalign.
13788 * manual/probes.texi (Memory Allocation Probes): Remove
13789 memory_valloc_retry and memory_pvalloc_retry.
13791 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
13793 * locale/programs/locarchive.c (open_archive): Add const
13794 qualifier to ARCHIVEFNAME and copy default fname to
13798 * libio/tst-widetext.input: Rename Oriya to Odia.
13799 * locale/iso-639.def: Likewise.
13801 * manual/probes.texi (Mathematical Function Probes): Add
13802 documentation for sin, cos, asin and acos probes.
13803 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
13804 (__sin32): Add slowasin probe.
13805 (__cos32): Add slowacos probe.
13806 (__mpsin): Add slowsin probe.
13807 (__mpcos): Add slowcos probe.
13809 2013-11-19 Joseph Myers <joseph@codesourcery.com>
13812 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
13813 thread-local __sim_exceptions_thread and global
13814 __sim_exceptions_global.
13815 (__sim_disabled_exceptions): Change to thread-local
13816 __sim_disabled_exceptions_thread and global
13817 __sim_disabled_exceptions_global.
13818 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
13819 and global __sim_round_mode_global.
13820 (__simulate_exceptions): Use thread-local floating-point state and
13821 set global state from it as needed.
13822 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
13823 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
13824 __sim_round_mode_thread.
13825 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
13826 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
13827 and global __sim_exceptions_global.
13828 (__sim_disabled_exceptions): Change to thread-local
13829 __sim_disabled_exceptions_thread and global
13830 __sim_disabled_exceptions_global.
13831 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
13832 and global __sim_round_mode_global.
13833 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
13834 (SIM_SET_GLOBAL): Likewise.
13835 * sysdeps/powerpc/soft-fp/sfp-machine.h
13836 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
13837 __sim_round_mode_thread.
13838 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
13839 __sim_disabled_exceptions_thread.
13840 (__sim_exceptions): Change to __sim_exceptions_thread.
13841 (__sim_disabled_exceptions): Change to
13842 __sim_disabled_exceptions_thread.
13843 (__sim_round_mode): Change to __sim_round_mode_thread.
13844 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
13845 thread-local floating-point state and set global state from it as
13847 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
13848 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
13849 (__sim_disabled_exceptions): Remove extern declaration.
13850 (feenableexcept): Use thread-local floating-point state and set
13851 global state from it as needed.
13852 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
13853 extern declaration.
13854 (__sim_disabled_exceptions): Likewise.
13855 (__sim_round_mode): Likewise.
13856 (__fegetenv): Use thread-local floating-point state.
13857 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
13858 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
13859 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
13860 floating-point state and set global state from it as needed.
13861 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
13862 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
13863 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
13865 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
13866 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
13868 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
13869 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
13870 Use __sim_round_mode_thread.
13871 * math/test-fenv-tls.c: New file.
13872 * math/Makefile (tests): Add test-fenv-tls.
13873 ($(objpfx)test-fenv-tls): Depend on
13874 $(common-objpfx)nptl/libpthread.so.
13876 2013-11-19 Andreas Schwab <schwab@suse.de>
13878 * locale/programs/locale.c (show_info): Decode wordarray elements.
13879 * locale/categories.def (LC_MONETARY): Add element for
13880 _NL_MONETARY_CRNCYSTR.
13881 * locale/C-monetary.c (conversion_rate): New variable.
13882 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
13885 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
13887 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
13888 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
13890 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
13892 * elf/Makefile (tst-auxv): New test.
13893 * elf/tst-auxv.c: New
13894 * elf/rtld.c (dl_main): Adjust AT_EXECFN
13896 2013-11-18 Joseph Myers <joseph@codesourcery.com>
13898 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
13899 (hidden_proto): Caller changed.
13900 (hidden_tls_proto): New macro.
13901 (libc_hidden_tls_proto): Likewise.
13902 (rtld_hidden_tls_proto): Likewise.
13903 (libm_hidden_tls_proto): Likewise.
13904 (libresolv_hidden_tls_proto): Likewise.
13905 (librt_hidden_tls_proto): Likewise.
13906 (libdl_hidden_tls_proto): Likewise.
13907 (libnss_files_hidden_tls_proto): Likewise.
13908 (libnsl_hidden_tls_proto): Likewise.
13909 (libnss_nisplus_hidden_tls_proto): Likewise.
13910 (libutil_hidden_tls_proto): Likewise.
13912 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
13915 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
13916 (decompose_rpath): Defer expansion to fillin_rpath.
13917 (_dl_init_paths): Pass linkmap to fillin_rpath.
13919 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13921 * benchtests/Makefile: Add strsep.
13922 * benchtests/bench-strsep.c: New file: strsep benchtest.
13923 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
13925 2013-11-18 Andreas Schwab <schwab@suse.de>
13927 * locale/programs/locale.c (show_info) [case byte]: Check for
13928 '\377' instead of '\177'.
13929 * locale/C-monetary.c (not_available): Always use "\377".
13930 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
13931 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
13932 detect unavailable sign_posn locale elements.
13933 * locale/localeconv.c (__localeconv): For grouping and
13934 mon_grouping handle "\177" and "\377" like no grouping.
13935 (INT_ELEM): New macro. Use it to set all numeric members.
13936 * locale/programs/ld-monetary.c (monetary_read)
13937 <tok_mon_grouping>: Normalize single -1 to the empty string.
13938 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
13941 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
13944 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
13945 when we match (nil).
13946 * stdio-common/tst-sscanf.c (struct test): Add testcase.
13948 2013-11-16 Joseph Myers <joseph@codesourcery.com>
13950 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
13951 (NO_TEST_INLINE): Update value.
13952 (ERRNO_UNCHANGED): Likewise.
13953 (ERRNO_EDOM): Likewise.
13954 (ERRNO_ERANGE): Likewise.
13955 (IGNORE_RESULT): Likewise.
13956 (check_float_internal): Check signs of NaN results if
13957 TEST_NAN_SIGN used.
13958 (check_complex): Pass TEST_NAN_SIGN flag through to second
13959 check_float_internal call.
13960 (copysign_test_data): Add tests with quiet NaNs as second
13961 argument. Use TEST_NAN_SIGN.
13962 (fabs_test_data): Add test of negative quiet NaN argument. Use
13964 (signbit_test_data): Add tests of quiet NaN argument.
13965 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
13967 * math/gen-libm-test.pl (show_exceptions): Take extra argument
13969 (parse_args): Handle function results specified as IGNORE.
13970 * math/libm-test.inc (IGNORE_RESULT): New macro.
13971 (check_float_internal): Do not check numerical result if flag
13973 (check_complex): Pass through IGNORE_RESULT to second
13974 check_float_internal call.
13975 (check_int): Do not check numerical result if flag IGNORE_RESULT
13977 (check_long): Likewise.
13978 (check_bool): Likewise.
13979 (check_longlong): Likewise.
13980 (lrint_test_data): Add tests of infinite and NaN arguments.
13981 (lrint_tonearest_test_data): Likewise.
13982 (lrint_towardzero_test_data): Likewise.
13983 (lrint_downward_test_data): Likewise.
13984 (lrint_upward_test_data): Likewise.
13985 (llrint_test_data): Likewise.
13986 (llrint_tonearest_test_data): Likewise.
13987 (llrint_towardzero_test_data): Likewise.
13988 (llrint_downward_test_data): Likewise.
13989 (llrint_upward_test_data): Likewise.
13990 (lround_test_data): Likewise.
13991 (llround_test_data): Likewise.
13993 * math/libm-test.inc (NO_TEST_INLINE): New macro.
13994 (ERRNO_UNCHANGED): Update value.
13995 (ERRNO_EDOM): Likewise.
13996 (ERRNO_ERANGE): Likewise.
13997 (NO_TEST_INLINE_FLOAT): New macro.
13998 (NO_TEST_INLINE_DOUBLE): Likewise.
13999 (enable_test): New function.
14000 (RUN_TEST_f_f): Check enable_test before running test.
14001 (RUN_TEST_2_f): Likewise.
14002 (RUN_TEST_fff_f): Likewise.
14003 (RUN_TEST_c_f): Likewise.
14004 (RUN_TEST_f_f1): Likewise.
14005 (RUN_TEST_fF_f1): Likewise.
14006 (RUN_TEST_fI_f1): Likewise.
14007 (RUN_TEST_ffI_f1): Likewise.
14008 (RUN_TEST_c_c): Likewise.
14009 (RUN_TEST_cc_c): Likewise.
14010 (RUN_TEST_f_i): Likewise.
14011 (RUN_TEST_f_i_tg): Likewise.
14012 (RUN_TEST_ff_i_tg): Likewise.
14013 (RUN_TEST_f_b): Likewise.
14014 (RUN_TEST_f_b_tg): Likewise.
14015 (RUN_TEST_f_l): Likewise.
14016 (RUN_TEST_f_L): Likewise.
14017 (RUN_TEST_fFF_11): Likewise.
14018 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
14020 (cosh_test_data): Likewise.
14021 (exp_test_data): Likewise.
14022 (expm1_test_data): Likewise.
14023 (hypot_test_data): Likewise.
14024 (pow_test_data): Likewise.
14025 (sinh_test_data): Likewise.
14026 (tanh_test_data): Likewise.
14027 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
14030 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
14031 tests with quiet NaN input and output.
14032 (acosh_test_data): Likewise.
14033 (asin_test_data): Likewise.
14034 (asinh_test_data): Likewise.
14035 (atan_test_data): Likewise.
14036 (atanh_test_data): Likewise.
14037 (atan2_test_data): Likewise.
14038 (cbrt_test_data): Likewise.
14039 (cos_test_data): Likewise.
14040 (cosh_test_data): Likewise.
14041 (erf_test_data): Likewise.
14042 (erfc_test_data): Likewise.
14043 (exp_test_data): Likewise.
14044 (exp10_test_data): Likewise.
14045 (exp2_test_data): Likewise.
14046 (expm1_test_data): Likewise.
14047 (hypot_test_data): Likewise.
14048 (j0_test_data): Likewise.
14049 (j1_test_data): Likewise.
14050 (jn_test_data): Likewise.
14051 (lgamma_test_data): Likewise.
14052 (log_test_data): Likewise.
14053 (log10_test_data): Likewise.
14054 (log1p_test_data): Likewise.
14055 (log2_test_data): Likewise.
14056 (pow_test_data): Likewise.
14057 (scalb_test_data): Likewise.
14058 (sin_test_data): Likewise.
14059 (sincos_test_data): Likewise.
14060 (sinh_test_data): Likewise.
14061 (tan_test_data): Likewise.
14062 (tanh_test_data): Likewise.
14063 (tgamma_test_data): Likewise.
14064 (y0_test_data): Likewise.
14065 (y1_test_data): Likewise.
14066 (yn_test_data): Likewise.
14069 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
14070 argument being NaN and avoid computations with second argument in
14072 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
14073 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
14074 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
14076 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
14078 * locale/iso-639.def: Add Chitwani Tharu (the).
14080 2013-11-14 Andreas Schwab <schwab@suse.de>
14082 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
14083 word instead of empty string.
14085 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14087 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
14088 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
14089 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
14090 (__fe_nomask_env): Likewise.
14092 2013-11-13 Steve Ellcey <sellcey@mips.com>
14094 * benchtests/bench-timing.h: Include time.h.
14096 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
14099 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
14101 * sysdeps/unix/sysv/linux/configure: Regenerated.
14103 2013-11-13 Joseph Myers <joseph@codesourcery.com>
14106 * stdlib/strtod_l.c (round_and_return): Do not consider
14107 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
14108 exponent one less than half the least subnormal exponent.
14109 * stdlib/test-strtod-round-data: Add more tests.
14110 * stdlib/tst-strtod-round.c (tests): Regenerated.
14112 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14115 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
14116 (__fe_mask_env): Likewise.
14117 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
14118 libm_hidden_proto and add function prototype.
14119 (__fe_mask_env): Add function prototype.
14120 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
14121 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
14122 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
14123 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
14124 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
14125 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
14127 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14129 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
14130 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
14132 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14134 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
14135 of htab_find_slot().
14137 2013-11-11 David S. Miller <davem@davemloft.net>
14140 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
14141 symbol in the non-vis3 case in static builds.
14142 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
14143 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
14144 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
14145 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
14147 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
14150 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
14153 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14155 * benchtests/Makefile: Add bench-strtod.
14156 * benchtests/bench-strtod.c: New file: strtod benchtest
14158 2013-11-11 Andreas Schwab <schwab@suse.de>
14161 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
14162 terminating NUL in key length.
14164 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14166 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
14167 Add artificial ODP entry for vDSO symbol for PPC64.
14168 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
14169 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
14171 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
14174 * nss/getent.c (services_keys): Recognize services starting with digit.
14176 2013-11-06 David S. Miller <davem@davemloft.net>
14179 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
14180 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
14182 2013-11-06 Will Newton <will.newton@linaro.org>
14184 * manual/memory.texi (Malloc Examples): Remove register
14185 keyword from examples.
14187 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
14189 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
14191 2013-11-04 Joseph Myers <joseph@codesourcery.com>
14194 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
14195 depending on [__GCC_IEC_559 > 0].
14196 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
14197 depending on [__GCC_IEC_559_COMPLEX > 0].
14199 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
14201 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
14204 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
14206 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
14208 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
14211 * malloc/malloc (malloc_info): Do not handle first bin as
14214 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
14216 * locale/iso-639.def: Add Central Nahuatl (nhn).
14218 2013-11-01 Bruno Haible <bruno@clisp.org>
14221 * manual/math.texi (BSD Random): Specify range upper bound as
14224 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
14226 * locale/iso-639.def: Add Meadow Mari (mhr).
14228 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
14230 [BZ #14752], [BZ #15763]
14231 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
14233 * rt/tst_shm.c: Add test for escaping directory.
14235 2013-10-31 Andreas Schwab <schwab@suse.de>
14238 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
14239 followed by 'x' as part of digit sequence.
14240 * stdio-common/tst-sscanf.c (double_tests2): New tests.
14242 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
14245 * configure.ac: allow GNU Make 4.0 and greater.
14246 * configure: Regenerated.
14248 2013-10-30 Will Newton <will.newton@linaro.org>
14251 * malloc/hooks.c (memalign_check): Limit alignment to the
14252 maximum representable power of two.
14253 * malloc/malloc.c (__libc_memalign): Likewise.
14254 * malloc/tst-memalign.c (do_test): Add test for very
14255 large alignment values.
14256 * malloc/tst-posix_memalign.c (do_test): Likewise.
14258 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
14261 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
14262 (munmap_chunk): Likewise.
14263 (mremap_chunk): Likewise.
14265 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
14268 * stdlib/div.c (div): Remove obsolete code.
14269 * stdlib/ldiv.c (ldiv): Likewise.
14270 * stdlib/lldiv.c (lldiv): Likewise.
14272 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
14275 * nss/nss_files/files-XXX.c (get_contents_ret): New
14277 (get_contents): New function.
14278 (internal_getent): Use it. Expand size of LINEBUFLEN.
14280 2013-10-30 Mike Frysinger <vapier@gentoo.org>
14282 * configure.in: Moved to ...
14283 * configure.ac: ... here. Change reference to configure.in
14285 * sysdeps/arm/preconfigure.ac: ... here.
14286 configure.in to configure.ac.
14287 * sysdeps/gnu/configure.in: Moved to ...
14288 * sysdeps/gnu/configure.ac: ... here.
14289 * sysdeps/i386/configure.in: Moved to ...
14290 * sysdeps/i386/configure.ac: ... here.
14291 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
14292 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
14293 * sysdeps/mach/configure.in: Moved to ...
14294 * sysdeps/mach/configure.ac: ... here.
14295 * sysdeps/mach/hurd/configure.in: Moved to ...
14296 * sysdeps/mach/hurd/configure.ac: ... here.
14297 * sysdeps/powerpc/configure.in: Moved to ...
14298 * sysdeps/powerpc/configure.ac: ... here.
14299 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
14300 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
14301 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
14302 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
14303 * sysdeps/s390/s390-32/configure.in: Moved to ...
14304 * sysdeps/s390/s390-32/configure.ac: ... here.
14305 * sysdeps/s390/s390-64/configure.in: Moved to ...
14306 * sysdeps/s390/s390-64/configure.ac: ... here.
14307 * sysdeps/sh/configure.in: Moved to ...
14308 * sysdeps/sh/configure.ac: ... here.
14309 * sysdeps/sparc/configure.in: Moved to ...
14310 * sysdeps/sparc/configure.ac: ... here.
14311 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
14312 * sysdeps/unix/sysv/linux/configure.ac: ... here.
14313 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
14314 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
14315 * sysdeps/x86_64/configure.in: Moved to ...
14316 * sysdeps/x86_64/configure.ac: ... here.
14317 * sysdeps/x86_64/preconfigure.in: Moved to ...
14318 * sysdeps/x86_64/preconfigure.ac: ... here.
14319 * aclocal.m4: Change reference to configure.in to configure.ac.
14320 * config.h.in: Likewise.
14321 * manual/install.texi: Likewise.
14322 * manual/maint.texi: Likewise.
14323 * Makefile: Likewise.
14324 * malloc/Makefile: Likewise.
14325 * nscd/Makefile: Likewise.
14326 * Makeconfig: Change reference to configure.in and
14327 preconfigure.in to configure.ac and preconfigure.ac
14329 * INSTALL: Regenerated.
14330 * configure: Likewise.
14331 * sysdeps/gnu/configure: Likewise.
14332 * sysdeps/i386/configure: Likewise.
14333 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
14334 * sysdeps/mach/configure: Likewise.
14335 * sysdeps/mach/hurd/configure: Likewise.
14336 * sysdeps/powerpc/configure: Likewise.
14337 * sysdeps/powerpc/powerpc32/configure: Likewise.
14338 * sysdeps/powerpc/powerpc64/configure: Likewise.
14339 * sysdeps/s390/s390-32/configure: Likewise.
14340 * sysdeps/s390/s390-64/configure: Likewise.
14341 * sysdeps/sh/configure: Likewise.
14342 * sysdeps/sparc/configure: Likewise.
14343 * sysdeps/unix/sysv/linux/configure: Likewise.
14344 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
14345 * sysdeps/x86_64/configure: Likewise.
14346 * sysdeps/x86_64/preconfigure: Likewise.
14348 2013-10-29 Andreas Schwab <schwab@suse.de>
14350 * stdio-common/Makefile (tst-swscanf-ENV): Define.
14352 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14354 * benchtests/pow-inputs: Add new inputs.
14356 * benchtests/exp-inputs: Add new inputs.
14358 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
14359 conditional check for return value.
14360 (__cos32): Likewise.
14362 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14364 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
14365 to provide a boost for large inputs with word alignment.
14366 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
14367 implementation based on optimized PPC64 strcpy.
14368 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
14369 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
14370 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
14371 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
14373 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
14376 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
14378 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
14381 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
14382 * time/tst-strptime.c (day_tests): Add testcase.
14384 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
14387 * manual/pattern.texi: Acknowledge that fnmatch can fail.
14389 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
14392 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
14393 MAP_FAILED on error.
14395 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
14398 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
14399 heap for large requests.
14401 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
14404 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
14405 result if the result has no associated interface.
14406 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
14407 interface for all 127.X.Y.Z addresses.
14409 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
14411 * locale/iso-639.def: Add Ligurian (lij)
14413 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
14416 * sunrpc/rpc_main.c: Document rpcgen -5.
14418 2013-10-19 Michael Stahl <mstahl@redhat.com>
14420 * elf/rtld.c (do_preload): Print the reason why preloading failed.
14422 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
14425 * posix/glob.c: Match only directories when trailing slash is present.
14426 * posix/tst-gnuglob.c (my_opendir): Do not open files.
14427 (main): Add testcase.
14429 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
14432 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
14434 2013-10-18 Carlos O'Donell <carlos@redhat.com>
14436 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
14437 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
14438 AUTH_DES and cindex for FIPS 140-2.
14439 (DES Encryption): Add cindex FIPS 46-3.
14441 * locale/locarchive.h (struct locarhandle): Add fname.
14442 * locale/programs/localedef.c (main): Pass ARGV[remaining]
14443 if an optional argument was specified to --list-archive,
14445 * locale/programs/locarchive.c (show_archive_content): Take new
14446 argument fname and pass it via ah.fname to open_archive.
14447 * locale/programs/localedef.h: Update decl.
14448 (open_archive): If AH->fname is non-null, open that file
14449 rather than the default file name, and don't ignore ENOENT.
14450 (create_archive): Set AH.fname to NULL.
14451 (delete_locales_from_archive): Likewise.
14452 (add_locales_to_archive): Likewise.
14453 * locale/programs/locfile.c (write_all_categories): Likewise.
14455 2013-10-18 Joseph Myers <joseph@codesourcery.com>
14456 Aldy Hernandez <aldyh@redhat.com>
14458 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
14459 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
14460 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
14461 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
14462 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
14463 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
14464 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
14465 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
14466 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
14467 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
14468 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
14469 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
14470 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
14471 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
14472 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
14474 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
14476 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
14478 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
14480 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
14481 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
14483 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
14484 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
14485 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
14486 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
14488 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
14489 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
14490 * sysdeps/powerpc/preconfigure: Likewise.
14491 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
14493 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
14494 Replace contents of file by #include of <fenv_libc.h>.
14495 * sysdeps/powerpc/soft-fp/sfp-machine.h
14496 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
14498 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
14499 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
14500 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
14501 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
14502 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
14503 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
14504 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
14505 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
14506 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
14507 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
14508 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
14509 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
14510 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
14511 Allow copysignl PLT reference to be missing.
14513 2013-10-18 Richard Sandiford <richard@codesourcery.com>
14514 Joseph Myers <joseph@codesourcery.com
14517 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
14519 (add_to_tablewc): Assert sequence of wide characters is nonempty.
14521 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
14523 * elf/tst-tls-dlinfo.c: Don't include tls.h.
14524 * elf/tst-tls1.c: Likewise.
14525 * elf/tst-tls10.h: Likewise.
14526 * elf/tst-tls14.c: Likewise.
14527 * elf/tst-tls2.c: Likewise.
14528 * elf/tst-tls3.c: Likewise.
14529 * elf/tst-tls4.c: Likewise.
14530 * elf/tst-tls5.c: Likewise.
14531 * elf/tst-tls6.c: Likewise.
14532 * elf/tst-tls7.c: Likewise.
14533 * elf/tst-tls8.c: Likewise.
14534 * elf/tst-tls9.c: Likewise.
14535 * elf/tst-tlsmod1.c: Likewise.
14536 * elf/tst-tlsmod13.c: Likewise.
14537 * elf/tst-tlsmod13a.c: Likewise.
14538 * elf/tst-tlsmod14a.c: Likewise.
14539 * elf/tst-tlsmod16a.c: Likewise.
14540 * elf/tst-tlsmod16b.c: Likewise.
14541 * elf/tst-tlsmod2.c: Likewise.
14542 * elf/tst-tlsmod3.c: Likewise.
14543 * elf/tst-tlsmod4.c: Likewise.
14544 * elf/tst-tlsmod5.c: Likewise.
14545 * elf/tst-tlsmod6.c: Likewise.
14547 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
14550 * malloc/malloc.c: remove checks for statistics.
14552 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
14555 * inet/inet_net.c (inet_network): Detect additional invalid strings.
14556 * inet/tst-network.c: Add testcase.
14558 2013-10-17 Andreas Schwab <schwab@suse.de>
14561 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
14562 to determine canonical name.
14564 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
14566 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
14567 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
14568 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14569 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
14570 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14571 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
14572 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
14573 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
14574 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
14575 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
14576 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
14577 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
14578 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
14579 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
14580 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
14581 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
14582 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14583 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
14584 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
14585 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
14586 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
14587 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14588 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
14589 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
14590 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
14591 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
14592 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
14593 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
14594 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
14595 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
14596 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
14597 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14598 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
14599 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
14600 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
14601 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
14602 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
14603 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
14604 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
14605 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
14606 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
14607 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
14608 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
14609 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
14610 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
14611 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
14612 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
14613 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
14614 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
14615 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
14616 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
14617 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
14618 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
14619 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
14620 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
14621 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
14622 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14623 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
14625 2013-10-17 Joseph Myers <joseph@codesourcery.com>
14628 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
14629 make result into a quiet NaN.
14631 2013-10-16 Joseph Myers <joseph@codesourcery.com>
14633 * soft-fp/adddf3.c: Fix horizontal whitespace.
14634 * soft-fp/addsf3.c: Likewise.
14635 * soft-fp/addtf3.c: Likewise.
14636 * soft-fp/divdf3.c: Likewise.
14637 * soft-fp/divsf3.c: Likewise.
14638 * soft-fp/divtf3.c: Likewise.
14639 * soft-fp/double.h: Likewise.
14640 * soft-fp/eqdf2.c: Likewise.
14641 * soft-fp/eqsf2.c: Likewise.
14642 * soft-fp/eqtf2.c: Likewise.
14643 * soft-fp/extenddftf2.c: Likewise.
14644 * soft-fp/extended.h: Likewise.
14645 * soft-fp/extendsfdf2.c: Likewise.
14646 * soft-fp/extendsftf2.c: Likewise.
14647 * soft-fp/extendxftf2.c: Likewise.
14648 * soft-fp/fixdfdi.c: Likewise.
14649 * soft-fp/fixdfsi.c: Likewise.
14650 * soft-fp/fixdfti.c: Likewise.
14651 * soft-fp/fixsfdi.c: Likewise.
14652 * soft-fp/fixsfsi.c: Likewise.
14653 * soft-fp/fixsfti.c: Likewise.
14654 * soft-fp/fixtfdi.c: Likewise.
14655 * soft-fp/fixtfsi.c: Likewise.
14656 * soft-fp/fixtfti.c: Likewise.
14657 * soft-fp/fixunsdfdi.c: Likewise.
14658 * soft-fp/fixunsdfsi.c: Likewise.
14659 * soft-fp/fixunsdfti.c: Likewise.
14660 * soft-fp/fixunssfdi.c: Likewise.
14661 * soft-fp/fixunssfsi.c: Likewise.
14662 * soft-fp/fixunssfti.c: Likewise.
14663 * soft-fp/fixunstfdi.c: Likewise.
14664 * soft-fp/fixunstfsi.c: Likewise.
14665 * soft-fp/fixunstfti.c: Likewise.
14666 * soft-fp/floatdidf.c: Likewise.
14667 * soft-fp/floatdisf.c: Likewise.
14668 * soft-fp/floatditf.c: Likewise.
14669 * soft-fp/floatsidf.c: Likewise.
14670 * soft-fp/floatsisf.c: Likewise.
14671 * soft-fp/floatsitf.c: Likewise.
14672 * soft-fp/floattidf.c: Likewise.
14673 * soft-fp/floattisf.c: Likewise.
14674 * soft-fp/floattitf.c: Likewise.
14675 * soft-fp/floatundidf.c: Likewise.
14676 * soft-fp/floatundisf.c: Likewise.
14677 * soft-fp/floatunditf.c: Likewise.
14678 * soft-fp/floatunsidf.c: Likewise.
14679 * soft-fp/floatunsisf.c: Likewise.
14680 * soft-fp/floatunsitf.c: Likewise.
14681 * soft-fp/floatuntidf.c: Likewise.
14682 * soft-fp/floatuntisf.c: Likewise.
14683 * soft-fp/floatuntitf.c: Likewise.
14684 * soft-fp/fmadf4.c: Likewise.
14685 * soft-fp/fmasf4.c: Likewise.
14686 * soft-fp/fmatf4.c: Likewise.
14687 * soft-fp/gedf2.c: Likewise.
14688 * soft-fp/gesf2.c: Likewise.
14689 * soft-fp/getf2.c: Likewise.
14690 * soft-fp/ledf2.c: Likewise.
14691 * soft-fp/lesf2.c: Likewise.
14692 * soft-fp/letf2.c: Likewise.
14693 * soft-fp/muldf3.c: Likewise.
14694 * soft-fp/mulsf3.c: Likewise.
14695 * soft-fp/multf3.c: Likewise.
14696 * soft-fp/negdf2.c: Likewise.
14697 * soft-fp/negsf2.c: Likewise.
14698 * soft-fp/negtf2.c: Likewise.
14699 * soft-fp/op-1.h: Likewise.
14700 * soft-fp/op-2.h: Likewise.
14701 * soft-fp/op-4.h: Likewise.
14702 * soft-fp/op-8.h: Likewise.
14703 * soft-fp/op-common.h: Likewise.
14704 * soft-fp/quad.h: Likewise.
14705 * soft-fp/single.h: Likewise.
14706 * soft-fp/soft-fp.h: Likewise.
14707 * soft-fp/sqrtdf2.c: Likewise.
14708 * soft-fp/sqrtsf2.c: Likewise.
14709 * soft-fp/sqrttf2.c: Likewise.
14710 * soft-fp/subdf3.c: Likewise.
14711 * soft-fp/subsf3.c: Likewise.
14712 * soft-fp/subtf3.c: Likewise.
14713 * soft-fp/truncdfsf2.c: Likewise.
14714 * soft-fp/trunctfdf2.c: Likewise.
14715 * soft-fp/trunctfsf2.c: Likewise.
14716 * soft-fp/trunctfxf2.c: Likewise.
14717 * soft-fp/unorddf2.c: Likewise.
14718 * soft-fp/unordsf2.c: Likewise.
14719 * soft-fp/unordtf2.c: Likewise.
14721 2013-10-15 Joseph Myers <joseph@codesourcery.com>
14723 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
14724 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
14726 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
14728 * elf/dl-libc.c: Clear initfini list after freeing.
14730 2013-10-14 Joseph Myers <joseph@codesourcery.com>
14732 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
14733 * soft-fp/addsf3.c: Likewise.
14734 * soft-fp/addtf3.c: Likewise.
14735 * soft-fp/divdf3.c: Likewise.
14736 * soft-fp/divsf3.c: Likewise.
14737 * soft-fp/divtf3.c: Likewise.
14738 * soft-fp/double.h: Likewise.
14739 * soft-fp/eqdf2.c: Likewise.
14740 * soft-fp/eqsf2.c: Likewise.
14741 * soft-fp/eqtf2.c: Likewise.
14742 * soft-fp/extenddftf2.c: Likewise.
14743 * soft-fp/extended.h: Likewise.
14744 * soft-fp/extendsfdf2.c: Likewise.
14745 * soft-fp/extendsftf2.c: Likewise.
14746 * soft-fp/extendxftf2.c: Likewise.
14747 * soft-fp/fixdfdi.c: Likewise.
14748 * soft-fp/fixdfsi.c: Likewise.
14749 * soft-fp/fixdfti.c: Likewise.
14750 * soft-fp/fixsfdi.c: Likewise.
14751 * soft-fp/fixsfsi.c: Likewise.
14752 * soft-fp/fixsfti.c: Likewise.
14753 * soft-fp/fixtfdi.c: Likewise.
14754 * soft-fp/fixtfsi.c: Likewise.
14755 * soft-fp/fixtfti.c: Likewise.
14756 * soft-fp/fixunsdfdi.c: Likewise.
14757 * soft-fp/fixunsdfsi.c: Likewise.
14758 * soft-fp/fixunsdfti.c: Likewise.
14759 * soft-fp/fixunssfdi.c: Likewise.
14760 * soft-fp/fixunssfsi.c: Likewise.
14761 * soft-fp/fixunssfti.c: Likewise.
14762 * soft-fp/fixunstfdi.c: Likewise.
14763 * soft-fp/fixunstfsi.c: Likewise.
14764 * soft-fp/fixunstfti.c: Likewise.
14765 * soft-fp/floatdidf.c: Likewise.
14766 * soft-fp/floatdisf.c: Likewise.
14767 * soft-fp/floatditf.c: Likewise.
14768 * soft-fp/floatsidf.c: Likewise.
14769 * soft-fp/floatsisf.c: Likewise.
14770 * soft-fp/floatsitf.c: Likewise.
14771 * soft-fp/floattidf.c: Likewise.
14772 * soft-fp/floattisf.c: Likewise.
14773 * soft-fp/floattitf.c: Likewise.
14774 * soft-fp/floatundidf.c: Likewise.
14775 * soft-fp/floatundisf.c: Likewise.
14776 * soft-fp/floatunsidf.c: Likewise.
14777 * soft-fp/floatunsisf.c: Likewise.
14778 * soft-fp/floatuntidf.c: Likewise.
14779 * soft-fp/floatuntisf.c: Likewise.
14780 * soft-fp/floatuntitf.c: Likewise.
14781 * soft-fp/fmadf4.c: Likewise.
14782 * soft-fp/fmasf4.c: Likewise.
14783 * soft-fp/fmatf4.c: Likewise.
14784 * soft-fp/gedf2.c: Likewise.
14785 * soft-fp/gesf2.c: Likewise.
14786 * soft-fp/getf2.c: Likewise.
14787 * soft-fp/ledf2.c: Likewise.
14788 * soft-fp/lesf2.c: Likewise.
14789 * soft-fp/letf2.c: Likewise.
14790 * soft-fp/muldf3.c: Likewise.
14791 * soft-fp/mulsf3.c: Likewise.
14792 * soft-fp/multf3.c: Likewise.
14793 * soft-fp/negdf2.c: Likewise.
14794 * soft-fp/negsf2.c: Likewise.
14795 * soft-fp/negtf2.c: Likewise.
14796 * soft-fp/op-1.h: Likewise.
14797 * soft-fp/op-2.h: Likewise.
14798 * soft-fp/op-4.h: Likewise.
14799 * soft-fp/op-8.h: Likewise.
14800 * soft-fp/op-common.h: Likewise.
14801 * soft-fp/quad.h: Likewise.
14802 * soft-fp/single.h: Likewise.
14803 * soft-fp/soft-fp.h: Likewise.
14804 * soft-fp/sqrtdf2.c: Likewise.
14805 * soft-fp/sqrtsf2.c: Likewise.
14806 * soft-fp/sqrttf2.c: Likewise.
14807 * soft-fp/subdf3.c: Likewise.
14808 * soft-fp/subsf3.c: Likewise.
14809 * soft-fp/subtf3.c: Likewise.
14810 * soft-fp/truncdfsf2.c: Likewise.
14811 * soft-fp/trunctfdf2.c: Likewise.
14812 * soft-fp/trunctfsf2.c: Likewise.
14813 * soft-fp/trunctfxf2.c: Likewise.
14814 * soft-fp/unorddf2.c: Likewise.
14815 * soft-fp/unordsf2.c: Likewise.
14816 * soft-fp/unordtf2.c: Likewise.
14818 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
14821 * misc/error.c (error_tail): Fix possible buffer overflow.
14823 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
14826 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
14829 2013-10-14 P. J. McDermott <pj@pehjota.net>
14832 * elf/ldd.bash.in (try_trace): New function. Delete previous code
14833 testing pipefail option.
14835 2013-10-12 Joseph Myers <joseph@codesourcery.com>
14837 * soft-fp/double.h: Indent preprocessor directives inside #if.
14838 * soft-fp/extended.h: Likewise.
14839 * soft-fp/op-2.h: Likewise.
14840 * soft-fp/op-4.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.
14846 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
14848 * iconv/iconv_prog.c: Fix typos.
14849 * stdio-common/psiginfo-data.h: Likewise.
14851 2013-10-12 Reuben Thomas <rrt@sc3d.org>
14854 * locale/setlocale.c: Fix typo.
14856 2013-10-12 Joseph Myers <joseph@codesourcery.com>
14859 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
14860 signaling NaN arguments.
14861 * soft-fp/unordsf2.c (__unordsf2): Likewise.
14862 * soft-fp/unordtf2.c (__unordtf2): Likewise.
14865 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
14866 unordered operands.
14867 * soft-fp/gesf2.c (__gesf2): Likewise.
14868 * soft-fp/getf2.c (__getf2): Likewise.
14869 * soft-fp/ledf2.c (__ledf2): Likewise.
14870 * soft-fp/lesf2.c (__lesf2): Likewise.
14871 * soft-fp/letf2.c (__letf2): Likewise.
14873 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
14874 * soft-fp/eqsf2.c (__eqsf2): Likewise.
14875 * soft-fp/eqtf2.c (__eqtf2): Likewise.
14876 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
14877 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
14878 * soft-fp/fixdfti.c (__fixdfti): Likewise.
14879 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
14880 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
14881 * soft-fp/fixsfti.c (__fixsfti): Likewise.
14882 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
14883 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
14884 * soft-fp/fixtfti.c (__fixtfti): Likewise.
14885 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
14886 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
14887 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
14888 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
14889 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
14890 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
14891 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
14892 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
14893 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
14894 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
14895 * soft-fp/floatdisf.c (__floatdisf): Likewise.
14896 * soft-fp/floatsisf.c (__floatsisf): Likewise.
14897 * soft-fp/floattidf.c (__floattidf): Likewise.
14898 * soft-fp/floattisf.c (__floattisf): Likewise.
14899 * soft-fp/floattitf.c (__floattitf): Likewise.
14900 * soft-fp/floatundidf.c (__floatundidf): Likewise.
14901 * soft-fp/floatundisf.c (__floatundisf): Likewise.
14902 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
14903 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
14904 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
14905 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
14906 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
14907 * soft-fp/gesf2.c (__gesf2): Likewise.
14908 * soft-fp/getf2.c (__getf2): Likewise.
14909 * soft-fp/ledf2.c (__ledf2): Likewise.
14910 * soft-fp/lesf2.c (__lesf2): Likewise.
14911 * soft-fp/letf2.c (__letf2): Likewise.
14913 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
14914 Undefine and redefine.
14915 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
14916 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
14917 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
14918 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
14919 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14920 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
14921 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14922 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
14923 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14924 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
14925 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14926 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
14927 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14928 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
14929 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14932 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
14933 without decrementing exponent if mantissa >= that for the
14934 denominator, not >.
14935 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
14936 denominator, not >. Decrement exponent in < case instead of
14937 incrementing in >= case.
14938 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
14939 without decrementing exponent if mantissa >= that for the
14940 denominator, not >.
14942 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
14943 computing saturated result for unsigned overflow.
14945 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
14946 Jeff Law <law@redhat.com>
14948 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
14949 (atan2Mp): Add systemtap probe marker.
14950 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
14951 (__ieee754_log): Add systemtap probe marker.
14952 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
14953 (atanMp): Add systemtap probe marker.
14954 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
14955 (tanMp): Add systemtap probe marker.
14956 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
14957 (__slowexp): Add systemtap probe marker.
14958 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
14959 (__slowpow): Add systemtap probe marker.
14960 * manual/probes.texi: Document probes.
14962 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
14965 * libio/fileops.c (_IO_new_file_write): Return count of bytes
14967 (_IO_new_file_xsputn): Don't return EOF if nothing has been
14969 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
14970 written to buffer but not flushed.
14971 * libio/iofwrite_u.c: Likewise.
14972 * libio/iopadn.c: Return bytes returned even if EOF was
14974 * libio/iowpadn.c: Likewise.
14975 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
14976 if _IO_padn does not write the whole buffer.
14977 [!COMPILE_WPRINTF] (PAD): Likewise.
14979 2013-10-10 David S. Miller <davem@davemloft.net>
14981 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
14984 2013-10-10 Joseph Myers <joseph@codesourcery.com>
14986 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
14987 instead of FSF address.
14988 * soft-fp/fixdfti.c: Likewise.
14989 * soft-fp/fixsfti.c: Likewise.
14990 * soft-fp/fixtfti.c: Likewise.
14991 * soft-fp/fixunsdfti.c: Likewise.
14992 * soft-fp/fixunssfti.c: Likewise.
14993 * soft-fp/fixunstfti.c: Likewise.
14994 * soft-fp/floattidf.c: Likewise.
14995 * soft-fp/floattisf.c: Likewise.
14996 * soft-fp/floattitf.c: Likewise.
14997 * soft-fp/floatuntidf.c: Likewise.
14998 * soft-fp/floatuntisf.c: Likewise.
14999 * soft-fp/floatuntitf.c: Likewise.
15000 * soft-fp/trunctfxf2.c: Likewise.
15002 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
15003 * soft-fp/fixdfti.c: Likewise.
15004 * soft-fp/fixsfti.c: Likewise.
15005 * soft-fp/fixtfti.c: Likewise.
15006 * soft-fp/fixunsdfti.c: Likewise.
15007 * soft-fp/fixunssfti.c: Likewise.
15008 * soft-fp/fixunstfti.c: Likewise.
15009 * soft-fp/floattidf.c: Likewise.
15010 * soft-fp/floattisf.c: Likewise.
15011 * soft-fp/floattitf.c: Likewise.
15012 * soft-fp/floatuntidf.c: Likewise.
15013 * soft-fp/floatuntisf.c: Likewise.
15014 * soft-fp/floatuntitf.c: Likewise.
15015 * soft-fp/trunctfxf2.c: Likewise.
15017 2013-10-10 David S. Miller <davem@davemloft.net>
15019 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15021 2013-10-10 Joseph Myers <joseph@codsourcery.com>
15023 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
15024 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
15025 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
15026 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
15027 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
15028 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
15029 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
15031 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
15032 for NaNs before doing comparisons on argument.
15033 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
15036 2013-10-10 Will Newton <will.newton@linaro.org>
15038 * malloc/hooks.c (memalign_check): Ensure the value of bytes
15039 passed to _int_memalign does not overflow.
15041 2013-10-10 Torvald Riegel <triegel@redhat.com>
15043 * scripts/bench.pl: Add include-sources directive.
15044 * benchtests/README: Update documentation.
15046 2013-10-10 Joseph Myers <joseph@codesourcery.com>
15048 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
15049 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
15050 instead of FP_INIT_ROUNDMODE.
15051 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
15052 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
15055 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
15056 copy class of input value.
15057 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
15058 not handle exceptions.
15059 * soft-fp/negsf2.c (__negsf2): Likewise.
15060 * soft-fp/negtf2.c (__negtf2): Likewise.
15061 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
15063 2013-10-09 Joseph Myers <joseph@codesourcery.com>
15065 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
15066 semicolon. From Linux kernel.
15068 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
15070 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
15072 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
15075 * manual/socket.texi: Added statement about buffer
15076 for gethostbyname2_r.
15078 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
15080 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
15081 Use .p2align directive instead, throughout.
15082 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
15083 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
15084 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
15085 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
15086 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
15087 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
15088 * sysdeps/x86_64/strchr.S: Likewise.
15089 * sysdeps/x86_64/strrchr.S: Likewise.
15091 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
15093 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
15095 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
15097 * sysdeps/generic/math_private.h (__mpsin1): Remove
15099 (__mpcos1): Likewise.
15100 (__mpsin): New argument __range_reduce.
15101 (__mpcos): Likewise.
15102 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
15103 (slow): Use __mpsin and __mpcos.
15107 (sloww1): Likewise.
15108 (sloww2): Likewise.
15109 (bsloww): Likewise.
15110 (bsloww1): Likewise.
15111 (bsloww2): Likewise.
15112 (cslow2): Likewise.
15113 (csloww): Likewise.
15114 (csloww1): Likewise.
15115 (csloww2): Likewise.
15116 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
15117 range_reduce. Merge in __mpsin1.
15118 (__mpcos): Likewise.
15119 (__mpsin1): Remove.
15120 (__mpcos1): Likewise.
15122 2013-10-07 Joseph Myers <joseph@codesourcery.com>
15124 * locale/loadlocale.c (_nl_intern_locale_data): Use
15126 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
15127 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
15128 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
15129 obstack data is appropriately aligned.
15130 (obstack_int32_grow_fast): Likewise.
15131 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
15132 * locale/programs/locfile.c (add_locale_uint32): Likewise.
15133 (add_locale_uint32_array): Likewise.
15135 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
15137 * benchtests/Makefile: Remove ARGLIST and RET variables.
15138 ($(objpfx)bench-%.c): Pass only function name to the script.
15139 * benchtests/README: Update documentation.
15140 * benchtests/acos-inputs: Add new directives.
15141 * benchtests/acosh-inputs: Likewise.
15142 * benchtests/asin-inputs: Likewise.
15143 * benchtests/asinh-inputs: Likewise.
15144 * benchtests/atan-inputs: Likewise.
15145 * benchtests/atanh-inputs: Likewise.
15146 * benchtests/cos-inputs: Likewise.
15147 * benchtests/cosh-inputs: Likewise.
15148 * benchtests/exp-inputs: Likewise.
15149 * benchtests/log-inputs: Likewise.
15150 * benchtests/pow-inputs: Likewise.
15151 * benchtests/rint-inputs: Likewise.
15152 * benchtests/sin-inputs: Likewise.
15153 * benchtests/sinh-inputs: Likewise.
15154 * benchtests/tan-inputs: Likewise.
15155 * benchtests/tanh-inputs: Likewise.
15156 * scripts/bench.pl: Add support for new directives.
15158 2013-10-07 Alan Modra <amodra@gmail.com>
15160 * README: Fix careless merge.
15162 2013-10-05 Alan Modra <amodra@gmail.com>
15164 * NEWS: Mention powerpc64le support and bugs fixed.
15165 * README: Both big-endian and little-endian powerpc64 supported.
15167 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
15169 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
15170 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
15171 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
15172 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
15174 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
15176 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
15179 2013-10-04 Joseph Myers <joseph@codesourcery.com>
15181 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
15182 Move -mhard-float appending from
15183 ports/sysdeps/powerpc/powerpc32/Makefile.
15184 [$(with-fp) = yes] (ASFLAGS): Likewise.
15185 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
15186 * sysdeps/powerpc/nofpu: Move directory from
15187 ports/sysdeps/powerpc/nofpu.
15188 * sysdeps/powerpc/soft-fp: Move directory from
15189 ports/sysdeps/powerpc/soft-fp.
15190 * sysdeps/powerpc/powerpc32/405: Move directory from
15191 ports/sysdeps/powerpc/powerpc32/405.
15192 * sysdeps/powerpc/powerpc32/440: Move directory from
15193 ports/sysdeps/powerpc/powerpc32/440.
15194 * sysdeps/powerpc/powerpc32/464: Move directory from
15195 ports/sysdeps/powerpc/powerpc32/464.
15196 * sysdeps/powerpc/powerpc32/476: Move directory from
15197 ports/sysdeps/powerpc/powerpc32/476.
15198 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
15199 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
15200 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
15201 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
15202 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
15203 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
15204 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
15205 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
15206 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
15207 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
15208 * README: Update for powerpc-*-linux-gnu software floating point
15211 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
15212 case to powerpc/powerpc32*.
15213 * sysdeps/unix/sysv/linux/configure: Regenerated.
15215 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
15216 (_FPU_MASK_OM): Define as 0x04.
15217 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
15218 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
15220 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
15222 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
15224 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
15225 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
15227 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
15228 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
15230 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
15231 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
15232 and setcontext_e500.
15234 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
15236 * locale/iso-3166.def: Update iso-1366.def and related occurrences
15238 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
15240 * manual/threads.texi (Default Thread Attributes): Fix typo.
15242 2013-10-04 Will Newton <will.newton@linaro.org>
15244 * malloc/Makefile: Add tst-memalign.
15245 * malloc/tst-memalign.c: New file.
15247 * malloc/tst-posix_memalign.c: Add comments.
15248 (do_test): Add comments and call free on all potentially
15249 allocated pointers. Add space after cast.
15251 * malloc/tst-pvalloc.c: Add comments.
15252 (do_test): Add comments and call free on all potentially
15253 allocated pointers. Remove duplicate check for NULL pointer.
15254 Add space after cast.
15256 * malloc/tst-valloc.c: Add comments.
15257 (do_test): Add comments and call free on all potentially
15258 allocated pointers. Remove duplicate check for NULL pointer.
15259 Add space after cast.
15261 2013-10-04 Alan Modra <amodra@gmail.com>
15263 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
15264 Use stdint types in rather than __attribute__((mode())).
15265 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
15267 2013-10-04 Alan Modra <amodra@gmail.com>
15269 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
15270 Correct handling of unaligned relocs for little-endian.
15271 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
15273 2013-10-04 Alan Modra <amodra@gmail.com>
15275 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
15276 * configure: Regenerate.
15277 * nptl/shlib-versions: Powerpc*le starts at 2.18.
15278 * shlib-versions: Likewise.
15280 2013-10-04 Alan Modra <amodra@gmail.com>
15282 * string/tester.c (test_memrchr): Increment reported test cycle.
15284 2013-10-04 Alan Modra <amodra@gmail.com>
15286 * string/test-memcpy.c (do_one_test): When reporting errors, print
15287 string address and don't overrun end of string.
15289 2013-10-04 Alan Modra <amodra@gmail.com>
15291 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
15292 insrdi. Make better use of reg selection to speed exit slightly.
15293 Schedule entry path a little better. Remove useless "are we done"
15294 checks on entry to main loop. Handle wrapping around zero address.
15295 Correct main loop count. Handle single left-over word from main
15296 loop inline rather than by using loop_small. Remove extra word
15297 case in loop_small caused by wrong loop count. Add little-endian
15299 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
15300 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
15302 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
15303 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
15304 support. Avoid rlwimi.
15305 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
15307 2013-10-04 Alan Modra <amodra@gmail.com>
15309 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
15310 insrdi. Formatting.
15311 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
15312 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
15313 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
15314 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
15315 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
15316 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
15318 2013-10-04 Alan Modra <amodra@gmail.com>
15320 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
15321 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
15322 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
15323 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
15324 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
15325 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
15326 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
15327 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
15328 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
15329 use of regs. Use power7 mtocrf. Tidy function tails.
15331 2013-10-04 Alan Modra <amodra@gmail.com>
15333 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
15334 Formatting. Consistently use rXXX register defines or rN defines.
15335 Use early exit labels that avoid restoring unused non-volatile regs.
15336 Make cr field use more consistent with rWORDn compares. Rename
15337 regs used as shift registers for unaligned loop, using rN defines
15338 for short lifetime/multiple use regs.
15339 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
15340 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
15341 addi 1,1,64 to pop stack frame. Simplify return value code.
15342 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
15344 2013-10-04 Alan Modra <amodra@gmail.com>
15346 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
15347 support. Correct typos, formatting. Optimize tail. Use insrdi
15348 rather than rlwimi.
15349 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
15350 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
15351 little-endian support. Correct typos.
15352 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
15353 rather than rlwimi.
15354 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
15355 in loop and entry code to keep "and." results.
15356 (strchr): Add little-endian support. Comment. Move cntlzd
15358 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
15360 2013-10-04 Alan Modra <amodra@gmail.com>
15362 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
15363 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
15364 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
15365 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
15367 2013-10-04 Alan Modra <amodra@gmail.com>
15369 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
15370 (rTMP): Define as r11.
15371 (strcmp): Add little-endian support. Optimise tail.
15372 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
15373 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
15374 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
15375 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
15376 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
15377 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
15378 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
15380 2013-10-04 Alan Modra <amodra@gmail.com>
15382 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
15383 little-endian support. Remove unnecessary "are we done" tests.
15384 Handle "s" wrapping around zero and extremely large "size".
15385 Correct main loop count. Handle single left-over word from main
15386 loop inline rather than by using small_loop. Correct comments.
15387 Delete "zero" tail, use "end_max" instead.
15388 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
15390 2013-10-04 Alan Modra <amodra@gmail.com>
15392 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
15393 support. Don't branch over align.
15394 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
15395 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
15396 support. Rearrange tmp reg use to suit. Comment.
15397 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
15399 2013-10-04 Alan Modra <amodra@gmail.com>
15401 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
15403 2013-10-04 Alan Modra <amodra@gmail.com>
15405 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
15406 conditional form of branch and link when obtaining pc.
15407 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
15409 2013-10-04 Alan Modra <amodra@gmail.com>
15411 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
15413 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
15414 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
15416 2013-10-04 Alan Modra <amodra@gmail.com>
15418 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
15419 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
15420 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
15421 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
15422 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
15423 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
15424 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
15425 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
15426 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
15427 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
15429 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
15430 Alistair Popple <alistair@ozlabs.au.ibm.com>
15431 Alan Modra <amodra@gmail.com>
15434 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
15435 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
15436 _dl_hwcap access for little-endian.
15437 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
15438 destroy vmx regs when saving unaligned.
15439 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
15440 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
15441 destroy vmx regs when saving unaligned.
15443 2013-10-04 Alan Modra <amodra@gmail.com>
15445 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
15446 Don't use a union to pack hi/low value.
15448 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
15450 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
15452 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
15453 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
15454 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
15455 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
15456 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
15458 2013-10-04 Alan Modra <amodra@gmail.com>
15460 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
15461 constants to usual value for .cst8 section, and remove redundant
15463 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
15464 constant for 0x1p52. Load little-endian words of double from
15465 correct stack offsets.
15467 2013-10-04 Alan Modra <amodra@gmail.com>
15469 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
15470 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
15471 words of double from correct stack offsets.
15472 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
15473 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
15474 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
15475 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
15476 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
15477 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
15478 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
15479 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
15480 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
15481 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
15482 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
15483 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
15484 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
15485 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
15486 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
15487 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
15488 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
15490 2013-10-04 Alan Modra <amodra@gmail.com>
15492 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
15493 64-bit int/double union.
15494 (_FPU_SETCW): Likewise.
15495 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
15496 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
15498 2013-10-04 Alan Modra <amodra@gmail.com>
15500 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
15501 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
15503 2013-10-04 Alan Modra <amodra@gmail.com>
15505 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
15506 use vector int constants.
15507 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
15509 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
15511 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
15512 array with long long.
15513 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
15514 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
15515 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
15516 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
15517 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
15518 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
15519 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
15520 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
15521 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
15522 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
15523 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
15524 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
15525 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
15527 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
15529 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
15530 (__signbit): Likewise. Correct for little-endian.
15531 (__signbitl): Call __signbit.
15532 (lrint): Correct for little-endian.
15533 (lrintf): Call lrint.
15535 2013-10-04 Alan Modra <amodra@gmail.com>
15537 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
15538 union 32-bit int array member with 64-bit int array.
15539 (t515, tm256): Double rather than long double.
15540 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
15542 2013-10-04 Alan Modra <amodra@gmail.com>
15544 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
15546 (IEEE854_LONG_DOUBLE_BIAS): Delete.
15547 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
15548 version of math_ldbl.h.
15550 2013-10-04 Alan Modra <amodra@gmail.com>
15552 [BZ #15734], [BZ #15735]
15553 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
15554 all uses of ieee875 long double macros and unions. Simplify test
15555 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
15556 ldbl_extract_mantissa value for ix,iy exponents. Properly
15557 normalize after ldbl_extract_mantissa, and don't add hidden bit
15558 already handled. Don't treat low word of ieee854 mantissa like
15559 low word of IBM long double and mask off bit when testing for
15561 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
15562 all uses of ieee875 long double macros and unions. Simplify tests
15563 for 0.0L and inf. Correct double adjustment of k. Delete dead code
15564 adjusting ha,hb. Simplify code setting kld. Delete two600 and
15565 two1022, instead use their values. Recognise that tests for large
15566 "a" and small "b" are mutually exclusive. Rename vars. Comment.
15567 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
15568 Rewrite all uses of ieee875 long double macros and unions. Simplify
15569 test for 0.0L and nan. Correct negation.
15570 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
15571 ieee875 long double macros and unions. Correct output for large
15572 magnitude x. Correct absolute value calculation.
15573 (__erfcl): Likewise.
15574 * math/libm-test.inc: Add tests for errors discovered in IBM long
15575 double versions of fmodl, remainderl, erfl and erfcl.
15577 2013-10-04 Alan Modra <amodra@gmail.com>
15579 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
15580 all uses of ieee854 long double macros and unions. Simplify tests
15581 for long doubles that are fully specified by the high double.
15582 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
15584 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
15585 Remove dead code too.
15586 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
15587 (__ieee754_ynl): Likewise.
15588 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
15589 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
15590 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
15591 Remove dead code too.
15592 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
15593 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
15594 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
15595 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
15597 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
15599 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
15600 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
15601 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
15602 Comment on variable precision.
15603 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
15604 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
15606 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
15607 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
15608 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
15609 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
15610 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
15612 2013-10-04 Alan Modra <amodra@gmail.com>
15614 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
15615 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
15616 all uses of ieee854 long double macros and unions.
15617 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
15618 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
15619 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
15620 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
15621 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
15622 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
15624 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
15625 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
15626 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
15627 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
15628 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
15629 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
15630 Simplify sign and nan test too.
15631 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
15632 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
15633 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
15634 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
15636 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
15637 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
15639 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
15640 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
15641 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
15642 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
15643 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
15644 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
15646 2013-10-04 Alan Modra <amodra@gmail.com>
15648 * stdio-common/printf_size.c (__printf_size): Don't use
15649 union ieee854_long_double in fpnum union.
15650 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
15651 signbit macro to retrieve sign from long double.
15652 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
15653 retrieve sign from long double.
15654 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
15655 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
15656 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
15657 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
15658 * math/test-misc.c (main): Don't use union ieee854_long_double.
15660 2013-10-04 Alan Modra <amodra@gmail.com>
15663 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
15664 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
15665 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
15666 calculation. Remove unnecessary test for denormal exponent.
15667 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
15668 Correct handling of denormals. Avoid undefined shift behaviour.
15669 Correct normalisation of low mantissa when low double is denormal.
15670 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
15671 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
15672 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
15673 Correct normalisation of low mantissa. Test for overflow of high
15674 mantissa and normalise.
15675 (ldbl_nearbyint): Use more readable constant for two52.
15676 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
15677 (__mpn_construct_long_double): Fix test for overflow of high
15678 mantissa and correct normalisation. Avoid undefined shift.
15680 2013-10-04 Alan Modra <amodra@gmail.com>
15682 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
15683 (union ibm_extended_long_double): Define as an array of ieee754_double.
15684 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
15685 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
15686 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
15687 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
15688 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
15689 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
15690 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
15691 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
15692 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
15693 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
15694 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
15696 2013-10-03 Joseph Myers <joseph@codesourcery.com>
15698 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
15699 page size instead of calling getpagesize.
15701 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
15702 (LOCFILE_ALIGN_MASK): Likewise.
15703 (LOCFILE_ALIGN_UP): Likewise.
15704 (LOCFILE_ALIGNED_P): Likewise.
15705 * locale/programs/ld-collate.c (collate_output): Use the new
15706 macros instead of __alignof__ (int32_t).
15707 * locale/weight.h (findidx): Likewise.
15709 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
15712 * manual/string.texi: Fix strncat and wcsncat.
15714 2013-10-03 Brooks Moses <bmoses@google.com>
15717 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
15718 * Makerules: ...here, and adjust associated comments.
15720 2013-10-02 Will Newton <will.newton@linaro.org>
15722 * malloc/Makefile: Add tst-pvalloc.
15723 * malloc/tst-pvalloc.c: New file.
15725 2013-10-02 Will Newton <will.newton@linaro.org>
15727 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
15728 improve test coverage.
15730 2013-10-02 Will Newton <will.newton@linaro.org>
15732 * malloc/Makefile: Add tst-posix_memalign.
15733 * malloc/tst-posix_memalign.c: New file.
15735 2013-10-01 Eric Blake <eblake@redhat.com>
15737 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
15738 Use __THROWNL rather than __THROW on static functions.
15740 2013-09-30 Petr Machata <pmachata@redhat.com>
15742 * elf/elf.h (R_AARCH64_ABS16): New macro.
15743 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
15744 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
15745 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
15746 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
15747 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
15748 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
15749 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
15750 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
15751 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
15752 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
15753 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
15754 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
15755 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
15756 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
15757 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
15758 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
15759 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
15760 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
15761 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
15762 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
15763 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
15764 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
15765 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
15766 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
15767 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
15768 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
15769 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
15770 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
15771 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
15772 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
15773 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
15774 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
15775 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
15776 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
15777 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
15778 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
15779 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
15780 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
15781 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
15782 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
15783 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
15784 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
15785 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
15786 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
15787 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
15788 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
15789 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
15790 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
15791 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
15792 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
15793 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
15794 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
15795 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
15796 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
15797 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
15798 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
15799 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
15800 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
15801 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
15802 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
15803 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
15804 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
15805 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
15806 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
15807 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
15808 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
15809 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
15810 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
15811 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
15812 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
15813 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
15814 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
15815 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
15816 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
15817 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
15818 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
15819 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
15820 (R_AARCH64_TLSDESC_LDR): Likewise.
15821 (R_AARCH64_TLSDESC_ADD): Likewise.
15822 (R_AARCH64_TLSDESC_CALL): Likewise.
15824 2013-09-30 Andreas Schwab <schwab@suse.de>
15827 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
15828 the nss database lookup.
15829 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15830 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
15832 2013-09-28 Mike Frysinger <vapier@gentoo.org>
15834 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
15836 2013-09-28 P. J. McDermott <pj@pehjota.net>
15838 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
15839 ${Bash-specific parameter/pattern/string} parameter expansion.
15840 * sysdeps/unix/make-syscalls.sh: Likewise.
15842 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15844 * sysdeps/sh/stackguard-macros.h: New file.
15846 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
15848 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
15849 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
15850 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
15851 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
15852 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
15853 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
15855 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15857 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
15858 Fix thread ID register.
15860 2013-09-25 Joseph Myers <joseph@codesourcery.com>
15862 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
15863 [POSIX || UNIX98]: Require rather than permitting all symbols from
15865 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
15866 element of struct sched_param.
15867 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
15868 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
15869 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
15870 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
15873 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
15875 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
15876 argument calculation.
15878 2013-09-24 Joseph Myers <joseph@codesourcery.com>
15880 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
15882 [POSIX] (pthread_attr_t): Do not require type.
15883 [POSIX] (pthread_cond_t): Likewise.
15884 [POSIX] (pthread_condattr_t): Likewise.
15885 [POSIX] (pthread_key_t): Likewise.
15886 [POSIX] (pthread_mutex_t): Likewise.
15887 [POSIX] (pthread_mutexattr_t): Likewise.
15888 [POSIX] (pthread_once_t): Likewise.
15889 [POSIX] (pthread_t): Likewise.
15890 [POSIX-based standards] (pthread_atfork): Expect function.
15892 2013-09-24 Joseph Myers <joseph@codesourcery.com>
15893 Richard Sandiford <richard@codesourcery.com>
15895 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
15896 (swap_endianness_p): New extern variable.
15897 (set_big_endian): New inline function.
15898 (maybe_swap_uint32): Likewise.
15899 (maybe_swap_uint32_array): Likewise.
15900 (maybe_swap_uint32_obstack): Likewise.
15901 * locale/programs/locfile.c: Include <stdbool.h>.
15902 (swap_endianness_p): New variable.
15903 (add_locale_uint32): Call maybe_swap_uint32.
15904 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
15905 (write_locale_data): Call maybe_swap_uint32_array.
15906 * locale/programs/ld-collate.c (obstack_int32_grow): Call
15908 (obstack_int32_grow_fast): Likewise.
15909 (output_weightwc): Call maybe_swap_uint32_obstack.
15910 (collate_output): Likewise.
15911 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
15912 (OPT_LITTLE_ENDIAN): Likewise.
15913 (options): Add --little-endian and --big-endian options.
15914 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
15915 * locale/programs/locarchive.c: Include "locfile.h".
15919 (create_archive): Use the new macros to access fields of
15920 structures directly mapped from or written to locale archives.
15921 (oldlocrecentcmp): Likewise.
15922 (enlarge_archive): Likewise.
15923 (insert_name): Likewise.
15924 (add_alias): Likewise.
15925 (add_locale): Likewise.
15926 (delete_locales_from_archive): Likewise.
15927 (show_archive_content): Likewise.
15928 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
15931 2013-09-24 Roland McGrath <roland@hack.frob.com>
15933 * manual/freemanuals.texi: Updated from (newly) canonical copy at
15934 http://www.gnu.org/doc/freemanuals.texi.
15935 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
15937 2013-09-24 Will Newton <will.newton@linaro.org>
15939 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
15942 2013-09-23 Joseph Myers <joseph@codesourcery.com>
15944 * locale/hashval.h (compute_hashval): Interpret bytes of key as
15947 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
15949 * manual/threads.texi (POSIX Threads): Fix a typo.
15951 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
15954 * string/tst-strcoll-overflow.c: New test case.
15955 * string/Makefile (xtests): Add tst-strcoll-overflow.
15956 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
15957 cache if string sizes may cause integer overflow.
15960 * string/strcoll_l.c (coll_seq): New members rule, idx,
15961 save_idx and back_us.
15962 (get_next_seq_nocache): New function.
15963 (do_compare_nocache): New function.
15964 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
15967 2013-09-23 Carlos O'Donell <carlos@redhat.com>
15970 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
15971 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
15972 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
15975 * elf/Makefile (tests): Add tst-ptrguard1.
15976 (tests-static): Add tst-ptrguard1-static.
15977 (tst-ptrguard1-ARGS): Define.
15978 (tst-ptrguard1-static-ARGS): Define.
15979 * elf/tst-ptrguard1.c: New file.
15980 * elf/tst-ptrguard1-static.c: New file.
15981 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
15982 * sysdeps/i386/stackguard-macros.h: Likewise.
15983 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
15984 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
15985 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
15986 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
15987 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
15988 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
15990 2013-09-23 Hector Marco <hecmargi@upv.es>
15991 Ismael Ripoll <iripoll@disca.upv.es>
15992 Carlos O'Donell <carlos@redhat.com>
15995 * sysdeps/generic/stackguard-macros.h: Define
15996 __pointer_chk_guard_local and POINTER_CHK_GUARD.
15997 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
15998 Define __pointer_chk_guard_local.
15999 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
16000 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
16002 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
16005 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
16007 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
16009 * include/string.h (__ffs): Declare as hidden.
16010 * string/ffs.c (__ffs): Define as hidden.
16011 * sysdeps/i386/ffs.c (__ffs): Likewise.
16012 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
16013 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
16014 * sysdeps/s390/ffs.c (__ffs): Likewise.
16015 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
16017 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
16019 * NEWS: Mention malloc probes.
16021 * malloc/arena.c (new_heap): New memory_heap_new probe.
16022 (grow_heap): New memory_heap_more probe.
16023 (shrink_heap): New memory_heap_less probe.
16024 (heap_trim): New memory_heap_free probe.
16025 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
16026 (systrim): New memory_sbrk_less probe.
16027 * manual/probes.texi: Document them.
16029 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
16030 * manual/probes.texi: Document it.
16032 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
16033 (__libc_realloc): Add memory_realloc_retry probe.
16034 (__libc_memalign): Add memory_memalign_retry probe.
16035 (__libc_valloc): Add memory_valloc_retry probe.
16036 (__libc_pvalloc): Add memory_pvalloc_retry probe.
16037 (__libc_calloc): Add memory_calloc_retry probe.
16038 * manual/probes.texi: Document them.
16040 * malloc/arena.c (get_free_list): Add probe
16041 memory_arena_reuse_free_list.
16042 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
16043 and memory_arena_reuse.
16044 (arena_get2) [!PER_THREAD]: Likewise.
16045 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
16046 memory_arena_reuse_realloc.
16047 * manual/probes.texi: Document them.
16049 * malloc/malloc.c (__libc_free): Add
16050 memory_mallopt_free_dyn_thresholds probe.
16051 (__libc_mallopt): Add multiple memory_mallopt probes.
16052 * manual/probes.texi: Document them.
16054 * malloc/malloc.c: Include stap-probe.h.
16055 (__libc_mallopt): Add memory_mallopt probe.
16056 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
16057 * manual/probes.texi: New.
16058 * manual/Makefile (chapters): Add probes.
16059 * manual/threads.texi: Set next node.
16061 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
16063 [BZ #15963, #13985]
16064 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
16065 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
16066 Add `Chinese' to `nan' entry name.
16068 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
16070 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
16071 (POLYNOMIAL): Likewise.
16072 (TAYLOR_SINCOS): Likewise.
16073 (TAYLOR_SLOW): Likewise.
16074 (__sin): Use TAYLOR_SINCOS.
16076 (slow): Use TAYLOR_SLOW.
16078 (bsloww): Likewise.
16079 (csloww): Likewise.
16081 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16083 * stdlib/strtod_l.c: Fix buffer overrun.
16085 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
16087 * benchtests/Makefile (bench): Add sincos.
16088 * benchtests/bench-sincos.c: New file.
16090 * math/libm-test.inc (cos_test_data): New test inputs.
16091 (sin_test_data): Likewise.
16093 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
16099 (sloww1): Likewise.
16100 (sloww2): Likewise.
16101 (bsloww1): Likewise.
16102 (bsloww2): Likewise.
16103 (cslow2): Likewise.
16104 (csloww1): Likewise.
16105 (csloww2): Likewise.
16107 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
16112 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
16116 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
16118 * config.h.in (HAVE_MIPS_NAN2008): New macro.
16119 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
16120 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
16121 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
16122 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
16123 * elf/cache.c (print_entry): Handle the new cache flags.
16125 2013-09-18 Joseph Myers <joseph@codesourcery.com>
16126 Aldy Hernandez <aldyh@redhat.com>
16128 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
16129 Change condition to [_SOFT_FLOAT].
16130 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
16131 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
16132 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
16133 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
16134 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
16135 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
16136 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
16137 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
16138 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
16139 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
16140 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
16141 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
16142 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
16143 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
16144 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
16145 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
16148 2013-09-18 Joseph Myers <joseph@codesourcery.com>
16150 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
16151 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
16152 (__longjmp): Use LOAD_GP to load saved GPRs.
16153 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
16154 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
16155 (__sigsetjmp): Use SAVE_GP to save GPRs.
16157 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
16158 Do not append -msoft-float.
16159 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
16161 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
16163 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
16165 2013-09-17 Joseph Myers <joseph@codesourcery.com>
16168 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
16169 (_FPU_GETCW): Use initial "__" on variable and field names but not
16170 on macro parameter name.
16171 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
16172 parentheses around reference to macro parameter.
16174 2013-09-13 Richard Sandiford <richard@codesourcery.com>
16176 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
16178 (ctype_startup): Use uint32_t in cast and sizeof for
16181 2013-09-11 Jia Liu <proljc@gmail.com>
16183 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
16185 [__FreeBSD__]: Likewise.
16187 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
16189 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
16190 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
16191 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
16192 (strchr): Remove __strchr_sse42 ifunc selection.
16193 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
16194 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
16196 2013-09-11 Will Newton <will.newton@linaro.org>
16198 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
16199 parameter to RES. Remove hardcoded 1000 value.
16200 * benchtests/bench-skeleton.c (main): Pass RES parameter
16201 to TIMING_INIT and multiply result by 1000.
16203 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16205 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16207 2013-09-11 Andreas Schwab <schwab@suse.de>
16209 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
16211 (O_TMPFILE) [__USE_GNU]: Define.
16212 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
16215 2013-09-11 Will Newton <will.newton@linaro.org>
16218 * malloc/malloc.c (__libc_memalign): Check the value of bytes
16221 2013-09-11 Will Newton <will.newton@linaro.org>
16224 * malloc/malloc.c (__libc_valloc): Check the value of bytes
16227 2013-09-11 Will Newton <will.newton@linaro.org>
16230 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
16233 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
16235 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
16236 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
16237 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
16238 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
16239 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
16241 2013-09-10 Allan McRae <allan@archlinux.org>
16244 * manual/arith.texi (Parsing of Floats): Clarify
16248 * manual/install.texi (Running make install): Mention
16250 * INSTALL: Regenerated.
16252 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
16254 * csu/init-first.c (_init): Remove the !SHARED condition around
16255 FPU control word initialization.
16256 * elf/dl-support.c (_dl_fpu_control): New variable.
16257 (_dl_aux_init) <AT_FPUCW>: Initialize it.
16258 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
16259 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
16260 * math/test-fpucw-static.c: New file.
16261 * math/test-fpucw-ieee.c: New file.
16262 * math/test-fpucw-ieee-static.c: New file.
16263 * math/Makefile (tests): Add `test-fpucw-ieee' and
16265 (tests-static): New variable.
16266 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
16268 [($(build-shared),yes)]
16269 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
16271 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
16274 2013-09-09 Allan McRae <allan@archlinux.org>
16277 * manual/string.texi (Collation Functions): Fix typo in
16279 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
16282 * stdlib/isomac.c (get_null_defines): Fix memory leak.
16285 * libio/memstream.c (open_memstream): Fix memory leak.
16286 * libio/wmemstream.c (open_wmemstream): Likewise.
16289 * nscd/netgroupcache.c: Fix nesting of ifdefs.
16291 2013-09-09 Will Newton <will.newton@linaro.org>
16293 * malloc/Makefile: Add tst-realloc to tests.
16294 * malloc/tst-realloc.c: New file.
16296 2013-09-09 Allan McRae <allan@archlinux.org>
16299 * COPYING: Update from GNU website to fix FSF address.
16300 * COPYING.LIB: Likewise.
16302 2013-09-06 David S. Miller <davem@davemloft.net>
16304 * po/zh_TW.po: Update Chinese (traditional) translation from
16305 translation project.
16307 2013-09-06 Richard Sandiford <richard@codesourcery.com>
16308 Joseph Myers <joseph@codesourcery.com>
16310 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
16312 (obstack_chunk_alloc): New macro.
16313 (obstack_chunk_free): Likewise.
16314 (record_offset): New function.
16315 (init_locale_data): Likewise.
16316 (align_locale_data): Likewise.
16317 (add_locale_empty): Likewise.
16318 (add_locale_raw_data): Likewise.
16319 (add_locale_raw_obstack): Likewise.
16320 (add_locale_string): Likewise.
16321 (add_locale_wstring): Likewise.
16322 (add_locale_uint32): Likewise.
16323 (add_locale_uint32_array): Likewise.
16324 (add_locale_char): Likewise.
16325 (start_locale_structure): Likewise.
16326 (end_locale_structure): Likewise.
16327 (start_locale_prelude): Likewise.
16328 (end_locale_prelude): Likewise.
16329 (write_locale_data): Take locale_file structure rather than an
16331 * locale/programs/locfile.h: Include "obstack.h".
16332 (struct locale_file): Change to store locale file contents instead
16334 (init_locale_data): New prototype.
16335 (align_locale_data): Likewise.
16336 (add_locale_empty): Likewise.
16337 (add_locale_raw_data): Likewise.
16338 (add_locale_raw_obstack): Likewise.
16339 (add_locale_string): Likewise.
16340 (add_locale_wstring): Likewise.
16341 (add_locale_uint32): Likewise.
16342 (add_locale_uint32_array): Likewise.
16343 (add_locale_char): Likewise.
16344 (start_locale_structure): Likewise.
16345 (end_locale_structure): Likewise.
16346 (start_locale_prelude): Likewise.
16347 (end_locale_prelude): Likewise.
16348 (write_locale_data): Update prototype.
16349 * locale/programs/3level.h (struct TABLE): Remove result field.
16350 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
16351 Use new locale_file interface.
16352 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
16353 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
16354 * locale/programs/ld-address.c (address_output): Use new
16355 locale_file interface.
16356 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
16358 (collate_finish): Don't call collseq_table_finalize.
16359 (collate_output): Use new locale_file interface.
16360 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
16362 (NO_FINALIZE): Change to NO_ADD_LOCALE.
16363 (TABLE): Move defines earlier in file.
16364 (ELEMENT): Likewise.
16365 (DEFAULT): Likewise.
16366 (wctrans_table_add): Move macro and inline function earlier in
16368 (struct wctype_table): Move type earlier in file.
16369 (add_locale_wctype_table): New static prototype.
16370 (struct locale_ctype_t): Use logical types instead of struct iovec
16371 pointers for members.
16372 (ctype_output): Use new locale_file interface.
16373 (wctype_table_finalize): Change to add_locale_wctype_table. Use
16374 new locale_file interface.
16375 (allocate_arrays): Update for use of new locale_file interface.
16376 * locale/programs/ld-identification.c (identification_output): Use
16377 new locale_file interface.
16378 * locale/programs/ld-measurement.c (measurement_output): Likewise.
16379 * locale/programs/ld-messages.c (messages_output): Likewise.
16380 * locale/programs/ld-monetary.c (monetary_output): Likewise.
16381 * locale/programs/ld-name.c (name_output): Likewise.
16382 * locale/programs/ld-numeric.c (numeric_output): Likewise.
16383 * locale/programs/ld-paper.c (paper_output): Likewise.
16384 * locale/programs/ld-telephone.c (telephone_output): Likewise.
16385 * locale/programs/ld-time.c (time_output): Likewise.
16387 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16389 * benchtests/Makefile: Add memrchr benchmark.
16390 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
16391 benchmark as memrchr.
16392 * benchtests/bench-memrchr-ifunc.c: New file.
16393 * benchtests/bench-memrchr.c: New file.
16395 2013-09-06 Will Newton <will.newton@linaro.org>
16397 * benchtests/Makefile (string-bench): Add memcpy.
16399 2013-09-05 Carlos O'Donell <carlos@redhat.com>
16400 Cong Wang <amwang@redhat.com>
16403 * sysdeps/unix/sysv/linux/bits/in.h
16404 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
16405 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
16406 before __USE_KERNEL_IPV6_DEFS uses.
16407 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
16409 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
16410 sockaddr_in6, or ipv6_mreq.
16412 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16414 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
16415 memory access for final bytes in some large inputs.
16416 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
16418 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16420 * string/test-memrchr.c: New file.
16421 * string/test-memrchr-ifunc.c: New file.
16422 * string/Makefile: Add new memrchr testcase.
16424 2013-09-05 Mike Frysinger <vapier@gentoo.org>
16426 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
16427 fanotify_init returns EPERM.
16429 2013-09-04 Joseph Myers <joseph@codesourcery.com>
16431 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
16433 (top level): Treat second token from macro or constant entries for
16434 allowed headers as allowed.
16435 * include/complex.h: Condition internal declarations on
16437 * include/fenv.h: Condition include of <stdbool.h> and internal
16438 declarations on [!_ISOMAC].
16440 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
16443 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
16445 2013-09-04 Joseph Myers <joseph@codesourcery.com>
16447 * configure.in (--enable-versioning): Remove configure option.
16448 (libc_cv_asm_symver_directive): Remove configure test.
16449 (libc_cv_ld_version_script_option): Likewise.
16450 (VERSIONING): Remove variable and AC_SUBST.
16451 (DO_VERSIONING): Remove AC_DEFINE.
16452 * configure: Regenerated.
16453 * config.h.in (DO_VERSIONING): Remove macro.
16454 * Makerules [$(versioning) = yes]: Change conditionals to
16455 [$(build-shared) = yes].
16456 * config.make.in (versioning): Remove variable.
16457 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
16458 [$(build-shared) = yes].
16459 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
16460 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
16461 * elf/Makefile [$(versioning) = yes]: Change conditionals to
16462 [$(build-shared) = yes].
16463 * extra-lib.mk [$(versioning) = yes]: Likewise.
16464 * hurd/Makefile [$(versioning) = yes]: Likewise.
16465 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
16467 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
16469 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
16470 [SHARED && !NO_HIDDEN].
16471 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
16473 [SHARED && DO_VERSIONING]: Likewise..
16474 * libio/Makefile [$(versioning) = yes]: Change conditionals to
16475 [$(build-shared) = yes].
16476 * manual/install.texi (--disable-versioning): Remove
16478 * INSTALL: Regenerated.
16479 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
16481 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
16482 [$(build-shared) = yes].
16483 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
16484 * sysdeps/i386/i686/multiarch/strstr-c.c
16485 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
16486 [SHARED && !NO_HIDDEN].
16487 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
16488 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
16489 * sysdeps/powerpc/powerpc32/dl-machine.c
16490 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
16491 * sysdeps/powerpc/powerpc32/sysdep.h
16492 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
16493 to [SHARED && PIC && !NO_HIDDEN].
16494 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
16495 conditional to [SHARED].
16497 2013-09-04 Will Newton <will.newton@linaro.org>
16499 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
16500 * benchtests/bench-string.h: Include bench-timing.h instead
16501 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
16502 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
16503 call to HP_TIMING_DIFF_INIT.
16504 * benchtests/bench-memccpy.c: Use bench-timing.h macros
16505 instead of hp-timing.h macros.
16506 * benchtests/bench-memchr.c: Likewise.
16507 * benchtests/bench-memcmp.c: Likewise.
16508 * benchtests/bench-memcpy.c: Likewise.
16509 * benchtests/bench-memmem.c: Likewise.
16510 * benchtests/bench-memmove.c: Likewise.
16511 * benchtests/bench-memset.c: Likewise.
16512 * benchtests/bench-rawmemchr.c: Likewise.
16513 * benchtests/bench-strcasecmp.c: Likewise.
16514 * benchtests/bench-strcasestr.c: Likewise.
16515 * benchtests/bench-strcat.c: Likewise.
16516 * benchtests/bench-strchr.c: Likewise.
16517 * benchtests/bench-strcmp.c: Likewise.
16518 * benchtests/bench-strcpy.c: Likewise.
16519 * benchtests/bench-strcpy_chk.c: Likewise.
16520 * benchtests/bench-strlen.c: Likewise.
16521 * benchtests/bench-strncasecmp.c: Likewise.
16522 * benchtests/bench-strncat.c: Likewise.
16523 * benchtests/bench-strncmp.c: Likewise.
16524 * benchtests/bench-strncpy.c: Likewise.
16525 * benchtests/bench-strnlen.c: Likewise.
16526 * benchtests/bench-strpbrk.c: Likewise.
16527 * benchtests/bench-strrchr.c: Likewise.
16528 * benchtests/bench-strspn.c: Likewise.
16529 * benchtests/bench-strstr.c: Likewise.
16531 2013-09-04 Will Newton <will.newton@linaro.org>
16533 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
16535 2013-09-03 Joseph Myers <joseph@codesourcery.com>
16538 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
16539 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
16540 * math/libm-test.inc (lgamma_test_data): Add more tests.
16541 * sysdeps/i386/fpu/libm-test-ulps: Update.
16542 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16544 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
16546 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
16547 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
16549 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
16550 Add strcmp-sse2-unaligned
16551 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
16553 2013-09-02 Mike Frysinger <vapier@gentoo.org>
16555 * Versions.def (libc): Add GLIBC_2.19.
16557 2013-09-02 Mike Frysinger <vapier@gentoo.org>
16559 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
16560 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
16562 2013-09-02 Joseph Myers <joseph@codesourcery.com>
16565 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
16566 intermediate calculations in recurrence.
16567 (__ieee754_ynf): Likewise.
16568 * math/libm-test.inc (jn_test_data): Do not allow spurious
16569 underflow exception. Add more tests.
16570 (yn_test_data): Add more tests.
16571 * sysdeps/i386/fpu/libm-test-ulps: Update.
16572 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16574 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
16576 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
16578 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
16580 * csu/init-first.c: Fix then/than typos.
16581 * locale/programs/ld-collate.c: Likewise.
16582 * locale/programs/linereader.h: Likewise.
16583 * manual/charset.texi: Likewise.
16584 * manual/filesys.texi: Likewise.
16585 * manual/stdio.texi: Likewise.
16586 * manual/string.texi: Likewise.
16587 * stdlib/fmtmsg.c: Likewise.
16588 * sysdeps/i386/stpncpy.S: Likewise.
16589 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
16590 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
16591 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
16592 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
16594 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
16596 * elf/dl-open.c: Fix typos.
16597 * iconvdata/gbbig5.c: Likewise.
16598 * iconvdata/iso-2022-jp.c: Likewise.
16599 * iconv/gconv_int.h: Likewise.
16600 * iconv/loop.c: Likewise.
16601 * nis/rpcsvc/nis.h: Likewise.
16602 * resolv/ns_name.c: Likewise.
16603 * stdio-common/vfscanf.c: Likewise.
16604 * streams/stropts.h: Likewise.
16605 * sunrpc/rpc_thread.c: Likewise.
16606 * sysdeps/i386/strpbrk.S: Likewise.
16607 * sysdeps/ieee754/k_standard.c: Likewise.
16608 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
16609 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
16610 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
16611 * sysdeps/mach/hurd/profil.c: Likewise.
16612 * sysdeps/s390/dl-procinfo.h: Likewise.
16613 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
16614 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
16615 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
16616 * sysdeps/x86_64/dl-trampoline.S: Likewise.
16617 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
16619 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
16621 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
16622 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
16624 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
16626 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
16627 aix specific files.
16628 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
16629 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
16630 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
16631 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
16632 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
16633 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
16634 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
16635 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
16637 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
16638 Roland McGrath <roland@hack.frob.com>
16640 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
16641 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
16643 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
16645 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
16646 __executable_start symbol instead of _start.
16648 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
16650 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
16651 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
16653 * sysdeps/gnu/ldsodefs.h: ... this new file.
16655 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
16656 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
16657 instead of ELFOSABI_LINUX.
16659 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
16660 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
16661 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
16662 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
16664 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
16665 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
16666 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
16668 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
16669 (ibm_extended_long_double): Add ieee_nan member.
16670 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
16671 (do_test): New function.
16673 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
16675 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
16676 functions, renamed from truncdfsf_test, trunctfsf_test,
16678 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
16680 (do_test): Run all these.
16682 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
16684 * argp/argp-help.c: Fix typos.
16685 * argp/argp-parse.c: Likewise.
16686 * debug/backtracesyms.c: Likewise.
16687 * elf/elf.h: Likewise.
16688 * malloc/malloc.c: Likewise.
16689 * nis/nis_print.c: Likewise.
16690 * resolv/res_comp.c: Likewise.
16691 * stdlib/stdlib.h: Likewise.
16692 * sunrpc/clnt_tcp.c: Likewise.
16693 * sunrpc/clnt_udp.c: Likewise.
16694 * sunrpc/clnt_unix.c: Likewise.
16695 * sysdeps/unix/bsd/ptsname.c: Likewise.
16696 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
16697 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
16698 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
16700 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
16702 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
16704 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
16706 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16708 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
16709 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
16711 2013-08-27 Mike Frysinger <vapier@gentoo.org>
16714 * dlfcn/Makefile (tests): Add bug-dl-leaf.
16715 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
16716 ($(objpfx)bug-dl-leaf): New rule.
16717 ($(objpfx)bug-dl-leaf.so): Likewise.
16718 ($(objpfx)bug-dl-leaf.out): Likewise.
16719 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
16720 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
16721 * dlfcn/bug-dl-leaf.c: New test.
16722 * dlfcn/bug-dl-leaf-lib.c: Likewise.
16723 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
16724 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
16725 (dlclose): Likewise.
16726 (dlmopen): Likewise.
16728 2013-08-27 Roland McGrath <roland@hack.frob.com>
16730 * include/netdb.h [!_ISOMAC]:
16731 Don't include <tls.h>.
16732 (h_errno, __libc_h_errno): Move declaration and macros out of
16735 * include/resolv.h [_RESOLV_H_]:
16736 Don't include <tls.h>.
16737 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
16738 * resolv/res_libc.c: Don't include <tls.h>.
16739 (_res): Use __attribute__ ((nocommon)) in place of
16740 __attribute__ ((section (".bss"))).
16742 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
16743 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
16745 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
16747 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
16748 only under [SIOCGIFCONF && SIOCGIFNETMASK].
16750 * resolv/res_mkquery.c: Include <sys/time.h>.
16752 * inet/ifreq.c: Moved to ...
16753 * sysdeps/unix/ifreq.c: ... here.
16754 * inet/ifreq.c: New file, true stub version.
16756 * socket/sa_len.c: New file.
16757 * socket/Makefile (aux): Add it.
16758 * sysdeps/unix/sysv/linux/Makefile
16759 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
16760 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
16761 and #include <socket/sa_len.c>.
16762 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
16763 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
16765 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
16766 * bits/socket.h: ... here.
16768 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
16769 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
16770 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
16772 2013-08-27 Andreas Schwab <schwab@suse.de>
16775 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
16776 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
16777 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
16778 * string/test-strcasecmp.c (test_main): Run tests in several
16780 * string/test-strncasecmp.c (test_main): Likewise.
16782 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
16783 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
16784 to __strcasecmp_nonascii and __strncasecmp_nonascii.
16785 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
16786 (__strncasecmp_ssse3) [PIC]: Likewise.
16788 2013-08-26 Roland McGrath <roland@hack.frob.com>
16790 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
16792 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
16793 instead of explicitly declaring xdecrypt.
16794 * nis/nss_nis/nis-publickey.c: Likewise.
16796 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16799 * nscd/aicache.c: Include res_hconf.h.
16800 (addhstaiX): Initialize res_hconf.
16802 2013-08-26 Andreas Schwab <schwab@suse.de>
16804 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
16805 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
16807 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16809 * nscd/aicache.c (addhstaiX): Fix indentation.
16811 2013-08-25 Mike Frysinger <vapier@gentoo.org>
16813 * configure.ac: Quote $build_pt_chown test.
16814 * configure: Regenerated.
16816 2013-08-23 Joseph Myers <joseph@codesourcery.com>
16819 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
16820 * math/s_cexpf.c (__cexpf): Likewise.
16821 * math/s_cexpl.c (__cexpl): Likewise.
16822 * math/libm-test.inc (cexp_test_data): Correct expected return
16823 value for NaN + i0. Add another test.
16825 2013-08-22 David S. Miller <davem@davemloft.net>
16827 * po/ca.po: Update Catalan translation from translation project.
16828 * po/uk.po: Add Ukrainian translations from translation project.
16830 2013-08-21 Joseph Myers <joseph@codesourcery.com>
16833 * math/s_fdim.c (__fdim): Check for infinite arguments if result
16834 is infinite, not alongside NaN test.
16835 * math/s_fdimf.c (__fdimf): Likewise.
16836 * math/s_fdiml.c (__fdiml): Likewise.
16837 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
16838 errno is unchanged.
16840 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
16842 * argp/argp-help.c: Fix typos.
16843 * crypt/speeds.c: Likewise.
16844 * csu/check_fds.c: Likewise.
16845 * elf/dl-load.c: Likewise.
16846 * elf/dl-open.c: Likewise.
16847 * elf/reldep3.c: Likewise.
16848 * elf/reldep.c: Likewise.
16849 * elf/sprof.c: Likewise.
16850 * iconv/iconv_charmap.c: Likewise.
16851 * iconv/skeleton.c: Likewise.
16852 * iconv/strtab.c: Likewise.
16853 * io/lockf64.c: Likewise.
16854 * libio/libioP.h: Likewise.
16855 * resolv/gai_notify.c: Likewise.
16856 * resolv/ns_name.c: Likewise.
16857 * resolv/ns_samedomain.c: Likewise.
16858 * resolv/res_send.c: Likewise.
16859 * stdlib/random.c: Likewise.
16860 * sunrpc/rpc/xdr.h: Likewise.
16861 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
16862 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
16863 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
16864 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
16865 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
16866 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
16867 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
16868 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
16869 * sysdeps/mach/hurd/check_fds.c: Likewise.
16870 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
16871 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
16872 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
16873 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
16874 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
16875 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
16876 * sysdeps/pthread/aio_notify.c: Likewise.
16877 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
16878 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
16879 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
16880 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
16881 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
16883 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16885 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
16886 version if bit_Slow_SSE4_2 is set.
16887 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
16888 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
16890 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16893 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
16894 trampoline stack frame information.
16895 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
16896 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
16897 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
16898 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
16899 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
16900 * sysdeps/unix/sysv/linux/powerpc/init-first.c
16901 (_libc_vdso_platform_setup): Initialize the signal trampolines.
16902 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
16904 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
16905 interrupting a syscall and set with option SA_SIGINFO.
16907 2013-08-20 Joseph Myers <joseph@codesourcery.com>
16910 * math/s_cproj.c (__cproj): Only return an infinity if one part of
16911 argument is infinite.
16912 * math/s_cprojf.c (__cprojf): Likewise.
16913 * math/s_cprojl.c (__cprojl): Likewise.
16914 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
16915 * math/libm-test.inc (cproj_test_data): Add more tests.
16917 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
16919 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
16920 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
16921 size. Use __ffs to determine corresponding shift.
16923 2013-08-20 Joseph Myers <joseph@codesourcery.com>
16924 Roland McGrath <roland@hack.frob.com>
16926 * Makefile (INSTALL): Remove trailing blank lines from output of
16929 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16931 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
16932 Align 32 bit compat elf_greg to 8 bytes.
16934 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
16936 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
16938 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
16940 * string/strcoll_l.c (coll_seq): New structure.
16941 (get_next_seq_cached): New function.
16942 (get_next_seq): New function.
16943 (do_compare): New function.
16944 (STRCOLL): Use GNU style definition. Simplify implementation
16945 by using get_next_seq, get_next_seq_cached and do_compare.
16947 2013-08-16 Florian Weimer <fweimer@redhat.com>
16951 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
16953 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
16955 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
16956 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
16957 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
16959 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
16960 GETDENTS_64BIT_ALIGNED.
16961 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
16962 * manual/filesys.texi (Reading/Closing Directory): Document
16963 ENAMETOOLONG return value of readdir_r. Recommend readdir more
16965 * manual/conf.texi (Limits for Files): Add portability note to
16966 NAME_MAX, PATH_MAX.
16967 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
16969 2013-08-13 Andreas Schwab <schwab@suse.de>
16972 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
16974 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
16975 LDBL_MAX_EXP >= 16384]: Add tests for it.
16977 2013-08-12 David S. Miller <davem@davemloft.net>
16979 * version.h (RELEASE): Set to "development".
16980 (VERSION): Set to "2.18.90".
16981 * NEWS: Add 2.19 section.
16983 2013-08-03 David S. Miller <davem@davemloft.net>
16985 * po/ko.po: Update Korean translation from translation project.
16987 2013-08-01 David S. Miller <davem@davemloft.net>
16989 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
16990 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
16993 2013-07-30 David S. Miller <davem@davemloft.net>
16995 * po/fr.po: Update French translation from translation project.
16997 2013-07-28 David S. Miller <davem@davemloft.net>
16999 * po/cs.po: Update Czech translation from translation project.
17001 * po/sv.po: Update Swedish translation from translation project.
17003 2013-07-27 David S. Miller <davem@davemloft.net>
17005 * po/eo.po: Update Esperanto translation from translation project.
17007 * po/vi.po: Update Vietnamese translation from translation project.
17009 * po/de.po: Update German translation from translation project.
17011 2013-07-26 David S. Miller <davem@davemloft.net>
17013 * po/bg.po: Update Bulgarian translation from translation project.
17015 * po/nl.po: Update Dutch translation from translation project.
17016 * po/pl.po: Update Polish translation from translation project.
17017 * po/ru.po: Update Russian translation from translation project.
17019 2013-07-24 David S. Miller <davem@davemloft.net>
17021 * po/libc.pot: Update.
17023 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17025 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
17026 variable page size.
17027 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
17028 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
17029 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
17031 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17033 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
17035 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17036 Andreas Schwab <schwab@suse.de>
17037 Roland McGrath <roland@hack.frob.com>
17038 Joseph Myers <joseph@codesourcery.com>
17039 Carlos O'Donell <carlos@redhat.com>
17042 * config.h.in: Define HAVE_PT_CHOWN.
17043 * config.make.in (build-pt-chown): New variable.
17044 * configure.in (--enable-pt_chown): New configure option.
17045 * configure: Regenerate.
17046 * login/Makefile: Include Makeconfig. Build pt_chown only if
17047 build-pt-chown is enabled.
17048 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
17049 pt_chown to fix pty ownership.
17050 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
17052 * manual/install.texi (Configuring and compiling): Mention
17053 --enable-pt_chown. Add @findex for grantpt.
17054 * INSTALL: Regenerate.
17056 2013-07-20 David S. Miller <davem@davemloft.net>
17058 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
17059 difference between 32-bit and 64-bit.
17061 2013-07-15 Carlos O'Donell <carlos@redhat.com>
17064 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
17065 Avoid system header dependency with -ffreestanding.
17066 ($(objpfx)bits/syscall%d): Likewise.
17068 2013-07-13 David S. Miller <davem@davemloft.net>
17070 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
17071 underflows from atanl/atan2l due to bug 15319.
17072 (casinh_test_data): Likewise.
17074 2013-07-07 David S. Miller <davem@davemloft.net>
17076 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
17078 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
17080 * sysdeps/i386/fpu/libm-test-ulps: Update.
17081 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17083 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
17085 * configure.in (--enable-lock-elision): Fix message text.
17086 * INSTALL: Regenerate.
17087 * configure: Regenerate.
17089 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17091 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17093 2013-07-03 Andreas Jaeger <aj@suse.de>
17095 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
17097 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
17098 (ptrace_peeksiginfo_args): Add.
17099 (__ptrace_peeksiginfo_flags): Add.
17100 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
17101 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
17102 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
17104 2013-07-03 Allan McRae <allan@archlinux.org>
17106 * sysdeps/i386/fpu/libm-test-ulps: Update.
17108 2013-07-02 David S. Miller <davem@davemloft.net>
17110 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17112 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
17114 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17116 2013-07-02 Joseph Myers <joseph@codesourcery.com>
17118 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
17119 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17121 2013-07-02 Andi Kleen <ak@linux.intel.com>
17123 * config.h.in (ENABLE_LOCK_ELISION): Add.
17124 * configure.in (--enable-lock-elision): Add option.
17125 * manual/install.texi: Document --enable lock elision.
17126 * configure: Regenerate
17127 * INSTALL: Regenerate.
17129 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
17131 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
17132 SSE4.2 strcasecmp for libc.a.
17133 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
17135 2013-07-02 Joseph Myers <joseph@codesourcery.com>
17138 * soft-fp/op-common.h (_FP_FMA): New macro.
17139 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
17140 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
17141 (_FP_MUL_MEAT_1_imm): ... here.
17142 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
17143 (_FP_MUL_MEAT_1_wide): ... here.
17144 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
17145 (_FP_MUL_MEAT_1_hard): ... here.
17146 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
17147 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
17148 (_FP_MUL_MEAT_2_wide): ... here.
17149 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
17150 (_FP_MUL_MEAT_2_wide_3mul): ... here.
17151 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
17152 (_FP_MUL_MEAT_2_gmp): ... here.
17153 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
17154 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
17155 (_FP_MUL_MEAT_4_wide): ... here.
17156 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
17157 (_FP_MUL_MEAT_4_gmp): ... here.
17158 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
17159 (_FP_WFRACBITS_DW_S): Likewise.
17160 (_FP_WFRACXBITS_DW_S): Likewise.
17161 (_FP_HIGHBIT_DW_S): Likewise.
17162 (FP_FMA_S): Likewise.
17163 (_FP_FRAC_HIGH_DW_S): Likewise.
17164 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
17165 (_FP_WFRACBITS_DW_D): Likewise.
17166 (_FP_WFRACXBITS_DW_D): Likewise.
17167 (_FP_HIGHBIT_DW_D): Likewise.
17168 (FP_FMA_D): Likewise.
17169 (_FP_FRAC_HIGH_DW_D): Likewise.
17170 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
17171 (_FP_WFRACBITS_DW_E): Likewise.
17172 (_FP_WFRACXBITS_DW_E): Likewise.
17173 (_FP_HIGHBIT_DW_E): Likewise.
17174 (FP_FMA_E): Likewise.
17175 (_FP_FRAC_HIGH_DW_E): Likewise.
17176 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
17177 (_FP_WFRACBITS_DW_Q): Likewise.
17178 (_FP_WFRACXBITS_DW_Q): Likewise.
17179 (_FP_HIGHBIT_DW_Q): Likewise.
17180 (FP_FMA_Q): Likewise.
17181 (_FP_FRAC_HIGH_DW_Q): Likewise.
17182 * soft-fp/fmasf4.c: New file.
17183 * soft-fp/fmadf4.c: Likewise.
17184 * soft-fp/fmatf4.c: Likewise.
17186 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17188 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
17189 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
17191 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
17193 (index_Slow_SSE4_2): Likewise.
17194 (index_Prefer_PMINUB_for_stringop): Likewise.
17195 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
17196 bit_Slow_SSE4_2 is set.
17197 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
17198 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
17200 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17202 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
17203 rtld_global._dl_hwcap2.
17204 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
17206 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
17207 POWER8 feature descriptions defined in _dl_hwcap2.
17208 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
17209 string handling for POWER8 feature bits.
17210 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
17211 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
17212 _dl_powerpc_cap_flags.
17213 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
17214 * sysdeps/powerpc/rtld-global-offsets.sym
17215 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
17216 _dl_hwcap2 in the rtld_global_ro structure.
17218 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17220 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
17221 hardware capabilities in support of AT_HWCAP2.
17222 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
17223 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
17225 (_dl_show_auxv): Add support for calling _dl_procinfo to display
17226 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
17227 explicitly the unknown a_type display mechanism is used.
17228 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
17229 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
17231 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
17232 to macro prototype for AT_HWCAP2 support.
17233 * sysdeps/i386/dl-procinfo.h: Likewise.
17234 * sysdeps/s390/dl-procinfo.h: Likewise.
17235 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
17236 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
17237 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
17238 return -1 for unknown a_type display fallback.
17239 * sysdeps/sparc/dl-procinfo.h: Likewise.
17240 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
17241 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
17243 2013-06-28 Joseph Myers <joseph@codesourcery.com>
17245 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
17246 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
17248 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
17251 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
17252 mprotect making __stack_prot writable.
17254 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
17255 Joseph Myers <joseph@codesourcery.com>
17257 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
17258 as being properly aligned.
17260 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
17262 * dlfcn/modstatic5.c: New file.
17263 * dlfcn/tststatic5.c: New file.
17264 * dlfcn/Makefile (tests): Add tststatic5.
17265 (tests-static): Likewise.
17266 (modules-names): Add modstatic5.
17267 (tststatic5-ENV): New variable.
17268 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
17271 * elf/dl-support.c (_dl_main_map): New variable.
17272 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
17273 (_dl_nns, _dl_load_adds): Set to 1.
17274 (_dl_initial_searchlist): Refer to _dl_main_map.
17275 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
17276 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
17277 call to _dl_get_origin.
17278 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
17280 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
17281 * dlfcn/modstatic3.c: New file.
17282 * dlfcn/tststatic3.c: New file.
17283 * dlfcn/tststatic4.c: New file.
17284 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
17285 (tests-static): Likewise.
17286 (modules-names): Add modstatic3.
17287 (tststatic3-ENV, tststatic4-ENV): New variables.
17288 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
17289 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
17291 2013-06-26 Joseph Myers <joseph@codesourcery.com>
17293 * configure.in (CC): Require GCC version 4.4 or later.
17294 * configure: Regenerated.
17295 * manual/install.texi (Tools for Compilation): Update GCC version
17297 * INSTALL: Regenerated.
17299 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17302 * string/test-memcmp.c (check2): New.
17303 (main): Call check2.
17305 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
17307 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
17310 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
17312 (dl_open_worker) [!SHARED]: ... here.
17314 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17316 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
17318 2013-06-25 Richard Henderson <rth@redhat.com>
17320 * locale/programs/locarchive.c: Include <libc-internal.h>
17322 2013-06-25 Joseph Myers <joseph@codesourcery.com>
17324 * manual/texinfo.tex: Update to version 2013-06-21.17, with
17325 trailing whitespace removed.
17327 2013-06-24 Mike Frysinger <vapier@gentoo.org>
17330 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
17331 * locale/programs/locarchive.c: Include libc-mmap.h.
17332 (prepare_address_space): Take two new outputs (the mmap base and len).
17333 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
17335 (create_archive): Declare new mmap base and len values for
17336 prepare_address_space, and store the result in ah.
17337 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
17338 (enlarge_archive): If ah->mmap_base is not NULL, use that and
17339 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
17340 Declare new mmap base and len values for
17341 prepare_address_space, and store the result in new_ah.
17342 (open_archive): Declare new mmap base and len values for
17343 prepare_address_space, and store the result in ah.
17344 (close_archive): If ah->mmap_base is not NULL, use that and
17345 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
17346 * sysdeps/generic/libc-mmap.h: New file.
17348 2013-06-24 Mike Frysinger <vapier@gentoo.org>
17350 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
17351 (ALIGN_UP): Likewise.
17352 (PTR_ALIGN_DOWN): Likewise.
17353 (PTR_ALIGN_UP): Likewise.
17355 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17357 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
17358 entry mapped to PPC_PLATFORM_POWER8.
17359 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
17361 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
17362 (_dl_string_platform): Add case for exporting platform position for
17364 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
17365 search path to sysdeps/powerpc/powerpc32/power8 directory.
17366 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
17367 search path to sysdeps/powerpc/powerpc64/power8 directory.
17368 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
17369 power7 directories.
17370 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
17371 power7 directories.
17373 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
17375 * INSTALL: Regenerate.
17377 * nscd/connections.c (nscd_init): Fix comment.
17379 2013-06-22 Joseph Myers <joseph@codesourcery.com>
17381 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
17384 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
17385 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
17387 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
17389 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
17391 (DL_DST_REQ_STATIC): Remove macro.
17393 2013-06-21 Joseph Myers <joseph@codesourcery.com>
17396 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
17397 with a shift of 0 bits.
17399 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
17401 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
17404 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17407 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
17409 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17411 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
17412 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
17413 accepts -fno-tree-loop-distribute-patterns.
17414 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
17415 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
17417 * string/memset.c (memset): Likewise.
17418 * string/test-memmove.c (simple_memmove): Disable loop transformation
17420 * string/test-memset.c (simple_memset): Likewise.
17421 * benchtests/bench-memmove.c (simple_memmove): Likewise.
17422 * benchtests/bench-memset.c (simple_memset): Likewise.
17423 * configure: Regenerated.
17425 2013-06-20 Joseph Myers <joseph@codesourcery.com>
17427 * math/test-misc.c (main): Ignore fesetround failure when failures
17428 of subsequent rounding tests would be ignored.
17431 * math/fedisblxcpt.c (fedisableexcept): Return 0.
17432 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
17433 * math/fegetenv.c (__fegetenv): Return 0.
17434 * math/fegetexcept.c (fegetexcept): Return 0.
17435 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
17437 * math/feholdexcpt.c (feholdexcept): Return 0.
17438 * math/fesetenv.c (__fesetenv): Return 0.
17439 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
17440 argument FE_TONEAREST.
17441 * math/feupdateenv.c (__feupdateenv): Return 0.
17442 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
17444 2013-06-18 Roland McGrath <roland@hack.frob.com>
17446 * elf/rtld-Rules (rtld-compile-command.S): New variable.
17447 (rtld-compile-command.s, rtld-compile-command.c): New variables.
17448 ($(objpfx)rtld-%.os rules): Use them.
17450 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17452 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
17455 2013-06-17 Roland McGrath <roland@hack.frob.com>
17457 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
17458 length of target pattern, then descending length of dependency pattern.
17459 * configure.in (AWK): Require gawk 3.1.2 or newer.
17460 * manual/install.texi (Tools for Compilation): Say that we do.
17461 * configure: Regenerated.
17463 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
17464 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
17465 * scripts/sysd-rules.awk: ... this new script.
17466 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
17467 than a glob-style pattern.
17469 2013-06-17 Joseph Myers <joseph@codesourcery.com>
17471 * math/test-misc.c (main): Do not treat incorrectly rounded
17472 conversions as failure unless ROUNDING_TESTS passes.
17474 2013-06-15 Joseph Myers <joseph@codesourcery.com>
17477 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
17478 restore exception state around main square root computation, then
17479 check for inexactness explicitly.
17481 * math/libm-test.inc (fma_test_data): Add another test.
17483 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
17485 * manual/threads.texi (Non-POSIX Extensions): New document
17486 node. Document pthread_getattr_default_np and
17487 pthread_setattr_default_np.
17489 * Versions.def (libpthread): Add GLIBC_2.18.
17490 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
17491 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
17493 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
17495 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
17497 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
17499 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
17501 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
17503 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
17505 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
17507 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
17510 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17512 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17513 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
17515 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
17516 H.J. Lu <hjl.tools@gmail.com>
17519 * sysdeps/x86_64/rtld-memset.c: Remove file.
17520 * sysdeps/x86_64/rtld-memset.S: New file.
17522 2013-06-14 Joseph Myers <joseph@codesourcery.com>
17524 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
17525 (test_in_one_mode): Take arguments for whether the rounding mode
17526 is supported for each floating-point type.
17527 (do_test): Pass new arguments to test_in_one_mode using
17530 2013-06-13 Roland McGrath <roland@hack.frob.com>
17532 * posix/tst-waitid.c (do_test): Distinguish different instances of
17533 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
17534 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
17535 before entering the kernel for waitpid.
17537 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
17539 * NEWS: Fix note on clock function precision. Text by Roland
17542 2013-06-13 Roland McGrath <roland@hack.frob.com>
17544 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
17545 it into place only when and if the sanity check passes.
17547 2013-06-13 Joseph Myers <joseph@codesourcery.com>
17549 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
17550 output for whether conversion result is exact. Take argument
17551 indicating whether type is IBM long double.
17552 (round_for_all): Change need_exact field to ibm_ld.
17553 * stdlib/tst-strtod-round.c (struct exactness): New type.
17554 (struct test): Change bool ld_ok field to struct exactness exact.
17555 (TEST): Update all definitions for change to field.
17556 (tests): Regenerate array contents.
17557 (test_in_one_mode): Take pointer to new field instead of old ld_ok
17558 field value. Check for IBM long double here.
17559 (do_test): Update calls to test_in_one_mode.
17561 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
17564 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
17565 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
17567 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17570 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
17571 generated by the compiler on loop optimizations.
17572 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
17573 general definitions.
17575 2013-06-12 Joseph Myers <joseph@codesourcery.com>
17577 * math/bug-nextafter.c: Include <math-tests.h>.
17578 (main): Only test for exceptions if EXCEPTION_TESTS is true for
17580 * math/bug-nexttoward.c: Include <math-tests.h>.
17581 (main): Only test for exceptions if EXCEPTION_TESTS is true for
17583 * math/test-misc.c: Include <math-tests.h>.
17584 (main): Only test for exceptions if EXCEPTION_TESTS is true for
17587 2013-06-12 Andreas Jaeger <aj@suse.de>
17589 * po/ia.po: Update Interlingua translation from translation
17592 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
17594 * include/fenv.h: Include stdbool.h.
17595 (struct rm_ctx): New structure.
17596 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
17598 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
17599 (SET_RESTORE_ROUNDF): Likewise.
17600 (SET_RESTORE_ROUNDL): Likewise.
17601 (SET_RESTORE_ROUND_NOEX): Likewise.
17602 (SET_RESTORE_ROUND_NOEXF): Likewise.
17603 (SET_RESTORE_ROUND_NOEXL): Likewise.
17604 (SET_RESTORE_ROUND_53BIT): Likewise.
17605 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
17606 (libc_feresetround_noexf_ctx): Likewise.
17607 (libc_feresetround_noexl_ctx): Likewise.
17608 (libc_feholdsetround_53bit_ctx): Likewise.
17609 (libc_feresetround_53bit_ctx): Likewise.
17610 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
17611 (libc_feholdexcept_setround_sse_ctx): New function.
17612 (libc_fesetenv_sse_ctx): Likewise.
17613 (libc_feupdateenv_sse_ctx): Likewise.
17614 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
17615 (libc_feholdexcept_setround_387_ctx): Likewise.
17616 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
17617 (libc_feholdsetround_387_prec_ctx): Likewise.
17618 (libc_feholdsetround_387_ctx): Likewise.
17619 (libc_feholdsetround_387_53bit_ctx): Likewise.
17620 (libc_feholdsetround_sse_ctx): Likewise.
17621 (libc_feresetround_sse_ctx): Likewise.
17622 (libc_feresetround_387_ctx): Likewise.
17623 (libc_feupdateenv_387_ctx): Likewise.
17624 (libc_feholdexcept_setroundf_ctx): Define macro.
17625 (libc_fesetenvf_ctx): Likewise.
17626 (libc_feupdateenvf_ctx): Likewise.
17627 (libc_feholdsetroundf_ctx): Likewise.
17628 (libc_feresetroundf_ctx): Likewise.
17629 (libc_feholdexcept_setround_ctx): Likewise.
17630 (libc_fesetenv_ctx): Likewise.
17631 (libc_feupdateenv_ctx): Likewise.
17632 (libc_feholdsetround_ctx): Likewise.
17633 (libc_feresetround_ctx): Likewise.
17634 (libc_feholdexcept_setroundl_ctx): Likewise.
17635 (libc_feupdateenvl_ctx): Likewise.
17636 (libc_feholdsetroundl_ctx): Likewise.
17637 (libc_feresetroundl_ctx): Likewise.
17638 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
17639 (libc_feresetround_53bit_ctx): Likewise.
17641 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
17643 * locale/iso-639.def: Convert to UTF-8.
17645 2013-06-11 Joseph Myers <joseph@codesourcery.com>
17647 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
17648 (EXCEPTION_TESTS_double): Likewise.
17649 (EXCEPTION_TESTS_long_double): Likewise.
17650 (EXCEPTION_TESTS): Likewise.
17651 * math/libm-test.inc (test_exceptions): Only test exceptions if
17652 EXCEPTION_TESTS (FLOAT).
17654 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
17656 * benchtests/Makefile (string-bench): Add strcpy_chk and
17658 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
17659 * benchtests/bench-stpcpy_chk.c: New file.
17660 * benchtests/bench-strcpy_chk-ifunc.c: New file.
17661 * benchtests/bench-strcpy_chk.c: New file.
17662 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
17664 (do_test): Likewise.
17666 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17668 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
17669 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
17670 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
17671 with tabs where appropriate.
17672 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
17674 [PPC_PLATFORM_PPC440]: Likewise.
17675 [PPC_PLATFORM_PPC464]: Likewise.
17676 [PPC_PLATFORM_PPC476]: Likewise.
17677 (_dl_string_platform): Add support for detecting ppc405, ppc440,
17678 ppc464, and ppc476 platform strings merging from ports/
17681 2013-06-11 Andreas Schwab <schwab@suse.de>
17684 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
17685 (from_ucs4_idx): Regenerate.
17686 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
17687 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
17688 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
17689 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
17690 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
17691 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
17692 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
17693 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
17694 from FROM_LOOP and TO_LOOP specific macros.
17695 (BODY): Handle combining characters.
17696 * iconvdata/BIG5HKSCS.irreversible: Update.
17697 * iconvdata/BIG5HKSCS.precomposed: New file.
17698 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
17700 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
17702 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
17704 * include/sys/time.h: Fix indentation and add copyright header.
17706 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
17707 (do_test): Likewise.
17708 * string/test-memchr.c (do_one_test): Likewise.
17709 (do_test): Likewise.
17710 * string/test-memcmp.c (do_one_test): Likewise.
17711 (do_test): Likewise.
17712 * string/test-memcpy.c (do_one_test): Likewise.
17713 (do_test): Likewise.
17714 * string/test-memmem.c (do_one_test): Likewise.
17715 (do_test): Likewise.
17716 (do_random_tests): Likewise.
17717 * string/test-memmove.c (do_one_test): Likewise.
17718 (do_test): Likewise.
17719 * string/test-memset.c (do_one_test): Likewise.
17720 (do_test): Likewise.
17721 * string/test-rawmemchr.c (do_one_test): Likewise.
17722 (do_test): Likewise.
17723 * string/test-strcasecmp.c (do_one_test): Likewise.
17724 (do_test): Likewise.
17725 * string/test-strcasestr.c (do_one_test): Likewise.
17726 (do_test): Likewise.
17727 * string/test-strcat.c (do_one_test): Likewise.
17728 (do_test): Likewise.
17729 * string/test-strchr.c (do_one_test): Likewise.
17730 (do_test): Likewise.
17731 * string/test-strcmp.c (do_one_test): Likewise.
17732 (do_test): Likewise.
17733 * string/test-strcpy.c (do_one_test): Likewise.
17734 (do_test): Likewise.
17735 * string/test-string.h: Likewise.
17736 (test_init): Likewise.
17737 * string/test-strlen.c (do_one_test): Likewise.
17738 (do_test): Likewise.
17739 * string/test-strncasecmp.c (do_one_test): Likewise.
17740 (do_test): Likewise.
17741 * string/test-strncat.c (do_one_test): Likewise.
17742 (do_test): Likewise.
17743 * string/test-strncmp.c (do_one_test): Likewise.
17744 (do_test_limit): Likewise.
17745 (do_test): Likewise.
17746 * string/test-strncpy.c (do_one_test): Likewise.
17747 (do_test): Likewise.
17748 * string/test-strnlen.c (do_one_test): Likewise.
17749 (do_test): Likewise.
17750 * string/test-strpbrk.c (do_one_test): Likewise.
17751 (do_test): Likewise.
17752 * string/test-strrchr.c (do_one_test): Likewise.
17753 (do_test): Likewise.
17754 * string/test-strspn.c (do_one_test): Likewise.
17755 (do_test): Likewise.
17756 * string/test-strstr.c (do_one_test): Likewise.
17757 (do_test): Likewise.
17759 * benchtests/Makefile (string-bench): Add string benchmarks.
17760 * benchtests/bench-bcopy-ifunc.c: New file.
17761 * benchtests/bench-bcopy.c: New file.
17762 * benchtests/bench-bzero-ifunc.c: New file.
17763 * benchtests/bench-bzero.c: New file.
17764 * benchtests/bench-memccpy-ifunc.c: New file.
17765 * benchtests/bench-memccpy.c: New file.
17766 * benchtests/bench-memchr-ifunc.c: New file.
17767 * benchtests/bench-memchr.c: New file.
17768 * benchtests/bench-memcmp-ifunc.c: New file.
17769 * benchtests/bench-memcmp.c: New file.
17770 * benchtests/bench-memmem-ifunc.c: New file.
17771 * benchtests/bench-memmem.c: New file.
17772 * benchtests/bench-memmove-ifunc.c: New file.
17773 * benchtests/bench-memmove.c: New file.
17774 * benchtests/bench-mempcpy-ifunc.c: New file.
17775 * benchtests/bench-mempcpy.c: New file.
17776 * benchtests/bench-memset-ifunc.c: New file.
17777 * benchtests/bench-memset.c: New file.
17778 * benchtests/bench-rawmemchr-ifunc.c: New file.
17779 * benchtests/bench-rawmemchr.c: New file.
17780 * benchtests/bench-stpcpy-ifunc.c: New file.
17781 * benchtests/bench-stpcpy.c: New file.
17782 * benchtests/bench-stpncpy-ifunc.c: New file.
17783 * benchtests/bench-stpncpy.c: New file.
17784 * benchtests/bench-strcasecmp-ifunc.c: New file.
17785 * benchtests/bench-strcasecmp.c: New file.
17786 * benchtests/bench-strcasestr-ifunc.c: New file.
17787 * benchtests/bench-strcasestr.c: New file.
17788 * benchtests/bench-strcat-ifunc.c: New file.
17789 * benchtests/bench-strcat.c: New file.
17790 * benchtests/bench-strchr-ifunc.c: New file.
17791 * benchtests/bench-strchr.c: New file.
17792 * benchtests/bench-strchrnul-ifunc.c: New file.
17793 * benchtests/bench-strchrnul.c: New file.
17794 * benchtests/bench-strcmp-ifunc.c: New file.
17795 * benchtests/bench-strcmp.c: New file.
17796 * benchtests/bench-strcpy-ifunc.c: New file.
17797 * benchtests/bench-strcpy.c: New file.
17798 * benchtests/bench-strcspn-ifunc.c: New file.
17799 * benchtests/bench-strcspn.c: New file.
17800 * benchtests/bench-strlen-ifunc.c: New file.
17801 * benchtests/bench-strlen.c: New file.
17802 * benchtests/bench-strncasecmp-ifunc.c: New file.
17803 * benchtests/bench-strncasecmp.c: New file.
17804 * benchtests/bench-strncat-ifunc.c: New file.
17805 * benchtests/bench-strncat.c: New file.
17806 * benchtests/bench-strncmp-ifunc.c: New file.
17807 * benchtests/bench-strncmp.c: New file.
17808 * benchtests/bench-strncpy-ifunc.c: New file.
17809 * benchtests/bench-strncpy.c: New file.
17810 * benchtests/bench-strnlen-ifunc.c: New file.
17811 * benchtests/bench-strnlen.c: New file.
17812 * benchtests/bench-strpbrk-ifunc.c: New file.
17813 * benchtests/bench-strpbrk.c: New file.
17814 * benchtests/bench-strrchr-ifunc.c: New file.
17815 * benchtests/bench-strrchr.c: New file.
17816 * benchtests/bench-strspn-ifunc.c: New file.
17817 * benchtests/bench-strspn.c: New file.
17818 * benchtests/bench-strstr-ifunc.c: New file.
17819 * benchtests/bench-strstr.c: New file.
17821 * benchtests/Makefile: Disable parallel execution of targets.
17822 (string-bench): Add memcpy.
17823 (benchset): New variable to store a list of benchmark sets.
17824 (bench-func): Renamed from bench.
17825 (bench-set): New target.
17826 (bench): Depend on bench-func and bench-set.
17827 * benchtests/README: Add section on benchmark sets.
17828 * benchtests/bench-memcpy-ifunc.c: New file.
17829 * benchtests/bench-memcpy.c: New file.
17830 * benchtests/bench-string.h: New file.
17832 2013-06-11 Andreas Schwab <schwab@suse.de>
17835 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
17836 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
17837 values in the triple.
17838 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
17839 terminator in the group key.
17841 2013-06-11 Andreas Jaeger <aj@suse.de>
17843 * po/zh_TW.po: Update Chinese (traditional) translation from
17844 translation project.
17846 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
17848 * include/time.h (__clock_gettime): Add libc_hidden_proto.
17849 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
17850 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
17851 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
17852 (clock_getcpuclockid): Likewise.
17853 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
17854 Add weak_alias and libc_hidden_def.
17855 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
17856 * rt/clock_gettime.c (clock_gettime): Rename to
17857 __clock_gettime. Add weak_alias and libc_hidden_def.
17858 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
17859 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
17860 __clock_nanosleep. Add weak_alias and libc_hidden_def.
17861 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
17862 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
17864 * rt/clock_settime.c (clock_settime): Rename to
17865 __clock_settime. Add weak_alias and libc_hidden_def.
17866 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
17868 2013-06-10 Joseph Myers <joseph@codesourcery.com>
17870 * mach/err_boot.sub: Remove trailing whitespace.
17871 * mach/err_ipc.sub: Likewise.
17872 * mach/err_mach.sub: Likewise.
17874 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
17875 (ROUNDING_TESTS_double): Likewise.
17876 (ROUNDING_TESTS_long_double): Likewise.
17877 (ROUNDING_TESTS): Likewise.
17878 * math/libm-test.inc: Include <math-tests.h>.
17879 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
17880 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
17881 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
17882 (IF_ROUND_INIT_FE_UPWARD): Likewise.
17884 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
17886 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
17889 2013-06-08 Joseph Myers <joseph@codesourcery.com>
17891 * sysdeps/gnu/errlist.awk: Do not generate space at end of
17892 otherwise empty TRANS lines.
17893 * sysdeps/gnu/errlist.c: Regenerated.
17895 * catgets/gencat.c (error_print): Use (void) in function
17897 * crypt/crypt_util.c (__init_des): Likewise.
17898 * crypt/speeds.c (Stop): Likewise.
17900 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
17901 * inet/ruserpass.c (token): Likewise.
17902 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
17903 * intl/localealias.c (extend_alias_table): Likewise.
17904 * intl/plural-exp.c (init_germanic_plural): Likewise.
17905 * libio/fcloseall.c (__fcloseall): Likewise.
17906 * libio/genops.c (_IO_flush_all): Likewise.
17907 (_IO_flush_all_linebuffered): Likewise.
17908 (_IO_cleanup): Likewise.
17909 (_IO_iter_begin): Likewise.
17910 (_IO_iter_end): Likewise.
17911 (_IO_list_lock): Likewise.
17912 (_IO_list_unlock): Likewise.
17913 (_IO_list_resetlock): Likewise.
17914 * libio/getchar.c (getchar): Likewise.
17915 * libio/getchar_u.c (getchar_unlocked): Likewise.
17916 * libio/getwchar.c (getwchar): Likewise.
17917 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
17918 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
17919 * login/getpt.c (__getpt): Likewise.
17920 * login/tst-utmp.c (main): Likewise.
17921 * malloc/hooks.c (__malloc_check_init): Likewise.
17922 * malloc/malloc.c (__malloc_stats): Likewise.
17923 * malloc/mtrace.c (tr_break): Likewise.
17924 (mtrace): Likewise.
17925 (muntrace): Likewise.
17926 * misc/fstab.c (endfsent): Likewise.
17927 * misc/getclktck.c (__getclktck): Likewise.
17928 * misc/getdtsz.c (__getdtablesize): Likewise.
17929 * misc/gethostid.c (gethostid): Likewise.
17930 * misc/getpagesize.c (__getpagesize): Likewise.
17931 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
17932 (__get_nprocs): Likewise.
17933 (__get_phys_pages): Likewise.
17934 (__get_avphys_pages): Likewise.
17935 * misc/getttyent.c (getttyent): Likewise.
17936 (setttyent): Likewise.
17937 (endttyent): Likewise.
17938 * misc/getusershell.c (getusershell): Likewise.
17939 (endusershell): Likewise.
17940 (setusershell): Likewise.
17941 (initshells): Likewise.
17942 * misc/hsearch.c (__hdestroy): Likewise.
17943 * misc/sync.c (sync): Likewise.
17944 * misc/syslog.c (closelog_internal): Likewise.
17945 (closelog): Likewise.
17946 * misc/ttyslot.c (ttyslot): Likewise.
17947 * misc/vhangup.c (vhangup): Likewise.
17948 * posix/fork.c (__fork): Likewise.
17949 * posix/getegid.c (__getegid): Likewise.
17950 * posix/geteuid.c (__geteuid): Likewise.
17951 * posix/getgid.c (__getgid): Likewise.
17952 * posix/getpid.c (__getpid): Likewise.
17953 * posix/getppid.c (__getppid): Likewise.
17954 * posix/getuid.c (__getuid): Likewise.
17955 * posix/pause.c (pause): Likewise.
17956 * posix/setpgrp.c (setpgrp): Likewise.
17957 * posix/setsid.c (__setsid): Likewise.
17958 * posix/test-vfork.c (noop): Likewise.
17959 * resolv/gethnamaddr.c (_endhtent): Likewise.
17960 (_gethtent): Likewise.
17961 (ht_endhostent): Likewise.
17962 (gethostent): Likewise.
17963 (dns_service): Likewise.
17964 * stdlib/drand48.c (drand48): Likewise.
17965 * stdlib/lrand48.c (lrand48): Likewise.
17966 * stdlib/mrand48.c (mrand48): Likewise.
17967 * stdlib/rand.c (rand): Likewise.
17968 * stdlib/random.c (__random): Likewise.
17969 * stdlib/setenv.c (clearenv): Likewise.
17970 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
17971 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
17972 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
17973 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
17974 (__get_nprocs): Likewise.
17975 (__get_phys_pages): Likewise.
17976 (__get_avphys_pages): Likewise.
17977 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
17978 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
17979 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
17980 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
17981 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
17982 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
17983 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
17984 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
17985 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
17986 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
17987 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
17988 * sysdeps/mach/hurd/sync.c (sync): Likewise.
17989 * sysdeps/posix/clock.c (clock): Likewise.
17990 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
17991 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
17992 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
17993 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
17994 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
17995 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
17996 (__get_nprocs_conf): Likewise.
17997 (__get_phys_pages): Likewise.
17998 (__get_avphys_pages): Likewise.
17999 * time/clock.c (clock): Likewise.
18000 * time/tzset.c (__tzname_max): Likewise.
18002 2013-06-07 Joseph Myers <joseph@codesourcery.com>
18004 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
18005 (__bswap_32): Do not use "register".
18006 * crypt/crypt.c (_ufc_doit_r): Likewise.
18007 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
18008 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
18009 * gmon/gmon.c (__monstartup): Likewise.
18010 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
18011 * hurd/hurdmalloc.c (more_memory): Likewise.
18012 (malloc): Likewise.
18014 (realloc): Likewise.
18015 (malloc_fork_prepare): Likewise.
18016 (malloc_fork_parent): Likewise.
18017 (malloc_fork_child): Likewise.
18018 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
18019 (_svcauth_des): Likewise.
18020 * inet/inet_lnaof.c (inet_lnaof): Likewise.
18021 * inet/inet_net.c (inet_network): Likewise.
18022 * inet/inet_netof.c (inet_netof): Likewise.
18023 * inet/rcmd.c (__validuser2_sa): Likewise.
18024 * io/fts.c (fts_open): Likewise.
18025 (fts_load): Likewise.
18026 (fts_close): Likewise.
18027 (fts_read): Likewise.
18028 (fts_children): Likewise.
18029 (fts_build): Likewise.
18030 (fts_stat): Likewise.
18031 (fts_sort): Likewise.
18032 (fts_alloc): Likewise.
18033 (fts_lfree): Likewise.
18034 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
18035 (_IO_file_xsgetn): Likewise.
18036 (_IO_file_xsgetn_mmap): Likewise.
18037 * libio/iofopncook.c (_IO_cookie_read): Likewise.
18038 (_IO_cookie_write): Likewise.
18039 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
18040 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
18041 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
18042 * malloc/obstack.c (_obstack_begin): Likewise.
18043 (_obstack_begin_1): Likewise.
18044 (_obstack_newchunk): Likewise.
18045 (_obstack_allocated_p): Likewise.
18046 (obstack_free): Likewise.
18047 (_obstack_memory_used): Likewise.
18048 * misc/getttyent.c (getttynam): Likewise.
18049 (getttyent): Likewise.
18052 * misc/getusershell.c (initshells): Likewise.
18053 * misc/syslog.c (__vsyslog_chk): Likewise.
18054 * misc/ttyslot.c (ttyslot): Likewise.
18055 * nis/nis_hash.c (__nis_hash): Likewise.
18056 * posix/fnmatch_loop.c (FCT): Likewise.
18057 * posix/getconf.c (print_all): Likewise.
18059 * posix/getopt.c (exchange): Likewise.
18060 * posix/glob.c (globfree): Likewise.
18061 (prefix_array): Likewise.
18062 (__glob_pattern_type): Likewise.
18063 * resolv/arpa/nameser.h (NS_GET16): Likewise.
18064 (NS_GET32): Likewise.
18065 (NS_PUT16): Likewise.
18066 (NS_PUT32): Likewise.
18067 * resolv/gethnamaddr.c (getanswer): Likewise.
18068 (gethostbyname2): Likewise.
18069 (gethostbyaddr): Likewise.
18070 (_gethtent): Likewise.
18071 (_gethtbyname2): Likewise.
18072 (_gethtbyaddr): Likewise.
18073 * resolv/ns_print.c (dst_s_get_int16): Likewise.
18074 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
18075 * resolv/res_init.c (__res_vinit): Likewise.
18076 (net_mask): Likewise.
18077 * resolv/res_mkquery.c (outchar): Likewise.
18079 * stdio-common/printf_fp.c (outchar): Likewise.
18081 * stdio-common/printf_fphex.c (outchar): Likewise.
18083 * stdio-common/printf_size.c (outchar): Likewise.
18085 * stdio-common/test_rdwr.c (main): Likewise.
18086 * stdio-common/tfformat.c (matches): Likewise.
18087 * stdio-common/vfprintf.c (outchar): Likewise.
18088 (printf_unknown): Likewise.
18089 (buffered_vfprintf): Likewise.
18090 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
18091 * stdio-common/xbug.c (AppendToBuffer): Likewise.
18092 (ReadFile): Likewise.
18093 * stdlib/qsort.c (SWAP): Likewise.
18094 (_quicksort): Likewise.
18095 * stdlib/setenv.c (__add_to_environ): Likewise.
18096 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
18097 * stdlib/strtol_l.c (__strtol_l): Likewise.
18098 * stdlib/tst-strtod.c (main): Likewise.
18099 * stdlib/tst-strtol.c (main): Likewise.
18100 * stdlib/tst-strtoll.c (main): Likewise.
18101 * string/bits/string2.h (__strcmp_cc): Likewise.
18102 (__strcmp_cg): Likewise.
18103 (__strcspn_c1): Likewise.
18104 (__strcspn_c2): Likewise.
18105 (__strcspn_c3): Likewise.
18106 (__strspn_c1): Likewise.
18107 (__strspn_c2): Likewise.
18108 (__strspn_c3): Likewise.
18109 (__strsep_1c): Likewise.
18110 (__strsep_2c): Likewise.
18111 (__strsep_3c): Likewise.
18112 * string/memccpy.c (__memccpy): Likewise.
18113 * string/stpcpy.c (__stpcpy): Likewise.
18114 * string/strcmp.c (strcmp): Likewise.
18115 * string/strrchr.c (strrchr): Likewise.
18116 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
18118 * sysdeps/mach/hurd/getcwd.c
18119 (_hurd_canonicalize_directory_name_internal): Likewise.
18120 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
18121 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
18122 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
18123 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
18124 Likewise, in both definitions.
18125 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
18127 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
18128 64] (__bswap_64): Likewise.
18129 * time/test_time.c (main): Likewise.
18130 * time/tzfile.c (__tzfile_read): Likewise.
18131 (__tzfile_compute): Likewise.
18132 * time/tzset.c (__tzset_parse_tz): Likewise.
18133 (tzset_internal): Likewise.
18134 (compute_change): Likewise.
18135 * wcsmbs/wcscat.c (__wcscat): Likewise.
18136 * wcsmbs/wcschr.c (wcschr): Likewise.
18137 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
18138 * wcsmbs/wcscspn.c (wcscspn): Likewise.
18139 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
18140 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
18141 * wcsmbs/wcsspn.c (wcsspn): Likewise.
18142 * wcsmbs/wcsstr.c (wcsstr): Likewise.
18143 * wcsmbs/wmemchr.c (wmemchr): Likewise.
18144 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
18145 * wcsmbs/wmemset.c (wmemset): Likewise.
18147 2013-06-06 Joseph Myers <joseph@codesourcery.com>
18149 * scripts/config.guess: Update to version 2013-05-16.
18150 * scripts/config.sub: Update to version 2013-04-24.
18151 * scripts/install-sh: Update to version 2011-11-20.07.
18152 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
18153 * scripts/move-if-change: Update to version 2012-01-06 07:23.
18155 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
18157 * debug/fgetws_u_chk.c: Fix leading whitespaces.
18158 * elf/sln.c: Likewise.
18159 * hurd/hurd/ioctl.h: Likewise.
18160 * hurd/hurdmalloc.c: Likewise.
18161 * hurd/xattr.c: Likewise.
18162 * include/shlib-compat.h: Likewise.
18163 * inet/ruserpass.c: Likewise.
18164 * libio/iofgets_u.c: Likewise.
18165 * libio/iofgetws_u.c: Likewise.
18166 * locale/programs/ld-identification.c: Likewise.
18167 * locale/programs/ld-time.c: Likewise.
18168 * mach/msg-destroy.c: Likewise.
18169 * nss/nss_files/files-netgrp.c: Likewise.
18170 * resolv/res_data.c: Likewise.
18171 * soft-fp/op-1.h: Likewise.
18172 * soft-fp/op-2.h: Likewise.
18173 * soft-fp/op-4.h: Likewise.
18174 * soft-fp/op-common.h: Likewise.
18175 * stdio-common/printf_fphex.c: Likewise.
18176 * stdlib/strtod_l.c: Likewise.
18177 * sunrpc/rpc/clnt.h: Likewise.
18178 * sysdeps/generic/framestate.c: Likewise.
18179 * sysdeps/i386/bsd-_setjmp.S: Likewise.
18180 * sysdeps/i386/bsd-setjmp.S: Likewise.
18181 * sysdeps/i386/__longjmp.S: Likewise.
18182 * sysdeps/i386/setjmp.S: Likewise.
18183 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
18184 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
18185 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
18186 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
18187 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
18188 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
18189 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
18190 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
18191 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
18192 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
18193 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
18194 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
18195 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
18196 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
18197 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
18198 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
18199 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
18200 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
18201 * sysdeps/ieee754/support.c: Likewise.
18202 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
18203 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
18204 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
18205 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
18206 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
18207 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
18208 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
18209 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
18210 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
18211 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
18212 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
18213 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
18214 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
18215 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
18216 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
18217 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
18218 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
18219 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
18221 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
18223 * posix/transbug.c: Remove executable mode.
18225 2013-06-05 Joseph Myers <joseph@codesourcery.com>
18227 * crypt/speeds.c: Remove trailing whitespace.
18228 * dlfcn/default.c: Likewise.
18229 * elf/ifuncdep2.c: Likewise.
18230 * elf/ifuncmain1.c: Likewise.
18231 * elf/ifuncmain1vis.c: Likewise.
18232 * elf/testobj.h: Likewise.
18233 * elf/tst-stackguard1.c: Likewise.
18234 * gmon/sys/gmon.h: Likewise.
18235 * hurd/hurdmsg.c: Likewise.
18236 * hurd/new-fd.c: Likewise.
18237 * hurd/ports-get.c: Likewise.
18238 * iconvdata/ibm1008_420.c: Likewise.
18239 * inet/tst-getni1.c: Likewise.
18240 * inet/tst-getni2.c: Likewise.
18241 * libio/ioungetc.c: Likewise.
18242 * libio/wfiledoalloc.c: Likewise.
18243 * manual/libm-err-tab.pl: Likewise.
18244 * math/w_dremf.c: Likewise.
18245 * misc/ftruncate.c: Likewise.
18246 * posix/bug-glob2.c: Likewise.
18247 * posix/tst-pcre.c: Likewise.
18248 * posix/wait4.c: Likewise.
18249 * resolv/README: Likewise.
18250 * resolv/res_debug.h: Likewise.
18251 * resolv/tst-inet_ntop.c: Likewise.
18252 * setjmp/bug269-setjmp.c: Likewise.
18253 * soft-fp/extended.h: Likewise.
18254 * soft-fp/op-1.h: Likewise.
18255 * soft-fp/op-2.h: Likewise.
18256 * soft-fp/op-4.h: Likewise.
18257 * soft-fp/op-8.h: Likewise.
18258 * soft-fp/testit.c: Likewise.
18259 * stdio-common/bug16.c: Likewise.
18260 * stdlib/random.c: Likewise.
18261 * sunrpc/rpcsvc/rquota.x: Likewise.
18262 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
18263 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
18264 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
18265 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
18266 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
18267 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
18268 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
18269 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
18270 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
18271 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
18272 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
18273 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
18274 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
18275 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
18276 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
18277 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
18278 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
18279 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
18280 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
18281 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
18282 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
18283 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
18284 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
18285 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
18286 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
18287 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
18288 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
18289 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
18290 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
18291 * sysdeps/ieee754/s_lib_version.c: Likewise.
18292 * sysdeps/mach/hurd/check_fds.c: Likewise.
18293 * sysdeps/mach/hurd/getsockname.c: Likewise.
18294 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
18295 * sysdeps/mach/hurd/recvfrom.c: Likewise.
18296 * sysdeps/powerpc/bits/link.h: Likewise.
18297 * sysdeps/powerpc/dl-procinfo.c: Likewise.
18298 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
18299 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
18300 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
18301 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
18302 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
18303 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
18304 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
18305 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
18306 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
18307 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
18308 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
18309 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
18310 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
18311 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
18312 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
18313 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
18314 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
18315 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
18316 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
18317 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
18318 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
18319 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
18320 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
18321 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
18322 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
18323 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
18324 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
18325 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
18326 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
18327 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
18328 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
18329 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
18330 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
18331 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
18332 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
18333 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
18334 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
18335 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
18336 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
18337 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
18338 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
18339 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
18340 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
18341 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
18342 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
18343 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
18344 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
18345 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
18346 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
18347 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
18348 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
18349 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
18350 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
18351 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
18352 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
18353 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
18354 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
18355 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
18356 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
18357 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
18358 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
18359 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
18360 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
18361 * sysdeps/powerpc/sysdep.h: Likewise.
18362 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
18363 * sysdeps/s390/s390-64/sub_n.S: Likewise.
18364 * sysdeps/sh/dl-trampoline.S: Likewise.
18365 * sysdeps/sh/memset.S: Likewise.
18366 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
18367 * sysdeps/sh/strlen.S: Likewise.
18368 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
18369 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
18370 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
18371 * sysdeps/sparc/sparc32/rem.S: Likewise.
18372 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
18373 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
18374 * sysdeps/sparc/sparc32/strchr.S: Likewise.
18375 * sysdeps/sparc/sparc32/udiv.S: Likewise.
18376 * sysdeps/sparc/sparc32/urem.S: Likewise.
18377 * sysdeps/sparc/sparc64/add_n.S: Likewise.
18378 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
18379 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
18380 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
18381 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
18382 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
18383 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
18384 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
18385 * sysdeps/unix/bsd/times.c: Likewise.
18386 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
18387 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
18388 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
18389 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
18390 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
18391 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
18392 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
18393 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
18394 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
18395 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
18396 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
18397 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
18398 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
18399 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
18400 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
18401 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
18402 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
18403 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
18404 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
18405 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
18406 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
18407 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
18408 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
18409 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
18410 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
18411 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
18412 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
18413 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
18414 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
18415 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
18416 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
18417 * sysdeps/x86_64/strcspn.S: Likewise.
18419 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
18421 * locale/C-translit.h: Revert #include <stdint.h> because this is a
18422 generated file. Regenerate properly from gen-translit.pl.
18423 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
18424 locale/C-translit.h.
18426 2013-06-05 Andreas Schwab <schwab@suse.de>
18429 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
18430 week as 6 instead of -1.
18431 * time/tst-strptime.c (day_tests): Add test case.
18433 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
18435 * sysdeps/generic/math_private.h
18436 (libc_feholdexcept_setround_53bit): Replace with
18437 libc_feholdsetround_53bit.
18438 (libc_feupdateenv_53bit): Replace with
18439 libc_feresetround_53bit.
18440 (SET_RESTORE_ROUND_53BIT): Adjust.
18442 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
18444 * string/test-strchrnul.c: Add copyright header.
18446 * posix/tst-getaddrinfo4.c: Increase test timeout.
18448 2013-06-03 Carlos O'Donell <carlos@redhat.com>
18451 * math/libm-test.inc (MAX_EXP): Remove
18453 (ulp): Use MIN_EXP - MANT_DIG.
18454 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
18456 2013-05-31 Carlos O'Donell <carlos@redhat.com>
18458 * po/be.po: Revert last change.
18459 * po/zh_CN.po: Likewise.
18460 * po/header.pot: Likewise.
18462 2013-05-31 Joseph Myers <joseph@codesourcery.com>
18464 * Makefile ($(common-objpfx)linkobj/libc.so): Define
18465 link-libc-deps to empty as target-specific variable.
18466 * Makerules (link-libc-args): New variable.
18467 (libc-for-link): Likewise.
18468 (link-libc-deps): Likewise.
18469 (lib%.so): Depend on $(link-libc-deps). Link with
18471 (build-module): Link with $(link-libc-args).
18472 (build-module-asneeded): Likewise.
18473 (build-module-helper-objlist): Filter out $(link-libc-deps) from
18475 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
18476 target-specific variable.
18477 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
18478 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
18479 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
18481 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
18483 ($(objpfx)libpcprofile.so): Likewise.
18484 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
18486 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
18487 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
18488 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
18490 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
18491 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
18492 * login/Makefile ($(objpfx)libutil.so): Likewise.
18493 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
18494 * math/Makefile ($(objpfx)libm.so): Likewise.
18495 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
18496 $(objpfx)libnsl.so): Define libc-for-link as target-specific
18497 variable instead of depending directly on libc.
18498 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
18499 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
18501 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
18503 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
18504 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
18505 ($(objpfx)libanl.so): Likewise.
18506 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
18508 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
18510 * sysdeps/i386/fpu/Makefile: Remove file.
18511 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
18512 ($(objpfx)libm.so): Remove dependency on ld.so.
18514 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
18517 * nis/yp_xdr.c (XDRMAXNAME): Define.
18518 (XDRMAXRECORD): Define.
18519 (xdr_domainname): Use XDRMAXNAME.
18520 (xdr_mapname): Likewise.
18521 (xdr_peername): Likewise.
18522 (xdr_keydat): Use XDRMAXRECORD.
18523 (xdr_valdat): Likewise.
18525 2013-05-30 Jeff Law <law@redhat.com>
18528 * manual/errno.texi (ESTALE): Update to account for more than
18529 just NFS file systems.
18530 * sysdeps/gnu/errlist.c: Regenerated.
18532 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
18535 * elf/Makefile (tests): Add tst-null-argv.
18536 (modules-names): Add tst-null-argv-lib.
18537 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
18538 (tst-null-argv-ENV): Set environment for tst-null-argv.
18539 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
18540 (RTLD_PROGNAME): New macro.
18541 * elf/tst-null-argv.c: New test case.
18542 * elf/tst-null-argv-lib.c: Library for test case.
18543 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
18544 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
18545 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
18546 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
18547 * elf/dl-init.c (call_init): Likewise.
18548 (_dl_init): Likewise.
18549 * elf/dl-load.c (print_search_path): Likewise.
18550 (_dl_map_object): Likewise.
18551 * elf/dl-lookup.c (do_lookup_x): Likewise.
18552 (add_dependency): Likewise.
18553 (_dl_lookup_symbol_x): Likewise.
18554 (_dl_debug_bindings): Likewise.
18555 * elf/dl-open.c (_dl_show_scope): Likewise.
18556 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
18557 * elf/dl-version.c (match_symbol): Likewise.
18558 (_dl_check_map_versions): Likewise.
18559 * elf/rtld.c (dl_main): Likewise.
18560 (print_unresolved): Use RTLD_PROGNAME.
18561 (print_missing_version): Likewise.
18562 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
18563 (elf_machine_rela): Likewise.
18564 * sysdeps/powerpc/powerpc32/dl-machine.c
18565 (__process_machine_rela): Likewise.
18566 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
18568 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
18570 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
18572 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
18573 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
18575 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
18577 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
18579 2013-05-28 Carlos O'Donell <carlos@redhat.com>
18581 * po/be.po: Add descriptive title.
18582 * po/zh_CN.po: Likewise.
18583 * po/header.pot: Likewise.
18585 2013-05-28 Mike Frysinger <vapier@gentoo.org>
18587 * locale/programs/locarchive.c (create_archive): Inlucde fname in
18589 (enlarge_archive): Likewise.
18591 2013-05-28 Ben North <ben@redfrontdoor.org>
18593 * manual/arith.texi (frexp): It is the magnitude of the return
18594 value which lies in [0.5, 1), not the return value itself.
18596 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18598 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18600 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
18602 * stdio-common/bug26.c (main): Correct fscanf template.
18604 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
18605 declare _dl_skip_args.
18607 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
18610 * manual/platform.texi: Add missing @end deftypefun.
18612 2013-05-24 Joseph Myers <joseph@codesourcery.com>
18615 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
18616 bit of mantissa of 2^16382.
18617 * math/libm-test.inc (hypot_test_data): Add more tests.
18619 * math/libm-test.inc: Add drem and pow10 to list of tested
18621 (pow10_test): New function.
18622 (drem_test): Likewise.
18623 (drem_test_tonearest): Likewise.
18624 (drem_test_towardzero): Likewise.
18625 (drem_test_downward): Likewise.
18626 (drem_test_upward): Likewise.
18627 (main): Call the new functions.
18629 * math/libm-test.inc (finite_test_data): Remove.
18630 (finite_test): Run tests from isfinite_test_data.
18631 (gamma_test_data): Remove.
18632 (gamma_test): Run tests from lgamma_test_data.
18633 * sysdeps/i386/fpu/libm-test-ulps: Update.
18634 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18636 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18638 * manual/platform.texi: Add PowerPC PPR function set documentation.
18639 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
18642 2013-05-24 Carlos O'Donell <carlos@redhat.com>
18644 * math/libm-test.inc (MAX_EXP): Define.
18646 (ulp): New function.
18647 (check_float_internal): Use ULPDIFF.
18648 (cpow_test): Disable failing test.
18649 (check_ulp): Test ulp() implemetnation.
18650 (main): Call check_ulp before starting tests.
18652 2013-05-24 Joseph Myers <joseph@codesourcery.com>
18654 * math/gen-libm-test.pl (generate_testfile): Do not handle
18655 START_DATA and END_DATA.
18656 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
18658 (acos_tonearest_test_data): Likewise.
18659 (acos_towardzero_test_data): Likewise.
18660 (acos_downward_test_data): Likewise.
18661 (acos_upward_test_data): Likewise.
18662 (acosh_test_data): Likewise.
18663 (asin_test_data): Likewise.
18664 (asin_tonearest_test_data): Likewise.
18665 (asin_towardzero_test_data): Likewise.
18666 (asin_downward_test_data): Likewise.
18667 (asin_upward_test_data): Likewise.
18668 (asinh_test_data): Likewise.
18669 (atan_test_data): Likewise.
18670 (atanh_test_data): Likewise.
18671 (atan2_test_data): Likewise.
18672 (cabs_test_data): Likewise.
18673 (cacos_test_data): Likewise.
18674 (cacosh_test_data): Likewise.
18675 (carg_test_data): Likewise.
18676 (casin_test_data): Likewise.
18677 (casinh_test_data): Likewise.
18678 (catan_test_data): Likewise.
18679 (catanh_test_data): Likewise.
18680 (cbrt_test_data): Likewise.
18681 (ccos_test_data): Likewise.
18682 (ccosh_test_data): Likewise.
18683 (ceil_test_data): Likewise.
18684 (cexp_test_data): Likewise.
18685 (cimag_test_data): Likewise.
18686 (clog_test_data): Likewise.
18687 (clog10_test_data): Likewise.
18688 (conj_test_data): Likewise.
18689 (copysign_test_data): Likewise.
18690 (cos_test_data): Likewise.
18691 (cos_tonearest_test_data): Likewise.
18692 (cos_towardzero_test_data): Likewise.
18693 (cos_downward_test_data): Likewise.
18694 (cos_upward_test_data): Likewise.
18695 (cosh_test_data): Likewise.
18696 (cosh_tonearest_test_data): Likewise.
18697 (cosh_towardzero_test_data): Likewise.
18698 (cosh_downward_test_data): Likewise.
18699 (cosh_upward_test_data): Likewise.
18700 (cpow_test_data): Likewise.
18701 (cproj_test_data): Likewise.
18702 (creal_test_data): Likewise.
18703 (csin_test_data): Likewise.
18704 (csinh_test_data): Likewise.
18705 (csqrt_test_data): Likewise.
18706 (ctan_test_data): Likewise.
18707 (ctan_tonearest_test_data): Likewise.
18708 (ctan_towardzero_test_data): Likewise.
18709 (ctan_downward_test_data): Likewise.
18710 (ctan_upward_test_data): Likewise.
18711 (ctanh_test_data): Likewise.
18712 (ctanh_tonearest_test_data): Likewise.
18713 (ctanh_towardzero_test_data): Likewise.
18714 (ctanh_downward_test_data): Likewise.
18715 (ctanh_upward_test_data): Likewise.
18716 (erf_test_data): Likewise.
18717 (erfc_test_data): Likewise.
18718 (exp_test_data): Likewise.
18719 (exp_tonearest_test_data): Likewise.
18720 (exp_towardzero_test_data): Likewise.
18721 (exp_downward_test_data): Likewise.
18722 (exp_upward_test_data): Likewise.
18723 (exp10_test_data): Likewise.
18724 (exp2_test_data): Likewise.
18725 (expm1_test_data): Likewise.
18726 (fabs_test_data): Likewise.
18727 (fdim_test_data): Likewise.
18728 (finite_test_data): Likewise.
18729 (floor_test_data): Likewise.
18730 (fma_test_data): Likewise.
18731 (fma_towardzero_test_data): Likewise.
18732 (fma_downward_test_data): Likewise.
18733 (fma_upward_test_data): Likewise.
18734 (fmax_test_data): Likewise.
18735 (fmin_test_data): Likewise.
18736 (fmod_test_data): Likewise.
18737 (fpclassify_test_data): Likewise.
18738 (frexp_test_data): Likewise.
18739 (gamma_test_data): Likewise.
18740 (hypot_test_data): Likewise.
18741 (ilogb_test_data): Likewise.
18742 (isfinite_test_data): Likewise.
18743 (isgreater_test_data): Likewise.
18744 (isgreaterequal_test_data): Likewise.
18745 (isinf_test_data): Likewise.
18746 (isless_test_data): Likewise.
18747 (islessequal_test_data): Likewise.
18748 (islessgreater_test_data): Likewise.
18749 (isnan_test_data): Likewise.
18750 (isnormal_test_data): Likewise.
18751 (issignaling_test_data): Likewise.
18752 (isunordered_test_data): Likewise.
18753 (j0_test_data): Likewise.
18754 (j1_test_data): Likewise.
18755 (jn_test_data): Likewise.
18756 (ldexp_test_data): Likewise.
18757 (lgamma_test_data): Likewise.
18758 (lrint_test_data): Likewise.
18759 (lrint_tonearest_test_data): Likewise.
18760 (lrint_towardzero_test_data): Likewise.
18761 (lrint_downward_test_data): Likewise.
18762 (lrint_upward_test_data): Likewise.
18763 (llrint_test_data): Likewise.
18764 (llrint_tonearest_test_data): Likewise.
18765 (llrint_towardzero_test_data): Likewise.
18766 (llrint_downward_test_data): Likewise.
18767 (llrint_upward_test_data): Likewise.
18768 (log_test_data): Likewise.
18769 (log10_test_data): Likewise.
18770 (log1p_test_data): Likewise.
18771 (log2_test_data): Likewise.
18772 (logb_test_data): Likewise.
18773 (logb_downward_test_data): Likewise.
18774 (lround_test_data): Likewise.
18775 (llround_test_data): Likewise.
18776 (modf_test_data): Likewise.
18777 (nearbyint_test_data): Likewise.
18778 (nextafter_test_data): Likewise.
18779 (nexttoward_test_data): Likewise.
18780 (pow_test_data): Likewise.
18781 (pow_tonearest_test_data): Likewise.
18782 (pow_towardzero_test_data): Likewise.
18783 (pow_downward_test_data): Likewise.
18784 (pow_upward_test_data): Likewise.
18785 (remainder_test_data): Likewise.
18786 (remainder_tonearest_test_data): Likewise.
18787 (remainder_towardzero_test_data): Likewise.
18788 (remainder_downward_test_data): Likewise.
18789 (remainder_upward_test_data): Likewise.
18790 (remquo_test_data): Likewise.
18791 (rint_test_data): Likewise.
18792 (rint_tonearest_test_data): Likewise.
18793 (rint_towardzero_test_data): Likewise.
18794 (rint_downward_test_data): Likewise.
18795 (rint_upward_test_data): Likewise.
18796 (round_test_data): Likewise.
18797 (scalb_test_data): Likewise.
18798 (scalbn_test_data): Likewise.
18799 (scalbln_test_data): Likewise.
18800 (signbit_test_data): Likewise.
18801 (sin_test_data): Likewise.
18802 (sin_tonearest_test_data): Likewise.
18803 (sin_towardzero_test_data): Likewise.
18804 (sin_downward_test_data): Likewise.
18805 (sin_upward_test_data): Likewise.
18806 (sincos_test_data): Likewise.
18807 (sinh_test_data): Likewise.
18808 (sinh_tonearest_test_data): Likewise.
18809 (sinh_towardzero_test_data): Likewise.
18810 (sinh_downward_test_data): Likewise.
18811 (sinh_upward_test_data): Likewise.
18812 (sqrt_test_data): Likewise.
18813 (tan_test_data): Likewise.
18814 (tan_tonearest_test_data): Likewise.
18815 (tan_towardzero_test_data): Likewise.
18816 (tan_downward_test_data): Likewise.
18817 (tan_upward_test_data): Likewise.
18818 (tanh_test_data): Likewise.
18819 (tgamma_test_data): Likewise.
18820 (trunc_test_data): Likewise.
18821 (y0_test_data): Likewise.
18822 (y1_test_data): Likewise.
18823 (yn_test_data): Likewise.
18824 (significand_test_data): Likewise.
18826 * math/gen-libm-test.pl (@functions): Remove variable.
18827 (generate_testfile): Don't handle START and END lines.
18828 * math/libm-test.inc (START): New macro.
18830 (END_COMPLEX): Likewise.
18831 (acos_test): Use END macro without arguments.
18832 (acos_test_tonearest): Likewise.
18833 (acos_test_towardzero): Likewise.
18834 (acos_test_downward): Likewise.
18835 (acos_test_upward): Likewise.
18836 (acosh_test): Likewise.
18837 (asin_test): Likewise.
18838 (asin_test_tonearest): Likewise.
18839 (asin_test_towardzero): Likewise.
18840 (asin_test_downward): Likewise.
18841 (asin_test_upward): Likewise.
18842 (asinh_test): Likewise.
18843 (atan_test): Likewise.
18844 (atanh_test): Likewise.
18845 (atan2_test): Likewise.
18846 (cabs_test): Likewise.
18847 (cacos_test): Use END_COMPLEX macro without arguments.
18848 (cacosh_test): Likewise.
18849 (carg_test): Use END macro without arguments.
18850 (casin_test): Use END_COMPLEX macro without arguments.
18851 (casinh_test): Likewise.
18852 (catan_test): Likewise.
18853 (catanh_test): Likewise.
18854 (cbrt_test): Use END macro without arguments.
18855 (ccos_test): Use END_COMPLEX macro without arguments.
18856 (ccosh_test): Likewise.
18857 (ceil_test): Use END macro without arguments.
18858 (cexp_test): Use END_COMPLEX macro without arguments.
18859 (cimag_test): Use END macro without arguments.
18860 (clog_test): Use END_COMPLEX macro without arguments.
18861 (clog10_test): Likewise.
18862 (conj_test): Likewise.
18863 (copysign_test): Use END macro without arguments.
18864 (cos_test): Likewise.
18865 (cos_test_tonearest): Likewise.
18866 (cos_test_towardzero): Likewise.
18867 (cos_test_downward): Likewise.
18868 (cos_test_upward): Likewise.
18869 (cosh_test): Likewise.
18870 (cosh_test_tonearest): Likewise.
18871 (cosh_test_towardzero): Likewise.
18872 (cosh_test_downward): Likewise.
18873 (cosh_test_upward): Likewise.
18874 (cpow_test): Use END_COMPLEX macro without arguments.
18875 (cproj_test): Likewise.
18876 (creal_test): Use END macro without arguments.
18877 (csin_test): Use END_COMPLEX macro without arguments.
18878 (csinh_test): Likewise.
18879 (csqrt_test): Likewise.
18880 (ctan_test): Likewise.
18881 (ctan_test_tonearest): Likewise.
18882 (ctan_test_towardzero): Likewise.
18883 (ctan_test_downward): Likewise.
18884 (ctan_test_upward): Likewise.
18885 (ctanh_test): Likewise.
18886 (ctanh_test_tonearest): Likewise.
18887 (ctanh_test_towardzero): Likewise.
18888 (ctanh_test_downward): Likewise.
18889 (ctanh_test_upward): Likewise.
18890 (erf_test): Use END macro without arguments.
18891 (erfc_test): Likewise.
18892 (exp_test): Likewise.
18893 (exp_test_tonearest): Likewise.
18894 (exp_test_towardzero): Likewise.
18895 (exp_test_downward): Likewise.
18896 (exp_test_upward): Likewise.
18897 (exp10_test): Likewise.
18898 (exp2_test): Likewise.
18899 (expm1_test): Likewise.
18900 (fabs_test): Likewise.
18901 (fdim_test): Likewise.
18902 (finite_test): Likewise.
18903 (floor_test): Likewise.
18904 (fma_test): Likewise.
18905 (fma_test_towardzero): Likewise.
18906 (fma_test_downward): Likewise.
18907 (fma_test_upward): Likewise.
18908 (fmax_test): Likewise.
18909 (fmin_test): Likewise.
18910 (fmod_test): Likewise.
18911 (fpclassify_test): Likewise.
18912 (frexp_test): Likewise.
18913 (gamma_test): Likewise.
18914 (hypot_test): Likewise.
18915 (ilogb_test): Likewise.
18916 (isfinite_test): Likewise.
18917 (isgreater_test): Likewise.
18918 (isgreaterequal_test): Likewise.
18919 (isinf_test): Likewise.
18920 (isless_test): Likewise.
18921 (islessequal_test): Likewise.
18922 (islessgreater_test): Likewise.
18923 (isnan_test): Likewise.
18924 (isnormal_test): Likewise.
18925 (issignaling_test): Likewise.
18926 (isunordered_test): Likewise.
18927 (j0_test): Likewise.
18928 (j1_test): Likewise.
18929 (jn_test): Likewise.
18930 (ldexp_test): Likewise.
18931 (lgamma_test): Likewise.
18932 (lrint_test): Likewise.
18933 (lrint_test_tonearest): Likewise.
18934 (lrint_test_towardzero): Likewise.
18935 (lrint_test_downward): Likewise.
18936 (lrint_test_upward): Likewise.
18937 (llrint_test): Likewise.
18938 (llrint_test_tonearest): Likewise.
18939 (llrint_test_towardzero): Likewise.
18940 (llrint_test_downward): Likewise.
18941 (llrint_test_upward): Likewise.
18942 (log_test): Likewise.
18943 (log10_test): Likewise.
18944 (log1p_test): Likewise.
18945 (log2_test): Likewise.
18946 (logb_test): Likewise.
18947 (logb_test_downward): Likewise.
18948 (lround_test): Likewise.
18949 (llround_test): Likewise.
18950 (modf_test): Likewise.
18951 (nearbyint_test): Likewise.
18952 (nextafter_test): Likewise.
18953 (nexttoward_test): Likewise.
18954 (pow_test): Likewise.
18955 (pow_test_tonearest): Likewise.
18956 (pow_test_towardzero): Likewise.
18957 (pow_test_downward): Likewise.
18958 (pow_test_upward): Likewise.
18959 (remainder_test): Likewise.
18960 (remainder_test_tonearest): Likewise.
18961 (remainder_test_towardzero): Likewise.
18962 (remainder_test_downward): Likewise.
18963 (remainder_test_upward): Likewise.
18964 (remquo_test): Likewise.
18965 (rint_test): Likewise.
18966 (rint_test_tonearest): Likewise.
18967 (rint_test_towardzero): Likewise.
18968 (rint_test_downward): Likewise.
18969 (rint_test_upward): Likewise.
18970 (round_test): Likewise.
18971 (scalb_test): Likewise.
18972 (scalbn_test): Likewise.
18973 (scalbln_test): Likewise.
18974 (signbit_test): Likewise.
18975 (sin_test): Likewise.
18976 (sin_test_tonearest): Likewise.
18977 (sin_test_towardzero): Likewise.
18978 (sin_test_downward): Likewise.
18979 (sin_test_upward): Likewise.
18980 (sincos_test): Likewise.
18981 (sinh_test): Likewise.
18982 (sinh_test_tonearest): Likewise.
18983 (sinh_test_towardzero): Likewise.
18984 (sinh_test_downward): Likewise.
18985 (sinh_test_upward): Likewise.
18986 (sqrt_test): Likewise.
18987 (tan_test): Likewise.
18988 (tan_test_tonearest): Likewise.
18989 (tan_test_towardzero): Likewise.
18990 (tan_test_downward): Likewise.
18991 (tan_test_upward): Likewise.
18992 (tanh_test): Likewise.
18993 (tgamma_test): Likewise.
18994 (trunc_test): Likewise.
18995 (y0_test): Likewise.
18996 (y1_test): Likewise.
18997 (yn_test): Likewise.
18998 (significand_test): Likewise.
19000 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
19003 * libio/genops.c (_IO_no_init): Initialize wide struct info.
19005 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
19008 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
19009 __ppc_mdoio and __ppc_mdoom.
19010 * manual/platform.texi: Document new functions __ppc_yield,
19011 __ppc_mdoio and __ppc_mdoom.
19013 2013-05-22 Carlos O'Donell <carlos@redhat.com>
19015 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
19016 (main): Mention "tls" pseudo-hwcap is legacy.
19017 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
19019 2013-05-22 Joseph Myers <joseph@codesourcery.com>
19021 * math/gen-libm-test.pl (parse_args): Output only string of
19022 arguments as text for test name, not full call or descriptions of
19023 tests for extra outputs.
19024 (generate_testfile): Do not pass function name to parse_args.
19025 Generate this_func variable from START.
19026 * math/libm-test.inc (struct test_f_f_data): Rename test_name
19028 (struct test_ff_f_data): Likewise.
19029 (test_ff_f_data_nexttoward): Likewise.
19030 (struct test_fi_f_data): Likewise.
19031 (struct test_fl_f_data): Likewise.
19032 (struct test_if_f_data): Likewise.
19033 (struct test_fff_f_data): Likewise.
19034 (struct test_c_f_data): Likewise.
19035 (struct test_f_f1_data): Likewise. Remove field extra_name.
19036 (struct test_fF_f1_data): Likewise.
19037 (struct test_ffI_f1_data): Likewise.
19038 (struct test_c_c_data): Rename test_name field to arg_str.
19039 (struct test_cc_c_data): Likewise.
19040 (struct test_f_i_data): Likewise.
19041 (struct test_ff_i_data): Likewise.
19042 (struct test_f_l_data): Likewise.
19043 (struct test_f_L_data): Likewise.
19044 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
19046 (COMMON_TEST_SETUP): New macro.
19047 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
19048 (COMMON_TEST_CLEANUP): Likewise.
19049 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
19050 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
19052 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
19053 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
19055 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
19056 (RUN_TEST_fff_f): Take argument string. Call new setup and
19058 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
19059 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
19061 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
19062 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
19064 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
19065 (RUN_TEST_fF_f1): Take argument string. Call new setup and
19067 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
19068 (RUN_TEST_fI_f1): Take argument string. Call new setup and
19070 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
19071 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
19073 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
19074 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
19076 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
19077 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
19079 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
19080 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
19082 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
19083 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
19085 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
19086 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
19088 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
19089 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
19091 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
19092 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
19094 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
19095 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
19097 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
19098 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
19100 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
19101 (RUN_TEST_fFF_11): Take argument string. Call new setup and
19103 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
19105 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
19107 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
19108 to _sifields.sigfault.
19109 (si_addr_lsb): Define new macro.
19110 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
19111 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
19112 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
19114 2013-05-03 Carlos O'Donell <carlos at redhat.com>
19117 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
19119 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
19121 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
19122 loading the domain.
19124 2013-05-22 Joseph Myers <joseph@codesourcery.com>
19126 * math/gen-libm-test.pl (parse_args): Do not include expected
19127 result in test name.
19128 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
19129 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
19130 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
19131 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
19132 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
19133 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19135 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
19137 * benchtests/Makefile: Sort function entries.
19139 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
19140 tanh, asinh, acosh, atanh.
19141 * benchtests/acos-inputs: New file.
19142 * benchtests/acosh-inputs: New file.
19143 * benchtests/asin-inputs: New file.
19144 * benchtests/asinh-inputs: New file.
19145 * benchtests/atanh-inputs: New file.
19146 * benchtests/cosh-inputs: New file.
19147 * benchtests/log-inputs: New file.
19148 * benchtests/sinh-inputs: New file.
19149 * benchtests/tanh-inputs: New file.
19151 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
19154 * posix/tst-getaddrinfo4.c: New test.
19155 * posix/Makefile (tests): Add it.
19157 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
19160 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
19161 when no services were used.
19162 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
19163 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
19165 2013-05-21 Andreas Schwab <schwab@suse.de>
19168 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
19169 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
19171 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
19172 redundant variable declarations and reallocation of buffer when
19173 parsing as IPv6 address. Always set NSS status when called from
19174 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
19175 buffer too small. Correct computation of needed size.
19176 * nss/Makefile (tests): Add test-digits-dots.
19177 * nss/test-digits-dots.c: New test.
19179 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
19181 * benchtests/Makefile: Remove instructions for adding
19183 * benchtests/README: New file to explain how to execute and
19184 enhance the benchmark tests.
19186 2013-05-21 Andreas Schwab <schwab@suse.de>
19189 * setjmp/Makefile (tests): Add tst-sigsetjmp.
19190 * setjmp/tst-sigsetjmp.c: New test.
19192 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
19194 * sysdeps/x86_64/memset.S (memset): New implementation.
19195 (__bzero): Likewise.
19196 (__memset_tail): New function.
19198 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
19200 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
19201 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
19202 __memcpy_sse2_unaligned ifunc selection.
19203 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
19204 Add memcpy-sse2-unaligned.S.
19205 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
19206 Add: __memcpy_sse2_unaligned.
19208 2013-05-19 Joseph Myers <joseph@codesourcery.com>
19211 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
19212 math_force_eval before restoring floating-point envrionment.
19213 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
19214 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
19216 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
19218 (__nearbyintl): Use math_force_eval before restoring
19219 floating-point environment.
19220 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
19222 * math/gen-libm-test.pl (special_functions): Remove.
19223 (parse_args): Don't handle TEST_extra. Handle functions with no
19225 * math/libm-test.inc (struct test_sincos_data): Replace with
19226 struct test_fFF_11_data.
19227 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
19228 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
19229 (sincos_test_data): Change element type to struct
19230 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
19231 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
19232 RUN_TEST_LOOP_sincos.
19233 * math/README.libm-test: Don't mention special handling of
19234 individual functions.
19235 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
19236 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
19237 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
19238 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
19239 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
19240 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19242 * math/gen-libm-test.pl (get_variable): Remove function.
19243 (parse_args): Don't show pointer parameters to call in test
19244 names. Use "extra output N" in test names for extra outputs
19245 rather than naming variables.
19247 2013-05-18 Joseph Myers <joseph@codesourcery.com>
19250 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
19251 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
19252 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
19254 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
19256 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
19259 * math/gen-libm-test.pl (@tests): Remove variable.
19260 ($count): Likewise.
19261 (new_test): Remove function.
19262 (show_exceptions): New function.
19263 (special_functions): Use show_exceptions instead of new_test.
19264 (parse_args): Likewise.
19265 (generate_testfile): Pass only function name in generated call to
19266 print_max_error or print_complex_max_error.
19267 (get_ulps): Do not handle complex tests specially.
19268 (output_test): Rename to ...
19269 (get_all_ulps_for_test): ... this. Return a string rather than
19270 printing to a file. Require ulps to be present.
19271 (output_ulps): Generate arrays rather than #defines.
19272 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
19273 (struct ulp_data): New type.
19274 (BUILD_COMPLEX_ULP): Remove macro.
19275 (compare_ulp_data): New function.
19276 (find_ulps): Likewise.
19277 (find_test_ulps): Likewise.
19278 (find_function_ulps): Likewise.
19279 (find_complex_function_ulps): Likewise.
19280 (print_max_error): Determine allowed ulps using
19281 find_function_ulps.
19282 (print_complex_max_error): Determine allowed ulps using
19283 find_complex_function_ulps.
19284 (check_float_internal): Determine max ulps using find_test_ulps.
19285 (check_float): Do not take max_ulp parameter. Update call to
19286 check_float_internal.
19287 (check_complex): Likewise.
19288 (check_int): Do not take max_ulp parameter.
19289 (check_long): Likewise.
19290 (check_bool): Likewise.
19291 (check_longlong): Likewise.
19292 (struct test_f_f_data): Remove max_ulp field.
19293 (struct test_ff_f_data): Likewise.
19294 (struct test_ff_f_data_nexttoward): Likewise.
19295 (struct test_fi_f_data): Likewise.
19296 (struct test_fl_f_data): Likewise.
19297 (struct test_if_f_data): Likewise.
19298 (struct test_fff_f_data): Likewise.
19299 (struct test_c_f_data): Likewise.
19300 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
19301 (struct test_fF_f1_data): Likewise.
19302 (struct test_ffI_f1_data): Likewise.
19303 (struct test_c_c_data): Remove max_ulp field.
19304 (struct test_cc_c_data): Likewise.
19305 (struct test_f_i_data): Likewise.
19306 (struct test_ff_i_data): Likewise.
19307 (struct test_f_l_data): Likewise.
19308 (struct test_f_L_data): Likewise.
19309 (struct test_sincos_data): Likewise.
19310 (RUN_TEST_f_f): Do not handle ulps.
19311 (RUN_TEST_LOOP_f_f): Likewise.
19312 (RUN_TEST_2_f): Likewise.
19313 (RUN_TEST_LOOP_2_f): Likewise.
19314 (RUN_TEST_fff_f): Likewise.
19315 (RUN_TEST_LOOP_fff_f): Likewise.
19316 (RUN_TEST_c_f): Likewise.
19317 (RUN_TEST_LOOP_c_f): Likewise.
19318 (RUN_TEST_f_f1): Likewise.
19319 (RUN_TEST_LOOP_f_f1): Likewise.
19320 (RUN_TEST_fF_f1): Likewise.
19321 (RUN_TEST_LOOP_fF_f1): Likewise.
19322 (RUN_TEST_fI_f1): Likewise.
19323 (RUN_TEST_LOOP_fI_f1): Likewise.
19324 (RUN_TEST_ffI_f1): Likewise.
19325 (RUN_TEST_LOOP_ffI_f1): Likewise.
19326 (RUN_TEST_c_c): Likewise.
19327 (RUN_TEST_LOOP_c_c): Likewise.
19328 (RUN_TEST_cc_c): Likewise.
19329 (RUN_TEST_LOOP_cc_c): Likewise.
19330 (RUN_TEST_f_i): Likewise.
19331 (RUN_TEST_LOOP_f_i): Likewise.
19332 (RUN_TEST_f_i_tg): Likewise.
19333 (RUN_TEST_LOOP_f_i_tg): Likewise.
19334 (RUN_TEST_ff_i_tg): Likewise.
19335 (RUN_TEST_LOOP_ff_i_tg): Likewise.
19336 (RUN_TEST_f_b): Likewise.
19337 (RUN_TEST_LOOP_f_b): Likewise.
19338 (RUN_TEST_f_b_tg): Likewise.
19339 (RUN_TEST_LOOP_f_b_tg): Likewise.
19340 (RUN_TEST_f_l): Likewise.
19341 (RUN_TEST_LOOP_f_l): Likewise.
19342 (RUN_TEST_f_L): Likewise.
19343 (RUN_TEST_LOOP_f_L): Likewise.
19344 (RUN_TEST_sincos): Likewise.
19345 (RUN_TEST_LOOP_sincos): Likewise.
19347 2013-05-17 Joseph Myers <joseph@codesourcery.com>
19351 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
19352 main case of finite arguments, set rounding mode to FE_TONEAREST
19353 and discard exceptions.
19354 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
19356 (remainder_tonearest_test_data): New variable.
19357 (remainder_test_tonearest): New function.
19358 (remainder_towardzero_test_data): New variable.
19359 (remainder_test_towardzero): New function.
19360 (remainder_downward_test_data): New variable.
19361 (remainder_test_downward): New function.
19362 (remainder_upward_test_data): New variable.
19363 (remainder_test_upward): New function.
19364 (main): Call the new test functions.
19366 * math/libm-test.inc (struct test_f_f1_data): Remove field
19368 (struct test_fF_f1_data): Likewise.
19369 (struct test_ffI_f1_data): Likewise.
19370 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
19371 based on value of EXTRA_EXPECTED.
19372 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
19373 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
19374 EXTRA_VAR based on value of EXTRA_EXPECTED.
19375 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
19376 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
19377 EXTRA_VAR based on value of EXTRA_EXPECTED.
19378 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
19379 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
19380 EXTRA_VAR based on value of EXTRA_EXPECTED.
19381 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
19382 * math/gen-libm-test.pl (parse_args): Don't output initializers
19383 for extra output values.
19385 * math/libm-test.inc (check_int): Expect result to be exactly
19386 equal to expected value and do not handle ulps.
19387 (check_long): Likewise.
19388 (check_longlong): Likewise.
19390 * math/libm-test.inc (ceil_test_data): Test for "inexact"
19392 (cimag_test_data): Likewise.
19393 (conj_test_data): Likewise.
19394 (copysign_test_data): Likewise.
19395 (cproj_test_data): Likewise.
19396 (creal_test_data): Likewise.
19397 (fabs_test_data): Likewise.
19398 (fdim_test_data): Likewise.
19399 (finite_test_data): Likewise.
19400 (floor_test_data): Likewise.
19401 (fmax_test_data): Likewise.
19402 (fmin_test_data): Likewise.
19403 (fmod_test_data): Likewise.
19404 (fpclassify_test_data): Likewise.
19405 (frexp_test_data): Likewise.
19406 (ilogb_test_data): Likewise.
19407 (isfinite_test_data): Likewise.
19408 (isgreater_test_data): Likewise.
19409 (isgreaterequal_test_data): Likewise.
19410 (isinf_test_data): Likewise.
19411 (isless_test_data): Likewise.
19412 (islessequal_test_data): Likewise.
19413 (islessgreater_test_data): Likewise.
19414 (isnan_test_data): Likewise.
19415 (isnormal_test_data): Likewise.
19416 (issignaling_test_data): Likewise.
19417 (isunordered_test_data): Likewise.
19418 (ldexp_test_data): Likewise.
19419 (lrint_test_data): Likewise.
19420 (lrint_test_data) [TEST_FLOAT]: Disable one test.
19421 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
19422 (lrint_tonearest_test_data): Test for "inexact" exceptions.
19423 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
19424 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
19425 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
19427 (lrint_towardzero_test_data): Test for "inexact" exceptions.
19428 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
19429 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
19430 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
19432 (lrint_downward_test_data): Test for "inexact" exceptions.
19433 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
19434 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
19435 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
19437 (lrint_upward_test_data): Test for "inexact" exceptions.
19438 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
19440 (llrint_test_data): Test for "inexact" exceptions.
19441 (llrint_test_data) [TEST_FLOAT]: Disable one test.
19442 (llrint_tonearest_test_data): Test for "inexact" exceptions.
19443 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
19444 (llrint_towardzero_test_data): Test for "inexact" exceptions.
19445 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
19446 (llrint_downward_test_data): Test for "inexact" exceptions.
19447 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
19448 (llrint_upward_test_data): Test for "inexact" exceptions.
19449 (logb_test_data): Likewise.
19450 (logb_downward_test_data): Likewise.
19451 (nextafter_test_data): Likewise.
19452 (nexttoward_test_data): Likewise.
19453 (remainder_test_data): Likewise.
19454 (remquo_test_data): Likewise.
19455 (scalbn_test_data): Likewise.
19456 (scalbln_test_data): Likewise.
19457 (signbit_test_data): Likewise.
19458 (sqrt_test_data): Likewise.
19459 (significand_test_data): Likewise.
19461 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
19464 * benchtests/bench-modf.c (struct args): Mark arg0 as
19466 * scripts/bench.pl: Mark members of struct args as volatile.
19468 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19471 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
19472 negative infinity on POWER6 or lower.
19473 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
19475 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
19478 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
19479 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
19480 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
19481 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
19482 (_FP_SETQNAN): New macro.
19483 (_FP_SETQNAN_SEMIRAW): Likewise.
19484 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
19485 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
19486 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
19487 (FP_EXTEND): Use _FP_FRAC_SNANP.
19488 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
19489 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
19491 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
19493 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
19496 2013-05-16 Joseph Myers <joseph@codesourcery.com>
19498 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
19499 with DIVIDE_BY_ZERO_EXCEPTION.
19500 (gamma_test_data): Likewise.
19501 (lgamma_test_data): Likewise.
19502 (log_test_data): Likewise.
19503 (log10_test_data): Likewise.
19504 (log2_test_data): Likewise.
19505 (tgamma_test_data): Likewise.
19507 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
19508 (acos_test_tonearest): Likewise.
19509 (acos_test_towardzero): Likewise.
19510 (acos_test_downward): Likewise.
19511 (acos_test_upward): Likewise.
19512 (acosh_test): Likewise.
19513 (asin_test): Likewise.
19514 (asin_test_tonearest): Likewise.
19515 (asin_test_towardzero): Likewise.
19516 (asin_test_downward): Likewise.
19517 (asin_test_upward): Likewise.
19518 (asinh_test): Likewise.
19519 (atan_test): Likewise.
19520 (atanh_test): Likewise.
19521 (atan2_test): Likewise.
19522 (cabs_test): Likewise.
19523 (cacos_test): Likewise.
19524 (cacosh_test): Likewise.
19525 (casin_test): Likewise.
19526 (casinh_test): Likewise.
19527 (catan_test): Likewise.
19528 (catanh_test): Likewise.
19529 (cbrt_test): Likewise.
19530 (ccos_test): Likewise.
19531 (ccosh_test): Likewise.
19532 (cexp_test): Likewise.
19533 (clog_test): Likewise.
19534 (clog10_test): Likewise.
19535 (cos_test): Likewise.
19536 (cos_test_tonearest): Likewise.
19537 (cos_test_towardzero): Likewise.
19538 (cos_test_downward): Likewise.
19539 (cos_test_upward): Likewise.
19540 (cosh_test): Likewise.
19541 (cosh_test_tonearest): Likewise.
19542 (cosh_test_towardzero): Likewise.
19543 (cosh_test_downward): Likewise.
19544 (cosh_test_upward): Likewise.
19545 (cpow_test): Likewise.
19546 (csin_test): Likewise.
19547 (csinh_test): Likewise.
19548 (csqrt_test): Likewise.
19549 (ctan_test): Likewise.
19550 (ctan_test_tonearest): Likewise.
19551 (ctan_test_towardzero): Likewise.
19552 (ctan_test_downward): Likewise.
19553 (ctan_test_upward): Likewise.
19554 (ctanh_test): Likewise.
19555 (ctanh_test_tonearest): Likewise.
19556 (ctanh_test_towardzero): Likewise.
19557 (ctanh_test_downward): Likewise.
19558 (ctanh_test_upward): Likewise.
19559 (erf_test): Likewise.
19560 (erfc_test): Likewise.
19561 (exp_test): Likewise.
19562 (exp_test_tonearest): Likewise.
19563 (exp_test_towardzero): Likewise.
19564 (exp_test_downward): Likewise.
19565 (exp_test_upward): Likewise.
19566 (exp10_test): Likewise.
19567 (exp2_test): Likewise.
19568 (expm1_test): Likewise.
19569 (fmod_test): Likewise.
19570 (gamma_test): Likewise.
19571 (hypot_test): Likewise.
19572 (j0_test): Likewise.
19573 (j1_test): Likewise.
19574 (jn_test): Likewise.
19575 (lgamma_test): Likewise.
19576 (log_test): Likewise.
19577 (log10_test): Likewise.
19578 (log1p_test): Likewise.
19579 (log2_test): Likewise.
19580 (logb_test_downward): Likewise.
19581 (pow_test): Likewise.
19582 (pow_test_tonearest): Likewise.
19583 (pow_test_towardzero): Likewise.
19584 (pow_test_downward): Likewise.
19585 (pow_test_upward): Likewise.
19586 (remainder_test): Likewise.
19587 (remquo_test): Likewise.
19588 (sin_test): Likewise.
19589 (sin_test_tonearest): Likewise.
19590 (sin_test_towardzero): Likewise.
19591 (sin_test_downward): Likewise.
19592 (sin_test_upward): Likewise.
19593 (sincos_test): Likewise.
19594 (sinh_test): Likewise.
19595 (sinh_test_tonearest): Likewise.
19596 (sinh_test_towardzero): Likewise.
19597 (sinh_test_downward): Likewise.
19598 (sinh_test_upward): Likewise.
19599 (sqrt_test): Likewise.
19600 (tan_test): Likewise.
19601 (tan_test_tonearest): Likewise.
19602 (tan_test_towardzero): Likewise.
19603 (tan_test_downward): Likewise.
19604 (tan_test_upward): Likewise.
19605 (tanh_test): Likewise.
19606 (tgamma_test): Likewise.
19607 (y0_test): Likewise.
19608 (y1_test): Likewise.
19609 (yn_test): Likewise.
19611 * math/gen-libm-test.pl (adjust_arg): Remove function.
19612 (special_function): Remove argument $in_func. Only handle
19613 generating output for tables of tests, not inside functions.
19614 (parse_args): Likewise.
19615 (generate_testfile): Remove variable $in_func. Update call to
19617 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
19618 (MINUS_ZERO_INIT): Rename macro to minus_zero.
19619 (PLUS_INFTY_INIT): Rename macro to plus_infty.
19620 (MINUS_INFTY_INIT): Rename macro to minus_infty.
19621 (QNAN_VALUE_INIT): Rename macro to qnan_value.
19622 (MAX_VALUE_INIT): Rename macro to max_value.
19623 (MIN_VALUE_INIT): Rename macro to min_value.
19624 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
19625 (plus_zero): Remove variable.
19626 (minus_zero): Likewise.
19627 (plus_infty): Likewise.
19628 (minus_infty): Likewise.
19629 (qnan_value): Likewise.
19630 (max_value): Likewise.
19631 (min_value): Likewise.
19632 (min_subnorm_value): Likewise.
19634 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
19636 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
19637 uint64_t or uint32_t usage.
19638 * crypt/sha256-block.c: Likewise.
19639 * crypt/sha256-crypt.c: Likewise.
19640 * crypt/sha256.c: Likewise.
19641 * crypt/sha512-block.c: Likewise.
19642 * crypt/sha512-crypt.c: Likewise.
19643 * crypt/sha512.c: Likewise.
19644 * debug/backtrace-tst.c: Likewise.
19645 * debug/pcprofiledump.c: Likewise.
19646 * elf/cache.c: Likewise.
19647 * elf/dl-cache.c: Likewise.
19648 * elf/dl-misc.c: Likewise.
19649 * elf/dl-profile.c: Likewise.
19650 * elf/dl-support.c: Likewise.
19651 * elf/ldconfig.c: Likewise.
19652 * elf/sprof.c: Likewise.
19653 * iconv/dummy-repertoire.c: Likewise.
19654 * iconv/iconv_charmap.c: Likewise.
19655 * iconv/skeleton.c: Likewise.
19656 * iconvdata/8bit-generic.c: Likewise.
19657 * iconvdata/cp737.h: Likewise.
19658 * iconvdata/cp775.h: Likewise.
19659 * iconvdata/ibm1008.h: Likewise.
19660 * iconvdata/ibm1025.h: Likewise.
19661 * iconvdata/ibm1046.h: Likewise.
19662 * iconvdata/ibm1097.h: Likewise.
19663 * iconvdata/ibm1112.h: Likewise.
19664 * iconvdata/ibm1122.h: Likewise.
19665 * iconvdata/ibm1123.h: Likewise.
19666 * iconvdata/ibm1124.h: Likewise.
19667 * iconvdata/ibm1129.h: Likewise.
19668 * iconvdata/ibm1130.h: Likewise.
19669 * iconvdata/ibm1132.h: Likewise.
19670 * iconvdata/ibm1133.h: Likewise.
19671 * iconvdata/ibm1137.h: Likewise.
19672 * iconvdata/ibm1140.h: Likewise.
19673 * iconvdata/ibm1141.h: Likewise.
19674 * iconvdata/ibm1142.h: Likewise.
19675 * iconvdata/ibm1143.h: Likewise.
19676 * iconvdata/ibm1144.h: Likewise.
19677 * iconvdata/ibm1145.h: Likewise.
19678 * iconvdata/ibm1146.h: Likewise.
19679 * iconvdata/ibm1147.h: Likewise.
19680 * iconvdata/ibm1148.h: Likewise.
19681 * iconvdata/ibm1149.h: Likewise.
19682 * iconvdata/ibm1153.h: Likewise.
19683 * iconvdata/ibm1154.h: Likewise.
19684 * iconvdata/ibm1155.h: Likewise.
19685 * iconvdata/ibm1156.h: Likewise.
19686 * iconvdata/ibm1157.h: Likewise.
19687 * iconvdata/ibm1158.h: Likewise.
19688 * iconvdata/ibm1160.h: Likewise.
19689 * iconvdata/ibm1161.h: Likewise.
19690 * iconvdata/ibm1162.h: Likewise.
19691 * iconvdata/ibm1163.h: Likewise.
19692 * iconvdata/ibm1164.h: Likewise.
19693 * iconvdata/ibm1166.h: Likewise.
19694 * iconvdata/ibm1167.h: Likewise.
19695 * iconvdata/ibm12712.h: Likewise.
19696 * iconvdata/ibm1390.h: Likewise.
19697 * iconvdata/ibm1399.h: Likewise.
19698 * iconvdata/ibm16804.h: Likewise.
19699 * iconvdata/ibm4517.h: Likewise.
19700 * iconvdata/ibm4899.h: Likewise.
19701 * iconvdata/ibm4909.h: Likewise.
19702 * iconvdata/ibm4971.h: Likewise.
19703 * iconvdata/ibm5347.h: Likewise.
19704 * iconvdata/ibm803.h: Likewise.
19705 * iconvdata/ibm856.h: Likewise.
19706 * iconvdata/ibm901.h: Likewise.
19707 * iconvdata/ibm902.h: Likewise.
19708 * iconvdata/ibm9030.h: Likewise.
19709 * iconvdata/ibm9066.h: Likewise.
19710 * iconvdata/ibm921.h: Likewise.
19711 * iconvdata/ibm922.h: Likewise.
19712 * iconvdata/ibm9448.h: Likewise.
19713 * iconvdata/isiri-3342.h: Likewise.
19714 * iconvdata/jis0201.h: Likewise.
19715 * include/link.h: Likewise.
19716 * include/netdb.h: Likewise.
19717 * inet/check_native.c: Likewise.
19718 * inet/check_pf.c: Likewise.
19719 * inet/getipv4sourcefilter.c: Likewise.
19720 * inet/getnameinfo.c: Likewise.
19721 * inet/getsourcefilter.c: Likewise.
19722 * inet/htonl.c: Likewise.
19723 * inet/setipv4sourcefilter.c: Likewise.
19724 * inet/setsourcefilter.c: Likewise.
19725 * inet/test-inet6_opt.c: Likewise.
19726 * inet/tst-network.c: Likewise.
19727 * locale/C-collate.c: Likewise.
19728 * locale/C-ctype.c: Likewise.
19729 * locale/C-time.c: Likewise.
19730 * locale/C-translit.h: Likewise.
19731 * locale/loadarchive.c: Likewise.
19732 * locale/programs/3level.h: Likewise.
19733 * locale/programs/charmap.c: Likewise.
19734 * locale/programs/charmap.h: Likewise.
19735 * locale/programs/ld-address.c: Likewise.
19736 * locale/programs/ld-collate.c: Likewise.
19737 * locale/programs/ld-ctype.c: Likewise.
19738 * locale/programs/ld-identification.c: Likewise.
19739 * locale/programs/ld-measurement.c: Likewise.
19740 * locale/programs/ld-messages.c: Likewise.
19741 * locale/programs/ld-monetary.c: Likewise.
19742 * locale/programs/ld-name.c: Likewise.
19743 * locale/programs/ld-numeric.c: Likewise.
19744 * locale/programs/ld-paper.c: Likewise.
19745 * locale/programs/ld-telephone.c: Likewise.
19746 * locale/programs/ld-time.c: Likewise.
19747 * locale/programs/linereader.c: Likewise.
19748 * locale/programs/locale.c: Likewise.
19749 * locale/programs/locarchive.c: Likewise.
19750 * locale/programs/locfile.h: Likewise.
19751 * locale/programs/repertoire.c: Likewise.
19752 * locale/programs/simple-hash.c: Likewise.
19753 * locale/programs/simple-hash.h: Likewise.
19754 * malloc/memusage.c: Likewise.
19755 * malloc/memusagestat.c: Likewise.
19756 * nis/nis_defaults.c: Likewise.
19757 * nis/nis_hash.c: Likewise.
19758 * nis/nis_print.c: Likewise.
19759 * nis/nis_xdr.c: Likewise.
19760 * nscd/connections.c: Likewise.
19761 * nscd/hstcache.c: Likewise.
19762 * nscd/nscd_gethst_r.c: Likewise.
19763 * nscd/nscd_getserv_r.c: Likewise.
19764 * nscd/nscd_helper.c: Likewise.
19765 * nscd/servicescache.c: Likewise.
19766 * nss/makedb.c: Likewise.
19767 * nss/nss_db/db-XXX.c: Likewise.
19768 * nss/nss_db/db-initgroups.c: Likewise.
19769 * nss/nss_db/db-netgrp.c: Likewise.
19770 * nss/nss_files/files-network.c: Likewise.
19771 * nss/nss_files/files-parse.c: Likewise.
19772 * posix/bug-regex5.c: Likewise.
19773 * posix/fnmatch_loop.c: Likewise.
19774 * posix/regcomp.c: Likewise.
19775 * posix/regexec.c: Likewise.
19776 * posix/tst-rfc3484-2.c: Likewise.
19777 * posix/tst-rfc3484-3.c: Likewise.
19778 * posix/tst-rfc3484.c: Likewise.
19779 * resolv/nss_dns/dns-canon.c: Likewise.
19780 * resolv/nss_dns/dns-network.c: Likewise.
19781 * resolv/res_init.c: Likewise.
19782 * resolv/res_mkquery.c: Likewise.
19783 * resolv/tst-aton.c: Likewise.
19784 * stdlib/cxa_atexit.c: Likewise.
19785 * stdlib/cxa_finalize.c: Likewise.
19786 * stdlib/gen-fpioconst.c: Likewise.
19787 * stdlib/strtol_l.c: Likewise.
19788 * string/tst-endian.c: Likewise.
19789 * sunrpc/auth_des.c: Likewise.
19790 * sunrpc/clnt_udp.c: Likewise.
19791 * sunrpc/rtime.c: Likewise.
19792 * sunrpc/svcauth_des.c: Likewise.
19793 * sunrpc/xdr.c: Likewise.
19794 * sunrpc/xdr_intXX_t.c: Likewise.
19795 * sunrpc/xdr_rec.c: Likewise.
19796 * sysdeps/generic/ldconfig.h: Likewise.
19797 * sysdeps/generic/ldsodefs.h: Likewise.
19798 * sysdeps/generic/memusage.h: Likewise.
19799 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
19800 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
19801 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
19802 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
19803 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
19804 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
19805 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
19806 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
19807 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
19808 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
19809 * sysdeps/posix/getaddrinfo.c: Likewise.
19810 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
19811 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
19812 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
19813 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
19814 * sysdeps/powerpc/test-gettimebase.c: Likewise.
19815 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
19816 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
19817 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
19818 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
19819 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
19820 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
19821 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
19822 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
19823 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
19824 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
19825 * sysdeps/x86_64/dl-tls.h: Likewise.
19826 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
19827 * time/alt_digit.c: Likewise.
19828 * time/era.c: Likewise.
19829 * wcsmbs/tst-c16c32-1.c: Likewise.
19831 2013-05-16 Joseph Myers <joseph@codesourcery.com>
19833 * math/libm-test.inc (struct test_sincos_data): New type.
19834 (RUN_TEST_LOOP_sincos): New macro.
19835 (sincos_test_data): New variable.
19836 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
19838 2013-05-16 Richard Henderson <rth@redhat.com>
19840 * math/atest-exp2.c (LIMB64): New macro.
19841 (CONSTSZ): New macro.
19842 (mp_exp1, mp_exp_m1, mp_log2): New variables.
19844 (print_mpn_fp): ... to function scope.
19845 (read_mpn_hex): Remove.
19846 (get_log2): Remove.
19847 (exp2_mpn): Use mp_log2.
19848 (main): Use mp_exp1.
19850 2013-05-16 Joseph Myers <joseph@codesourcery.com>
19852 * math/libm-test.inc: Remove comment about not testing "inexact"
19854 (INEXACT_EXCEPTION): New macro.
19855 (NO_INEXACT_EXCEPTION): Likewise.
19856 (INVALID_EXCEPTION_OK): Update value.
19857 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
19858 (OVERFLOW_EXCEPTION_OK): Likewise.
19859 (UNDERFLOW_EXCEPTION_OK): Likewise.
19860 (IGNORE_ZERO_INF_SIGN): Likewise.
19861 (ERRNO_UNCHANGED): Likewise.
19862 (ERRNO_EDOM): Likewise.
19863 (ERRNO_ERANGE): Likewise.
19864 (test_exceptions): Handle testing "inexact" exceptions.
19865 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
19866 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
19867 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
19868 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
19870 (rint_towardzero_test_data): Likewise.
19871 (rint_downward_test_data): Likewise.
19872 (rint_upward_test_data): Likewise.
19874 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
19875 with OVERFLOW_EXCEPTION.
19876 (exp10_test_data): Likewise.
19877 (exp2_test_data): Likewise.
19878 (expm1_test_data): Likewise.
19879 (lgamma_test_data): Likewise.
19880 (pow_test_data): Likewise.
19881 (tgamma_test_data): Likewise.
19882 (yn_test_data): Remove duplicate test of overflow.
19884 * math/libm-test.inc (struct test_cc_c_data): New type.
19885 (RUN_TEST_LOOP_cc_c): New macro.
19886 (cpow_test_data): New variable.
19887 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
19889 * math/libm-test.inc (struct test_f_L_data): New type.
19890 (RUN_TEST_LOOP_f_L): New macro.
19891 (llrint_test_data): New variable.
19892 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
19893 (llrint_tonearest_test_data): New variable.
19894 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
19895 (llrint_towardzero_test_data): New variable.
19896 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
19897 (llrint_downward_test_data): New variable.
19898 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
19899 (llrint_upward_test_data): New variable.
19900 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
19901 (llround_test_data): New variable.
19902 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
19904 2013-05-13 Peter Collingbourne <pcc@google.com>
19906 * math/atest-exp2.c (get_log2): Remove const attribute.
19908 2013-05-15 Joseph Myers <joseph@codesourcery.com>
19910 * math/libm-test.inc (struct test_f_l_data): New type.
19911 (RUN_TEST_LOOP_f_l): New macro.
19912 (lrint_test_data): New variable.
19913 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
19914 (lrint_tonearest_test_data): New variable.
19915 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
19916 (lrint_towardzero_test_data): New variable.
19917 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
19918 (lrint_downward_test_data): New variable.
19919 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
19920 (lrint_upward_test_data): New variable.
19921 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
19922 (lround_test_data): New variable.
19923 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
19925 2013-05-15 Peter Collingbourne <pcc@google.com>
19927 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
19928 (EXTRACT_WORDS64) Use where appropriate.
19929 (INSERT_WORDS64) Likewise.
19931 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
19932 constraints with x constraints.
19933 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
19935 * malloc/obstack.c (_obstack_compat): Add initializer.
19937 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
19939 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
19940 si_trapno and add si_addr_lsb to _sifields.sigfault.
19941 (si_trapno): Remove macro.
19942 (si_addr_lsb): Define new macro.
19943 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
19945 2013-05-15 Joseph Myers <joseph@codesourcery.com>
19947 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
19948 instead of TEST_f_l.
19949 (llrint_test_tonearest): Likewise.
19950 (llrint_test_towardzero): Likewise.
19951 (llrint_test_downward): Likewise.
19952 (llrint_test_upward): Likewise.
19953 (llround_test): Likewise.
19955 * math/libm-test.inc (struct test_f_i_data): Add comment.
19956 (RUN_TEST_LOOP_f_b): New macro.
19957 (RUN_TEST_LOOP_f_b_tg): Likewise.
19958 (finite_test_data): New variable.
19959 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
19960 (isfinite_test_data): New variable.
19961 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19962 (isinf_test_data): New variable.
19963 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19964 (isnan_test_data): New variable.
19965 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19966 (isnormal_test_data): New variable.
19967 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19968 (issignaling_test_data): New variable.
19969 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19970 (signbit_test_data): New variable.
19971 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19973 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
19974 with INVALID_EXCEPTION.
19975 (acosh_test_data): Likewise.
19976 (asin_test_data): Likewise.
19977 (atanh_test_data): Likewise.
19978 (fmod_test_data): Likewise.
19979 (log_test_data): Likewise.
19980 (log10_test_data): Likewise.
19981 (log2_test_data): Likewise.
19982 (pow_test_data): Likewise.
19983 (sqrt_test_data): Likewise.
19984 (y0_test_data): Likewise.
19985 (y1_test_data): Likewise.
19986 (yn_test_data): Likewise.
19988 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
19991 * math/libm-test.inc (struct test_ff_i_data): New type.
19992 (RUN_TEST_LOOP_ff_i_tg): New macro.
19993 (isgreater_test_data): New variable.
19994 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19995 (isgreaterequal_test_data): New variable.
19996 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19997 (isless_test_data): New variable.
19998 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19999 (islessequal_test_data): New variable.
20000 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20001 (islessgreater_test_data): New variable.
20002 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20003 (isunordered_test_data): New variable.
20004 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20006 2013-05-14 David S. Miller <davem@davemloft.net>
20008 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20010 2013-05-14 Joseph Myers <joseph@codesourcery.com>
20012 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
20014 * math/libm-test.inc (struct test_fF_f1_data): Change type of
20016 (struct test_f_i_data): Change type of max_ulp to int.
20018 * math/libm-test.inc (test_ffI_f1_data): New type.
20019 (RUN_TEST_LOOP_ffI_f1): New macro.
20020 (remquo_test_data): New variable.
20021 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
20023 * setjmp/tst-setjmp-fp.c: New file.
20024 * setjmp/Makefile (tests): Add tst-setjmp-fp.
20025 (link-libm): New variable.
20026 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
20028 * math/libm-test.inc (struct test_f_i_data): New type.
20029 (RUN_TEST_LOOP_f_i): New macro.
20030 (RUN_TEST_LOOP_f_i_tg): Likewise.
20031 (fpclassify_test_data): New variable.
20032 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
20033 (ilogb_test_data): New variable.
20034 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
20036 * math/libm-test.inc (scalbln_test): Correct function name in END
20039 * math/libm-test.inc (struct test_f_f1_data): Add comment.
20040 (RUN_TEST_LOOP_fI_f1): New macro.
20041 (frexp_test_data): New variable.
20042 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
20044 * math/libm-test.inc (struct test_fF_f1_data): New type.
20045 (RUN_TEST_LOOP_fF_f1): New macro.
20046 (modf_test_data): New variable.
20047 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
20049 * math/libm-test.inc (struct test_f_f1_data): New type.
20050 (RUN_TEST_LOOP_f_f1): New macro.
20051 (gamma_test_data): New variable.
20052 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
20053 (lgamma_test_data): New variable.
20054 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
20056 2013-05-13 Carlos O'Donell <carlos@redhat.com>
20058 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
20059 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
20060 (main): Comment "tls" pseudo-hwcap.
20062 2013-05-13 Joseph Myers <joseph@codesourcery.com>
20064 * math/libm-test.inc (struct test_fl_f_data): New type.
20065 (RUN_TEST_LOOP_fl_f): New variable.
20066 (scalbln_test_data): New variable.
20067 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
20069 * math/libm-test.inc (struct test_fi_f_data): New type.
20070 (RUN_TEST_LOOP_fi_f): New macro.
20071 (ldexp_test_data): New variable.
20072 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
20073 (scalbn_test_data): New variable.
20074 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
20076 * math/libm-test.inc (struct test_c_f_data): New type.
20077 (RUN_TEST_LOOP_c_f): New macro.
20078 (cabs_test_data): New variable.
20079 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
20080 (carg_test_data): New variable.
20081 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
20082 (cimag_test_data): New variable.
20083 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
20084 (creal_test_data): New variable.
20085 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
20087 * math/libm-test.inc (struct test_if_f_data): New type.
20088 (RUN_TEST_LOOP_if_f): New macro.
20089 (jn_test_data): New variable.
20090 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
20091 (yn_test_data): New variable.
20092 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
20094 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
20096 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20098 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
20099 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
20101 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
20103 * benchtests/Makefile (CPPFLAGS-nonlib): Add
20104 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
20105 (bench-deps): Add bench-timing.h.
20106 * benchtests-bench-skeleton.c: Include bench-timing.h.
20107 (main): Use TIMING_* macros instead of clock_gettime.
20108 * benchtests/bench-timing.h: New file.
20111 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
20112 Renamed from _LIB_VERSION.
20113 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
20115 2013-05-12 Joseph Myers <joseph@codesourcery.com>
20117 * math/libm-test.inc (struct test_fff_f_data): New type.
20118 (RUN_TEST_LOOP_fff_f): New macro.
20119 (fma_test_data): New variable.
20120 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
20121 (fma_towardzero_test_data): New variable.
20122 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
20123 (fma_downward_test_data): New variable.
20124 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
20125 (fma_upward_test_data): New variable.
20126 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
20128 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
20129 (struct test_c_c_data): New type.
20130 (RUN_TEST_LOOP_c_c): New macro.
20131 (cacos_test_data): New variable.
20132 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
20133 (cacosh_test_data): New variable.
20134 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
20135 (casin_test_data): New variable.
20136 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
20137 (casinh_test_data): New variable.
20138 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
20139 (catan_test_data): New variable.
20140 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
20141 (catanh_test_data): New variable.
20142 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
20143 (ccos_test_data): New variable.
20144 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
20145 (ccosh_test_data): New variable.
20146 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
20147 (cexp_test_data): New variable.
20148 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
20149 (clog_test_data): New variable.
20150 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
20151 (clog10_test_data): New variable.
20152 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
20153 (conj_test_data): New variable.
20154 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
20155 (cproj_test_data): New variable.
20156 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
20157 (csin_test_data): New variable.
20158 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
20159 (csinh_test_data): New variable.
20160 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
20161 (csqrt_test_data): New variable.
20162 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
20163 (ctan_test_data): New variable.
20164 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
20165 (ctan_tonearest_test_data): New variable.
20166 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
20167 (ctan_towardzero_test_data): New variable.
20168 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
20169 (ctan_downward_test_data): New variable.
20170 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
20171 (ctan_upward_test_data): New variable.
20172 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
20173 (ctanh_test_data): New variable.
20174 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
20175 (ctanh_tonearest_test_data): New variable.
20176 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
20177 (ctanh_towardzero_test_data): New variable.
20178 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
20179 (ctanh_downward_test_data): New variable.
20180 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
20181 (ctanh_upward_test_data): New variable.
20182 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
20183 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
20186 * math/libm-test.inc (struct test_ff_f_data): New type.
20187 (struct test_ff_f_data_nexttoward): Likewise.
20188 (RUN_TEST_LOOP_2_f): New macro.
20189 (RUN_TEST_LOOP_ff_f): Likewise.
20190 (atan2_test_data): New variable.
20191 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
20192 (copysign_test_data): New variable.
20193 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
20194 (fdim_test_data): New variable.
20195 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
20196 (fmax_test_data): New variable.
20197 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
20198 (fmin_test_data): New variable.
20199 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
20200 (fmod_test_data): New variable.
20201 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
20202 (hypot_test_data): New variable.
20203 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
20204 (nextafter_test_data): New variable.
20205 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
20206 (nexttoward_test_data): New variable.
20207 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
20208 (pow_test_data): New variable.
20209 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
20210 (pow_tonearest_test_data): New variable.
20211 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
20212 (pow_towardzero_test_data): New variable.
20213 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
20214 (pow_downward_test_data): New variable.
20215 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
20216 (pow_upward_test_data): New variable.
20217 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
20218 (remainder_test_data): New variable.
20219 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
20220 (scalb_test_data): New variable.
20221 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
20222 * sysdeps/i386/fpu/libm-test-ulps: Update.
20224 2013-05-11 Joseph Myers <joseph@codesourcery.com>
20226 * math/libm-test.inc (fma_test): Use max_value instead of local
20228 (nextafter_test): Likewise.
20230 * math/libm-test.inc (acos_towardzero_test_data): New variable.
20231 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20232 (acos_downward_test_data): New variable.
20233 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20234 (acos_upward_test_data): New variable.
20235 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20236 (acosh_test_data): New variable.
20237 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
20238 (asin_test_data): New variable.
20239 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
20240 (asin_tonearest_test_data): New variable.
20241 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20242 (asin_towardzero_test_data): New variable.
20243 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20244 (asin_downward_test_data): New variable.
20245 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20246 (asin_upward_test_data): New variable.
20247 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20248 (asinh_test_data): New variable.
20249 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
20250 (atan_test_data): New variable.
20251 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
20252 (atanh_test_data): New variable.
20253 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
20254 (cbrt_test_data): New variable.
20255 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
20256 (ceil_test_data): New variable.
20257 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
20258 (cos_test_data): New variable.
20259 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
20260 (cos_tonearest_test_data): New variable.
20261 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20262 (cos_towardzero_test_data): New variable.
20263 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20264 (cos_downward_test_data): New variable.
20265 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20266 (cos_upward_test_data): New variable.
20267 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20268 (cosh_test_data): New variable.
20269 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
20270 (cosh_tonearest_test_data): New variable.
20271 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20272 (cosh_towardzero_test_data): New variable.
20273 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20274 (cosh_downward_test_data): New variable.
20275 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20276 (cosh_upward_test_data): New variable.
20277 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20278 (erf_test_data): New variable.
20279 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
20280 (erfc_test_data): New variable.
20281 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
20282 (exp_test_data): New variable.
20283 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
20284 (exp_tonearest_test_data): New variable.
20285 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20286 (exp_towardzero_test_data): New variable.
20287 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20288 (exp_downward_test_data): New variable.
20289 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20290 (exp_upward_test_data): New variable.
20291 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20292 (exp10_test_data): New variable.
20293 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
20294 (exp2_test_data): New variable.
20295 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
20296 (expm1_test_data): New variable.
20297 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
20298 (fabs_test_data): New variable.
20299 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
20300 (floor_test_data): New variable.
20301 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
20302 (j0_test_data): New variable.
20303 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
20304 (j1_test_data): New variable.
20305 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
20306 (log_test_data): New variable.
20307 (log_test): Run tests with RUN_TEST_LOOP_f_f.
20308 (log10_test_data): New variable.
20309 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
20310 (log1p_test_data): New variable.
20311 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
20312 (log2_test_data): New variable.
20313 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
20314 (logb_test_data): New variable.
20315 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
20316 (logb_downward_test_data): New variable.
20317 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20318 (nearbyint_test_data): New variable.
20319 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
20320 (rint_test_data): New variable.
20321 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
20322 (rint_tonearest_test_data): New variable.
20323 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20324 (rint_towardzero_test_data): New variable.
20325 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20326 (rint_downward_test_data): New variable.
20327 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20328 (rint_upward_test_data): New variable.
20329 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20330 (round_test_data): New variable.
20331 (round_test): Run tests with RUN_TEST_LOOP_f_f.
20332 (sin_test_data): New variable.
20333 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
20334 (sin_tonearest_test_data): New variable.
20335 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20336 (sin_towardzero_test_data): New variable.
20337 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20338 (sin_downward_test_data): New variable.
20339 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20340 (sin_upward_test_data): New variable.
20341 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20342 (sinh_test_data): New variable.
20343 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
20344 (sinh_tonearest_test_data): New variable.
20345 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20346 (sinh_towardzero_test_data): New variable.
20347 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20348 (sinh_downward_test_data): New variable.
20349 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20350 (sinh_upward_test_data): New variable.
20351 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20352 (sqrt_test_data): New variable.
20353 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
20354 (tan_test_data): New variable.
20355 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
20356 (tan_tonearest_test_data): New variable.
20357 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20358 (tan_towardzero_test_data): New variable.
20359 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20360 (tan_downward_test_data): New variable.
20361 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20362 (tan_upward_test_data): New variable.
20363 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20364 (tanh_test_data): New variable.
20365 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
20366 (tgamma_test_data): New variable.
20367 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
20368 (trunc_test_data): New variable.
20369 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
20370 (y0_test_data): New variable.
20371 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
20372 (y1_test_data): New variable.
20373 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
20374 (significand_test_data): New variable.
20375 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
20377 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
20380 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
20382 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
20384 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
20386 2013-05-10 Andreas Jaeger <aj@suse.de>
20389 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
20390 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
20392 2013-05-10 Joseph Myers <joseph@codesourcery.com>
20394 * math/gen-libm-test.pl (adjust_arg): New function.
20395 (special_functions): Handle generating output in both functions
20397 (parse_args): Likewise.
20398 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
20399 $in_func argument to parse_args.
20400 * math/libm-test.inc (struct test_f_f_data): New type.
20401 (IF_ROUND_INIT_): New macro.
20402 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
20403 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
20404 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
20405 (IF_ROUND_INIT_FE_UPWARD): Likewise.
20406 (ROUND_RESTORE_): Likewise.
20407 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
20408 (ROUND_RESTORE_FE_TONEAREST): Likewise.
20409 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
20410 (ROUND_RESTORE_FE_UPWARD): Likewise.
20411 (RUN_TEST_LOOP_f_f): New macro.
20412 (acos_test_data): New variable.
20413 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
20414 (acos_tonearest_test_data): New variable.
20415 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20417 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
20419 * benchtests/bench-skeleton.c (startup): Fix coding style.
20421 2013-05-10 Joseph Myers <joseph@codesourcery.com>
20424 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
20425 negative infinity argument.
20426 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
20427 negative infinity argument.
20428 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
20429 negative infinity argument.
20430 * math/libm-test.inc (tgamma_test): Expect errno to be set for
20433 2013-05-10 Florian Weimer <fweimer@redhat.com>
20435 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
20436 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
20437 * iconv/iconv_prog.c (main): Likewise.
20438 * locale/programs/charmap-dir.c (charmap_readdir)
20439 (fopen_uncompressed): Likewise.
20440 * locale/programs/locfile.c (siblings_uncached)
20441 (write_locale_data): Use lstat64 instead of lstat.
20442 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
20445 2013-05-10 Andreas Jaeger <aj@suse.de>
20448 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
20450 Include <locale.h>.
20452 2013-05-09 Carlos O'Donell <carlos@redhat.com>
20454 * elf/dl-close.c (_dl_close_worker): Add comments.
20456 2013-05-09 Joseph Myers <joseph@codesourcery.com>
20459 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
20461 (__ieee754_rem_pio2l): Update comments.
20464 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
20466 (__ieee754_rem_pio2l): Update comments.
20468 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
20469 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
20471 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
20474 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
20475 (M_PI_34_LOG10El): Likewise.
20476 (M_PI2_LOG10El): Likewise.
20477 (M_PI4_LOG10El): Likewise.
20478 (M_PI_LOG10El): Likewise.
20480 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20482 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20484 2013-05-08 Joseph Myers <joseph@codesourcery.com>
20486 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
20487 (MINUS_ZERO_INIT): Likewise.
20488 (PLUS_INFTY_INIT): Likewise.
20489 (MINUS_INFTY_INIT): Likewise.
20490 (QNAN_VALUE_INIT): Likewise.
20491 (MAX_VALUE_INIT): Likewise.
20492 (MIN_VALUE_INIT): Likewise.
20493 (MIN_SUBNORM_VALUE_INIT): Likewise.
20494 (plus_zero): Initialize with PLUS_ZERO_INIT.
20495 (minus_zero): Initialize with MINUS_ZERO_INIT.
20496 (plus_infty): Initialize with PLUS_INFTY_INIT.
20497 (minus_infty): Initialize with MINUS_INFTY_INIT.
20498 (qnan_value): Initialize with QNAN_VALUE_INIT.
20499 (max_value): Initialize with MAX_VALUE_INIT.
20500 (min_value): Initialize with MIN_VALUE_INIT.
20501 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
20503 * math/libm-test.inc (RUN_TEST_if_f): New macro.
20504 (jn_test): Use TEST_if_f instead of TEST_ff_f.
20505 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
20506 (yn_test): Use TEST_if_f instead of TEST_ff_f.
20508 * math/libm-test.inc (RUN_TEST_f_f): New macro.
20509 (RUN_TEST_2_f): Likewise.
20510 (RUN_TEST_ff_f): Likewise.
20511 (RUN_TEST_fi_f): Likewise.
20512 (RUN_TEST_fl_f): Likewise.
20513 (RUN_TEST_fff_f): Likewise.
20514 (RUN_TEST_c_f): Likewise.
20515 (RUN_TEST_f_f1): Likewise.
20516 (RUN_TEST_fF_f1): Likewise.
20517 (RUN_TEST_fI_f1): Likewise.
20518 (RUN_TEST_ffI_f1): Likewise.
20519 (RUN_TEST_c_c): Likewise.
20520 (RUN_TEST_cc_c): Likewise.
20521 (RUN_TEST_f_i): Likewise.
20522 (RUN_TEST_f_i_tg): Likewise.
20523 (RUN_TEST_ff_i_tg): Likewise.
20524 (RUN_TEST_f_b): Likewise.
20525 (RUN_TEST_f_b_tg): Likewise.
20526 (RUN_TEST_f_l): Likewise.
20527 (RUN_TEST_f_L): Likewise.
20528 (RUN_TEST_sincos): Likewise.
20529 * math/gen-libm-test.pl (new_test): Take new argument to indicate
20530 whether to show exceptions. Do not include ");\n" in return
20532 (special_functions): Output call to RUN_TEST_sincos instead of
20533 check_float calls. Update calls to new_test.
20534 (parse_args): Output call to single RUN_TEST_* macro instead of
20535 check_* calls and other assignments. Update calls to new_test.
20541 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
20542 input to result for tgamma overflow.
20543 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
20544 (gamma_coeff): New variable.
20545 (NCOEFF): New macro.
20546 (gamma_positive): New function.
20547 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
20548 underflow here. Use gamma_positive instead of exp (lgamma) for
20550 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
20551 (gamma_coeff): New variable.
20552 (NCOEFF): New macro.
20553 (gammaf_positive): New function.
20554 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
20555 underflow here. Use gamma_positive instead of exp (lgamma) for
20557 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
20558 (gamma_coeff): New variable.
20559 (NCOEFF): New macro.
20560 (gammal_positive): New function.
20561 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
20562 underflow here. Use gamma_positive instead of exp (lgamma) for
20564 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
20565 (gamma_coeff): New variable.
20566 (NCOEFF): New macro.
20567 (gammal_positive): New function.
20568 (__ieee754_gammal_r): Handle positive infinity, overflow and
20569 underflow here. Handle NaN the same as positive infinity. Remove
20570 check x < 0xffffffff for negative integers. Use gamma_positive
20571 instead of exp (lgamma) for other arguments.
20572 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
20573 (gamma_coeff): New variable.
20574 (NCOEFF): New macro.
20575 (gammal_positive): New function.
20576 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
20577 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
20578 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
20579 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
20580 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
20581 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
20582 * sysdeps/generic/math_private.h (__gamma_productf): New
20584 (__gamma_product): Likewise.
20585 (__gamma_productl): Likewise.
20586 * math/Makefile (libm-calls): Add gamma_product.
20587 * math/libm-test.inc (tgamma_test): Add more tests.
20588 * sysdeps/i386/fpu/libm-test-ulps: Update.
20589 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20591 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
20593 * benchtests/bench-skeleton.c (main): Preheat CPU.
20595 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
20597 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
20599 2013-05-07 Roland McGrath <roland@hack.frob.com>
20601 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
20602 and _dl_skip_args_internal.
20604 2013-05-07 Carlos O'Donell <carlos@redhat.com>
20606 * manual/message.texi (Message Translation): Talk about users.
20607 Message to key mapping impacts design.
20609 2013-05-06 Roland McGrath <roland@hack.frob.com>
20611 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
20613 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
20615 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
20616 * sysdeps/wordsize-64/glob64.c: ... here.
20618 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
20619 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
20622 * debug/getlogin_r_chk.c: Moved to ...
20623 * login/getlogin_r_chk.c: ... here.
20624 * debug/Makefile (routines): Move getlogin_r_chk to ...
20625 * login/Makefile (routines): ... here.
20626 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
20627 * login/Versions (libc: GLIBC_2.4): ... here.
20629 * io/poll.c (__poll): Renamed from poll.
20630 Add libc_hidden_def.
20631 (poll): Define as weak alias.
20633 * debug/ptsname_r_chk.c: Moved to ...
20634 * login/ptsname_r_chk.c: ... here.
20635 * debug/Makefile (routines): Move ptsname_r_chk to ...
20636 * login/Makefile (routines): ... here.
20637 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
20638 * login/Versions (libc: GLIBC_2.4): ... here.
20640 * posix/getlogin.c: Moved to ...
20641 * login/getlogin.c: ... here.
20642 * posix/getlogin_r.c: Moved to ...
20643 * login/getlogin_r.c: ... here.
20644 * posix/getlogin_r.c: Moved to ...
20645 * login/getlogin_r.c: ... here.
20646 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
20647 * login/Makefile (routines): ... here.
20648 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
20649 * login/Versions (libc: GLIBC_2.0): ... here.
20651 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
20652 (setrlimit): Define as weak alias.
20654 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
20655 Call __ names for open, ftruncate, and close.
20656 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
20657 (truncate): Define as weak alias.
20659 2013-05-06 Joseph Myers <joseph@codesourcery.com>
20661 * math/gen-libm-test.pl (parse_args): Initialize x before each
20662 test of frexp, modf and remquo.
20664 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
20665 test signgam value.
20667 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20671 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
20673 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
20675 2013-05-06 Roland McGrath <roland@hack.frob.com>
20677 * elf/dl-writev.h: New file.
20678 * elf/dl-misc.c: Include it.
20679 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
20680 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
20682 2013-05-04 Joseph Myers <joseph@codesourcery.com>
20684 * math/libm-test.inc (noXFails): Remove variable.
20685 (noXPasses): Likewise.
20686 (BUILD_COMPLEX_INT): Remove macro.
20687 (print_screen): Remove xfail argument.
20688 (print_screen_max_error): Likewise.
20689 (update_stats): Likewise.
20690 (print_max_error): Likewise. Update calls to other affected
20692 (print_complex_max_error): Likewise.
20693 (test_single_exception): Update calls to print_screen.
20694 (test_single_errno): Likewise.
20695 (check_float_internal): Remove xfail argument. Update calls to
20696 other affected functions.
20697 (check_float): Likewise.
20698 (check_complex): Likewise.
20699 (check_int): Likewise.
20700 (check_long): Likewise.
20701 (check_bool): Likewise.
20702 (check_longlong): Likewise.
20703 (main): Don't print noXFails and noXPasses.
20704 * math/gen-libm-test.pl (top level): Don't mention expected
20705 failure handling in comment.
20706 (new_test): Don't handle expected failures.
20707 (parse_args): Don't mention expected failure handling in comment.
20708 (generate_testfile): Don't handle expected failures.
20709 (parse_ulps): Likewise.
20710 (print_ulps_file): Likewise.
20711 (get_failure): Remove function.
20712 (output_test): Don't handle expected failures.
20713 * make/README.libm-test: Don't mention expected failure handling.
20715 * math/libm-test.inc (plus_zero): Make const. Add initializer.
20716 (minus_zero): Likewise.
20717 (plus_infty): Likewise.
20718 (minus_infty): Likewise.
20719 (qnan_value): Likewise.
20720 (max_value): Likewise.
20721 (min_value): Likewise.
20722 (min_subnorm_value): Likewise.
20723 (initialize): Do not initialize those variables dynamically.
20725 2013-05-03 Roland McGrath <roland@hack.frob.com>
20727 * io/open.c (__open_2): Moved to ...
20728 * io/open_2.c: ... this new file.
20729 * io/open64.c (__open64_2): Moved to ...
20730 * io/open64_2.c: ... this new file.
20731 * io/openat.c (__openat_2): Moved to ...
20732 * io/openat_2.c: ... this new file.
20733 * io/openat64.c (__openat64_2): Moved to ...
20734 * io/openat64_2.c: ... this new file.
20735 * io/Makefile (routines): Add them.
20736 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
20737 * sysdeps/unix/sysv/linux/open_2.c: File removed.
20738 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
20739 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
20740 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
20741 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
20742 (__openat64): Add hidden_ver.
20743 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
20744 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
20746 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
20747 Separately conditionalize setting of GLRO(dl_sysinfo) so
20748 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
20749 as well, but the actual setting is only under [NEED_DL_SYSINFO].
20751 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20753 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
20754 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
20756 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
20757 * sysdeps/unix/sysv/linux/powerpc/init-first.c
20758 (_libc_vdso_platform_setup): Add __vdso_time initialization.
20759 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
20760 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
20762 2013-05-03 Joseph Myers <joseph@codesourcery.com>
20764 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
20765 test signgam value.
20767 * math/libm-test.inc (hypot_test): Do not use
20768 IGNORE_ZERO_INF_SIGN.
20770 2013-05-03 Andreas Jaeger <aj@suse.de>
20772 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
20774 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
20775 (PF_MAX): Adjust for VSOCK change.
20777 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20779 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20781 2013-05-02 Carlos O'Donell <carlos@redhat.com>
20784 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
20785 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
20786 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
20788 2013-05-02 David S. Miller <davem@davemloft.net>
20790 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20792 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
20794 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
20796 2013-05-01 Roland McGrath <roland@hack.frob.com>
20798 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
20800 2013-05-01 Richard Smith <richard@metafoo.co.uk>
20803 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
20804 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
20805 Use __attribute__ ((__gnu_inline__)).
20806 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
20807 Don't use __attribute__ ((__gnu_inline__)).
20809 2013-05-01 Joseph Myers <joseph@codesourcery.com>
20812 * math/s_catan.c (__catan): Handle small real or imaginary part of
20813 input specially to avoid spurious underflow.
20814 * math/s_catanf.c (__catanf): Likewise.
20815 * math/s_catanh.c (__catanh): Likewise.
20816 * math/s_catanhf.c (__catanhf): Likewise.
20817 * math/s_catanhl.c (__catanhl): Likewise.
20818 * math/s_catanl.c (__catanl): Likewise.
20819 * math/libm-test.inc (catan_test): Add more tests.
20820 (catanh_test): Likewise.
20821 * sysdeps/i386/fpu/libm-test-ulps: Update.
20822 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20824 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20826 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20828 2013-04-30 Joseph Myers <joseph@codesourcery.com>
20831 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
20832 accurately for denominator in atan2.
20833 * math/s_catanf.c (__catanf): Likewise.
20834 * math/s_catanh.c (__catanh): Likewise.
20835 * math/s_catanhf.c (__catanhf): Likewise.
20836 * math/s_catanhl.c (__catanhl): Likewise.
20837 * math/s_catanl.c (__catanl): Likewise.
20838 * math/libm-test.inc (catan_test): Add more tests.
20839 (catanh_test): Likewise.
20840 * sysdeps/i386/fpu/libm-test-ulps: Update.
20841 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20843 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
20845 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
20847 * benchtests/Makefile (bench): Remove slow benchmarks.
20848 * benchtests/atan-inputs: Add slow benchmark inputs.
20849 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
20850 (BENCH_FUNC): Accept variant offset.
20852 * benchtests/bench-skeleton.c (main): Run benchmark for each
20854 * benchtests/cos-inputs: Add slow benchmark inputs.
20855 * benchtests/exp-inputs: Likewise.
20856 * benchtests/pow-inputs: Likewise.
20857 * benchtests/sin-inputs: Likewise.
20858 * benchtests/slowatan-inputs: Remove.
20859 * benchtests/slowatan.c: Remove.
20860 * benchtests/slowcos-inputs: Remove.
20861 * benchtests/slowcos.c: Remove.
20862 * benchtests/slowexp-inputs: Remove.
20863 * benchtests/slowexp.c: Remove.
20864 * benchtests/slowpow-inputs: Remove.
20865 * benchtests/slowpow.c: Remove.
20866 * benchtests/slowsin-inputs: Remove.
20867 * benchtests/slowsin.c: Remove.
20868 * benchtests/slowtan-inputs: Remove.
20869 * benchtests/slowtan.c: Remove.
20870 * benchtests/tan-inputs: Add slow benchmark inputs.
20871 * scripts/bench.pl: Parse comments and directives.
20873 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
20875 ($(objpfx)bench-%.c): Remove *-ITER.
20876 * benchtests/bench-modf.c: Remove definition of ITER.
20877 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
20878 (main): Loop for DURATION seconds instead of fixed number of
20880 * scripts/bench.pl: Don't expect iterations in parameters.
20882 2013-04-29 Roland McGrath <roland@hack.frob.com>
20884 * io/fchdir.c (__fchdir): Renamed from fchdir.
20885 (fchdir): Define as weak alias.
20887 2013-04-29 Joseph Myers <joseph@codesourcery.com>
20889 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
20890 (ERRNO_EDOM): Likewise.
20891 (ERRNO_ERANGE): Likewise.
20892 (noErrnoTests): New variable.
20893 (init_max_error): Set errno to 0.
20894 (test_single_errno): New function.
20895 (test_errno): Likewise.
20896 (check_float_internal): Call test_errno. Set errno to 0.
20897 (check_complex): Refer to errno tests in comment.
20898 (check_int): Call test_errno. Set errno to 0.
20899 (check_long): Likewise.
20900 (check_bool): Likewise.
20901 (check_longlong): Likewise.
20902 (cos_test): Use ERRNO_* flags for errno tests instead of
20904 (expm1_test): Likewise.
20905 (fmod_test): Likewise.
20906 (ilogb_test): Likewise.
20907 (lgamma_test): Likewise.
20908 (pow_test): Likewise.
20909 (remainder_test): Likewise.
20910 (sin_test): Likewise.
20911 (tan_test): Likewise.
20912 (yn_test): Likewise.
20913 (initialize): Set errno to 0.
20914 (main): Print number of errno tests.
20915 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
20917 2013-04-29 Andreas Jaeger <aj@suse.de>
20920 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
20924 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
20925 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
20929 * stdlib/random.c (__initstate): Return NULL if
20933 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
20934 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
20937 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20939 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20941 2013-04-29 Joseph Myers <joseph@codesourcery.com>
20943 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
20944 of individual tests.
20945 (casin_test): Likewise.
20946 (casinh_test): Likewise.
20948 2013-04-27 Joseph Myers <joseph@codesourcery.com>
20951 * math/s_catan.c (__catan): Handle arguments with large real or
20952 imaginary part separately without squaring.
20953 * math/s_catanf.c (__catanf): Likewise.
20954 * math/s_catanh.c (__catanh): Likewise.
20955 * math/s_catanhf.c (__catanhf): Likewise.
20956 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
20958 (__catanhl): Handle arguments with large real or imaginary part
20959 separately without squaring.
20960 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
20962 (__catanl): Handle arguments with large real or imaginary part
20963 separately without squaring.
20964 * math/libm-test.inc (catan_test): Add more tests.
20965 (catanh_test): Likewise.
20966 * sysdeps/i386/fpu/libm-test-ulps: Update.
20967 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20969 2013-04-27 Andreas Jaeger <aj@suse.de>
20972 * stdlib/stdlib.h: Update guards for qecvt.
20973 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
20976 2013-04-27 Allan McRae <allan@archlinux.org>
20978 * sysdeps/i386/fpu/libm-test-ulps: Update.
20980 2013-04-26 Joseph Myers <joseph@codesourcery.com>
20983 * math/s_catan.c: Include <float.h>.
20984 (__catan): Ensure underflow exception occurs for underflowed
20986 * math/s_catanf.c: Include <float.h>.
20987 (__catanf): Ensure underflow exception occurs for underflowed
20989 * math/s_catanh.c: Include <float.h>.
20990 (__catanh): Ensure underflow exception occurs for underflowed
20992 * math/s_catanhf.c: Include <float.h>.
20993 (__catanhf): Ensure underflow exception occurs for underflowed
20995 * math/s_catanhl.c: Include <float.h>.
20996 (__catanhl): Ensure underflow exception occurs for underflowed
20998 * math/s_catanl.c: Include <float.h>.
20999 (__catanl): Ensure underflow exception occurs for underflowed
21001 * math/libm-test.inc (catan_test): Add more tests.
21002 (catanh_test): Likewise.
21005 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
21006 underflowed result.
21007 * math/s_ccoshf.c (__ccoshf): Likewise.
21008 * math/s_ccoshl.c (__ccoshl): Likewise.
21009 * math/s_csin.c (__csin): Likewise.
21010 * math/s_csinf.c (__csinf): Likewise.
21011 * math/s_csinh.c (__csinh): Likewise.
21012 * math/s_csinhf.c (__csinhf): Likewise.
21013 * math/s_csinhl.c (__csinhl): Likewise.
21014 * math/s_csinl.c (__csinl): Likewise.
21015 * math/libm-test.inc (ccos_test): Add more tests.
21016 (ccosh_test): Likewise.
21017 (csin_test): Likewise.
21018 (csinh_test): Likewise.
21020 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21022 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
21023 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
21024 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
21025 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
21026 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
21027 powerpc/power5+/fpu folders.
21028 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
21031 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
21033 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21035 2013-04-25 Joseph Myers <joseph@codesourcery.com>
21037 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
21038 additions to variable.
21039 [$(config-machine) = x86_64] (modules-names): Likewise.
21040 ($(objpfx)tst-audit3): Remove dependency.
21041 ($(objpfx)tst-audit3.out): Likewise.
21042 ($(objpfx)tst-audit4): Likewise.
21043 ($(objpfx)tst-audit4.out): Likewise.
21044 ($(objpfx)tst-audit5): Likewise.
21045 ($(objpfx)tst-audit5.out): Likewise.
21046 ($(objpfx)tst-audit6): Likewise.
21047 ($(objpfx)tst-audit6.out): Likewise.
21048 ($(objpfx)tst-audit7): Likewise.
21049 ($(objpfx)tst-audit7.out): Likewise.
21050 (tst-audit3-ENV): Remove variable.
21051 (tst-audit4-ENV): Likewise.
21052 (tst-audit5-ENV): Likewise.
21053 (tst-audit6-ENV): Likewise.
21054 (tst-audit7-ENV): Likewise.
21055 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
21056 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
21057 addition to variable.
21058 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
21059 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
21060 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
21061 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
21062 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
21063 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
21064 tst-audit3, tst-audit4 and tst-audit5.
21065 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
21066 tst-audit6 and tst-audit7.
21067 [$(subdir) = elf] (modules-names): Add audit modules for those
21069 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
21070 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
21071 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
21072 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
21073 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
21074 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
21075 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
21076 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
21077 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
21078 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
21079 [$(subdir) = elf] (tst-audit3-ENV): New variable.
21080 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
21081 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
21082 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
21083 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
21084 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
21086 [$(subdir) = elf && $(config-cflags-avx) = yes]
21087 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
21088 [$(subdir) = elf && $(config-cflags-avx) = yes]
21089 (CFLAGS-tst-auditmod4a.c): Likewise.
21090 [$(subdir) = elf && $(config-cflags-avx) = yes]
21091 (CFLAGS-tst-auditmod4b.c): Likewise.
21092 [$(subdir) = elf && $(config-cflags-avx) = yes]
21093 (CFLAGS-tst-auditmod6b.c): Likewise.
21094 [$(subdir) = elf && $(config-cflags-avx) = yes]
21095 (CFLAGS-tst-auditmod6c.c): Likewise.
21096 [$(subdir) = elf && $(config-cflags-avx) = yes]
21097 (CFLAGS-tst-auditmod7b.c): Likewise.
21098 * elf/tst-audit3.c: Move to ...
21099 * sysdeps/x86_64/tst-audit3.c: ... here.
21100 * elf/tst-audit4.c: Move to ...
21101 * sysdeps/x86_64/tst-audit4.c: ... here.
21102 * elf/tst-audit5.c: Move to ...
21103 * sysdeps/x86_64/tst-audit5.c: ... here.
21104 * elf/tst-audit6.c: Move to ...
21105 * sysdeps/x86_64/tst-audit6.c: ... here.
21106 * elf/tst-audit7.c: Move to ...
21107 * sysdeps/x86_64/tst-audit7.c: ... here.
21108 * elf/tst-auditmod3a.c: Move to ...
21109 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
21110 * elf/tst-auditmod3b.c: Move to ...
21111 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
21112 * elf/tst-auditmod4a.c: Move to ...
21113 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
21114 * elf/tst-auditmod4b.c: Move to ...
21115 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
21116 * elf/tst-auditmod5a.c: Move to ...
21117 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
21118 * elf/tst-auditmod5b.c: Move to ...
21119 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
21120 * elf/tst-auditmod6a.c: Move to ...
21121 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
21122 * elf/tst-auditmod6b.c: Move to ...
21123 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
21124 * elf/tst-auditmod6c.c: Move to ...
21125 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
21126 * elf/tst-auditmod7a.c: Move to ...
21127 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
21128 * elf/tst-auditmod7b.c: Move to ...
21129 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
21131 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
21134 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
21135 define unconditionally.
21136 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
21137 define unconditionally.
21138 (INT8_C, INT16_C, etc.): Likewise.
21140 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
21142 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
21143 __ehdr_start with hidden visibility.
21145 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
21147 2013-04-24 Carlos O'Donell <carlos@redhat.com>
21149 * math/libm-test.inc (cos_test): Use accurate hex constants.
21150 (sincost_test): Likewise.
21152 2013-04-24 Joseph Myers <joseph@codesourcery.com>
21154 * math/libm-test.inc (catan_test): Add more tests.
21155 (catanh_test): Likewise.
21157 * math/s_catanf.c (__catanf): Use suffixed floating-point
21159 * math/s_catanhf.c (__catanhf): Likewise.
21160 * math/s_catanhl.c (__catanhl): Likewise.
21161 * math/s_catanl.c (__catanl): Likewise.
21164 * math/s_catan.c (__catan): Calculate imaginary part of result
21165 with log1p not log unless computing log of number close to 0.
21166 * math/s_catanf.c (__catanf): Likewise.
21167 * math/s_catanl.c (__catanl): Likewise.
21168 * math/s_catanh.c (__catanh): Calculate real part of result with
21169 log1p not log unless computing log of number close to 0.
21170 * math/s_catanhf.c (__catanhf): Likewise.
21171 * math/s_catanhl.c (__catanhl): Likewise.
21172 * math/libm-test.inc (catan_test): Add more tests.
21173 (catanh_test): Likewise.
21174 * sysdeps/i386/fpu/libm-test-ulps: Update.
21175 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21177 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
21179 * benchtests/Makefile: Mention files in which fast and slow
21180 paths of math functions are implemented.
21182 2013-04-23 Roland McGrath <roland@hack.frob.com>
21184 * sysdeps/posix/timespec_get.c: New file.
21186 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21188 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
21190 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
21192 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
21193 powerpc/power5/fpu folders.
21194 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
21195 * benchtests/Makefile: Add modf testcase.
21196 * benchtests/bench-modf.c: New file: Benchmark test for mo
21198 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
21201 * time/Makefile (tests): Add tst-strptime-whitespace.
21202 * time/strptime_l.c (get_number): Use ISSPACE.
21203 (__strptime_internal): Likewise.
21204 * time/tst-strptime-whitespace.c: New test case.
21206 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
21208 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
21210 (_nss_files_init): Set it here.
21212 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
21214 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
21215 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
21218 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
21220 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
21222 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
21224 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
21227 2013-04-21 David S. Miller <davem@davemloft.net>
21229 * po/ru.po: Update Russion translation from translation project.
21231 2013-04-17 Adam Conrad <adconrad@0c3.net>
21233 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
21236 2013-04-17 Carlos O'Donell <carlos@redhat.com>
21238 * configure.in: Remove i386 configure warning. Remove i386 case.
21239 * configure: Regenerate.
21240 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
21241 Add example to error message.
21242 * sysdeps/i386/configure: Regenerate.
21244 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
21246 * benchtests/Makefile (bench): Add cos, tan, slowcos and
21248 * benchtests/cos-inputs: New file.
21249 * benchtests/slowcos-inputs: New file.
21250 * benchtests/slowcos.c: New file.
21251 * benchtests/slowtan-inputs: New file.
21252 * benchtests/slowtan.c: New file.
21253 * benchtests/tan-inputs: New file.
21255 2013-04-16 Roland McGrath <roland@hack.frob.com>
21257 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
21260 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
21262 * benchtests/Makefile: Include cppflags-iterator.mk to add
21263 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
21265 * Makefile.in (bench-clean): New target.
21266 * benchtests/Makefile (bench-clean): Likewise.
21268 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
21270 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
21272 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
21274 * stdio-common/tstdiomisc.c: Fix coding-style violation.
21276 2013-04-15 Andreas Schwab <schwab@suse.de>
21278 * nscd/grpcache.c (cache_addgr): Properly check for short write.
21279 * nscd/initgrcache.c (addinitgroupsX): Likewise.
21280 * nscd/pwdcache.c (cache_addpw): Likewise.
21281 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
21284 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
21286 * benchtests/Makefile (bench): Write all output to
21287 bench-out.tmp together.
21289 2013-04-15 Andreas Schwab <schwab@suse.de>
21291 * nscd/nscd.c (main): Don't fork again after closing files.
21293 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
21295 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
21297 * benchtests/Rules (bench-deps): Collect dependencies into a
21298 single variable. Add Makefile to dependencies.
21299 ($(objpfx)bench-%.c): Depend on bench-deps.
21301 2013-04-12 Roland McGrath <roland@hack.frob.com>
21302 Xavier Roche <roche+kml2@exalead.com>
21305 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
21306 just that it's a file descriptor.
21307 * manual/llio.texi (Synchronizing AIO Operations): Update description
21308 for EBADF error from aio_fsync.
21310 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
21312 * Rules (bench): Move target definition...
21313 * benchtests/Makefile: ... here.
21315 2013-04-11 Carlos O'Donell <carlos@redhat.com>
21317 * math/libm-test.inc (cos_test): Fix PI/2 test.
21318 (sincos_test): Likewise.
21319 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
21320 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
21322 2013-04-11 Andreas Schwab <schwab@suse.de>
21325 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
21326 accept exponent character only when digits were seen.
21327 * stdio-common/Makefile (tests): Add bug26.
21328 * stdio-common/bug26.c: New file.
21331 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
21334 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
21336 * Makeconfig (rtld-prefix): Define built linker prefix.
21337 * Rules (run-bench): Use it.
21338 * math/Makefile (run-regen-ulps): Likewise.
21340 * Rules (bench): Remove eval.
21342 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
21343 Roland McGrath <roland@hack.frob.com>
21344 Ondrej Bilka <neleai@seznam.cz>
21347 * time/getdate.c: Include ctype.h and alloca.h.
21348 (__getdate_r): Trim leading and trailing spaces of input.
21349 * time/tst-getdate.c (tests): Add tests with leading and
21352 2013-04-08 Roland McGrath <roland@hack.frob.com>
21355 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
21356 when computing value.
21358 2013-04-06 Carlos O'Donell <carlos@redhat.com>
21360 * math/README.libm-test (How can I generate "libm-test-ulps"?):
21361 Use testrun.sh to run libm tests.
21364 * elf/dl-open.c (dl_open_worker): memset all of seen array.
21366 2013-04-06 Marko Myllynen <myllynen@redhat.com>
21369 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
21371 2013-04-06 Carlos O'Donell <carlos@redhat.com>
21373 * Makefile.in (regen-ulps): New target.
21374 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
21375 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
21376 [ifneq (no,$(PERL)] (regen-ulps): New target.
21377 [ifeq (no,$(PERL)] (regen-ulps): New target.
21378 * math/libm-test.inc (ulps_file_name): Define.
21379 (output_dir): New variable.
21380 (options): Add "output-dir" option.
21381 (parse_opt): Handle 'o' case.
21382 (main): If output_dir is non-NULL use it as a prefix
21384 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
21386 2013-04-06 Carlos O'Donell <carlos@redhat.com>
21388 [BZ #10060, #10062]
21389 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
21390 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
21391 fail configure if __sync_val_compare_and_swap is not inlined.
21392 * sysdeps/i386/configure: Regenerate.
21393 * configure.in: Build for i686 when configured for i386.
21394 * configure: Regenerate.
21395 * README: Remove i386 reference.
21397 2013-04-06 Carlos O'Donell <carlos@redhat.com>
21399 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
21400 * sysdeps/s390/s390-64/sysdep.h: Likewise.
21402 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
21404 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
21405 (lmsnanval): New variables.
21406 (F): Add conversion tests.
21407 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
21408 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
21410 * stdio-common/tstdiomisc.c (F): Properly collect individual
21413 [BZ #14686, #15336]
21414 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
21415 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
21416 Instead, use input NaN values or generate a qNaN by arithmetic
21417 operation. Also fix bugs to comply with the standard.
21418 * math/libm-test.inc (remainder_test): Add more tests.
21420 [BZ #15335, #15342]
21421 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
21422 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
21423 input NaN values or generate a qNaN by arithmetic operation.
21425 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
21428 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
21431 2013-04-03 Joseph Myers <joseph@codesourcery.com>
21434 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
21435 underflowed result.
21436 * math/s_cexpf.c (__cexpf): Likewise.
21437 * math/s_cexpl.c (__cexpl): Likewise.
21438 * math/libm-test.inc (cexp_test): Add more tests.
21440 2013-04-03 Andreas Schwab <schwab@suse.de>
21443 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
21444 order arrays from heap if bigger than alloca cutoff.
21446 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
21448 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
21449 (SNAN_TESTS_double): Refer to GCC PR56831.
21450 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
21453 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
21455 * Rules (bench): Move bench.out after the run is complete.
21457 * Rules (bench): Echo currently running benchmark.
21459 * benchtests/Makefile (bench): Add atan and slowatan.
21460 * benchtests/atan-inputs: New file.
21461 * benchtests/slowatan-inputs: New file.
21462 * benchtests/slowatan.c: New file.
21464 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
21465 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
21469 * sysdeps/unix/sysv/linux/kernel-features.h
21470 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
21471 __ASSUME_XFS_RESTRICTED_CHOWN.
21472 * sysdeps/unix/sysv/linux/pathconf.c
21473 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
21474 Save and restore errno.
21476 2013-04-02 Joseph Myers <joseph@codesourcery.com>
21479 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
21480 arguments using __kernel_casinh.
21481 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
21482 arguments using __kernel_casinhf.
21483 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
21484 arguments using __kernel_casinhl.
21485 * math/libm-test.inc (cacosh_test): Add more tests.
21486 * sysdeps/i386/fpu/libm-test-ulps: Update.
21487 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21489 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
21491 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
21492 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
21494 * bench/Makefile (bench): Add sin and slowsin.
21495 * benchtests/sin-inputs: New file.
21496 * benchtests/slowsin-inputs: New file.
21497 * benchtests/slowsin.c: New file.
21499 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
21500 (bench): Add slowexp and slowpow.
21501 (exp-ITER): Increase iterations.
21502 (pow-ITER): Likewise.
21503 * benchtests/exp-inputs: Change input.
21504 * benchtests/pow-inputs: Likewise.
21505 * benchtests/slowexp-inputs: New file.
21506 * benchtests/slowexp.c: New file.
21507 * benchtests/slowpow-inputs: New file.
21508 * benchtests/slowpow.c: New file.
21510 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21512 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
21514 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
21515 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
21516 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
21517 * benchtests/Makefile: Add rint benchtest.
21518 * benchtests/rint-inputs: Input for rint benchtest.
21520 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
21522 * Versions.def (libm): Add GLIBC_2.18.
21523 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
21524 hidden libm prototypes.
21525 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
21526 * math/Makefile (libm-calls): Add s_issignaling.
21527 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
21528 __issignalingf, __issignalingl. Adjust all libm.abilist files.
21529 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
21531 * math/math.h [__USE_GNU] (issignaling): New macro.
21532 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
21533 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
21534 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
21535 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
21536 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
21537 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
21538 * manual/arith.texi (issignaling): New section.
21539 * manual/libm-err-tab.pl (@all_functions): Update comment.
21540 * math/gen-libm-test.pl (parse_args): Apply special handling for
21542 * math/libm-test.inc (print_float, issignaling_test): New
21544 (check_float_internal): Add issignaling checks.
21545 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
21546 default definition.
21547 * sysdeps/powerpc/math-tests.h: New file.
21548 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
21550 * math/test-snan.c (TEST_FUNC): Likewise.
21552 2013-03-30 David S. Miller <davem@davemloft.net>
21554 * po/de.po: Update from translation team.
21556 2013-03-30 Joseph Myers <joseph@codesourcery.com>
21559 * math/k_casinh.c (__kernel_casinh): Handle arguments with
21560 imaginary part less than 1.0 and real part less than 0.5
21562 * math/k_casinhf.c (__kernel_casinhf): Likewise.
21563 * math/k_casinhl.c (__kernel_casinhl): Likewise.
21564 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
21565 (cacos_test): Add more tests.
21566 (casin_test): Likewise.
21567 (casinh_test): Likewise.
21568 * sysdeps/i386/fpu/libm-test-ulps: Update.
21569 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21571 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
21573 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
21574 ONE with its value.
21576 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
21577 (__pow_mp): Replace ONE and MONE with their values.
21578 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
21579 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
21580 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
21581 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
21582 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
21583 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
21585 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
21587 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
21588 (__pow_mp): Replace ZERO and MZERO with their values.
21589 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
21590 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
21591 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
21592 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
21593 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
21594 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
21597 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
21599 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
21601 2013-03-28 Roland McGrath <roland@hack.frob.com>
21603 * include/stdlib.h [!SHARED] (__call_tls_dtors):
21604 Declare with __attribute__ ((weak)).
21605 * stdlib/exit.c (__libc_atexit) [!SHARED]:
21606 Call __call_tls_dtors only if it's not NULL.
21608 2013-03-28 Roland McGrath <roland@hack.frob.com>
21610 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
21611 didn't do it already, then set _dl_phdr and _dl_phnum based on the
21612 magic __ehdr_start linker symbol if it's defined.
21613 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
21614 them up here if it was already done.
21616 * elf/dl-support.c (_dl_phdr): Make pointer to const.
21617 (_dl_aux_init): Use const in cast when setting it.
21618 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
21619 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
21620 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
21622 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
21624 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
21625 * csu/libc-tls.c: Nor here.
21626 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
21628 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
21629 (__libc_message): Never call vsyslog.
21631 2013-03-28 Alan Modra <amodra@gmail.com>
21633 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
21635 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
21638 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21641 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
21643 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21645 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21648 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
21649 Don't add gid passed as argument.
21651 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
21653 2013-03-27 Joseph Myers <joseph@codesourcery.com>
21656 * math/k_casinh.c (__kernel_casinh): Handle arguments with
21657 imaginary part between 1.0 and 1.5 and real part less than 0.5
21659 * math/k_casinhf.c (__kernel_casinhf): Likewise.
21660 * math/k_casinhl.c (__kernel_casinhl): Likewise.
21661 * math/libm-test.inc (cacos_test): Add more tests.
21662 (casin_test): Likewise.
21663 (casinh_test): Likewise.
21664 * sysdeps/i386/fpu/libm-test-ulps: Update.
21665 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21667 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
21669 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
21672 (denorm): Likewise.
21673 (__dbl_mp): Likewise.
21674 (add_magnitudes): Likewise.
21675 (sub_magnitudes): Likewise.
21683 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
21685 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
21686 (__dubcos): Likewise.
21687 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
21688 (__ieee754_acos): Likewise.
21689 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
21690 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
21691 (__exp1): Likewise.
21692 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
21693 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
21695 (my_log2): Likewise.
21696 (checkint): Likewise.
21697 * sysdeps/ieee754/dbl-64/e_remainder.c
21698 (__ieee754_remainder): Likewise.
21699 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
21700 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
21701 (bsloww): Likewise.
21702 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
21704 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
21705 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
21706 MANTISSA_STORE_T to store computations on mantissa. Use
21707 macros for rounding and division.
21708 (denorm): Likewise.
21709 (__dbl_mp): Likewise.
21710 (add_magnitudes): Likewise.
21711 (sub_magnitudes): Likewise.
21714 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
21715 powers of two in terms of TWOPOW macro.
21716 (mp_no): Make type of mantissa as MANTISSA_T.
21717 [!RADIXI]: Define RADIXI.
21718 [!TWO52]: Define TWO52.
21719 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
21721 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21723 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
21724 llroundl symbol when building for PPC32.
21726 2013-03-24 Mark H Weaver <mhw@netris.org>
21728 * manual/arith.texi (Normalization Functions): Fix prototypes for
21729 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
21731 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21734 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
21735 high value to check if expl overflow.
21736 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
21737 to check for underflow and overflow.
21738 * math/libm-test.inc: Add exp test.
21740 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
21743 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
21746 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21748 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
21751 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
21753 * math/gen-libm-test.pl (parse_args, special_functions): Properly
21754 wrap blocks consisting of several statements.
21756 * sysdeps/generic/math-tests.h: New file.
21757 * sysdeps/i386/fpu/math-tests.h: Likewise.
21758 * math/test-snan.c: Include it.
21759 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
21761 2013-03-21 Joseph Myers <joseph@codesourcery.com>
21764 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
21765 (__ieee754_j0l): Do not improve calculations using cos of twice
21766 input for inputs above LDBL_MAX / 2.0L.
21767 (__ieee754_y0l): Likewise.
21768 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
21769 (__ieee754_j1l): Do not improve calculations using cos of twice
21770 input for inputs above LDBL_MAX / 2.0L.
21771 (__ieee754_y1l): Likewise.
21772 * math/libm-test.inc (j0_test): Add another test.
21773 (j1_test): Likewise.
21774 (y0_test): Likewise.
21775 (y1_test): Likewise.
21776 * sysdeps/i386/fpu/libm-test-ulps: Update.
21778 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
21780 * Rules ($(objpfx)bench-%.c): Include code from a C source
21783 2013-03-21 Joseph Myers <joseph@codesourcery.com>
21786 * math/k_casinh.c (__kernel_casinh): Handle arguments with
21787 imaginary part 1.0 and real part less than 0.5 specially.
21788 * math/k_casinhf.c (__kernel_casinhf): Likewise.
21789 * math/k_casinhl.c (__kernel_casinhl): Likewise.
21790 * math/libm-test.inc (cacos_test): Add more tests.
21791 (casin_test): Likewise.
21792 (casinh_test): Likewise.
21793 * sysdeps/i386/fpu/libm-test-ulps: Update.
21794 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21796 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
21798 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
21799 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
21801 2013-03-20 Joseph Myers <joseph@codesourcery.com>
21803 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
21804 * config.make.in (config-cflags-sse4): Remove variable.
21805 (config-cflags-avx): Likewise.
21806 (config-cflags-sse2avx): Likewise.
21807 (config-cflags-novzeroupper): Likewise.
21808 (config-asflags-i686): Likewise.
21809 (have-mfma4): Likewise.
21810 (have-as-vis3): Likewise.
21812 * configure.in (MIG): Do not AC_SUBST.
21813 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
21814 (libc_cv_cc_sse4): Do not AC_SUBST.
21815 (libc_cv_cc_avx): Likewise.
21816 (libc_cv_cc_sse2avx): Likewise.
21817 (libc_cv_cc_novzeroupper): Likewise.
21818 (libc_cv_cc_fma4): Likewise.
21819 (libc_cv_as_i686): Likewise.
21820 (libc_cv_sparc_as_vis3): Likewise.
21821 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
21823 (config-asflags-i686): Likewise.
21824 (config-cflags-avx): Likewise.
21825 (config-cflags-sse2avx): Likewise.
21826 (have-mfma4): Likewise.
21827 (config-cflags-novzeroupper): Likewise.
21828 * sysdeps/mach/configure.in (MIG): Likewise.
21829 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
21830 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
21832 (config-cflags-avx): Likewise.
21833 (config-cflags-sse2avx): Likewise.
21834 (have-mfma4): Likewise.
21835 (config-cflags-novzeroupper): Likewise.
21836 * configure: Regenerated.
21837 * sysdeps/i386/configure: Likewise.
21838 * sysdeps/mach/configure: Likewise.
21839 * sysdeps/sparc/configure: Likewise.
21840 * sysdeps/x86_64/configure: Likewise.
21842 2013-03-20 Roland McGrath <roland@hack.frob.com>
21845 * locale/programs/localedef.c (options): Put N_ translation marker
21846 on argument names, not just descriptions.
21848 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21850 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
21852 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
21855 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
21857 2013-03-19 Roland McGrath <roland@hack.frob.com>
21859 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
21860 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
21861 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
21862 [!BEFORE_ABORT] (before_abort): New function.
21863 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
21864 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
21865 (writev_for_fatal): New function.
21866 (WRITEV_FOR_FATAL): New macro; call that.
21867 (backtrace_and_maps): New function.
21868 (BEFORE_ABORT): New macro; call that.
21869 (struct str_list): Type removed.
21870 (__libc_message, __libc_fatal): Functions removed.
21871 Include <sysdeps/posix/libc_fatal.c> instead.
21873 2013-03-19 Joseph Myers <joseph@codesourcery.com>
21875 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
21877 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
21880 2013-03-19 Andreas Schwab <schwab@suse.de>
21882 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
21883 * sysdeps/gnu/configure: Regenerate.
21885 * configure.in: Substitute libc_cv_rtlddir.
21886 * configure: Regenerate.
21887 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
21888 * Makeconfig (rtlddir, inst_rtlddir): New variables.
21889 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
21890 * elf/Makefile (install-others, CFLAGS-interp.c)
21891 (ldso_install, common-ldd-rewrite): Likewise.
21892 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
21893 $(inst_slibdir)/$(rtld-installed-name).
21894 * scripts/rellns-sh: Add -p option.
21895 * Makerules (make-shlib-link): Use rellns-sh to get relative name
21898 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
21900 * manual/nptl.texi: Renamed to ...
21901 * manual/threads.texi: ... this.
21902 * manual/Makefile (chapters): Update.
21904 2013-03-18 Roland McGrath <roland@hack.frob.com>
21907 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
21908 on argument names, not just descriptions.
21909 * malloc/memusagestat.c (options): Likewise.
21910 * nss/getent.c (options): Likewise.
21912 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
21915 * iconv/iconv_prog.c (options): Put N_ translation marker
21916 on argument names, not just descriptions.
21917 * iconv/iconvconfig.c (options): Likewise.
21919 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
21921 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
21922 implementation which is faster on all x86_64 architectures.
21923 Tested on AMD, Intel Nehalem, SNB, IVB.
21924 * sysdeps/x86_64/strnlen.S: Likewise.
21926 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
21927 Remove all multiarch strlen and strnlen versions.
21928 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
21929 Remove strlen and strnlen related parts.
21931 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
21932 Inline strlen part.
21933 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
21935 * sysdeps/x86_64/multiarch/strlen.S: Remove.
21936 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
21937 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
21938 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
21939 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
21940 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
21942 2013-03-17 Carlos O'Donell <carlos@redhat.com>
21944 * manual/memory.texi (Malloc Tunable Parameters):
21945 Sort parameters alphabetically. Add comments for missing entries.
21947 2013-03-17 David S. Miller <davem@davemloft.net>
21949 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21951 2013-03-16 Joseph Myers <joseph@codesourcery.com>
21954 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
21955 for arguments at most half maximum finite value.
21956 * math/libm-test.inc (j0_test): Add more tests.
21957 (j1_test): Likewise.
21958 (y0_test): Likewise.
21959 (y1_test): Likewise.
21960 * sysdeps/i386/fpu/libm-test-ulps: Update.
21961 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21964 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
21965 1 / x and functions P and Q for arguments above 0x1p256L.
21966 (__ieee754_y0l): Likewise.
21967 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
21968 (__ieee754_y1l): Likewise.
21969 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
21970 (j1_test): Likewise.
21971 (y0_test): Likewise.
21972 (y1_test): Likewise.
21974 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
21976 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
21979 2013-03-15 Roland McGrath <roland@hack.frob.com>
21981 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
21982 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
21983 zero since it's initialized to EXEC_PAGESIZE.
21985 * sysdeps/unix/sysv/linux/ldsodefs.h
21986 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
21987 * sysdeps/generic/ldsodefs.h: ... here.
21989 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
21991 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
21993 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
21995 * math/test-snan.c: Renamed from
21996 sysdeps/powerpc/fpu/test-powerpc-snan.c.
21997 * math/Makefile (tests): Add test-snan.
21998 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
22001 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
22002 SUFFIX. Initialize qNaN_var with __builtin_nan family of
22004 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
22005 __builtin_nan family of functions.
22006 * math/libm-test.inc (initialize): Initialize qnan_value with
22007 __builtin_nan family of functions.
22008 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
22010 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
22012 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
22013 storage class. Initialize qNaN_var and sNaN_var with
22014 __builtin_nan and __builtin_nans families of functions,
22017 * math/libm-test.inc (acosh_test): Also test with qNaN input.
22018 (sqrt_test): Remove duplicate test with qNaN input.
22019 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
22020 (round_test, signbit_test, significand_test): Note missing +/-Inf
22021 as well as qNaN tests.
22023 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
22024 qNaN_var. Fix a few strings, too.
22025 * math/libm-test.inc (nan_value): Rename to qnan_value.
22026 * math/gen-libm-test.pl (%beautify): Adjust to that.
22027 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
22028 * math/test-misc.c (main): Likewise.
22029 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
22030 to __qnan_bytes, and __qnan_union, respectively.
22031 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
22033 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
22034 and lqnanval, respectively.
22035 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
22036 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
22037 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
22038 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
22040 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
22041 * math/test-misc.c (main) [__x86_64__]: Enable test for long
22044 * math/test-misc.c (main): Fix copy'n'pastos.
22045 * misc/tst-efgcvt.c (special): Likewise.
22047 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
22048 Remove declarations.
22050 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
22052 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
22053 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
22054 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
22055 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
22057 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22059 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
22060 macro to return vdso values correctly in IFUNC implementations.
22061 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
22062 Optimization by using IFUNC.
22064 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
22065 Richard Henderson <rth@redhat.com>
22066 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22068 * Makefile.in (bench): New target.
22069 * NEWS: Mention the benchmark framework.
22070 * Rules (bench): Likewise.
22071 (binaries-bench): Generate binaries for functions to
22073 * benchtests/Makefile: New makefile for benchmark tests.
22074 * benchtests/bench-skeleton.c: New skeleton file for benchmark
22076 * benchtests/exp-inputs: New input file for EXP function.
22077 * benchtests/pow-inputs: New input file for POW function.
22078 * scripts/bench.pl: New script to generate source files for
22079 benchmark programs.
22081 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
22083 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
22084 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
22085 computations on mantissa. Use macros for rounding and
22087 (denorm): Likewise.
22088 (__dbl_mp): Likewise.
22089 (add_magnitudes): Likewise.
22090 (sub_magnitudes): Likewise.
22093 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
22094 powers of two in terms of TWOPOW macro.
22095 (mp_no): Make type of mantissa as MANTISSA_T.
22096 [!RADIXI]: Define RADIXI.
22097 [!TWO52]: Define TWO52.
22098 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
22100 * manual/nptl.texi (cindex): Modify threads to pthreads.
22102 2013-03-15 Joseph Myers <joseph@codesourcery.com>
22104 * sysdeps/x86_64/preconfigure: Regenerated.
22106 2013-03-14 Joseph Myers <joseph@codesourcery.com>
22109 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
22111 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
22112 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
22114 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
22115 * math/libm-test.inc (j0_test): Do not allow one spurious
22116 underflow exception.
22117 (y1_test): Likewise.
22119 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
22121 * manual/Makefile (chapters): Add nptl.
22122 * manual/debug.texi (Debugging Support): Add link to Threads
22124 * manual/nptl.texi: New file.
22126 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
22128 2013-03-14 Petr Baudis <pasky@ucw.cz>
22130 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
22131 for non-NULL pointer before the memory validity test. Pointed
22132 out by Holger Brunck <holger.brunck@keymile.com>.
22134 2013-03-13 Andreas Schwab <schwab@suse.de>
22136 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
22139 2013-03-13 Joseph Myers <joseph@codesourcery.com>
22141 * timezone/zic.c: Update from tzcode 2013b.
22143 2013-03-12 Carlos O'Donell <carlos@redhat.com>
22145 * manual/install.texi (Configuring and compiling):
22146 Mention i686 and i586.
22147 * INSTALL: Regenerate.
22149 2013-03-12 Roland McGrath <roland@hack.frob.com>
22151 * sysdeps/init_array/elf-init.c: New file.
22153 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
22154 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
22156 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
22157 __gmon_start__ as global, but as static with a .preinit_array pointer.
22158 * sysdeps/init_array/gmon-start.c: New file. Use that.
22159 * sysdeps/init_array/crti.S: New file, empty except for comments.
22160 * sysdeps/init_array/crtn.S: Likewise.
22162 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
22164 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
22166 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22167 Remove Prefer_SSE_for_memop.
22168 * sysdeps/x86_64/multiarch/init-arch.h: Remove
22169 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
22170 HAS_PREFER_SSE_FOR_MEMOP.
22171 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
22173 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
22174 Remove bzero, memset ifunc support.
22175 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
22176 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
22177 * sysdeps/x86_64/multiarch/memset.S: Likewise.
22178 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
22180 2013-03-11 Andreas Schwab <schwab@suse.de>
22183 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
22185 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
22186 (GLIBC_2.16): Remove pthread_atfork.
22188 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
22190 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
22191 (ptestcases.h): Likewise.
22193 2013-03-08 Roland McGrath <roland@hack.frob.com>
22195 * Makeconfig ($(common-objpfx)config.status): Depend on
22196 sysdeps/*/preconfigure{,.in} too.
22198 2013-03-08 Joseph Myers <joseph@codesourcery.com>
22200 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
22201 (__free_hook): Use void * instead of __malloc_ptr_t.
22202 (__malloc_hook): Likewise.
22203 (__realloc_hook): Likewise.
22204 (__memalign_hook): Likewise.
22205 (__after_morecore_hook): Likewise.
22206 * malloc/arena.c (save_malloc_hook): Likewise.
22207 (save_free_hook): Likewise.
22208 * malloc/hooks.c (malloc_hook_ini): Likewise.
22209 (realloc_hook_ini): Likewise.
22210 (memalign_hook_ini): Likewise.
22211 * malloc/malloc.c (malloc_hook_ini): Likewise.
22212 (realloc_hook_ini): Likewise.
22213 (memalign_hook_ini): Likewise.
22214 (__free_hook): Likewise.
22215 (__malloc_hook): Likewise.
22216 (__realloc_hook): Likewise.
22217 (__memalign_hook): Likewise.
22218 (__libc_malloc): Likewise.
22219 (__libc_free): Likewise.
22220 (__libc_realloc): Likewise.
22221 (__libc_memalign): Likewise.
22222 (__libc_valloc): Likewise.
22223 (__libc_pvalloc): Likewise.
22224 (__libc_calloc): Likewise.
22225 (__posix_memalign): Likewise.
22226 * malloc/morecore.c (__sbrk): Likewise.
22227 (__default_morecore): Likewise.
22229 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
22231 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
22232 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
22233 __malloc_ptrdiff_t.
22235 * malloc/malloc.h (__malloc_size_t): Remove macro.
22236 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
22238 (old_memalign_hook): Likewise.
22239 (old_realloc_hook): Likewise.
22240 (struct hdr): Likewise.
22242 (mallochook): Likewise.
22243 (memalignhook): Likewise.
22244 (reallochook): Likewise.
22245 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
22246 (tr_old_realloc_hook): Likewise.
22247 (tr_old_memalign_hook): Likewise.
22248 (tr_mallochook): Likewise.
22249 (tr_reallochook): Likewise.
22250 (tr_memalignhook): Likewise.
22252 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22254 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
22255 default_ldbl_pack and using as default implementation.
22256 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
22258 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
22259 redundant definition.
22260 (ldbl_insert_mantissa): Likewise.
22261 (ldbl_canonicalize): Likewise.
22262 (ldbl_nearbyint): Likewise.
22263 (ldbl_pack): Rename to ldbl_pack_ppc.
22264 (ldbl_unpack): Rename to ldbl_unpack_ppc.
22265 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
22266 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
22268 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
22270 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
22271 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
22272 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
22273 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
22274 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
22275 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
22276 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
22277 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
22279 2013-03-07 Andreas Jaeger <aj@suse.de>
22281 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22284 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
22286 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
22287 Include mpa.h and declare __MPEXP.
22288 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
22289 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
22290 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
22291 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
22292 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
22293 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
22294 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
22296 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
22297 (__slowpow): Use long double EXPL and LOGL functions to
22299 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
22300 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
22301 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
22302 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
22303 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
22304 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
22306 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
22307 intermediate variable to calculate exponent.
22309 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
22313 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
22314 [!NO__SQR]: Define __sqr.
22315 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
22316 and NO__SQR. Remove all code except __mul and __sqr. Include
22317 sysdeps/ieee754/dbl-64/mpa.c.
22318 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
22321 * posix/Makefile (tests): Add tst-pathconf.
22322 * posix/tst-pathconf.c: New test case.
22323 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
22325 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
22327 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
22329 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
22331 2013-03-06 Andreas Jaeger <aj@suse.de>
22333 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
22334 definition via __MAP_ANONYMOUS.
22336 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
22337 it's not part of Linux headers.
22339 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
22340 (MAP_HUGE_MASK): Define.
22342 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
22344 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
22345 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
22347 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
22348 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
22350 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
22351 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
22353 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
22355 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
22356 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
22357 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
22358 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
22359 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
22360 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
22362 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
22365 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
22366 Handle f2fs and efivarfs.
22368 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
22371 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
22372 (EFIVARFS_MAGIC): Add.
22373 (F2FS_LINK_MAX): Add.
22375 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
22377 * stdio-common/vfprintf.c: Replace __builtin_expect with
22380 2013-03-06 Joseph Myers <joseph@codesourcery.com>
22383 * sysdeps/generic/bp-sym.h: Remove file.
22384 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
22385 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
22386 <bp-sym.h> and <bp-asm.h>.
22387 (__longjmp): Don't use BP_SYM.
22388 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
22390 (memcpy): Don't use BP_SYM.
22391 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
22392 <bp-sym.h> and <bp-asm.h>.
22393 (memcpy): Don't use BP_SYM.
22394 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
22396 (memcpy): Don't use BP_SYM.
22397 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
22399 (memset): Don't use BP_SYM.
22400 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
22401 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
22402 (__bzero): Don't use BP_SYM.
22403 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
22404 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
22405 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
22406 <bp-sym.h> and <bp-asm.h>.
22407 (memcmp): Don't use BP_SYM. Remove comment about bounded
22409 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
22410 <bp-sym.h> and <bp-asm.h>.
22411 (memcpy): Don't use BP_SYM.
22412 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
22413 <bp-sym.h> and <bp-asm.h>.
22414 (memset): Don't use BP_SYM.
22415 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
22416 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
22417 (__bzero): Don't use BP_SYM.
22418 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
22419 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
22420 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
22421 <bp-sym.h> and <bp-asm.h>.
22422 (strncmp): Don't use BP_SYM. Remove comment about bounded
22424 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
22425 <bp-sym.h> and <bp-asm.h>.
22426 (memcpy): Don't use BP_SYM.
22427 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
22428 <bp-sym.h> and <bp-asm.h>.
22429 (memset): Don't use BP_SYM.
22430 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
22431 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
22432 (__bzero): Don't use BP_SYM.
22433 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
22434 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
22435 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
22436 <bp-sym.h> and <bp-asm.h>.
22437 (__memchr): Don't use BP_SYM.
22438 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
22439 <bp-sym.h> and <bp-asm.h>.
22440 (memcmp): Don't use BP_SYM. Remove comment about bounded
22442 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
22443 <bp-sym.h> and <bp-asm.h>.
22444 (memcpy): Don't use BP_SYM.
22445 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
22446 <bp-sym.h> and <bp-asm.h>.
22447 (__mempcpy): Don't use BP_SYM.
22448 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
22449 <bp-sym.h> and <bp-asm.h>.
22450 (__memrchr): Don't use BP_SYM.
22451 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
22452 <bp-sym.h> and <bp-asm.h>.
22453 (memset): Don't use BP_SYM.
22454 (__bzero): Likewise.
22455 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
22456 <bp-sym.h> and <bp-asm.h>.
22457 (__rawmemchr): Don't use BP_SYM.
22458 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
22459 <bp-sym.h> and <bp-asm.h>.
22460 (__STRCMP): Don't use BP_SYM.
22461 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
22462 <bp-sym.h> and <bp-asm.h>.
22463 (strchr): Don't use BP_SYM.
22464 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
22465 <bp-sym.h> and <bp-asm.h>.
22466 (__strchrnul): Don't use BP_SYM.
22467 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
22468 <bp-sym.h> and <bp-asm.h>.
22469 (strlen): Don't use BP_SYM.
22470 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
22471 <bp-sym.h> and <bp-asm.h>.
22472 (strncmp): Don't use BP_SYM. Remove comment about bounded
22474 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
22475 <bp-sym.h> and <bp-asm.h>.
22476 (__strnlen): Don't use BP_SYM.
22477 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
22478 <bp-sym.h> and <bp-asm.h>.
22479 (__GI__setjmp): Don't use BP_SYM.
22480 (_setjmp): Likewise.
22481 (__sigsetjmp): Likewise.
22482 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
22483 (L(start_addresses)): Don't use BP_SYM.
22484 (_start): Likewise.
22485 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
22487 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
22488 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
22489 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
22490 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
22491 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
22493 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
22494 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
22495 about bounded pointers.
22496 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
22497 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
22498 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
22500 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
22501 about bounded pointers. Remove GKM FIXME comments.
22502 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
22503 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
22505 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
22506 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
22507 Remove GKM FIXME comments.
22508 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
22509 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
22510 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
22512 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
22513 about bounded pointers. Remove GKM FIXME comment.
22514 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
22516 (strncmp): Don't use BP_SYM. Remove comment about bounded
22518 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
22519 <bp-sym.h> and <bp-asm.h>.
22520 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
22521 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
22522 <bp-sym.h> and <bp-asm.h>.
22523 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
22526 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
22528 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
22531 2013-03-05 David S. Miller <davem@davemloft.net>
22533 * po/es.po: Update from translation team.
22535 2013-03-05 Andreas Jaeger <aj@suse.de>
22537 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
22538 <bits/mman-linux.h>.
22539 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
22541 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
22542 <bits/mman-linux.h> to end of file.
22543 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
22545 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
22546 <bits/mman-linux.h> to end of file.
22547 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
22549 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
22550 <bits/mman-linux.h> to end of file.
22552 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
22553 (MCL_CURRENT, MCL_FUTURE): Define here.
22555 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22558 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
22560 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
22562 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22564 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
22565 fourth parameter needed for rt_sigprocmask syscall.
22566 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
22567 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
22568 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
22569 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
22570 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
22571 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
22573 2013-03-04 Joseph Myers <joseph@codesourcery.com>
22576 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
22577 comment about bounded pointers.
22578 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
22579 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
22581 2013-03-04 Andreas Jaeger <aj@suse.de>
22583 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
22584 common definitions.
22586 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
22587 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
22588 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
22589 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
22590 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
22591 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
22593 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22596 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
22597 __ieee754_sqrl instead of __sqrl.
22599 2013-03-01 Joseph Myers <joseph@codesourcery.com>
22601 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
22602 * sysdeps/powerpc/fpu_control.h: ... here.
22603 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
22604 * sysdeps/powerpc/bits/fenvinline.h: ... here.
22605 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
22606 * sysdeps/powerpc/bits/mathinline.h: ... here.
22608 2013-03-01 Roland McGrath <roland@hack.frob.com>
22610 * elf/dl-hwcaps.c (_dl_important_hwcaps):
22611 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
22612 to just [NEED_DL_SYSINFO_DSO].
22613 * elf/dl-support.c: Likewise.
22614 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
22615 * elf/rtld.c (dl_main): Likewise.
22616 * elf/setup-vdso.h (setup_vdso): Likewise.
22617 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
22618 * sysdeps/unix/sysv/linux/dl-sysdep.c
22619 (_dl_discover_osversion): Likewise.
22621 2013-03-01 Carlos O'Donell <carlos@redhat.com>
22623 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
22624 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
22626 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
22628 * NEWS: Mention libm performance improvements and non-x86 PI
22631 * csu/libc-start.c (__pthread_initialize_minimal): Change
22632 function arguments.
22633 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
22635 2013-02-28 Joseph Myers <joseph@codesourcery.com>
22638 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
22639 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
22640 <bp-sym.h> and <bp-asm.h>.
22641 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
22642 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
22644 (memcpy): Don't use BP_SYM.
22645 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
22647 (__mpn_add_n): Don't use BP_SYM.
22648 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
22649 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
22651 (__mpn_addmul_1): Don't use BP_SYM.
22652 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22653 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
22655 (_setjmp): Don't use BP_SYM.
22656 (__novmx_setjmp): Likewise.
22657 (__GI__setjmp): Likewise.
22658 (__vmx_setjmp): Likewise.
22659 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
22661 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
22662 (__bzero): Don't use BP_SYM.
22663 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
22664 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
22665 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
22666 <bp-sym.h> and <bp-asm.h>.
22667 (memcpy): Don't use BP_SYM.
22668 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
22669 <bp-sym.h> and <bp-asm.h>.
22670 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
22671 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
22672 <bp-sym.h> and <bp-asm.h>.
22673 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
22674 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
22676 (__mpn_lshift): Don't use BP_SYM.
22677 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22678 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
22680 (memset): Don't use BP_SYM.
22681 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
22682 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
22683 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
22685 (__mpn_mul_1): Don't use BP_SYM.
22686 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22687 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
22688 <bp-sym.h> and <bp-asm.h>.
22689 (memcmp): Don't use BP_SYM.
22690 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
22691 <bp-sym.h> and <bp-asm.h>.
22692 (memcpy): Don't use BP_SYM.
22693 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
22694 <bp-sym.h> and <bp-asm.h>.
22695 (memset): Don't use BP_SYM.
22696 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
22697 <bp-sym.h> and <bp-asm.h>.
22698 (strncmp): Don't use BP_SYM.
22699 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
22700 <bp-sym.h> and <bp-asm.h>.
22701 (memcpy): Don't use BP_SYM.
22702 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
22703 <bp-sym.h> and <bp-asm.h>.
22704 (memset): Don't use BP_SYM.
22705 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
22706 <bp-sym.h> and <bp-asm.h>.
22707 (__memchr): Don't use BP_SYM.
22708 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
22709 <bp-sym.h> and <bp-asm.h>.
22710 (memcmp): Don't use BP_SYM.
22711 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
22712 <bp-sym.h> and <bp-asm.h>.
22713 (memcpy): Don't use BP_SYM.
22714 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
22715 <bp-sym.h> and <bp-asm.h>.
22716 (__mempcpy): Don't use BP_SYM.
22717 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
22718 <bp-sym.h> and <bp-asm.h>.
22719 (__memrchr): Don't use BP_SYM.
22720 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
22721 <bp-sym.h> and <bp-asm.h>.
22722 (memset): Don't use BP_SYM.
22723 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
22724 <bp-sym.h> and <bp-asm.h>.
22725 (__rawmemchr): Don't use BP_SYM.
22726 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
22727 <bp-sym.h> and <bp-asm.h>.
22728 (__STRCMP): Don't use BP_SYM.
22729 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
22730 <bp-sym.h> and <bp-asm.h>.
22731 (strchr): Don't use BP_SYM.
22732 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
22733 <bp-sym.h> and <bp-asm.h>.
22734 (__strchrnul): Don't use BP_SYM.
22735 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
22736 <bp-sym.h> and <bp-asm.h>.
22737 (strlen): Don't use BP_SYM.
22738 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
22739 <bp-sym.h> and <bp-asm.h>.
22740 (strncmp): Don't use BP_SYM.
22741 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
22742 <bp-sym.h> and <bp-asm.h>.
22743 (__strnlen): Don't use BP_SYM.
22744 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
22746 (__mpn_rshift): Don't use BP_SYM.
22747 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22748 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
22749 <bp-sym.h> and <bp-asm.h>.
22750 (__sigsetjmp): Don't use BP_SYM.
22751 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
22752 (L(start_addresses)): Don't use BP_SYM.
22753 (_start): Likewise.
22754 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
22756 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
22757 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
22758 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
22759 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
22761 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
22762 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
22763 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
22764 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
22766 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
22768 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
22769 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
22771 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
22773 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
22774 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
22775 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
22777 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
22779 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
22781 (strncmp): Don't use BP_SYM,
22782 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
22784 (__mpn_sub_n): Don't use BP_SYM.
22785 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22786 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
22788 (__mpn_submul_1): Don't use BP_SYM.
22789 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22790 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
22791 <bp-sym.h> and <bp-asm.h>.
22792 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
22793 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
22794 <bp-sym.h> and <bp-asm.h>.
22795 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
22798 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22800 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
22801 Use ZK to minimize writes to Z.
22802 (sub_magnitudes): Simplify code a bit.
22803 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
22804 Use ZK to minimize writes to Z.
22805 (sub_magnitudes): Simplify code a bit.
22807 2013-02-27 Roland McGrath <roland@hack.frob.com>
22809 * csu/gmon-start.c: Add special exception to license text.
22811 2013-02-27 Richard Henderson <rth@redhat.com>
22813 * scripts/config.guess: Update from config.git.
22814 * scripts/config.sub: Likewise.
22816 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
22818 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
22820 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
22822 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
22824 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
22826 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
22828 2013-02-26 Roland McGrath <roland@hack.frob.com>
22830 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
22831 [$(build-shared = yes].
22833 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
22835 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
22836 (__mul): Reduce iterations for calculating mantissa.
22838 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
22840 (__mpranred): Likewise.
22843 * malloc/memusagestat.c (main): Draw graphs for heap and stack
22844 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
22846 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
22848 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
22849 Define __attribute__.
22851 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
22853 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
22855 * posix/regex_internal.h (__attribute): Remove.
22856 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
22857 (re_string_context_at): Likewise.
22858 (bitset_not): Use __attribute__ and mark function as possibly
22860 (bitset_merge): Likewise.
22861 (bitset_mask): Likewise.
22862 (re_string_char_size_at): Likewise.
22863 (re_string_wchar_at): Likewise.
22864 (re_string_elem_size_at): Likewise.
22866 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
22868 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
22872 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
22876 (denorm): Likewise.
22877 (__dbl_mp): Likewise.
22878 (add_magnitudes): Likewise.
22879 (sub_magnitudes): Likewise.
22883 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
22886 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
22889 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
22892 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
22893 up changes with default code.
22894 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
22897 2013-02-24 Allan McRae <allan@archlinux.org>
22899 * manual/socket.texi (The Internet Namespace): Order menu items
22900 to match that in the file.
22902 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
22903 node listing of the info page menu.
22905 2013-02-21 Joseph Myers <joseph@codesourcery.com>
22908 * sysdeps/i386/bp-asm.h: Remove file.
22909 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
22910 (PARMS): Do not use macros from bp-asm.h.
22914 (__mpn_add_n): Do not use BP_SYM
22915 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
22917 (PARMS): Do not use macros from bp-asm.h.
22920 (__mpn_addmul_1): Do not use BP_SYM
22921 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
22923 (PARMS): Do not use macros from bp-asm.h.
22924 (SIGMSK): Likewise.
22925 (_setjmp): Likewise. Do not use BP_SYM.
22926 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
22928 (PARMS): Do not use macros from bp-asm.h.
22929 (SIGMSK): Likewise.
22930 (setjmp): Likewise. Do not use BP_SYM.
22931 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
22933 (PARMS): Do not use macros from bp-asm.h.
22934 (__frexp): Do not use BP_SYM.
22936 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
22938 (PARMS): Do not use macros from bp-asm.h.
22939 (__frexpf): Do not use BP_SYM.
22940 (frexpf): Likewise.
22941 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
22943 (PARMS): Do not use macros from bp-asm.h.
22944 (__frexpl): Do not use BP_SYM.
22945 (frexpl): Likewise.
22946 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
22948 (PARMS): Do not use macros from bp-asm.h.
22949 (__remquo): Do not use BP_SYM.
22950 (remquo): Likewise.
22951 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
22953 (PARMS): Do not use macros from bp-asm.h.
22954 (__remquof): Do not use BP_SYM.
22955 (remquof): Likewise.
22956 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
22958 (PARMS): Do not use macros from bp-asm.h.
22959 (__remquol): Do not use BP_SYM.
22960 (remquol): Likewise.
22961 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
22963 (PARMS): Do not use macros from bp-asm.h.
22966 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
22967 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
22969 (PARMS): Do not use macros from bp-asm.h.
22970 (strlen): Do not use BP_SYM.
22971 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
22973 (PARMS): Do not use macros from bp-asm.h.
22977 (__mpn_add_n): Do not use BP_SYM.
22978 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
22980 (PARMS): Do not use macros from bp-asm.h.
22983 (__mpn_addmul_1): Do not use BP_SYM.
22984 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
22987 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
22989 (PARMS): Do not use macros from bp-asm.h.
22992 (__mpn_lshift): Do not use BP_SYM.
22993 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
22995 (PARMS): Do not use macros from bp-asm.h.
22999 (memcpy): Likewise. Do not use BP_SYM.
23000 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
23001 libc_hidden_def and weak_alias.
23002 (mempcpy): Do not use BP_SYM in weak_alias.
23003 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
23005 (PARMS): Do not use macros from bp-asm.h.
23008 [!BZERO_P] (CHR): Likewise.
23009 (memset): Likewise. Do not use BP_SYM.
23010 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
23012 (PARMS): Do not use macros from bp-asm.h.
23015 (__mpn_mul_1): Do not use BP_SYM.
23016 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
23018 (PARMS): Do not use macros from bp-asm.h.
23021 (__mpn_rshift): Do not use BP_SYM.
23022 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
23024 (PARMS): Do not use macros from bp-asm.h.
23027 (strchr): Likewise. Do not use BP_SYM.
23028 (index): Do not use BP_SYM in weak_alias.
23029 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
23031 (PARMS): Do not use macros from bp-asm.h.
23034 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
23035 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
23037 (PARMS): Do not use macros from bp-asm.h.
23038 (strlen): Do not use BP_SYM.
23039 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
23041 (PARMS): Do not use macros from bp-asm.h.
23045 (__mpn_sub_n): Do not use BP_SYM.
23046 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
23048 (PARMS): Do not use macros from bp-asm.h.
23051 (__mpn_submul_1): Do not use BP_SYM.
23052 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
23054 (PARMS): Do not use macros from bp-asm.h.
23058 (__mpn_add_n): Do not use BP_SYM.
23059 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
23062 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
23064 (PARMS): Do not use macros from bp-asm.h.
23067 (memcmp): Do not use BP_SYM.
23068 (bcmp): Do not use BP_SYM in weak_alias.
23069 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
23071 (PARMS): Do not use macros from bp-asm.h.
23075 (memcpy): Likewise. Do not use BP_SYM.
23076 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
23078 (PARMS): Do not use macros from bp-asm.h.
23082 (memmove): Likewise. Do not use BP_SYM.
23083 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
23085 (PARMS): Do not use macros from bp-asm.h.
23089 (__mempcpy): Likewise. Do not use BP_SYM.
23090 (mempcpy): Do not use BP_SYM in weak_alias.
23091 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
23093 (PARMS): Do not use macros from bp-asm.h.
23096 [!BZERO_P] (CHR): Likewise.
23097 (memset): Likewise. Do not use BP_SYM.
23098 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
23100 (PARMS): Do not use macros from bp-asm.h.
23102 (strcmp): Do not use BP_SYM.
23103 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
23105 (PARMS): Do not use macros from bp-asm.h.
23108 [USE_AS_STRTOK_R] (SAVE): Likewise.
23109 (FUNCTION): Likewise. Do not use BP_SYM.
23110 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
23112 (strtok_r): Likewise.
23113 (__GI___strtok_r): Likewise.
23114 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
23115 (PARMS): Do not use macros from bp-asm.h.
23118 (__mpn_lshift): Do not use BP_SYM.
23119 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
23120 (PARMS): Do not use macros from bp-asm.h.
23123 (__memchr): Do not use BP_SYM.
23124 (memchr): Do not use BP_SYM in weak_alias.
23125 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
23126 (PARMS): Do not use macros from bp-asm.h.
23129 (memcmp): Do not use BP_SYM.
23130 (bcmp): Do not use BP_SYM in weak_alias.
23131 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
23132 (PARMS): Do not use macros from bp-asm.h.
23135 (__mpn_mul_1): Do not use BP_SYM.
23136 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
23138 (PARMS): Do not use macros from bp-asm.h.
23141 (__rawmemchr): Do not use BP_SYM.
23142 (rawmemchr): Do not use BP_SYM in weak_alias.
23143 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
23144 (PARMS): Do not use macros from bp-asm.h.
23147 (__mpn_rshift): Do not use BP_SYM.
23148 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
23149 (PARMS): Do not use macros from bp-asm.h.
23150 (SIGMSK): Likewise.
23151 (__sigsetjmp): Likewise. Do not use BP_SYM.
23152 * sysdeps/i386/start.S: Do not include "bp-sym.h".
23153 (_start): Do not use BP_SYM.
23154 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
23155 (PARMS): Do not use macros from bp-asm.h.
23158 (__stpcpy): Likewise. Do not use BP_SYM.
23159 (stpcpy): Do not use BP_SYM in weak_alias.
23160 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
23162 (PARMS): Do not use macros from bp-asm.h.
23166 (__stpncpy): Likewise. Do not use BP_SYM.
23167 (stpncpy): Do not use BP_SYM in weak_alias.
23168 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
23169 (PARMS): Do not use macros from bp-asm.h.
23172 (strchr): Likewise. Do not use BP_SYM.
23173 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
23175 (PARMS): Do not use macros from bp-asm.h.
23178 (__strchrnul): Likewise. Do not use BP_SYM.
23179 (strchrnul): Do not use BP_SYM in weak_alias.
23180 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
23182 (PARMS): Do not use macros from bp-asm.h.
23184 (strcspn): Do not use BP_SYM.
23185 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
23187 (PARMS): Do not use macros from bp-asm.h.
23190 (strpbrk): Likewise. Do not use BP_SYM.
23191 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
23193 (PARMS): Do not use macros from bp-asm.h.
23196 (strrchr): Likewise. Do not use BP_SYM.
23197 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
23198 (PARMS): Do not use macros from bp-asm.h.
23200 (strspn): Do not use BP_SYM.
23201 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
23202 (PARMS): Do not use macros from bp-asm.h.
23206 (FUNCTION): Likewise. Do not use BP_SYM.
23207 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
23209 (strtok_r): Likewise.
23210 (__GI___strtok_r): Likewise.
23211 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
23212 (PARMS): Do not use macros from bp-asm.h.
23216 (__mpn_sub_n): Do not use BP_SYM.
23217 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
23219 (PARMS): Do not use macros from bp-asm.h.
23222 (__mpn_submul_1): Do not use BP_SYM.
23223 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
23225 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
23227 (PARMS): Do not use macros from bp-asm.h.
23232 (__clone): Do not use BP_SYM.
23233 (clone): Do not use BP_SYM in weak_alias.
23234 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
23236 (PARMS): Do not use macros from bp-asm.h.
23238 (__mmap64): Do not use BP_SYM.
23239 (mmap64): Do not use BP_SYM in weak_alias.
23240 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
23241 <bp-sym.h> and <bp-asm.h>.
23242 (PARMS): Do not use macros from bp-asm.h.
23243 (__posix_fadvise64_l64): Do not use BP_SYM.
23244 * sysdeps/unix/sysv/linux/i386/semtimedop.S
23245 (PARMS): Do not use macros from bp-asm.h.
23247 (semtimedop): Do not use BP_SYM.
23248 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
23251 2013-02-21 Allan McRae <allan@archlinux.org>
23253 * manual/message.texi (Charset conversion in gettext):
23254 Move @end statement to beginning of line.
23256 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
23258 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
23260 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
23263 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
23264 (denorm): Likewise.
23265 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
23266 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
23268 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23270 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
23271 tail-call to the resolved function if pltexit isn't needed.
23273 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
23275 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
23276 or Y being zero as being unlikely.
23277 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
23280 2013-02-20 Carlos O'Donell <carlos@redhat.com>
23282 * manual/nss.texi (System Databases and Name Service Switch):
23283 Remove frobnicate @pxref.
23285 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
23287 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
23288 __attribute__ ((unused)) to __attribute__ ((__unused__)).
23290 2013-02-20 Petr Machata <pmachata@redhat.com>
23292 * elf/elf.h (R_ARM_TARGET1): New macro.
23293 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
23294 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
23295 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
23296 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
23297 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
23298 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
23299 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
23300 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
23301 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
23302 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
23303 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
23304 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
23305 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
23306 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
23307 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
23308 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
23309 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
23310 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
23311 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
23312 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
23313 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
23314 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
23315 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
23316 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
23317 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
23318 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
23319 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
23320 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
23321 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
23322 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
23323 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
23324 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
23325 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
23326 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
23327 (R_ARM_THM_GOT_BREL12): Likewise.
23328 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
23329 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
23330 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
23331 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
23332 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
23333 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
23334 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
23335 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
23336 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
23338 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
23340 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
23341 __attribute_used__ to __attribute__ ((unused)).
23343 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
23345 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
23347 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
23348 comment formatting.
23349 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
23351 2013-02-19 Joseph Myers <joseph@codesourcery.com>
23354 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
23356 (ENTER): Remove both macro definitions.
23358 (CHECK_BOUNDS_LOW): Likewise.
23359 (CHECK_BOUNDS_HIGH): Likewise.
23360 (CHECK_BOUNDS_BOTH): Likewise.
23361 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
23362 (RETURN_BOUNDED_POINTER): Likewise.
23363 (RETURN_NULL_BOUNDED_POINTER): Likewise.
23364 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
23365 (POP_ERRNO_LOCATION_RETURN): Likewise.
23366 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
23367 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23368 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
23370 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23371 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
23372 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
23373 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
23374 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
23375 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
23376 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
23377 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
23378 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
23379 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
23380 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
23381 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
23382 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23383 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
23385 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23386 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
23388 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23389 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
23390 * sysdeps/i386/i586/memset.S (memset): Likewise.
23391 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
23392 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23393 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
23395 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23396 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
23397 Change uses of L(2) to L(out).
23398 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
23399 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
23400 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
23401 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23402 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
23404 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23405 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
23407 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23408 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
23409 (RETURN): Do not use macro LEAVE.
23410 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
23411 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
23412 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
23413 * sysdeps/i386/i686/memset.S (memset): Likewise.
23414 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
23415 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
23416 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
23417 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
23419 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
23420 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
23421 L(1_2) and L(1_3) into L(1).
23422 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
23423 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
23424 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23425 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
23426 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
23427 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
23428 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
23429 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23430 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
23432 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
23433 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23434 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
23435 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
23436 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
23437 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23438 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
23439 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
23440 * sysdeps/i386/strcspn.S (strcspn): Likewise.
23441 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
23442 * sysdeps/i386/strrchr.S (strrchr): Likewise.
23443 * sysdeps/i386/strspn.S (strspn): Likewise.
23444 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
23446 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
23447 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
23448 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
23449 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
23450 L(1_3) into L(1_1).
23451 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
23452 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23453 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
23455 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23457 2013-02-19 Jakub Jelinek <jakub@redhat.com>
23459 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
23462 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
23464 * math/atest-exp.c (exp_mpn): Remove ROUND.
23465 * math/atest-exp2.c (exp_mpn): Likewise.
23466 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
23468 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
23469 * stdlib/tst-tls-atexit-lib.c: Likewise.
23470 * stdlib/tst-tls-atexit.c: Likewise.
23472 2013-02-18 Mike Frysinger <vapier@gentoo.org>
23474 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
23475 and __attribute_alloc_size__.
23477 2013-02-18 Mike Frysinger <vapier@gentoo.org>
23479 * include/programs/xmalloc.h: Change __attribute_alloc_size to
23480 __attribute_alloc_size__.
23481 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
23482 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
23484 2013-02-18 Mike Frysinger <vapier@gentoo.org>
23486 * include/programs/xmalloc.h: New file.
23487 * catgets/gencat.c: Include it.
23488 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
23489 * elf/pldd.c: Likewise.
23490 * iconv/iconv_charmap.c: Likewise.
23491 * iconv/iconvconfig.c: Likewise.
23492 * iconv/strtab.c: Likewise.
23493 * locale/programs/locale.c: Likewise.
23494 * locale/programs/localedef.h: Likewise.
23495 * locale/programs/simple-hash.c: Likewise.
23496 * nscd/nscd.h: Likewise.
23497 * nss/makedb.c: Likewise.
23498 * sysdeps/generic/ldconfig.h: Likewise.
23500 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
23502 * Versions.def: Add GLIBC_2.18.
23503 * include/link.h (struct link_map): New member l_tls_dtor_count.
23504 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
23505 (__call_tls_dtors): Likewise.
23506 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
23507 __cxa_thread_atexit_impl.
23508 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23510 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
23512 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
23514 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
23516 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
23517 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
23519 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
23521 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
23522 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
23524 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
23525 (tests): Add test case tst-tls-atexit.
23526 (modules-names): Add shared library for tst-tls-atexit.
23527 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
23528 (GLIBC_PRIVATE): Add __call_tls_dtors.
23529 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
23531 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
23532 * stdlib/tst-tls-atexit.c: New test case.
23533 * stdlib/tst-tls-atexit-lib.c: New test case.
23535 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
23537 * elf/Versions (ld): Add _dl_find_dso_for_object.
23538 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
23539 * elf/dl-open.c (_dl_find_dso_for_object): New function.
23540 (dl_open_worker): Use _dl_find_dso_for_object.
23541 * elf/dl-sym.c (do_sym): Likewise.
23542 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
23544 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23546 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
23547 Syntactic changes only.
23548 (_dl_runtime_profile): Do a tail-call to the resolved function.
23550 2013-02-17 Joseph Myers <joseph@codesourcery.com>
23553 * sysdeps/x86_64/bp-asm.h: Remove file.
23554 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
23555 <bp-sym.h> and <bp-asm.h>.
23556 (__clone): Do not use BP_SYM.
23557 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
23558 <bp-sym.h> and <bp-asm.h>.
23559 * sysdeps/unix/x86_64/sysdep.S: Likewise.
23560 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
23562 (_setjmp): Do not use BP_SYM.
23563 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
23565 (setjmp): Do not use BP_SYM.
23566 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
23568 (mempcpy): Do not use BP_SYM in weak_alias.
23569 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
23571 (strchr): Do not use BP_SYM.
23572 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
23574 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
23575 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
23576 (_start): Do not use BP_SYM.
23577 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
23579 (strcat): Do not use BP_SYM.
23580 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
23582 (STRCMP): Do not use BP_SYM.
23583 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
23585 (STRCPY): Do not use BP_SYM.
23586 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
23588 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
23590 (FUNCTION): Do not use BP_SYM.
23591 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
23593 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
23595 2013-02-17 Andreas Jaeger <aj@suse.de>
23597 * time/Versions: Sort entries.
23598 * string/Versions: Likewise.
23599 * resolv/Versions: Likewise.
23600 * posix/Versions: Likewise.
23601 * iconv/Versions: Likewise.
23602 * elf/Versions: Likewise.
23603 * wcsmbs/Versions: Likewise.
23605 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
23607 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
23608 loop termination condition.
23610 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
23611 variable to calculate EZ.
23614 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
23615 the lower precision input.
23617 2013-02-15 Joseph Myers <joseph@codesourcery.com>
23620 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
23621 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
23622 (run-via-rtld-prefix): Do not handle %-bp tests.
23623 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
23624 (all-object-suffixes): Remove .ob.
23625 (bppfx): Remove variable.
23626 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
23627 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
23628 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
23629 [$(build-bounded) = yes] (libtype.ob): Likewise.
23630 * Makerules (elide-routines.ob): Remove variable.
23631 (do-tests-clean): Do not handle *-bp.out.
23632 (common-mostlyclean): Do not handle *-bp and *-bp.out.
23633 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
23634 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
23635 (tests): Do not include $(tests-bp.out).
23636 (xtests): Do not include $(xtests-bp.out).
23637 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
23638 [$(build-bounded) = yes] ($(addprefix
23639 $(objpfx),$(binaries-bounded))): Remove rule.
23640 ($(objpfx)%-bp.out): Remove rule.
23641 * config.make.in (build-bounded): Remove variable.
23642 * crypt/Makefile [$(build-bounded) = yes]
23643 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
23644 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
23645 append to variable.
23646 [$(build-bounded) = yes] (install-lib): Likewise.
23647 [$(build-bounded) = yes] (generated): Likewise.
23648 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
23650 * intl/Makefile [$(build-bounded) = yes]
23651 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
23652 * math/Makefile [$(build-bounded) = yes]
23653 ($(tests:%=$(objpfx)%-bp): Likewise.
23654 * misc/Makefile [$(build-bounded) = yes]
23655 ($(objpfx)tst-tsearch-bp): Likewise.
23656 * nptl/Makeconfig (bounded-thread-library): Remove variable.
23657 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
23659 * string/Makefile (o-objects.ob): Remove variable.
23660 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
23661 (CFLAGS-.ob): Remove variable.
23662 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
23663 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
23664 both definitions of variable.
23665 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
23666 (ASFLAGS-.ob): Remove variable.
23668 2013-02-14 Joseph Myers <joseph@codesourcery.com>
23671 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
23672 Remove __BOUNDED_POINTERS__ from condition.
23673 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
23674 * string/bits/string2.h [!__NO_STRING_INLINES &&
23675 !__BOUNDED_POINTERS__]: Likewise.
23676 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
23678 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
23679 Remove conditional code.
23680 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
23681 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
23682 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
23686 * csu/libc-start.c: Do not include <bp-sym.h>.
23687 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
23688 * elf/dl-open.c: Do not include <bp-sym.h>.
23689 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
23690 * math/fegetenv.c: Do not include <bp-sym.h>.
23691 (fegetenv): Do not use BP_SYM in versioned symbols.
23692 * nptl/sysdeps/pthread/bits/libc-lockP.h
23693 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
23695 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23696 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
23697 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23698 (__pthread_mutex_destroy): Likewise.
23699 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23700 (__pthread_mutex_lock): Likewise.
23701 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23702 (__pthread_mutex_trylock): Likewise.
23703 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23704 (__pthread_mutex_unlock): Likewise.
23705 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23706 (__pthread_mutexattr_init): Likewise.
23707 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23708 (__pthread_mutexattr_destroy): Likewise.
23709 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23710 (__pthread_mutexattr_settype): Likewise.
23711 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23712 (__pthread_rwlock_init): Likewise.
23713 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23714 (__pthread_rwlock_destroy): Likewise.
23715 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23716 (__pthread_rwlock_rdlock): Likewise.
23717 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23718 (__pthread_rwlock_tryrdlock): Likewise.
23719 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23720 (__pthread_rwlock_wrlock): Likewise.
23721 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23722 (__pthread_rwlock_trywrlock): Likewise.
23723 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23724 (__pthread_rwlock_unlock): Likewise.
23725 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23726 (__pthread_key_create): Likewise.
23727 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23728 (__pthread_setspecific): Likewise.
23729 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23730 (__pthread_getspecific): Likewise.
23731 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
23733 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23734 (_pthread_cleanup_push_defer): Likewise.
23735 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23736 (_pthread_cleanup_pop_restore): Likewise.
23737 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23738 (pthread_setcancelstate): Likewise.
23739 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
23741 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
23742 (memchr): Do not use BP_SYM in weak_alias.
23743 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
23744 (fegetenv): Do not use BP_SYM in versioned symbols.
23745 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
23746 (fesetenv): Do not use BP_SYM in versioned symbols.
23747 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
23748 (feupdateenv): Do not use BP_SYM in versioned symbols.
23749 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
23750 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
23751 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
23752 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
23753 (open64): Do not use BP_SYM in weak_alias.
23754 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
23755 (fegetenv): Do not use BP_SYM in versioned symbols.
23756 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
23757 (fesetenv): Do not use BP_SYM in versioned symbols.
23758 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
23759 (feupdateenv): Do not use BP_SYM in versioned symbols.
23760 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
23761 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
23762 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
23763 (feraiseexcept): Do not use BP_SYM in versioned symbols.
23764 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
23765 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
23766 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
23768 (__libc_start_main): Do not use BP_SYM.
23770 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
23772 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
23773 redundant return line.
23775 (denorm): Likewise.
23776 (dbl_mp): Likewise.
23777 (sub_magnitudes): Likewise.
23783 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
23785 (denorm): Likewise.
23786 (dbl_mp): Likewise.
23787 (sub_magnitudes): Likewise.
23794 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
23796 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
23797 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
23800 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
23801 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
23802 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
23803 of __mul for squares.
23804 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
23806 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
23808 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
23809 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
23811 2013-02-13 Joseph Myers <joseph@codesourcery.com>
23814 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
23816 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
23817 prototype or function definition. Rename ubp_* variables and
23818 parameters. Remove argv definitions conditional on
23819 [__BOUNDED_POINTERS__].
23820 * debug/backtrace.c (__backtrace): Do not use __unbounded.
23821 * elf/dl-runtime.c (_dl_fixup): Likewise.
23822 * include/set-hooks.h (RUN_HOOK): Likewise.
23823 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
23825 * string/strcpy.c (strcpy): Do not use __unbounded.
23826 * sysdeps/generic/frame.h (struct layout): Likewise.
23827 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
23828 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
23829 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
23830 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
23831 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
23832 (__backtrace): Likewise.
23833 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
23835 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
23836 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
23837 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
23839 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
23840 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
23841 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
23842 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
23843 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
23844 Do not use __unbounded.
23845 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
23846 Rename __unboundedrlimits parameter to rlimits in prototype.
23847 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
23848 Do not use __unbounded.
23849 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
23850 not use __ptrvalue.
23851 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
23852 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
23853 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
23854 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
23855 __ptrvalue or __unbounded.
23856 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
23857 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
23859 (__new_msgctl): Do not use __ptrvalue.
23860 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
23862 (__libc_msgrcv): Do not use __ptrvalue.
23863 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
23864 startup_info): Do not use __unbounded.
23865 (__libc_start_main): Likewise. Rename ubp_* variables and
23866 parameters. Remove argv definitions conditional on
23867 [__BOUNDED_POINTERS__].
23868 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
23870 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
23872 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
23874 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
23876 (__new_shmctl): Do not use __ptrvalue.
23877 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
23878 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
23880 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
23881 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
23882 (__libc_sigaction): Likewise.
23883 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
23884 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
23886 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
23888 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
23890 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
23892 * string/mempcpy.c: Implement by calling memcpy.
23894 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
23896 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
23898 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
23901 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
23902 values in the mantissa.
23904 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
23905 minimize writes to Z.
23906 (sub_magnitudes): Simplify code a bit.
23908 2013-02-12 Roland McGrath <roland@hack.frob.com>
23910 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
23911 from the message. The linker prefixes all warnings with that already.
23913 2013-02-12 Andreas Schwab <schwab@suse.de>
23916 * posix/regexec.c (extend_buffers): Add parameter min_len.
23917 (check_matching): Pass minimum needed length.
23918 (clean_state_log_if_needed): Likewise.
23919 (get_subexp): Likewise.
23920 * posix/Makefile (tests): Add bug-regex34.
23921 (bug-regex34-ENV): Define.
23922 * posix/bug-regex34.c: New file.
23925 * posix/regcomp.c (parse_bracket_exp): When looking up collating
23926 elements compare against the byte sequence of it, not its name.
23927 * posix/Makefile (tests): Add bug-regex35.
23928 (bug-regex35-ENV): Define.
23929 * posix/bug-regex35.c: New file.
23931 2013-02-11 Tom de Vries <tom@codesourcery.com>
23933 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
23935 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
23936 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
23937 (CHECK_EOL): Add undef.
23939 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
23941 * bits/stdlib-bsearch.h: New file.
23942 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
23943 * stdlib/stdlib.h: Likewise.
23945 2013-02-11 Roland McGrath <roland@hack.frob.com>
23947 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
23948 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
23950 * manual/search.texi (Array Search Function): Add missing const in
23952 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
23953 declaration to use rlim_t.
23954 (Basic Scheduling Functions): Remove erroneous const from
23955 sched_getparam prototype. Remove erroneous * from
23956 sched_get_priority_max and sched_get_priority_min prototypes.
23957 (Resource Usage): Fix summary @comment on vtimes to refer to
23958 sys/vtimes.h rather than vtimes.h.
23959 Add missing *s in vtimes prototype.
23960 (Limits on Resources): Fix ulimit prototype to return long int.
23961 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
23962 prototypes to use long int rather than double.
23963 (BSD Random): Fix initstate and setstate to use char *, not void *.
23964 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
23965 prototype to make second argument 'struct aiocb64 *const[]'.
23966 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
23967 (Status of AIO Operations): Remove erroneous const in aio_return and
23968 aio_return64 prototypes.
23969 (Synchronizing I/O): Fix sync prototype to return void.
23970 * manual/startup.texi (Suboptions): Remove an erroneous const in
23971 getsubopt prototype.
23972 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
23973 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
23974 use size_t rather than int.
23975 (Scanning All Users): Likewise for getpwent_r.
23976 (Setting Groups): Add missing const to setgroups prototype.
23977 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
23978 * manual/socket.texi (Host Names): Fix gethostbyaddr and
23979 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
23980 'const void *' rather than 'const char *'.
23981 (Host Address Functions): Likewise for inet_ntop.
23982 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
23983 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
23984 ssize_t for return value.
23985 (Sending Data): Likewise for send, sendto, sendmsg.
23986 (Socket Option Functions): Add a missing const in setsockopt prototype.
23987 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
23988 use wchar_t for the argument.
23989 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
23990 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
23992 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
23993 double/float/long double for second argument.
23994 Fix return types of significand, significandf, significandl.
23995 * manual/filesys.texi (Setting Permissions): Use mode_t for second
23996 argument in fchmod prototype.
23997 (File Owner): Use uid_t and gid_t in fchown prototype.
23998 (File Times): Add const to utimes, futimes, and lutimes prototypes.
23999 (Making Special Files): Use mode_t and dev_t in mknod prototype.
24000 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
24001 use 'const struct dirent **' as argument types to CMP function pointer
24003 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
24004 (File Times): Fix summary magic @comment for struct utimbuf and utime
24005 to refer to utime.h, not time.h.
24006 * manual/string.texi (Argz Functions): Add missing const in
24007 argz_extract and argz_next prototypes.
24008 (Finding Tokens in a String): Likewise for basename.
24009 (String/Array Comparison): Fix typo in wcscasecmp prototype.
24010 (Copying and Concatenation): Fix typo in wmemmove prototype.
24011 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
24012 (Signal Stack): Remove erroneous const in sigstack prototype.
24013 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
24015 (Simple Calendar Time): Likewise for stime.
24016 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
24018 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
24019 say sys/sysctl.h instead.
24020 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
24021 and vsyslog prototypes.
24023 2013-02-11 Tom de Vries <tom@codesourcery.com>
24025 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
24028 2013-02-11 Roland McGrath <roland@hack.frob.com>
24030 * misc/sys/mman.h: Fix typo in mremap comment.
24032 2013-02-08 Roland McGrath <roland@hack.frob.com>
24034 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
24035 the '\0' terminator.
24037 2013-02-08 Joseph Myers <joseph@codesourcery.com>
24040 * debug/segfault.c: Don't include <bp-checks.h>.
24041 * sysdeps/generic/bp-checks.h: Remove file.
24042 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
24043 (__GETDENTS): Don't use CHECK_N.
24044 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
24045 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
24046 (__getgroups): Don't use CHECK_N.
24047 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
24048 (setgroups): Don't use CHECK_N.
24049 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
24050 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
24051 (__libc_msgrcv): Don't use CHECK_N.
24052 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
24053 (__libc_msgsnd): Don't use CHECK_N.
24054 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
24056 (__libc_pread): Don't use CHECK_N.
24057 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
24058 include <bp-checks.h>.
24059 (__libc_pread64): Don't use CHECK_N.
24060 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
24061 include <bp-checks.h>.
24062 (__libc_pwrite): Don't use CHECK_N.
24063 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
24064 include <bp-checks.h>.
24065 (__libc_pwrite64): Don't use CHECK_N.
24066 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
24068 (__libc_pread): Don't use CHECK_N.
24069 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
24070 include <bp-checks.h>.
24071 (__libc_pread64): Don't use CHECK_N.
24072 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
24073 include <bp-checks.h>.
24074 (__libc_pwrite): Don't use CHECK_N.
24075 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
24076 include <bp-checks.h>.
24077 (__libc_pwrite64): Don't use CHECK_N.
24078 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
24079 (do_pread): Don't use CHECK_N.
24080 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
24081 (do_pread64): Don't use CHECK_N.
24082 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
24083 (do_pwrite): Don't use CHECK_N.
24084 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
24085 (do_pwrite64): Don't use CHECK_N.
24086 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
24087 (__libc_readv): Don't use CHECK_N.
24088 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
24089 (semop): Don't use CHECK_N.
24090 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
24092 (semtimedop): Don't use CHECK_N.
24093 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
24094 (__libc_pread): Don't use CHECK_N.
24095 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
24097 (__libc_pread64): Don't use CHECK_N.
24098 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
24100 (__libc_pwrite): Don't use CHECK_N.
24101 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
24103 (__libc_pwrite64): Don't use CHECK_N.
24104 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
24106 (__libc_msgrcv): Don't use CHECK_N.
24107 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
24108 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
24109 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
24110 (__libc_writev): Don't use CHECK_N.
24112 2013-02-08 Roland McGrath <roland@hack.frob.com>
24114 * string/strcpy.c: Removed unused variable.
24116 * Makeconfig (+sysdep-includes): Define with := rather than =.
24117 Use an existing include/ subdir of each sysdeps dir before it.
24119 2013-02-08 Carlos O'Donell <carlos@redhat.com>
24121 * nscd/connection.c (register_traced_file): Comment function.
24122 [HAVE_INOTIFY] (union __inev): Define.
24123 [HAVE_INOTIFY] (inotify_check_files): New function.
24124 [HAVE_INOTIFY] (clear_db_cache): Likewise.
24125 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
24127 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
24129 2013-02-08 Carlos O'Donell <carlos@redhat.com>
24131 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
24132 loaded if not already and that a failure is permanent.
24134 2013-02-08 Carlos O'Donell <carlos@redhat.com>
24137 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
24138 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
24140 2013-02-08 Joseph Myers <joseph@codesourcery.com>
24143 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
24144 (CHECK_1_NULL_OK): Likewise.
24145 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
24146 (__fxstat): Do not use CHECK_1.
24147 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
24149 (___fxstat64): Do not use CHECK_1.
24150 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
24152 (__fxstatat): Do not use CHECK_1.
24153 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
24155 (__fxstatat64): Do not use CHECK_1.
24156 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
24158 (__fxstat): Do not use CHECK_1.
24159 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
24161 (__fxstatat): Do not use CHECK_1.
24162 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
24164 (__getresgid): Do not use CHECK_1.
24165 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
24167 (__getresuid): Do not use CHECK_1.
24168 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
24170 (__lxstat): Do not use CHECK_1.
24171 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
24173 (__old_msgctl): Do not use CHECK_1.
24174 (__new_msgctl): Likewise.
24175 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
24177 (__new_setrlimit): Do not use CHECK_1.
24178 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
24180 (__old_shmctl): Do not use CHECK_1.
24181 (__new_shmctl): Likewise.
24182 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
24184 (__xstat): Do not use CHECK_1.
24185 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
24186 (__lxstat): Do not use CHECK_1.
24187 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
24189 (___lxstat64): Do not use CHECK_1.
24190 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
24191 (__old_msgctl): Do not use CHECK_1.
24192 (__new_msgctl): Likewise.
24193 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
24195 (__gettimeofday): Do not use CHECK_1.
24196 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
24197 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
24198 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
24200 (__gettimeofday): Do not use CHECK_1.
24201 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
24202 (__old_shmctl): Do not use CHECK_1_NULL_OK.
24203 (__new_shmctl): Do not use CHECK_1.
24204 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
24206 (do_sigtimedwait): Do not use CHECK_1.
24207 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
24209 (do_sigwaitinfo): Do not use CHECK_1.
24210 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
24212 (msgctl): Do not use CHECK_1.
24213 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
24215 (shmctl): Do not use CHECK_1.
24216 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
24217 (ustat): Do not use CHECK_1.
24218 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
24220 (__fxstat): Do not use CHECK_1.
24221 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
24223 (__fxstatat): Do not use CHECK_1.
24224 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
24226 (__lxstat): Do not use CHECK_1.
24227 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
24229 (__xstat): Do not use CHECK_1.
24230 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
24231 (__xstat): Do not use CHECK_1.
24232 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
24233 (___xstat64): Do not use CHECK_1.
24236 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
24238 (CHECK_BOUNDS_HIGH): Likewise.
24239 * string/strcpy.c: Do not include <bp-checks.h>.
24240 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
24242 2013-02-07 Roland McGrath <roland@hack.frob.com>
24244 * nscd/nscd-client.h (__nscd_drop_map_ref):
24245 Add __attribute__ ((unused)).
24246 * nis/nss-nisplus.h (niserr2nss): Likewise.
24248 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
24249 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
24251 * csu/libc-tls.c (init_static_tls, init_slotinfo):
24252 Remove inline keyword.
24253 * include/rounding-mode.h (round_away): Likewise.
24254 * libio/wfileops.c (adjust_wide_data): Likewise.
24255 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
24256 (__m128i_strloadu_tolower): Likewise.
24257 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
24258 (__m128i_strloadu_tolower): Likewise.
24259 * time/mktime.c (ydhms_diff): Likewise.
24260 * locale/elem-hash.h (elem_hash): Likewise.
24261 * locale/setlocale.c (setdata): Likewise.
24262 * posix/regex_internal.h (re_string_char_size_at): Likewise.
24263 (re_string_wchar_at): Likewise.
24264 (bitset_not, bitset_merge, bitset_mask): Likewise.
24265 [!(__GNUC__ > 3)] (inline): Remove macro.
24266 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
24267 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
24268 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
24269 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
24270 * string/memcmp.c (memcmp_bytes): Likewise.
24271 * locale/programs/locarchive.c (compute_hashval): Likewise.
24272 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
24273 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
24274 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
24275 * nss/getent.c (print_rpc, print_protocols): Likewise.
24276 (print_passwd, print_group, print_aliases): Likewise.
24277 * nis/nss-nisplus.h (niserr2nss): Likewise.
24278 * nscd/connections.c (restart_p): Likewise.
24279 Change return type to bool.
24281 2013-02-05 Roland McGrath <roland@hack.frob.com>
24283 * Makeconfig (all-Depend-files): Add existing
24284 $(sorted-subdirs:=/Depend) files.
24285 (all-subdirs): Remove nss.
24286 * sysdeps/unix/inet/Subdirs: Add it here instead.
24287 * hesiod/Depend: New file.
24289 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
24290 instead of calling alloca.
24292 * io/lseek.c (__lseek): Rename to __libc_lseek.
24293 Define __lseek as an alias.
24295 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
24297 2013-02-04 Carlos O'Donell <carlos@redhat.com>
24299 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
24300 else clause and remove check for non-standard endianness.
24302 2013-02-04 David S. Miller <davem@davemloft.net>
24304 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24306 2013-02-04 Joseph Myers <joseph@codesourcery.com>
24309 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
24310 (__ubp_memchr): Remove prototype.
24311 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
24312 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
24313 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
24314 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
24315 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
24317 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
24318 (__ubp_memchr): Likewise.
24319 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
24320 (__ubp_memchr): Likewise.
24321 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
24322 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
24323 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
24324 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
24326 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
24327 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
24328 (__getcwd): Do not use CHECK_STRING.
24329 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
24331 (__real_chown): Do not use CHECK_STRING.
24332 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
24334 (fchownat): Do not use CHECK_STRING.
24335 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
24337 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
24339 (__lchown): Do not use CHECK_STRING.
24340 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
24341 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
24342 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
24343 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
24344 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
24345 include <bp-checks.h>.
24346 (truncate64): Do not use CHECK_STRING.
24347 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
24349 (__real_chown): Do not use CHECK_STRING.
24350 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
24352 (__lchown): Do not use CHECK_STRING.
24353 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
24355 (__chown): Do not use CHECK_STRING.
24356 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
24358 (truncate64): Do not use CHECK_STRING.
24359 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
24361 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
24362 (__xmknod): Do not use CHECK_STRING.
24363 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
24365 (__xmknodat): Do not use CHECK_STRING.
24366 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
24367 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
24369 2013-02-04 Andreas Schwab <schwab@suse.de>
24372 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
24373 * include/netdb.h: Likewise for h_errno.
24374 * elf/tst-stackguard1.c: Include <tls.h>.
24376 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
24378 * elf/link.h (struct link_map): Extend the l_addr comment.
24379 * include/link.h (struct link_map): Likewise.
24381 2013-02-01 Joseph Myers <joseph@codesourcery.com>
24384 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
24385 (BOUNDED_1): Remove macro.
24386 * debug/backtrace.c: Don't include <bp-checks.h>.
24387 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
24388 (__backtrace): Likewise.
24389 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
24391 (__backtrace): Don't use BOUNDED_1.
24392 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
24394 (__backtrace): Don't use BOUNDED_1.
24395 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
24396 (__backtrace): Don't use BOUNDED_1.
24397 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
24398 (shmat): Don't use BOUNDED_N.
24400 2013-01-31 Joseph Myers <joseph@codesourcery.com>
24403 * sysdeps/generic/bp-start.h: Remove file.
24404 * csu/libc-start.c: Don't include <bp-start.h>.
24405 (LIBC_START_MAIN): Set up __environ directly instead of using
24406 INIT_ARGV_and_ENVIRON.
24407 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
24411 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
24413 (CHECK_FCNTL): Likewise.
24414 (CHECK_N_PAGES): Likewise.
24417 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
24419 (CHECK_SIGSET_NULL_OK): Likewise.
24420 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
24422 (sigpending): Don't use CHECK_SIGSET.
24423 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
24425 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
24426 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
24428 (do_sigsuspend): Don't use CHECK_SIGSET.
24429 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
24431 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
24432 (do_sigwait): Don't use CHECK_SIGSET.
24433 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
24435 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
24436 include <bp-checks.h>.
24437 (sigpending): Don't use CHECK_SIGSET.
24438 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
24439 include <bp-checks.h>.
24440 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
24441 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
24443 (sigpending): Don't use CHECK_SIGSET.
24444 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
24446 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
24449 * sysdeps/generic/bp-semctl.h: Remove file.
24450 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
24451 <bp-checks.h> and <bp-semctl.h>.
24452 (__old_semctl): Don't use CHECK_SEMCTL.
24453 (__new_semctl): Likewise.
24454 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
24456 (__old_semctl): Don't use CHECK_SEMCTL.
24457 (__new_semctl): Likewise.
24458 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
24459 <bp-checks.h> and <bp-semctl.h>.
24460 (__old_semctl): Don't use CHECK_SEMCTL.
24461 (__new_semctl): Likewise.
24462 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
24463 <bp-checks.h> and <bp-semctl.h>.
24464 (semctl): Don't use CHECK_SEMCTL.
24467 * Makerules (elide-bp-thunks): Remove variable.
24468 (elide-routines.oS): Don't use $(elide-bp-thunks).
24469 (elide-routines.os): Likewise.
24470 (elide-routines.o): Likewise.
24471 (elide-routines.op): Likewise.
24472 (elide-routines.og): Likewise.
24473 (objects): Don't use $(bp-thunks).
24474 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
24476 (common-generated): Do not add s-proto-bp.d.
24477 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
24480 Do not generate makefile rules for bounded-pointer thunks.
24481 * sysdeps/generic/bp-thunks.h: Remove file.
24482 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
24483 * sysdeps/unix/s-proto-bp.S: Likewise.
24486 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
24487 parts of result separately when argument is not close to line from
24488 -i to i and one part of argument is small.
24489 * math/k_casinhf.c (__kernel_casinhf): Likewise.
24490 * math/k_casinhl.c (__kernel_casinhl): Likewise.
24491 * math/libm-test.inc (cacos_test): Add more tests.
24492 (casin_test): Likewise.
24493 (casinh_test): Likewise.
24494 * sysdeps/i386/fpu/libm-test-ulps: Update.
24495 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24497 2013-01-31 David S. Miller <davem@davemloft.net>
24499 * po/de.po: Update from translation team.
24501 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
24503 * time/tzfile.c: Include stdint.h for SIZE_MAX.
24505 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
24507 * configure.in (_AC_PROG_CC_C89): New definition.
24508 * configure: Regenerate.
24510 * configure.in (AC_PROG_CPP): New definition.
24511 * configure: Regenerate.
24513 2013-01-23 Joseph Myers <joseph@codesourcery.com>
24515 * debug/tst-backtrace.h: New file.
24516 * debug/tst-backtrace2.c: Include tst-backtrace.h.
24517 (ret): Remove variable.
24519 (FAIL): Remove macro.
24520 (NO_INLINE): Likewise.
24521 (fn1): Use match function instead of strstr.
24522 * debug/tst-backtrace3.c: Include tst-backtrace.h.
24523 (ret): Remove variable.
24525 (FAIL): Remove macro.
24526 (NO_INLINE): Likewise.
24527 (fn): Use match function instead of strstr.
24528 * debug/tst-backtrace4.c: Include tst-backtrace.h.
24529 (ret): Remove variable.
24531 (FAIL): Remove macro.
24532 (NO_INLINE): Likewise.
24533 (handle_signal): Use match function instead of strstr.
24534 * debug/tst-backtrace5.c: Include tst-backtrace.h.
24535 (ret): Remove variable.
24537 (FAIL): Remove macro.
24538 (NO_INLINE): Likewise.
24539 (handle_signal): Use match function instead of strstr.
24541 2013-01-23 Roland McGrath <roland@hack.frob.com>
24543 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
24545 2013-01-23 David S. Miller <davem@davemloft.net>
24547 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
24548 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
24549 argument of CAS if possible.
24550 * sysdeps/sparc/sparc64/bits/atomic.h
24551 (__arch_compare_and_exchange_val_32_acq): Likewise.
24552 (__arch_compare_and_exchange_val_64_acq): Likewise.
24554 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
24556 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
24557 * sysdeps/posix/ulimit.c: ... this.
24558 Include <limits.h>.
24559 * sysdeps/unix/bsd/ulimit.c: Remove file.
24561 2013-01-23 Adam Conrad <adconrad@0c3.net>
24563 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
24564 (LDFLAGS-tst-array5): Likewise.
24566 2013-01-23 Joseph Myers <joseph@codesourcery.com>
24569 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
24570 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
24571 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
24572 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
24574 2013-01-21 David S. Miller <davem@davemloft.net>
24576 * sysdeps/sparc/backtrace.c: New file.
24577 * sysdeps/sparc/sparc32/backtrace.h: New file.
24578 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
24579 * sysdeps/sparc/sparc64/backtrace.h: New file.
24580 * sysdeps/sparc/sparc64/backtrace.c: Delete.
24581 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
24584 2013-01-21 Andreas Schwab <schwab@suse.de>
24587 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
24590 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
24592 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
24594 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
24596 2013-01-18 Joseph Myers <joseph@codesourcery.com>
24597 Mark Mitchell <mark@codesourcery.com>
24598 Tom de Vries <tom@codesourcery.com>
24599 Paul Pluzhnikov <ppluzhnikov@google.com>
24601 * debug/tst-backtrace2.c: New file.
24602 * debug/tst-backtrace3.c: Likewise.
24603 * debug/tst-backtrace4.c: Likewise.
24604 * debug/tst-backtrace5.c: Likewise.
24605 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
24606 (CFLAGS-tst-backtrace3.c): Likewise.
24607 (CFLAGS-tst-backtrace4.c): Likewise.
24608 (CFLAGS-tst-backtrace5.c): Likewise.
24609 (LDFLAGS-tst-backtrace2): Likewise.
24610 (LDFLAGS-tst-backtrace3): Likewise.
24611 (LDFLAGS-tst-backtrace4): Likewise.
24612 (LDFLAGS-tst-backtrace5): Likewise.
24613 (tests): Add new tests tst-backtrace2, tst-backtrace3,
24614 tst-backtrace4 and tst-backtrace5.
24616 2013-01-18 Anton Blanchard <anton@samba.org>
24617 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
24619 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
24620 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
24621 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
24622 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
24623 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
24624 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
24625 "+r" and remove output regs list as redundant. Add explicit inline
24626 asm to specify register of return val to work around compiler codegen
24627 bug. Remove (int) cast on return value. Add return type parameter to
24628 use in macro so that this macro does not truncate return value for
24630 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
24631 pass to INTERNAL_VSYSCALL_NCS.
24632 (INLINE_VSYSCALL): Add 'long int' as return type to
24633 INTERNAL_VSYSCALL_NCS macro invocation.
24634 (INTERNAL_VSYSCALL): Add 'long int' as return type to
24635 INTERNAL_VSYSCALL_NCS macro invocation.
24636 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
24638 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
24641 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
24642 Fix application of SIMD FP exception mask.
24644 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
24645 mp_no from a power of two.
24646 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
24647 __mpexp_twomm1. Use __pow_mp.
24649 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
24652 2013-01-17 David S. Miller <davem@davemloft.net>
24654 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24656 2013-01-17 Joseph Myers <joseph@codesourcery.com>
24659 * include/complex.h: Condition contents on [!_COMPLEX_H].
24660 (__kernel_casinhf): New prototype.
24661 (__kernel_casinh): Likewise.
24662 (__kernel_casinhl): Likewise.
24663 * math/Makefile (libm_calls): Add k_casinh.
24664 * math/k_casinh.c: New file.
24665 * math/k_casinhf.c: Likewise.
24666 * math/k_casinhl.c: Likewise.
24667 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
24668 finite nonzero arguments.
24669 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
24670 finite nonzero arguments.
24671 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
24672 finite nonzero arguments.
24673 * math/s_casinh.c: Do not include <float.h>.
24674 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
24675 * math/s_casinhf.c: Do not include <float.h>.
24676 (__casinhf): Move code for finite nonzero arguments to
24678 * math/s_casinhl.c: Do not include <float.h>.
24679 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
24681 (__casinhl): Move code for finite nonzero arguments to
24683 * math/libm-test.inc (cacos_test): Add more tests.
24684 * sysdeps/i386/fpu/libm-test-ulps: Update.
24685 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24687 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
24689 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
24690 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
24691 [!HAVE_MREMAP]: Remove [defined linux] case.
24692 * malloc/arena.c: Do not include <malloc-sysdep.h>.
24694 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
24696 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
24698 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
24700 * elf/elf.h (R_386_SIZE32): New relocation.
24701 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
24703 (elf_machine_rela): Likewise.
24704 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
24705 R_X86_64_SIZE64 and R_X86_64_SIZE32.
24707 2013-01-17 Joseph Myers <joseph@codesourcery.com>
24709 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
24710 (FP_FAST_FMA): Do not define.
24711 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
24712 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
24713 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
24714 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
24715 !_SOFT_FLOAT]: Likewise.
24716 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
24717 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
24719 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
24720 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
24721 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
24722 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
24723 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
24724 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
24727 2013-01-16 Andreas Schwab <schwab@suse.de>
24730 * include/stdlib.h (__mktemp): Add declaration.
24731 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
24732 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
24734 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
24736 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
24738 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
24739 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
24740 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
24742 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
24743 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
24745 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
24747 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
24748 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
24749 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
24751 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
24752 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
24754 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
24756 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
24758 2013-01-15 David S. Miller <davem@davemloft.net>
24760 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
24761 trunc{,f} to libm-sysdep_routes.
24762 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
24763 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
24765 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
24766 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
24768 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
24770 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
24771 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
24772 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
24773 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
24774 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
24775 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
24776 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
24777 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
24779 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
24780 nearbyint{,f} to libm-sysdep_routes.
24781 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
24782 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
24784 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
24786 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
24788 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
24790 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
24791 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
24792 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
24794 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
24795 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
24797 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
24798 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
24799 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
24801 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
24802 libc_feholdexcept and libc_fesetenv.
24804 2013-01-15 Mike Frysinger <vapier@gentoo.org>
24806 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
24808 2013-01-14 David S. Miller <davem@davemloft.net>
24810 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
24811 (SPARC_ASM_VIS2_IFUNC): Likewise.
24812 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
24813 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
24814 use of 'siam' instruction.
24815 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
24817 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
24819 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
24821 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
24822 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
24823 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
24824 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
24825 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
24827 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
24829 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
24831 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
24833 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
24834 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
24835 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
24836 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
24837 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
24839 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
24840 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
24841 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
24843 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
24844 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
24845 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
24846 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
24847 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
24848 routines to libm-sysdep_routines.
24849 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
24851 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
24852 fdim/fdimf to libm-sysdep_routines.
24853 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
24855 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
24856 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
24858 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
24859 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
24860 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
24861 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
24862 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
24863 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
24864 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
24866 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
24868 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
24869 to optimize copies.
24871 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
24872 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
24873 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
24875 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
24876 local variable MPTWO.
24877 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
24880 2013-01-13 Mike Frysinger <vapier@gentoo.org>
24882 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
24885 2013-01-13 Mike Frysinger <vapier@gentoo.org>
24887 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
24889 2013-01-13 Mike Frysinger <vapier@gentoo.org>
24891 * manual/pattern.texi (glob_t): Document gl_flags.
24892 (glob64_t): Likewise.
24894 2013-01-11 David S. Miller <davem@davemloft.net>
24896 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
24897 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
24898 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
24899 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
24900 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
24901 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
24902 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
24903 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
24904 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
24905 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
24906 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
24907 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
24908 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
24910 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
24911 sparc V9 rather than using V8 code.
24912 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
24913 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
24915 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
24917 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
24920 2013-01-11 Roland McGrath <roland@hack.frob.com>
24922 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
24923 not in the main loop.
24924 * configure: Regenerated.
24926 2013-01-11 Joseph Myers <joseph@codesourcery.com>
24928 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
24929 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
24931 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
24932 [!__GLIBC_HAVE_LONG_LONG] case.
24933 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
24934 condition to just #else.
24935 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
24936 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
24937 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
24938 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
24940 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
24941 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
24942 #elif condition to just #else.
24943 * sysdeps/unix/sysv/linux/sys/sysmacros.h
24944 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
24945 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
24946 #elif condition to just #else.
24948 2013-01-11 Steve Ellcey <sellcey@mips.com>
24950 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
24951 (EF_MIPS_ARCH_64): Fix value.
24952 (EF_MIPS_ARCH_32R2): New.
24953 (EF_MIPS_ARCH_64R2): New.
24955 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
24957 * Makeconfig (+link-pie-before-libc): New.
24958 (+link-pie-after-libc): Likewise.
24959 (+link-pie-tests): Likewise.
24960 (+link-pie): Rewritten.
24961 (link-before-libc): Remove $(config-LDFLAGS).
24962 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
24963 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
24964 (config-LDFLAGS): Renamed to ...
24965 (rtld-LDFLAGS): This.
24966 (rtld-tests-LDFLAGS): New macro.
24967 (link-libc-rpath-link): Likewise.
24968 (link-libc-tests-rpath-link): Likewise.
24969 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
24970 (link-libc): Prepand $(link-libc-rpath-link).
24971 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
24972 (test-program-prefix): New macro.
24973 (test-via-rtld-prefix): Likewise.
24974 (test-program-cmd): Likewise.
24975 (host-test-program-cmd): Likewise.
24976 * Makefile ($(common-objpfx)testrun.sh): Replace
24977 $(run-program-prefix) with $(test-program-prefix).
24978 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
24980 ($(common-objpfx)shlib.lds): Likewise.
24981 (build-module-helper): Likewise.
24982 ($(common-objpfx)format.lds): Likewise.
24983 * Rules (binaries-pie-tests): New.
24984 (binaries-pie-notests): Likewise.
24985 (binaries-pie): Rewritten.
24986 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
24987 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
24988 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
24989 (make-test-out): Replace $(host-built-program-cmd) with
24990 $(host-test-program-cmd).
24991 * config.make.in (build-hardcoded-path-in-tests): New variable.
24992 * configure.in (--enable-hardcoded-path-in-tests): New configure
24994 (hardcoded_path_in_tests): New AC_SUBST.
24995 * configure: Regenerated.
24996 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
24997 $(built-program-cmd) with $(test-program-cmd).
24998 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
24999 (test_program_cmd): This.
25000 * elf/Makefile ($(objpfx)order.out): Run test with
25001 $(test-program-prefix).
25002 ($(objpfx)order2.out): Likewise.
25003 ($(objpfx)tst-initorder.out): Likewise.
25004 ($(objpfx)tst-initorder2.out): Likewise.
25005 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
25006 $(test-program-cmd).
25007 ($(objpfx)tst-array1-static.out): Likewise.
25008 ($(objpfx)tst-array2.out): Likewise.
25009 ($(objpfx)tst-array3.out): Likewise.
25010 ($(objpfx)tst-array4.out): Likewise.
25011 ($(objpfx)tst-array5.out): Likewise.
25012 ($(objpfx)tst-array5-static.out): Likewise.
25013 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
25014 $(test-program-cmd).
25015 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
25016 $(run-program-prefix) with $(test-program-prefix).
25017 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
25018 (test_program_prefix): This.
25019 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
25020 $(run-program-prefix) with $(test-program-prefix).
25021 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
25022 (test_program_prefix): This.
25023 * iconvdata/tst-tables.sh: Likewise.
25024 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
25025 $(run-program-prefix) with $(test-program-prefix).
25026 ($(objpfx)tst-translit.out): Likewise.
25027 ($(objpfx)tst-gettext2.out): Likewise.
25028 ($(objpfx)tst-gettext4.out): Likewise.
25029 ($(objpfx)tst-gettext6.out): Likewise.
25030 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
25031 (test_program_prefix): This.
25032 * intl/tst-gettext2.sh: Likewise.
25033 * intl/tst-gettext4.sh Likewise.
25034 * intl/tst-gettext6.sh: Likewise.
25035 * intl/tst-translit.sh: Likewise.
25036 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
25037 with $(test-program-cmd).
25038 * libio/Makefile ($(objpfx)test-freopen.out): Replace
25039 $(run-program-prefix) with $(test-program-prefix).
25040 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
25041 (test_program_prefix): This.
25042 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
25043 $(run-program-prefix) with $(test-program-prefix).
25044 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
25045 (test_program_prefix): This.
25046 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
25047 * posix/Makefile ($(objpfx)globtest.out): Replace
25048 $(run-via-rtld-prefix) and $(test-wrapper) with
25049 $(test-program-prefix) and $(test-via-rtld-prefix).
25050 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
25051 $(test-program-prefix).
25052 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
25053 $(host-test-program-cmd).
25054 (tst-spawn-ARGS): Likewise.
25055 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
25056 $(test-program-prefix).
25057 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
25058 (test_via_rtld_prefix): This.
25059 (test_wrapper): Renamed to ...
25060 (test_program_prefix): This.
25061 (run_program_prefix): Replaced by test_program_prefix.
25062 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
25063 (test_program_prefix): This.
25064 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
25065 with $(host-test-program-cmd).
25066 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
25067 $(run-program-prefix) with $(test-program-prefix).
25068 ($(objpfx)tst-printf.out): Likewise.
25069 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
25070 $(test-program-cmd).
25071 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
25072 (test_program_prefix): This.
25073 * stdio-common/tst-unbputc.sh: Likewise.
25074 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
25075 $(run-program-prefix) with $(test-program-prefix).
25076 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
25077 (test_program_prefix): This.
25078 * string/Makefile ($(objpfx)tst-svc.out): Replace
25079 $(built-program-cmd) with $(test-program-cmd).
25081 2013-01-11 Andreas Jaeger <aj@suse.de>
25084 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
25085 value. Sync with Linux 3.7.
25087 2013-01-10 David S. Miller <davem@davemloft.net>
25089 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
25090 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
25091 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
25093 2013-01-10 Roland McGrath <roland@hack.frob.com>
25095 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
25097 * configure: Regenerated.
25099 2013-01-10 David S. Miller <davem@davemloft.net>
25101 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
25102 sparc V9 rather than using V8 code.
25103 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
25104 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
25106 2013-01-10 Roland McGrath <roland@hack.frob.com>
25108 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
25109 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
25110 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
25111 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
25112 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
25113 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
25114 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
25115 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
25116 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
25117 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
25118 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
25119 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
25120 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
25121 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
25122 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
25123 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
25124 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
25125 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
25126 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
25127 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
25128 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
25129 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
25130 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
25131 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
25132 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
25133 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
25134 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
25136 2013-01-10 David S. Miller <davem@davemloft.net>
25138 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25140 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
25142 * posix/Makefile (tests-static): New variable.
25143 (tests): Add $(tests-static).
25144 (tst-exec-static-ARGS): New variable.
25145 (tst-spawn-static-ARGS): Likewise.
25146 * posix/tst-exec-static.c: New file.
25147 * posix/tst-spawn-static.c: Likewise.
25148 * posix/tst-exec.c: Support run directly.
25149 * posix/tst-spawn.c: Likewise.
25151 2013-01-10 Joseph Myers <joseph@codesourcery.com>
25153 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
25155 * math/bits/mathcalls.h (llrint): Likewise.
25156 (llround): Likewise.
25157 * stdlib/stdlib.h (struct drand48_data): Likewise.
25158 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
25159 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
25160 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
25162 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
25164 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
25165 (elf_greg_t): Likewise.
25166 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
25167 (__jmp_buf): Likewise.
25168 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
25170 (llrint): Likewise, for all definitions.
25171 (llrintl): Likewise.
25173 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
25174 Remove [__GNUC__] condition.
25175 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
25176 condition to just [__USE_ISOC99].
25177 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
25179 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
25182 * sysdeps/unix/sysv/linux/x86/bits/environments.h
25183 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
25185 (_POSIX_V6_ILP32_OFF32): Likewise.
25186 (_XBS5_ILP32_OFF32): Likewise.
25187 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
25188 (__ILP32_OFFBIG_LDFLAGS): Likewise.
25190 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
25192 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
25194 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
25195 doubles __mpexp_twomm1. Adjust usage.
25196 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
25199 2013-01-10 Andreas Schwab <schwab@suse.de>
25202 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
25203 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
25205 2013-01-09 David S. Miller <davem@davemloft.net>
25208 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
25209 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
25210 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
25211 (TCP_FASTOPEN): Define.
25212 (tcp_repair_opt): New structure.
25213 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
25215 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
25216 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
25217 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
25218 (tcp_cookie_transactions): New structure.
25220 2013-01-09 Anton Blanchard <anton@samba.org>
25222 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
25223 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
25224 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
25225 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
25227 2013-01-09 Joseph Myers <joseph@codesourcery.com>
25229 * include/features.h (__USE_ANSI): Remove.
25231 2013-01-09 Roland McGrath <roland@hack.frob.com>
25233 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
25235 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
25237 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
25239 * sysdeps/s390/fpu/libm-test-ulps: Update.
25241 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25243 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
25247 (denorm): Likewise.
25248 (__mp_dbl): Likewise.
25249 (__dbl_mp): Likewise.
25250 (add_magnitudes): Likewise.
25251 (sub_magnitudes): Likewise.
25257 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
25261 (denorm): Likewise.
25262 (__mp_dbl): Likewise.
25263 (__dbl_mp): Likewise.
25264 (add_magnitudes): Likewise.
25265 (sub_magnitudes): Likewise.
25271 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
25275 (denorm): Likewise.
25276 (__mp_dbl): Likewise.
25277 (__dbl_mp): Likewise.
25278 (add_magnitudes): Likewise.
25279 (sub_magnitudes): Likewise.
25286 2013-01-08 Joseph Myers <joseph@codesourcery.com>
25288 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
25289 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
25290 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
25291 2 && __USE_EXTERN_INLINES]: Likewise.
25293 2013-01-08 Andreas Jaeger <aj@suse.de>
25296 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
25298 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
25299 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
25301 2013-01-07 Anton Blanchard <anton@samba.org>
25303 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
25304 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
25305 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
25306 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
25307 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
25308 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
25309 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
25310 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
25311 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
25312 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
25313 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
25314 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
25315 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
25316 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
25317 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
25318 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
25319 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
25320 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
25321 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
25322 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
25323 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
25324 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
25325 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
25326 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
25327 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
25328 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
25329 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
25330 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
25331 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
25332 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
25333 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
25334 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
25335 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
25336 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
25337 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
25338 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
25339 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
25340 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
25341 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
25342 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
25343 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
25344 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
25345 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
25347 2013-01-07 Joseph Myers <joseph@codesourcery.com>
25349 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
25350 (__MALLOC_PMT): Likewise.
25351 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
25352 [__GNUC__], only on [_LIBC].
25353 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
25354 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
25355 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
25356 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
25357 forward declaration.
25358 (realloc_hook_ini): Likewise.
25359 (memalign_hook_ini): Likewise.
25360 (__libc_memalign): Do not use __MALLOC_PMT in variable
25362 (__libc_valloc): Likewise.
25363 (__libc_pvalloc): Likewise.
25364 (__libc_calloc): Likewise.
25365 (__posix_memalign): Likewise.
25368 * math/s_casinh.c: Include <float.h>.
25369 (__casinh): Do not do computation with squaring and square root
25370 for large arguments.
25371 * math/s_casinhf.c: Include <float.h>.
25372 (__casinhf): Do not do computation with squaring and square root
25373 for large arguments.
25374 * math/s_casinhl.c: Include <float.h>.
25375 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
25376 (__casinhl): Do not do computation with squaring and square root
25377 for large arguments.
25378 * math/libm-test.inc (casin_test): Add more tests.
25379 (casinh_test): Likewise.
25380 * sysdeps/i386/fpu/libm-test-ulps: Update.
25381 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25383 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
25385 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
25386 (__x86_64_raw_data_cache_size): Likewise.
25387 (__x86_64_data_cache_size_half): Likewise.
25388 (__x86_64_raw_data_cache_size_half): Likewise.
25389 (__x86_64_shared_cache_size): Likewise.
25390 (__x86_64_raw_shared_cache_size): Likewise.
25391 (__x86_64_shared_cache_size_half): Likewise.
25392 (__x86_64_raw_shared_cache_size_half): Likewise.
25393 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
25395 (__x86_data_cache_size): This.
25396 (__x86_64_raw_data_cache_size): Renamed to ...
25397 (__x86_raw_data_cache_size): This.
25398 (__x86_64_data_cache_size_half): Renamed to ...
25399 (__x86_data_cache_size_half): This.
25400 (__x86_64_raw_data_cache_size_half): Renamed to ...
25401 (__x86_raw_data_cache_size_half): This.
25402 (__x86_64_shared_cache_size): Renamed to ...
25403 (__x86_shared_cache_size): This.
25404 (__x86_64_raw_shared_cache_size): Renamed to ...
25405 (__x86_raw_shared_cache_size): This.
25406 (__x86_64_shared_cache_size_half): Renamed to ...
25407 (__x86_shared_cache_size_half): This.
25408 (__x86_64_raw_shared_cache_size_half): Renamed to ...
25409 (__x86_raw_shared_cache_size_half): This.
25410 * sysdeps/x86_64/memcpy.S: Updated.
25411 * sysdeps/x86_64/memset.S: Likewise.
25412 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
25413 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
25414 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
25416 2013-01-04 David S. Miller <davem@davemloft.net>
25418 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25420 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
25422 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
25423 1 to avoid redefinition warning.
25424 (__USE_GNU): Don't define.
25425 (init_signaling_nan): Protoize.
25427 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25429 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
25431 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
25432 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
25433 (__cpymn): Likewise.
25434 (norm): Remove commented code.
25435 (denorm): Likewise.
25436 (__mp_dbl): Likewise.
25438 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
25439 (__cpymn): Likewise.
25440 (norm): Remove commented code.
25441 (denorm): Likewise.
25442 (__mp_dbl): Likewise.
25445 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
25446 mp_no value for 1.0 and 2.0.
25447 (norm): Use RADIXI instead of radixi.d.
25448 (denorm): Likewise.
25449 (__mul): Use 0.0 instead of zero.d.
25450 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
25451 mp_no value for 1.0 and 2.0.
25452 (norm): Use RADIXI instead of radixi.d.
25453 (denorm): Likewise.
25454 (__mul): Use 0.0 instead of zero.d.
25456 2013-01-04 Joseph Myers <joseph@codesourcery.com>
25459 * math/s_casinh.c (__casinh): Reduce finite argument to first
25460 quadrant then set signs of results at the end.
25461 * math/s_casinhf.c (__casinhf): Likewise.
25462 * math/s_casinhl.c (__casinhl): Likewise.
25463 * math/libm-test.inc (casin_test): Add more tests.
25464 (casinh_test): Likewise.
25465 * sysdeps/i386/fpu/libm-test-ulps: Update.
25466 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25468 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
25470 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
25472 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
25474 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
25476 (denorm): Likewise.
25477 (__mp_dbl): Likewise.
25480 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
25481 and adjust the header comment.
25483 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
25484 variable name from declaration.
25486 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
25488 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25489 Initialize COMMON_CPUID_INDEX_7 element.
25490 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
25491 (CPUID_RTM): Likewise.
25492 (HAS_RTM): Likewise.
25493 (COMMON_CPUID_INDEX_7): New enum.
25495 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
25498 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
25499 size is zero, record memory as freed.
25501 2013-01-03 Andreas Jaeger <aj@suse.de>
25503 * po/ia.po: Add new Interlingua translation.
25505 2012-01-03 Allan McRae <allan@archlinux.org>
25507 * locale/programs/localedef.c: Fix description of '--posix' flag.
25509 2013-01-02 Joseph Myers <joseph@codesourcery.com>
25511 * NEWS: Update dates in second copyright notice.
25512 * README: Update copyright dates in example.
25513 * manual/libc.texinfo: Update copyright dates.
25514 * scripts/test-installation.pl: Update copyright date in --version
25517 * hurd/ctty-input.c: Fix copyright notice formatting.
25518 * hurd/ctty-output.c: Likewise.
25519 * hurd/dtable.c: Likewise.
25520 * hurd/hurd-raise.c: Likewise.
25521 * hurd/hurdprio.c: Likewise.
25522 * hurd/msgportdemux.c: Likewise.
25523 * misc/sys/file.h: Likewise.
25524 * misc/sys/ioctl.h: Likewise.
25525 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
25526 * sysdeps/mach/hurd/chdir.c: Likewise.
25527 * sysdeps/mach/hurd/fchdir.c: Likewise.
25528 * sysdeps/mach/hurd/rename.c: Likewise.
25529 * sysdeps/mach/hurd/rmdir.c: Likewise.
25530 * sysdeps/mach/hurd/seekdir.c: Likewise.
25531 * sysdeps/mach/hurd/setsid.c: Likewise.
25532 * sysdeps/posix/wait3.c: Likewise.
25534 * All files with FSF copyright notices: Update copyright dates
25535 using scripts/update-copyrights.
25536 * intl/plural.c: Regenerated.
25537 * locale/programs/charmap-kw.h: Likewise.
25538 * locale/programs/locfile-kw.h: Likewise.
25540 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
25542 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
25545 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
25546 calculation loop and add branch prediction.
25548 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
25549 check access beyond bounds of m1np.
25551 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
25553 (__inv): Remove local variable MPTWO to use the global
25555 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
25556 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
25558 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
25559 MP3HALFS static const.
25561 2013-01-01 David S. Miller <davem@davemloft.net>
25563 * po/ca.po: Update from translation team.
25565 2013-01-01 Joseph Myers <joseph@codesourcery.com>
25567 * scripts/update-copyrights: New file.
25568 * Makeconfig: Reformat copyright notice.
25569 * ctype/ctype.h: Likewise.
25570 * debug/swprintf_chk.c: Likewise.
25571 * elf/dl-cache.c: Likewise.
25572 * elf/dl-debug.c: Likewise.
25573 * elf/dl-object.c: Likewise.
25574 * grp/initgroups.c: Likewise.
25575 * hurd/Makefile: Likewise.
25576 * hurd/hurd/signal.h: Likewise.
25577 * hurd/hurdfault.c: Likewise.
25578 * hurd/hurdioctl.c: Likewise.
25579 * hurd/hurdlookup.c: Likewise.
25580 * hurd/intr-msg.c: Likewise.
25581 * iconv/gconv_open.c: Likewise.
25582 * libio/swprintf.c: Likewise.
25583 * locale/lc-ctype.c: Likewise.
25584 * locale/nl_langinfo.c: Likewise.
25585 * mach/Machrules: Likewise.
25586 * mach/Makefile: Likewise.
25587 * malloc/obstack.h: Likewise.
25588 * manual/Makefile: Likewise.
25589 * manual/tsort.awk: Likewise.
25590 * misc/bits/stab.def: Likewise.
25591 * nis/nis_print_group_entry.c: Likewise.
25592 * nis/nis_table.c: Likewise.
25593 * nis/nss_compat/compat-pwd.c: Likewise.
25594 * nis/nss_compat/compat-spwd.c: Likewise.
25595 * po/Makefile: Likewise.
25596 * posix/fnmatch.c: Likewise.
25597 * posix/regex.h: Likewise.
25598 * resolv/Makefile: Likewise.
25599 * resolv/nss_dns/dns-network.c: Likewise.
25600 * resolv/res_hconf.c: Likewise.
25601 * scripts/gen-sorted.awk: Likewise.
25602 * soft-fp/soft-fp.h: Likewise.
25603 * stdio-common/printf.h: Likewise.
25604 * stdlib/monetary.h: Likewise.
25605 * stdlib/random.c: Likewise.
25606 * stdlib/random_r.c: Likewise.
25607 * sysdeps/generic/Makefile: Likewise.
25608 * sysdeps/gnu/Makefile: Likewise.
25609 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
25610 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
25611 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
25612 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
25613 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
25614 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25615 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
25616 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
25617 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
25618 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
25619 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
25620 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
25621 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
25622 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
25623 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
25624 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
25625 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
25626 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
25627 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
25628 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
25629 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
25630 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
25631 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
25632 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
25633 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
25634 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
25635 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
25636 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
25637 * sysdeps/mach/hurd/errnos.awk: Likewise.
25638 * sysdeps/mach/hurd/fork.c: Likewise.
25639 * sysdeps/mach/hurd/getcwd.c: Likewise.
25640 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
25641 * sysdeps/mach/hurd/mmap.c: Likewise.
25642 * sysdeps/mach/hurd/utimes.c: Likewise.
25643 * sysdeps/mach/hurd/xmknod.c: Likewise.
25644 * sysdeps/posix/profil.c: Likewise.
25645 * sysdeps/posix/readdir_r.c: Likewise.
25646 * sysdeps/powerpc/bits/mathdef.h: Likewise.
25647 * sysdeps/powerpc/bits/setjmp.h: Likewise.
25648 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
25649 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
25650 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
25651 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
25652 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
25653 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
25654 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
25655 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
25656 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
25657 * sysdeps/pthread/lio_listio.c: Likewise.
25658 * sysdeps/sparc/dl-procinfo.h: Likewise.
25659 * sysdeps/unix/i386/sysdep.S: Likewise.
25660 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
25661 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
25662 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
25663 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
25664 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
25665 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
25666 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
25667 * sysdeps/unix/sysv/linux/speed.c: Likewise.
25668 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
25669 * sysdeps/wordsize-32/divdi3.c: Likewise.
25670 * time/sys/time.h: Likewise.
25671 * wcsmbs/Makefile: Likewise.
25673 2013-01-01 David S. Miller <davem@davemloft.net>
25675 * po/fr.po: Update from translation team.
25677 * catgets/gencat.c: Update copyright year.
25678 * csu/version.c: Likewise.
25679 * debug/catchsegv.sh: Likewise.
25680 * debug/pcprofiledump.c: Likewise.
25681 * debug/xtrace.sh: Likewise.
25682 * elf/ldconfig.c: Likewise.
25683 * elf/ldd.bash.in: Likewise.
25684 * elf/pldd.c: Likewise.
25685 * elf/sotruss.ksh: Likewise.
25686 * elf/sprof.c: Likewise.
25687 * iconv/iconv_prog.c: Likewise.
25688 * iconv/iconvconfig.c: Likewise.
25689 * locale/programs/locale.c: Likewise.
25690 * locale/programs/localedef.c: Likewise.
25691 * login/programs/pt_chown.c: Likewise.
25692 * malloc/memusage.sh: Likewise.
25693 * malloc/memusagestat.c: Likewise.
25694 * malloc/mtrace.pl: Likewise.
25695 * nscd/nscd.c: Likewise.
25696 * nss/getent.c: Likewise.
25697 * nss/makedb.c: Likewise.
25698 * posix/getconf.c: Likewise.
25700 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
25702 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
25705 2012-12-30 Mike Frysinger <vapier@gentoo.org>
25707 * math/bits/mathcalls.h (modf): Use __nonnull.
25709 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
25711 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
25712 (split): Use macro CN instead of the bare value.
25713 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
25715 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
25716 instead of the bare value.
25717 (power1): Likewise.
25719 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25721 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
25723 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
25725 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
25727 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
25728 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
25729 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
25730 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
25732 2012-12-28 Andreas Jaeger <aj@suse.de>
25734 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
25735 values are from Linux 3.7.
25737 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
25738 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
25740 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25742 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
25745 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
25747 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
25748 variables with preprocessor constants.
25749 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
25750 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
25751 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
25753 2012-12-27 Bruno Haible <bruno@clisp.org>
25756 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
25759 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
25761 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
25762 and use variable directly.
25763 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
25765 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
25767 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
25768 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
25770 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
25771 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
25772 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
25773 include directive. Remove local variable MPONE.
25774 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
25775 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
25776 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
25778 2012-12-25 David S. Miller <davem@davemloft.net>
25780 * version.h (RELEASE): Set to "development".
25781 (VERSION): Set to "2.17.90".
25782 * NEWS: Add 2.18 section.
25784 2012-12-21 David S. Miller <davem@davemloft.net>
25786 * po/hr.po: Update from translation team.
25788 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25790 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
25792 2012-12-19 Steve Ellcey <sellcey@mips.com>
25794 * NEWS: Mention new memcpy for MIPS.
25796 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
25798 * manual/contrib.texi (Contributors): Spelling correction.
25800 2012-12-15 David S. Miller <davem@davemloft.net>
25802 * po/ru.po: Update from translation team.
25804 2012-12-13 David S. Miller <davem@davemloft.net>
25806 * NEWS: Mention IFUNC testsuite enhancements.
25808 * po/pl.po: Update from translation team.
25809 * po/bg.po: Likewise.
25811 * manual/contrib.texi (Contributors): Update entries for Hongjiu
25812 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
25814 2012-12-11 David S. Miller <davem@davemloft.net>
25816 * po/sv.po: Update from translation team.
25818 * po/vi.po: Update from translation team.
25820 * po/cs.po: Update from translation team.
25822 * po/de.po: Update from translation team.
25823 * po/eo.po: Likewise.
25824 * po/nl.po: Likewise.
25826 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
25829 * manual/argp.texi (Argp Helper Functions): Move node to follow
25830 Argp Parsing State.
25833 * manual/conf.texi (Limits on File System Capacity): Mention if
25834 terminating null is included in the max size.
25836 2012-12-10 Andreas Jaeger <aj@suse.de>
25838 * po/cs.po: Update from translation team.
25840 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
25842 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
25843 void pointer and cast to uintptr_t.
25844 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
25846 * sysdeps/s390/s390-64/memcpy.S: Likewise.
25847 * sysdeps/s390/s390-64/memset.S: Likewise.
25849 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
25852 * menual/message.texi (Message Translation): Fix typos.
25853 (Helper programs for gettext): Likewise.
25855 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
25858 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
25861 2012-12-07 David S. Miller <davem@davemloft.net>
25863 * po/libc.pot: Update.
25865 2012-12-07 Richard Henderson <rth@redhat.com>
25868 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
25869 normal/normal case to before the switch.
25870 (_FP_DIV): Likewise.
25872 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
25873 Mike Frysinger <vapier@gentoo.org>
25875 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
25876 check for __NR_fadvise64_64.
25878 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
25880 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
25881 0, not just to plain "0" as a statement.
25882 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
25885 2012-12-06 Joseph Myers <joseph@codesourcery.com>
25887 * NEWS: Use sourceware.org in Bugzilla URL.
25889 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
25891 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
25892 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
25894 * stdio-common/tst-put-error.c (do_test): Add newline to the
25895 padded test to ensure flush.
25897 2012-12-05 Jeff Law <law@redhat.com>
25899 * sunrpc/etc.rpc (fedfs_admin): Add entry.
25901 2012-12-05 Joseph Myers <joseph@codesourcery.com>
25903 * README: Don't refer to ports add-on as distributed separately.
25904 Mention AArch64 in list of systems supported in the ports add-on.
25906 * LICENSES: Add more non-FSF copyright and license notices.
25908 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
25911 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
25913 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
25914 10000 as width of padded output.
25916 2012-12-04 Joseph Myers <joseph@codesourcery.com>
25918 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
25920 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
25921 variable LX with __attribute__ ((unused)).
25922 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
25924 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
25925 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
25926 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
25927 with __attribute__ ((unused)).
25929 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
25931 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
25933 2012-12-04 Joseph Myers <joseph@codesourcery.com>
25935 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
25936 (CFLAGS-nldbl-acos.c): New variable.
25937 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
25938 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
25939 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
25940 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
25941 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
25942 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
25943 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
25944 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
25945 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
25946 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
25947 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
25948 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
25949 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
25950 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
25951 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
25952 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
25953 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
25954 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
25955 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
25956 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
25957 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
25958 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
25959 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
25960 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
25961 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
25962 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
25963 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
25964 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
25965 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
25966 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
25967 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
25968 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
25969 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
25970 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
25971 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
25972 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
25973 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
25974 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
25975 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
25976 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
25977 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
25978 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
25979 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
25980 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
25981 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
25982 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
25983 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
25984 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
25985 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
25986 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
25987 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
25988 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
25989 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
25990 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
25991 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
25992 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
25993 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
25994 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
25995 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
25996 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
25997 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
25998 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
25999 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
26000 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
26001 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
26002 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
26003 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
26004 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
26005 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
26006 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
26007 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
26008 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
26009 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
26010 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
26011 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
26012 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
26013 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
26014 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
26015 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
26016 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
26017 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
26018 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
26019 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
26020 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
26021 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
26022 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
26023 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
26024 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
26025 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
26026 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
26027 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
26028 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
26029 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
26030 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
26031 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
26032 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
26033 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
26035 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
26036 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
26039 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
26040 whole low double instead of just low 47 bits when splitting values
26043 2012-12-03 Allan McRae <allan@archlinux.org>
26045 * manual/stdio.texi (Predefined Printf Handlers): Remove
26046 @hsep and @vsep usage.
26048 2012-12-03 Mike Frysinger <vapier@gentoo.org>
26050 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
26051 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
26053 2012-12-03 Jeff Law <law@redhat.com>
26055 * time/sys/time.h (settimeofday): Do not mark TV argument
26058 2012-12-01 Mike Frysinger <vapier@gentoo.org>
26060 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
26061 when currently writing and seek to current position when not.
26062 * libio/Makefile (tests): Remove bug-fclose1.
26063 * libio/bug-fclose1.c: Delete.
26065 2012-12-01 Joseph Myers <joseph@codesourcery.com>
26067 * manual/arith.texi (feenableexcept): Fix typo.
26068 (fedisableexcept): Likewise.
26070 2012-11-30 Roland McGrath <roland@hack.frob.com>
26072 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
26073 second, differently-typed declaration, rather than a cast.
26075 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
26077 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
26078 * include/rpc/svc.h: ... here.
26080 2012-11-30 Aurelien Jarno <aurel32@debian.org>
26083 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
26084 depending n and resplen2 to catch cases where answer
26087 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
26089 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
26090 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
26092 2012-11-29 Mike Frysinger <vapier@gentoo.org>
26094 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
26096 2012-11-29 Roland McGrath <roland@hack.frob.com>
26098 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
26100 2012-11-28 Jeff Law <law@redhat.com>
26103 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
26104 dataset_temporary. Track alloca usage into alloca_used.
26105 If dataset is large allocate and release it via malloc/free.
26107 2012-06-04 Florian Weimer <fweimer@redhat.com>
26110 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
26112 2012-11-28 David S. Miller <davem@davemloft.net>
26114 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26116 2012-11-28 Joseph Myers <joseph@codesourcery.com>
26119 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
26120 of pi/2 rounded to nearest to 64 bits.
26121 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
26122 nearest to 64 bits.
26123 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
26126 2012-11-28 Jeff Law <law@redhat.com>
26127 Martin Osvald <mosvald@redhat.com>
26130 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
26131 * sunrpc/svc.c: Include time.h.
26132 (__svc_accept_failed): New function.
26133 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
26134 any reason other than EINTR, call __svc_accept_failed.
26135 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
26136 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
26138 2012-11-28 Andreas Schwab <schwab@suse.de>
26140 * scripts/abilist.awk: Also handle indirect functions in .opd
26143 2012-11-28 Joseph Myers <joseph@codesourcery.com>
26146 * sysdeps/x86/fpu/powl_helper.c: New file.
26147 * sysdeps/x86/fpu/Makefile: Likewise.
26148 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
26150 (__ieee754_powl): Use __powl_helper for finite arguments except
26151 integer exponents below 8.
26152 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
26154 (__ieee754_powl): Use __powl_helper for finite arguments except
26155 integer exponents below 8.
26156 * math/libm-test.inc (pow_test): Add more tests and enable some
26157 previously disabled tests.
26158 * sysdeps/i386/fpu/libm-test-ulps: Update.
26159 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26161 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
26162 Carlos O'Donell <carlos_odonell@mentor.com>
26164 * nss/makedb.c (is_prime): Assert that input is odd and greater
26165 than 4. Note that fact in a comment too.
26166 (next_prime): Add 4 to input.
26168 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
26171 * libio/Makefile (tests): Add test case tst-fwrite-error.
26172 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
26173 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
26174 * libio/tst-fwrite-error.c: New test case.
26176 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
26178 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
26179 before casting to void *.
26180 * include/libc-internal.h (__pointer_type): New macro.
26181 (__integer_if_pointer_type_sub): Likewise.
26182 (__integer_if_pointer_type): Likewise.
26183 (cast_to_integer): Likewise.
26184 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
26185 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
26186 before casting to atomic64_t.
26187 (atomic_exchange_acq): Likewise.
26188 (__arch_exchange_and_add_body): Likewise.
26189 (__arch_add_body): Likewise.
26190 (atomic_add_negative): Likewise.
26191 (atomic_add_zero): Likewise.
26193 2012-11-26 Joseph Myers <joseph@codesourcery.com>
26195 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
26196 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
26197 (add_fdes): Likewise.
26198 (linear_search_fdes): Likewise.
26199 (binary_search_unencoded_fdes): Likewise.
26201 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
26203 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
26205 2012-11-24 Adam Conrad <adconrad@0c3.net>
26207 * configure.in: Autodetect C++ header directories.
26208 * configure: Regenerated.
26210 2012-11-23 Mike Frysinger <vapier@gentoo.org>
26212 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
26214 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
26216 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26218 2012-11-22 Joseph Myers <joseph@codesourcery.com>
26220 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
26221 LDBL_MANT_DIG == 106]: Disable some tests.
26222 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
26224 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
26228 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
26229 input for small inputs. Return +/- pi/2 for large inputs.
26230 * math/libm-test.inc (atan_test): Add more tests.
26232 * sysdeps/generic/unwind-dw2-fde-glibc.c
26233 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
26234 __attribute__ ((unused)).
26237 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
26238 x * y if x and y are nonzero and z is zero.
26241 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
26242 nonzero exponents with absolute value below 0x1p-117 to +/-
26246 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
26247 up arguments below 2**-450, not just those below 2**-500.
26248 * math/libm-test.inc (hypot_test): Add another test.
26251 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
26252 Return a+b for ratio over 2**120, not 2**60.
26253 * math/libm-test.inc (hypot_test): Add another test.
26255 * math/libm-test.inc (clog_test): Use
26256 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
26257 (clog10_test): Likewise.
26260 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
26262 2012-11-22 Andreas Schwab <schwab@suse.de>
26264 * sysdeps/i386/fpu/libm-test-ulps: Update.
26266 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
26268 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
26269 printf output with newline.
26271 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
26274 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
26275 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
26276 -z nodlopen, -z initfirst and -z execstack support.
26277 * configure: Regenerated.
26279 * elf/elf.h (DF_1_NODIRECT): New macro.
26280 (DF_1_IGNMULDEF): Likewise.
26281 (DF_1_NOKSYMS): Likewise.
26282 (DF_1_NOHDR): Likewise.
26283 (DF_1_EDITED): Likewise.
26284 (DF_1_NORELOC): Likewise.
26285 (DF_1_SYMINTPOSE): Likewise.
26286 (DF_1_GLOBAUDIT): Likewise.
26287 (DF_1_SINGLETON): Likewise.
26288 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
26289 DT_1_SUPPORTED_MASK bits.
26290 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
26292 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
26294 * sysdeps/unix/make-syscalls.sh: Document prefixes.
26296 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
26298 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
26301 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
26302 (sendmmsg): Move declarations...
26303 * socket/sys/socket.h: ... here.
26304 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
26305 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
26307 * socket/recvmmsg.c: ... this new file.
26308 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
26309 (sendmmsg): Rename to __sendmmsg, create weak alias and make
26310 definition of __sendmmsg hidden.
26311 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
26312 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
26313 Move ENOSYS stub into and include it from...
26314 * socket/sendmmsg.c: ... this new file.
26315 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
26316 (sysdep_routines): Move recvmmsg and sendmmsg...
26317 * socket/Makefile (routines): ... here.
26318 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
26319 (GLIBC_PRIVATE): Add __sendmmsg.
26320 * include/sys/socket.h (__sendmmsg): Add declarations.
26321 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
26324 2012-11-20 Joseph Myers <joseph@codesourcery.com>
26326 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
26327 variable I1 with __attribute__ ((unused)).
26328 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
26330 2012-11-19 Joseph Myers <joseph@codesourcery.com>
26332 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
26333 DUMMY variables with __attribute__ ((unused)).
26335 * bits/byteswap.h: Include <bits/types.h>.
26336 (__bswap_64): Use __uint64_t instead of unsigned long long int.
26338 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
26340 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
26341 string_t. Do not manually set errno.
26342 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
26343 length with __strnlen. Make sure to both set errno and return it on
26346 2012-11-19 David S. Miller <davem@davemloft.net>
26348 With help from Joseph Myers.
26349 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
26350 very large arguments properly.
26351 * math/libm-test.inc (atan_test): New tests.
26352 (atan2_test): New tests.
26353 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26354 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26356 2012-11-19 Joseph Myers <joseph@codesourcery.com>
26359 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
26362 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
26363 [POSIX] (EADDRNOTAVAIL): Likewise.
26364 [POSIX] (EAFNOSUPPORT): Likewise.
26365 [POSIX] (EALREADY): Likewise.
26366 [POSIX] (ECONNABORTED): Likewise.
26367 [POSIX] (ECONNREFUSED): Likewise.
26368 [POSIX] (ECONNRESET): Likewise.
26369 [POSIX] (EDESTADDRREQ): Likewise.
26370 [POSIX] (EDQUOT): Likewise.
26371 [POSIX] (EHOSTUNREACH): Likewise.
26372 [POSIX] (EIDRM): Likewise.
26373 [POSIX] (EISCONN): Likewise.
26374 [POSIX] (ELOOP): Likewise.
26375 [POSIX] (EMULTIHOP): Likewise.
26376 [POSIX] (ENETDOWN): Likewise.
26377 [POSIX] (ENETUNREACH): Likewise.
26378 [POSIX] (ENOBUFS): Likewise.
26379 [POSIX] (ENODATA): Likewise.
26380 [POSIX] (ENOLINK): Likewise.
26381 [POSIX] (ENOMSG): Likewise.
26382 [POSIX] (ENOPROTOOPT): Likewise.
26383 [POSIX] (ENOSR): Likewise.
26384 [POSIX] (ENOSTR): Likewise.
26385 [POSIX] (ENOTCONN): Likewise.
26386 [POSIX] (ENOTSOCK): Likewise.
26387 [POSIX] (EOPNOTSUPP): Likewise.
26388 [POSIX] (EOVERFLOW): Likewise.
26389 [POSIX] (EPROTO): Likewise.
26390 [POSIX] (EPROTONOSUPPORT): Likewise.
26391 [POSIX] (EPROTOTYPE): Likewise.
26392 [POSIX] (ESTALE): Likewise.
26393 [POSIX] (ETIME): Likewise.
26394 [POSIX] (ETXTBSY): Likewise.
26395 [POSIX] (EWOULDBLOCK): Likewise.
26396 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
26397 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
26398 [POSIX] (SEEK_CUR): Likewise.
26399 [POSIX] (SEEK_END): Likewise.
26400 [POSIX || UNIX98] (mode_t): Do not require.
26401 [POSIX] (off_t): Likewise.
26402 [POSIX] (pid_t): Likewise.
26403 [POSIX] (sys/stat.h): Do not allow header.
26404 [POSIX] (unistd.h): Likewise.
26405 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
26406 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
26407 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
26408 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
26410 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
26411 sigevent): Specify elements.
26412 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
26414 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
26415 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
26417 * conform/data/cpio.h-data [POSIX]: Disable whole file.
26418 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
26419 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
26420 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
26421 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
26422 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
26423 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
26424 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
26425 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
26426 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
26427 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
26428 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
26429 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
26430 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
26432 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
26434 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
26436 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
26438 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
26439 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
26440 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
26441 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
26442 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
26443 Specify lower bound on value.
26444 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
26445 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
26446 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
26447 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
26448 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
26449 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
26450 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
26451 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
26453 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
26455 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
26456 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
26457 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
26458 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
26459 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
26460 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
26461 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
26462 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
26463 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
26464 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
26465 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
26466 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
26467 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
26468 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
26469 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
26470 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
26472 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
26474 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
26475 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
26476 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
26477 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
26478 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
26479 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
26481 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
26482 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
26483 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
26484 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
26485 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
26486 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
26487 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
26489 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
26490 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
26491 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
26492 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
26493 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
26494 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
26495 specify as optional.
26496 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
26497 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
26498 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
26499 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
26500 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
26501 [XPG3] (NL_LANGMAX): Likewise.
26502 [POSIX || XPG3] (NL_MSGMAX): Likewise.
26503 [POSIX || XPG3] (NL_NMAX): Likewise.
26504 [POSIX || XPG3] (NL_SETMAX): Likewise.
26505 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
26506 [XPG3] (NZERO): Likewise.
26507 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
26508 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
26509 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
26510 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
26511 (REG_ERANGE): Expect.
26512 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
26514 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
26515 Use (void) in prototype.
26516 [POSIX] (*_t): Allow.
26517 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
26518 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
26519 (WRDE_BADVAL): Expect.
26521 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
26523 [XPG3 || XPG4] (O_RSYNC): Likewise.
26524 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
26526 [XPG3 || XPG4] (pthread_sigmask): Likewise.
26527 [XPG3 || XPG4] (sigqueue): Likewise.
26528 [XPG3 || XPG4] (sigtimedwait): Likewise.
26529 [XPG3 || XPG4] (sigwaitinfo): Likewise.
26530 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
26531 [XPG3 || XPG4] (vsnprintf): Likewise.
26532 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
26534 [XPG3 || XPG4] (blksize_t): Likewise.
26535 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
26537 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
26538 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
26539 [XPG3 || XPG4] (struct itimerspec): Likewise.
26540 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
26541 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
26542 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
26543 [XPG3 || XPG4] (clockid_t): Likewise.
26544 [XPG3 || XPG4] (timer_t): Likewise.
26545 [XPG3 || XPG4] (clock_getres): Likewise.
26546 [XPG3 || XPG4] (clock_gettime): Likewise.
26547 [XPG3 || XPG4] (clock_settime): Likewise.
26548 [XPG3 || XPG4] (nanosleep): Likewise.
26549 [XPG3 || XPG4] (timer_create): Likewise.
26550 [XPG3 || XPG4] (timer_delete): Likewise.
26551 [XPG3 || XPG4] (timer_gettime): Likewise.
26552 [XPG3 || XPG4] (timer_getoverrun): Likewise.
26553 [XPG3 || XPG4] (timer_settime): Likewise.
26554 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
26555 [XPG3 || XPG4] (getlogin_r): Likewise.
26556 [XPG3 || XPG4] (pread): Likewise.
26557 [XPG3 || XPG4] (pthread_atfork): Likewise.
26558 [XPG3 || XPG4] (pwrite): Likewise.
26561 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
26564 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
26566 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
26567 finalizing MALLSTREAM.
26569 * sysdeps/mach/hurd/syncfs.c: New file.
26571 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
26574 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
26575 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
26576 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
26577 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
26578 (_nss_dns_gethostbyname4_r): Likewise.
26579 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
26580 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
26582 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
26585 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
26587 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
26589 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
26590 * elf/cache.c (print_entry): Print ",AArch64" for
26593 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
26594 * elf/cache.c (print_entry): Print ",hard-float" for
26597 2012-11-18 David S. Miller <davem@davemloft.net>
26599 With help from Joseph Myers.
26600 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
26602 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
26604 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
26605 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
26607 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
26608 * math/libm-test.inc (y0_test): New tests.
26609 (y1_test): New tests.
26610 * sysdeps/i386/fpu/libm-test-ulps: Update.
26611 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26612 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26614 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
26616 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
26618 * configure: Regenerated.
26620 2012-11-17 David S. Miller <davem@davemloft.net>
26623 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
26624 nonzero exponents with absolute value below 0x1p-128 to +/-
26627 2012-11-17 Joseph Myers <joseph@codesourcery.com>
26629 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
26631 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
26633 * posix/getconf-speclist.c: New file.
26634 * posix/posix-envs.def: Likewise.
26635 * posix/confstr.c (START_ENV_GROUP): New macro.
26636 (END_ENV_GROUP): Likewise.
26637 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
26638 (KNOWN_PRESENT_ENV_STRING): Likewise.
26639 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
26640 (UNKNOWN_ENVIRONMENT): Likewise.
26641 (confstr): Include posix-envs.def instead of handling
26642 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
26643 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
26644 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
26645 (END_ENV_GROUP): Likewise.
26646 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
26647 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
26648 (UNKNOWN_ENVIRONMENT): Likewise.
26649 (__sysconf): Include posix-envs.def instead of handling associated
26650 cases directly here.
26651 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
26652 preprocessing getconf-speclist.c rather than running getconf or
26653 generating empty file.
26655 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
26657 * scripts/check-local-headers.sh: Ignore 'mach' headers.
26659 2012-11-16 Andrej Lajovic <natrij@gmail.com>
26662 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
26664 2012-11-16 David S. Miller <davem@davemloft.net>
26666 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
26667 smaller than LDBL_EPSILON/2.0L, just return xm1.
26669 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
26671 * elf/tst-array1.c (init): Set constructor priority to 1000.
26672 (fini): Set destructor priority to 1000.
26673 * elf/tst-array2dep.c: Likewise.
26675 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
26678 * libio/fileops.c (_IO_new_file_write): Correctly return error.
26679 (_IO_new_file_xsputn): Also return EOF if none of the input
26680 data was written when overflow failed.
26681 * libio/iopadn.c (_IO_padn): Likewise.
26682 * libio/iowpadn.c (_IO_wpadn): Likewise.
26683 * stdio-common/tst-put-error.c: Add copyright notice.
26684 (do_test): Add case for printing padded string.
26685 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
26686 _IO_padn returned error.
26687 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
26688 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
26691 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
26693 * libio/libioP.h: Add comment note that the references to C++
26694 bits are now obsolete.
26696 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
26698 * math/libm-test.inc (check_complex): Use asprintf.
26700 2012-11-14 Joseph Myers <joseph@codesourcery.com>
26702 * debug/pcprofiledump.c (print_version): Update copyright year.
26703 * malloc/memusagestat.c (print_version): Likewise.
26705 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
26708 * elf/Makefile (tests): Add tst-audit8.
26709 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
26710 ($(objpfx)tst-audit8.out): New target.
26711 (tst-audit8-ENV): New variable.
26712 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
26713 audit if l_reloc_result is NULL.
26714 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
26715 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
26716 * elf/tst-audit8.c: New file.
26718 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
26720 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
26721 * misc/Makefile (CFLAGS-select.c): Define.
26722 * posix/Makefile (CFLAGS-pause.c): Define.
26724 2012-11-13 David S. Miller <davem@davemloft.net>
26726 * crypt/Makefile: Move test targets after toplevel Rules
26727 inclusion. Grab any necessary sysdep routines when linking.
26728 * crypt/md5.c (md5_process_block): Remove define, we will always
26729 name it __md5_process_block.
26730 (md5_finish_ctx): Update md5_process_block call.
26731 (md5_stream): Likewise.
26732 (md5_process_bytes): Likewise.
26733 (md5_process_block): Rename to __md5_process_block and move to ...
26734 * crypt/md5-block.c: ... here.
26735 * crypt/sha256.c (sha256_process_block): Move to ...
26736 * crypt/sha256-block.c: ... here.
26737 * crypt/sha512.c (sha512_process_block): Move to ...
26738 * crypt/sha512-block.c: ... here.
26739 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
26741 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
26742 * sysdeps/sparc/sparc64/multiarch/Makefile
26743 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
26745 (localedef-aux): Add md5 crypto assembler when in locale subdir.
26746 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
26748 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
26749 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
26750 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
26751 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
26752 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
26753 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
26754 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
26755 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
26756 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
26758 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
26759 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
26761 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
26763 2012-11-13 Joseph Myers <joseph@codesourcery.com>
26765 * timezone/tzselect.ksh: Update from tzcode git revision
26766 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
26767 * timezone/zdump.c: Likewise.
26768 * timezone/zic.c: Likewise.
26769 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
26770 in TZVERSION setting, not $(PKGVERSION).
26771 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
26772 REPORT_BUGS_TO settings.
26775 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
26778 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
26780 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
26781 detection to immediately after _FP_ROUND().
26782 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
26785 2012-11-11 David S. Miller <davem@davemloft.net>
26787 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
26789 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
26790 __close rather than their public counterparts.
26792 2012-11-10 Joseph Myers <joseph@codesourcery.com>
26794 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
26796 [UNIX98] (sem_timedwait): Do not expect.
26797 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
26798 [XPG4 || UNIX98] (sockatmark): Do not expect.
26799 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
26800 (clock_getcpuclockid): Do not expect.
26801 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
26802 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
26804 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
26805 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
26806 [UNIX98] (vwscanf): Likewise.
26807 [UNIX98] (vswscanf): Likewise.
26809 2012-11-09 Joseph Myers <joseph@codesourcery.com>
26811 * timezone/version.h: Remove file.
26812 * timezone/README: Do not refer to version.h.
26813 * timezone/Makefile ($(objpfx)zic.o): New dependency on
26814 $(objpfx)version.h.
26815 ($(objpfx)zdump.o): Likewise.
26816 ($(objpfx)version.h): New target.
26818 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
26820 * timezone/README: Don't mention modification to tzselect.ksh.
26821 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
26822 work on unmodified tzselect.ksh. Substitute version numbers in
26825 * Makefile (format-me): Remove.
26826 (INSTALL): Adjust indentation. Use commands directly instead of
26827 using $(format-me).
26829 * aclocal.m4 (ACX_PKGVERSION): New macro.
26830 (ACX_BUGURL): Likewise.
26831 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
26832 (PKGVERSION): New AC_DEFINE_UNQUOTED.
26833 (REPORT_BUGS_TO): Likewise.
26834 * configure: Regenerated.
26835 * config.h.in (PKGVERSION): New macro.
26836 (REPORT_BUGS_TO): Likewise.
26837 * config.make.in (PKGVERSION): New variable.
26838 (PKGVERSION_TEXI): Likewise.
26839 (REPORT_BUGS_TO): Likewise.
26840 (REPORT_BUGS_TEXI): Likewise.
26841 * Makefile (format-me): Use -I$(common-objpfx)manual.
26842 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
26843 ($(common-objpfx)manual/%): New target.
26844 (manual/%): Remove target.
26845 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
26846 (print_version): Use PKGVERSION.
26847 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
26848 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
26849 and REPORT_BUGS_TO.
26850 ($(objpfx)xtrace): Likewise.
26851 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
26852 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
26853 (print_version): Use PKGVERSION.
26854 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
26855 (do_version): Use PKGVERSION.
26856 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
26858 (common-ldd-rewrite): Likewise.
26859 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
26860 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
26861 (print_version): Use PKGVERSION.
26862 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
26863 * elf/pldd.c (argp_program_bug_address): Remove variable.
26864 (more_help): New function.
26865 (argp): Use more_help.
26866 (print_version): Use PKGVERSION.
26867 * elf/sln.c (main): Use PKGVERSION.
26868 (usage): Use REPORT_BUGS_TO.
26869 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
26870 (top level): Use PKGVERSION.
26871 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
26872 (print_version): Use PKGVERSION.
26873 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
26874 (print_version): Use PKGVERSION.
26875 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
26876 (print_version): Use PKGVERSION.
26877 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
26878 (print_version): Use PKGVERSION.
26879 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
26880 (print_version): Use PKGVERSION.
26881 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
26882 (print_version): Use PKGVERSION.
26883 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
26885 ($(objpfx)memusage): Likewise.
26886 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
26887 (do_version): Use PKGVERSION.
26888 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
26889 (print_version): Use PKGVERSION.
26890 * malloc/mtrace.pl ($PACKAGE): Remove variable.
26891 ($PKGVERSION): New variable.
26892 ($REPORT_BUGS_TO): Likewise.
26893 (usage): Use $REPORT_BUGS_TO.
26894 (top level): Use $PKGVERSION.
26895 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
26896 ($(objpfx)pkgvers.texi): New rule.
26897 ($(objpfx)stamp-pkgvers): Likewise.
26898 * manual/install.texi: Include pkgvers.texi.
26899 (--with-pkgversion): Document new configure option.
26900 (--with-bugurl): Likewise.
26901 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
26902 than necessarily for this particular distribution. Use
26903 REPORT_BUGS_TO for where to report bugs.
26904 * INSTALL: Regenerated.
26905 * manual/libc.texinfo: Include pkgvers.texi.
26906 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
26907 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
26908 (print_version): Use PKGVERSION.
26909 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
26910 (print_version): Use PKGVERSION.
26911 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
26912 (print_version): Use PKGVERSION.
26913 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
26914 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
26916 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
26917 (print_version): Use PKGVERSION.
26918 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
26919 (print_version): Use PKGVERSION.
26920 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
26923 * timezone/checktab.awk: Update from tzcode 2012i.
26924 * timezone/ialloc.c: Likewise.
26925 * timezone/private.h: Likewise.
26926 * timezone/scheck.c: Likewise.
26927 * timezone/tzfile.h: Likewise.
26928 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
26929 (TZVERSION): Hardcode tzcode version number.
26930 * timezone/zdump.c: Update from tzcode 2012i.
26931 * timezone/zic.c: Likewise.
26932 * timezone/version.h: New file.
26933 * timezone/README: Describe version.h. Update upstream location.
26936 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
26937 (mktemp): Enable declaration.
26938 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
26939 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
26940 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
26941 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
26943 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
26945 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
26947 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
26949 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
26951 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
26955 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
26956 offset in buffer as u_int32_t not u_long. Consistently use memcpy
26957 for copies of such integer values.
26958 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
26959 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
26961 2012-11-09 Andreas Jaeger <aj@suse.de>
26963 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
26964 definitions and declarations that are provided by
26965 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
26967 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26969 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
26970 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
26971 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
26974 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
26976 * elf/elf.h: Update comment before AArch64 relocations.
26978 2012-11-07 David S. Miller <davem@davemloft.net>
26980 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
26981 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
26982 (__start_context): Declare.
26983 (__makecontext_ret): Delete.
26984 (__makecontext): Hook up __start_context instead of
26986 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
26987 (sysdep_routines): Add __start_context when in stdlib.
26989 2012-11-07 Joseph Myers <joseph@codesourcery.com>
26991 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
26992 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
26993 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
26995 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
26996 (READELF): New variable. Use it instead of hardcoded "readelf".
26998 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
27000 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
27001 * sysdeps/x86/Makefile: Here.
27002 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
27003 * sysdeps/x86/tst-xmmymm.sh: This.
27005 2012-11-07 Joseph Myers <joseph@codesourcery.com>
27007 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
27009 [UNIX98] (pthread_barrier_t): Do not expect.
27010 [UNIX98] (pthread_barrierattr_t): Likewise.
27011 [UNIX98] (pthread_spinlock_t): Likewise.
27012 [UNIX98] (pthread_barrier_destroy): Likewise.
27013 [UNIX98] (pthread_barrier_init): Likewise.
27014 [UNIX98] (pthread_barrier_wait): Likewise.
27015 [UNIX98] (pthread_barrierattr_destroy): Likewise.
27016 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
27017 [UNIX98] (pthread_barrierattr_init): Likewise.
27018 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
27019 [UNIX98] (pthread_getcpuclockid): Likewise.
27020 [UNIX98] (pthread_mutex_timedlock): Likewise.
27021 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
27022 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
27023 [UNIX98] (pthread_sigmask): Likewise.
27024 [UNIX98] (pthread_spin_destroy): Likewise.
27025 [UNIX98] (pthread_spin_init): Likewise.
27026 [UNIX98] (pthread_spin_lock): Likewise.
27027 [UNIX98] (pthread_spin_trylock): Likewise.
27028 [UNIX98] (pthread_spin_unlock): Likewise.
27029 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
27031 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
27032 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
27033 [XPG3 || XPG4] (pthread_cond_t): Likewise.
27034 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
27035 [XPG3 || XPG4] (pthread_key_t): Likewise.
27036 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
27037 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
27038 [XPG3 || XPG4] (pthread_once_t): Likewise.
27039 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
27040 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
27041 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
27042 [XPG3 || XPG4] (pthread_t): Likewise.
27044 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
27046 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
27048 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
27049 Change function return type to int.
27051 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
27052 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
27053 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
27054 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
27055 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
27056 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
27057 [!POSIX] (posix_madvise): Likewise.
27058 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
27060 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
27061 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
27062 (mode_t): Likewise.
27063 (posix_mem_offset): Likewise.
27064 (posix_typed_mem_get_info): Likewise.
27065 (posix_typed_mem_open): Likewise.
27067 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
27068 Change condition to [XOPEN2K8].
27070 * conform/conformtest.pl: Preprocess allow-header data with -x c
27071 instead of from stdin.
27072 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
27073 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
27074 [C99-based standards] (cerfc): Likewise.
27075 [C99-based standards] (cexp2): Likewise.
27076 [C99-based standards] (cexpm1): Likewise.
27077 [C99-based standards] (clog10): Likewise.
27078 [C99-based standards] (clog1p): Likewise.
27079 [C99-based standards] (clog2): Likewise.
27080 [C99-based standards] (clgamma): Likewise.
27081 [C99-based standards] (ctgamma): Likewise.
27082 [C99-based standards] (cerff): Likewise.
27083 [C99-based standards] (cerfcf): Likewise.
27084 [C99-based standards] (cexp2f): Likewise.
27085 [C99-based standards] (cexpm1f): Likewise.
27086 [C99-based standards] (clog10f): Likewise.
27087 [C99-based standards] (clog1pf): Likewise.
27088 [C99-based standards] (clog2f): Likewise.
27089 [C99-based standards] (clgammaf): Likewise.
27090 [C99-based standards] (ctgammaf): Likewise.
27091 [C99-based standards] (cerfl): Likewise.
27092 [C99-based standards] (cerfcl): Likewise.
27093 [C99-based standards] (cexp2l): Likewise.
27094 [C99-based standards] (cexpm1l): Likewise.
27095 [C99-based standards] (clog10l): Likewise.
27096 [C99-based standards] (clog1pl): Likewise.
27097 [C99-based standards] (clog2l): Likewise.
27098 [C99-based standards] (clgammal): Likewise.
27099 [C99-based standards] (ctgammal): Likewise.
27100 * conform/data/inttypes.h-data [C99-based standards]: Include
27101 stdint.h-data. Remove all expectations for stdint.h contents.
27102 [C99-based standards] (PRI*): Do not allow.
27103 [C99-based standards] (SCN*): Likewise.
27104 [C99-based standards] (*_t): Likewise.
27105 [C99-based-standards] (PRId8): Expect macro.
27106 [C99-based-standards] (PRIi8): Likewise.
27107 [C99-based-standards] (PRIo8): Likewise.
27108 [C99-based-standards] (PRIu8): Likewise.
27109 [C99-based-standards] (PRIx8): Likewise.
27110 [C99-based-standards] (PRIX8): Likewise.
27111 [C99-based-standards] (SCNd8): Likewise.
27112 [C99-based-standards] (SCNi8): Likewise.
27113 [C99-based-standards] (SCNo8): Likewise.
27114 [C99-based-standards] (SCNu8): Likewise.
27115 [C99-based-standards] (SCNx8): Likewise.
27116 [C99-based-standards] (PRIdLEAST8): Likewise.
27117 [C99-based-standards] (PRIiLEAST8): Likewise.
27118 [C99-based-standards] (PRIoLEAST8): Likewise.
27119 [C99-based-standards] (PRIuLEAST8): Likewise.
27120 [C99-based-standards] (PRIxLEAST8): Likewise.
27121 [C99-based-standards] (PRIXLEAST8): Likewise.
27122 [C99-based-standards] (SCNdLEAST8): Likewise.
27123 [C99-based-standards] (SCNiLEAST8): Likewise.
27124 [C99-based-standards] (SCNoLEAST8): Likewise.
27125 [C99-based-standards] (SCNuLEAST8): Likewise.
27126 [C99-based-standards] (SCNxLEAST8): Likewise.
27127 [C99-based-standards] (PRIdFAST8): Likewise.
27128 [C99-based-standards] (PRIiFAST8): Likewise.
27129 [C99-based-standards] (PRIoFAST8): Likewise.
27130 [C99-based-standards] (PRIuFAST8): Likewise.
27131 [C99-based-standards] (PRIxFAST8): Likewise.
27132 [C99-based-standards] (PRIXFAST8): Likewise.
27133 [C99-based-standards] (SCNdFAST8): Likewise.
27134 [C99-based-standards] (SCNiFAST8): Likewise.
27135 [C99-based-standards] (SCNoFAST8): Likewise.
27136 [C99-based-standards] (SCNuFAST8): Likewise.
27137 [C99-based-standards] (SCNxFAST8): Likewise.
27138 [C99-based-standards] (PRId16): Likewise.
27139 [C99-based-standards] (PRIi16): Likewise.
27140 [C99-based-standards] (PRIo16): Likewise.
27141 [C99-based-standards] (PRIu16): Likewise.
27142 [C99-based-standards] (PRIx16): Likewise.
27143 [C99-based-standards] (PRIX16): Likewise.
27144 [C99-based-standards] (SCNd16): Likewise.
27145 [C99-based-standards] (SCNi16): Likewise.
27146 [C99-based-standards] (SCNo16): Likewise.
27147 [C99-based-standards] (SCNu16): Likewise.
27148 [C99-based-standards] (SCNx16): Likewise.
27149 [C99-based-standards] (PRIdLEAST16): Likewise.
27150 [C99-based-standards] (PRIiLEAST16): Likewise.
27151 [C99-based-standards] (PRIoLEAST16): Likewise.
27152 [C99-based-standards] (PRIuLEAST16): Likewise.
27153 [C99-based-standards] (PRIxLEAST16): Likewise.
27154 [C99-based-standards] (PRIXLEAST16): Likewise.
27155 [C99-based-standards] (SCNdLEAST16): Likewise.
27156 [C99-based-standards] (SCNiLEAST16): Likewise.
27157 [C99-based-standards] (SCNoLEAST16): Likewise.
27158 [C99-based-standards] (SCNuLEAST16): Likewise.
27159 [C99-based-standards] (SCNxLEAST16): Likewise.
27160 [C99-based-standards] (PRIdFAST16): Likewise.
27161 [C99-based-standards] (PRIiFAST16): Likewise.
27162 [C99-based-standards] (PRIoFAST16): Likewise.
27163 [C99-based-standards] (PRIuFAST16): Likewise.
27164 [C99-based-standards] (PRIxFAST16): Likewise.
27165 [C99-based-standards] (PRIXFAST16): Likewise.
27166 [C99-based-standards] (SCNdFAST16): Likewise.
27167 [C99-based-standards] (SCNiFAST16): Likewise.
27168 [C99-based-standards] (SCNoFAST16): Likewise.
27169 [C99-based-standards] (SCNuFAST16): Likewise.
27170 [C99-based-standards] (SCNxFAST16): Likewise.
27171 [C99-based-standards] (PRId32): Likewise.
27172 [C99-based-standards] (PRIi32): Likewise.
27173 [C99-based-standards] (PRIo32): Likewise.
27174 [C99-based-standards] (PRIu32): Likewise.
27175 [C99-based-standards] (PRIx32): Likewise.
27176 [C99-based-standards] (PRIX32): Likewise.
27177 [C99-based-standards] (SCNd32): Likewise.
27178 [C99-based-standards] (SCNi32): Likewise.
27179 [C99-based-standards] (SCNo32): Likewise.
27180 [C99-based-standards] (SCNu32): Likewise.
27181 [C99-based-standards] (SCNx32): Likewise.
27182 [C99-based-standards] (PRIdLEAST32): Likewise.
27183 [C99-based-standards] (PRIiLEAST32): Likewise.
27184 [C99-based-standards] (PRIoLEAST32): Likewise.
27185 [C99-based-standards] (PRIuLEAST32): Likewise.
27186 [C99-based-standards] (PRIxLEAST32): Likewise.
27187 [C99-based-standards] (PRIXLEAST32): Likewise.
27188 [C99-based-standards] (SCNdLEAST32): Likewise.
27189 [C99-based-standards] (SCNiLEAST32): Likewise.
27190 [C99-based-standards] (SCNoLEAST32): Likewise.
27191 [C99-based-standards] (SCNuLEAST32): Likewise.
27192 [C99-based-standards] (SCNxLEAST32): Likewise.
27193 [C99-based-standards] (PRIdFAST32): Likewise.
27194 [C99-based-standards] (PRIiFAST32): Likewise.
27195 [C99-based-standards] (PRIoFAST32): Likewise.
27196 [C99-based-standards] (PRIuFAST32): Likewise.
27197 [C99-based-standards] (PRIxFAST32): Likewise.
27198 [C99-based-standards] (PRIXFAST32): Likewise.
27199 [C99-based-standards] (SCNdFAST32): Likewise.
27200 [C99-based-standards] (SCNiFAST32): Likewise.
27201 [C99-based-standards] (SCNoFAST32): Likewise.
27202 [C99-based-standards] (SCNuFAST32): Likewise.
27203 [C99-based-standards] (SCNxFAST32): Likewise.
27204 [C99-based-standards] (PRId64): Likewise.
27205 [C99-based-standards] (PRIi64): Likewise.
27206 [C99-based-standards] (PRIo64): Likewise.
27207 [C99-based-standards] (PRIu64): Likewise.
27208 [C99-based-standards] (PRIx64): Likewise.
27209 [C99-based-standards] (PRIX64): Likewise.
27210 [C99-based-standards] (SCNd64): Likewise.
27211 [C99-based-standards] (SCNi64): Likewise.
27212 [C99-based-standards] (SCNo64): Likewise.
27213 [C99-based-standards] (SCNu64): Likewise.
27214 [C99-based-standards] (SCNx64): Likewise.
27215 [C99-based-standards] (PRIdLEAST64): Likewise.
27216 [C99-based-standards] (PRIiLEAST64): Likewise.
27217 [C99-based-standards] (PRIoLEAST64): Likewise.
27218 [C99-based-standards] (PRIuLEAST64): Likewise.
27219 [C99-based-standards] (PRIxLEAST64): Likewise.
27220 [C99-based-standards] (PRIXLEAST64): Likewise.
27221 [C99-based-standards] (SCNdLEAST64): Likewise.
27222 [C99-based-standards] (SCNiLEAST64): Likewise.
27223 [C99-based-standards] (SCNoLEAST64): Likewise.
27224 [C99-based-standards] (SCNuLEAST64): Likewise.
27225 [C99-based-standards] (SCNxLEAST64): Likewise.
27226 [C99-based-standards] (PRIdFAST64): Likewise.
27227 [C99-based-standards] (PRIiFAST64): Likewise.
27228 [C99-based-standards] (PRIoFAST64): Likewise.
27229 [C99-based-standards] (PRIuFAST64): Likewise.
27230 [C99-based-standards] (PRIxFAST64): Likewise.
27231 [C99-based-standards] (PRIXFAST64): Likewise.
27232 [C99-based-standards] (SCNdFAST64): Likewise.
27233 [C99-based-standards] (SCNiFAST64): Likewise.
27234 [C99-based-standards] (SCNoFAST64): Likewise.
27235 [C99-based-standards] (SCNuFAST64): Likewise.
27236 [C99-based-standards] (SCNxFAST64): Likewise.
27237 [C99-based-standards] (PRIdMAX): Likewise.
27238 [C99-based-standards] (PRIiMAX): Likewise.
27239 [C99-based-standards] (PRIoMAX): Likewise.
27240 [C99-based-standards] (PRIuMAX): Likewise.
27241 [C99-based-standards] (PRIxMAX): Likewise.
27242 [C99-based-standards] (PRIXMAX): Likewise.
27243 [C99-based-standards] (SCNdMAX): Likewise.
27244 [C99-based-standards] (SCNiMAX): Likewise.
27245 [C99-based-standards] (SCNoMAX): Likewise.
27246 [C99-based-standards] (SCNuMAX): Likewise.
27247 [C99-based-standards] (SCNxMAX): Likewise.
27248 [C99-based-standards] (PRIdPTR): Likewise.
27249 [C99-based-standards] (PRIiPTR): Likewise.
27250 [C99-based-standards] (PRIoPTR): Likewise.
27251 [C99-based-standards] (PRIuPTR): Likewise.
27252 [C99-based-standards] (PRIxPTR): Likewise.
27253 [C99-based-standards] (PRIXPTR): Likewise.
27254 [C99-based-standards] (SCNdPTR): Likewise.
27255 [C99-based-standards] (SCNiPTR): Likewise.
27256 [C99-based-standards] (SCNoPTR): Likewise.
27257 [C99-based-standards] (SCNuPTR): Likewise.
27258 [C99-based-standards] (SCNxPTR): Likewise.
27259 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
27261 * conform/data/stdint.h-data: Update comments to clarify
27263 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
27265 [C99-based standards] (INT8_MAX): Likewise.
27266 [C99-based standards] (INT16_MIN): Likewise.
27267 [C99-based standards] (INT16_MAX): Likewise.
27268 [C99-based standards] (INT32_MIN): Likewise.
27269 [C99-based standards] (INT32_MAX): Likewise.
27270 [C99-based standards] (INT64_MIN): Likewise.
27271 [C99-based standards] (INT64_MAX): Likewise.
27272 [C99-based standards] (UINT8_MAX): Likewise.
27273 [C99-based standards] (UINT16_MAX): Likewise.
27274 [C99-based standards] (UINT32_MAX): Likewise.
27275 [C99-based standards] (UINT64_MAX): Likewise.
27276 [C99-based standards] (INT_LEAST8_MIN): Likewise.
27277 [C99-based standards] (INT_LEAST8_MAX): Likewise.
27278 [C99-based standards] (INT_LEAST16_MIN): Likewise.
27279 [C99-based standards] (INT_LEAST16_MAX): Likewise.
27280 [C99-based standards] (INT_LEAST32_MIN): Likewise.
27281 [C99-based standards] (INT_LEAST32_MAX): Likewise.
27282 [C99-based standards] (INT_LEAST64_MIN): Likewise.
27283 [C99-based standards] (INT_LEAST64_MAX): Likewise.
27284 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
27285 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
27286 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
27287 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
27288 [C99-based standards] (INT_FAST8_MIN): Likewise.
27289 [C99-based standards] (INT_FAST8_MAX): Likewise.
27290 [C99-based standards] (INT_FAST16_MIN): Likewise.
27291 [C99-based standards] (INT_FAST16_MAX): Likewise.
27292 [C99-based standards] (INT_FAST32_MIN): Likewise.
27293 [C99-based standards] (INT_FAST32_MAX): Likewise.
27294 [C99-based standards] (INT_FAST64_MIN): Likewise.
27295 [C99-based standards] (INT_FAST64_MAX): Likewise.
27296 [C99-based standards] (UINT_FAST8_MAX): Likewise.
27297 [C99-based standards] (UINT_FAST16_MAX): Likewise.
27298 [C99-based standards] (UINT_FAST32_MAX): Likewise.
27299 [C99-based standards] (UINT_FAST64_MAX): Likewise.
27300 [C99-based standards] (INTPTR_MIN): Likewise.
27301 [C99-based standards] (INTPTR_MAX): Likewise.
27302 [C99-based standards] (UINTPTR_MAX): Likewise.
27303 [C99-based standards] (INTMAX_MIN): Likewise.
27304 [C99-based standards] (INTMAX_MAX): Likewise.
27305 [C99-based standards] (UINTMAX_MAX): Likewise.
27306 [C99-based standards] (PTRDIFF_MIN): Likewise.
27307 [C99-based standards] (PTRDIFF_MAX): Likewise.
27308 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
27309 [C99-based standards] (SIZE_MAX): Likewise.
27310 [C99-based standards] (WCHAR_MAX): Likewise.
27311 [C99-based standards] (WINT_MAX): Likewise.
27312 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
27313 constraint on value.
27314 [C99-based standards] (WCHAR_MIN): Likewise.
27315 [C99-based standards] (WINT_MIN): Likewise.
27316 [C99-based standards] (*_t): Allow.
27317 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
27318 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
27319 Include math.h-data and complex.h-data. Remove all expectations
27320 of math.h and complex.h contents.
27321 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
27323 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
27324 (struct tm): Expect tag.
27325 [C99-based-standards] (wcstof): Expect function.
27326 [C99-based-standards] (wcstold): Likewise.
27327 [C99-based-standards] (wcstoll): Likewise.
27328 [C99-based-standards] (wcstoull): Likewise.
27329 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
27330 macro-int-constant. Specify type.
27331 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
27332 constraint on value.
27333 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
27335 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
27337 [ISO C standards]: Do not allow headers.
27338 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
27339 wcs[abcdefghijklmnopqrstuvwxyz]*.
27340 [ISO C standards] (*_t): Do not allow.
27341 * conform/data/wctype.h-data [C99-based standards] (iswblank):
27343 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
27344 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
27346 [ISO C standards]: Do not allow headers.
27347 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
27348 is[abcdefghijklmnopqrstuvwxyz]*.
27349 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
27350 to[abcdefghijklmnopqrstuvwxyz]*.
27351 [ISO C standards] (*_t): Do not allow.
27352 * conform/data/stdalign.h-data: New file.
27353 * conform/data/stdbool.h-data: Likewise.
27354 * conform/data/stdnoreturn.h-data: Likewise.
27356 2012-11-07 Roland McGrath <roland@hack.frob.com>
27359 * manual/filesys.texi (Directory Entries): Typo fix.
27360 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
27362 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
27364 * elf/elf.h (EM_AARCH64): New macro.
27365 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
27366 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
27367 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
27368 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
27369 (R_AARCH64_TLSDESC): Likewise.
27370 (NT_ARM_TLS): Likewise.
27371 (NT_ARM_HW_BREAK): Likewise.
27372 (NT_ARM_HW_WATCH): Likewise.
27374 2012-11-07 Joseph Myers <joseph@codesourcery.com>
27377 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
27378 (__ieee754_powl): Saturate nonzero exponents with absolute value
27379 below 0x1p-79 to +/- 0x1p-79.
27380 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
27381 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
27382 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
27383 nonzero exponents with absolute value below 0x1p-32 to +/-
27385 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
27386 (__ieee754_powl): Saturate nonzero exponents with absolute value
27387 below 0x1p-79 to +/- 0x1p-79.
27388 * math/libm-test.inc (pow_test): Add more tests.
27390 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27392 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
27393 _dl_s390_cap_flags with kernel. Increase string length.
27394 (_dl_s390_platforms): Add z196 and zEC12.
27396 2012-11-07 Joseph Myers <joseph@codesourcery.com>
27398 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
27399 Change XOPEN21K to XOPEN2K.
27401 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
27403 * string/memmove.c: Use memcpy when possible.
27405 2012-11-06 Andreas Jaeger <aj@suse.de>
27407 * po/eo.po: Update from translation team.
27409 2012-11-06 Joseph Myers <joseph@codesourcery.com>
27412 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
27413 exponent and small x and y exponents, scale x or y up. Increase
27414 by 2 the exponent used in scaling up.
27415 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27416 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27417 * math/libm-test.inc (fma_test): Add more tests.
27418 (fma_test_towardzero): Likewise.
27419 (fma_test_downward): Likewise.
27420 (fma_test_upward): Likewise.
27422 2012-11-05 Joseph Myers <joseph@codesourcery.com>
27425 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
27429 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
27430 namespace for names of struct fields.
27431 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
27433 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
27434 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
27436 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
27439 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
27441 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
27443 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
27447 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
27450 2012-11-04 Joseph Myers <joseph@codesourcery.com>
27453 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
27454 definitely overflow as x * y not x * y + z.
27455 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27456 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27457 * math/libm-test.inc (fma_test): Add more tests.
27458 (fma_test_towardzero): Likewise.
27459 (fma_test_downward): Likewise.
27460 (fma_test_upward): Likewise.
27462 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
27466 * include/stub-tag.h: Remove file.
27467 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
27469 * manual/maint.texi (Porting): Don't reference it.
27470 * Makerules ($(objpfx)stubs): Likewise.
27471 * dirent/closedir.c: Don't include <stub-tag.h>.
27472 * dirent/dirfd.c: Likewise.
27473 * dirent/fdopendir.c: Likewise.
27474 * dirent/getdents.c: Likewise.
27475 * dirent/getdents64.c: Likewise.
27476 * dirent/opendir.c: Likewise.
27477 * dirent/readdir.c: Likewise.
27478 * dirent/readdir64.c: Likewise.
27479 * dirent/readdir64_r.c: Likewise.
27480 * dirent/readdir_r.c: Likewise.
27481 * dirent/rewinddir.c: Likewise.
27482 * dirent/seekdir.c: Likewise.
27483 * dirent/telldir.c: Likewise.
27484 * gmon/profil.c: Likewise.
27485 * grp/setgroups.c: Likewise.
27486 * inet/if_index.c: Likewise.
27487 * io/access.c: Likewise.
27488 * io/chdir.c: Likewise.
27489 * io/chmod.c: Likewise.
27490 * io/chown.c: Likewise.
27491 * io/close.c: Likewise.
27492 * io/dup.c: Likewise.
27493 * io/dup2.c: Likewise.
27494 * io/dup3.c: Likewise.
27495 * io/euidaccess.c: Likewise.
27496 * io/faccessat.c: Likewise.
27497 * io/fchdir.c: Likewise.
27498 * io/fchmod.c: Likewise.
27499 * io/fchmodat.c: Likewise.
27500 * io/fchown.c: Likewise.
27501 * io/fchownat.c: Likewise.
27502 * io/fcntl.c: Likewise.
27503 * io/flock.c: Likewise.
27504 * io/fstatfs.c: Likewise.
27505 * io/fstatfs64.c: Likewise.
27506 * io/fstatvfs.c: Likewise.
27507 * io/fstatvfs64.c: Likewise.
27508 * io/futimens.c: Likewise.
27509 * io/fxstat.c: Likewise.
27510 * io/fxstat64.c: Likewise.
27511 * io/fxstatat.c: Likewise.
27512 * io/fxstatat64.c: Likewise.
27513 * io/getcwd.c: Likewise.
27514 * io/isatty.c: Likewise.
27515 * io/lchmod.c: Likewise.
27516 * io/lchown.c: Likewise.
27517 * io/link.c: Likewise.
27518 * io/linkat.c: Likewise.
27519 * io/lseek.c: Likewise.
27520 * io/lseek64.c: Likewise.
27521 * io/lxstat64.c: Likewise.
27522 * io/mkdir.c: Likewise.
27523 * io/mkdirat.c: Likewise.
27524 * io/mkfifo.c: Likewise.
27525 * io/mkfifoat.c: Likewise.
27526 * io/open.c: Likewise.
27527 * io/open64.c: Likewise.
27528 * io/openat.c: Likewise.
27529 * io/openat64.c: Likewise.
27530 * io/pipe.c: Likewise.
27531 * io/pipe2.c: Likewise.
27532 * io/poll.c: Likewise.
27533 * io/posix_fadvise.c: Likewise.
27534 * io/posix_fadvise64.c: Likewise.
27535 * io/posix_fallocate.c: Likewise.
27536 * io/posix_fallocate64.c: Likewise.
27537 * io/read.c: Likewise.
27538 * io/readlink.c: Likewise.
27539 * io/readlinkat.c: Likewise.
27540 * io/rmdir.c: Likewise.
27541 * io/sendfile.c: Likewise.
27542 * io/sendfile64.c: Likewise.
27543 * io/statfs.c: Likewise.
27544 * io/statfs64.c: Likewise.
27545 * io/statvfs.c: Likewise.
27546 * io/statvfs64.c: Likewise.
27547 * io/symlink.c: Likewise.
27548 * io/symlinkat.c: Likewise.
27549 * io/ttyname.c: Likewise.
27550 * io/ttyname_r.c: Likewise.
27551 * io/umask.c: Likewise.
27552 * io/unlink.c: Likewise.
27553 * io/unlinkat.c: Likewise.
27554 * io/utime.c: Likewise.
27555 * io/utimensat.c: Likewise.
27556 * io/write.c: Likewise.
27557 * io/xmknod.c: Likewise.
27558 * io/xmknodat.c: Likewise.
27559 * io/xstat.c: Likewise.
27560 * io/xstat64.c: Likewise.
27561 * login/getpt.c: Likewise.
27562 * login/grantpt.c: Likewise.
27563 * login/unlockpt.c: Likewise.
27564 * math/e_acoshl.c: Likewise.
27565 * math/e_acosl.c: Likewise.
27566 * math/e_asinl.c: Likewise.
27567 * math/e_atan2l.c: Likewise.
27568 * math/e_atanhl.c: Likewise.
27569 * math/e_coshl.c: Likewise.
27570 * math/e_expl.c: Likewise.
27571 * math/e_fmodl.c: Likewise.
27572 * math/e_gammal_r.c: Likewise.
27573 * math/e_hypotl.c: Likewise.
27574 * math/e_j0l.c: Likewise.
27575 * math/e_j1l.c: Likewise.
27576 * math/e_jnl.c: Likewise.
27577 * math/e_lgammal_r.c: Likewise.
27578 * math/e_log10l.c: Likewise.
27579 * math/e_log2l.c: Likewise.
27580 * math/e_logl.c: Likewise.
27581 * math/e_powl.c: Likewise.
27582 * math/e_rem_pio2l.c: Likewise.
27583 * math/e_sinhl.c: Likewise.
27584 * math/e_sqrtl.c: Likewise.
27585 * math/fclrexcpt.c: Likewise.
27586 * math/fedisblxcpt.c: Likewise.
27587 * math/feenablxcpt.c: Likewise.
27588 * math/fegetenv.c: Likewise.
27589 * math/fegetexcept.c: Likewise.
27590 * math/fegetround.c: Likewise.
27591 * math/feholdexcpt.c: Likewise.
27592 * math/fesetenv.c: Likewise.
27593 * math/fesetround.c: Likewise.
27594 * math/feupdateenv.c: Likewise.
27595 * math/fgetexcptflg.c: Likewise.
27596 * math/fraiseexcpt.c: Likewise.
27597 * math/fsetexcptflg.c: Likewise.
27598 * math/ftestexcept.c: Likewise.
27599 * math/k_cosl.c: Likewise.
27600 * math/k_rem_pio2l.c: Likewise.
27601 * math/k_sinl.c: Likewise.
27602 * math/k_tanl.c: Likewise.
27603 * math/s_asinhl.c: Likewise.
27604 * math/s_atanl.c: Likewise.
27605 * math/s_cbrtl.c: Likewise.
27606 * math/s_erfl.c: Likewise.
27607 * math/s_expm1l.c: Likewise.
27608 * math/s_log1pl.c: Likewise.
27609 * math/s_tanhl.c: Likewise.
27610 * misc/acct.c: Likewise.
27611 * misc/brk.c: Likewise.
27612 * misc/chflags.c: Likewise.
27613 * misc/chroot.c: Likewise.
27614 * misc/fchflags.c: Likewise.
27615 * misc/fgetxattr.c: Likewise.
27616 * misc/flistxattr.c: Likewise.
27617 * misc/fremovexattr.c: Likewise.
27618 * misc/fsetxattr.c: Likewise.
27619 * misc/fsync.c: Likewise.
27620 * misc/ftruncate.c: Likewise.
27621 * misc/futimes.c: Likewise.
27622 * misc/futimesat.c: Likewise.
27623 * misc/getdomain.c: Likewise.
27624 * misc/getdtsz.c: Likewise.
27625 * misc/gethostid.c: Likewise.
27626 * misc/gethostname.c: Likewise.
27627 * misc/getloadavg.c: Likewise.
27628 * misc/getpagesize.c: Likewise.
27629 * misc/getsysstats.c: Likewise.
27630 * misc/getxattr.c: Likewise.
27631 * misc/gtty.c: Likewise.
27632 * misc/ioctl.c: Likewise.
27633 * misc/lgetxattr.c: Likewise.
27634 * misc/listxattr.c: Likewise.
27635 * misc/llistxattr.c: Likewise.
27636 * misc/lremovexattr.c: Likewise.
27637 * misc/lsetxattr.c: Likewise.
27638 * misc/lutimes.c: Likewise.
27639 * misc/madvise.c: Likewise.
27640 * misc/mincore.c: Likewise.
27641 * misc/mlock.c: Likewise.
27642 * misc/mlockall.c: Likewise.
27643 * misc/mmap.c: Likewise.
27644 * misc/mprotect.c: Likewise.
27645 * misc/msync.c: Likewise.
27646 * misc/munlock.c: Likewise.
27647 * misc/munlockall.c: Likewise.
27648 * misc/munmap.c: Likewise.
27649 * misc/preadv.c: Likewise.
27650 * misc/preadv64.c: Likewise.
27651 * misc/ptrace.c: Likewise.
27652 * misc/pwritev.c: Likewise.
27653 * misc/pwritev64.c: Likewise.
27654 * misc/readv.c: Likewise.
27655 * misc/reboot.c: Likewise.
27656 * misc/remap_file_pages.c: Likewise.
27657 * misc/removexattr.c: Likewise.
27658 * misc/revoke.c: Likewise.
27659 * misc/select.c: Likewise.
27660 * misc/setdomain.c: Likewise.
27661 * misc/setegid.c: Likewise.
27662 * misc/seteuid.c: Likewise.
27663 * misc/sethostid.c: Likewise.
27664 * misc/sethostname.c: Likewise.
27665 * misc/setregid.c: Likewise.
27666 * misc/setreuid.c: Likewise.
27667 * misc/setxattr.c: Likewise.
27668 * misc/sstk.c: Likewise.
27669 * misc/stty.c: Likewise.
27670 * misc/swapoff.c: Likewise.
27671 * misc/swapon.c: Likewise.
27672 * misc/sync.c: Likewise.
27673 * misc/syncfs.c: Likewise.
27674 * misc/syscall.c: Likewise.
27675 * misc/truncate.c: Likewise.
27676 * misc/ualarm.c: Likewise.
27677 * misc/usleep.c: Likewise.
27678 * misc/ustat.c: Likewise.
27679 * misc/utimes.c: Likewise.
27680 * misc/vhangup.c: Likewise.
27681 * misc/writev.c: Likewise.
27682 * posix/_exit.c: Likewise.
27683 * posix/alarm.c: Likewise.
27684 * posix/execve.c: Likewise.
27685 * posix/fexecve.c: Likewise.
27686 * posix/fork.c: Likewise.
27687 * posix/fpathconf.c: Likewise.
27688 * posix/getaddrinfo.c: Likewise.
27689 * posix/getegid.c: Likewise.
27690 * posix/geteuid.c: Likewise.
27691 * posix/getgid.c: Likewise.
27692 * posix/getgroups.c: Likewise.
27693 * posix/getlogin.c: Likewise.
27694 * posix/getlogin_r.c: Likewise.
27695 * posix/getpgid.c: Likewise.
27696 * posix/getpid.c: Likewise.
27697 * posix/getppid.c: Likewise.
27698 * posix/getresgid.c: Likewise.
27699 * posix/getresuid.c: Likewise.
27700 * posix/getsid.c: Likewise.
27701 * posix/getuid.c: Likewise.
27702 * posix/glob64.c: Likewise.
27703 * posix/nanosleep.c: Likewise.
27704 * posix/pathconf.c: Likewise.
27705 * posix/pause.c: Likewise.
27706 * posix/posix_madvise.c: Likewise.
27707 * posix/pread.c: Likewise.
27708 * posix/pread64.c: Likewise.
27709 * posix/pwrite.c: Likewise.
27710 * posix/pwrite64.c: Likewise.
27711 * posix/sched_getaffinity.c: Likewise.
27712 * posix/sched_getp.c: Likewise.
27713 * posix/sched_gets.c: Likewise.
27714 * posix/sched_primax.c: Likewise.
27715 * posix/sched_primin.c: Likewise.
27716 * posix/sched_rr_gi.c: Likewise.
27717 * posix/sched_setaffinity.c: Likewise.
27718 * posix/sched_setp.c: Likewise.
27719 * posix/sched_sets.c: Likewise.
27720 * posix/sched_yield.c: Likewise.
27721 * posix/setgid.c: Likewise.
27722 * posix/setlogin.c: Likewise.
27723 * posix/setpgid.c: Likewise.
27724 * posix/setresgid.c: Likewise.
27725 * posix/setresuid.c: Likewise.
27726 * posix/setsid.c: Likewise.
27727 * posix/setuid.c: Likewise.
27728 * posix/sleep.c: Likewise.
27729 * posix/spawni.c: Likewise.
27730 * posix/sysconf.c: Likewise.
27731 * posix/times.c: Likewise.
27732 * posix/wait.c: Likewise.
27733 * posix/wait3.c: Likewise.
27734 * posix/wait4.c: Likewise.
27735 * posix/waitpid.c: Likewise.
27736 * resolv/gai_sigqueue.c: Likewise.
27737 * resource/getpriority.c: Likewise.
27738 * resource/getrlimit.c: Likewise.
27739 * resource/getrusage.c: Likewise.
27740 * resource/nice.c: Likewise.
27741 * resource/setpriority.c: Likewise.
27742 * resource/setrlimit.c: Likewise.
27743 * resource/ulimit.c: Likewise.
27744 * rt/aio_cancel.c: Likewise.
27745 * rt/aio_fsync.c: Likewise.
27746 * rt/aio_read.c: Likewise.
27747 * rt/aio_sigqueue.c: Likewise.
27748 * rt/aio_suspend.c: Likewise.
27749 * rt/aio_write.c: Likewise.
27750 * rt/clock_getres.c: Likewise.
27751 * rt/clock_gettime.c: Likewise.
27752 * rt/clock_nanosleep.c: Likewise.
27753 * rt/clock_settime.c: Likewise.
27754 * rt/lio_listio.c: Likewise.
27755 * rt/mq_close.c: Likewise.
27756 * rt/mq_getattr.c: Likewise.
27757 * rt/mq_notify.c: Likewise.
27758 * rt/mq_open.c: Likewise.
27759 * rt/mq_receive.c: Likewise.
27760 * rt/mq_send.c: Likewise.
27761 * rt/mq_setattr.c: Likewise.
27762 * rt/mq_timedreceive.c: Likewise.
27763 * rt/mq_timedsend.c: Likewise.
27764 * rt/mq_unlink.c: Likewise.
27765 * rt/shm_open.c: Likewise.
27766 * rt/shm_unlink.c: Likewise.
27767 * rt/timer_create.c: Likewise.
27768 * rt/timer_delete.c: Likewise.
27769 * rt/timer_getoverr.c: Likewise.
27770 * rt/timer_gettime.c: Likewise.
27771 * rt/timer_settime.c: Likewise.
27772 * setjmp/__longjmp.c: Likewise.
27773 * setjmp/setjmp.c: Likewise.
27774 * signal/kill.c: Likewise.
27775 * signal/killpg.c: Likewise.
27776 * signal/raise.c: Likewise.
27777 * signal/sigaction.c: Likewise.
27778 * signal/sigaltstack.c: Likewise.
27779 * signal/sigblock.c: Likewise.
27780 * signal/sigignore.c: Likewise.
27781 * signal/sigintr.c: Likewise.
27782 * signal/signal.c: Likewise.
27783 * signal/sigpause.c: Likewise.
27784 * signal/sigpending.c: Likewise.
27785 * signal/sigqueue.c: Likewise.
27786 * signal/sigreturn.c: Likewise.
27787 * signal/sigset.c: Likewise.
27788 * signal/sigsetmask.c: Likewise.
27789 * signal/sigstack.c: Likewise.
27790 * signal/sigsuspend.c: Likewise.
27791 * signal/sigtimedwait.c: Likewise.
27792 * signal/sigvec.c: Likewise.
27793 * signal/sigwait.c: Likewise.
27794 * signal/sigwaitinfo.c: Likewise.
27795 * signal/sysv_signal.c: Likewise.
27796 * socket/accept.c: Likewise.
27797 * socket/accept4.c: Likewise.
27798 * socket/bind.c: Likewise.
27799 * socket/connect.c: Likewise.
27800 * socket/getpeername.c: Likewise.
27801 * socket/getsockname.c: Likewise.
27802 * socket/getsockopt.c: Likewise.
27803 * socket/isfdtype.c: Likewise.
27804 * socket/listen.c: Likewise.
27805 * socket/recv.c: Likewise.
27806 * socket/recvfrom.c: Likewise.
27807 * socket/recvmsg.c: Likewise.
27808 * socket/send.c: Likewise.
27809 * socket/sendmsg.c: Likewise.
27810 * socket/sendto.c: Likewise.
27811 * socket/setsockopt.c: Likewise.
27812 * socket/shutdown.c: Likewise.
27813 * socket/sockatmark.c: Likewise.
27814 * socket/socket.c: Likewise.
27815 * socket/socketpair.c: Likewise.
27816 * stdio-common/ctermid.c: Likewise.
27817 * stdio-common/cuserid.c: Likewise.
27818 * stdio-common/remove.c: Likewise.
27819 * stdio-common/rename.c: Likewise.
27820 * stdio-common/renameat.c: Likewise.
27821 * stdio-common/tempname.c: Likewise.
27822 * stdlib/getcontext.c: Likewise.
27823 * stdlib/makecontext.c: Likewise.
27824 * stdlib/setcontext.c: Likewise.
27825 * stdlib/swapcontext.c: Likewise.
27826 * stdlib/system.c: Likewise.
27827 * streams/fattach.c: Likewise.
27828 * streams/fdetach.c: Likewise.
27829 * streams/getmsg.c: Likewise.
27830 * streams/getpmsg.c: Likewise.
27831 * streams/putmsg.c: Likewise.
27832 * streams/putpmsg.c: Likewise.
27833 * sysdeps/unix/bsd/getpt.c: Likewise.
27834 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
27835 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
27836 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
27837 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
27839 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
27840 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
27841 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
27842 * sysvipc/msgctl.c: Likewise.
27843 * sysvipc/msgget.c: Likewise.
27844 * sysvipc/msgrcv.c: Likewise.
27845 * sysvipc/msgsnd.c: Likewise.
27846 * sysvipc/semctl.c: Likewise.
27847 * sysvipc/semget.c: Likewise.
27848 * sysvipc/semop.c: Likewise.
27849 * sysvipc/semtimedop.c: Likewise.
27850 * sysvipc/shmat.c: Likewise.
27851 * sysvipc/shmctl.c: Likewise.
27852 * sysvipc/shmdt.c: Likewise.
27853 * sysvipc/shmget.c: Likewise.
27854 * termios/tcdrain.c: Likewise.
27855 * termios/tcflow.c: Likewise.
27856 * termios/tcflush.c: Likewise.
27857 * termios/tcgetattr.c: Likewise.
27858 * termios/tcgetpgrp.c: Likewise.
27859 * termios/tcsendbrk.c: Likewise.
27860 * termios/tcsetattr.c: Likewise.
27861 * termios/tcsetpgrp.c: Likewise.
27862 * time/adjtime.c: Likewise.
27863 * time/clock.c: Likewise.
27864 * time/getitimer.c: Likewise.
27865 * time/gettimeofday.c: Likewise.
27866 * time/setitimer.c: Likewise.
27867 * time/settimeofday.c: Likewise.
27868 * time/stime.c: Likewise.
27869 * time/time.c: Likewise.
27871 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
27873 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
27876 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
27878 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
27880 2012-11-03 Joseph Myers <joseph@codesourcery.com>
27883 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
27884 FE_TONEAREST before applying Dekker multiplication and Knuth
27885 addition. Clear inexact exceptions and check for exact zero
27886 results afterwards.
27887 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27888 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
27889 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27890 * math/libm-test.inc (fma_test): Add more tests.
27891 (fma_test_towardzero): Likewise.
27892 (fma_test_downward): Likewise.
27893 (fma_test_upward): Likewise.
27894 * sysdeps/generic/math_private.h (default_libc_fesetround): New
27896 (libc_fesetround): New macro.
27897 (libc_fesetroundf): Likewise.
27898 (libc_fesetroundl): Likewise.
27899 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
27901 (libc_fesetround_387): Likewise.
27902 (libc_fesetroundf): New macro.
27903 (libc_fesetround): Likewise.
27904 (libc_fesetroundl): Likewise.
27905 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
27907 (libc_fesetroundf): New macro.
27908 (libc_fesetround): Likewise.
27909 (libc_fesetroundl): Likewise.
27910 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
27911 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
27912 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
27914 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
27915 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
27917 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
27918 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
27920 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
27924 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
27925 integer constant usable in #if and use that to give value to enum
27927 (FE_DIVBYZERO): Likewise.
27928 (FE_UNDERFLOW): Likewise.
27929 (FE_OVERFLOW): Likewise.
27930 (FE_INVALID): Likewise.
27931 (FE_INVALID_SNAN): Likewise.
27932 (FE_INVALID_ISI): Likewise.
27933 (FE_INVALID_IDI): Likewise.
27934 (FE_INVALID_ZDZ): Likewise.
27935 (FE_INVALID_IMZ): Likewise.
27936 (FE_INVALID_COMPARE): Likewise.
27937 (FE_INVALID_SOFTWARE): Likewise.
27938 (FE_INVALID_SQRT): Likewise.
27939 (FE_INVALID_INTEGER_CONVERSION): Likewise.
27940 (FE_TONEAREST): Likewise.
27941 (FE_TOWARDZERO): Likewise.
27942 (FE_UPWARD): Likewise.
27943 (FE_DOWNWARD): Likewise.
27944 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
27945 (FE_DIVBYZERO): Likewise.
27946 (FE_OVERFLOW): Likewise.
27947 (FE_UNDERFLOW): Likewise.
27948 (FE_INEXACT): Likewise.
27949 (FE_TONEAREST): Likewise.
27950 (FE_DOWNWARD): Likewise.
27951 (FE_UPWARD): Likewise.
27952 (FE_TOWARDZERO): Likewise.
27953 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
27954 (FE_UNDERFLOW): Likewise.
27955 (FE_OVERFLOW): Likewise.
27956 (FE_DIVBYZERO): Likewise.
27957 (FE_INVALID): Likewise.
27958 (FE_TONEAREST): Likewise.
27959 (FE_TOWARDZERO): Likewise.
27960 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
27961 (FE_OVERFLOW): Likewise.
27962 (FE_UNDERFLOW): Likewise.
27963 (FE_DIVBYZERO): Likewise.
27964 (FE_INEXACT): Likewise.
27965 (FE_TONEAREST): Likewise.
27966 (FE_TOWARDZERO): Likewise.
27967 (FE_UPWARD): Likewise.
27968 (FE_DOWNWARD): Likewise.
27969 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
27970 (FE_DIVBYZERO): Likewise.
27971 (FE_OVERFLOW): Likewise.
27972 (FE_UNDERFLOW): Likewise.
27973 (FE_INEXACT): Likewise.
27974 (FE_TONEAREST): Likewise.
27975 (FE_DOWNWARD): Likewise.
27976 (FE_UPWARD): Likewise.
27977 (FE_TOWARDZERO): Likewise.
27979 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
27981 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
27983 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
27985 * scripts/cross-test-ssh.sh (command): Use newlines to separate
27986 commands. Quote $PWD.
27987 (blacklist_exports): Don't use remove_newlines. Replace "declare
27989 (remove_newlines): Remove.
27991 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
27993 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
27994 * stdlib/stdlib.h (atof): Moved to ...
27995 * include/bits/stdlib-float.h: Here. New file.
27996 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
27997 * stdlib/bits/stdlib-float.h: New file.
27998 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
28000 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
28003 2012-11-02 Joseph Myers <joseph@codesourcery.com>
28005 * conform/conformtest.pl (@headers): Add fenv.h.
28006 * conform/data/fenv.h-data: New file.
28007 * include/fenv.h [_ISOMAC]: Disable all contents of file except
28008 include of <math/fenv.h>.
28010 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
28011 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
28012 && !UNIX98]. Enables tests for XOPEN2K8.
28013 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
28014 POSIX2008]: Likewise.
28016 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
28017 (struct rusage): Do not expect type or its members.
28020 * math/math.h (FP_NAN): Define macro to integer constant usable in
28021 #if and use that to give value to enum constant.
28022 (FP_INFINITE): Likewise.
28023 (FP_ZERO): Likewise.
28024 (FP_SUBNORMAL): Likewise.
28025 (FP_NORMAL): Likewise.
28027 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
28029 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
28030 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
28033 2012-11-02 Roland McGrath <roland@hack.frob.com>
28035 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
28036 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
28037 autoconf-time if not.
28038 * configure.in: Remove AC_PREREQ.
28040 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28042 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
28043 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
28044 of the internal implementation.
28046 2012-11-02 Joseph Myers <joseph@codesourcery.com>
28048 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
28049 except include of <misc/sys/syslog.h>.
28051 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
28053 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
28054 function returns with a NULL context exit with zero.
28056 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28058 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
28060 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
28062 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
28063 (run_program_cmd): This.
28064 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
28065 (tst_langinfo): New variable. Use it.
28067 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
28069 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
28070 floating point opcodes.
28072 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
28074 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
28077 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
28079 * sysdeps/mach/hurd/powerpc: Remove directory.
28080 * sysdeps/mach/powerpc: Likewise.
28082 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
28084 * scripts/check-local-headers.sh: Ignore c++ headers.
28086 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
28088 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
28089 __libc_cleanup_region_start argument.
28091 2012-11-01 Joseph Myers <joseph@codesourcery.com>
28095 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
28096 x * y using scaling, not as x * y + z.
28097 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28098 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28099 * math/libm-test.inc (fma_test): Add more tests.
28100 (fma_test_towardzero): Likewise.
28101 (fma_test_downward): Likewise.
28102 (fma_test_upward): Likewise.
28104 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
28106 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
28108 2012-10-31 Joseph Myers <joseph@codesourcery.com>
28110 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
28113 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
28115 * rt/tst-shm.c (worker): Correct checking for mmap failure.
28117 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
28119 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28121 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
28124 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28126 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28127 Fix the order of the list for glibc 2.17.
28128 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
28131 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
28133 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28135 2012-10-31 Joseph Myers <joseph@codesourcery.com>
28138 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
28139 for low part of x being zero before using __atanl (y).
28140 * math/libm-test.inc (atan2_test): Add another test.
28142 * manual/install.texi (Configuring and compiling): Document
28143 general use of test-wrapper and test-wrapper-env.
28144 * INSTALL: Regenerated.
28146 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
28147 (__fma): Do not extract and scale down low bits on after-rounding
28148 systems when result rounded to normal precision would have normal
28150 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
28151 (__fmal): Do not extract and scale down low bits on after-rounding
28152 systems when result rounded to normal precision would have normal
28154 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
28155 (__fmal): Do not extract and scale down low bits on after-rounding
28156 systems when result rounded to normal precision would have normal
28158 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
28160 (fma_test): Add more tests.
28161 (fma_test_towardzero): Likewise.
28162 (fma_test_downward): Likewise.
28163 (fma_test_upward): Likewise.
28165 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
28167 * sysdeps/i386/tininess.h: Renamed to ...
28168 * sysdeps/x86/tininess.h: This.
28169 * sysdeps/x86_64/tininess.h: Removed.
28171 2012-10-30 Joseph Myers <joseph@codesourcery.com>
28173 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
28174 input. Use $(build-program-cmd).
28175 ($(objpfx)tst-array1-static.out): Likewise.
28176 ($(objpfx)tst-array2.out): Likewise.
28177 ($(objpfx)tst-array3.out): Likewise.
28178 ($(objpfx)tst-array4.out): Likewise.
28179 ($(objpfx)tst-array5.out): Likewise.
28180 ($(objpfx)tst-array5-static.out): Likewise.
28182 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
28184 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
28187 * nss/nsswitch.h (nss_interface_function): Provide new
28188 macro for use with NSS functions.
28189 * grp/initgroups.c: Use new macro.
28190 * nss/getXXbyYY.c: Likewise.
28191 * nss/getXXbyYY_r.c: Likewise.
28192 * nss/getXXent.c: Likewise.
28193 * nss/getXXent_r.c: Likewise.
28194 * sysdeps/posix/getaddrinfo.c: Likewise.
28196 2012-10-30 Andreas Jaeger <aj@suse.de>
28198 * po/ru.po: Update Russion translation from translation project.
28200 2012-10-30 Joseph Myers <joseph@codesourcery.com>
28204 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
28205 result and shift together with sticky bit instead of replicating
28206 round-to-nearest rounding.
28207 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28208 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28209 * math/libm-test.inc (fma_test): Add more tests. Do not permit
28210 missing underflow exceptions.
28211 (fma_test_towardzero): Add more tests.
28212 (fma_test_downward): Likewise.
28213 (fma_test_upward): Likewise.
28216 * sysdeps/generic/tininess.h: New file.
28217 * sysdeps/i386/tininess.h: Likewise.
28218 * sysdeps/sh/tininess.h: Likewise.
28219 * sysdeps/x86_64/tininess.h: Likewise.
28220 * stdlib/tst-strtod-underflow.c: Likewise.
28221 * stdlib/tst-tininess.c: Likewise.
28222 * stdlib/strtod_l.c: Include <tininess.h>.
28223 (round_and_return): Do not set errno for exact underflow cases.
28224 Force an underflow exception when setting errno for underflow.
28225 Determine underflow based on rounding to normal precision if
28226 TININESS_AFTER_ROUNDING.
28227 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
28228 ERANGE for exact underflow cases.
28229 * stdlib/Makefile (tests): Add tst-tininess and
28230 tst-strtod-underflow.
28231 ($(objpfx)tst-tininess): Use $(link-libm).
28232 ($(objpfx)tst-strtod-underflow): Likewise.
28234 2012-10-30 Andreas Jaeger <aj@suse.de>
28237 * elf/Makefile (tests): Remove conditional for have-initfini-array
28238 since this is now always required and the variable does not exist
28240 (tests-static): Likewise.
28241 (modules-names): Likewise.
28243 * po/eo.po: Add Esperanto translation from translation project.
28245 * elf/tst-array1.c (fini_array): Make writeable so that it can be
28246 merged with constructor/destructor.
28247 (init_array): Likewise.
28248 * elf/tst-array2dep.c (fini_array): Likewise.
28249 (init_array): Likewise.
28251 2012-10-29 Mike Frysinger <vapier@gentoo.org>
28253 * manual/message.texi: Delete @cartouche tags.
28255 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
28257 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
28259 * sysdeps/mach/hurd/fsync.c: Likewise.
28261 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
28262 [_POSIX_REALTIME_SIGNALS]: Change condition to
28263 [_POSIX_REALTIME_SIGNALS > 0].
28265 2012-10-27 Andreas Jaeger <aj@suse.de>
28267 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
28268 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
28269 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
28270 [__WORDSIZE != 64]: Likewise.
28272 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
28274 * iconvdata/tst-table.sh: Remove ${SHELL}.
28275 * iconvdata/tst-tables.sh: Likewise.
28277 2012-10-25 David S. Miller <davem@davemloft.net>
28279 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
28280 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
28283 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
28285 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
28286 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
28287 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
28290 2012-10-25 Roland McGrath <roland@hack.frob.com>
28292 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
28293 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
28296 2012-10-25 Joseph Myers <joseph@codesourcery.com>
28297 Jim Blandy <jimb@codesourcery.com>
28299 * scripts/cross-test-ssh.sh: New file.
28300 * manual/install.texi (Configuring and compiling): Document use of
28302 * INSTALL: Regenerated.
28304 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
28306 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
28309 2012-10-25 Joseph Myers <joseph@codesourcery.com>
28311 * Makeconfig (run-program-prefix): Fix comment.
28313 2012-10-24 Joseph Myers <joseph@codesourcery.com>
28314 Jim Blandy <jimb@codesourcery.com>
28316 * Makeconfig (test-wrapper): New variable,
28317 (test-wrapper-env): Likewise.
28318 [$(cross-compiling) = yes && $(test-wrapper) != ""]
28319 (run-built-tests): Define to yes.
28320 (run-program-prefix): Use $(test-wrapper).
28321 (built-program-cmd): Likewise.
28322 * Rules (make-test-out): Use $(test-wrapper-env) and
28323 $(host-built-program-cmd).
28324 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
28325 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
28327 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
28328 $(test-wrapper-env) to tst-rtld-load-self.sh.
28329 ($(objpfx)order2.out): Use $(test-wrapper).
28330 ($(objpfx)tst-initorder.out): Likewise.
28331 ($(objpfx)tst-initorder2.out): Likewise.
28332 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
28333 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
28334 (test_wrapper_env): New variable. Use it to run ld.so.
28335 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
28336 Use it to run ld.so.
28337 (test_wrapper_env): Likewise.
28338 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
28339 $(test-wrapper) to run-iconv-test.sh.
28340 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
28341 (ICONV): Use $test_wrapper.
28342 * posix/Makefile ($(objpfx)globtest.out): Pass
28343 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
28344 globtest.sh, not $(run-program-prefix).
28345 * posix/globtest.sh (run_via_rtld_prefix): New variable.
28346 (test_wrapper): Likewise.
28347 (test_wrapper_env): Likewise. Use it to run globtest with HOME
28348 set together with run_via_rtld_prefix.
28349 (run_program_prefix): Define in terms of test_wrapper and
28350 run_via_rtld_prefix.
28352 2012-10-24 Roland McGrath <roland@hack.frob.com>
28354 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
28355 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
28359 * include/time.h: Remove librt_hidden_proto (clock_gettime).
28360 Declare __clock_getres, __clock_gettime, __clock_settime,
28361 __clock_nanosleep, and __clock_getcpuclockid.
28362 * rt/clock_gettime.c: Define __clock_gettime as an alias.
28363 Remove librt_hidden_def (clock_gettime).
28364 * sysdeps/unix/clock_gettime.c: Likewise.
28365 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
28366 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
28367 * rt/clock_getres.c: Define __clock_getres as an alias.
28368 * sysdeps/posix/clock_getres.c: Likewise.
28369 * rt/clock_settime.c: Define __clock_settime as an alias.
28370 * sysdeps/unix/clock_settime.c: Likewise.
28371 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
28372 * sysdeps/unix/clock_nanosleep.c: Likewise.
28373 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
28374 * rt/clock-compat.c: New file.
28375 * rt/Makefile (librt-routines): Add clock-compat and move
28376 $(clock-routines) to ...
28377 (routines): ... here, new variable.
28378 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
28379 Don't add get_clockfreq here.
28380 * rt/Versions (libc: GLIBC_2.17): New version set.
28381 Add clock_* symbols here.
28382 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
28383 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
28384 (GLIBC_2.17): Add clock_* symbols.
28385 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
28386 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
28387 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
28388 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
28390 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28392 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
28393 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
28394 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
28395 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
28396 * NEWS: Mention the move.
28398 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
28399 Use __open, __read, __close rather than their public counterparts.
28400 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
28401 (__get_clockfreq_via_cpuinfo): Likewise.
28402 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
28403 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
28405 * config.h.in (HAVE_IFUNC): New #undef.
28406 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
28408 * configure: Regenerated.
28410 2012-10-24 Mike Frysinger <vapier@gentoo.org>
28412 * configure.in: Move READELF check to start of file.
28413 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
28414 libc_cv_asm_gnu_indirect_function in the process.
28415 * configure: Regenerated.
28417 2012-10-24 Mike Frysinger <vapier@gentoo.org>
28419 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
28420 send the output to /dev/null.
28421 (libc_cv_cc_with_libunwind): Likewise.
28422 (libc_cv_as_noexecstack): Likewise.
28423 * configure: Regenerate.
28425 2012-10-24 Joseph Myers <joseph@codesourcery.com>
28427 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
28429 * posix/globtest.sh (TMPDIR): Do not set.
28430 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
28431 (testout): Likewise.
28433 2012-10-24 Andreas Jaeger <aj@suse.de>
28435 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
28436 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
28437 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
28438 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
28439 posix_fadvise64, posix_fallocate64.
28441 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
28442 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
28443 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
28445 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
28447 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
28449 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
28450 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
28451 <bits/fcntl-linux.h>.
28452 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
28454 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
28455 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
28456 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
28457 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
28458 [__WORDSIZE != 64]: Likewise.
28460 2012-10-23 Joseph Myers <joseph@codesourcery.com>
28462 * Makeconfig (run-built-tests): New variable.
28463 * Rules [$(cross-compiling) = yes]: Change condition to
28464 [$(run-built-tests) = no].
28465 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
28466 to [$(run-built-tests) = yes].
28467 * elf/Makefile [$(cross-compiling) = no]: Likewise
28468 * grp/Makefile [$(cross-compiling) = no]: Likewise.
28469 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
28470 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
28471 * intl/Makefile [$(cross-compiling) = no]: Likewise.
28472 * io/Makefile [$(cross-compiling) = no]: Likewise.
28473 * libio/Makefile [$(cross-compiling) = no]: Likewise.
28474 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
28475 * misc/Makefile [$(cross-compiling) = no]: Likewise.
28476 * posix/Makefile [$(cross-compiling) = no]: Likewise.
28477 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
28478 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
28479 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
28480 * string/Makefile [$(cross-compiling) = no]: Likewise.
28482 * posix/Makefile ($(objpfx)globtest.out): Pass
28483 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
28484 $(rtld-installed-name).
28485 * posix/globtest.sh (elf_objpfx): Remove variable.
28486 (rtld_installed_name): Likewise.
28487 (library_path): Likewise.
28488 (run_program_prefix): New variable. Use for running globtest
28491 2012-10-23 Jim Blandy <jimb@codesourcery.com>
28492 Joseph Myers <joseph@codesourcery.com>
28494 * Makeconfig (host-built-program-cmd): New variable.
28495 * elf/Makefile (tst-stackguard1-ARGS): Use
28496 $(host-built-program-cmd).
28497 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
28498 (tst-spawn-ARGS): Likewise.
28499 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
28501 2012-10-23 Joseph Myers <joseph@codesourcery.com>
28502 Jim Blandy <jimb@codesourcery.com>
28504 * Makeconfig (run-via-rtld-prefix): New variable.
28505 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
28506 (built-program-cmd): Likewise.
28508 2012-10-22 Andreas Jaeger <aj@suse.de>
28510 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
28511 __O_RSYNC if it exists, otherwise to O_SYNC.
28513 2012-10-22 Jim Blandy <jimb@codesourcery.com>
28514 Joseph Myers <joseph@codesourcery.com>
28516 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
28518 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
28520 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
28523 2012-10-22 Andreas Jaeger <aj@suse.de>
28525 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
28527 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
28529 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28530 bits/fcntl-linux.h.
28532 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
28533 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
28535 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
28537 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
28540 2012-10-21 Jim Blandy <jimb@codesourcery.com>
28541 Joseph Myers <joseph@codesourcery.com>
28543 * config.make.in (NM): New variable.
28545 2012-10-21 Andreas Jaeger <aj@suse.de>
28547 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
28548 definitions and declarations that are provided by
28549 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
28551 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
28554 * elf/Makefile (tests-static): Add tst-leaks1-static.
28555 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
28556 ($(objpfx)tst-leaks1-static): New rule.
28557 ($(objpfx)tst-leaks1-static-mem): Likewise.
28558 (tst-leaks1-static-ENV): New macro.
28559 * elf/dl-open.c (dl_open_worker): Check the main application
28560 only if SHARED is defined.
28561 * elf/tst-leaks1-static.c: New file.
28563 2012-10-20 Andreas Jaeger <aj@suse.de>
28565 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
28566 generic values for Linux.
28567 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
28568 and declarations that are provided by <bits/fcntl-linux.h> and
28569 include <bits/fcntl-linux.h>.
28570 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
28571 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
28573 2012-10-20 Roland McGrath <roland@hack.frob.com>
28575 * io/fcntl.h: Move include of <bits/types.h> to the top and
28576 include it unconditionally.
28578 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
28580 * wcsmbs/Makefile (tests-ifunc): New variable.
28581 (tests): Add $(tests-ifunc).
28582 * wcsmbs/test-wcschr-ifunc.c: New file.
28583 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
28584 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
28585 * wcsmbs/test-wcslen-ifunc.c: Likewise.
28586 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
28587 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
28589 * string/Makefile (tests-ifunc): New variable.
28590 (tests): Add $(tests-ifunc).
28591 * string/test-memccpy.c (TEST_NAME): New macro.
28592 * string/test-memchr.c (TEST_NAME): Likewise.
28593 * string/test-memcmp.c (TEST_NAME): Likewise.
28594 * string/test-memcpy.c (TEST_NAME): Likewise.
28595 * string/test-memmem.c (TEST_NAME): Likewise.
28596 * string/test-memmove.c (TEST_NAME): Likewise.
28597 * string/test-memset.c (TEST_NAME): Likewise.
28598 * string/test-rawmemchr.c (TEST_NAME): Likewise.
28599 * string/test-stpcpy.c (TEST_NAME): Likewise.
28600 * string/test-stpncpy.c (TEST_NAME): Likewise.
28601 * string/test-strcasecmp.c (TEST_NAME): Likewise.
28602 * string/test-strcasestr.c (TEST_NAME): Likewise.
28603 * string/test-strcat.c (TEST_NAME): Likewise.
28604 * string/test-strchr.c (TEST_NAME): Likewise.
28605 * string/test-strcmp.c(TEST_NAME): Likewise.
28606 * string/test-strcpy.c (TEST_NAME): Likewise.
28607 * string/test-strcspn.c (TEST_NAME): Likewise.
28608 * string/test-strlen.c (TEST_NAME): Likewise.
28609 * string/test-strncasecmp.c (TEST_NAME): Likewise.
28610 * string/test-strncmp.c (TEST_NAME): Likewise.
28611 * string/test-strncpy.c (TEST_NAME): Likewise.
28612 * string/test-strnlen.c (TEST_NAME): Likewise.
28613 * string/test-strpbrk.c (TEST_NAME): Likewise.
28614 * string/test-strrchr.c (TEST_NAME): Likewise.
28615 * string/test-strspn.c (TEST_NAME): Likewise.
28616 * string/test-strstr.c (TEST_NAME): Likewise.
28617 * string/test-bcopy-ifunc.c: New file.
28618 * string/test-bzero-ifunc.c: Likewise.
28619 * string/test-memccpy-ifunc.c: Likewise.
28620 * string/test-memchr-ifunc.c: Likewise.
28621 * string/test-memcmp-ifunc.c: Likewise.
28622 * string/test-memcpy-ifunc.c: Likewise.
28623 * string/test-memmem-ifunc.c: Likewise.
28624 * string/test-memmove-ifunc.c: Likewise.
28625 * string/test-mempcpy-ifunc.c: Likewise.
28626 * string/test-memset-ifunc.c: Likewise.
28627 * string/test-rawmemchr-ifunc.c: Likewise.
28628 * string/test-stpcpy-ifunc.c: Likewise.
28629 * string/test-stpncpy-ifunc.c: Likewise.
28630 * string/test-strcasecmp-ifunc.c: Likewise.
28631 * string/test-strcasestr-ifunc.c: Likewise.
28632 * string/test-strcat-ifunc.c: Likewise.
28633 * string/test-strchr-ifunc.c: Likewise.
28634 * string/test-strchrnul-ifunc.c: Likewise.
28635 * string/test-strcmp-ifunc.c: Likewise.
28636 * string/test-strcpy-ifunc.c: Likewise.
28637 * string/test-strcspn-ifunc.c: Likewise.
28638 * string/test-strlen-ifunc.c: Likewise.
28639 * string/test-strncasecmp-ifunc.c: Likewise.
28640 * string/test-strncat-ifunc.c: Likewise.
28641 * string/test-strncmp-ifunc.c: Likewise.
28642 * string/test-strncpy-ifunc.c: Likewise.
28643 * string/test-strnlen-ifunc.c: Likewise.
28644 * string/test-strpbrk-ifunc.c: Likewise.
28645 * string/test-strrchr-ifunc.c: Likewise.
28646 * string/test-strspn-ifunc.c: Likewise.
28647 * string/test-strstr-ifunc.c: Likewise.
28649 * debug/Makefile (tests-ifunc): New variable.
28650 (tests): Add $(tests-ifunc).
28651 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
28652 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
28653 * debug/test-stpcpy_chk-ifunc.c: New file.
28654 * debug/test-strcpy_chk-ifunc.c: Likewise.
28656 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
28659 * elf/dl-load.c (open_verify): Retry read if the entire ELF
28660 header is not read in.
28662 2012-10-19 Joseph Myers <joseph@codesourcery.com>
28664 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
28665 script to $(SHELL) as $<. Pass $(common-objpfx) to script
28666 directly. Pass built executable to script as
28667 $(built-program-cmd).
28668 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
28669 $testprogram without using LD_LIBRARY_PATH and $ldso.
28671 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
28672 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
28673 $(rtld-installed-name).
28674 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
28675 (rtld_installed_name): Likewise.
28676 (library_path): Likewise.
28677 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
28678 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
28679 $(run-program-prefix) to tst-tables.sh.
28680 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
28681 it to run tst-table-from and tst-table-to.
28682 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
28683 Pass it to tst-table.sh.
28684 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
28685 $(run-program-prefix) to tst-gettext.sh.
28686 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
28688 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
28690 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
28691 to run tst-gettext.
28692 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
28693 to run tst-gettext2.
28694 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
28695 to run tst-translit.
28696 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
28697 $(run-program-prefix) to tst-mtrace.sh.
28698 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
28700 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
28701 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
28702 $(rtld-installed-name).
28703 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
28704 (rtld_installed_name): Likewise.
28705 (run_program_prefix): New variable. Use it to run wordexp-test.
28707 * Makeconfig (ARCH): Remove all definitions.
28708 (machine): Likewise.
28709 [ARCH]: Remove conditional code.
28710 [!objdir]: Give error.
28711 [!objdir] (objpfx): Remove.
28712 [!objdir] (common-objpfx): Likewise.
28713 [!objdir] (common-objdir): Likewise.
28714 * configure.in (config_makefile): Remove. Hardcode Makefile in
28715 AC_CONFIG_FILES call.
28716 * configure: Regenerated.
28719 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
28721 (testout): Likewise.
28723 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
28724 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
28725 $(rtld-installed-name).
28726 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
28727 (rtld_installed_name): Likwise.
28728 (runit): Remove function.
28729 (run_getconf): New variable, Use it for running getconf binary.
28731 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
28734 * string/test-memmem.c (check_result): New function.
28735 (do_one_test): Use it.
28736 (check1): New function.
28737 (test_main): Use it.
28739 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
28741 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
28743 2012-10-18 Joseph Myers <joseph@codesourcery.com>
28745 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
28746 (_G_LSEEK64): Likewise.
28747 (_G_MMAP64): Likewise.
28748 (_G_FSTAT64): Likewise.
28749 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
28750 (_G_LSEEK64): Likewise.
28751 (_G_MMAP64): Likewise.
28752 (_G_FSTAT64): Likewise.
28753 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
28754 unconditional. Call __mmap64 directly.
28755 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
28756 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
28757 __lseek64 directly.
28758 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
28759 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
28761 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
28762 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
28763 __lseek64 directly.
28764 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
28765 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
28766 __lseek64 directly.
28767 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
28768 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
28769 __lseek64 directly.
28770 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
28771 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
28772 __fxstat64 directly.
28773 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
28774 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
28776 (freopen64) [!_G_OPEN64]: Remove conditional code.
28777 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
28779 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
28780 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
28782 (ftello64) [!_G_LSEEK64]: Remove conditional code.
28783 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
28785 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
28786 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
28788 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
28789 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
28791 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
28792 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
28794 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
28795 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
28797 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
28799 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
28802 * manual/memory.texi (Malloc Tunable Parameters): Add note
28803 about free list pointers overwriting some perturb bytes.
28804 Wording suggested by Roland McGrath.
28806 2012-10-17 Joseph Myers <joseph@codesourcery.com>
28808 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
28809 (lgamma_test): Likewise.
28810 (tgamma_test): Likewise.
28812 2012-10-16 Florian Weimer <fweimer@redhat.com>
28815 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
28816 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
28818 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
28820 * NEWS: Mention BZ #14716.
28821 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
28822 when removing AVAILABLE1_USES_J macro.
28824 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
28826 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
28827 (__bswap_64): __uint64_t for unsigned 64-bit int.
28829 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
28831 * include/string.h (memmem): Declare libc hidden alias.
28832 * string/memmem.c (memmem): Define libc hidden alias.
28833 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
28834 __read, __close instead of open, read, close.
28836 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
28838 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
28839 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
28841 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
28842 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
28843 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
28845 (__rawmemchr_sse2): Likewise.
28846 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
28847 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
28848 (__strchr_sse2): Likewise.
28849 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
28850 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
28851 (__strcasecmp_sse2): Likewise.
28852 (__strncasecmp_sse2): Likewise.
28853 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
28854 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
28855 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
28856 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
28857 (__strrchr_sse2): Likewise.
28858 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
28860 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
28861 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
28862 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
28863 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
28864 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
28865 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
28866 * sysdeps/x86_64/multiarch/memset.S: Likewise.
28867 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
28868 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
28869 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
28870 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
28871 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
28872 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
28873 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
28874 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
28875 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
28876 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
28877 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
28878 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
28879 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
28880 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
28881 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
28882 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
28883 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
28884 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
28885 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
28886 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
28887 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
28888 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
28889 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
28891 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
28893 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
28894 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
28895 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
28896 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
28898 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
28900 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
28901 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
28902 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
28903 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
28905 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
28906 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
28907 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
28908 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
28909 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
28910 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
28911 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
28912 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
28913 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
28914 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
28915 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
28916 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
28917 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
28918 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
28919 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
28920 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
28921 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
28922 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
28923 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
28924 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
28925 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
28926 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
28927 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
28928 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
28929 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
28930 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
28931 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
28932 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
28933 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
28934 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
28935 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
28936 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
28937 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
28938 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
28939 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
28940 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
28941 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
28942 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
28943 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
28944 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
28945 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
28947 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
28948 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
28949 * include/ifunc-impl-list.h: New file.
28950 * misc/ifunc-impl-list.c: Likewise.
28951 * misc/Makefile (routines): Add ifunc-impl-list.
28952 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
28953 * string/test-string.h: Include <ifunc-impl-list.h>.
28954 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
28955 TEST_NAME]: New variables.
28956 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
28958 (test_init): Call __libc_ifunc_impl_list to initialize
28959 func_list if TEST_IFUNC and TEST_NAME are defined.
28961 * string/Makefile (strop-tests): Add bcopy and bzero.
28962 * string/test-bcopy.c: New file.
28963 * string/test-bzero.c: Likewise.
28964 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
28966 * string/test-memset.c: Support bzero test if TEST_BZERO is
28968 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
28970 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
28972 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
28975 2012-10-10 Joseph Myers <joseph@codesourcery.com>
28977 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
28978 * configure: Regenerated.
28980 * Makeconfig (+link-static-before-libc): Don't include
28981 $(link-static-libc).
28983 * libio/libio.h (_IO_pos_t): Remove.
28985 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
28987 * NEWS: Add note about FIPS mode. Wording suggested by Roland
28990 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
28992 * crypt/crypt-entry.c: Include fips-private.h.
28993 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
28994 * crypt/md5c-test.c (main): Tolerate disabled MD5.
28995 * sysdeps/unix/sysv/linux/fips-private.h: New file.
28996 * sysdeps/generic/fips-private.h: New file, dummy fallback.
28998 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
29000 * crypt/crypt-private.h: Include stdbool.h.
29001 (_ufc_setup_salt_r): Return bool.
29002 * crypt/crypt-entry.c: Include errno.h.
29003 (__crypt_r): Return NULL with EINVAL for bad salt.
29004 * crypt/crypt_util.c (bad_for_salt): New.
29005 (_ufc_setup_salt_r): Check that salt is long enough and within
29006 the specified alphabet.
29007 * crypt/badsalttest.c: New file.
29008 * crypt/Makefile (tests): Add it.
29009 ($(objpfx)badsalttest): New.
29011 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
29013 * NEWS: Add entry for BZ #14602.
29015 2012-10-09 Joseph Myers <joseph@codesourcery.com>
29017 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
29019 * math/libm-test.inc: Update comment listing what functions and
29021 (isgreater_test): New function.
29022 (isgreaterequal_test): Likewise.
29023 (isless_test): Likewise.
29024 (islessequal_test): Likewise.
29025 (islessgreater_test): Likewise.
29026 (isunordered_test): Likewise.
29027 (main): Call the new functions.
29029 2012-10-09 Roland McGrath <roland@hack.frob.com>
29031 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
29032 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
29033 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
29034 * sysdeps/i386/configure: Regenerated.
29035 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
29036 * sysdeps/mach/configure: Regenerated.
29037 * sysdeps/mach/hurd/configure: Regenerated.
29038 * sysdeps/powerpc/configure: Regenerated.
29039 * sysdeps/powerpc/powerpc32/configure: Regenerated.
29040 * sysdeps/powerpc/powerpc64/configure: Regenerated.
29041 * sysdeps/s390/s390-32/configure: Regenerated.
29042 * sysdeps/s390/s390-64/configure: Regenerated.
29043 * sysdeps/sh/configure: Regenerated.
29044 * sysdeps/sparc/configure: Regenerated.
29045 * sysdeps/unix/sysv/linux/configure: Regenerated.
29046 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
29047 * sysdeps/x86_64/configure: Regenerated.
29049 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
29050 defined. Don't check if MAP is NULL.
29052 2012-10-09 Joseph Myers <joseph@codesourcery.com>
29054 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
29055 (_G_stat64): Likewise.
29056 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
29057 (_G_stat64): Likewise.
29058 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
29059 instead of struct _G_stat64.
29060 * libio/fileops.c (mmap_remap_check): Likewise.
29061 (decide_maybe_mmap): Likewise.
29062 (_IO_new_file_seekoff): Likewise.
29063 (_IO_file_stat): Likewise.
29064 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
29066 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
29067 instead of struct _G_stat64.
29068 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
29070 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
29073 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
29075 (CHECK_EOL): New macro.
29076 (two_way_short_needle): Check beginning of haystack for EOL. Use
29078 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
29079 Replace with CHECK_EOL.
29080 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
29081 Replace with CHECK_EOL.
29083 2012-10-08 Joseph Myers <joseph@codesourcery.com>
29085 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
29087 * math/libm-test.inc: Update comment listing what functions and
29089 (finite_test): New function.
29090 (isinf_test): Likewise.
29091 (isnan_test): Likewise.
29092 (fpclassify_test): Test subnormal input.
29093 (isfinite_test): Likewise.
29094 (isnormal_test): Likewise.
29095 (main): Call the new functions.
29097 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
29100 * Makerules (%.dynsym): Force C locale when running
29101 $(OBJDUMP) --dynamic-syms.
29103 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
29105 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
29108 2012-10-06 David S. Miller <davem@davemloft.net>
29110 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
29111 upper 32-bits of the length value in %o2 since we use branch-on-register
29112 tests which consider the entire 64-bit register.
29114 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
29116 * string/test-strstr.c (check2): Add a test for page boundary.
29118 2012-10-05 David S. Miller <davem@davemloft.net>
29120 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
29121 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
29123 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
29125 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
29126 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
29127 and bzero when HWCAP_SPARC_CRYPTO is present.
29129 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
29132 * string/test-strstr.c (check2): New function.
29133 (test_main): Call check2.
29135 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
29137 * string/bug-strcasestr1.c (do_test): Moved to ...
29138 * string/test-strcasestr.c (check1): Here. New function.
29139 (do_one_test): Break out result checking code into ...
29140 (check_result): This. New function.
29141 (do_one_test): Call check_result.
29142 (test_main): Call check1.
29143 * string/bug-strchr1.c (do_test): Moved to ...
29144 * string/test-strchr.c (check1): Here. New function.
29145 (do_one_test): Break out result checking code into ...
29146 (check_result): This. New function.
29147 (do_one_test): Call check_result.
29148 (test_main): Call check1.
29149 * string/bug-strstr1.c (main): Moved to ...
29150 * string/test-strstr.c (check1): Here. New function.
29151 (do_one_test): Break out result checking code into ...
29152 (check_result): This. New function.
29153 (do_one_test): Call check_result.
29154 (test_main): Call check1.
29155 * string/bug-strcasestr1.c: Removed.
29156 * string/bug-strchr1.c: Likewise.
29157 * string/bug-strstr1.c: Likewise.
29159 * elf/Makefile (dl-routines): Add hwcaps.
29160 * elf/dl-support.c (_dl_important_hwcaps): Removed.
29161 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
29162 (_dl_important_hwcaps): Moved to ...
29163 * elf/dl-hwcaps.c: Here. New file.
29164 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
29167 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
29168 if IS_IN_rtld isn't defined.
29170 * elf/dl-support.c (_dl_sysinfo_map): New.
29171 Include "get-dynamic-info.h" and "setup-vdso.h".
29172 (_dl_non_dynamic_init): Call setup_vdso.
29173 * elf/dynamic-link.h: Don't include <assert.h>.
29174 (elf_get_dynamic_info): Moved to ...
29175 * elf/get-dynamic-info.h: Here. New file.
29176 * elf/dynamic-link.h: Include "get-dynamic-info.h".
29177 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
29178 * elf/setup-vdso.h: Here. New file.
29179 * elf/rtld.c: Include "setup-vdso.h".
29180 (dl_main): Call setup_vdso.
29182 2012-10-05 Joseph Myers <joseph@codesourcery.com>
29184 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
29185 creal in comment listing functions tested. List finite, isinf,
29186 isnan, isless, islessequal, isgreater, isgreaterequal,
29187 islessgreater, isunordered, lgamma_r and pow10 as functions and
29188 macros not tested. Mention which functions not tested are aliases
29189 for other functions. Fix typo. Note that signs of NaNs are not
29192 * scripts/config.guess: Update from config.git.
29193 * scripts/config.sub: Likewise.
29195 2012-10-04 Roland McGrath <roland@hack.frob.com>
29197 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
29198 * misc/madvise.c (madvise): Renamed to __madvise.
29199 Make madvise a weak alias.
29200 * include/sys/mman.h: Declare __madvise.
29201 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
29202 * sysdeps/unix/syscalls.list
29203 (madvise): Make __madvise the strong name, and madvise a weak alias.
29204 * sysdeps/unix/sysv/linux/syscalls.list
29205 (madvise, mmap): Remove redundant entries.
29206 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
29207 * malloc/malloc.c (mtrim): Likewise.
29208 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
29210 2012-10-03 Roland McGrath <roland@hack.frob.com>
29212 * sysdeps/mach/hurd/dl-cache.c: File removed.
29213 * config.h.in (USE_LDCONFIG): New #undef.
29214 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
29215 * configure: Regenerated.
29216 * elf/Makefile (dl-routines): Add dl-cache only under
29217 [$(use-ldconfig) = yes].
29218 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
29219 cache on [USE_LDCONFIG].
29220 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
29222 * elf/rtld.c (dl_main): Likewise.
29224 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
29226 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
29227 _SC_LEVEL4_CACHE_LINESIZE.
29229 2012-10-03 Roland McGrath <roland@hack.frob.com>
29231 * sysdeps/unix/bsd/confstr.h: File removed.
29233 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
29235 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
29238 2012-10-02 Roland McGrath <roland@hack.frob.com>
29240 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
29241 Make 'mapoff' field ElfW(Off) rather than off_t.
29243 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
29245 * nscd/Makefile: Remove nscd-cflags and all its users.
29246 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
29247 (CFLAGS-nonlib): Add compiler flags for nscd modules.
29250 * malloc.c (malloc_printerr): Clarify error message.
29252 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
29255 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29256 Set bit_FMA_Usable if FMA is supported.
29257 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
29259 (bit_FMA4_Usable): Updated.
29260 (index_FMA_Usable): New macro.
29261 (CPUID_FMA): Likewise
29262 (HAS_FMA): Defined with bit_FMA_Usable.
29264 2012-10-01 Roland McGrath <roland@hack.frob.com>
29266 * bits/types.h (__swblk_t): Type removed.
29267 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
29268 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
29269 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
29270 (__SWBLK_T_TYPE): Likewise.
29271 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
29272 (__SWBLK_T_TYPE): Likewise.
29273 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
29274 (__SWBLK_T_TYPE): Likewise.
29275 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
29276 (__SWBLK_T_TYPE): Likewise.
29278 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
29279 Honza Horak <hhorak@redhat.com>
29281 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
29282 (xdr_mapname): Use YPMAXMAP as maxsize.
29283 (xdr_peername): Use YPMAXPEER as maxsize.
29284 (xdr_keydat): Use YPAXRECORD as maxsize.
29285 (xdr_valdat): Use YPMAXRECORD as maxsize.
29287 2012-10-01 Roland McGrath <roland@hack.frob.com>
29289 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
29291 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
29292 * csu/init-first.c: ... here.
29293 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
29294 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
29295 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
29296 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
29297 * sysdeps/i386/init-first.c: File removed.
29298 * sysdeps/sh/init-first.c: File removed.
29300 2012-10-01 Joseph Myers <joseph@codesourcery.com>
29303 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
29304 if x * y might underflow to zero and z is zero.
29305 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29306 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29307 * math/libm-test.inc (min_subnorm_value): New variable.
29308 (fma_test): Add more tests.
29309 (fma_test_towardzero): Likewise.
29310 (fma_test_downward): Likewise
29311 (fma_test_upward): Likewise.
29312 (initialize): Set min_subnorm_value.
29314 2012-09-29 Joseph Myers <joseph@codesourcery.com>
29317 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
29319 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
29320 mode for addition resulting in exact zero.
29321 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
29322 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
29324 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
29325 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29326 * math/libm-test.inc (fma_test): Add more tests.
29327 (fma_test_towardzero): New function.
29328 (fma_test_downward): Likewise.
29329 (fma_test_upward): Likewise.
29330 (main): Call the new functions.
29332 2012-09-28 David S. Miller <davem@davemloft.net>
29334 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
29336 2012-09-28 Roland McGrath <roland@hack.frob.com>
29338 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
29339 instead of SIGALRM.
29341 * sysdeps/gnu/_G_config.h: Moved to ...
29342 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
29343 * sysdeps/mach/hurd/_G_config.h: Moved to ...
29344 * sysdeps/generic/_G_config.h: ... here.
29346 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
29348 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
29350 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
29351 Conditionalize target on [libnss_test1.so-version].
29353 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
29355 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
29356 (elfobjdir): Move out of conditionals.
29358 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
29359 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
29360 (__nss_lookup_function): Conditionalize label remove_from_tree on
29361 [!DO_STATIC_NSS || SHARED], matching its only use.
29363 2012-09-28 David S. Miller <davem@davemloft.net>
29365 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
29366 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
29368 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
29370 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
29371 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
29372 when HWCAP_SPARC_CRYPTO is present.
29374 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
29376 * io/tst-mknodat.c: Create a FIFO instead of a socket.
29378 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
29381 * stdio-common/vfprintf.c (process_string_arg): Revert
29384 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
29386 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
29388 * stdio-common/tst-sprintf.c: Include <locale.h>
29389 (main): Test sprintf's handling of incomplete multibyte
29392 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
29394 * elf/dl-runtime.c (VERSYMIDX): Removed.
29395 * elf/dl-version.c (VERSYMIDX): Likewise.
29396 * elf/do-rel.h (VERSYMIDX): Likewise.
29397 (VALIDX): Likewise.
29398 * elf/dynamic-link.h (VERSYMIDX): Likewise.
29399 * elf/rtld.c (VALIDX): Likewise.
29400 (ADDRIDX): Likewise.
29401 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
29402 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
29403 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
29404 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
29405 (VALIDX): Likewise.
29406 (ADDRIDX): Likewise.
29408 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
29410 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
29412 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
29415 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
29417 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
29418 addresses are in the same scope as 192.0.2/24.
29419 * posix/gai.conf: Document new scope table defaults.
29421 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
29424 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
29425 for ftell. Compute offsets from write pointers instead.
29426 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
29428 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
29431 * libio/Makefile (tests): New test case tst-fseek.
29432 * libio/tst-fseek.c: New test case to verify that fseek/ftell
29433 combination works in wide mode.
29434 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
29435 state when the external buffer state changes.
29437 2012-09-27 David S. Miller <davem@davemloft.net>
29440 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
29441 pass reloc->r_addend in as the 'high' argument to
29442 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
29444 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29446 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
29448 * rt/tst-aio2.c: Include <pthread.h>.
29449 * rt/tst-aio3.c: Likewise.
29451 2012-09-27 Steve Ellcey <sellcey@mips.com>
29453 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
29455 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
29457 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
29458 contents on [SHARED].
29460 2012-09-26 Marek Polacek <polacek@redhat.com>
29464 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
29465 for C++ and GCC <4.3 as well as for non GCC compilers.
29467 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
29469 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29471 2012-09-25 Roland McGrath <roland@hack.frob.com>
29473 * Makefile.in (all, install): Declare with .PHONY.
29474 Reported by Michael Hope <michael.hope@linaro.org>.
29476 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
29478 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
29479 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
29481 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
29483 (sydep_routines): Add the new and the internal functions.
29484 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
29485 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
29486 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
29487 (GLIBC_2.17): Add the new function.
29488 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
29489 (GLIBC_2.17): Likewise.
29490 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
29491 (GLIBC_2.17): Likewise.
29492 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
29493 (GLIBC_2.17): Likewise.
29494 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
29496 2012-09-25 Alan Modra <amodra@gmail.com>
29498 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
29499 Add release barrier before setting once_control to say
29500 initialisation is done. Add hints on lwarx. Use macro in
29502 (clear_once_control): Add release barrier.
29504 2012-09-25 Joseph Myers <joseph@codesourcery.com>
29507 * math/s_clog.c (__clog): Handle more values close to |z| = 1
29509 * math/s_clog10.c (__clog10): Likewise.
29510 * math/s_clog10f.c (__clog10f): Likewise.
29511 * math/s_clog10l.c (__clog10l): Likewise.
29512 * math/s_clogf.c (__clogf): Likewise.
29513 * math/s_clogl.c (__clogl): Likewise.
29514 * math/Makefile (libm-calls): Add x2y2m1.
29515 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
29516 (__x2y2m1): Likewise.
29517 (__x2y2m1l): Likewise.
29518 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
29519 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
29520 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
29521 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
29522 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
29523 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
29524 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
29525 * sysdeps/i386/fpu/libm-test-ulps: Update.
29526 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29529 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
29530 int as type of variable DEPTH.
29531 (glob): Use size_t instead of int as type of variables NEWCOUNT
29534 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29536 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
29537 Add s_sincosf-sse2.
29538 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
29539 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
29540 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
29541 macros for using routine as __sincosf_ia32.
29542 Use macro for function declaration and weak_alias.
29543 * sysdeps/i386/fpu/libm-test-ulps: Update.
29545 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
29546 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29548 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
29549 subnormal argument.
29550 * math/s_cexpf.c (__cexpf): Likewise.
29551 * math/s_csinf.c (__csinf): Likewise.
29552 * math/s_csinhf.c (__csinhf): Likewise.
29553 * math/s_ctanf.c (__ctanf): Likewise.
29554 * math/s_ctanhf.c (__ctanhf): Likewise.
29555 * math/s_ccosh.c (__ccoshf): Likewise.
29556 * math/s_cexp.c (__cexpl): Likewise.
29557 * math/s_csin.c (__csin): Likewise.
29558 * math/s_csinh.c (__csinh): Likewise.
29559 * math/s_ctan.c (__ctan): Likewise.
29560 * math/s_ctanh.c (ctanh): Likewise.
29561 * math/s_ccoshl.c (__ccoshl): Likewise.
29562 * math/s_cexpl.c (__cexpl): Likewise.
29563 * math/s_csinl.c (__csinl): Likewise.
29564 * math/s_csinhl.c (__csinhl): Likewise.
29565 * math/s_ctanl.c (__ctanl): Likewise.
29566 * math/s_ctanhl.c (__ctanhl): Likewise.
29568 2012-09-25 Joseph Myers <joseph@codesourcery.com>
29570 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
29571 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
29572 (_IO_off_t): Define to __off_t, not _G_off_t.
29573 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
29574 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
29575 (_IO_wint_t): Define to wint_t, not _G_wint_t.
29576 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
29577 type of __dummy and __dummy2 fields.
29578 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
29579 (_G_ssize_t): Likewise.
29580 (_G_off_t): Likewise.
29581 (_G_pid_t): Likewise.
29582 (_G_uid_t): Likewise.
29583 (_G_wchar_t): Likewise.
29584 (_G_wint_t): Likewise.
29585 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
29586 (_G_ssize_t): Likewise.
29587 (_G_off_t): Likewise.
29588 (_G_pid_t): Likewise.
29589 (_G_uid_t): Likewise.
29590 (_G_wchar_t): Likewise.
29591 (_G_wint_t): Likewise.
29592 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
29593 (_G_ssize_t): Likewise.
29594 (_G_off_t): Likewise.
29595 (_G_pid_t): Likewise.
29596 (_G_uid_t): Likewise.
29597 (_G_wchar_t): Likewise.
29598 (_G_wint_t): Likewise.
29600 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
29602 * malloc/arena.c: Include malloc-sysdep.h.
29603 (shrink_heap): Use check_may_shrink_heap to decide if madvise
29604 is sufficient to shrink the heap or an unmap is needed.
29605 * sysdeps/generic/malloc-sysdep.h: New file. Define
29606 new function check_may_shrink_heap.
29607 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
29608 new function check_may_shrink_heap.
29610 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
29612 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
29615 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
29617 * catgets/test-gencat.sh: Add "set -e".
29618 * elf/tst-pathopt.sh: Likewise.
29619 * grp/tst_fgetgrent.sh: Likewise.
29620 * iconvdata/run-iconv-test.sh: Likewise.
29621 * intl/tst-gettext.sh: Likewise.
29622 * intl/tst-gettext2.sh: Likewise.
29623 * intl/tst-gettext4.sh: Likewise.
29624 * intl/tst-gettext6.sh: Likewise.
29625 * intl/tst-translit.sh: Likewise.
29626 * io/ftwtest-sh: Likewise.
29627 * libio/test-freopen.sh: Likewise.
29628 * malloc/tst-mtrace.sh: Likewise.
29629 * posix/globtest.sh: Likewise.
29630 * posix/tst-getconf.sh: Likewise.
29631 * posix/wordexp-tst.sh: Likewise.
29632 * stdio-common/tst-printf.sh: Likewise.
29633 * stdio-common/tst-unbputc.sh: Likewise.
29634 * stdlib/tst-fmtmsg.sh: Likewise.
29635 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
29636 * catgets/Makefile: Do not specify -e option when running
29637 testsuite shell scripts.
29638 * elf/Makefile: Likewise.
29639 * grp/Makefile: Likewise.
29640 * iconvdata/Makefile: Likewise.
29641 * intl/Makefile: Likewise.
29642 * io/Makefile: Likewise.
29643 * libio/Makefile: Likewise.
29644 * malloc/Makefile: Likewise.
29645 * posix/Makefile: Likewise.
29646 * stdio-common/Makefile: Likewise.
29647 * stdlib/Makefile: Likewise.
29648 * sysdeps/x86_64/Makefile: Likewise.
29650 * io/ftwtest-sh: Add copyright header.
29651 * posix/globtest.sh: Likewise.
29652 * posix/tst-getconf.sh: Likewise.
29653 * posix/wordexp-tst.sh: Likewise.
29654 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
29656 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
29659 * Makeconfig (+link): Defined as $(+link-static) if
29660 $(build-shared) isn't yes.
29661 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
29663 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
29665 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
29668 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
29669 new chunk size with MALLOC_ALIGN_MASK.
29671 2012-09-24 Joseph Myers <joseph@codesourcery.com>
29674 * stdio-common/printf_fphex.c: Include <stdbool.h> and
29676 (__printf_fphex): Determine rounding using get_rounding_mode and
29678 * stdio-common/tst-printf-round.c (struct hex_test): New
29680 (hex_tests): New variable.
29681 (test_hex_in_one_mode): New function.
29682 (do_test): Also run tests for hex float output.
29684 2012-09-21 Joseph Myers <joseph@codesourcery.com>
29686 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
29687 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
29688 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
29689 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
29690 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
29691 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
29692 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
29693 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
29695 2012-09-20 Joseph Myers <joseph@codesourcery.com>
29697 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
29698 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
29699 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
29700 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
29702 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
29705 * elf/rtld.c (dl_main): Limit the check for self loading to normal
29707 * elf/tst-rtld-load-self.sh: New test.
29708 * elf/Makefile: Run it.
29710 2012-09-18 Joseph Myers <joseph@codesourcery.com>
29712 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
29713 (tst-writev-ENV): Remove.
29714 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
29716 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
29718 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
29720 2012-09-17 Joseph Myers <joseph@codesourcery.com>
29722 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
29724 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
29726 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
29727 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
29728 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
29731 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
29734 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
29735 * config.make.in (have-cpp-asm-debuginfo): Removed.
29736 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
29737 * configure: Regenerated.
29739 2012-09-14 Joseph Myers <joseph@codesourcery.com>
29742 * stdio-common/printf_fp.c: Include <stdbool.h> and
29744 (___printf_fp): Determine rounding using get_rounding_mode and
29746 * stdio-common/tst-printf-round.c: New file.
29747 * stdio-common/Makefile (tests): Add tst-printf-round.
29748 (link-libm): New variable.
29749 ($(objpfx)tst-printf-round): Depend in $(link-libm).
29751 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
29754 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
29755 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
29757 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
29760 2012-09-13 Joseph Myers <joseph@codesourcery.com>
29762 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
29763 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
29764 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
29765 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
29767 2012-09-12 Joseph Myers <joseph@codesourcery.com>
29770 * include/rounding-mode.h: New file.
29771 * sysdeps/generic/get-rounding-mode.h: Likewise.
29772 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
29773 * stdlib/strtod_l.c: Include <rounding-mode.h>.
29774 (MAX_VALUE): New macro.
29775 (MIN_VALUE): Likewise.
29776 (overflow_value): New function.
29777 (underflow_value): Likewise.
29778 (round_and_return): Use overflow_value and underflow_value to
29779 determine return values in overflow and underflow cases. Use
29780 round_away to determine rounding depending on rounding mode.
29781 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
29782 determine return values in overflow and underflow cases.
29783 * stdlib/tst-strtod-round.c: Include <fenv.h>.
29784 (struct test_results): New structure.
29785 (struct test): Use struct test_results to store expected results
29786 for all rounding modes.
29787 (TEST): Include expected results for all rounding modes.
29788 (test_in_one_mode): New function.
29789 (do_test): Use test_in_one_mode to compute and check results.
29790 Check results for all rounding modes.
29791 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
29794 2012-12-09 Allan McRae <allan@archlinux.org>
29796 * sysdeps/i386/fpu/libm-test-ulps: Update
29798 2012-09-11 Joseph Myers <joseph@codesourcery.com>
29800 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
29801 (_G_int32_t): Likewise.
29802 (_G_uint16_t): Likewise.
29803 (_G_uint32_t): Likewise.
29804 (_G_HAVE_BOOL): Likewise.
29805 (_G_HAVE_ATEXIT): Likewise.
29806 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
29807 (_G_HAVE_IO_FILE_OPEN): Likewise.
29808 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
29809 (_G_int32_t): Likewise.
29810 (_G_uint16_t): Likewise.
29811 (_G_uint32_t): Likewise.
29812 (_G_HAVE_BOOL): Likewise.
29813 (_G_HAVE_ATEXIT): Likewise.
29814 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
29815 (_G_HAVE_IO_FILE_OPEN): Likewise.
29816 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
29817 (_G_int32_t): Likewise.
29818 (_G_uint16_t): Likewise.
29819 (_G_uint32_t): Likewise.
29820 (_G_HAVE_BOOL): Likewise.
29821 (_G_HAVE_ATEXIT): Likewise.
29822 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
29823 (_G_HAVE_IO_FILE_OPEN): Likewise.
29825 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
29827 * csu/libc-tls.c: Update copyright years.
29829 2012-09-10 Joseph Myers <joseph@codesourcery.com>
29831 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
29832 [!_G_USING_THUNKS]: Remove conditional code.
29833 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
29834 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
29836 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
29837 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
29838 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
29839 (_G_VTABLE_LABEL_PREFIX): Likewise.
29840 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
29841 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
29842 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
29843 (_G_VTABLE_LABEL_PREFIX): Likewise.
29844 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
29845 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
29846 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
29847 (_G_VTABLE_LABEL_PREFIX): Likewise.
29848 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
29850 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
29852 * libio/Makefile: Include ../Makeconfig before tests.
29853 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
29854 only if $(build-shared) is yes.
29856 * iconv/gconv_db.c: Update copyright years.
29858 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29860 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
29861 unwind info if defined PIC. Fix special cases description.
29862 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
29864 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
29866 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
29868 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
29870 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
29872 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
29875 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
29876 (LDLIBS-tst-chk4): This.
29877 (LDFLAGS-tst-chk5): Renamed to ...
29878 (LDLIBS-tst-chk5): This.
29879 (LDFLAGS-tst-chk6): Renamed to ...
29880 (LDLIBS-tst-chk6): This.
29881 (LDFLAGS-tst-lfschk4): Renamed to ...
29882 (LDLIBS-tst-lfschk4): This.
29883 (LDFLAGS-tst-lfschk5): Renamed to ...
29884 (LDLIBS-tst-lfschk5): This.
29885 (LDFLAGS-tst-lfschk6): Renamed to ...
29886 (LDLIBS-tst-lfschk6): This.
29888 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
29889 on $(common-objpfx)soversions.mk.
29891 2012-09-07 Joseph Myers <joseph@codesourcery.com>
29894 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
29897 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
29899 * malloc/arena.c (arena_get_retry): New function that gets
29900 another arena for the caller to try its request on.
29901 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
29902 current arena cannot fulfill the request.
29903 (__libc_memalign): Likewise.
29904 (__libc_memalign): Likewise.
29905 (__libc_pvalloc): Likewise.
29906 (__libc_calloc): Likewise.
29908 2012-09-05 John Tobey <john.tobey@gmail.com>
29911 * manual/arith.texi (Operations on Complex): Fix description
29912 of carg branch cut.
29914 2012-09-06 Joseph Myers <joseph@codesourcery.com>
29917 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
29921 * manual/memory.texi (Memory): Make order of menu items match
29924 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
29926 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
29927 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
29928 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
29930 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
29932 * csu/libc-tls.c (static_dtv): Renamed to ...
29933 (_dl_static_dtv): This. Make it global.
29934 (_dl_initial_dtv): Removed.
29935 (__libc_setup_tls): Updated.
29936 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
29937 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
29940 2012-09-06 Petr Machata <pmachata@redhat.com>
29942 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
29943 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
29944 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
29945 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
29947 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
29950 * csu/libc-tls.c (_dl_initial_dtv): New variable.
29951 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
29954 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
29957 * Makeconfig (link-static-before-libc): Replace $(+prector)
29959 (link-static-after-libc): Replace $(+postctor) with
29961 (link-bounded): Replace $(+prector)/$(+postctor) with
29962 $(+prectorT)/$(+postctorT).
29963 (+prectorT): New macro.
29964 (+postctorT): Likewise.
29966 2012-09-06 Joseph Myers <joseph@codesourcery.com>
29968 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
29969 (round_str): Handle values above the maximum for IBM long double
29971 * stdlib/tst-strtod-round.c (tests): Regenerated.
29973 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29975 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
29977 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
29978 zarch_nohighgprs around the zarch optimized routines.
29979 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
29980 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
29981 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
29984 2012-09-05 David S. Miller <davem@davemloft.net>
29986 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29988 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
29989 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
29990 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
29991 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
29994 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
29996 * malloc/arena.c: Fold copyright years.
29997 * malloc/mcheck.c, malloc/memusage.c: Likewise.
29999 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
30001 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
30003 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
30005 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
30007 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
30009 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
30010 change internal state upon failure.
30012 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
30014 * malloc/mcheck.c (mcheck_check_all): Fix typo.
30015 * malloc/memusage.c (mmap): Likewise.
30016 (mmap64, mremap): Likewise. Adjust name in comment.
30018 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
30020 * libio/fileops.c: Fix typos in comments.
30021 * libio/oldfileops.c: Likewise.
30022 * libio/wfileops.c: Likewise.
30024 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
30027 * malloc/Makefile (tests): Add tst-malloc-usable test case.
30028 (tst-malloc-usable-ENV): Set environment for test case.
30029 * malloc/hooks.c (malloc_check_get_size): New function to get
30031 * malloc/malloc.c (musable): Use malloc_check_get_size.
30032 * malloc/tst-malloc-usable.c: New test case.
30034 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
30036 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
30038 2012-09-05 Allan McRae <allan@archlinux.org>
30041 * configure.in (CXX_SYSINCLUDES): Use compiler output to
30042 determine header location.
30043 * configure: Regenerated.
30045 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
30047 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
30049 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
30050 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
30052 (test): Regenerate.
30054 2012-09-04 David S. Miller <davem@davemloft.net>
30056 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
30057 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
30058 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
30060 2012-09-04 Florian Weimer <fweimer@redhat.com>
30062 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
30065 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
30067 2012-09-04 Joseph Myers <joseph@codesourcery.com>
30070 * libio/iogetdelim.c: Include <limits.h>.
30071 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
30072 + len + 1 would overflow.
30074 2012-09-03 Andreas Jaeger <aj@suse.de>
30076 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30077 * sysdeps/i386/fpu/libm-test-ulps: Update.
30079 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30081 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
30082 Add s_sinf-sse2, s_conf-sse2.
30084 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
30085 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
30086 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
30087 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
30089 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
30090 for using routine as __sinf_ia32.
30091 Use macro for function declaration and weak_alias.
30092 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
30093 for using routine as __cosf_ia32.
30094 Use macro for function declaration and weak_alias.
30096 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
30097 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
30099 * sysdeps/x86_64/fpu/s_sinf.S: New file.
30100 * sysdeps/x86_64/fpu/s_cosf.S: New file.
30101 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30103 * math/libm-test.inc (cos_test): Add more test cases.
30104 (sin_test): Likewise.
30105 (sincos_test): Likewise.
30107 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30109 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
30110 (IFUNC_RESOLVE): Make pointers to the specialized implementations
30112 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
30114 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
30117 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
30118 first element of the GOT.
30119 (elf_machine_load_address): Return the difference between
30120 the runtime address of _DYNAMIC and elf_machine_dynamic ().
30122 2012-09-01 Allan McRae <allan@archlinux.org>
30125 * configure.in (AWK): Require gawk version 3.0 or later.
30126 * configure: Regenerated.
30128 2012-09-01 Joseph Myers <joseph@codesourcery.com>
30130 * sysdeps/unix/sysv/linux/kernel-features.h
30131 (__ASSUME_POSIX_CPU_TIMERS): Remove.
30132 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
30133 [__NR_clock_getres]: Make code unconditional.
30134 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
30135 (clock_getcpuclockid): Remove code left unreachable by removal of
30137 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
30138 code unconditional.
30139 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
30140 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
30141 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
30142 Make code unconditional.
30143 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
30144 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
30145 * sysdeps/unix/sysv/linux/clock_settime.c
30146 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
30148 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
30149 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
30151 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
30154 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
30155 scripts/test-installation.pl.
30157 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
30158 and $ld_so_version if it is set.
30160 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
30163 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
30164 failure if reading from procfs failed.
30165 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
30167 2012-08-27 Joseph Myers <joseph@codesourcery.com>
30169 * sysdeps/unix/sysv/linux/kernel-features.h
30170 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
30171 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
30172 Remove conditional code.
30173 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30174 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
30175 Remove conditional code.
30176 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30177 * sysdeps/unix/sysv/linux/i386/fxstat.c
30178 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
30179 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30180 * sysdeps/unix/sysv/linux/i386/fxstatat.c
30181 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
30182 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30183 * sysdeps/unix/sysv/linux/i386/lxstat.c
30184 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
30185 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30186 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
30187 Remove conditional code.
30188 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30189 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
30190 Remove conditional code.
30191 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30192 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
30193 <kernel-features.h>.
30194 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
30196 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
30197 Remove conditional code.
30198 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30199 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
30200 Remove conditional.
30202 2012-08-27 Mike Frysinger <vapier@gentoo.org>
30205 * NEWS: Add fixed bug number.
30207 2012-08-27 Joseph Myers <joseph@codesourcery.com>
30210 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
30211 underflowing exponent in case of negative sign.
30212 * stdlib/tst-strtod-round-data: Add more tests.
30213 * stdlib/tst-strtod-round.c (tests): Regenerated.
30216 * stdlib/strtod_l.c (NDIG): Remove.
30217 (HEXNDIG): Likewise.
30218 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
30219 smallest representable value.
30220 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
30221 lie within an exact representation of 1/2 ulp of the result.
30222 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
30224 (TENS_P9_IDX): Define unconditionally.
30225 (TENS_P9_SIZE): Likewise.
30226 (TENS_P10_IDX): Likewise.
30227 (TENS_P10_SIZE): Likewise.
30228 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
30229 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
30230 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
30231 entries for 10^2^13 and 10^2^14.
30232 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
30233 (TENS_P13_IDX): Define.
30234 (TENS_P13_SIZE): Likewise.
30235 (TENS_P14_IDX): Likewise.
30236 (TENS_P14_SIZE): Likewise.
30237 (_fpioconst_pow10): Change array size to
30238 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
30240 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
30241 1024]: Add entries for 10^2^13 and 10^2^14.
30242 [LAST_POW10 > _LAST_POW10]: Remove #error.
30243 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
30244 (_fpioconst_pow10): Change array size to
30245 FPIOCONST_POW10_ARRAY_SIZE.
30246 * stdlib/gen-fpioconst.c: New file.
30247 * stdlib/gen-tst-strtod-round.c: Likewise.
30248 * stdlib/tst-strtod-round-data: Likewise.
30249 * stdlib/tst-strtod-round.c: Likewise.
30250 * stdlib/Makefile (tests): Add tst-strtod-round.
30253 * stdlib/strtod_l.c: Include <stdint.h>.
30254 (NDEBUG): Do not define.
30255 (round_and_return): Change EXPONENT parameter to type intmax_t.
30256 Rearrange calculations to avoid internal overflow possibilities.
30257 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
30258 Rearrange calculations to avoid internal overflow possibilities.
30259 Assert that number fits inside MPNSIZE limbs.
30260 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
30261 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
30262 calculations and add assertions to avoid internal overflow
30263 possibilities. Add casts to avoid signed/unsigned operations.
30264 * stdlib/tst-strtod-overflow.c: New file.
30265 * stdlib/Makefile (tests): Add tst-strtod-overflow.
30267 2012-08-25 Marek Polacek <polacek@redhat.com>
30269 * time/time.h: Fix some typos in comments.
30271 2012-08-23 Roland McGrath <roland@hack.frob.com>
30273 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
30274 * posix/tst-rfc3484-2.c: Likewise.
30275 * posix/tst-rfc3484-3.c: Likewise.
30277 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
30279 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
30280 (EF_ARM_ABI_FLOAT_HARD): Likewise.
30282 2012-08-23 Joseph Myers <joseph@codesourcery.com>
30284 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
30285 #include of fxstatat64.c.
30287 2012-08-22 Roland McGrath <roland@hack.frob.com>
30289 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
30290 * shadow/getspent_r.c: Likewise.
30291 * shadow/getspnam.c: Likewise.
30292 * shadow/getspnam_r.c: Likewise.
30293 * gshadow/getsgent.c: Likewise.
30294 * gshadow/getsgent_r.c: Likewise.
30295 * gshadow/getsgnam.c: Likewise.
30296 * gshadow/getsgnam_r.c: Likewise.
30297 * inet/getnetbyad.c: Likewise.
30298 * inet/getnetbyad_r.c: Likewise.
30299 * inet/getnetbynm.c: Likewise.
30300 * inet/getnetbynm_r.c: Likewise.
30301 * inet/getnetent.c: Likewise.
30302 * inet/getnetent_r.c: Likewise.
30303 * inet/getproto.c: Likewise.
30304 * inet/getproto_r.c: Likewise.
30305 * inet/getprtent.c: Likewise.
30306 * inet/getprtent_r.c: Likewise.
30307 * inet/getprtname.c: Likewise.
30308 * inet/getprtname_r.c: Likewise.
30309 * inet/getrpcbyname.c: Likewise.
30310 * inet/getrpcbyname_r.c: Likewise.
30311 * inet/getrpcbynumber.c: Likewise.
30312 * inet/getrpcbynumber_r.c: Likewise.
30313 * inet/getrpcent.c: Likewise.
30314 * inet/getrpcent_r.c: Likewise.
30315 * inet/getaliasent.c: Likewise.
30316 * inet/getaliasent_r.c: Likewise.
30317 * inet/getaliasname.c: Likewise.
30318 * inet/getaliasname_r.c: Likewise.
30319 * nscd/getgrgid_r.c: Likewise.
30320 * nscd/getgrnam_r.c: Likewise.
30321 * nscd/gethstbyad_r.c: Likewise.
30322 * nscd/gethstbynm3_r.c: Likewise.
30323 * nscd/getpwnam_r.c: Likewise.
30324 * nscd/getpwuid_r.c: Likewise.
30325 * nscd/getsrvbynm_r.c: Likewise.
30326 * nscd/getsrvbypt_r.c: Likewise.
30327 * nscd/gai.c: Likewise.
30329 * configure.in (build_nscd): New substituted variable, set
30330 by --disable-build-nscd and defaults to $use_nscd.
30331 * configure: Regenerated.
30332 * config.make.in (build-nscd): New substituted variable.
30333 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
30334 Change conditional to require [$(build-nscd) = yes] as well.
30335 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
30338 * configure.in (use_nscd): New substituted variable, set by
30339 --disable-nscd. If enabled, define USE_NSCD.
30340 * configure: Regenerated.
30341 * config.h.in: Add USE_NSCD.
30342 * config.make.in (use-nscd): New substituted variable.
30343 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
30344 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
30345 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
30346 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
30347 (CFLAGS-getgrnam_r.c): Likewise.
30348 (CFLAGS-initgroups.c): Likewise.
30349 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
30350 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
30352 * inet/getnetgrent_r.c
30353 (nscd_setnetgrent): New function, broken out of ...
30354 (setnetgrent): ... here. Call it.
30355 (innetgr): Conditionalize nscd bits on [USE_NSCD].
30356 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
30357 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
30358 * nscd/Makefile (routines, aux): Move definitions after include of
30359 Makeconfig. Conditionalize on [$(use-nscd) != no].
30360 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
30361 Conditionalize on [USE_NSCD].
30362 (is_nscd, nscd_init_cb): Likewise.
30363 (nss_load_library): Conditionalize init callback on [USE_NSCD].
30364 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
30365 * nss/nss_db/db-init.c: Likewise.
30366 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
30368 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
30369 (make_request): Use it.
30370 (cache_valid_p): New function.
30371 (__check_pf): Use it.
30372 * NEWS: Add item for --disable-nscd.
30374 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
30376 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
30377 to support sed >= 4.2.1-20-ga9bf076.
30378 * configure: Regenerated.
30380 2012-08-22 Roland McGrath <roland@hack.frob.com>
30382 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
30383 Conditionalize whole body on [IREL].
30385 2012-08-22 Jeff Law <law@redhat.com>
30388 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
30389 if the family is PF_UNSPEC.
30391 2012-08-22 Mike Frysinger <vapier@gentoo.org>
30393 * Makerules (lib-version): Rename from V.
30394 (install-lib-nosubdir): Change V to lib-version.
30396 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
30399 * powerpc32/power6/wcschr.c: New file.
30400 * powerpc32/power6/wcscpy.c: New file.
30401 * powerpc32/power6/wcsrchr.c: New file.
30402 * powerpc64/power6/wcschr.c: New file.
30403 * powerpc64/power6/wcscpy.c: New file.
30404 * powerpc64/power6/wcsrchr.c: New file.
30406 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
30408 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
30409 (two_way_short_needle): Use it.
30410 * string/strstr.c (AVAILABLE1_USES_J): Define.
30411 * string/strcasestr.c: Likewise.
30413 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
30415 * string/strcasestr.c (TOLOWER): Make side-effect safe.
30418 * NEWS: Add an entry.
30419 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
30420 define their defaults.
30421 (two_way_short_needle): Detect end-of-string on-the-fly.
30422 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
30423 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
30424 * string/bug-strcasestr1.c: New test.
30425 * string/Makefile: Run it.
30427 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
30430 * string/str-two-way.h (two_way_short_needle): Optimize matching of
30431 the first character.
30433 2012-08-21 Roland McGrath <roland@hack.frob.com>
30435 * csu/elf-init.c (__libc_csu_irel): Function removed.
30436 * csu/libc-start.c (apply_irel): New function.
30437 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
30439 2012-08-21 Joseph Myers <joseph@codesourcery.com>
30441 * sysdeps/unix/sysv/linux/kernel-features.h
30442 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
30443 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
30444 <kernel-features.h>.
30445 [__NR_fadvise64_64]: Make code unconditional.
30446 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
30447 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
30448 !__NR_fadvise64_64)]: Likewise.
30449 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
30450 !__NR_fadvise64_64))]: Likewise.
30451 [__NR_fadvise64]: Make code unconditional.
30452 [!__NR_fadvise64]: Remove conditional code.
30453 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
30454 <kernel-features.h>.
30455 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
30457 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
30459 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
30460 not include <kernel-features.h>.
30461 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
30463 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
30465 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
30466 include <kernel-features.h>.
30467 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
30469 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
30472 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
30474 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
30475 slight instruction rearrangements per scrollpipe analysis.
30476 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
30478 2012-08-20 Roland McGrath <roland@hack.frob.com>
30480 * manual/syslog.texi (syslog; vsyslog, closelog):
30481 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
30482 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
30484 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
30485 DSOCAPS to match condition on defining it.
30487 2012-08-20 Joseph Myers <joseph@codesourcery.com>
30489 * sysdeps/unix/sysv/linux/kernel-features.h
30490 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
30491 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
30492 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
30493 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
30494 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
30495 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
30496 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
30497 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
30498 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
30499 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
30501 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
30502 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
30504 * sysdeps/unix/sysv/linux/kernel-features.h
30505 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
30506 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
30508 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
30509 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
30510 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
30511 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
30512 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
30513 Make code unconditional.
30514 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
30515 (__mmap64) [!__NR_mmap2]: Likewise.
30516 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
30517 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
30518 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
30519 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
30520 [__NR_mmap2]: Make code unconditional.
30521 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
30522 (__mmap64) [!__NR_mmap2]: Likewise.
30524 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30526 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
30528 2012-08-18 Andreas Jaeger <aj@suse.de>
30530 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
30532 2012-08-18 Mike Frysinger <vapier@gentoo.org>
30534 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
30535 * include/unistd.h (__have_sock_cloexec): Likewise.
30536 (__have_pipe2): Likewise.
30537 (__have_dup3): Likewise.
30539 2012-08-18 Mike Frysinger <vapier@gentoo.org>
30542 * include/unistd.h (__have_pipe2): Change define into an extern int.
30543 (__have_dup3): Likewise.
30544 * socket/have_sock_cloexec.c: Include fcntl.h.
30545 (__have_pipe2): New variable.
30546 (__have_dup3): Likewise.
30548 2012-08-17 Mike Frysinger <vapier@gentoo.org>
30550 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
30552 2012-08-17 Marek Polacek <polacek@redhat.com>
30554 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
30555 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
30557 2012-08-17 Roland McGrath <roland@hack.frob.com>
30559 * configure.in: Add AC_SUBST for sysheaders.
30560 * configure: Regenerated.
30561 * config.make.in (sysheaders): New substituted variable.
30563 * sysdeps/unix/mkfifo.c: Moved ...
30564 * sysdeps/posix/mkfifo.c: ... here.
30565 * sysdeps/unix/mkfifoat.c: Moved ...
30566 * sysdeps/posix/mkfifoat.c: ... here.
30568 * sysdeps/unix/utime.c: Moved ...
30569 * sysdeps/posix/utime.c: ... here.
30571 * sysdeps/unix/time.c: Moved ...
30572 * sysdeps/posix/time.c: ... here.
30573 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
30574 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
30576 * sysdeps/unix/nice.c: Moved ...
30577 * sysdeps/posix/nice.c: ... here.
30579 * sysdeps/unix/alarm.c: Moved ...
30580 * sysdeps/posix/alarm.c: ... here.
30582 * intl/Makefile ($(codeset_mo)): Depend on the input file.
30584 2012-08-17 Jeff Law <law@redhat.com>
30586 * intl/Makefile (codeset_mo): New variable.
30587 ($(codeset_mo)): New target.
30588 (tst-codeset.out): Depend on that. Remove explicit rule.
30589 (tst-gettext3.out, tst-gettext5.out): Likewise.
30590 (LOCPATH-ENV, tst-codeset-ENV): New variables.
30591 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
30592 * intl/tst-codeset.sh: Remove.
30593 * intl/tst-gettext3.sh: Likewise.
30594 * intl/tst-gettext5.sh: Likewise.
30596 2012-08-17 Roland McGrath <roland@hack.frob.com>
30598 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
30599 * sysdeps/unix/syscalls.list: ... here.
30601 * sysdeps/posix/getaddrinfo.c
30602 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
30603 (gaiconf_init, gaiconf_reload): Use them.
30604 [!_STATBUF_ST_NSEC]
30605 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
30606 Define using time_t rather than struct timespec.
30608 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
30609 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
30611 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
30613 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
30614 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
30617 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
30618 __libc_cleanup_push argument.
30620 * bits/param.h: New file.
30621 * misc/sys/param.h: New file.
30622 * include/sys/param.h: New file.
30623 * misc/Makefile (headers): Add bits/param.h.
30624 * sysdeps/generic/sys/param.h: File removed.
30625 * sysdeps/unix/sysv/linux/bits/param.h: New file.
30626 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
30627 * sysdeps/mach/hurd/bits/param.h: New file.
30628 * sysdeps/mach/hurd/sys/param.h: File removed.
30630 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
30633 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
30635 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
30636 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
30639 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
30640 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
30641 rather than -D_IO_MTSAFE_IO conditionally.
30642 * stdio-common/Makefile (CPPFLAGS): Likewise.
30643 * wcsmbs/Makefile (CPPFLAGS): Likewise.
30644 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
30645 Use $(libio-mtsafe).
30646 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
30647 of -D_IO_MTSAFE_IO.
30648 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
30649 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
30650 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
30651 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
30652 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
30653 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
30654 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
30655 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
30656 (CFLAGS-fread_u_chk.c): Likewise.
30657 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
30658 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
30659 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
30660 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
30661 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
30662 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
30663 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
30664 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
30665 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
30667 * libio/Makefile: Test [$(libc-reentrant) = yes]
30668 instead of [$(filter %REENTRANT, $(defines)) nonempty].
30671 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
30672 * sysdeps/pthread/configure: File removed.
30673 * sysdeps/pthread/Makeconfig: New file.
30674 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
30675 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
30677 2012-08-16 Gary Benson <gbenson@redhat.com>
30679 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
30680 unmapping the first object in a namespace.
30682 2012-08-16 Roland McGrath <roland@hack.frob.com>
30684 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
30685 (__internal_setnetgrent): ... this. Add internal_function to
30686 definition. Add libc_hidden_def.
30687 (setnetgrent): Update caller.
30688 (internal_endnetgrent): Renamed to ...
30689 (__internal_endnetgrent): ... this. Add internal_function to
30690 definition. Add libc_hidden_def.
30691 (endnetgrent): Update caller.
30692 (internal_getnetgrent_r): Renamed to ...
30693 (__internal_getnetgrent_r): ... this. Add internal_function to
30694 definition. Add libc_hidden_def.
30695 (__getnetgrent_r): Update caller.
30696 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
30698 2012-08-16 Joseph Myers <joseph@codesourcery.com>
30700 * stdlib/longlong.h: Update from GCC.
30702 2012-08-16 Roland McGrath <roland@hack.frob.com>
30704 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
30705 on _QL, which is set by umul_ppmm but never used.
30706 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
30707 variables, which are set by GMP macros but never used.
30708 * stdio-common/_itowa.c (_itowa): Likewise.
30709 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
30710 * stdlib/mod_1.c (mpn_mod_1): Likewise.
30712 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
30714 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
30715 struct La_sh_regs is not constant.
30716 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
30717 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
30718 and struct La_sparc64_regs are not constant.
30720 2012-08-16 Joseph Myers <joseph@codesourcery.com>
30722 * sysdeps/unix/sysv/linux/kernel-features.h
30723 (__ASSUME_POSIX_TIMERS): Remove.
30724 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
30725 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
30726 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
30727 Make code unconditional.
30728 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
30729 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
30730 Make code unconditional.
30731 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
30732 * sysdeps/unix/sysv/linux/clock_nanosleep.c
30733 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
30734 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
30735 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
30736 Make code unconditional.
30737 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
30738 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
30739 (__libc_missing_posix_timers): Remove.
30741 2012-08-15 Roland McGrath <roland@hack.frob.com>
30743 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
30744 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
30746 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
30748 * elf/dl-sym.c: Include <stdlib.h>.
30750 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
30751 constants, which avoids warnings in 32-bit builds.
30753 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
30754 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
30756 * misc/lseek.c: File moved to ...
30757 * io/lseek.c: ... here.
30759 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
30761 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
30762 shifting LEN more than 31 bits at once.
30764 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30767 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
30768 segmentation fault for a case of two empty input strings.
30769 * string/test-strncasecmp.c (check1): Renamed to...
30770 (bz12205): ...this.
30771 (bz14195): Add new testcase for two empty input strings and N > 0.
30772 (test_main): Call new testcase, adapt for renamed function.
30774 2012-08-15 Andreas Jaeger <aj@suse.de>
30777 * crypt/md5test2.c: New test, based on test supplied by Serge
30778 Belyshev <belyshev@depni.sinp.msu.ru>.
30779 * crypt/Makefile (xtests): Add md5test-giant..
30780 * crypt/Makefile ($(objpfx)md5test-giant): Add.
30782 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
30785 * crypt/md5.c (md5_process_block): Don't assume the buffer
30786 length is less than 2**32.
30787 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
30788 length is less than 2**64.
30790 2012-08-15 Roland McGrath <roland@hack.frob.com>
30792 * string/str-two-way.h: Include <sys/param.h>.
30793 (MAX): Macro removed.
30795 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
30796 Move #define and #undef of memmove to just before and after
30797 including <string.h>.
30799 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
30800 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
30801 and after including <string.h>. Move declarations of
30802 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
30803 to before #include "string/memmove.c".
30805 * include/dirent.h: Declare __getdirentries.
30807 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
30808 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
30810 2012-08-14 Mike Frysinger <vapier@gentoo.org>
30812 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
30813 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
30814 * sysdeps/i386/configure: Regenerated.
30815 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
30816 STABS_CURRENT_FILE, and STABS_FUN.
30817 (END): Remove call to STABS_FUN_END.
30818 (STABS_CURRENT_FILE1): Delete.
30819 (STABS_CURRENT_FILE): Likewise.
30820 (STABS_FUN): Likewise.
30821 (STABS_FUN_END): Likewise.
30822 (STABS_FUN2): Likewise.
30823 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
30824 * sysdeps/x86_64/configure: Regenerated.
30826 2012-08-14 Roland McGrath <roland@hack.frob.com>
30828 * elf/dl-open.c: Include <atomic.h>.
30829 * elf/dl-lookup.c: Likewise.
30831 2012-08-14 Joseph Myers <joseph@codesourcery.com>
30833 * sysdeps/unix/sysv/linux/kernel-features.h
30834 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
30835 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
30837 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
30839 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
30840 condition on __ASSUME_CLONE_THREAD_FLAGS.
30842 2012-08-14 Andreas Jaeger <aj@suse.de>
30844 * sysdeps/i386/fpu/libm-test-ulps: Update.
30846 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
30848 * include/atomic.h (atomic_exchange_and_add): Split into ...
30849 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
30852 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
30854 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30856 2012-08-13 Jeff Law <law@redhat.com>
30858 * manual/stdio.texi (snprintf): Clarify handling of the trailing
30859 null byte in the output string.
30861 2012-08-10 Joseph Myers <joseph@codesourcery.com>
30863 * sysdeps/unix/sysv/linux/kernel-features.h
30864 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
30865 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
30866 (__ASSUME_ARG_MAX_STACK_BASED): Define.
30867 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
30868 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
30869 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
30870 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
30872 2012-08-09 Jeff Law <law@redhat.com>
30875 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
30876 When avoid_arena is set, don't retry in the that arena. Pick the
30877 next one, whatever it might be.
30878 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
30879 (arena_lock): Pass in new parameter to arena_get2.
30880 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
30882 (__libc_malloc): Unify retrying after main arena failure with
30883 __libc_memalign version.
30884 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
30886 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
30889 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
30890 to __redirect_strstr.
30891 (__strstr_sse42): Use typeof __redirect_strstr.
30892 (__strstr_ia32): Likewise.
30893 (__libc_strstr): New prototype.
30894 (strstr): Renamed to ...
30895 (__libc_strstr): This.
30896 (strstr): New strong alias of __libc_strstr.
30897 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
30898 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
30901 (__libc_time): New prototype.
30902 (time_ifunc): Replace time with __libc_time.
30903 (time): New strong alias and hidden definition of __libc_time.
30904 (__GI_time): Remove strong alias.
30905 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
30906 Include <stddef.h>.
30907 (memmove): Redefined to __redirect_memmove.
30908 (__memmove_sse2): Use typeof __redirect_memmove.
30909 (__memmove_ssse3): Likewise.
30910 (__memmove_ssse3_back): Likewise.
30911 (__libc_memmove): New prototype.
30912 (memmove): Renamed to ...
30913 (__libc_memmove): This.
30914 (memmove): New strong alias of __libc_memmove.
30916 2012-08-08 Mark Salter <msalter@redhat.com>
30919 (R_MN10300_TLS_GD): Define.
30920 (R_MN10300_TLS_LD): Likewise.
30921 (R_MN10300_TLS_LDO): Likewise.
30922 (R_MN10300_TLS_GOTIE): Likewise.
30923 (R_MN10300_TLS_IE): Likewise.
30924 (R_MN10300_TLS_LE): Likewise.
30925 (R_MN10300_TLS_DTPMOD): Likewise.
30926 (R_MN10300_TLS_DTPOFF): Likewise.
30927 (R_MN10300_TLS_TPOFF): Likewise.
30928 (R_MN10300_SYM_DIFF): Likewise.
30929 (R_MN10300_ALIGN): Likewise.
30930 (R_MN10300_NUM): Update.
30932 2012-08-08 Joseph Myers <joseph@codesourcery.com>
30934 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
30937 2012-08-08 Roland McGrath <roland@hack.frob.com>
30939 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
30941 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
30942 sysdeps/unix -> sysdeps/posix move.
30943 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
30945 2012-08-07 Allan McRae <allan@archlinux.org>
30948 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
30949 (SUNOS_CPP): Likewise.
30950 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
30952 (open_input): Call CPP using execvp.
30954 2012-08-07 Joseph Myers <joseph@codesourcery.com>
30956 * sysdeps/unix/sysv/linux/kernel-features.h
30957 (__ASSUME_PROT_GROWSUPDOWN): Remove.
30958 (__ASSUME_NO_CLONE_DETACHED): Likewise.
30959 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
30960 (__ASSUME_WAITID_SYSCALL): Likewise.
30961 * sysdeps/unix/sysv/linux/dl-execstack.c
30962 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
30963 code unconditional.
30964 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
30966 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
30967 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
30968 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
30970 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
30972 [__ASSUME_WAITID_SYSCALL]: Likewise.
30973 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
30975 2012-08-07 Roland McGrath <roland@hack.frob.com>
30977 * sysdeps/unix/closedir.c: Renamed to ...
30978 * sysdeps/posix/closedir.c: ... here.
30979 * sysdeps/unix/dirfd.c: Renamed to ...
30980 * sysdeps/posix/dirfd.c: ... here.
30981 * sysdeps/unix/dirstream.h: Renamed to ...
30982 * sysdeps/posix/dirstream.h: ... here.
30983 * sysdeps/unix/fdopendir.c: Renamed to ...
30984 * sysdeps/posix/fdopendir.c: ... here.
30985 * sysdeps/unix/opendir.c: Renamed to ...
30986 * sysdeps/posix/opendir.c: ... here.
30987 * sysdeps/unix/readdir.c: Renamed to ...
30988 * sysdeps/posix/readdir.c: ... here.
30989 * sysdeps/unix/readdir_r.c: Renamed to ...
30990 * sysdeps/posix/readdir_r.c: ... here.
30991 * sysdeps/unix/rewinddir.c: Renamed to ...
30992 * sysdeps/posix/rewinddir.c: ... here.
30993 * sysdeps/unix/seekdir.c: Renamed to ...
30994 * sysdeps/posix/seekdir.c: ... here.
30995 * sysdeps/unix/telldir.c: Renamed to ...
30996 * sysdeps/posix/telldir.c: ... here.
30997 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
30998 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
30999 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
31000 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
31002 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
31003 * bits/fcntl.h: ... here.
31005 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
31007 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
31008 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
31009 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
31010 (struct flock): Move l_start, l_len to the beginning.
31011 Use __pid_t for l_pid.
31012 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
31013 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
31014 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
31015 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
31016 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
31017 [__USE_LARGEFILE64] (struct flock64): New type.
31018 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
31020 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
31021 * bits/dirent.h: ... here.
31023 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
31024 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
31026 2012-08-07 Joseph Myers <joseph@codesourcery.com>
31028 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
31029 Change from 2.6.0 to 2.6.16.
31030 * sysdeps/unix/sysv/linux/configure: Regenerated.
31031 * sysdeps/unix/sysv/linux/kernel-features.h
31032 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
31033 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
31035 (__ASSUME_UTIMES): Likewise.
31036 (__ASSUME_CLONE_STOPPED): Remove.
31037 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
31038 architectures, not kernel version.
31039 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
31040 (__ASSUME_NO_CLONE_DETACHED): Likewise.
31041 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
31042 (__ASSUME_WAITID_SYSCALL): Likewise.
31043 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
31044 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
31045 * README: State 2.6.16 as minimum Linux kernel version. Do not
31046 refer to older versions.
31048 2012-08-06 Roland McGrath <roland@hack.frob.com>
31050 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
31051 Define alphasort64 as an alias.
31052 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
31053 Define versionsort64 as an alias.
31054 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
31055 Define scandir64 as an alias.
31056 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
31057 Define scandirat64 as an alias.
31058 * dirent/alphasort64.c (alphasort64):
31059 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
31060 * dirent/versionsort64.c: Likewise.
31061 * dirent/scandir64.c: Likewise.
31062 * dirent/scandirat64.c: Likewise.
31063 * sysdeps/wordsize-64/alphasort.c: File removed.
31064 * sysdeps/wordsize-64/alphasort64.c: File removed.
31065 * sysdeps/wordsize-64/scandir.c: File removed.
31066 * sysdeps/wordsize-64/scandir64.c: File removed.
31067 * sysdeps/wordsize-64/scandirat.c: File removed.
31068 * sysdeps/wordsize-64/scandirat64.c: File removed.
31069 * sysdeps/wordsize-64/versionsort.c: File removed.
31070 * sysdeps/wordsize-64/versionsort64.c: File removed.
31071 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
31072 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
31073 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
31074 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
31075 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
31076 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
31077 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
31078 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
31080 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
31081 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
31082 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
31083 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31084 [defined __arch64__ || defined __sparcv9]
31085 (__INO_T_MATCHES_INO64_T): New macro.
31086 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
31087 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
31088 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
31089 * sysdeps/unix/sysv/linux/bits/dirent.h
31090 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
31091 (_DIRENT_MATCHES_DIRENT64): New macro.
31093 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
31094 Define lockf64 as an alias.
31095 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
31096 Define fseeko64 as an alias.
31097 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
31098 Define ftello64 as an alias.
31099 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
31100 Define _IO_fgetpos64 and fgetpos64 as aliases.
31101 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
31102 Define _IO_fsetpos64 and fsetpos64 as aliases.
31103 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
31104 Conditionalize body on this.
31105 * libio/fseeko64.c: Likewise.
31106 * libio/ftello64.c: Likewise.
31107 * libio/iofgetpos64.c: Likewise.
31108 * libio/iofsetpos64.c: Likewise.
31109 * sysdeps/wordsize-64/lockf.c: File removed.
31110 * sysdeps/wordsize-64/lockf64.c: File removed.
31111 * sysdeps/wordsize-64/fseeko.c: File removed.
31112 * sysdeps/wordsize-64/fseeko64.c: File removed.
31113 * sysdeps/wordsize-64/ftello.c: File removed.
31114 * sysdeps/wordsize-64/ftello64.c: File removed.
31115 * sysdeps/wordsize-64/iofgetpos.c: File removed.
31116 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
31117 * sysdeps/wordsize-64/iofsetpos.c: File removed.
31118 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
31119 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
31120 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
31121 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
31122 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
31123 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
31124 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
31125 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
31126 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
31127 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
31128 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
31130 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
31131 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
31132 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
31133 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31134 [defined __arch64__ || defined __sparcv9]
31135 (__OFF_T_MATCHES_OFF64_T): New macro.
31136 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
31137 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
31138 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
31139 (__OFF_T_MATCHES_OFF64_T): New macro.
31141 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
31143 * stdlib/secure-getenv.c (__secure_getenv): Replace
31144 GLIBC_2_16 with GLIBC_2_17.
31146 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
31148 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
31149 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
31151 2012-08-03 David S. Miller <davem@davemloft.net>
31153 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31155 2012-08-03 Joseph Myers <joseph@codesourcery.com>
31157 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
31159 (__ASSUME_CORRECT_SI_PID): Likewise.
31160 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
31161 (__ASSUME_TMPFS_NAME): Likewise.
31162 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
31163 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
31164 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
31165 (HAVE_AUX_SECURE): Make definition unconditional.
31166 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
31167 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
31169 2012-08-03 Roland McGrath <roland@hack.frob.com>
31171 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
31172 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
31173 * sysdeps/mach/hurd/eloop-threshold.h: New file.
31174 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
31175 __eloop_threshold instead of SYMLOOP_MAX.
31177 * sysdeps/generic/eloop-threshold.h: New file.
31178 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
31180 * elf/chroot_canon.c (chroot_canon): Likewise.
31182 2012-08-03 Joseph Myers <joseph@codesourcery.com>
31185 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
31186 Change to 2.6.0 everywhere.
31187 * sysdeps/unix/sysv/linux/configure: Regenerated.
31188 * sysdeps/unix/sysv/linux/kernel-features.h
31189 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
31190 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
31192 (__ASSUME_POSIX_TIMERS): Define unconditionally.
31193 (__ASSUME_FUTEX_REQUEUE): Remove.
31194 (__ASSUME_STATFS64): Define unconditionally.
31195 (__ASSUME_AT_SECURE): Likewise.
31196 (__ASSUME_CORRECT_SI_PID): Likewise.
31197 (__ASSUME_TGKILL): Define without depending on kernel version for
31199 (__ASSUME_UTIMES): Likewise.
31200 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
31202 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
31203 (__ASSUME_TMPFS_NAME): Likewise.
31204 * README: Update reference to Linux kernel versions.
31206 2012-08-02 Marek Polacek <polacek@redhat.com>
31209 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
31210 libc_cv_asm_type_prefix with %.
31211 * configure: Regenerated.
31212 * include/libc-symbols.h: Remove comment about
31213 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
31214 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
31215 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
31216 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
31217 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
31218 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
31219 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
31220 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
31221 * elf/tst-unique2mod1.c: Likewise.
31222 * elf/tst-unique1mod2.c: Likewise.
31223 * elf/tst-unique1mod1.c: Likewise.
31224 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
31225 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
31226 Replace ASM_TYPE_DIRECTIVE with .type.
31227 * sysdeps/s390/s390-64/sysdep.h: Likewise.
31228 * sysdeps/i386/sysdep.h: Likewise.
31229 * sysdeps/x86_64/sysdep.h: Likewise.
31230 * sysdeps/sh/sysdep.h: Likewise.
31231 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
31232 Do not define ASM_TYPE_DIRECTIVE.
31233 * sysdeps/powerpc/sysdep.h: Likewise.
31234 * sysdeps/powerpc/powerpc32/sysdep.h:
31235 Replace ASM_TYPE_DIRECTIVE with .type.
31236 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
31237 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
31238 * sysdeps/i386/fpu/e_powf.S: Likewise.
31239 * sysdeps/i386/fpu/e_expl.S: Likewise.
31240 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
31241 * sysdeps/i386/fpu/e_acosh.S: Likewise.
31242 * sysdeps/i386/fpu/e_pow.S: Likewise.
31243 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
31244 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
31245 * sysdeps/i386/fpu/s_expm1.S: Likewise.
31246 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
31247 * sysdeps/i386/fpu/e_log2.S: Likewise.
31248 * sysdeps/i386/fpu/e_log2l.S: Likewise.
31249 * sysdeps/i386/fpu/e_scalb.S: Likewise.
31250 * sysdeps/i386/fpu/e_powl.S: Likewise.
31251 * sysdeps/i386/fpu/e_log10f.S: Likewise.
31252 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
31253 * sysdeps/i386/fpu/e_logl.S: Likewise.
31254 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
31255 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
31256 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
31257 * sysdeps/i386/fpu/e_log2f.S: Likewise.
31258 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
31259 * sysdeps/i386/fpu/e_log.S: Likewise.
31260 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
31261 * sysdeps/i386/fpu/e_logf.S: Likewise.
31262 * sysdeps/i386/fpu/e_log10l.S: Likewise.
31263 * sysdeps/i386/fpu/e_atanh.S: Likewise.
31264 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
31265 * sysdeps/i386/fpu/e_log10.S: Likewise.
31266 * sysdeps/i386/fpu/s_frexp.S: Likewise.
31267 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
31268 * sysdeps/i386/fpu/s_asinh.S: Likewise.
31269 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
31270 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
31271 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
31272 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
31273 * sysdeps/i386/i686/strtok.S: Likewise.
31274 * sysdeps/i386/i386-mcount.S: Likewise.
31275 * sysdeps/i386/strtok.S: Likewise.
31276 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
31277 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
31278 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
31279 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
31280 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
31281 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
31282 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
31283 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
31284 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
31285 * sysdeps/x86_64/_mcount.S: Likewise.
31286 * sysdeps/x86_64/strtok.S: Likewise.
31287 * sysdeps/sh/_mcount.S: Likewise.
31289 2012-08-01 Roland McGrath <roland@hack.frob.com>
31291 * libio/iofopen.c: Include <fcntl.h>.
31292 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
31293 (_IO_fopen64, fopen64): Define as aliases.
31294 * libio/iofopen64.c: Include <fcntl.h>.
31295 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
31296 Conditionalize body on this.
31297 * sysdeps/wordsize-64/iofopen.c: File removed.
31298 * sysdeps/wordsize-64/iofopen64.c: File removed.
31300 2012-08-01 Marek Polacek <polacek@redhat.com>
31302 * libc/Makeconfig: Use elf in place of binfmt-subdir.
31303 Use dlfcn directly instead of a variable.
31304 (binfmt-subdir): Do not define.
31307 2012-08-01 Joseph Myers <joseph@codesourcery.com>
31309 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
31310 Remove all definitions.
31311 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
31312 <kernel-features.h>.
31313 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
31314 (miss_F_GETOWN_EX): Remove all definitions.
31315 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
31317 [!__ASSUME_FCNTL64]: Remove conditional code.
31318 [__ASSUME_FCNTL64]: Make code unconditional.
31319 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
31320 <kernel-features.h>.
31321 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
31322 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
31323 (lockf64) [__NR_fcntl64]: Make code unconditional.
31324 (lockf64) [__ASSUME_FCNTL64]: Likewise.
31326 * sysdeps/unix/sysv/linux/kernel-features.h
31327 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
31328 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
31329 Make code unconditional.
31330 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
31331 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
31332 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
31333 [__NR_vfork]: Make code unconditional.
31334 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
31335 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
31336 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
31337 [__NR_vfork]: Make code unconditional.
31338 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
31339 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
31341 2012-08-01 Roland McGrath <roland@hack.frob.com>
31343 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
31344 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
31346 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
31347 Define mkstemp64 as an alias.
31348 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
31349 Define mkstemps64 as an alias.
31350 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
31351 Define mkostemp64 as an alias.
31352 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
31353 Define mkostemps64 as an alias.
31354 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
31355 Conditionalize body on this.
31356 * misc/mkostemp64.c: Likewise.
31357 * misc/mkostemps64.c: Likewise.
31358 * misc/mkstemps64.c: Likewise.
31359 * sysdeps/wordsize-64/mkstemp64.c: File removed.
31360 * sysdeps/wordsize-64/mkostemp64.c: File removed.
31361 * sysdeps/wordsize-64/mkostemp.c: File removed.
31362 * sysdeps/wordsize-64/mkstemp.c: File removed.
31363 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
31364 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
31365 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
31366 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
31369 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
31370 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
31371 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
31372 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
31374 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
31375 compat_symbol macros from <shlib-compat.h> rather than the underlying
31376 default_symbol_version and symbol_version macros, so that DEFAULT
31377 lines in shlib-versions are respected.
31378 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
31380 2012-08-01 Florian Weimer <fweimer@redhat.com>
31382 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
31383 Declare with warn_unused_result.
31384 (setgid, setregid, setegid, setresgid): Likewise.
31385 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
31387 * WUR-REPORT: Remove set*id functions.
31389 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
31391 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
31393 2012-07-31 Roland McGrath <roland@hack.frob.com>
31396 * include/sys/socket.h (__libc_accept, __libc_accept4):
31397 Add attribute_hidden.
31398 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
31400 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
31402 * inet/getnetgrent_r.c (setup): Likewise.
31404 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
31406 2012-07-31 David S. Miller <davem@davemloft.net>
31408 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31410 2012-07-31 Joseph Myers <joseph@codesourcery.com>
31413 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
31414 value between 1.0 and 2.0 and smaller part has absolute value less
31416 * math/s_clog10.c (__clog10): Likewise.
31417 * math/s_clog10f.c (__clog10f): Likewise.
31418 * math/s_clog10l.c (__clog10l): Likewise.
31419 * math/s_clogf.c (__clogf): Likewise.
31420 * math/s_clogl.c (__clogl): Likewise.
31421 * math/libm-test.inc (clog_test): Add more tests.
31422 (clog10_test): Likewise.
31423 * sysdeps/i386/fpu/libm-test-ulps: Update.
31424 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31426 2012-07-31 Florian Weimer <fweimer@redhat.com>
31428 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
31429 Exit with zero in case no suitable GID is found, and write a
31430 message to standard error.
31432 2012-07-30 Roland McGrath <roland@hack.frob.com>
31434 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
31436 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
31437 (MAXPATHLEN): Removed.
31438 (NOGROUP, NODEV): New macros.
31439 (setbit, clrbit, isset, isclr): New macros.
31440 (howmany, roundup, powerof2): New macros.
31441 (DEV_BSIZE): New macro.
31443 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
31444 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
31446 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
31447 definition on [!__NO_LONG_DOUBLE_MATH].
31449 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
31450 PTR_MANGLE and PTR_DEMANGLE.
31452 * socket/accept4.c (accept4): Rename to __libc_accept4.
31453 Define accept4 as a weak alias.
31455 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
31456 on [_DIRENT_HAVE_D_TYPE].
31457 * io/ftw.c (ftw_dir): Likewise.
31459 * io/xmknod.c (__xmknod): Don't check PATH for being null.
31461 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
31463 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
31464 Use the BSD numbers rather than the arbitrary ones we had.
31465 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
31466 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
31467 (SIGXCPU, SIGXFSZ): New macros.
31470 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
31471 initializer on [_LIBC_REENTRANT].
31473 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
31474 definitions inside [_POSIX_MAPPED_FILES].
31476 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
31478 * dirent/opendir.c: Include <fcntl.h>.
31480 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
31481 (__libc_getspecific): Likewise.
31482 (__libc_key_create): Likewise.
31484 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
31485 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
31486 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
31487 (tmpfile64): Define as alias.
31488 * sysdeps/wordsize-64/tmpfile.c: File removed.
31489 * sysdeps/wordsize-64/tmpfile64.c: File removed.
31490 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
31491 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
31493 * stdio-common/vfscanf.c: Include <stdbool.h>.
31494 * nss/makedb.c: Likewise.
31495 * stdio-common/_i18n_number.h: Likewise.
31496 * argp/argp-help.c: Likewise.
31497 * posix/wordexp.c: Likewise.
31498 * sysdeps/posix/spawni.c: Likewise.
31499 * nss/nss_files/files-initgroups.c: Likewise.
31500 * stdio-common/reg-modifier.c: Include <stdlib.h>.
31501 * nss/nss_files/files-initgroups.c: Likewise.
31502 * nss/nss_db/db-netgrp.c: Likewise.
31503 * nss/nss_db/db-initgroups.c: Likewise.
31504 * io/fchmodat.c: Include <sys/stat.h>.
31506 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
31507 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
31509 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
31512 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
31513 Add multiple inclusion protection.
31515 2012-07-27 David S. Miller <davem@davemloft.net>
31517 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31519 2012-07-27 Gary Benson <gbenson@redhat.com>
31522 * elf/rtld.c: Include <stap-probe.h>.
31523 (dl_main): Added static probes "init_start" and "init_complete".
31524 * elf/dl-load.c: Include <stap-probe.h>.
31525 (lose): Take new parameter "nsid".
31526 Added static probe "map_failed".
31527 (_dl_map_object_from_fd): Pass namespace id to lose.
31528 Added static probe "map_start".
31529 (open_verify): Pass namespace id to lose.
31530 * elf/dl-open.c: Include <stap-probe.h>.
31531 (dl_open_worker) Added static probes "map_complete", "reloc_start"
31532 and "reloc_complete".
31533 * elf/dl-close.c: Include <stap-probe.h>.
31534 (_dl_close_worker): Added static probes "unmap_start" and
31536 * elf/rtld-debugger-interface.txt: New file documenting the above.
31538 2012-07-26 Roland McGrath <roland@hack.frob.com>
31540 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
31541 rather than a string variable.
31542 * sunrpc/rpc_main.c (h_output): Likewise.
31543 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
31545 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
31547 * inet/check_native.c: New file.
31549 2012-07-26 Joseph Myers <joseph@codesourcery.com>
31552 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
31553 if larger part has absolute value 1.0.
31554 * math/s_clog10.c (__clog10): Likewise.
31555 * math/s_clog10f.c (__clog10f): Likewise.
31556 * math/s_clog10l.c (__clog10l): Likewise.
31557 * math/s_clogf.c (__clogf): Likewise.
31558 * math/s_clogl.c (__clogl): Likewise.
31559 * math/libm-test.inc (clog_test): Add more tests.
31560 (clog10_test): Likewise.
31561 * sysdeps/i386/fpu/libm-test-ulps: Update.
31562 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31564 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
31565 (pltexit): Likewise.
31566 (La_regs): Likewise.
31567 (La_retval): Likewise.
31568 (int_retval): Likewise.
31569 Update #error for removed macros to refer only to definitions in
31571 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
31573 (pltexit): Likewise.
31574 (La_regs): Likewise.
31575 (La_retval): Likewise.
31576 (int_retval): Likewise.
31577 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
31579 (pltexit): Likewise.
31580 (La_regs): Likewise.
31581 (La_retval): Likewise.
31582 (int_retval): Likewise.
31583 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
31585 (pltexit): Likewise.
31586 (La_regs): Likewise.
31587 (La_retval): Likewise.
31588 (int_retval): Likewise.
31589 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
31591 (pltexit): Likewise.
31592 (La_regs): Likewise.
31593 (La_retval): Likewise.
31594 (int_retval): Likewise.
31595 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
31597 (pltexit): Likewise.
31598 (La_regs): Likewise.
31599 (La_retval): Likewise.
31600 (int_retval): Likewise.
31601 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
31603 (pltexit): Likewise.
31604 (La_regs): Likewise.
31605 (La_retval): Likewise.
31606 (int_retval): Likewise.
31607 * sysdeps/generic/tst-audit.h: Update comment to refer only to
31608 macro definitions in tst-audit.h.
31609 * sysdeps/i386/tst-audit.h: New file.
31610 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
31611 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
31612 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
31613 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
31614 * sysdeps/sh/tst-audit.h: Likewise.
31615 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
31616 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
31617 * sysdeps/x86_64/tst-audit.h: Likewise.
31619 2012-07-26 Andreas Jaeger <aj@suse.de>
31621 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
31624 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
31625 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
31626 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
31628 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
31629 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
31630 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
31632 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
31635 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
31637 (si_call_addr, si_syscall, si_arch): Define new macro.
31638 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
31640 (si_call_addr, si_syscall, si_arch): Define new marcro.
31641 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
31643 (si_call_addr, si_syscall, si_arch): Define new macro.
31644 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
31646 (si_call_addr, si_syscall, si_arch): Define new macro.
31648 2012-07-25 Joseph Myers <joseph@codesourcery.com>
31651 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
31652 Change to 2.4.21 where previously 2.4.1.
31653 * sysdeps/unix/sysv/linux/configure: Regenerated.
31654 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
31655 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
31656 Linux kernel version.
31657 (__ASSUME_STD_AUXV): Remove.
31658 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
31660 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
31661 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
31662 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
31663 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
31664 (__ASSUME_NETLINK_SUPPORT): Likewise.
31665 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
31666 (__no_netlink_support): Remove conditional definition.
31667 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
31669 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
31670 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
31671 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
31672 (if_nameindex_ioctl): Remove.
31673 (if_nameindex_netlink): Do not handle __no_netlink_support.
31674 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
31676 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
31677 Remove conditional code.
31678 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
31680 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
31682 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
31683 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
31684 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
31686 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
31687 [!__ASSUME_STD_AUXV]: Remove conditional code.
31688 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
31689 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
31690 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
31691 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
31692 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
31693 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
31695 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
31696 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
31697 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
31698 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
31700 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
31701 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
31702 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
31704 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
31705 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
31707 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
31708 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
31709 code unconditional.
31710 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31712 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
31714 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31716 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
31717 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
31719 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31721 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
31722 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
31723 code unconditional.
31724 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31726 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
31728 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31730 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
31731 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
31732 code unconditional.
31733 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31735 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
31737 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31740 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
31742 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
31743 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
31744 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
31745 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
31746 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
31747 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
31748 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
31749 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
31750 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
31751 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
31752 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
31753 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
31754 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
31755 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
31756 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
31757 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
31758 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
31759 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
31760 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
31761 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
31762 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
31763 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
31764 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
31766 2012-07-25 Florian Weimer <fweimer@redhat.com>
31768 * Versions.def: Add GLIBC_2.17.
31769 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
31770 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
31771 Introduce __libc_secure_getenv.
31772 * stdlib/Versions (2.17): Add secure_getenv
31773 (GLIBC_PRIVATE): Add __libc_secure_getenv.
31774 * stdlib/secure-getenv.c: Rename __secure_getenv to
31775 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
31776 symbol __secure_getenv for GLIBC_2.0.
31777 * stdlib/tst-secure-getenv.c: New.
31778 * stdlib/Makefile (tests): Add testcase.
31779 * manual/startup.texi (Environment Access): Document
31781 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
31782 __libc_secure_getenv.
31783 * inet/ruserpass.c (ruserpass): Likewise.
31784 * malloc/mtrace.c (mtrace): Likewise.
31785 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
31786 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
31787 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
31788 * sysdeps/posix/tempname.c: Likewise. Evaluate
31789 HAVE_SECURE_GETENV.
31790 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
31791 __secure_getenv to __libc_secure_getenv.
31792 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
31793 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31795 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
31797 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
31798 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
31799 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
31800 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
31801 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
31802 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
31803 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
31805 2012-07-25 Joseph Myers <joseph@codesourcery.com>
31807 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
31808 (struct La_i86_retval): Likewise.
31809 (struct La_x86_64_regs): Likewise.
31810 (struct La_x86_64_retval): Likewise.
31811 (struct La_x32_regs): Likewise.
31812 (struct La_x32_retval): Likewise.
31813 (struct La_ppc32_regs): Likewise.
31814 (struct La_ppc32_retval): Likewise.
31815 (struct La_ppc64_regs): Likewise.
31816 (struct La_ppc64_retval): Likewise.
31817 (struct La_sh_regs): Likewise.
31818 (struct La_sh_retval): Likewise.
31819 (struct La_s390_32_regs): Likewise.
31820 (struct La_s390_32_retval): Likewise.
31821 (struct La_s390_64_regs): Likewise.
31822 (struct La_s390_64_retval): Likewise.
31823 (struct La_sparc32_regs): Likewise.
31824 (struct La_sparc32_retval): Likewise.
31825 (struct La_sparc64_regs): Likewise.
31826 (struct La_sparc64_retval): Likewise.
31827 (struct audit_ifaces): Remove architecture-specific pltenter and
31829 * sysdeps/i386/ldsodefs.h: New file.
31830 * sysdeps/powerpc/ldsodefs.h: Likewise.
31831 * sysdeps/s390/ldsodefs.h: Likewise.
31832 * sysdeps/sh/ldsodefs.h: Likewise.
31833 * sysdeps/sparc/ldsodefs.h: Likewise.
31834 * sysdeps/x86_64/ldsodefs.h: Likewise.
31836 2012-07-25 Marek Polacek <polacek@redhat.com>
31839 * math/libm-test.inc (yn_test): Add another test.
31840 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
31841 to ERANGE when the result is +-Inf.
31842 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
31843 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
31844 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
31845 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
31847 2012-07-24 Joseph Myers <joseph@codesourcery.com>
31849 * conform/data/time.h-data (NULL): Use macro-constant. Require
31851 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
31853 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
31855 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
31857 * configure.in <sysdeps resolving>: Correct printing
31859 * configure: Regenerate.
31861 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
31863 * math/w_ilogb.c: Include <limits.h>.
31864 * math/w_ilogbl.c: Likewise.
31866 2012-07-20 Joseph Myers <joseph@codesourcery.com>
31868 * manual/lang.texi (__va_copy): Document primarily as ISO C99
31869 va_copy. Document allowing for unavailable va_copy only as
31870 pre-C99 compatibility.
31871 * manual/string.texi (Copying and Concatenation): Use va_copy
31872 instead of __va_copy in concat example.
31874 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
31876 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
31877 (__sendto): Use create_address_port. Initialize APORT and deallocate
31880 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
31881 with O_NOLINK passed to __file_name_lookup.
31883 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
31884 with O_NOLINK passed to __file_name_lookup.
31886 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
31887 negative N or less than NGIDS.
31889 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
31890 type to string_t. Set ERANGE as errno and return it if NAME is not big
31891 enough. Use memcpy instead of strncpy.
31893 2012-07-20 Joseph Myers <joseph@codesourcery.com>
31895 * elf/Makefile (check-data): Remove.
31896 (localplt.data): New vpath directive.
31897 ($(objpfx)check-localplt.out): Use localplt.data from vpath
31898 instead of $(check-data).
31899 * scripts/data/localplt-generic.data: Move to ...
31900 * sysdeps/generic/localplt.data: ... here.
31901 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
31902 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
31903 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
31904 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
31906 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
31907 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
31909 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
31910 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
31912 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
31913 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
31915 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
31916 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
31918 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
31919 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
31922 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31924 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
31925 PPC32 and PPC64 files.
31926 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
31927 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
31929 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31931 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
31932 __makecontext_ret to ...
31933 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
31934 ... here and call exit if uc_link is NULL. New file.
31935 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
31936 __makecontext_ret.S.
31937 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
31938 __makecontext_ret to ...
31939 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
31940 ... here and call exit if uc_link is NULL. New file.
31941 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
31942 __makecontext_ret.S.
31944 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31946 * elf/elf.h (R_390_IRELATIVE): New definition.
31947 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
31948 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
31949 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
31950 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
31951 (elf_machine_lazy_rel): Likewise.
31952 * sysdeps/s390/dl-irel.h: New file.
31953 * sysdeps/s390/s390-64/memcpy.S: New asm code.
31954 * sysdeps/s390/s390-64/memset.S: New asm code.
31955 * sysdeps/s390/s390-64/memcmp.S: New asm code.
31956 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
31957 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
31958 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
31959 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
31960 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
31961 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
31962 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
31963 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
31964 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
31965 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
31966 * sysdeps/s390/s390-32/memcpy.S: New asm code.
31967 * sysdeps/s390/s390-32/memset.S: New asm code.
31968 * sysdeps/s390/s390-32/memcmp.S: New asm code.
31970 2012-07-17 Marek Polacek <polacek@redhat.com>
31973 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
31974 * sysdeps/s390/s390-64/configure.in: Likewise.
31975 * sysdeps/sparc/configure.in: Likewise.
31976 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
31977 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
31978 * sysdeps/i386/configure.in: Likewise.
31979 * sysdeps/x86_64/configure.in: Likewise.
31980 * sysdeps/sh/configure.in: Likewise.
31981 * sysdeps/s390/s390-32/configure: Regenerated.
31982 * sysdeps/s390/s390-64/configure: Likewise.
31983 * sysdeps/x86_64/configure: Likewise.
31984 * sysdeps/sh/configure: Likewise.
31985 * sysdeps/powerpc/powerpc64/configure: Likewise.
31986 * sysdeps/powerpc/powerpc32/configure: Likewise.
31987 * sysdeps/sparc/configure: Likwise.
31988 * sysdeps/i386/configure: Likewise.
31990 * elf/dl-open.c: Comment fixes.
31992 2012-07-17 Joseph Myers <joseph@codesourcery.com>
31994 * Makefile [CXX] (check-data): Remove.
31995 [CXX] (c++-types.data): New vpath directive.
31996 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
31997 vpath. Do not allow for C++ type data being missing.
31998 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
31999 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
32000 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
32001 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
32002 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
32003 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
32004 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
32005 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
32007 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
32008 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
32010 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
32011 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
32013 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
32014 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
32016 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
32017 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
32019 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
32020 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
32022 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
32023 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
32025 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
32026 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
32028 * elf/tls-macros.h (TLS_LE): Move architecture-specific
32029 definitions to architecture-specific files.
32030 (TLS_IE): Likewise.
32031 (TLS_LD): Likewise.
32032 (TLS_GD): Likewise.
32033 * sysdeps/i386/tls-macros.h: New file.
32034 * sysdeps/powerpc/tls-macros.h: Likewise.
32035 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
32036 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
32037 * sysdeps/sh/tls-macros.h: Likewise.
32038 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
32039 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
32040 * sysdeps/x86_64/tls-macros.h: Likewise.
32042 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
32044 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
32045 zero value for regular exit case.
32047 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
32048 (__start_context): Preserve zero value for regular exit case.
32050 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
32051 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32053 * manual/setjmp.texi (setcontext): Clarify normal process
32054 termination when uc_link is the null pointer.
32055 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
32058 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
32060 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
32061 preprocessor. Test for each exception mask separately.
32063 2012-07-16 Andreas Jaeger <aj@suse.de>
32065 * po/ru.po: Update from translation team.
32067 2012-07-15 Joseph Myers <joseph@codesourcery.com>
32069 * conform/data/string.h-data (NULL): Use macro-constant. Require
32071 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
32072 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
32073 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
32074 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
32075 [ISO || ISO99 || ISO11] (*_t): Do not allow.
32077 2012-07-13 Andreas Jaeger <aj@suse.de>
32079 * po/fr.po: Update from translation team.
32081 2012-07-12 Marek Polacek <polacek@redhat.com>
32084 * math/libm-test.inc (yn_test): Add test for BZ #14173.
32085 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
32088 2012-07-12 Joseph Myers <joseph@codesourcery.com>
32091 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
32092 Change to 2.4.1 where previously 2.4.0.
32093 * sysdeps/unix/sysv/linux/configure: Regenerated.
32094 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
32095 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
32097 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
32098 (__ASSUME_AT_CLKTCK): Remove.
32099 (__ASSUME_AT_PAGESIZE): Likewise.
32100 (__ASSUME_AT_XID): Likewise.
32101 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
32102 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
32103 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
32105 (HAVE_AUX_PAGESIZE): Likewise.
32106 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
32107 [__ASSUME_AT_CLKTCK]: Make code unconditional.
32108 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
32110 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
32113 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
32114 the temporary buffer used to invoke __gethostbyname2_r,
32115 __gethostbyaddr_r and gethostbyname4_r to make room for struct
32116 host_data / struct gaih_addrtuple.
32117 * resolv/nss_dns/dns-host.c (global scope): Move definition of
32118 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
32119 header file nss/nsswitch.h.
32120 * nss/nsswitch.h (global scope): Add definition of implementation
32121 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
32122 resolv/nss_dns/dns-host.c).
32124 2012-07-11 Andreas Jaeger <aj@suse.de>
32126 * po/fr.po: Update from translation team.
32128 * po/sv.po: Update from translation team
32129 * po/fr.po: Another update from translation team.
32131 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32133 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
32134 for subnormals or multiply small sinh result by itself.
32135 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
32136 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32138 2012-07-11 David S. Miller <davem@davemloft.net>
32140 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32142 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
32145 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
32146 (INTERNAL_MARK): Shift it here.
32148 2012-07-10 Marek Polacek <polacek@redhat.com>
32151 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
32152 libc_cv_asm_global_directive with .globl.
32153 * configure: Regenerated.
32154 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
32156 * sysdeps/i386/configure: Regenerated.
32157 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
32159 * sysdeps/x86_64/configure: Regenerated.
32160 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
32161 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
32162 * elf/tst-unique2mod2.c: Likewise.
32163 * elf/tst-unique2mod1.c: Likewise.
32164 * elf/tst-unique1mod2.c: Likewise.
32165 * elf/tst-unique1mod1.c: Likewise.
32166 * sysdeps/s390/s390-32/sysdep.h: Likewise.
32167 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
32168 * sysdeps/s390/s390-64/sysdep.h: Likewise.
32169 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
32170 * sysdeps/mach/sysdep.h: Likewise.
32171 * sysdeps/i386/sysdep.h: Likewise.
32172 * sysdeps/i386/i386-mcount.S: Likewise.
32173 * sysdeps/x86_64/_mcount.S: Likewise.
32174 * sysdeps/x86_64/sysdep.h: Likewise.
32175 * sysdeps/sh/_mcount.S: Likewise.
32176 * sysdeps/sh/sysdep.h: Likewise.
32177 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
32178 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
32179 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
32180 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
32181 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
32182 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
32183 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
32184 * locale/localeinfo.h: Likewise.
32185 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
32186 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
32188 2012-07-09 Roland McGrath <roland@hack.frob.com>
32191 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
32193 * manual/message.texi (The Uniforum approach): Likewise.
32194 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
32195 (glibc iconv Implementation): Likewise.
32197 2012-07-09 Joseph Myers <joseph@codesourcery.com>
32200 * math/s_clog.c (__clog): Avoid scaling a value down where that
32201 could result in underflow.
32202 * math/s_clog10.c (__clog10): Likewise.
32203 * math/s_clog10f.c (__clog10f): Likewise.
32204 * math/s_clog10l.c (__clog10l): Likewise.
32205 * math/s_clogf.c (__clogf): Likewise.
32206 * math/s_clogl.c (__clogl): Likewise.
32207 * math/libm-test.inc (clog_test): Add more tests.
32208 (clog10_test): Likewise.
32209 * sysdeps/i386/fpu/libm-test-ulps: Update.
32210 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32212 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
32215 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
32216 by 7 not 8 to examine high bit of fractional part.
32219 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
32220 for call to __mcount_internal.
32221 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
32222 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
32223 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
32225 2012-07-06 Joseph Myers <joseph@codesourcery.com>
32228 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
32229 approximation for values within 0x1p-13f of an odd multiple of
32231 * math/libm-test.inc (tan_test): Do not allow spurious underflow
32232 exception. Add more tests.
32233 * sysdeps/i386/fpu/libm-test-ulps: Update.
32236 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
32237 inputs and return -1 for them. Do not check for +Inf in case not
32238 reachable for +Inf.
32239 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
32240 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
32241 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
32242 and return -1 for them. Do not check for +Inf in case not
32243 reachable for +Inf.
32244 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
32246 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
32247 and return -1 for them. Do not check for +Inf in case not
32248 reachable for +Inf.
32249 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
32250 spurious underflow.
32251 * sysdeps/i386/fpu/libm-test-ulps: Update.
32252 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32254 2012-07-06 Mike Frysinger <vapier@gentoo.org>
32256 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
32258 2012-07-05 Joseph Myers <joseph@codesourcery.com>
32262 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
32263 could result in spurious underflow. Scale down values above
32264 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
32265 * math/s_csqrtf.c (__csqrtf): Likewise.
32266 * math/s_csqrtl.c (__csqrtl): Likewise.
32267 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
32268 spurious underflow.
32269 * sysdeps/i386/fpu/libm-test-ulps: Update.
32270 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32272 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
32274 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
32276 * catgets/xopen-msg.awk: New file.
32277 * catgets/xopen-msg.sed: Removed.
32279 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
32281 * intl/po2test.awk: New file.
32282 * intl/po2test.sed: Removed.
32284 2012-07-04 Joseph Myers <joseph@codesourcery.com>
32287 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
32288 or multiply small sinh result by itself.
32289 * math/s_ctanf.c (__ctanf): Likewise.
32290 * math/s_ctanh.c (__ctanh): Likewise.
32291 * math/s_ctanhf.c (__ctanhf): Likewise.
32292 * math/s_ctanhl.c (__ctanhl): Likewise.
32293 * math/s_ctanl.c (__ctanl): Likewise.
32294 * math/libm-test.inc (ctan_test_tonearest): New function.
32295 (ctan_test_towardzero): Likewise.
32296 (ctan_test_downward): Likewise.
32297 (ctan_test_upward): Likewise.
32298 (ctanh_test_tonearest): Likewise.
32299 (ctanh_test_towardzero): Likewise.
32300 (ctanh_test_downward): Likewise.
32301 (ctanh_test_upward): Likewise.
32302 (main): Call these new functions.
32303 * sysdeps/i386/fpu/libm-test-ulps: Update.
32304 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32306 2012-07-03 Mike Frysinger <vapier@gentoo.org>
32308 * .gitignore: Delete /ports entry.
32310 2012-07-03 Andreas Jaeger <aj@suse.de>
32312 * po/bg.po: Update from translation team.
32313 * po/cs.po: Likewise.
32314 * po/de.po: Likewise.
32315 * po/hr.po: Likewise.
32316 * po/nl.pl: Likewise.
32317 * po/pl.po: Likewise.
32318 * po/vi.po: Likewise.
32320 2012-07-03 Joseph Myers <joseph@codesourcery.com>
32322 * Makeconfig [!+link] (+link-before-libc): New variable.
32323 [!+link] (+link-after-libc): Likewise.
32324 [!+link] (+link-tests): Likewise.
32325 [!+link] (+link): Define in terms of $(+link-before-libc) and
32326 $(+link-after-libc).
32327 [!+link-static] (+link-static-before-libc): New variable.
32328 [!+link-static] (+link-static-after-libc): Likewise.
32329 [!+link-static] (+link-static-tests): Likewise.
32330 [!+link-static] (+link-static): Define in terms of
32331 $(+link-static-before-libc) and $(+link-static-after-libc).
32332 [build-shared] (link-libc-before-gnulib): New variable.
32333 [build-shared] (link-libc-tests): Likewise.
32334 [build-shared] (link-libc): Define in terms of
32335 $(link-libc-before-gnulib).
32336 [!build-shared] (link-libc-tests): New variable.
32337 (link-libc-static-tests): New variable.
32338 [!gnulib] (gnulib-arch): New variable.
32339 [!gnulib] (gnulib-tests): Likewise.
32340 [!gnulib] (static-gnulib-arch): Likewise.
32341 [!gnulib] (static-gnulib-tests): Likewise.
32342 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
32343 Define with "=" instead of ":=".
32344 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
32345 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
32346 * Rules (binaries-all-notests): New variable.
32347 (binaries-all-tests): Likewise.
32348 (binaries-static-notests): Likewise.
32349 (binaries-static-tests): Likewise.
32350 (binaries-all): Define using $(binaries-all-notests) and
32351 $(binaries-all-tests).
32352 (binaries-static): Define using $(binaries-static-notests) and
32353 $(binaries-static-tests).
32354 (binaries-shared-tests): New variable.
32355 (binaries-shared-notests): Likewise.
32356 (binaries-shared): Remove variable.
32357 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
32358 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
32359 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
32360 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
32361 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
32362 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
32363 * elf/Makefile (sln-modules): New variable.
32364 (extra-objs): Add $(sln-modules:=.o).
32365 (ldconfig-modules): Add static-stubs.
32366 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
32367 * elf/static-stubs.c: New file.
32370 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
32371 by 7 not 8 to examine high bit of fractional part. Use volatile
32372 variables when splitting into final array of floats if
32373 __FLT_EVAL_METHOD__ != 0.
32374 * math/libm-test.inc (cos_test): Add another test.
32375 (sin_test): Likewise.
32376 * sysdeps/i386/fpu/libm-test-ulps: Update.
32379 * math/libm-test.inc (cosh_test): Add more tests.
32381 * version.h (RELEASE): Set to "development".
32382 (VERSION): Set to "2.16.90".
32384 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
32386 * NEWS: Update copyright. Remove last-updated date.
32387 Mention math library bug fixes and timezone data changes.
32388 * README: Mention GNU/Hurd, x32, and HPPA support status.
32390 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
32392 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
32394 2012-06-27 Andreas Jaeger <aj@suse.de>
32396 * manual/contrib.texi (Contributors): Add Samuel Thibault.
32398 2012-06-25 Andreas Jaeger <aj@suse.de>
32400 * sysdeps/s390/fpu/libm-test-ulps: Update.
32402 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
32403 Thomas Schwinge <thomas@codesourcery.com>
32405 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
32406 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
32407 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
32410 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
32412 * sysdeps/mach/start.c: Remove file.
32413 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
32414 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
32415 * sysdeps/sh/init-first.c: Likewise.
32417 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
32418 registers for frame unwinding purposes, add CFI directives.
32419 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
32420 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
32421 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
32424 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
32425 __fortify_fail returning.
32426 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
32428 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
32429 sysdeps/sh/____longjmp_chk.S.
32430 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
32431 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
32432 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
32433 (gen-as-const-headers): Append sigaltstack-offsets.sym.
32435 * sysdeps/sh/abort-instr.h: New file.
32436 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
32437 process in case exit returns.
32439 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
32440 initialize the GOT register before use.
32442 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
32443 calculation of ARGC > 4.
32445 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
32446 meaningful names to some local labels.
32448 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
32449 Kaz Kojima <kkojima@rr.iij4u.or.jp>
32451 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
32452 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
32453 (__arch_compare_and_exchange_val_16_acq): Likewise.
32454 (__arch_compare_and_exchange_val_32_acq): Likewise.
32455 (atomic_exchange_and_add): Fix gUSA sequence.
32456 (atomic_add): Likewise.
32457 (atomic_add_negative): Likewise.
32458 (atomic_add_zero): Likewise.
32459 (atomic_bit_test_set): Likewise.
32461 2012-06-22 Andreas Schwab <schwab@redhat.com>
32464 * include/link.h (struct link_map): Add l_free_initfini.
32465 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
32467 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
32468 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
32469 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
32472 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
32474 * configure.in: Use AC_LANG_SOURCE.
32475 * configure: Regenerate.
32477 2012-06-22 Roland McGrath <roland@hack.frob.com>
32479 * configure.in (libc_cv_localstatedir): New substituted variable.
32480 * configure: Regenerated.
32481 * config.make.in (localstatedir): New variable, substituted from
32482 libc_cv_localstatedir.
32483 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
32484 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
32485 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
32486 * sysdeps/gnu/configure: Regenerated.
32488 2012-06-21 Jeff Law <law@redhat.com>
32491 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
32492 free. Simplify list management for _LIBC case.
32494 2012-06-21 Joseph Myers <joseph@codesourcery.com>
32497 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
32498 Clear sign bit of 64-bit integer value before comparing against
32501 * sysdeps/mach/configure: Regenerated.
32503 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
32506 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
32508 2012-06-21 Jeff Law <law@redhat.com>
32511 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
32512 uint16_t for elements in the "seen" array to avoid char overflows.
32513 * elf/dl-fini.c (_dl_sort_fini): Likewise.
32514 * elf/dl-open.c (dl_open_worker): Likewise.
32516 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
32518 * scripts/list-sources.sh: Scan PORTS for translations.
32519 * po/libc.pot: Regenerated.
32521 2012-06-21 Andreas Jaeger <aj@suse.de>
32524 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
32526 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
32527 * bits/byteswap-16.h (__bswap_16): Likewise.
32528 * bits/byteswap.h (__bswap_constant_16): Likewise.
32530 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
32533 * sysdeps/i386/fpu_control.h: Removed.
32534 * sysdeps/x86_64/fpu_control.h: Moved to ...
32535 * sysdeps/x86/fpu_control.h: Here.
32537 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
32538 (_FPU_SETCW): Likewise.
32540 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
32543 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
32544 * sysdeps/x86/fpu/bits/mathinline.h: This.
32545 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
32549 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
32550 functions if __x86_64__ is defined.
32552 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
32554 * string/endian.h: Add !__ASSEMBLER__ condition for including
32555 conversion interfaces.
32557 2012-06-15 Joseph Myers <joseph@codesourcery.com>
32560 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
32561 of ABS(x) in calculating zero to negative powers other than odd
32563 * math/libm-test.inc (pow_test): Add more tests.
32565 2012-06-15 Andreas Jaeger <aj@suse.de>
32567 * manual/contrib.texi (Contributors): Update entry of Liubov
32568 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
32571 2012-06-15 Cyril Hrubis <metan@ucw.cz>
32573 * string/string.h: Add __wur to GNU version of strerror_r.
32575 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
32578 * string/Makefile (tests): Add tst-strtok_r.
32579 * string/tst-strtok_r.c: New file.
32580 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
32581 RAX_LP/RDX_LP on SAVE_PTR.
32583 2012-06-14 Roland McGrath <roland@hack.frob.com>
32585 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
32587 2012-06-14 Joseph Myers <joseph@codesourcery.com>
32589 * libm_test.inc (csqrt_test): Allow more spurious underflow
32591 (j0_test): Likewise.
32592 (j1_test): Likewise.
32593 (y0_test): Likewise.
32594 (y1_test): Likewise.
32596 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
32598 * po/Makefile (libc.pot): Use UTF-8 charset.
32600 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
32603 Suppress sign-conversion warning from FD_SET.
32604 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
32605 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
32606 not unsigned long int.
32607 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
32609 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
32613 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
32614 __extern_always_inline instead of __extern_inline.
32615 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
32616 (__signbit): Likewise.
32617 (__signbitl): Support C++ namespace.
32618 (lrintf): New inline function.
32620 (llrintf): Likewise.
32621 (llrint): Likewise.
32631 (floorf): Likewise.
32632 (nearbyint): Likewise.
32633 (nearbyintf): Likewise.
32635 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
32637 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
32638 non-default versions.
32640 2012-06-11 Roland McGrath <roland@hack.frob.com>
32643 * manual/argp.texi (Argp): Reword argp_parse description slightly.
32645 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
32647 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
32648 (FE_UPWARD, FE_DOWNWARD): Don't define.
32649 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
32650 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
32652 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
32654 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
32655 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
32657 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
32659 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
32660 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
32661 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
32662 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
32664 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
32667 * sysdeps/i386/fpu/bits/fenv.h: Removed.
32668 * sysdeps/i386/fpu/Implies: New file.
32669 * sysdeps/x86_64/fpu/Implies: Likewise.
32670 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
32671 * sysdeps/x86/fpu/bits/fenv.h: This.
32673 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
32676 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
32679 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
32680 character 0xffff that matches the last element of the
32683 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32685 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
32688 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32690 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
32691 values higher than 25.6283.
32693 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32695 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
32696 subnormal exponent extraction and add some __builtin_expect.
32697 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
32698 Fix for subnormal mantissa calculation.
32700 2012-06-04 Mike Frysinger <vapier@gentoo.org>
32702 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
32703 cpu2 is -1 and errno is not ENOSYS.
32705 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
32708 * sysdeps/i386/i486/bits/string.h: Renamed to ...
32709 * sysdeps/x86/bits/string.h: This.
32710 * sysdeps/x86_64/bits/string.h: Removed.
32712 * sysdeps/i386/i486/bits/string.h: Define inline functions only
32713 if not compiling for x86-64, but compiling for >= i486.
32715 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
32716 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
32718 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
32719 New macro from Linux kernel 3.4.0.
32720 (FP_XSTATE_MAGIC2): Likewise.
32721 (FP_XSTATE_MAGIC2_SIZE): Likewise.
32722 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
32723 (struct _fpx_sw_bytes): New struct.
32724 (struct _xsave_hdr): Likewise.
32725 (struct _ymmh_state): Likewise.
32726 (struct _xstate): Likewise.
32728 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
32729 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
32730 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
32731 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
32732 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
32733 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
32735 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
32736 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
32737 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
32738 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
32739 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
32740 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
32742 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32745 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
32746 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
32747 (sysdep_headers): Include sys/platform/ppc.h.
32748 * sysdeps/powerpc/test-gettimebase.c: Test for
32749 __ppc_get_timebase() to catch future ISA opcode/insn changes.
32750 * manual/Makefile (appendices): Include platform.texi.
32751 * manual/contrib.texi (Contributors): Update @node pointers.
32752 * manual/maint.texi (Maintenance): Likewise.
32753 (Platform): New node.
32754 * manual/platform.texi: New file. Document the new features.
32756 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
32757 Jakub Jelinek <jakub@redhat.com>
32760 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
32761 where __builtin_expect is unavailable.
32763 2012-06-03 David S. Miller <davem@davemloft.net>
32765 * stdlib/longlong.h: Updated from GCC.
32767 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
32770 * sysdeps/powerpc/powerpc32/mcount.c: New file.
32771 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
32773 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
32774 (GLIBC_2.16): Likewise.
32776 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
32778 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
32780 2012-06-01 Joseph Myers <joseph@codesourcery.com>
32782 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
32783 (default-abi): New variable.
32784 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
32785 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
32787 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
32789 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
32791 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
32794 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
32795 definition. Document in comment.
32797 2012-06-01 David S. Miller <davem@davemloft.net>
32799 * stdlib/longlong.h: Updated from GCC.
32801 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
32804 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
32805 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
32806 sys/debugreg.h sys/io.h here.
32807 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
32808 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
32810 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
32811 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
32812 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
32813 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
32814 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
32815 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
32817 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
32818 Define only if __x86_64__ is defined.
32820 2012-06-01 Joseph Myers <joseph@codesourcery.com>
32823 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
32824 Use int64_t for variable i.
32825 * math/libm-test.inc (fmod_test): Add more tests.
32827 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
32828 z computation is not scheduled after fetestexcept.
32829 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
32830 Use math_force_eval instead of asm to ensure calculation scheduled
32831 before exception test.
32832 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
32833 Ensure a1 + u.d computation is not scheduled after fetestexcept.
32835 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
32837 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
32838 computation is not scheduled after fetestexcept.
32840 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
32843 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
32844 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
32846 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32848 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
32849 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
32851 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
32854 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
32856 (__WCHAR_MIN): Support __WORDSIZE == 64.
32857 (__WCHAR_MAX): Likewise.
32859 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
32860 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
32863 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
32864 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
32867 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
32868 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
32870 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
32871 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
32873 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
32874 Defined to 1 if __x86_64__ isn't defined.
32875 (_STAT_VER_LINUX_OLD): New.
32876 (st_atime): Remove duplicate.
32877 (st_mtime): Likewise.
32878 (st_ctime): Likewise.
32880 2012-05-31 David S. Miller <davem@davemloft.net>
32882 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
32885 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
32887 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
32891 * elf/dl-reloc.c: Include <_itoa.h>.
32892 (_dl_reloc_bad_type): Remove use of INTUSE.
32893 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
32894 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
32895 * stdio-common/psiginfo.c (psiginfo): Likewise.
32896 * stdio-common/psignal.c (psignal): Likewise.
32897 * string/strsignal.c (strsignal): Likewise.
32898 * include/signal.h (_sys_siglist): Declare hidden proto.
32899 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
32900 INTVARDEF with libc_hidden_data_def.
32901 * stdio-common/itoa-udigits.c: Likewise.
32902 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
32903 (_itoa_lower_digits_internal): Remove declaration.
32904 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
32905 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
32906 (_sys_sigabbrev_internal): Remove aliases.
32907 (_sys_siglist): Define hidden alias.
32909 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
32911 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32914 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
32917 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
32918 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
32920 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
32921 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
32922 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
32923 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
32924 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
32925 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
32927 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
32928 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
32929 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
32931 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
32939 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
32940 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
32941 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
32943 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
32944 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
32945 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
32946 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
32947 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
32948 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
32950 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
32951 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
32953 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
32954 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
32956 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
32957 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
32958 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
32960 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
32961 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
32963 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
32965 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
32966 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
32967 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
32969 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
32971 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
32973 2012-05-31 Joseph Myers <joseph@codesourcery.com>
32975 * math/math.h (M_El): Use two more decimal places.
32976 (M_LOG2El): Likewise.
32977 (M_LOG10El): Likewise.
32978 (M_LN2l): Likewise.
32979 (M_LN10l): Likewise.
32981 (M_PI_2l): Likewise.
32982 (M_PI_4l): Likewise.
32983 (M_1_PIl): Likewise.
32984 (M_2_PIl): Likewise.
32985 (M_2_SQRTPIl): Likewise.
32986 (M_SQRT2l): Likewise.
32987 (M_SQRT1_2l): Likewise.
32989 2012-05-31 David S. Miller <davem@davemloft.net>
32991 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
32992 values between float registers.
32993 * sysdeps/sparc/sparc64/memset.S: Likewise.
32994 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
32996 2012-05-31 Mike Frysinger <vapier@gentoo.org>
32998 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
32999 -D_FORTIFY_SOURCE=1.
33000 (CPPFLAGS-tst-longjmp_chk.c): Define.
33001 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
33002 (CPPFLAGS-tst-longjmp_chk2.c): Define.
33003 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
33004 CFLAGS-tst-wchar-h.c.
33006 2012-05-31 Marek Polacek <polacek@redhat.com>
33009 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
33010 __endmntent_internal): Remove declaration.
33011 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
33012 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
33013 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
33015 2012-05-30 David S. Miller <davem@davemloft.net>
33017 * sysdeps/sparc/sparc32/soft-fp/q_util.c
33018 (___Q_simulate_exceptions): Use real FP ops rather than writing
33020 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
33023 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
33026 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
33027 * sysdeps/x86/bits/xtitypes.h: This.
33029 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
33030 * sysdeps/x86/bits/wordsize.h: This.
33032 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
33033 * sysdeps/x86/bits/huge_vall.h: This.
33035 * sysdeps/i386/bits/select.h: Removed.
33036 * sysdeps/x86_64/bits/select.h: Renamed to ...
33037 * sysdeps/x86/bits/select.h: This.
33039 * sysdeps/i386/bits/setjmp.h: Removed.
33040 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
33041 * sysdeps/x86/bits/setjmp.h: This.
33043 * sysdeps/i386/bits/mathdef.h: Removed.
33044 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
33045 * sysdeps/x86/bits/mathdef.h: This.
33047 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
33050 * include/sys/socket.h (__connect_internal)
33051 (__libc_sa_len_internal): Remove declaration.
33052 (__connect, __libc_sa_len): Declare hidden_proto.
33053 (SA_LEN): Remove use of INTUSE.
33054 * socket/connect.c: Add libc_hidden_def.
33055 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
33056 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
33057 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
33059 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
33060 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
33061 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
33062 of adding _internal alias.
33064 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
33067 * sysdeps/i386/bits/link.h: Removed.
33068 * sysdeps/i386/bits/linkmap.h: Likewise.
33069 * sysdeps/x86_64/bits/link.h: Renamed to ...
33070 * sysdeps/x86/bits/link.h: This.
33071 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
33072 * sysdeps/x86/bits/linkmap.h: This.
33074 * sysdeps/i386/bits/endian.h: Removed.
33075 * sysdeps/x86_64/bits/endian.h: Renamed to ...
33076 * sysdeps/x86/bits/endian.h: This.
33078 * sysdeps/i386/bits/byteswap.h: Removed.
33079 * sysdeps/i386/bits/byteswap-16.h: Likewise.
33080 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
33081 * sysdeps/x86/bits/byteswap.h: This.
33082 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
33083 * sysdeps/x86/bits/byteswap-16.h: This.
33084 * sysdeps/i386/Implies: Add x86.
33085 * sysdeps/x86_64/Implies: Likewise.
33087 2012-05-30 David S. Miller <davem@davemloft.net>
33089 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
33090 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
33091 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
33092 (FP_TRAPPING_EXCEPTIONS): Define.
33093 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
33094 (FP_TRAPPING_EXCEPTIONS): Define.
33095 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
33096 subnormals only when inexact has been signalled or underflow
33097 exceptions are enabled.
33098 (_FP_PACK_CANONICAL): Likewise.
33100 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
33103 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
33104 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
33106 2012-05-30 Richard Henderson <rth@twiddle.net>
33108 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
33109 with #ifndef NOT_IN_libc.
33111 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
33112 marked to avoid plt entry.
33114 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
33117 * Makeconfig (default-abi): New macro.
33118 (abi-includes): Likewise.
33119 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
33120 $(abi-$(default-abi)-lib-soname) for soname if defined.
33121 ($(common-objpfx)gnu/lib-names.stmp): Generate from
33123 * Makefile (installed-stubs): Likewise.
33124 * include/stubs-biarch.h: Removed.
33125 * scripts/lib-names.awk: Only handle one library at a time.
33126 * scripts/soversions.awk: Remove WORDSIZE support.
33127 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
33129 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
33131 (syscall-list-default-condition): Likewise.
33132 (syscall-list-default-condition): Likewise.
33133 (syscall-list-includes): Likewise.
33134 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
33135 syscall-list-* with abi-*. Handle undefined abi-variants.
33136 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
33137 * sysdeps/unix/sysv/linux/i386/Implies: New file.
33138 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
33139 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
33140 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
33141 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
33143 (syscall-list-32-options): Likewise.
33144 (syscall-list-32-condition): Likewise.
33145 (syscall-list-64-options): Likewise.
33146 (syscall-list-64-condition): Likewise.
33147 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
33149 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
33152 (abi-64-ld-soname): New macro.
33153 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
33154 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
33157 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
33158 * sysdeps/x86_64/x32/shlib-versions: Likewise.
33160 2012-05-30 Joseph Myers <joseph@codesourcery.com>
33162 * sysdeps/unix/sysv/linux/kernel-features.h
33163 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
33164 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
33165 include <kernel-features.h>.
33166 [!__NR_ftruncate64]: Remove conditional code.
33167 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33168 [__NR_ftruncate64]: Make code unconditional.
33169 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33170 * sysdeps/unix/sysv/linux/truncate64.c: Do not
33171 include <kernel-features.h>.
33172 [!__NR_ftruncate64]: Remove conditional code.
33173 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33174 [__NR_ftruncate64]: Make code unconditional.
33175 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33176 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
33177 include <kernel-features.h>.
33178 [!__NR_ftruncate64]: Remove conditional code.
33179 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33180 [__NR_ftruncate64]: Make code unconditional.
33181 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33182 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
33183 include <kernel-features.h>.
33184 [!__NR_ftruncate64]: Remove conditional code.
33185 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33186 [__NR_ftruncate64]: Make code unconditional.
33187 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33189 * configure.in (libc_cv_fpie): Weaken to a compile test using
33190 LIBC_TRY_CC_OPTION.
33191 * configure: Regenerated.
33193 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33195 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
33196 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
33197 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
33198 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
33200 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
33201 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
33202 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
33203 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
33204 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
33205 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
33208 2012-05-27 David S. Miller <davem@davemloft.net>
33210 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
33212 (__Q_simulate_exceptions): Return void. Change to simulate
33213 exceptions by writing into the %fsr.
33214 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
33215 (__Qp_handle_exceptions): Likewise.
33217 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
33218 __Qp_handle_exceptions.
33219 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
33220 __Qp_handle_exceptions.
33221 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
33222 as unused and give dummy FP_RND_NEAREST initializer.
33223 (FP_INHIBIT_RESULTS): Define.
33224 (___Q_simulate_exceptions): Update declaration.
33225 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
33227 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
33228 as unused and give dummy FP_RND_NEAREST initializer.
33229 (__Qp_handle_exceptions): Update declaration.
33230 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
33233 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
33235 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
33236 the temporary FPU control word.
33237 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
33238 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
33239 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
33240 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
33241 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
33242 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
33243 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
33244 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
33245 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
33246 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
33247 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
33249 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
33251 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
33254 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
33256 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
33257 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
33258 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
33259 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
33261 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
33262 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
33265 2012-05-27 Ulrich Drepper <drepper@gmail.com>
33267 * po/h.po: Update from translation team.
33269 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
33271 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
33273 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
33274 handling of denormals.
33275 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
33276 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
33277 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
33278 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
33279 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
33280 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
33281 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
33284 2012-05-26 Marek Polacek <polacek@redhat.com>
33287 * math/libm-test.inc (fma_test): Don't always expect underflow
33290 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
33293 * elf/tst-execstack.c: Include stackinfo.h.
33294 (do_test): Adjust test case to ensure that pthread_getattr_np
33295 behaviour remains the same after marking stack executable.
33297 2012-05-25 Joseph Myers <joseph@codesourcery.com>
33299 * sysdeps/unix/sysv/linux/kernel-features.h
33300 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
33301 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
33303 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
33304 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
33305 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
33307 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
33308 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
33310 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
33312 * configure.in: Define the default includes to being none.
33313 * configure: Regenerated.
33315 2012-05-25 Roland McGrath <roland@hack.frob.com>
33317 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
33318 * sysdeps/x86_64/setjmp.S: Likewise.
33319 * sysdeps/i386/bsd-setjmp.S: Likewise.
33320 * sysdeps/i386/bsd-_setjmp.S: Likewise.
33321 * sysdeps/i386/setjmp.S: Likewise.
33322 * sysdeps/i386/__longjmp.S: Likewise.
33323 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
33324 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
33326 * include/stap-probe.h: New file.
33327 * configure.in: Handle --enable-systemtap.
33328 * configure: Regenerated.
33329 * config.h.in (USE_STAP_PROBE): New #undef.
33330 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
33331 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
33332 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
33334 2012-05-25 Joseph Myers <joseph@codesourcery.com>
33337 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
33338 to 2.4.0 where earlier.
33339 * sysdeps/unix/sysv/linux/configure: Regenerated.
33340 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
33341 <kernel-features.h>.
33342 [__ASSUME_32BITUIDS]: Make code unconditional.
33343 [!__ASSUME_32BITUIDS]: Remove conditional code.
33344 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
33345 <kernel-features.h>.
33346 [__ASSUME_32BITUIDS]: Make code unconditional.
33347 [!__ASSUME_32BITUIDS]: Remove conditional code.
33348 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
33349 [__ASSUME_32BITUIDS]: Make code unconditional.
33350 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
33351 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
33352 <kernel-features.h>.
33353 [__ASSUME_32BITUIDS]: Make code unconditional.
33354 [!__ASSUME_32BITUIDS]: Remove conditional code.
33355 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
33356 <kernel-features.h>.
33357 [__ASSUME_32BITUIDS]: Make code unconditional.
33358 [!__ASSUME_32BITUIDS]: Remove conditional code.
33359 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
33360 <kernel-features.h>.
33361 [__ASSUME_32BITUIDS]: Make code unconditional.
33362 [!__ASSUME_32BITUIDS]: Remove conditional code.
33363 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
33364 <kernel-features.h>.
33365 [__ASSUME_32BITUIDS]: Make code unconditional.
33366 [!__ASSUME_32BITUIDS]: Remove conditional code.
33367 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
33368 <kernel-features.h>.
33369 [__ASSUME_32BITUIDS]: Make code unconditional.
33370 [!__ASSUME_32BITUIDS]: Remove conditional code.
33371 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
33372 <kernel-features.h>.
33373 [__ASSUME_32BITUIDS]: Make code unconditional.
33374 [!__ASSUME_32BITUIDS]: Remove conditional code.
33375 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
33376 <kernel-features.h>.
33377 [__ASSUME_32BITUIDS]: Make code unconditional.
33378 [!__ASSUME_32BITUIDS]: Remove conditional code.
33379 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
33380 <kernel-features.h>.
33381 [__ASSUME_32BITUIDS]: Make code unconditional.
33382 [!__ASSUME_32BITUIDS]: Remove conditional code.
33383 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
33384 <kernel-features.h>.
33385 [__ASSUME_32BITUIDS]: Make code unconditional.
33386 [!__ASSUME_32BITUIDS]: Remove conditional code.
33387 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
33388 <kernel-features.h>.
33389 [__ASSUME_32BITUIDS]: Make code unconditional.
33390 [!__ASSUME_32BITUIDS]: Remove conditional code.
33391 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
33392 <kernel-features.h>.
33393 [__NR_setresgid] (__setresgid): Do not declare.
33394 [__ASSUME_32BITUIDS]: Make code unconditional.
33395 [!__ASSUME_32BITUIDS]: Remove conditional code.
33396 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
33397 <kernel-features.h>.
33398 [__NR_setresuid] (__setresuid): Do not declare.
33399 [__ASSUME_32BITUIDS]: Make code unconditional.
33400 [!__ASSUME_32BITUIDS]: Remove conditional code.
33401 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
33402 <kernel-features.h>.
33403 [__ASSUME_32BITUIDS]: Make code unconditional.
33404 [!__ASSUME_32BITUIDS]: Remove conditional code.
33405 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
33406 <kernel-features.h>.
33407 [__ASSUME_32BITUIDS]: Make code unconditional.
33408 [!__ASSUME_32BITUIDS]: Remove conditional code.
33409 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
33410 <kernel-features.h>.
33411 [__ASSUME_32BITUIDS]: Make code unconditional.
33412 [!__ASSUME_32BITUIDS]: Remove conditional code.
33413 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
33414 <kernel-features.h>.
33415 [__ASSUME_32BITUIDS]: Make code unconditional.
33416 [!__ASSUME_32BITUIDS]: Remove conditional code.
33417 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
33418 <kernel-features.h>.
33419 [__ASSUME_32BITUIDS]: Make code unconditional.
33420 [!__ASSUME_32BITUIDS]: Remove conditional code.
33421 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
33422 <kernel-features.h>.
33423 [__ASSUME_32BITUIDS]: Make code unconditional.
33424 [!__ASSUME_32BITUIDS]: Remove conditional code.
33425 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
33426 <kernel-features.h>.
33427 [__ASSUME_32BITUIDS]: Make code unconditional.
33428 [!__ASSUME_32BITUIDS]: Remove conditional code.
33429 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
33430 <kernel-features.h>.
33431 [__ASSUME_32BITUIDS]: Make code unconditional.
33432 [!__ASSUME_32BITUIDS]: Remove conditional code.
33433 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
33434 <kernel-features.h>.
33435 [__ASSUME_32BITUIDS]: Make code unconditional.
33436 [!__ASSUME_32BITUIDS]: Remove conditional code.
33437 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
33438 <kernel-features.h>.
33439 [__ASSUME_32BITUIDS]: Make code unconditional.
33440 [!__ASSUME_32BITUIDS]: Remove conditional code.
33441 * sysdeps/unix/sysv/linux/kernel-features.h
33442 (__ASSUME_SETRESUID_SYSCALL): Remove.
33443 (__ASSUME_SETRESGID_SYSCALL): Likewise.
33444 (__ASSUME_32BITUIDS): Likewise.
33445 (__ASSUME_LDT_WORKS): Likewise.
33446 (__ASSUME_O_DIRECTORY): Likewise.
33447 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
33448 architecture but not kernel version.
33449 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
33450 (__ASSUME_MMAP2_SYSCALL): Likewise.
33451 (__ASSUME_STAT64_SYSCALL): Likewise.
33452 (__ASSUME_IPC64): Likewise.
33453 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
33454 <kernel-features.h>.
33455 [__ASSUME_32BITUIDS]: Make code unconditional.
33456 [!__ASSUME_32BITUIDS]: Remove conditional code.
33457 * sysdeps/unix/sysv/linux/opendir.c: Do not include
33458 <kernel-features.h>.
33459 [__ASSUME_O_DIRECTORY]: Make code unconditional.
33460 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
33461 132096]: Remove conditional code.
33462 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
33463 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
33464 <kernel-features.h>.
33465 [__ASSUME_32BITUIDS]: Make code unconditional.
33466 [!__ASSUME_32BITUIDS]: Remove conditional code.
33467 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
33468 <kernel-features.h>.
33469 [__ASSUME_32BITUIDS]: Make code unconditional.
33470 [!__ASSUME_32BITUIDS]: Remove conditional code.
33471 * sysdeps/unix/sysv/linux/setegid.c: Do not include
33472 <kernel-features.h>.
33473 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
33475 (__setresgid): Do not declare.
33476 [__ASSUME_32BITUIDS]: Make code unconditional.
33477 [!__ASSUME_32BITUIDS]: Remove conditional code.
33478 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
33479 <kernel-features.h>.
33480 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
33482 (__setresuid): Do not declare.
33483 [__ASSUME_32BITUIDS]: Make code unconditional.
33484 [!__ASSUME_32BITUIDS]: Remove conditional code.
33485 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
33486 <kernel-features.h>.
33487 [__ASSUME_32BITUIDS]: Make code unconditional.
33488 [!__ASSUME_32BITUIDS]: Remove conditional code.
33489 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
33490 <kernel-features.h>.
33491 [__ASSUME_32BITUIDS]: Make code unconditional.
33492 [!__ASSUME_32BITUIDS]: Remove conditional code.
33494 2012-05-25 Richard Henderson <rth@twiddle.net>
33496 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
33497 dl_hwcap to ifunc resolver.
33498 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
33500 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
33501 dl_hwcap to ifunc resolver.
33502 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
33504 2012-05-24 Joseph Myers <joseph@codesourcery.com>
33507 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
33508 for |x| <= 2**-26, not 2**-57.
33509 * math/libm-test.inc (acos_test): Do not allow spurious underflow
33512 2012-05-24 Jeff Law <law@redhat.com>
33514 * stdio-common/Makefile (tests): Add bug25.
33515 * stdio-common/bug25.c: New test.
33517 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
33520 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
33521 multiple of MALLOC_ALIGNMENT in size.
33522 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
33524 2012-05-24 Joseph Myers <joseph@codesourcery.com>
33526 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
33528 (FILENAME_MAX): Use macro-int-constant.
33529 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
33530 (_IOFBF): Use macro-int-constant.
33531 (_IOLBF): Likewise.
33532 (_IONBF): Likewise.
33533 (SEEK_CUR): Likewise.
33534 (SEEK_END): Likewise.
33535 (SEEK_SET): Likewise.
33536 (TMP_MAX): Likewise.
33537 (EOF): Use macro-int-constant. Require < 0.
33538 (NULL): Use macro-constant. Require == 0.
33539 (stdin): Require type to be FILE *.
33540 (stdout): Likewise.
33541 (stderr): Likewise.
33542 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
33543 macro-int-constant.
33544 (EXIT_SUCCESS): Likewise.
33545 (NULL): Use macro-constant. Require == 0.
33546 (RAND_MAX): Use macro-int-constant.
33547 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
33548 [C99-based standards] (strtof): Require function.
33549 [C99-based standards] (strtold): Likewise.
33550 [C99-based standards] (strtoll): Likewise.
33551 [C99-based standards] (strtoull): Likewise.
33552 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
33553 [ISO || ISO99 || ISO11] (limits.h): Likewise.
33554 [ISO || ISO99 || ISO11] (math.h): Likewise.
33555 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
33556 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
33557 [ISO || ISO99 || ISO11] (*_t): Do not allow.
33559 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
33562 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
33563 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
33564 * intl/dgettext.c (DCGETTEXT): Likewise.
33565 * intl/gettext.c (DCGETTEXT): Likewise.
33566 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
33567 * posix/regex_internal.h (gettext): Likewise.
33568 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
33569 Remove declaration.
33570 * include/argz.h (__argz_count_internal)
33571 (__argz_stringify_internal): Remove declaration.
33572 (__argz_count, __argz_stringify): Declare hidden proto.
33573 * intl/dcgettext.c: Remove use of INTDEF.
33574 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
33575 * string/argz-stringify.c: Likewise.
33576 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
33577 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
33578 Declare hidden proto.
33579 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
33580 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
33581 Declare hidden proto.
33582 * include/stdio.h (__asprintf_internal): Don't declare.
33583 (__asprintf): Don't define as macro. Declare hidden proto.
33584 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
33585 (__fsetlocking): Declare hidden proto.
33586 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
33587 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
33589 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
33590 (_IO_setlinebuf): Remove use of INTUSE.
33591 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
33592 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
33593 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
33594 Remove declaration.
33595 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
33596 (_IO_do_flush): Remove use of INTUSE.
33597 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
33598 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
33599 (_IO_adjust_column, _IO_least_wmarker)
33600 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
33601 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
33602 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
33603 (_IO_default_doallocate, _IO_wdefault_doallocate)
33604 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
33605 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
33606 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
33607 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
33608 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
33609 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
33610 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
33611 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
33612 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
33613 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
33614 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
33615 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
33616 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
33618 (_IO_flush_all_internal, _IO_adjust_column_internal)
33619 (_IO_default_uflow_internal, _IO_default_finish_internal)
33620 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
33621 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
33622 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
33623 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
33624 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
33625 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
33626 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
33627 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
33628 (_IO_file_close_internal, _IO_file_close_it_internal)
33629 (_IO_file_underflow_internal, _IO_file_overflow_internal)
33630 (_IO_file_init_internal, _IO_file_attach_internal)
33631 (_IO_file_fopen_internal, _IO_file_read_internal)
33632 (_IO_file_sync_internal, _IO_file_seek_internal)
33633 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
33634 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
33635 (_IO_str_underflow_internal, _IO_str_overflow_internal)
33636 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
33637 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
33638 (_IO_list_all_internal, _IO_link_in_internal)
33639 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
33640 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
33641 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
33642 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
33643 (_IO_do_write_internal, _IO_padn_internal)
33644 (_IO_getline_info_internal, _IO_getline_internal)
33645 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
33646 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
33647 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
33648 (_IO_vfscanf_internal, _IO_vfprintf_internal)
33649 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
33650 (_IO_init_internal, _IO_un_link_internal): Don't declare.
33651 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
33652 with libc_hidden_ver, remove use of INTUSE.
33653 * libio/genops.c: Likewise.
33654 * libio/freopen.c: Likewise.
33655 * libio/freopen64.c: Likewise.
33656 * libio/iofclose.c: Likewise.
33657 * libio/iofdopen.c: Likewise.
33658 * libio/iofflush.c: Likewise.
33659 * libio/iofflush_u.c: Likewise.
33660 * libio/iofgets.c: Likewise.
33661 * libio/iofgets_u.c: Likewise.
33662 * libio/iofopen.c: Likewise.
33663 * libio/iofopncook.c: Likewise.
33664 * libio/iofread.c: Likewise.
33665 * libio/iofread_u.c: Likewise.
33666 * libio/ioftell.c: Likewise.
33667 * libio/iofwrite.c: Likewise.
33668 * libio/iogetline.c: Likewise.
33669 * libio/iogets.c: Likewise.
33670 * libio/iogetwline.c: Likewise.
33671 * libio/iopadn.c: Likewise.
33672 * libio/iopopen.c: Likewise.
33673 * libio/ioseekoff.c: Likewise.
33674 * libio/ioseekpos.c: Likewise.
33675 * libio/iosetbuffer.c: Likewise.
33676 * libio/iosetvbuf.c: Likewise.
33677 * libio/ioungetc.c: Likewise.
33678 * libio/ioungetwc.c: Likewise.
33679 * libio/iovdprintf.c: Likewise.
33680 * libio/iovsprintf.c: Likewise.
33681 * libio/iovsscanf.c: Likewise.
33682 * libio/memstream.c: Likewise.
33683 * libio/obprintf.c: Likewise.
33684 * libio/oldfileops.c: Likewise.
33685 * libio/oldiofclose.c: Likewise.
33686 * libio/oldiofdopen.c: Likewise.
33687 * libio/oldiofopen.c: Likewise.
33688 * libio/oldiopopen.c: Likewise.
33689 * libio/oldstdfiles.c: Likewise.
33690 * libio/putc.c: Likewise.
33691 * libio/setbuf.c: Likewise.
33692 * libio/setlinebuf.c: Likewise.
33693 * libio/stdfiles.c: Likewise.
33694 * libio/strops.c: Likewise.
33695 * libio/vasprintf.c: Likewise.
33696 * libio/vscanf.c: Likewise.
33697 * libio/vsnprintf.c: Likewise.
33698 * libio/vswprintf.c: Likewise.
33699 * libio/wfiledoalloc.c: Likewise.
33700 * libio/wfileops.c: Likewise.
33701 * libio/wgenops.c: Likewise.
33702 * libio/wmemstream.c: Likewise.
33703 * libio/wstrops.c: Likewise.
33704 * libio/__fpurge.c: Likewise.
33705 * libio/__fsetlocking.c: Likewise.
33706 * assert/assert.c: Likewise.
33707 * debug/fgets_chk.c: Likewise.
33708 * debug/fgets_u_chk.c: Likewise.
33709 * debug/fread_chk.c: Likewise.
33710 * debug/fread_u_chk.c: Likewise.
33711 * debug/gets_chk.c: Likewise.
33712 * debug/obprintf_chk.c: Likewise.
33713 * debug/vasprintf_chk.c: Likewise.
33714 * debug/vdprintf_chk.c: Likewise.
33715 * debug/vsnprintf_chk.c: Likewise.
33716 * debug/vsprintf_chk.c: Likewise.
33717 * malloc/mtrace.c: Likewise.
33718 * misc/error.c: Likewise.
33719 * misc/syslog.c: Likewise.
33720 * stdio-common/asprintf.c: Likewise.
33721 * stdio-common/fxprintf.c: Likewise.
33722 * stdio-common/getw.c: Likewise.
33723 * stdio-common/isoc99_fscanf.c: Likewise.
33724 * stdio-common/isoc99_scanf.c: Likewise.
33725 * stdio-common/isoc99_vfscanf.c: Likewise.
33726 * stdio-common/isoc99_vscanf.c: Likewise.
33727 * stdio-common/isoc99_vsscanf.c: Likewise.
33728 * stdio-common/printf-prs.c: Likewise.
33729 * stdio-common/printf_fp.c: Likewise.
33730 * stdio-common/printf_fphex.c: Likewise.
33731 * stdio-common/printf_size.c: Likewise.
33732 * stdio-common/putw.c: Likewise.
33733 * stdio-common/scanf.c: Likewise.
33734 * stdio-common/sprintf.c: Likewise.
33735 * stdio-common/tmpfile.c: Likewise.
33736 * stdio-common/vfprintf.c: Likewise.
33737 * stdio-common/vfscanf.c: Likewise.
33738 * stdlib/strfmon_l.c: Likewise.
33739 * sunrpc/openchild.c: Likewise.
33740 * sunrpc/xdr_stdio.c: Likewise.
33741 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
33742 * sysdeps/mach/hurd/tmpfile.c: Likewise.
33744 2012-05-24 Roland McGrath <roland@hack.frob.com>
33746 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
33748 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
33749 in the third column, to generate for the shared library an IFUNC
33750 that uses _dl_vdso_vsym.
33751 * Makerules (COMPILE.c, compile-stdin.c): New variables.
33752 * Makeconfig (object-suffixes-noshared): New variable.
33754 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
33755 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
33756 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
33757 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
33760 * include/sys/time.h (__gettimeofday): Remove macro.
33761 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
33762 * time/gettimeofday.c (__gettimeofday): Remove #undef.
33764 (__gettimeofday): Add libc_hidden_def.
33765 (gettimeofday): Add libc_hidden_weak.
33766 * sysdeps/mach/gettimeofday.c: Likewise.
33767 * sysdeps/posix/gettimeofday.c: Likewise.
33768 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
33769 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
33770 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
33771 (__gettimeofday_internal): Remove strong_alias.
33772 (__gettimeofday): Add libc_hidden_def.
33773 (gettimeofday): Add libc_hidden_weak.
33774 * sysdeps/unix/syscalls.list (gettimeofday):
33775 Remove __gettimeofday_internal alias.
33777 2012-05-24 Daniel Jacobowitz <drow@false.org>
33778 H.J. Lu <hongjiu.lu@intel.com>
33781 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
33782 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
33783 (largebin_index_32_big): New.
33784 (largebin_index): Use it for 16-byte alignment.
33785 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
33786 correction with front_misalign.
33788 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
33790 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
33791 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
33793 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
33795 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
33797 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
33799 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
33801 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
33803 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
33805 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
33807 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
33809 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
33811 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
33813 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
33816 * scripts/data/c++-types-x32-linux-gnu.data: New file.
33817 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
33819 2012-05-24 Joseph Myers <joseph@codesourcery.com>
33823 * math/libm-test.inc (exp_test): Add test from bug 14036.
33824 (pow_test): Add test from bug 10846.
33826 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
33828 (special_function): Do not include flags in test name.
33829 (parse_args): Likewise.
33830 * sysdeps/i386/fpu/libm-test-ulps: Update.
33831 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
33832 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
33833 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
33834 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33836 * math/gen-libm-test.pl (%beautify): Add entries for underflow
33838 * math/libm-test.inc ("Philosophy"): Update comment about
33840 (UNDERFLOW_EXCEPTION): New macro.
33841 (UNDERFLOW_EXCEPTION_OK): Likewise.
33842 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
33843 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
33844 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
33845 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
33846 (INVALID_EXCEPTION_OK): Update value.
33847 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
33848 (OVERFLOW_EXCEPTION_OK): Likewise.
33849 (IGNORE_ZERO_INF_SIGN): Likewise.
33850 (test_exceptions): Handle underflow exceptions.
33851 (acos_test): Update for underflow exception expectations.
33852 (cexp_test): Likewise.
33853 (clog_test): Likewise.
33854 (clog10_test): Likewise.
33855 (csqrt_test): Likewise.
33856 (ctan_test): Likewise.
33857 (ctanh_test): Likewise.
33858 (exp_test): Likewise.
33859 (exp10_test): Likewise.
33860 (exp2_test): Likewise.
33861 (expm1_test): Likewise.
33862 (fma_test): Likewise.
33863 (j0_test): Likewise.
33864 (jn_test): Likewise.
33865 (nexttoward_test): Likewise.
33866 (pow_test): Likewise.
33867 (scalbn_test): Likewise.
33868 (scalbln_test): Likewise.
33869 (tan_test): Likewise.
33870 (y1_test): Likewise.
33871 * sysdeps/i386/fpu/libm-test-ulps: Update.
33872 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33874 2012-05-23 David S. Miller <davem@davemloft.net>
33876 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
33877 (__libc_sigaction): Remove unused local variables.
33879 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
33881 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
33883 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
33885 mktime: avoid signed integer overflow
33886 * time/mktime.c (__mktime_internal): Do not mishandle the case
33887 where diff == INT_MIN.
33889 mktime: simplify computation of average
33890 * time/mktime.c (ranged_convert): Use new time_t_avg function
33891 instead of rolling our own (probably-slower) code.
33893 mktime: do not assume signed right shift propagates sign bit
33894 * time/mktime.c (isdst_differ): New static function.
33895 (__mktime_internal): No need to normalize tm_isdst now.
33896 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
33899 mktime: merge another wrapv change from gnulib
33900 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
33901 from some compilers.
33903 mktime: remove incorrect attempt at unusual arithmetics
33904 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
33905 The code didn't really work on such machines anyway.
33906 (TYPE_MINIMUM): Assume two's complement.
33907 (twos_complement_arithmetic): Verify that long_int and time_t
33908 are two's complement (or unsigned, in the latter case).
33910 mktime: check signed shifts on long_int and time_t, too
33911 * time/mktime.c (SHR): Check that shifts work as desired
33912 on the types long_int and time_t too, as SHR is used on
33915 mktime: do not assume 'long' is wide enough
33916 * time/mktime.c (verify): Move decl up.
33917 (long_int): New type.
33918 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
33919 to remove assumption in the code that 'long' is wide enough to
33920 store year values. This assumption is not true on x32 and on
33921 some non-glibc platforms.
33923 mktime: merge wrapv change from gnulib
33924 * time/mktime.c (WRAPV): New macro.
33925 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
33926 (guess_time_tm, __mktime_internal): Do not assume that signed
33927 integer overflow wraps around; modern compilers generate code
33928 where this assumption is no longer valid.
33930 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
33932 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
33933 Replace "jmp L(pseudo_end)" with "ret".
33934 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
33937 2012-05-23 Andreas Jaeger <aj@suse.de>
33939 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
33940 * sysdeps/unix/sysv/linux/poll.c: Remove file.
33942 2012-05-23 Andreas Jaeger <aj@suse.de>
33943 Maximilian Attems <max@stro.at>
33945 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
33948 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
33950 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
33951 code so that pseudo_end is just ret and the stack pointer is
33952 correct also for static library in error case.
33954 2012-05-23 Joseph Myers <joseph@codesourcery.com>
33956 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
33957 move to syscalls.list.
33958 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
33959 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
33960 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
33961 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
33963 * manual/install.texi (Running make install): Do not mention Linux
33964 kernel version for which pt_chown is not needed.
33965 (Linux): Do not mention problems with nscd with 2.0 kernels.
33966 * INSTALL: Regenerated.
33968 2012-05-23 Andreas Jaeger <aj@suse.de>
33970 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
33971 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
33973 * sysdeps/unix/sysv/linux/s390/bits/mman.h
33974 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
33975 * sysdeps/unix/sysv/linux/sh/bits/mman.h
33976 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
33977 * sysdeps/unix/sysv/linux/i386/bits/mman.h
33978 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
33979 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
33980 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
33981 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
33982 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
33983 * sysdeps/unix/sysv/linux/bits/in.h
33984 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
33986 2012-05-22 Roland McGrath <roland@hack.frob.com>
33988 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
33989 (PREPARE_VERSION): Just use assert instead, it will be elided
33990 under [NDEBUG] anyway.
33992 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
33994 * sysdeps/unix/sysv/linux/Makefile: Include
33995 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
33996 (sysdep_routines): Remove sysctl.
33997 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
33998 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
33999 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
34000 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
34001 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
34003 2012-05-22 Andreas Jaeger <aj@suse.de>
34005 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
34006 that pseudo_end is just ret and the stack pointer is correct also
34007 for static library in error case.
34009 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
34012 * nss/nsswitch.c (defconfig_entries): New variable.
34013 (__nss_database_lookup): Don't leak defconfig entries.
34014 (nss_parse_service_list): Don't leak on error paths.
34015 (free_database_entries): New function.
34016 (free_defconfig): New function.
34017 (free_mem): Move common code to free_database_entries.
34019 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
34021 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
34023 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
34025 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
34026 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
34027 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
34029 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
34030 (INTERNAL_SYSCALL_TYPES): Likewise.
34031 (LOAD_ARGS_TYPES_[1-6]): Likewise.
34032 (LOAD_REGS_TYPES_[1-6]): Likewise.
34033 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
34034 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
34036 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34038 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
34039 copysignl for GLIBC_2_0.
34040 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
34041 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
34042 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
34043 logbl for GLIBC_2_0.
34044 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
34045 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
34047 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
34049 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
34050 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
34052 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
34055 * time/mktime.c: Update copyright years.
34057 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
34059 mktime: merge comment-quoting-style change from gnulib
34060 * time/mktime.c: Quote 'like this' in comments.
34061 The GNU coding standards suggest that we no longer quote `like this',
34062 as "`" and "'" are typically rendered asymmetrically nowadays.
34063 The typical gnulib style is to quote 'like this' when quoting
34064 code, and "like this" when quoting English.
34066 * time/mktime.c (compile-command): Add "-I.".
34068 mktime: merge mktime-internal.h change from gnulib
34069 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
34071 mktime: merge time_r change from gnulib
34072 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
34074 mktime: merge DEBUG change from gnulib
34075 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
34076 case system <time.h> has a #define.
34078 mktime: merge <sys/types.h> change from gnulib
34079 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
34080 since <time.t> is now guaranteed to define time_t.
34082 mktime: merge HAVE_CONFIG_H change from gnulib
34083 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
34085 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
34087 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
34090 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
34092 (struct rusage): Use anonymous union to pad each field to
34095 2012-05-21 David S. Miller <davem@davemloft.net>
34097 * Makefules (o-iterator): Remove .s cases.
34098 (compile-command.s): Delete.
34099 (COMPILE.s): Delete.
34100 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
34102 2012-05-21 Joseph Myers <joseph@codesourcery.com>
34104 * configure.in (libc_cv_predef_stack_protector): Only consider
34105 "foobar" and "__stack_chk_fail" lines in libc_undefs.
34106 * configure: Regenerated.
34108 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
34110 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
34111 New macro. Use R*LP on int and pointer.
34112 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
34113 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
34114 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
34115 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
34117 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
34118 [__WORDSIZE_TIME64_COMPAT32] instead of
34119 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
34120 (struct utmp): Likewise.
34121 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
34122 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
34124 (__WORDSIZE_TIME64_COMPAT32): This.
34125 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
34126 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
34127 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
34128 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
34129 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
34130 (__WORDSIZE_TIME64_COMPAT32): New macro.
34132 2012-05-21 Andreas Jaeger <aj@suse.de>
34134 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
34135 only if [SHARED]. Add prototype for __wcschr_ia32.
34137 2012-05-21 Roland McGrath <roland@hack.frob.com>
34139 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
34140 of %rbp unmolested in the jmp_buf while mangling the low bits.
34141 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
34142 unmolested high bits of %rbp while demangling the low bits.
34143 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
34145 2012-05-21 Andreas Jaeger <aj@suse.de>
34147 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
34148 * sunrpc/svc_simple.c: Use it for registerrpc.
34149 * sunrpc/xcrypt.c: Use it for passwd2des.
34151 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
34153 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
34155 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
34156 Don't define if [__SYSCALL_WORDSIZE != 32].
34157 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
34160 2012-05-21 Bruno Haible <bruno@clisp.org>
34161 Andreas Jaeger <aj@suse.de>
34163 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
34164 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
34165 inptr and inend for must_buffer_ch.
34166 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
34167 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
34168 * stdio-common/Makefile (tests): Remove bug15.
34169 (bug15-ENV): Remove macro.
34170 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
34173 2012-05-19 Andreas Jaeger <aj@suse.de>
34174 Roland McGrath <roland@hack.frob.com>
34176 * manual/contrib.texi: Completely rewritten. It contains now an
34177 alphabetical list of contributors and their contributions.
34179 2012-05-21 Richard Henderson <rth@twiddle.net>
34181 * misc/getauxval.c (__getauxval): Use unsigned long int.
34182 * misc/sys/auxv.h: Include <sys/cdefs.h>.
34183 (getauxval): Use unsigned long int.
34185 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
34187 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
34189 2012-05-21 Roland McGrath <roland@hack.frob.com>
34191 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
34192 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
34193 __alignof__ (long double).
34195 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34197 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34199 2012-05-20 Richard Henderson <rth@twiddle.net>
34201 * misc/getauxval.c: New file.
34202 * misc/sys/auxv.h: New file.
34203 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
34204 (routines): Add getauxval.
34205 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
34206 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
34207 * elf/dl-sysdep.c (_dl_auxv): Remove.
34208 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
34209 * elf/dl-support.c (_dl_auxv): New variable.
34210 (_dl_aux_init): Initialize it.
34211 * manual/startup.texi (Auxiliary Vector): New node.
34212 * sysdeps/generic/bits/hwcap.h: New file.
34213 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
34214 * sysdeps/powerpc/sysdep.h: ... here. Include it.
34215 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
34216 * sysdeps/sparc/sysdep.h: ... here. Include it.
34217 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
34218 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
34219 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
34221 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
34222 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
34223 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
34224 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
34225 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
34226 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
34227 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
34228 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
34230 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34232 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34234 2012-05-19 David S. Miller <davem@davemloft.net>
34236 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34238 2012-05-19 Joseph Myers <joseph@codesourcery.com>
34241 * math/s_ccosh.c: Include <float.h>
34242 (__ccosh): Avoid internal overflow calculating sinh and cosh
34243 values before multiplying by sin and cos values.
34244 * math/s_ccoshf.c: Likewise.
34245 * math/s_ccoshl.c: Likewise.
34246 * math/s_csin.c: Likewise.
34247 * math/s_csinf.c: Likewise.
34248 * math/s_csinl.c: Likewise.
34249 * math/s_csinh.c: Likewise.
34250 * math/s_csinhf.c: Likewise.
34251 * math/s_csinhl.c: Likewise.
34252 * math/libm-test.inc (ccos_test): Add more tests.
34253 (ccosh_test): Likewise.
34254 (csin_test): Likewise.
34255 (csinh_test): Likewise.
34256 * sysdeps/i386/fpu/libm-test-ulps: Update.
34257 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34259 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
34261 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
34262 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
34264 * sysdeps/x86_64/x32/_itoa.h: Add comment.
34266 2012-05-19 Joseph Myers <joseph@codesourcery.com>
34268 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
34269 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
34270 * sysdeps/powerpc/soft-fp/Versions: Likewise.
34271 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
34272 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
34273 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
34274 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
34275 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
34276 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
34277 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
34278 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
34279 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
34280 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
34281 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
34282 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
34283 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
34284 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
34285 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
34286 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
34287 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
34288 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
34289 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
34290 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
34291 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
34292 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
34293 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
34294 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
34295 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
34296 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
34297 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
34298 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
34300 2012-05-18 Andreas Jaeger <aj@suse.de>
34302 * csu/.gitignore: Delete.
34304 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
34306 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
34307 (timex): Use __syscall_slong_t.
34309 2012-05-18 Andreas Jaeger <aj@suse.de>
34310 Carlos O'Donell <carlos_odonell@mentor.com>
34312 * manual/install.texi (Configuring and compiling): Update
34313 description about files modified in the source directory.
34314 * INSTALL: Regenerated.
34316 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
34318 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
34319 value. Use "or" to set return value to -1.
34320 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
34321 negate return value.
34323 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
34325 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
34326 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
34327 failure if the compiler has Graphite support disabled.
34328 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
34330 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
34331 (CFLAGS-memmove.c): Likewise.
34332 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
34335 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
34337 * sysdeps/x86_64/x32/_itoa.h: New file.
34339 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
34340 getdents system call only if kernel and user dirents have the
34341 same d_ino and d_off.
34343 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
34344 LLONG_MAX != LONG_MAX.
34345 (_itoa_word): Use _ITOA_WORD_TYPE on value.
34346 (_fitoa_word): Likewise.
34348 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
34350 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
34351 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
34352 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
34354 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
34355 include <bits/wordsize.h>. Check __x86_64__ instead of
34357 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
34358 if __x86_64__ is defined. Use anonymous union on fpstate.
34360 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
34363 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
34365 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
34366 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
34367 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
34368 Refer to _rtld_local_ro instead of _rtld_global_ro.
34369 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
34371 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
34373 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
34375 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
34376 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
34377 of _rtld_global, and rtld_progname instead of _dl_argv[0].
34379 * sysdeps/powerpc/powerpc32/dl-machine.c
34380 (__elf_machine_runtime_setup) [PROF]: Don't reference
34383 2012-05-18 Andreas Jaeger <aj@suse.de>
34385 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
34386 function only available for GCCs before 3.4 since GCC 3.4
34387 introduced a builtin.
34389 (llrintf): Likewise.
34390 (llrint): Likewise.
34397 (nearbyint): Likewise.
34398 (nearbyintf): Likewise.
34402 (floorf): Likewise.
34404 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
34406 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
34407 on both fields and cast pointer to __syscall_ulong_t.
34409 * bits/types.h (__fsword_t): New type.
34410 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
34411 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
34412 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
34413 (__FSWORD_T_TYPE): Likewise.
34414 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
34415 (__FSWORD_T_TYPE): Likewise.
34416 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34417 (__FSWORD_T_TYPE): Likewise.
34418 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
34419 (__FSWORD_T_TYPE): Likewise.
34420 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
34421 __SWORD_TYPE with __fsword_t.
34422 (statfs64): Likewise.
34424 2012-05-17 David S. Miller <davem@davemloft.net>
34426 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
34428 2012-05-17 Andreas Jaeger <aj@suse.de>
34430 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
34433 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
34435 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
34437 2012-05-17 Andreas Jaeger <aj@suse.de>
34439 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
34442 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
34444 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
34446 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
34448 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
34449 * sysdeps/x86_64/tst-mallocalign1.c: New file.
34451 2012-05-17 Andreas Jaeger <aj@suse.de>
34452 Carlos O'Donell <carlos_odonell@mentor.com>
34455 * sysdeps/x86_64/multiarch/init-arch.h
34456 (bit_YMM_Usable): Rename to...
34457 (bit_AVX_Usable): ... this.
34458 (bit_FMA4_Usable): New macro.
34459 (bit_XMM_state): New macro.
34460 (bit_YMM_state): New macro.
34461 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
34462 [__ASSEMBLER__] (index_AVX_Usable): ... this.
34463 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
34464 (CPUID_OSXSAVE): New macro.
34465 (CPUID_AVX): New macro.
34466 (CPUID_FMA4): New macro.
34467 (index_YMM_Usable): Rename to...
34468 (index_AVX_Usable): ... this.
34469 (HAS_AVX): Use HAS_ARCH_FEATURE.
34470 (HAS_FMA4): Likewise.
34471 (HAS_YMM_USABLE): Remove.
34472 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34473 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
34475 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
34476 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
34477 * sysdeps/x86_64/multiarch/Makefile: Likewise.
34478 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
34479 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
34481 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
34483 * math/libm-test.c: Support platforms without multiple rounding modes.
34484 * math/bug-nextafter.c: Support platforms without FP exceptions.
34485 * math/bug-nexttoward.c: Likewise.
34486 * math/test-fenv.c: Likewise.
34487 * math/test-misc.c: Likewise.
34488 * stdlib/bug-getcontext.c: Likewise.
34490 2012-05-17 Andreas Jaeger <aj@suse.de>
34492 * manual/examples/search.c (critter_cmp): Change signature to
34494 * manual/string.texi (Collation Functions): Likewise.
34496 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
34498 * bits/types.h: Fold copyright years.
34499 * bits/typesizes.h: Likewise.
34500 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
34501 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
34502 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
34503 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
34504 * time/time.h: Likewise.
34506 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
34509 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
34510 in instead of returning them. Return void.
34511 (__libc_mallinfo): Accumulate over all arenas.
34512 (__malloc_stats): Adjust for change in int_mallinfo interface.
34514 2012-05-16 Roland McGrath <roland@hack.frob.com>
34517 * configure.in (NM): Add AC_CHECK_TOOL for it.
34518 (libc_extra_cflags): New substituted variable.
34519 Check for -fstack-protector being used implicitly.
34520 * configure: Regenerated.
34521 * config.make.in (config-extra-cflags): New variable,
34522 gets @libc_extra_cflags@.
34523 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
34526 * configure.in: Check for _FORTIFY_SOURCE being predefined.
34527 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
34528 * configure: Regenerated.
34529 * config.make.in (CPPUNDEFS): New substituted variable.
34530 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
34531 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
34532 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
34534 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
34536 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
34537 (mq_attr): Use __syscall_slong_t.
34539 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
34541 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
34542 Check __x86_64__ instead of __WORDSIZE.
34543 (_STAT_VER_LINUX): Likewise.
34544 (stat): Check __x86_64__ instead of __WORDSIZE. Use
34545 __syscall_ulong_t and __syscall_slong_t.
34546 (stat64): Likewise.
34548 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
34550 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
34552 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
34554 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
34556 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
34558 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
34561 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
34562 include <bits/wordsize.h>. Check __x86_64__ instead of
34564 (greg_t): Use "__extension__ long long int" if __x86_64__ is
34566 (mcontext_t): Replace "unsigned long" with "unsigned long long".
34568 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
34569 include <bits/wordsize.h>. Check __x86_64__ instead of
34571 (user_regs_struct): Use "__extension__ unsigned long long"
34572 instead of "unsigned long" if __x86_64__ is defined.
34573 (user): Likewise. Pad after pointer field if __ILP32__ is
34576 2012-05-16 Joseph Myers <joseph@codesourcery.com>
34578 * configure.in (makeinfo): Require version 4.5 or later. Allow
34580 * configure: Regenerated.
34581 * manual/install.texi (texinfo): Increase version requirement to
34583 * INSTALL: Regenerated.
34585 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
34587 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
34589 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
34591 * sysdeps/x86_64/x32/ffs.c: New file.
34593 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
34595 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
34596 defined. Use __syscall_ulong_t.
34597 (shminfo): Use __syscall_ulong_t.
34598 (shm_info): Likewise.
34600 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
34603 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
34605 (msgqnum_t): Use __syscall_ulong_t.
34606 (msglen_t): Likewise.
34607 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
34610 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
34611 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
34613 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
34615 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
34616 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
34618 * sysvipc/sys/msg.h (msgbuf): Replace long int with
34621 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
34622 include <bits/wordsize.h>. Check __x86_64__ instead of
34625 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
34626 "unsigned long long int" if __x86_64__ is defined.
34627 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
34629 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
34630 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
34631 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
34633 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
34635 (GET_PC): Cast to uintptr_t first.
34636 (GET_FRAME): Likewise.
34637 (GET_STACK): Likewise.
34639 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
34640 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
34641 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
34642 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
34643 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
34644 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
34645 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
34646 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
34647 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
34648 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
34649 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
34650 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
34651 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
34652 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
34653 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
34654 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
34655 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
34656 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
34657 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
34658 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
34659 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
34660 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
34661 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
34662 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
34663 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
34664 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
34665 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
34666 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
34667 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
34669 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
34671 * Makerules (+depfiles): Also collect depfiles from .oS in
34673 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
34674 .oS, $(libnldbl-routines)).
34676 * Makerules (native-compile-mkdep-flags): Define.
34677 * sunrpc/Makefile (extra-objs): Add $(addprefix
34678 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
34679 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
34680 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
34681 calling $(make-target-directory).
34683 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34685 * bits/types.h (__snseconds_t): Removed.
34686 * time/time.h (struct timespec): Replace __snseconds_t with
34688 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
34689 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
34691 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
34692 (__SNSECONDS_T_TYPE): Likewise.
34693 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
34694 (__SNSECONDS_T_TYPE): Likewise.
34695 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34696 (__SNSECONDS_T_TYPE): Likewise.
34698 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34700 * sysdeps/mach/hurd/bits/typesizes.h
34701 (__SYSCALL_SLONG_TYPE): New macro.
34702 (__SYSCALL_ULONG_TYPE): Likewise.
34704 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34706 * bits/types.h (__syscall_slong_t): New type.
34707 (__syscall_ulong_t): Likewise.
34709 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
34710 (__SYSCALL_ULONG_TYPE): Likewise.
34711 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
34712 (__SYSCALL_SLONG_TYPE): Likewise.
34713 (__SYSCALL_ULONG_TYPE): Likewise.
34714 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
34715 (__SYSCALL_SLONG_TYPE): Likewise.
34716 (__SYSCALL_ULONG_TYPE): Likewise.
34717 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34718 (__SYSCALL_SLONG_TYPE): Likewise.
34719 (__SYSCALL_ULONG_TYPE): Likewise.
34721 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34723 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
34724 Add sigaltstack-offsets.sym.
34725 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
34726 <sigaltstack-offsets.h>.
34727 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
34728 longjmp_msg pointer.
34729 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
34730 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
34732 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
34734 2012-05-15 Joseph Myers <joseph@codesourcery.com>
34736 * elf/stackguard-macros.h: Remove file.
34737 * sysdeps/generic/stackguard-macros.h: New file.
34738 * sysdeps/i386/stackguard-macros.h: Likewise.
34739 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
34740 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
34741 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
34742 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
34743 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
34744 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
34745 * sysdeps/x86_64/stackguard-macros.h: Likewise.
34746 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
34747 <elf/stackguard-macros.h>.
34750 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
34751 __aligned__ in attribute.
34752 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
34753 (gregset_t): Likewise.
34755 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34757 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
34758 * sysdeps/x86_64/64/Implies-after: Here. New file.
34759 * sysdeps/x86_64/x32/Implies-after: New file.
34761 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34763 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
34764 and access return value for _dl_profile_fixup. Use R10_LP to
34767 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34769 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
34771 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34773 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
34774 * sysdeps/x86_64/x32/sysdep.h: New file.
34776 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34778 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
34779 * sysdeps/x86_64/setjmp.S: Likewise.
34781 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34783 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
34784 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
34785 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
34786 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
34787 remove unused global constant.
34789 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
34791 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
34792 include of <not-cancel.h>.
34794 2012-05-15 Roland McGrath <roland@hack.frob.com>
34796 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
34798 2012-05-15 Jeff Law <law@redhat.com>
34799 Andreas Jaeger <aj@suse.de>
34802 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
34804 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
34805 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
34806 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
34807 code changing __hst_map_handle.map.
34809 2012-05-15 Roland McGrath <roland@hack.frob.com>
34811 * configure.in (sysnames): Look for Implies-before and Implies-after
34813 * configure: Regenerated.
34815 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34817 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
34818 8-byte data alignment with LP_SIZE alignment.
34820 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34822 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
34825 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34827 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
34829 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34831 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
34832 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
34833 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
34835 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
34837 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34839 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
34840 (stackinfo_sub_sp): Likewise.
34842 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34844 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
34847 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34849 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
34852 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34854 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
34857 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34859 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
34861 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34863 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
34864 into R11_LP and load __x86_64_shared_cache_size_half into
34867 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34869 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
34872 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34874 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
34876 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
34878 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
34880 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
34881 powerpc32/power7/fpu/s_logb.c via #include.
34882 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
34883 powerpc32/power7/fpu/s_logbf.c via #include.
34884 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
34885 powerpc32/power7/fpu/s_logbl.c via #include.
34887 2012-05-15 Joseph Myers <joseph@codesourcery.com>
34889 * README.libm: Remove file.
34891 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34893 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
34894 count for x32. Use R*_LP and omit operand-size suffix.
34896 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34898 * shlib-versions: Move x86_64-.*-linux.* entries to ...
34899 * sysdeps/x86_64/64/shlib-versions: Here. New file.
34900 * sysdeps/x86_64/x32/shlib-versions: New file.
34902 2012-05-14 Roland McGrath <roland@hack.frob.com>
34904 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
34905 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
34906 Use _dl_fatal_printf instead.
34908 2012-05-14 Joseph Myers <joseph@codesourcery.com>
34910 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
34911 set if not set by the user. Do not allow for being unset.
34912 * sysdeps/unix/sysv/linux/configure: Regenerated.
34914 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34916 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
34917 the `q' suffix from lea and replace .quad with ASM_ADDR.
34919 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34921 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
34922 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
34924 (PTR_DEMANGLE): Likewise.
34926 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34928 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
34930 (ASM_ADDR): Likewise.
34931 (RAX_LP): Likewise.
34932 (RBP_LP): Likewise.
34933 (RBX_LP): Likewise.
34934 (RCX_LP): Likewise.
34935 (RDI_LP): Likewise.
34936 (RSI_LP): Likewise.
34937 (RSP_LP): Likewise.
34940 (R10_LP): Likewise.
34941 (R10_LP): Likewise.
34942 (R11_LP): Likewise.
34943 (R12_LP): Likewise.
34944 (R13_LP): Likewise.
34945 (R14_LP): Likewise.
34946 (R15_LP): Likewise.
34948 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34950 * sysdeps/x86_64/x32/dl-machine.h: New file.
34952 2012-05-14 Andreas Jaeger <aj@suse.de>
34954 * manual/Makefile (subdir): Remove export of subdir.
34955 (all): Remove target.
34956 (.PHONY): Remove all from list.
34957 (mkinstalldirs): Remove.
34958 (.PHONY): Remove installdirs from list.
34959 ($(inst_infodir)/libc.info): Use make-target-directory.
34960 (installdirs): Remove.
34961 (subdir_%): Remove.
34962 (glibc-targets): Remove.
34965 ($(objpfx)stubs ../po/manual.pot): Remove.
34966 ($(objpfx)stamp%): Remove.
34967 (make-target-directory): Remove.
34968 (subdir_install): Remove.
34969 (routines): Remove.
34976 * manual/.gitignore: Remove, it's not needed anymore.
34977 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
34979 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
34981 (texis): Renamed to $(objpfx)texis.
34982 (texis-path): New, contains path to generated files.
34983 (chapters.%): Use texis-path for complete path, add extra argument
34985 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
34986 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
34987 (summary,texi, stamp-summary): Use complete path of
34988 files. Generate files in build dir.
34989 (dir-add.texi): Build in build dir.
34990 (libm-err.texi,stamp-libm-err): Likewise.
34991 (version.texi, stamp-version): Likewise.
34992 (.%c.texi): Likewise.
34993 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
34994 (mostlyclean): Remove target.
34995 (realclean): Remove target.
34996 (generated): Add new variable with contents from mostlyclean and
34997 realclean, remove entries duplicated in common-mostlyclean, add
34998 stamp-libm-err and stamp-version.
34999 (generated-dirs): Add libc directory.
35000 ($(inst_infodir)/libc.info): Install files from build dir.
35002 * manual/install.texi (Configuring and compiling): Adjust since
35003 the info files are not part of the tar ball anymore.
35005 2012-05-14 Andreas Jaeger <aj@suse.de>
35007 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
35010 2012-05-14 Joseph Myers <joseph@codesourcery.com>
35013 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
35014 to 2.2.0 where earlier.
35015 * sysdeps/unix/sysv/linux/configure: Regenerated.
35016 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
35017 Remove conditional code.
35018 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
35019 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
35020 Remove conditional code.
35021 [!__NR_lchown]: Likewise.
35022 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
35023 [__NR_lchown]: Likewise.
35024 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
35025 comment referencing __ASSUME_LCHOWN_SYSCALL.
35026 * sysdeps/unix/sysv/linux/i386/sigaction.c
35027 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35028 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35029 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
35030 Remove conditional code.
35031 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
35032 (__protocol_available): Remove #if 0 code.
35033 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
35035 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
35036 * sysdeps/unix/sysv/linux/kernel-features.h
35037 (__ASSUME_GETCWD_SYSCALL): Don't define.
35038 (__ASSUME_REALTIME_SIGNALS): Likewise.
35039 (__ASSUME_PREAD_SYSCALL): Likewise.
35040 (__ASSUME_PWRITE_SYSCALL): Likewise.
35041 (__ASSUME_POLL_SYSCALL): Likewise.
35042 (__ASSUME_LCHOWN_SYSCALL): Likewise.
35043 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
35045 (__ASSUME_SIOCGIFNAME): Don't define.
35046 (__ASSUME_MSG_NOSIGNAL): Likewise.
35047 (__ASSUME_SENDFILE): Define unconditionally.
35048 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
35049 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
35051 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
35052 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
35053 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
35054 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
35055 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
35056 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
35057 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
35058 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
35059 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
35060 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35061 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
35062 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
35063 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35064 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
35065 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35066 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35067 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
35068 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35069 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35070 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
35071 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
35072 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35073 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
35074 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
35075 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35076 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
35077 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35078 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35079 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
35080 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35081 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35082 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
35083 Remove conditional code.
35084 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35085 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
35086 Remove conditional code.
35087 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35088 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
35089 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
35090 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
35091 Remove conditional code.
35092 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35093 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
35094 Remove conditional code.
35095 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35096 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
35097 Remove conditional code.
35098 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35099 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
35100 Remove conditional code.
35101 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35102 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
35103 Remove conditional code.
35104 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35105 * sysdeps/unix/sysv/linux/sh/pwrite64.c
35106 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35107 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35108 * sysdeps/unix/sysv/linux/sigaction.c
35109 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35110 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35111 * sysdeps/unix/sysv/linux/sigpending.c
35112 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35113 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35114 * sysdeps/unix/sysv/linux/sigprocmask.c
35115 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35116 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35117 * sysdeps/unix/sysv/linux/sigsuspend.c
35118 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35119 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35120 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
35121 (__libc_missing_rt_sigs): Remove.
35122 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
35123 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
35124 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
35125 Remove conditional code.
35126 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
35127 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
35129 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
35130 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
35131 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
35132 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
35134 2012-05-14 Andreas Jaeger <aj@suse.de>
35136 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
35137 it's not used in glibc.
35138 (__coshm1): Likewise.
35139 (__acosh1p): Likewise.
35142 * manual/string.texi (Copying and Concatenation): Add missing
35143 variable in concat example.
35144 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
35146 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35149 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
35150 __builtin_clzl with __builtin_clzll.
35152 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35155 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
35158 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35160 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
35161 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
35162 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
35163 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
35165 2012-05-14 Mike Frysinger <vapier@gentoo.org>
35167 * NEWS: Update ia64 info.
35169 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
35171 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
35174 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
35176 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
35177 * sysdeps/unix/syscalls.list (dup3): Likewise.
35178 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
35179 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
35181 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
35183 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
35184 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
35186 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
35188 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
35190 (TLS_IE): Use mov/add instead of movq/addq to load thread
35192 (TLS_GD_PREFIX): New.
35195 2012-05-11 David S. Miller <davem@davemloft.net>
35197 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
35198 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
35199 (_FPU_SETCW): Likewise.
35201 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
35203 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
35204 is 32-byte aligned.
35206 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
35209 * iconvdata/gb18030.c: Update tables.
35210 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
35211 characters specially.
35212 (BODY for TO_LOOP): Add encoding of missing ranges.
35214 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
35217 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
35218 * sysdeps/mach/hurd/dup3.c: Likewise.
35219 * sysdeps/mach/hurd/readlinkat.c: Likewise.
35220 * sysdeps/powerpc/memmove.c:: Likewise.
35222 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
35224 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
35225 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
35227 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
35229 * elf/elf.h (R_X86_64_RELATIVE64): New.
35230 (R_X86_64_NUM): Updated.
35231 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
35232 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
35233 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
35234 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
35235 tst-quad1pie tst-quad2pie
35236 (modules-names): Add tst-quadmod1 tst-quadmod2.
35237 ($(objpfx)tst-quad1): New dependency.
35238 ($(objpfx)tst-quad2): Likewise.
35239 ($(objpfx)tst-quad1pie): Likewise.
35240 ($(objpfx)tst-quad2pie): Likewise.
35241 * sysdeps/x86_64/tst-quad1.c: New file.
35242 * sysdeps/x86_64/tst-quad1pie.c: New file.
35243 * sysdeps/x86_64/tst-quad2.c: Likewise.
35244 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
35245 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
35246 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
35247 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
35248 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
35250 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35252 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
35253 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
35254 * streams/stropts.h (t_scalar_t): Define type.
35256 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
35257 (_PATH_PRESERVE): Set to "/var/lib".
35258 (_PATH_RWHODIR): Set to "/var/spool/rwho".
35260 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
35263 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
35264 if __dir_mkfile succeeded.
35266 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
35267 checking for _hurd_dtablesize. Unlock it right after having
35268 finished _hurd_dtable allocation.
35270 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
35272 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
35273 * sysdeps/mach/hurd/configure: Regenerated.
35274 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
35275 special-casing to...
35276 * sysdeps/gnu/configure.in: ... this new file.
35277 * sysdeps/unix/sysv/linux/configure: Regenerated.
35278 * sysdeps/gnu/configure: New generated file.
35280 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
35281 for Linux: use nsec instead of usec, as well as:
35282 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
35283 members of type struct timespec.
35284 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
35286 (struct stat64): Likewise.
35287 (_STATBUF_ST_NSEC): New macro.
35288 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
35290 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
35291 __strtoul_internal rather than strtoul.
35293 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
35295 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
35298 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35300 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
35301 which preserves existing values.
35302 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
35304 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
35306 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
35307 TIMEOUT values. Return EINVAL for NFDS values either negative or
35308 greater than FD_SETSIZE.
35310 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35312 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
35313 allocated, call __vm_protect to finish enabling the existing space, and
35314 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
35315 allocate the remainder.
35317 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
35319 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
35320 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
35322 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35324 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
35325 sysdeps/mach/hurd/readlink.c.
35327 * posix/tst-sysconf.c (posix_options): Only use
35328 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
35329 _POSIX_SYNCHRONIZED_IO when they are defined
35330 * sysdeps/mach/hurd/bits/posix_opt.h:
35331 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
35332 (_XOPEN_REALTIME): Undefine macro.
35333 (_XOPEN_REALTIME_THREADS): Undefine macro.
35334 (_XOPEN_SHM): Undefine macro.
35335 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
35337 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
35339 (_POSIX_ASYNC_IO): Undefine macro.
35340 (_POSIX_PRIORITIZED_IO): Undefine macro.
35341 (_POSIX_SPIN_LOCKS): Define macro to -1.
35343 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
35344 SA_NODEFER, SA_RESETHAND.
35345 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
35346 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
35349 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
35351 * elf/Makefile (pldd-modules): Define unconditionally.
35353 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
35355 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
35357 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35359 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
35360 Return ENOENT when name is empty.
35361 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
35363 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
35365 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
35367 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
35369 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35371 Fix mlock in all cases except non-readable pages.
35372 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
35373 instead of VM_PROT_ALL as parameter to __vm_wire function.
35375 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
35376 (__mkdir): When path is `/', just fail with EEXIST.
35377 * sysdeps/mach/hurd/mkdirat.c: Likewise.
35379 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
35381 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
35382 <sys/uio.h> (for writev).
35383 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
35384 and <sys/param.h> (for MIN).
35386 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
35388 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
35389 REQUESTED_TIME. Properly set the remaining time and return EINTR
35392 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
35394 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
35395 Depend on against $(link-rpcuserlibs).
35397 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35399 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
35400 (__libc_stack_end): Do not use attribute_relro.
35401 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
35402 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
35403 to libthread-provided value.
35404 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
35407 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
35410 * bits/libc-lock.h (__libc_once_get): New macro.
35411 * sysdeps/mach/bits/libc-lock.h: Likewise.
35412 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
35413 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
35414 instead of using implementation details.
35416 * libio/fileops.c: Unconditionally include <kernel-features.h>.
35417 * libio/freopen.c: Likewise.
35418 * libio/freopen64.c: Likewise.
35419 * misc/syslog.c: Likewise.
35420 * nscd/connections.c: Likewise.
35421 * nscd/netgroupcache.c: Likewise.
35422 * sysdeps/posix/getcwd.c: Likewise.
35424 2012-05-10 Roland McGrath <roland@hack.frob.com>
35426 * math/w_ilogbf.c: Add #include <limits.h>.
35428 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35430 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
35431 path instead of returning without unlocking.
35433 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
35434 immediate-write ioctls.
35435 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
35437 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
35439 * sysdeps/mach/hurd/i386/init-first.c (init): Use
35440 __builtin_frame_address instead of making assumptions about the
35441 location of the return address relative to DATA. Force early load of
35442 the return address.
35443 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
35444 __builtin_frame_address.
35447 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
35448 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
35449 implement dup3 and do some further code clean-ups.
35450 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
35451 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
35453 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35455 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
35457 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
35458 HURD_CRITICAL_END around holding _hurd_dtable_lock.
35459 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
35460 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
35461 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
35464 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
35465 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
35466 when handler == SIG_ERR, not when handler != SIG_ERR.
35468 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
35470 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
35471 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
35474 accept4 for GNU Hurd.
35475 * include/sys/socket.h (__libc_accept4): New prototype.
35476 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
35477 to implement __libc_accept4.
35478 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
35480 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
35482 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
35483 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
35484 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
35485 signal-defines.sym.
35487 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35489 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
35491 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
35493 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
35494 assertion on O_CLOEXEC flag.
35495 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
35496 * hurd/intern-fd.c: Likewise.
35497 * hurd/port2fd.c: Likewise.
35499 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35502 * bits/in.h (IPV6_PKTINFO): Define new macro.
35503 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
35505 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35510 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
35511 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
35512 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
35513 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
35514 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
35515 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
35516 * math/libm-test.inc (logb_test) : Additional logb tests.
35518 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
35519 Andreas Jaeger <aj@suse.de>
35521 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
35522 * configure: Regenerated.
35523 * config.h.in (LINK_OBSOLETE_RPC): New macro.
35524 * config.make.in (link-obsolete-rpc): New substituted variable.
35525 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
35526 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
35527 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
35528 (shared-only-routines): Don't set it under [link-obsolete-rpc],
35529 so that libc.a contains the symbols.
35530 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
35531 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
35532 * sunrpc/auth_none.c: Likewise.
35533 * sunrpc/auth_unix.c: Likewise.
35534 * sunrpc/authdes_prot.c: Likewise.
35535 * sunrpc/authuxprot.c: Likewise.
35536 * sunrpc/clnt_gen.c: Likewise.
35537 * sunrpc/clnt_perr.c: Likewise.
35538 * sunrpc/clnt_raw.c: Likewise.
35539 * sunrpc/clnt_simp.c: Likewise.
35540 * sunrpc/clnt_tcp.c: Likewise.
35541 * sunrpc/clnt_udp.c: Likewise.
35542 * sunrpc/clnt_unix.c: Likewise.
35543 * sunrpc/des_crypt.c: Likewise.
35544 * sunrpc/des_soft.c: Likewise.
35545 * sunrpc/get_myaddr.c: Likewise.
35546 * sunrpc/key_call.c: Likewise.
35547 * sunrpc/key_prot.c: Likewise.
35548 * sunrpc/netname.c: Likewise.
35549 * sunrpc/pm_getmaps.c: Likewise.
35550 * sunrpc/pm_getport.c: Likewise.
35551 * sunrpc/pmap_clnt.c: Likewise.
35552 * sunrpc/pmap_prot.c: Likewise.
35553 * sunrpc/pmap_prot2.c: Likewise.
35554 * sunrpc/pmap_rmt.c: Likewise.
35555 * sunrpc/publickey.c: Likewise.
35556 * sunrpc/rpc_cmsg.c: Likewise.
35557 * sunrpc/rpc_common.c: Likewise.
35558 * sunrpc/rpc_dtable.c: Likewise.
35559 * sunrpc/rpc_prot.c: Likewise.
35560 * sunrpc/rpc_thread.c: Likewise.
35561 * sunrpc/rtime.c: Likewise.
35562 * sunrpc/svc.c: Likewise.
35563 * sunrpc/svc_auth.c: Likewise.
35564 * sunrpc/svc_raw.c: Likewise.
35565 * sunrpc/svc_run.c: Likewise.
35566 * sunrpc/svc_tcp.c: Likewise.
35567 * sunrpc/svc_udp.c: Likewise.
35568 * sunrpc/svc_unix.c: Likewise.
35569 * sunrpc/svcauth_des.c: Likewise.
35570 * sunrpc/xcrypt.c: Likewise.
35571 * sunrpc/xdr.c: Likewise.
35572 * sunrpc/xdr_array.c: Likewise.
35573 * sunrpc/xdr_float.c: Likewise.
35574 * sunrpc/xdr_intXX_t.c: Likewise.
35575 * sunrpc/xdr_mem.c: Likewise.
35576 * sunrpc/xdr_rec.c: Likewise.
35577 * sunrpc/xdr_ref.c: Likewise.
35578 * sunrpc/xdr_sizeof.c: Likewise.
35579 * sunrpc/xdr_stdio.c: Likewise.
35581 2012-05-10 Roland McGrath <roland@hack.frob.com>
35583 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
35584 change. Update copyright years.
35586 2012-05-10 Joseph Myers <joseph@codesourcery.com>
35588 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
35590 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
35591 Joseph Myers <joseph@codesourcery.com>
35592 Paul Pluzhnikov <ppluzhnikov@google.com>
35595 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
35597 [cross-compiling] (extra-libs): Likewise.
35598 [cross-compiling] (extra-libs-others): Likewise.
35599 [cross-compiling] (librpcsvc-routines): Likewise.
35600 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
35601 [cross-compiling] (omit-deps): Likewise.
35602 (sunrpc-CPPFLAGS): New variable.
35603 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
35604 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
35605 (cross-rpcgen-objs): New variable.
35606 (extra-objs): Append $(cross-rpcgen-objs).
35607 ($(cross-rpcgen-objs)): New rule.
35608 ($(objpfx)cross-rpcgen): Likewise.
35609 (rpcgen-cmd): Define to use $(built-program-file). Expand
35611 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
35612 ($(objpfx)x%.stmp): Likewise.
35613 * sunrpc/proto.h [IS_IN_build] (_): Define.
35614 [IS_IN_build] (_libc_intl_domainname): Likewise.
35616 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
35618 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
35619 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
35620 and R_X86_64_TPOFF64.
35622 2012-05-10 Joseph Myers <joseph@codesourcery.com>
35624 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
35625 sysdeps/unix/sysv/syscalls.list.
35628 * sysdeps/unix/sysv/syscalls.list: Remove file.
35630 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
35633 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
35634 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
35635 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
35636 (__LC_IDENTIFICATION): Make these macros useful in #if
35637 expressions, as required by C99.
35639 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
35641 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
35642 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
35645 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
35647 * stdlib/longlong.h: Updated from GCC.
35649 2012-05-09 Andreas Jaeger <aj@suse.de>
35651 * nscd/nscd.c (run_modes): Make named enum, reorder so that
35652 default is first entry.
35653 (run_mode): Set type.
35654 (main): Remove informal message about syslog.
35655 (options): Fix typo.
35658 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
35661 (llrintf): Likewise.
35662 (llrint): Likewise.
35665 (nearbyint): Likewise.
35666 (nearbyintf): Likewise.
35668 2012-05-09 Andreas Jaeger <aj@suse.de>
35669 Pedro Alves <palves@redhat.com>
35671 * nscd/nscd.c (run_mode): Use enum.
35672 (main): Cleanup coding style issue.
35674 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
35675 Andreas Jaeger <aj@suse.de>
35677 * nscd/nscd.c (go_background): Replaced with...
35678 (run_mode): ... this.
35679 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
35680 (options): Add -F --foreground.
35681 (main): Implement it.
35682 (parse_opt): Parse it.
35684 2012-05-09 Andreas Jaeger <aj@suse.de>
35687 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
35688 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
35689 -Wconversion warning.
35690 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
35693 2012-05-09 Joseph Myers <joseph@codesourcery.com>
35695 * conform/data/locale.h-data (NULL): Use macro-constant. Require
35697 (LC_ALL): Use macro-int-constant.
35698 (LC_COLLATE): Likewise.
35699 (LC_CTYPE): Likewise.
35700 (LC_MESSAGES): Likewise.
35701 (LC_MONETARY): Likewise.
35702 (LC_NUMERIC): Likewise.
35703 (LC_TIME): Likewise.
35704 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
35705 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
35706 [ISO || ISO99 || ISO11] (*_t): Do not allow.
35707 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
35709 [C99-based standards] (float_t): Expect type.
35710 [C99-based standards] (double_t): Expect type.
35711 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
35713 [C99-based standards] (HUGE_VALL): Likewise.
35714 [C99-based standards] (INFINITY): Likewise.
35715 [C99-based standards] (NAN): Likewise.
35716 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
35717 [C99-based standards] (FP_NAN): Likewise.
35718 [C99-based standards] (FP_NORMAL): Likewise.
35719 [C99-based standards] (FP_SUBNORMAL): Likewise.
35720 [C99-based standards] (FP_ZERO): Likewise.
35721 [C99-based standards] (FP_FAST_FMA): Use
35722 optional-macro-int-constant. Specify type. Require == 1.
35723 [C99-based standards] (FP_FAST_FMAF): Likewise.
35724 [C99-based standards] (FP_FAST_FMAL): Likewise.
35725 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
35726 [C99-based standards] (FP_ILOGBNAN): Likewise.
35727 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
35729 [C99-based standards] (MATH_ERREXCEPT): Likewise.
35730 [C99-based standards] (math_errhandling): Specify type.
35731 [ISO99 || ISO11] (signgam): Do not allow.
35732 [non-C99-based standards] (copysignf): Do not allow.
35733 [non-C99-based standards] (exp2f): Likewise.
35734 [non-C99-based standards] (log2f): Likewise.
35735 [non-C99-based standards] (modff): Allow.
35736 [non-C99-based standards] (erff): Do not allow.
35737 [non-C99-based standards] (erfcf): Likewise.
35738 [non-C99-based standards] (gammaf): Likewise.
35739 [non-C99-based standards] (hypotf): Likewise.
35740 [non-C99-based standards] (j0f): Likewise.
35741 [non-C99-based standards] (j1f): Likewise.
35742 [non-C99-based standards] (jnf): Likewise.
35743 [non-C99-based standards] (lgammaf): Likewise.
35744 [non-C99-based standards] (tgammaf): Likewise.
35745 [non-C99-based standards] (y0f): Likewise.
35746 [non-C99-based standards] (y1f): Likewise.
35747 [non-C99-based standards] (ynf): Likewise.
35748 [non-C99-based standards] (isnanf): Likewise.
35749 [non-C99-based standards] (acoshf): Likewise.
35750 [non-C99-based standards] (asinhf): Likewise.
35751 [non-C99-based standards] (atanhf): Likewise.
35752 [non-C99-based standards] (cbrtf): Likewise.
35753 [non-C99-based standards] (expm1f): Likewise.
35754 [non-C99-based standards] (ilogbf): Likewise.
35755 [non-C99-based standards] (log1pf): Likewise.
35756 [non-C99-based standards] (logbf): Likewise.
35757 [non-C99-based standards] (nextafterf): Likewise.
35758 [non-C99-based standards] (remainderf): Likewise.
35759 [non-C99-based standards] (rintf): Likewise.
35760 [non-C99-based standards] (scalbf): Likewise.
35761 [non-C99-based standards] (copysignl): Likewise.
35762 [non-C99-based standards] (exp2l): Likewise.
35763 [non-C99-based standards] (log2l): Likewise.
35764 [non-C99-based standards] (modfl): Allow.
35765 [non-C99-based standards] (erfl): Do not allow.
35766 [non-C99-based standards] (erfcl): Likewise.
35767 [non-C99-based standards] (gammal): Likewise.
35768 [non-C99-based standards] (hypotl): Likewise.
35769 [non-C99-based standards] (j0l): Likewise.
35770 [non-C99-based standards] (j1l): Likewise.
35771 [non-C99-based standards] (jnl): Likewise.
35772 [non-C99-based standards] (lgammal): Likewise.
35773 [non-C99-based standards] (tgammal): Likewise.
35774 [non-C99-based standards] (y0l): Likewise.
35775 [non-C99-based standards] (y1l): Likewise.
35776 [non-C99-based standards] (ynl): Likewise.
35777 [non-C99-based standards] (isnanl): Likewise.
35778 [non-C99-based standards] (acoshl): Likewise.
35779 [non-C99-based standards] (asinhl): Likewise.
35780 [non-C99-based standards] (atanhl): Likewise.
35781 [non-C99-based standards] (cbrtl): Likewise.
35782 [non-C99-based standards] (expm1l): Likewise.
35783 [non-C99-based standards] (ilogbl): Likewise.
35784 [non-C99-based standards] (log1pl): Likewise.
35785 [non-C99-based standards] (logbl): Likewise.
35786 [non-C99-based standards] (nextafterl): Likewise.
35787 [non-C99-based standards] (remainderl): Likewise.
35788 [non-C99-based standards] (rintl): Likewise.
35789 [non-C99-based standards] (scalbl): Likewise.
35790 [ISO || ISO99 || ISO11] (*_t): Do not allow.
35791 [non-C99-based standards] (FP_*): Do not allow.
35792 [C99-based standards] (FP_*): Change to
35793 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
35794 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
35796 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
35797 (SIG_ERR): Likewise.
35798 [X/Open-based standards] (SIG_HOLD): Likewise.
35799 (SIG_IGN): Likewise.
35800 (SIGABRT): Use macro-int-constant. Specify type. Require
35802 (SIGFPE): Likewise.
35803 (SIGILL): Likewise.
35804 (SIGINT): Likewise.
35805 (SIGSEGV): Likewise.
35806 (SIGTER): Likewise.
35807 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
35808 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
35809 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
35810 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
35811 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
35812 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
35813 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
35814 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
35815 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
35816 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
35817 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
35818 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
35819 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
35820 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
35821 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
35822 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
35823 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
35824 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
35825 [X/Open-based standards] (SIGTRAP): Likewise.
35826 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
35827 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
35828 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
35829 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
35830 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
35833 2012-05-08 Ian Wienand <ianw@vmware.com>
35836 * time/tzset.c (__tzset_parse_tz): Update default rules for
35837 daylight time changes in the Energy Policy Act of 2005.
35839 2012-05-09 Andreas Jaeger <aj@suse.de>
35842 * elf/ldconfig.c (parse_conf): Change string to make clear that
35843 ldconfig only issued a warning if ld.so.conf does not exist.
35845 2012-05-08 David S. Miller <davem@davemloft.net>
35847 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
35848 movxtod instead of popping the value on the stack.
35850 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35852 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
35854 * config.h.in: Add HAVE_ARM_PCS_VFP.
35856 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
35859 * include/features.h: Warn if user requests __FORTIFY_SOURCE
35860 checking but the checks are disabled for any reason.
35862 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
35864 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
35865 and ELF64_R_TYPE with ELFW(R_TYPE).
35867 2012-05-08 Joseph Myers <joseph@codesourcery.com>
35869 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
35870 (ulimit): Likewise.
35872 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
35873 (settimeofday): Likewise.
35875 2012-05-08 Mike Frysinger <vapier@gentoo.org>
35877 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
35878 a struct th_u2 inside the union, and move tu_block/tu_code into
35879 a new th_u3 union of tu_block/tu_code inside of that. Move
35880 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
35881 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
35882 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
35883 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
35884 (th_stuff): Change to th_u1.tu_stuff.
35886 (th_msg): Change to th_u1.th_u2.tu_data.
35888 2012-05-07 David S. Miller <davem@davemloft.net>
35890 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35893 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
35894 (SETUP_PIC_REG): Use it.
35895 (SETUP_PIC_REG_LEAF): Use it.
35897 2012-05-07 Joseph Myers <joseph@codesourcery.com>
35901 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
35903 (EXPL_FINITE): Likewise.
35904 (FLDLOG): Likewise.
35905 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
35906 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
35908 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
35910 (EXPL_FINITE): Likewise.
35911 (FLDLOG): Likewise.
35912 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
35913 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
35915 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
35916 test of -max_value argument for long double.
35917 * sysdeps/i386/fpu/libm-test-ulps: Update.
35918 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35920 2012-05-06 David S. Miller <davem@davemloft.net>
35922 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
35923 quad soft-float symbols whose references which are compiler
35925 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
35927 2012-05-06 Joseph Myers <joseph@codesourcery.com>
35931 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
35933 (EXPL_FINITE): Likewise.
35934 (FLDLOG): Likewise.
35937 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
35938 Adjust comments for base varying.
35939 (__expl_finite): Change alias to EXPL_FINITE.
35940 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
35942 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
35943 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
35944 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
35945 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
35946 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
35948 (EXPL_FINITE): Likewise.
35949 (FLDLOG): Likewise.
35952 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
35953 Adjust comments for base varying.
35954 (__expl_finite): Change alias to EXPL_FINITE.
35955 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
35957 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35960 * math/libm-test.inc (check_float_internal): Correct ulp
35961 calculation for subnormal expected results.
35963 2012-05-06 Andreas Jaeger <aj@suse.de>
35965 * Makeconfig (+math-flags): New, set to -frounding-math.
35966 (+cflags): Add +math-flags so that all of glibc gets compiled with
35969 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
35971 2012-05-05 Joseph Myers <joseph@codesourcery.com>
35973 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
35979 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
35980 (__ieee754_expl): Allow for and saturate large arguments.
35981 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
35982 (u_threshold): Likewise.
35983 (__exp): Call __ieee754_exp before checking for overflow and
35985 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
35986 (u_threshold): Likewise.
35987 (__expf): Call __ieee754_expf before checking for overflow and
35989 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
35990 (u_threshold): Likewise.
35991 (__expl): Call __ieee754_expl before checking for overflow and
35993 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
35994 (__ieee754_expl): Allow for and saturate large arguments.
35995 * math/libm-test.inc (exp_test): Add another test. Do not allow
35996 missing overflow exception on overflow.
35997 (expm1_test): Do not allow missing overflow exception on overflow.
35999 * sysdeps/i386/fpu/e_expl.c: Move to ...
36000 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
36001 rather than using inline asm.
36002 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
36003 * sysdeps/x86_64/fpu/e_expl.S: Copy from
36004 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
36006 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
36009 (signal): Likewise.
36013 2012-05-04 Joseph Myers <joseph@codesourcery.com>
36015 * sysdeps/unix/syscalls.list (adjtime): Add entry from
36016 sysdeps/unix/common/syscalls.list.
36017 (fchmod): Likewise.
36018 (fchown): Likewise.
36019 (ftruncate): Likewise.
36020 (getrusage): Likewise.
36021 (gettimeofday): Likewise.
36022 (setpgid): Likewise.
36023 (setregid): Likewise.
36024 (setreuid): Likewise.
36025 (sigaction): Likewise.
36026 (truncate): Likewise.
36027 (vhangup): Likewise.
36028 * sysdeps/unix/common/syscalls.list: Remove file.
36029 * sysdeps/unix/bsd/Implies: Don't include unix/common.
36030 * sysdeps/unix/sysv/linux/Implies: Likewise.
36032 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
36034 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
36035 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
36036 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
36038 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
36040 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
36042 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
36043 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
36045 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
36046 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
36048 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
36049 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
36051 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
36052 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
36054 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
36055 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
36057 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
36058 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
36060 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
36062 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
36064 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
36066 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
36068 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
36069 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
36071 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
36073 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
36075 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
36077 2012-05-04 Joseph Myers <joseph@codesourcery.com>
36079 * sysdeps/unix/common/bits/dirent.h: Remove file.
36080 * sysdeps/unix/common/bits/fcntl.h: Likewise.
36082 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
36083 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
36084 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
36085 * sysdeps/unix/bsd/isatty.c: Likewise.
36086 * sysdeps/unix/bsd/tcdrain.c: Likewise.
36087 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
36088 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
36090 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36093 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
36094 long double comparison inaccuracies.
36095 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
36096 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36098 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
36100 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
36101 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
36103 2012-05-04 Joseph Myers <joseph@codesourcery.com>
36106 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
36107 nonzero digits before rounding a hex value.
36108 * stdlib/tst-strtod.c (tests): Add another test.
36110 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36112 * sysdeps/s390/fpu/libm-test-ulps: Update.
36114 2012-05-03 Andreas Jaeger <aj@suse.de>
36116 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
36117 does not get optimized out.
36118 (malloc_opt_barrier): New.
36120 2012-05-03 Andreas Jaeger <aj@suse.de>
36121 Roland McGrath <roland@hack.frob.com>
36123 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
36124 intermediate file deletion.
36125 (generated): Add .symlist files.
36127 2012-05-03 Joseph Myers <joseph@codesourcery.com>
36130 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
36131 Redirect under this condition.
36132 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
36133 [__USE_GNU] (__dprintf_chk): Not under this condition.
36134 [__USE_GNU] (__vdprintf_chk): Likewise.
36135 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
36136 under this condition.
36137 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
36138 [__USE_XOPEN2K8] (dprintf): Define under this condition.
36139 [__USE_XOPEN2K8] (vdprintf): Likewise.
36140 [__USE_GNU] (__dprintf_chk): Not under this condition.
36141 [__USE_GNU] (__vdprintf_chk): Likewise.
36142 [__USE_GNU] (dprintf): Likewise.
36143 [__USE_GNU] (vdprintf): Likewise.
36145 2012-05-03 Roland McGrath <roland@hack.frob.com>
36147 * elf/Makefile (common-generated): Set this instead of generated for
36148 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
36149 $(all-built-dso)-derived lists.
36151 2012-05-03 Andreas Jaeger <aj@suse.de>
36153 * sysdeps/i386/fpu/libm-test-ulps: Update.
36156 * FAQ.in: Likewise.
36157 * scripts/gen-FAQ.pl: Likewise.
36158 * manual/install.texi (Installation): Point to online location of
36160 * Makefile (files-for-dist): Remove FAQ.
36163 2012-05-02 Allan McRae <allan@archlinux.org>
36165 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
36166 (LDFLAGS-reldepmod5.so): Likewise.
36167 (LDFLAGS-reldep6mod1.so): Likewise.
36168 (LDFLAGS-reldep6mod4.so): Likewise.
36169 (LDFLAGS-reldep8mod3.so): Likewise.
36170 (LDFLAGS-unload4mod1.so): Likewise.
36171 (LDFLAGS-unload4mod2.so): Likewise.
36172 (LDFLAGS-tst-initorder): Likewise.
36173 (LDFLAGS-tst-initordera2.so): Likewise.
36174 (LDFLAGS-tst-initordera3.so): Likewise.
36175 (LDFLAGS-tst-initordera4.so): Likewise.
36176 (LDFLAGS-tst-initorderb2.so): Likewise.
36177 (LDFLAGS-noload): Likewise.
36178 (LDFLAGS-next): Likewise.
36179 (LDFLAGS-order2mod1.so): Likewise.
36180 (LDFLAGS-order2mod2.so): Likewise.
36181 (LDFLAGS-tst-initorder2): Likewise.
36182 (LDFLAGS-tst-initorder2a.so): Likewise.
36183 (LDFLAGS-tst-initorder2b.so): Likewise.
36184 (LDFLAGS-tst-initorder2c.so): Likewise.
36185 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
36187 2012-05-02 David S. Miller <davem@davemloft.net>
36189 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36191 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
36194 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
36196 2012-05-02 Andreas Jaeger <aj@suse.de>
36198 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
36199 since we manipulate rounding mode.
36200 (CPPFLAGS-test-idouble.c): Likewise.
36201 (CPPFLAGS-test-ifloat.c): Likewise.
36202 (CFLAGS-test-ldouble.c): Likewise.
36203 (CFLAGS-test-double.c): Likewise.
36204 (CFLAGS-test-float.c): Likewise.
36205 (CFLAGS-test-misc.c): Likewise.
36206 (CFLAGS-test-test-fenv.c): Likewise.
36208 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36212 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
36213 comparisons to determine direction to adjust input.
36215 2012-05-01 Roland McGrath <roland@hack.frob.com>
36217 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
36218 output to the target.
36220 * scripts/localplt.awk: New file.
36221 * elf/Makefile ($(objpfx)check-localplt): Target removed.
36222 (check-localplt-CFLAGS): Variable removed.
36223 ($(all-built-dso:=.jmprel)): New static pattern rule.
36224 (generated): Add those targets.
36225 (localplt-built-dso): New variable.
36226 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
36228 * elf/check-localplt.c: File removed.
36230 * scripts/check-execstack.awk: New file.
36231 * elf/Makefile ($(objpfx)check-execstack): Target removed.
36232 (check-execstack-CFLAGS): Variable removed.
36233 ($(objpfx)check-execstack.h): Target removed.
36234 ($(objpfx)execstack-default): New target.
36235 (generated): Add that instead of check-execstack.h.
36236 ($(all-built-dso:=.phdr)): New static pattern rule.
36237 (generated): Add those targets.
36238 * elf/check-execstack.c: File removed.
36240 * scripts/check-textrel.awk: New file.
36241 * elf/Makefile ($(objpfx)check-textrel): Target removed.
36242 (check-textrel-CFLAGS): Variable removed.
36243 (all-built-dso): Use := to define.o
36244 ($(all-built-dso:=.dyn)): New static pattern rule.
36245 (generated): Add those targets.
36246 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
36247 * config.make.in (READELF): New substituted variable.
36248 * elf/check-textrel.c: File removed.
36250 2012-05-01 Joseph Myers <joseph@codesourcery.com>
36252 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
36254 * conform/data/ctype.h-data [C99-based standards] (isblank):
36256 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
36257 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
36258 [ISO || ISO99 || ISO11] (*_t): Do not allow.
36259 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
36260 Specify type. Require positive value.
36261 (EILSEQ): Likewise.
36262 (ERANGE): Likewise.
36263 [ISO || POSIX] (EILSEQ): Do not expect.
36264 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
36265 Specify type. Require positive value.
36266 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
36267 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
36268 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
36269 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
36270 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
36271 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
36272 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
36273 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
36274 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
36275 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
36276 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
36277 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
36278 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
36279 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
36280 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
36281 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
36282 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
36283 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
36284 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
36285 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
36286 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
36287 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
36288 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
36289 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
36290 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
36291 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
36292 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
36293 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
36294 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
36295 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
36296 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
36297 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
36298 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
36299 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
36300 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
36301 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
36302 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
36303 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
36304 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
36305 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
36306 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
36307 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
36308 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
36309 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
36310 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
36311 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
36312 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
36313 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
36314 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
36315 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
36316 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
36317 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
36318 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
36319 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
36320 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
36321 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
36322 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
36323 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
36324 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
36325 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
36326 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
36327 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
36328 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
36329 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
36330 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
36331 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
36332 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
36333 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
36334 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
36335 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
36336 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
36337 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
36338 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
36339 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
36340 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
36341 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
36342 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
36344 (FLT_ROUNDS): Expect as macro, not constant.
36345 (FLT_MANT_DIG): Use macro-int-constant.
36346 (DBL_MANT_DIG): Likewise.
36347 (LDBL_MANT_DIG): Likewise.
36348 (FLT_DIG): Likewise.
36349 (DBL_DIG): Likewise.
36350 (LDBL_DIG): Likewise.
36351 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
36352 (DBL_MIN_EXP): Likewise.
36353 (LDBL_MIN_EXP): Likewise.
36354 (FLT_MAX_EXP): Use macro-int-constant.
36355 (DBL_MAX_EXP): Likewise.
36356 (LDBL_MAX_EXP): Likewise.
36357 (FLT_MAX_10_EXP): Likewise.
36358 (DBL_MAX_10_EXP): Likewise.
36359 (LDBL_MAX_10_EXP): Likewise.
36360 (FLT_MAX): Use macro-constant.
36361 (DBL_MAX): Likewise.
36362 (LDBL_MAX): Likewise.
36363 (FLT_EPSILON): Use macro-constant. Give upper bound.
36364 (DBL_EPSILON): Likewise.
36365 (LDBL_EPSILON): Likewise.
36366 (FLT_MIN): Likewise.
36367 (DBL_MIN): Likewise.
36368 (LDBL_MIN): Likewise.
36369 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
36370 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
36371 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
36372 [ISO11] (FLT_HAS_SUBNORM): Likewise.
36373 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
36374 [ISO11] (DBL_DECIMAL_DIG): Likewise.
36375 [ISO11] (FLT_DECIMAL_DIG): Likewise.
36376 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
36377 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
36378 [ISO11] (FLT_TRUE_MIN): Likewise.
36379 [ISO11] (LDBL_TRUE_MIN): Likewise.
36380 [ISO || ISO99 || ISO11] (*_t): Do not allow.
36381 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
36382 (SCHAR_MIN): Use macro-int-constant. Specify type.
36383 (SCHAR_MAX): Likewise.
36384 (UCHAR_MAX): Likewise.
36385 (CHAR_MIN): Likewise.
36386 (CHAR_MAX): Likewise.
36387 (MB_LEN_MAX): Use macro-int-constant.
36388 (SHRT_MIN): Use macro-int-constant. Specify type.
36389 (SHRT_MAX): Likewise.
36390 (USHRT_MAX): Likewise.
36391 (INT_MAX): Likewise.
36392 (INT_MIN): Use macro-int-constant. Specify type. Make upper
36394 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
36396 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
36398 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
36399 bound negative. Suffix upper bound with "L".
36400 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
36402 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
36404 [C99-based standards] (LLONG_MAX): Likewise.
36405 [C99-based standards] (ULLONG_MAX): Likewise.
36406 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
36408 [ISO11] (max_align_t): Require type.
36409 [ISO || ISO99 || ISO11] (*_t): Do not allow.
36411 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
36412 from $CFLAGS, without defining away __attribute__ calls.
36413 (checknamespace): Use $CFLAGS_namespace.
36415 * conform/conformtest.pl (@keywords): Only include C99 keywords
36416 for standards based on C99 or C11.
36418 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
36420 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
36423 * conform/conformtest.pl: Handle "macro-int-constant" and test for
36424 usability of symbols in #if.
36426 * conform/conformtest.pl: If macro or constant types start
36427 "promoted:", expect the symbol to be of the following type
36428 promoted by the integer promotions.
36430 * conform/conformtest.pl: Parse all "constant" and "macro" lines
36431 in one place. Also handle "macro-constant".
36433 * conform/conformtest.pl: Only accept expected macro values with
36434 "==". Parse all "macro" lines in one place.
36435 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
36437 * conform/conformtest.pl: Handle braced types on "constant" lines
36438 instead of handling "typed-constant".
36439 * conform/data/signal.h-data: Use "constant" instead of
36442 * conform/conformtest.pl: Handle "optional-" at start of lines in
36443 one place rather than duplicating several cases. Handle each
36444 format of "macro" line with initial "optional-".
36446 * conform/conformtest.pl: Only accept expected constant or
36447 optional-constant values with "==". Parse all "constant" lines in
36448 one place. Parse all "optional-constant" lines in one place.
36449 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
36450 * conform/data/fmtmsg.h-data: Likewise.
36451 * conform/data/netinet/in.h-data: Likewise.
36452 * conform/data/tar.h-data: Likewise.
36453 * conform/data/limits.h-data: Use "==" form on "constant" and
36454 "optional-constant" lines.
36456 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
36457 Use -std=c99 for XOPEN2K.
36458 (@knownproblems): Remove.
36459 (newtoken): Don't check %isknown.
36461 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
36462 Do not expect macro.
36463 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
36464 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
36465 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
36466 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
36467 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
36468 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
36469 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
36470 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
36471 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
36472 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
36473 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
36474 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
36475 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
36476 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
36477 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
36478 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
36479 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
36480 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
36481 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
36482 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
36483 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
36484 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
36485 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
36486 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
36487 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
36488 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
36489 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
36490 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
36491 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
36492 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
36493 [XPG3] (acosh): Likewise.
36494 [XPG3] (asinh): Likewise.
36495 [XPG3] (atanh): Likewise.
36496 [XPG3] (cbrt): Likewise.
36497 [XPG3] (expm1): Likewise.
36498 [XPG3] (ilogb): Likewise.
36499 [XPG3] (log1p): Likewise.
36500 [XPG3] (logb): Likewise.
36501 [XPG3] (nextafter): Likewise.
36502 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
36503 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
36504 [XPG3] (remainder): Likewise.
36505 [XPG3] (rint): Likewise.
36506 [XPG3 || XPG4 || UNIX98] (round): Likewise.
36507 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
36508 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
36509 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
36510 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
36511 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
36512 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
36513 [UNIX98 || XOPEN2K] (scalb): Expect.
36514 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
36515 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
36516 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
36517 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
36518 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
36519 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
36520 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
36521 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
36522 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
36523 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
36524 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
36525 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
36526 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
36527 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
36528 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
36529 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
36530 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
36531 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
36532 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
36533 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
36534 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
36535 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
36536 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
36537 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
36538 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
36539 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
36540 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
36541 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
36542 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
36543 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
36544 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
36545 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
36546 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
36547 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
36548 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
36549 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
36550 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
36551 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
36552 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
36553 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
36554 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
36555 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
36556 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
36557 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
36558 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
36559 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
36560 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
36561 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
36562 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
36563 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
36564 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
36565 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
36566 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
36567 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
36568 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
36569 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
36570 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
36571 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
36572 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
36573 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
36574 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
36575 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
36576 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
36577 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
36578 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
36579 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
36580 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
36581 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
36582 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
36583 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
36584 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
36585 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
36586 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
36587 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
36588 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
36589 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
36590 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
36591 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
36592 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
36593 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
36594 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
36595 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
36596 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
36597 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
36598 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
36599 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
36600 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
36601 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
36602 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
36603 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
36604 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
36605 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
36606 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
36607 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
36608 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
36609 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
36610 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
36611 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
36612 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
36613 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
36614 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
36615 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
36616 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
36617 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
36618 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
36619 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
36620 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
36621 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
36622 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
36623 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
36624 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
36625 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
36626 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
36627 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
36628 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
36629 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
36630 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
36631 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
36632 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
36633 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
36634 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
36635 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
36636 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
36637 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
36638 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
36639 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
36640 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
36641 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
36642 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
36643 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
36644 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
36645 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
36646 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
36647 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
36648 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
36649 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
36650 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
36652 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
36653 _XOPEN_SOURCE_EXTENDED for XPG4.
36655 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
36657 * Makeconfig (localtime): Remove variable.
36658 (inst_localtime-file): Likewise.
36660 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
36662 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
36664 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
36666 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
36668 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
36670 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
36672 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
36674 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
36676 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
36678 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
36681 2012-05-01 Joseph Myers <joseph@codesourcery.com>
36685 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
36686 comparisons to determine direction to adjust input.
36687 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
36688 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
36689 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
36691 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
36693 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
36695 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
36696 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
36698 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
36700 * math/libm-test.inc (nexttoward_test): Add more tests.
36702 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
36705 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
36706 in version GLIBC_2.1, not GLIBC_2.0.
36707 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
36710 2012-04-30 Joseph Myers <joseph@codesourcery.com>
36713 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
36715 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
36716 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
36717 * math/libm-test.inc (acos_test): Add more tests.
36718 (asin_test): Likewise.
36719 * sysdeps/i386/fpu/libm-test-ulps: Update.
36720 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36723 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
36725 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
36726 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
36727 * math/libm-test.inc (acos_test_tonearest): New function.
36728 (acos_test_towardzero): Likewise.
36729 (acos_test_downward): Likewise.
36730 (acos_test_upward): Likewise.
36731 (asin_test_tonearest): Likewise.
36732 (asin_test_towardzero): Likewise.
36733 (asin_test_downward): Likewise.
36734 (asin_test_upward): Likewise.
36735 (main): Call the new functions.
36736 * sysdeps/i386/fpu/libm-test-ulps: Update.
36737 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36741 * math/e_exp10.c: Include <float.h>.
36742 (__ieee754_exp10): Handle underflow here rather than multiplying
36743 large negative argument by M_LN10.
36744 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
36746 * math/e_exp10l.c: Include <float.h>.
36747 (__ieee754_exp10l): Handle underflow here rather than multiplying
36748 large negative argument by M_LN10l.
36749 * math/libm-test.inc (exp10_test): Add another test. Do not allow
36750 spurious overflow exception on underflow.
36752 2012-04-29 Marek Polacek <polacek@redhat.com>
36754 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
36755 (__fortify_function): New macro.
36756 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
36757 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
36758 __extern_always_inline.
36759 * libio/bits/stdio2.h: Likewise.
36760 * libio/bits/stdio.h: Likewise.
36761 * string/string.h: Likewise.
36762 * string/bits/string3.h: Likewise.
36763 * include/stdio.h: Likewise.
36764 * stdlib/bits/stdlib.h: Likewise.
36765 * stdlib/stdlib.h: Likewise.
36766 * rt/bits/mqueue2.h: Likewise.
36767 * rt/mqueue.h: Likewise.
36768 * posix/bits/unistd.h: Likewise.
36769 * posix/unistd.h: Likewise.
36770 * io/bits/poll2.h: Likewise.
36771 * io/bits/fcntl2.h: Likewise.
36772 * io/fcntl.h: Likewise.
36773 * io/sys/poll.h: Likewise.
36774 * misc/bits/syslog.h: Likewise.
36775 * misc/bits/syslog-ldbl.h: Likewise.
36776 * misc/sys/syslog.h: Likewise.
36777 * socket/bits/socket2.h: Likewise.
36778 * socket/sys/socket.h: Likewise.
36779 * debug/tst-chk1.c: Likewise.
36780 * wcsmbs/bits/wchar2.h: Likewise.
36781 * wcsmbs/bits/wchar-ldbl.h: Likewise.
36782 * wcsmbs/wchar.h: Likewise.
36784 2012-04-29 Andreas Jaeger <aj@suse.de>
36786 * Makerules (tests): Remove enable-check-abi protection.
36787 (check-abi-warn): Remove.
36788 (check-abi-%): Remove check-abi-warn usage.
36790 * configure.in: Remove check-abi configure option.
36791 * configure: Regenerated.
36792 * config.make.in (enable-check-abi): Remove.
36794 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
36797 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
36798 double functions to double *_finite functions.
36801 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
36802 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
36804 * stdio-common/Makefile (tests): Add tst-sprintf3.
36805 * stdio-common/tst-sprintf3.c: New file.
36807 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
36808 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
36810 2012-04-28 Joseph Myers <joseph@codesourcery.com>
36812 * conform/conformtest.pl: Remove duplicate typed-constant
36815 2012-04-28 David S. Miller <davem@davemloft.net>
36817 * Makerules (%.abilist): Add vpath on sysdep_dirs.
36818 (check-abi-%): Remove AWK script prerequisite and explicit
36820 (check-abi): Rewrite to just diff the symlist with the abilist.
36821 (config-tls, config-abi-config): Delete, no longer used.
36822 (update-abi-%): Remove AWK script and explicit abilist directory.
36823 (update-abi): Rewrite to simply compare and conditionally copy the
36824 symlist and the sysdep abilist file. Remove update-abi-config
36826 * abilist/ld.abilist: Remove.
36827 * abilist/libBrokenLocale.abilist: Remove.
36828 * abilist/libanl.abilist: Remove.
36829 * abilist/libcrypt.abilist: Remove.
36830 * abilist/libdl.abilist: Remove.
36831 * abilist/librt.abilist: Remove.
36832 * abilist/libthread_db.abilist: Remove.
36833 * abilist/libutil.abilist: Remove.
36834 * scripts/extract-abilist.awk: Remove.
36835 * scripts/merge-abilist.awk: Remove.
36836 * sysdeps/generic/libcidn.abilist: New file.
36837 * sysdeps/generic/libnss_compat.abilist: New file.
36838 * sysdeps/generic/libnss_db.abilist: New file.
36839 * sysdeps/generic/libnss_dns.abilist: New file.
36840 * sysdeps/generic/libnss_files.abilist: New file.
36841 * sysdeps/generic/libnss_hesiod.abilist: New file.
36842 * sysdeps/generic/libnss_nis.abilist: New file.
36843 * sysdeps/generic/libnss_nisplus.abilist: New file.
36844 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
36845 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
36846 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
36848 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
36849 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
36850 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
36851 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
36852 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
36853 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
36854 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
36855 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
36856 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
36858 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
36859 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
36860 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
36861 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
36863 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
36864 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
36865 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
36866 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
36867 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
36868 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
36870 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
36871 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
36872 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
36874 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
36875 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
36877 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
36879 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
36881 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
36883 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
36885 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
36887 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
36889 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
36891 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
36893 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
36895 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
36897 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
36899 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
36901 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
36903 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
36905 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
36907 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
36909 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
36911 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
36913 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
36915 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
36917 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
36919 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
36921 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
36923 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
36925 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
36927 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
36928 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
36930 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
36932 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
36934 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
36936 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
36938 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
36940 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
36942 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
36944 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
36946 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
36948 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
36950 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
36952 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
36953 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
36955 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
36957 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
36959 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
36961 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
36963 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
36965 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
36967 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
36969 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
36971 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
36973 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
36975 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
36977 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
36978 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
36979 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
36981 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
36982 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
36983 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
36984 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
36985 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
36986 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
36987 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
36988 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
36989 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
36990 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
36991 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
36992 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
36994 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
36996 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
36998 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
37000 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
37002 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
37004 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
37006 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
37008 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
37010 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
37012 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
37014 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
37016 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
37017 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
37019 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
37021 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
37023 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
37025 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
37027 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
37029 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
37031 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
37033 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
37035 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
37037 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
37039 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
37042 2012-04-28 Joseph Myers <joseph@codesourcery.com>
37044 * conform/conformtest.pl: Fix typo in handling typed-constant from
37047 2012-04-27 Joseph Myers <joseph@codesourcery.com>
37049 * README: Cut down references to pre-2.6 Linux kernels and
37050 Linuxthreads. Update lists of configurations in libc and ports
37051 and sort alphabetically. Say "or newer" with Linux kernel version
37054 * config.h.in [IS_IN_build]: Allow compiling without optimization.
37056 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
37059 * math/libm-test.inc (logb_test_downward): New test to expose
37060 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
37063 2012-04-27 Joseph Myers <joseph@codesourcery.com>
37066 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
37068 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
37069 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
37071 2012-04-26 Joseph Myers <joseph@codesourcery.com>
37073 * sysdeps/unix/i386/brk.S: Remove file.
37074 * sysdeps/unix/i386/dl-brk.S: Likewise.
37075 * sysdeps/unix/i386/pipe.S: Likewise.
37076 * sysdeps/unix/i386/sigreturn.S: Likewise.
37077 * sysdeps/unix/i386/syscall.S: Likewise.
37078 * sysdeps/unix/i386/vfork.S: Likewise.
37079 * sysdeps/unix/i386/wait.S: Likewise.
37081 * sysdeps/unix/common/tcsendbrk.c: Move to ...
37082 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
37084 * configure.in (arm*-none*): Do not allow without
37085 --enable-hacker-mode.
37086 (netbsd*): Remove case setting base_os.
37087 (386bsd*): Likewise.
37088 (freebsd*): Likewise.
37091 (sunos*): Likewise.
37092 (ultrix*): Likewise.
37093 (newsos*): Likewise.
37094 (dynix*): Likewise.
37100 (minix*): Likewise.
37101 (irix4*): Likewise.
37102 (irix6*): Likewise.
37103 (solaris[2-9]*): Likewise.
37105 * configure: Regenerated.
37107 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37110 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
37111 overflow or cancellation in calculating denominator.
37112 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
37113 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
37114 down expression to avoid unexpected rounding in newer GCCs.
37115 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
37117 2012-04-26 David S. Miller <davem@davemloft.net>
37119 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
37120 long-double compat symbols.
37121 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
37122 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
37123 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
37124 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
37125 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
37126 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
37127 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
37128 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
37129 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
37130 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
37131 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
37132 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
37133 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
37135 2012-04-25 David S. Miller <davem@davemloft.net>
37137 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
37138 HWCAP_* values only after the memory barriers have been defined.
37139 (atomic_full_barrier): Define.
37140 (atomic_read_barrier): Define.
37141 (atomic_write_barrier): Define.
37143 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
37145 * shlib-versions: Add libgcc_s version information.
37146 * sysdeps/generic/libgcc_s.h: Remove.
37147 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
37149 * sysdeps/gnu/unwind-resume.c: Likewise.
37150 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
37152 2012-04-25 David S. Miller <davem@davemloft.net>
37154 * sysdeps/unix/sparc/brk.S: Delete.
37155 * sysdeps/unix/sparc/dl-brk.S: Delete.
37156 * sysdeps/unix/sparc/pipe.S: Delete.
37157 * sysdeps/unix/sparc/sysdep.S: Delete.
37158 * sysdeps/unix/sparc/sysdep.h: Delete.
37159 * sysdeps/unix/sparc/vfork.S: Delete.
37160 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
37161 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
37162 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
37163 (ret_ERRVAL, r0, r1, MOVE): Define.
37164 (JUMPTARGET): Remove.
37165 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
37166 sysdeps/unix/sparc/sysdep.h
37167 (ENTRY, END): Remove.
37168 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
37170 2012-04-25 Joseph Myers <joseph@codesourcery.com>
37172 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
37173 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
37176 * timezone/README: Update upstream location and email address for
37178 * timezone/zdump.c: Update from tzcode 2012b.
37179 * timezone/zic.c: Likewise.
37181 * configure.in (libc_cv_as_needed): Remove test.
37182 * configure: Regenerated.
37183 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
37184 conditional definition.
37185 [$(have-as-needed) != yes] (no-as-needed): Likewise.
37186 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
37187 * config.make.in (have-as-needed): Remove variable.
37189 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
37190 Paul Pluzhnikov <ppluzhnikov@google.com>
37192 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
37195 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
37197 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
37198 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
37199 * sysdeps/sh/strlen.S: Likewise.
37201 2012-04-24 Joseph Myers <joseph@codesourcery.com>
37203 * sysdeps/unix/fork.S: Remove file.
37204 * sysdeps/unix/i386/fork.S: Likewise.
37205 * sysdeps/unix/sparc/fork.S: Likewise.
37207 * sysdeps/unix/system.c: Remove file.
37208 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
37210 * sysdeps/unix/getegid.S: Remove file.
37211 * sysdeps/unix/geteuid.S: Likewise.
37213 2012-04-24 Roland McGrath <roland@hack.frob.com>
37215 * scripts/check-localplt.awk: New file.
37216 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
37218 * scripts/data/localplt-generic.data: Add a comment.
37220 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
37221 NODE when __dir_mkfile failed.
37222 * sysdeps/mach/hurd/symlinkat.c: Likewise.
37223 Reported by Ludovic Courtès <ludo@gnu.org>.
37225 2012-04-24 Andreas Jaeger <aj@suse.de>
37227 * Makerules (common-clean): Also remove gen-as-const-headers
37230 2012-04-24 Joseph Myers <joseph@codesourcery.com>
37232 * Makerules (native-compile): Do not change working directory for
37233 build. Use $(OUTPUT_OPTION) in command.
37234 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
37236 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37239 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
37240 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
37241 * math/libm-test.inc (floor_test): Add more tests.
37242 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
37244 2012-04-24 Joseph Myers <joseph@codesourcery.com>
37246 * sysdeps/unix/getdents.c: Remove file.
37247 * sysdeps/unix/sysv/getdents.c: Likewise.
37248 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
37250 * sysdeps/unix/syscalls.list (madvise): Add syscall from
37251 sysdeps/unix/mman/syscalls.list.
37253 (mprotect): Likewise.
37255 (munmap): Likewise.
37256 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
37257 * sysdeps/unix/mman/syscalls.list: Remove.
37258 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
37260 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
37261 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
37262 * configure: Regenerated.
37263 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
37264 $(libgcc_s_suffix).
37265 * config.make.in (libgcc_s_suffix): Remove variable.
37267 2012-04-23 Joseph Myers <joseph@codesourcery.com>
37269 * sysdeps/unix/sysv/gethostname.c: Move to ...
37270 * sysdeps/posix/gethostname.c: ... here.
37272 * sysdeps/unix/execve.S: Remove file.
37274 * sysdeps/unix/_exit.S: Remove file.
37276 2012-04-23 Andreas Jaeger <aj@suse.de>
37279 * manual/Makefile: Remove make dist support, there's no
37280 need for a stand-alone documentation tar ball.
37281 (TEXI2DVI): Define always, it's not in Makeconfig.
37284 (edition): Removed.
37285 (glibc-doc-$(edition).tar): Removed
37289 (ETAGS): Remove, it's in Makeconfig.
37290 (move-if-change): Remove, it's in Makeconfig.
37292 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
37295 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
37296 (strtod, strtof, strtold, strtol, strtoul, strtoq)
37297 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
37298 (strtod_l, strtof_l, strtold_l): Remove __wur.
37299 It is not necessarily an error to ignore strtol's return value.
37300 One can reliably look at the stored endptr to decide whether
37301 the number had valid syntax.
37303 2012-04-21 Andreas Jaeger <aj@suse.de>
37306 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
37308 2012-04-21 Joseph Myers <joseph@codesourcery.com>
37310 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
37311 * sysdeps/unix/sysv/Versions: Remove file.
37313 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
37316 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37318 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
37321 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
37322 version from __vm86.
37324 2012-04-20 Joseph Myers <joseph@codesourcery.com>
37326 * sysdeps/unix/common/lxstat.c: Remove file.
37327 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
37329 * sysdeps/unix/sysv/Makefile: Remove file.
37331 * sysdeps/unix/sysv/direct.h: Remove file.
37333 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
37334 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
37335 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
37336 * sysdeps/unix/sysv/bits/signum.h: Likewise.
37337 * sysdeps/unix/sysv/bits/stat.h: Likewise.
37338 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
37339 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
37341 * sysdeps/unix/sysv/setrlimit.c: Remove file.
37343 * sysdeps/unix/xmknod.c: Remove file.
37344 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
37346 * sysdeps/unix/sysv/settimeofday.c: Remove file.
37348 * sysdeps/unix/sysv/i386/time.S: Remove file.
37350 * sysdeps/unix/fxstat.c: Remove file.
37351 * sysdeps/unix/xstat.c: Likewise.
37352 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
37354 * sysdeps/unix/sysv/sigaction.c: Remove file.
37356 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
37357 (sysdep_headers): Remove variable.
37358 [termio.h not in sysdep_headers] (generated): Likewise.
37359 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
37360 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
37361 * sysdeps/unix/sysv/tcdrain.c: Likewise.
37362 * sysdeps/unix/sysv/tcflow.c: Likewise.
37363 * sysdeps/unix/sysv/tcflush.c: Likewise.
37364 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
37365 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
37366 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
37367 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
37368 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
37370 * sysdeps/unix/siglist.c: Remove file.
37372 * sysdeps/unix/getppid.S: Remove file.
37374 * sysdeps/unix/mkdir.c: Remove file.
37375 * sysdeps/unix/rmdir.c: Likewise.
37377 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
37379 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
37381 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
37382 errlist-compat value.
37384 2012-04-18 David S. Miller <davem@davemloft.net>
37386 * sysdeps/generic/memcopy.h (reg_char): Delete.
37387 * debug/strcat_chk.c: Use char, not reg_char.
37388 * debug/strcpy_chk.c: Likewise.
37389 * debug/strncat_chk.c: Likewise.
37390 * debug/strncpy_chk.c: Likewise.
37391 * string/memchr.c: Likewise.
37392 * string/memrchr.c: Likewise.
37393 * string/rawmemchr.c: Likewise.
37394 * string/strcat.c: Likewise.
37395 * string/strchr.c: Likewise.
37396 * string/strchrnul.c: Likewise.
37397 * string/strcmp.c: Likewise.
37398 * string/strcpy.c: Likewise.
37399 * string/strncat.c: Likewise.
37400 * string/strncmp.c: Likewise.
37401 * string/strncpy.c: Likewise.
37403 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
37405 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
37406 __builtin_memcopy is called when src and dest ranges are known to not
37409 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
37411 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
37412 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
37413 fwd_align_merge macro call.
37414 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
37415 bwd_align_merge macro call.
37416 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
37418 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
37420 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
37421 bwd_align_merge macros.
37422 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
37423 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
37424 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
37426 2012-04-18 David S. Miller <davem@davemloft.net>
37428 * sysdeps/sparc/sparc64/memcopy.h: Delete.
37430 2012-04-18 Andreas Jaeger <aj@suse.de>
37433 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
37434 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
37435 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
37437 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
37438 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
37439 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
37441 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
37442 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
37443 Adjust for changed ldbl-128 files.
37445 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
37446 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
37447 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
37449 2012-04-17 David S. Miller <davem@davemloft.net>
37451 * sysdeps/sparc/sparc32/memcopy.h: Delete.
37453 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
37455 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
37456 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
37457 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
37458 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
37459 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
37460 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
37462 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37465 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
37466 * math/libm-test.inc: Add ilogb errno and exception tests.
37467 * math/w_ilogb.c: New file: ilogb wrapper.
37468 * math/w_ilogbf.c: New file: ilogbf wrapper.
37469 * math/w_ilogbl.c: New file: ilogbl wrapper.
37470 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
37471 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
37472 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
37473 exception being thrown with 0.0 as argument.
37474 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
37475 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
37476 exception being thrown with 0.0 as argument.
37477 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
37478 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
37479 exception being thrown with 0.0 as argument.
37480 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
37481 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
37482 exception being thrown with 0.0 as argument.
37483 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
37484 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
37485 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
37486 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
37487 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
37488 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
37489 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
37490 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
37491 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
37493 2012-04-17 Petr Baudis <pasky@ucw.cz>
37495 * include/sys/uio.h: Change __vector to __iovec to avoid clash
37498 2012-04-16 Marek Polacek <polacek@redhat.com>
37500 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
37502 2012-04-16 Marek Polacek <polacek@redhat.com>
37504 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
37505 operands of fdivp instruction.
37507 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
37509 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
37510 * elf/tst-auditmod3b.c: Likewise.
37511 * elf/tst-auditmod4b.c: Likewise.
37512 * elf/tst-auditmod5b.c: Likewise.
37513 * elf/tst-auditmod6b.c: Likewise.
37514 * elf/tst-auditmod6c.c: Likewise.
37515 * elf/tst-auditmod7b.c: Likewise.
37516 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
37517 * sysdeps/x86_64/preconfigure.in: Likewise.
37518 * sysdeps/x86_64/preconfigure: Regenerated.
37520 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
37522 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
37525 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
37527 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
37528 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
37530 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
37533 * locale/iso-639.def: Fix gl language name. Spotted by
37536 2012-04-12 Roland McGrath <roland@hack.frob.com>
37539 * libio/libio.h (__io_write_fn): Update comment.
37541 2012-04-12 Petr Baudis <pasky@ucw.cz>
37544 * stdio.texi (Hook Functions): The user provided writer function
37545 is not allowed to return -1.
37547 2012-04-11 David S. Miller <davem@davemloft.net>
37549 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37551 2012-04-11 Mike Frysinger <vapier@gentoo.org>
37553 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
37554 Add a leading slash to rtkaio.
37556 2012-04-11 Jim Meyering <meyering@redhat.com>
37559 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
37560 It is not necessarily an error to ignore fwrite's return
37561 value. One can reliably use ferror to test for errors after
37564 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
37566 * bits/types.h (__snseconds_t): New type.
37567 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
37569 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
37570 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
37571 (__SNSECONDS_T_TYPE): Likewise.
37572 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
37573 (__SNSECONDS_T_TYPE): Likewise.
37574 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
37575 (__SNSECONDS_T_TYPE): Likewise.
37577 2012-04-10 Andreas Jaeger <aj@suse.de>
37580 * manual/time.texi (Processor Time): Return type of times is
37581 elapsed real time since an arbitrary point in the past.
37582 (CPU Time): Move CLK_TCK from here...
37583 (Processor Time): ...to here. Correct description.
37584 * manual/conf.texi (Constants for Sysconf): Correct description of
37587 2012-04-10 David S. Miller <davem@davemloft.net>
37590 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
37591 where the is a gap between DT_REL(A) and DT_JMPREL.
37593 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
37595 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
37596 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
37597 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
37599 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
37601 * elf/dl-support.c (_dl_inhibit_cache): New variable.
37602 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
37603 (dl_main): Handle --inhibit-cache.
37604 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
37606 * elf/dl-load.c (_dl_map_object): Use it.
37607 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
37609 2012-04-09 Joseph Myers <joseph@codesourcery.com>
37612 * sysdeps/i386/fpu/e_powl.S (p78): New object.
37613 (__ieee754_powl): Saturate large exponents rather than testing for
37614 overflow of y*log2(x).
37615 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
37616 * math/libm-test.inc (pow_test): Do not permit spurious overflow
37620 * math/s_ctan.c: Include <float.h>.
37621 (__ctan): Avoid internal overflow or cancellation in calculating
37623 * math/s_ctanf.c: Likewise.
37624 * math/s_ctanl.c: Likewise.
37625 * math/s_ctanh.c: Likewise.
37626 * math/s_ctanhf.c: Likewise.
37627 * math/s_ctanhl.c: Likewise.
37628 * math/libm-test.inc (ctan_test): Add more tests.
37629 (ctanh_test): Likewise.
37630 * sysdeps/i386/fpu/libm-test-ulps: Update.
37631 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37633 2012-04-09 Andreas Jaeger <aj@suse.de>
37636 * manual/filesys.texi (Directory Entries): Mention that d_namlen
37637 is an optional BSD extension.
37640 * manual/stdio.texi (Opening Streams): Document additional fopen
37643 2012-04-09 Roland McGrath <roland@hack.frob.com>
37645 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
37646 %eax without telling the compiler.
37648 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
37651 * manual/install.texi: Use sourceware.org.
37653 2012-04-09 Joseph Myers <joseph@codesourcery.com>
37656 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
37657 (__ieee754_pow): Generate overflow and underflow using huge*huge
37658 and tiny*tiny rather than just returning constant infinity or zero
37659 for large exponents.
37660 * math/libm-test.inc (pow_test): Require overflow exceptions for
37661 applicable cases of large exponents.
37664 * sysdeps/i386/fpu/e_pow.S (p10): New object.
37665 (__ieee754_pow): Use iterative multiplication algorithm only for
37666 integer exponents with absolute value below 1024. Check for odd
37667 integer exponents when using algorithm for real exponents.
37668 * math/libm-test.inc (pow_test): Add more tests.
37669 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37671 2012-04-08 Joseph Myers <joseph@codesourcery.com>
37674 * math/libm-test.inc (exp_test): Do not allow overflow exception
37677 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
37680 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
37681 instead of __kernel_standard_f.
37683 2012-04-08 Mike Frysinger <vapier@gentoo.org>
37685 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
37686 * sysdeps/x86_64/memset_chk.S: Likewise.
37688 2012-04-08 Andreas Jaeger <aj@suse.de>
37691 * manual/startup.texi (Environment Access): Describe return value
37692 for putenv and setenv.
37695 * manual/filesys.texi (Directory Entries): Add description for
37699 * manual/filesys.texi (Directory Entries): Clarify that it's file
37700 system not operating system in the description of DT_UNKNOWN.
37703 * manual/syslog.texi (closelog): Fix reference, it's openlog.
37705 2012-04-08 Stephen Compall <s11@member.fsf.org>
37708 * manual/llio.texi (Opening and Closing Files): Add cross
37709 reference to explain mode argument.
37711 2012-04-07 Mike Frysinger <vapier@gentoo.org>
37713 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
37714 * sysdeps/x86_64/memset_chk.S: Likewise.
37716 2012-04-07 David S. Miller <davem@davemloft.net>
37718 * elf/elf.h (R_SPARC_WDISP10): Define.
37719 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
37721 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
37722 R_SPARC_SIZE64 and R_SPARC_H34.
37724 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
37726 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
37727 conditions and remove no longer applicable assertion.
37729 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
37731 * bits/byteswap.h: Include <features.h>.
37732 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
37733 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
37735 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
37737 * bits/byteswap.h (__bswap_16): Removed.
37738 Include <bits/byteswap-16.h> to get __bswap_16.
37739 * sysdeps/i386/bits/byteswap.h: Likewise.
37740 * sysdeps/s390/bits/byteswap.h: Likewise.
37741 * sysdeps/x86_64/bits/byteswap.h: Likewise.
37742 * bits/byteswap-16.h: New file.
37743 * sysdeps/i386/bits/byteswap-16.h: Likewise.
37744 * sysdeps/s390/bits/byteswap-16.h: Likewise.
37745 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
37746 * string/Makefile (headers): Add bits/byteswap-16.h.
37748 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
37751 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
37753 * nss/Makefile (tests-static, tests): Add tst-nss-static.
37754 * nss/tst-nss-static.c: New.
37756 2012-04-06 Robert Millan <rmh@gnu.org>
37759 * manual/llio.texi (File Position Primitive): lseek
37760 refers to WHENCE when it really means OFFSET.
37762 2012-04-06 Andreas Jaeger <aj@suse.de>
37764 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
37765 strncmp declarations.
37767 * abilist/libc.abilist: Add __poll and __ppoll.
37769 2012-04-05 David S. Miller <davem@davemloft.net>
37771 * scripts/check-local-headers.sh: Accept a host triplet in the
37772 path matched by the exclude regexp.
37774 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
37776 * sysdeps/powerpc/powerpc32/dl-machine.h
37777 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
37778 * sysdeps/s390/s390-32/dl-machine.h
37779 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
37780 * sysdeps/sparc/sparc32/dl-machine.h
37781 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
37782 * sysdeps/sparc/sparc64/dl-machine.h
37783 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
37785 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
37787 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
37788 undefined symbol errors.
37790 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
37793 2012-04-05 Michael Matz <matz@suse.de>
37796 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
37798 2012-04-05 Andreas Jaeger <aj@suse.de>
37801 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
37804 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
37806 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
37807 which ROUND is no valid rounding mode.
37809 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
37811 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
37813 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
37815 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
37817 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
37818 an exception using FPU order intentionally.
37820 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
37822 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
37823 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
37824 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
37825 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
37827 2012-04-05 Simon Josefsson <simon@josefsson.org>
37830 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
37831 EINVAL when BUFLEN is too smal.
37833 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
37836 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
37837 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
37839 2012-04-03 Andreas Jaeger <aj@suse.de>
37842 * manual/setjmp.texi (System V contexts): Fix sentence.
37845 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
37846 New macro for this case.
37847 [!__GNUC__] (__bswap_64): New inline function for this case.
37848 * sysdeps/x86_64/bits/byteswap.h: Likewise.
37849 * bits/byteswap.h: Likewise.
37850 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
37851 ull, guard with __GLIBC_HAVE_LONG_LONG.
37853 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
37854 __GLIBC_HAVE_LONG_LONG.
37856 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
37857 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
37859 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
37862 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
37863 inptr and inend, rather than using last_ch.
37865 2012-04-02 David S. Miller <davem@davemloft.net>
37867 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
37868 * stdio-common/printf-parse.h (read_int): Change return type to
37869 'int', return -1 on INT_MAX overflow.
37870 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
37871 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
37872 overflows INT_MAX. Check for overflow of in-format-string precision
37873 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
37874 SIZE_MAX not INT_MAX for integer overflow test.
37875 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
37876 skip the construct in the format string but do not record anything.
37877 * stdio-common/bug22.c: Adjust to test both width/prevision
37878 INT_MAX overflow as well as total length INT_MAX overflow. Check
37879 explicitly for proper errno values.
37881 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
37883 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
37885 * string/test-strcmp.c [! WIDE]: Likewise.
37886 * time/tst-mktime2.c: Likewise for INT_MAX.
37887 * string/test-string.h: #include <sys/param.h> for MIN.
37889 * csu/init-first.c (__libc_init_first): Call __ctype_init.
37890 * sysdeps/i386/init-first.c (init): Likewise.
37891 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
37892 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
37893 * sysdeps/sh/init-first.c (init): Likewise.
37895 2012-04-01 Ulrich Drepper <drepper@gmail.com>
37897 * po/ru.po: Update from translation team.
37898 * po/vi.po: Likewise.
37900 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
37902 * resolv/nss_dns/dns-host.c: Merge copyright years.
37904 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37906 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
37907 Optimize memcpy with prefetch if
37908 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
37909 src, dst pointers have unequal 16 byte alignments.
37911 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
37914 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
37915 from a CNAME entry and return the minimum ttl for the query.
37916 (gaih_getanswer_slice): Likewise.
37918 2012-03-30 Jeff Law <law@redhat.com>
37920 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
37922 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
37923 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
37925 * resolv/nss_dns/dns-host.c: Update copyright year.
37927 2012-03-30 Ulrich Drepper <drepper@gmail.com>
37929 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
37930 requests to save a system call. Fix check that all bytes are sent.
37932 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
37933 comments for sendmmsg.
37935 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
37938 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
37939 with only 1 character between 0x0041 and 0x01b0.
37940 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
37941 * wcsmbs/tst-mbsnrtowcs.c: New file.
37943 2012-03-29 David S. Miller <davem@davemloft.net>
37945 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
37946 small copies by hand.
37948 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
37951 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
37952 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
37955 2012-03-28 David S. Miller <davem@davemloft.net>
37957 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
37958 that branches into memcpy.
37959 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
37960 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
37961 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
37962 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
37963 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
37965 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
37966 implementation too.
37967 * sysdeps/sparc/mempcpy.S: New file.
37969 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
37970 the IFUNC routine in the libc case.
37971 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
37973 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
37974 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
37975 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
37976 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
37977 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
37978 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
37979 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
37980 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
37982 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
37983 loop to 256 bytes instead of 64 bytes and fix test signedness.
37985 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
37986 * sysdeps/sparc/sparc32/Makefile: rather than here...
37987 * sysdeps/sparc/sparc64/Makefile: and here.
37989 2012-03-28 Ulrich Drepper <drepper@gmail.com>
37991 * malloc/mallocbug.c: Avoid warnings about unused variables.
37993 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
37996 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
37997 in the right place. Discard and retry query if response is
37998 larger than input buffer size.
38000 2012-03-28 Joseph Myers <joseph@codesourcery.com>
38005 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
38006 x for large integer exponent.
38007 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
38008 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
38009 sign of result as needed afterwards.
38010 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
38011 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
38012 result for underflowing pow the same as for overflow.
38013 (__kernel_standard_l): Handle powl overflow and underflow here
38014 rather than calling __kernel_standard.
38015 * math/libm-test.inc (pow_test): Add more tests.
38030 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
38031 * sysdeps/ieee754/k_standard.c: Include <float.h>.
38032 (__kernel_standard_l): New function.
38033 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
38035 * math/w_acosl.c (__acosl): Likewise.
38036 * math/w_asinl.c (__asinl): Likewise.
38037 * math/w_atan2l.c (__atan2l): Likewise.
38038 * math/w_atanhl.c (__atanhl): Likewise.
38039 * math/w_coshl.c (__coshl): Likewise.
38040 * math/w_exp10l.c (__exp10l): Likewise.
38041 * math/w_exp2l.c (__exp2l): Likewise.
38042 * math/w_fmodl.c (__fmodl): Likewise.
38043 * math/w_hypotl.c (__hypotl): Likewise.
38044 * math/w_j0l.c (__j0l, __y0l): Likewise.
38045 * math/w_j1l.c (__j1l, __y1l): Likewise.
38046 * math/w_jnl.c (__jnl, __ynl): Likewise.
38047 * math/w_lgammal.c (__lgammal): Likewise.
38048 * math/w_log10l.c (__log10l): Likewise.
38049 * math/w_log2l.c (__log2l): Likewise.
38050 * math/w_logl.c (__logl): Likewise.
38051 * math/w_powl.c (__powl): Likewise.
38052 * math/w_remainderl.c (__remainderl): Likewise.
38053 * math/w_scalbl.c (sysv_scalbl): Likewise.
38054 * math/w_sinhl.c (__sinhl): Likewise.
38055 * math/w_sqrtl.c (__sqrtl): Likewise.
38056 * math/w_tgammal.c (__tgammal): Likewise.
38057 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
38058 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
38059 * math/libm-test.inc (acos_test): Add more tests.
38060 (acosh_test): Likewise.
38061 (asin_test): Likewise.
38062 (atanh_test): Likewise.
38063 (exp_test): Likewise.
38064 (exp10_test): Likewise.
38065 (exp2_test): Likewise.
38066 (expm1_test): Likewise.
38067 (lgamma_test): Likewise.
38068 (log_test): Likewise.
38069 (log10_test): Likewise.
38070 (log1p_test): Likewise.
38071 (log2_test): Likewise.
38072 (pow_test): Do not allow some spurious overflow exceptions.
38073 (sqrt_test): Add more tests.
38074 (tgamma_test): Likewise.
38075 (y0_test): Likewise.
38076 (y1_test): Likewise.
38077 (yn_test): Likewise.
38079 2012-03-27 Anton Blanchard <anton@samba.org>
38081 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
38083 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
38084 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
38085 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
38087 2012-03-27 David S. Miller <davem@davemloft.net>
38089 * conform/Makefile: Run run-conformtest.sh using $(BASH).
38091 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
38092 have-as-vis3 check.
38094 2012-03-27 Andreas Jaeger <aj@suse.de>
38096 * sysdeps/x86_64/elf/configure.in: Moved to ...
38097 * sysdeps/x86_64/configure.in: ... here.
38098 * sysdeps/x86_64/elf/start.S: Moved to ...
38099 * sysdeps/x86_64/start.S: ... here.
38100 * sysdeps/x86_64/elf/configure: Delete.
38102 * sysdeps/x86_64/configure.in: Merge contents from
38103 sysdeps/i386/configure.in (without i686 check).
38105 * sysdeps/i386/elf/Versions: Merge into ...
38106 * sysdeps/i386/Versions: ... this.
38107 * sysdeps/i386/elf/Versions: Delete file.
38108 * sysdeps/i386/elf/start.S: Moved to ...
38109 * sysdeps/i386/start.S: ...here.
38110 * sysdeps/i386/elf/configure.in: Merge into...
38111 * sysdeps/i386/configure.in: ...here.
38112 * sysdeps/i386/elf/configure.in: Delete file.
38113 * sysdeps/i386/elf/configure: Delete file.
38115 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
38116 * debug/backtracesyms.c: ... here.
38117 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
38118 * debug/backtracesymsfd.c: ... here.
38119 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
38120 * sysdeps/generic/ifunc-sel.h: ... here.
38122 * sysdeps/unix/i386/start.c: Delete file.
38123 * sysdeps/unix/sparc/start.c: Delete file.
38124 * sysdeps/unix/start.c: Delete file.
38126 * sysdeps/sh/elf/configure.in: Moved to ...
38127 * sysdeps/sh/configure.in: ... here.
38128 * sysdeps/sh/elf/start.S: Moved to ...
38129 * sysdeps/sh/start.S: ... here.
38130 * sysdeps/sh/elf/configure: Delete file.
38132 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
38133 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
38134 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
38135 * sysdeps/powerpc/powerpc64/entry.h: ... here.
38136 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
38137 * sysdeps/powerpc/powerpc64/start.S: here.
38138 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
38139 * sysdeps/powerpc/powerpc64/Makefile: ... this.
38140 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
38141 * sysdeps/powerpc/powerpc64/configure.in: ... this.
38142 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
38144 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
38145 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
38146 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
38147 * sysdeps/powerpc/powerpc32/start.S: ... here.
38148 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
38149 * sysdeps/powerpc/powerpc32/configure.in: ... this.
38150 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
38152 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
38153 * sysdeps/powerpc/ifunc-sel.h: ... here.
38154 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
38155 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
38157 * sysdeps/sparc/elf/configure.in: Moved to ...
38158 * sysdeps/sparc/configure.in: ... here.
38159 * sysdeps/sparc/elf/configure: Delete file.
38160 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
38161 * sysdeps/sparc/sparc32/start.S: ... here.
38162 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
38163 * sysdeps/sparc/sparc64/start.S: ... here.
38164 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
38165 * sysdeps/sparc/sparc32/Makefile: ... this.
38166 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
38167 * sysdeps/sparc/sparc64/Makefile: ... this.
38169 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
38170 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
38171 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
38172 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
38173 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
38174 * sysdeps/s390/s390-32/setjmp.S: ... here.
38175 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
38176 * sysdeps/s390/s390-32/configure.in: ... here.
38177 * sysdeps/s390/s390-32/elf/configure: Delete file.
38178 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
38179 * sysdeps/s390/s390-32/start.S: ... here.
38181 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
38182 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
38183 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
38184 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
38185 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
38186 * sysdeps/s390/s390-64/setjmp.S: ... here.
38187 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
38188 * sysdeps/s390/s390-64/configure.in: ... here
38189 * sysdeps/s390/s390-64/elf/configure: Delete file.
38190 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
38191 * sysdeps/s390/s390-64/start.S: ... here.
38192 * sysdeps/s390/s390-64/elf/configure: Delete.
38194 * configure.in: Remove support for elf directories in sysdeps.
38196 * configure: Regenerated.
38197 * sysdeps/i386/configure: Regenerated.
38198 * sysdeps/powerpc/powerpc32/configure: Regenerated.
38199 * sysdeps/powerpc/powerpc64/configure: Regenerated.
38200 * sysdeps/s390/s390-32/configure: Regenerated.
38201 * sysdeps/s390/s390-64/configure: Regenerated.
38202 * sysdeps/sh/configure: Regenerated.
38203 * sysdeps/sparc/configure: Regenerated.
38204 * sysdeps/x86_64/configure: Regenerated.
38206 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
38208 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38210 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
38211 denormal result into account.
38213 2012-03-25 Roland McGrath <roland@hack.frob.com>
38215 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
38216 Reported by Allan McRae <allan@archlinux.org>.
38218 2012-03-23 Jeff Law <law@redhat.com>
38220 * nss/getnssent.c (__nss_getent): Fix typo.
38222 2012-03-23 David S. Miller <davem@davemloft.net>
38224 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38226 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
38228 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
38229 to pad to uint64_t for each field.
38230 (dl_tls_index): Replace unsigned long with uint64_t.
38232 2012-03-23 Daniel Jacobowitz <dmj@google.com>
38233 Paul Pluzhnikov <ppluzhnikov@google.com>
38236 * grp/Makefile (otherlibs): Don't set it.
38237 * inet/Makefile (otherlibs): Likewise.
38238 * login/Makefile (otherlibs): Likewise.
38239 * nscd/Makefile (otherlibs): Likewise.
38240 * posix/Makefile (otherlibs): Likewise.
38241 * pwd/Makefile (otherlibs): Likewise.
38242 * rt/Makefile (otherlibs): Likewise.
38243 * sunrpc/Makefile (otherlibs): Likewise.
38244 * nss/Makefile (otherlibs): Likewise.
38245 Add libnss_files to routines and static-only-routines.
38246 ($(objpfx)getent): Remove rule.
38247 * resolv/Makefile: Add libnss_dns and libresolv to routines and
38248 static-only-routines.
38250 2012-03-22 Joseph Myers <joseph@codesourcery.com>
38253 * math/s_cexp.c: Include <float.h>.
38254 (__cexp): Handle exp result overflowing not necessarily
38255 overflowing both real and imaginary parts of result.
38256 * math/s_cexpf.c: Likewise.
38257 * math/s_cexpl.c: Likewise.
38258 * math/libm-test.inc (cexp_test): Add more tests.
38259 * sysdeps/i386/fpu/libm-test-ulps: Update.
38260 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38262 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
38264 * include/link.h (ELFW): New macro.
38265 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
38266 Replace ELF64_R_TYPE with ELFW(R_TYPE).
38268 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
38270 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
38273 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
38275 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
38277 (struct La_x32_retval): Likewise.
38279 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
38281 * sysdeps/x86_64/preconfigure.in: New file.
38282 * sysdeps/x86_64/preconfigure: New generated file.
38284 2012-03-22 Joseph Myers <joseph@codesourcery.com>
38287 * math/e_exp2l.c: Include <float.h>.
38288 (__ieee754_exp2l): Handle overflow and underflow cases
38289 separately. Only pass fractional part of argument to
38291 * math/libm-test.inc (exp2_test): Add more tests.
38293 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
38294 negating x to take absolute value.
38295 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
38297 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
38298 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
38300 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
38301 computing low part if x was negated.
38302 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
38304 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
38306 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
38307 la_x32_gnu_pltexit.
38308 (pltexit): Cast int_retval to ptrdiff_t.
38309 * elf/tst-auditmod3b.c: Likewise.
38310 * elf/tst-auditmod4b.c: Likewise.
38311 * elf/tst-auditmod5b.c: Likewise.
38312 * elf/tst-auditmod6b.c: Likewise.
38313 * elf/tst-auditmod6c.c: Likewise.
38314 * elf/tst-auditmod7b.c: Likewise.
38316 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
38317 and x32_gnu_pltexit.
38319 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
38320 __ELF_NATIVE_CLASS.
38321 (La_x32_regs): New macro.
38322 (La_x32_retval): Likewise.
38323 (la_x32_gnu_pltenter): New function prototype.
38324 (la_x32_gnu_pltexit): Likewise.
38326 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
38328 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
38331 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38333 * configure.in (libc_cv_cc_nofma): Check for option to disable
38334 generation of FMA instructions.
38335 * configure: Regenerate.
38336 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
38337 * sysdeps/ieee754/dbl-64/Makefile: New file.
38338 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
38339 Remove brandred-fma4.
38340 (CFLAGS-brandred-fma4.c): Remove.
38341 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
38342 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
38344 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
38347 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
38349 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
38350 LLONG_MAX != LONG_MAX.
38351 (_itoa_word): Use _ITOA_WORD_TYPE on value.
38352 (_fitoa_word): Likewise.
38353 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
38354 LLONG_MAX != LONG_MAX.
38355 * stdio-common/_itowa.h: Include <_itoa.h>.
38356 (_itowa_word): Use _ITOA_WORD_TYPE on value.
38357 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
38358 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
38359 only if not defined.
38360 (_ITOA_WORD_TYPE): Likewise.
38361 (_itoa_word): Use _ITOA_WORD_TYPE on value.
38362 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
38364 2012-03-21 David S. Miller <davem@davemloft.net>
38366 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38368 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
38370 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
38371 of x86_64 when setting libc_cv_slibdir, libdir and
38373 * sysdeps/unix/sysv/linux/configure: Regenerated.
38375 2012-03-21 Joseph Myers <joseph@codesourcery.com>
38377 * manual/lang.texi (Old Varargs): Remove section.
38378 (How Variadic): Update menu.
38379 (va_start): Do not mention varargs.h.
38381 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
38382 Joseph Myers <joseph@codesourcery.com>
38384 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
38386 * configure: Regenerated.
38388 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
38390 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
38391 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
38394 2012-03-21 Joseph Myers <joseph@codesourcery.com>
38397 * Makefile (files-for-dist): Remove NOTES.
38398 (NOTES): Remove rule.
38399 * README: Don't refer to NOTES.
38400 * manual/creature.texi: Don't include macros.texi.
38401 * manual/intro.texi (creature.texi): Remove comment referring to
38404 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
38405 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
38406 * configure: Regenerated.
38407 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
38408 LIBC_TRY_CC_OPTION.
38409 (libc_cv_as_i686): Likewise.
38410 (libc_cv_cc_avx): Likewise.
38411 (libc_cv_cc_sse2avx): Likewise.
38412 (libc_cv_cc_fma4): Likewise.
38413 (libc_cv_cc_novzeroupper): Likewise.
38414 * sysdeps/i386/configure: Regenerated.
38417 * sysdeps/i386/fpu/s_cexp.S: Remove.
38418 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
38419 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
38420 * math/libm-test.inc (cexp_test): Add more tests.
38421 * sysdeps/i386/fpu/libm-test-ulps: Update.
38422 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38424 2012-03-21 Allan McRae <allan@archlinux.org>
38426 * timezone/Makefile: Do not install iso3166.tab and zone.tab
38428 2012-03-21 Joseph Myers <joseph@codesourcery.com>
38431 * math/w_exp2.c: Do not include <float.h>.
38432 (o_threshold, u_threshold): Remove.
38433 (__exp2): Calculate result before checking finiteness and calling
38435 * math/w_exp2f.c: Likewise.
38436 * math/w_exp2l.c: Likewise.
38437 * math/libm-test.inc (exp2_test): Require overflow exception for
38441 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
38442 range of signed 64-bit integers before using fistpll. Remove
38443 checks for whether integers fit in mantissa bits.
38444 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
38445 the range of signed 32-bit integers before using fistpl. Remove
38446 checks for whether integers fit in mantissa bits.
38447 * sysdeps/i386/fpu/e_powl.S (p64): New object.
38448 (__ieee754_powl): Test for y outside the range of signed 64-bit
38449 integers before using fistpll. Reduce 64-bit values to 63-bit
38451 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
38452 divide-by-zero is raised for zero to large negative powers.
38453 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
38454 (__ieee754_powl): Test for y outside the range of signed 64-bit
38455 integers before using fistpll. Reduce 64-bit values to 63-bit
38457 * math/libm-test.inc (pow_test): Add more tests.
38459 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
38461 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
38462 <stdio-common/_itoa.h>.
38463 * debug/segfault.c: Likewise.
38464 * elf/dl-cache.c: Likewise.
38465 * elf/dl-minimal.c: Likewise.
38466 * elf/dl-misc.c: Likewise.
38467 * elf/dl-sysdep.c: Likewise.
38468 * elf/dl-version.c: Likewise.
38469 * elf/rtld.c: Likewise.
38470 * hurd/hurdsock.c: Likewise.
38471 * hurd/lookup-retry.c: Likewise.
38472 * malloc/malloc.c: Likewise.
38473 * malloc/mtrace.c: Likewise.
38474 * nscd/nscd_getgr_r.c: Likewise.
38475 * nscd/nscd_getpw_r.c: Likewise.
38476 * nscd/nscd_getserv_r.c: Likewise.
38477 * posix/getopt_init.c: Likewise.
38478 * posix/wordexp.c: Likewise.
38479 * stdio-common/_itoa.c: Likewise.
38480 * stdio-common/printf_fphex.c: Likewise.
38481 * stdio-common/vfprintf.c: Likewise.
38482 * string/_strerror.c: Likewise.
38483 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
38484 * sysdeps/i386/i686/hp-timing.h: Likewise.
38485 * sysdeps/mach/_strerror.c: Likewise.
38486 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
38487 * sysdeps/mach/hurd/sethostid.c: Likewise.
38488 * sysdeps/mach/hurd/xmknodat.c: Likewise.
38489 * sysdeps/mach/xpg-strerror.c: Likewise.
38490 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
38491 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
38492 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
38493 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
38494 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
38495 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
38496 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
38497 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
38498 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
38499 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
38500 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
38501 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
38502 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
38503 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
38504 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
38505 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
38506 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
38507 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
38508 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
38509 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
38510 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
38512 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
38514 * stdio-common/_itoa.h: Moved to ...
38515 * sysdeps/generic/_itoa.h: Here.
38517 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
38519 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
38520 instead of "_itoa.h" and "_itowa.h".
38521 * stdio-common/vfprintf.: Likewise.
38523 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
38525 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
38527 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
38528 (__signbit): Likwise.
38529 (llrintf): Likwise.
38532 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
38534 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
38537 2012-03-20 Joseph Myers <joseph@codesourcery.com>
38539 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
38540 OVERFLOW_EXCEPTION_OK.
38541 * math/libm-test.inc ("Philosophy"): Update comment about
38543 (OVERFLOW_EXCEPTION): Define.
38544 (OVERFLOW_EXCEPTION_OK): Likewise.
38545 (INVALID_EXCEPTION_OK): Renumber.
38546 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
38547 (IGNORE_ZERO_INF_SIGN): Likewise.
38548 (test_exceptions): Handle FE_OVERFLOW.
38549 (exp10_test): Expect overflow exceptions.
38550 (exp2_test): Likewise.
38551 (expm1_test): Likewise.
38552 (nextafter_test): Likewise.
38553 (pow_test): Likewise.
38554 (scalbn_test): Likewise.
38555 (scalbln_test): Likewise.
38557 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
38559 * sysdeps/x86_64/bits/atomic.h
38560 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
38562 (atomic_exchange_acq): Likewise.
38563 (__arch_exchange_and_add_body): Likewise.
38564 (__arch_add_body): Likewise.
38565 (atomic_add_negative): Likewise.
38566 (atomic_add_zero): Likewise.
38568 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
38570 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
38571 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
38573 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
38575 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
38576 Check __x86_64__ instead of __WORDSIZE.
38578 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
38580 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
38582 2012-03-19 David S. Miller <davem@davemloft.net>
38584 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38586 * sysdeps/sparc/fpu/fenv_private.h: New file.
38587 * sysdeps/sparc/fpu/math_private.h: Use it.
38588 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
38590 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
38591 (libc_feholdexcept_setroundl): Remove.
38592 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
38594 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
38595 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
38597 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
38599 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
38600 int64_t instead of long int.
38601 (INSERT_WORDS64): Likwise.
38603 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
38605 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
38606 _Unwind_GetCFA return to _Unwind_Ptr first.
38608 2012-03-19 Joseph Myers <joseph@codesourcery.com>
38611 * math/s_clog.c: Include <float.h>.
38612 (__clog): Scale large or subnormal inputs.
38613 * math/s_clogf.c: Likewise.
38614 * math/s_clogl.c: Likewise.
38615 * math/s_clog10.c: Include <float.h>.
38616 (M_LOG10_2): Define.
38617 (__clog10): Scale large or subnormal inputs.
38618 * math/s_clog10f.c: Likewise.
38619 * math/s_clog10l.c: Likewise.
38620 * math/libm-test.inc (clog_test): Add more tests.
38621 (clog10_test): Likewise.
38622 * sysdeps/i386/fpu/libm-test-ulps: Update.
38623 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38626 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
38628 * math/libm-test.inc (atan2_test): Add another test.
38630 * Makerules (common-objdir-compile): Remove.
38631 * sysdeps/unix/Makefile (config-generated): Do not add
38632 $(unix-generated) to variable.
38633 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
38634 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
38636 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
38638 [generic bits/local_lim.h] (before-compile): Do not append to
38640 [generic bits/local_lim.h] (common-generated): Likewise.
38641 [generic sys/param.h] (before-compile): Do not append to variable.
38642 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
38643 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
38644 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
38645 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
38647 [generic sys/param.h] (sys/param.h-includes): Remove variable.
38648 [generic sys/param.h] (sys/param.h-includes): Remove rule.
38649 [generic sys/param.h] ($(addprefix
38650 $(common-objpfx),$(sys/param.h-includes))): Likewise.
38651 [generic sys/param.h] (common-generated): Do not append to
38653 [generic sys/param.h] (sysdep_headers): Likewise.
38654 [generic bits/errno.h] (before-compile): Do not append to
38656 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
38658 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
38659 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
38660 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
38661 [generic bits/errno.h] (common-generated): Do not append to
38663 [generic bits/ioctls.h] (before-compile): Do not append to
38665 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
38667 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
38668 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
38669 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
38671 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
38672 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
38673 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
38674 [generic bits/ioctls.h] (common-generated): Do not append to
38676 [generic sys/syscall.h] (syscall.h): Remove variable.
38677 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
38679 [generic sys/syscall.h] (before-compile): Do not append to
38681 [generic sys/syscall.h] (common-generated): Likewise.
38682 * sysdeps/unix/errnos-tmpl.c: Remove file.
38683 * sysdeps/unix/errnos.awk: Likewise.
38684 * sysdeps/unix/ioctls-tmpl.c: Likewise.
38685 * sysdeps/unix/ioctls.awk: Likewise.
38686 * sysdeps/unix/mk-local_lim.c: Likewise.
38687 * sysdeps/unix/snarf-ioctls: Likewise.
38689 2012-03-19 Richard Henderson <rth@twiddle.net>
38691 * sysdeps/i386/fpu/fenv_private.h: New file.
38692 * sysdeps/i386/fpu/math_private.h: Use it.
38693 (math_opt_barrier, math_force_eval): Remove.
38694 (libc_feholdexcept_setround_53bit): Remove.
38695 (libc_feupdateenv_53bit): Remove.
38696 * sysdeps/x86_64/fpu/math_private.h: Likewise.
38697 (math_opt_barrier, math_force_eval): Remove.
38698 (libc_feholdexcept): Remove.
38699 (libc_feholdexcept_setround): Remove.
38700 (libc_fetestexcept, libc_fesetenv): Remove.
38701 (libc_feupdateenv_test): Remove.
38702 (libc_feupdateenv, libc_feholdsetround): Remove.
38703 (libc_feresetround): Remove.
38705 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
38706 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
38708 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
38709 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
38710 (libc_feupdateenv_testl): New.
38711 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
38712 (libc_feupdateenv_testf): New.
38713 (libc_feupdateenv): Use libc_feupdateenv_test.
38714 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
38715 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
38717 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
38718 (libc_feholdsetroundf, libc_feholdsetroundl): New.
38719 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
38720 (libc_feresetround_noex): New.
38721 (libc_feresetround_noexf): New.
38722 (libc_feresetround_noexl): New.
38723 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
38724 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
38725 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
38726 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
38728 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
38729 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
38731 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
38732 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
38733 SET_RESTORE_ROUND_NOEX.
38734 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
38735 SET_RESTORE_ROUND_NOEXF.
38736 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
38737 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
38738 (libc_feholdsetroundf): New.
38739 (libc_feresetround, libc_feresetroundf): New.
38741 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
38742 (libc_feholdexcept_setround_53bit): Convert from macro to function.
38743 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
38745 * sysdeps/generic/math_private.h: Include <fenv.h>.
38746 (default_libc_feholdexcept): New.
38747 (default_libc_feholdexcept_setround): New.
38748 (default_libc_fesetenv, default_libc_feupdateenv): New.
38749 (libc_feholdexcept): Only define if undefined.
38750 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
38751 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
38752 (libc_feholdexcept_setroundl): Likewise.
38753 (libc_feholdexcept_setround_53bit): Likewise.
38754 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
38755 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
38756 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
38757 (libc_feupdateenv_53bit): Likewise.
38758 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
38759 (libc_feholdexcept): Convert from macro to inline function.
38760 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
38761 (libc_fesetenv, libc_feupdateenv): Likewise.
38763 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
38764 not previously defined.
38765 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
38766 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
38767 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
38768 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
38769 * sysdeps/ieee754/flt-32/math_private.h: New file.
38770 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
38771 math_private.h below SET_FLOAT_WORD.
38772 (__isnan, __isinf_ns, __finite): Remove.
38773 (__isnanf, __isinf_nsf, __finitef): Remove.
38775 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
38777 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38779 2012-03-17 David S. Miller <davem@davemloft.net>
38782 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
38785 2012-03-16 David S. Miller <davem@davemloft.net>
38787 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
38791 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
38793 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
38794 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
38795 sysdep_routines when subdir is sysvipc.
38796 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
38797 __getshmlba helper.
38799 * sysdeps/sparc/fpu/libm-test/ulps: Update.
38801 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
38803 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
38806 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
38808 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
38809 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
38810 (__lround): Renamed to ...
38811 (__llround): This. Replace long int with long long int.
38812 Define lround functions as aliases of llround functions.
38813 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
38815 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
38817 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
38818 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
38819 adresses to uintptr_t. Replace "long int" and "unsigned long
38820 int" with "greg_t" on va_arg.
38822 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
38824 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
38825 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
38827 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
38828 Move e_machine check before EI_CLASS check. Handle x32
38829 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
38830 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
38831 SKIP_EM_IA_64 and include
38832 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
38834 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
38835 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
38836 (add_system_dir): New macro.
38838 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
38839 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
38841 2012-03-16 Joseph Myers <joseph@codesourcery.com>
38852 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
38854 * math/w_j0f.c (j0f): Likewise.
38856 * math/w_j0l.c (__j0l): Likewise.
38858 * math/w_j1.c (j1): Likewise.
38860 * math/w_j1f.c (j1f): Likewise.
38862 * math/w_j1l.c (__j1l): Likewise.
38864 * math/w_jn.c (jn): Likewise.
38866 * math/w_jnf.c (jnf): Likewise.
38868 * math/w_jnl.c (__jnl): Likewise.
38870 * math/libm-test.inc (j0_test): Add more tests.
38871 (j1_test): Likewise.
38872 (jn_test): Likewise. Add trailing semicolon to existing test.
38873 (y0_test): Likewise.
38874 (y1_test): Likewise.
38875 * sysdeps/i386/fpu/libm-test-ulps: Update.
38876 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38880 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
38881 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
38882 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
38883 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
38884 (__tanl): Set errno for infinite argument.
38885 * sysdeps/i386/fpu/mptan.c: Remove.
38886 * sysdeps/i386/fpu/s_tan.S: Likewise.
38887 * sysdeps/i386/fpu/s_tanl.S: Likewise.
38888 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
38889 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
38890 * math/libm-test.inc (tan_test): Add more tests and enable more
38891 tests for double and long double.
38892 * sysdeps/i386/fpu/libm-test-ulps: Update.
38893 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38895 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
38897 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
38898 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
38900 2012-03-16 Roland McGrath <roland@hack.frob.com>
38902 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
38903 * configure.in: Use it for both main tree and add-ons.
38904 * configure: Regenerated.
38906 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
38908 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
38910 2012-03-16 Joseph Myers <joseph@codesourcery.com>
38912 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
38916 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
38917 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
38918 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
38919 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
38920 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
38922 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
38923 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
38924 != 0 for prec == 2.
38925 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
38926 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
38927 * sysdeps/i386/fpu/s_cosl.S: Likewise.
38928 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
38929 * sysdeps/i386/fpu/s_sinl.S: Likewise.
38930 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
38931 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
38932 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
38933 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
38934 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
38935 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
38936 * math/libm-test.inc (cos_test): Add more tests and enable more
38937 tests for long double.
38938 (sin_test): Likewise.
38939 (sincos_test): Likewise.
38940 * sysdeps/i386/fpu/libm-test-ulps: Update.
38941 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38943 2012-03-16 David S. Miller <davem@davemloft.net>
38945 * sysdeps/sparc/fpu/math_private.h: New file.
38947 2012-03-15 David S. Miller <davem@davemloft.net>
38949 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
38951 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
38952 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
38954 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
38955 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
38956 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
38957 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
38958 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
38959 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
38961 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
38963 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
38964 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
38966 * sysdeps/sparc/sparc-ifunc.h: New file.
38967 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
38969 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
38970 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
38972 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
38974 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
38975 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
38976 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
38977 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
38979 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
38980 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
38981 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
38982 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
38983 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
38985 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
38987 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
38988 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
38989 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
38990 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
38991 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
38992 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
38993 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
38994 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
38995 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
38996 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
38997 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
38998 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
38999 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
39000 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
39001 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
39002 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
39003 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
39004 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
39005 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
39006 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
39007 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
39008 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
39009 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
39010 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
39012 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
39014 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
39016 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39018 2012-03-15 Andreas Jaeger <aj@suse.de>
39021 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
39022 ieee754/flt-32 implementation for sin, cos and sincos.
39023 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
39024 * sysdeps/i386/fpu/s_cosf.S: Likewise.
39025 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
39026 * sysdeps/i386/fpu/s_sinf.S: Likewise.
39027 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
39028 ieee754/flt-32 implementation for tan.
39030 * math/libm-test.inc (cos_test): Enable some large input tests for
39032 (sin_test): Likewise.
39033 (sincos_test): Likewise.
39034 (tan_test): Add tests for large input.
39036 * sysdeps/i386/fpu/libm-test-ulps: Update.
39038 2012-03-15 Andreas Jaeger <aj@suse.de>
39041 * math/libm-test.inc (cos_test): Add more test cases.
39042 (sin_test): Likewise.
39043 (sincos_test): Likewise.
39045 2012-03-15 Andreas Jaeger <aj@suse.de>
39048 * math/libm-test.inc (cos_test): Add a test case for large input
39050 (sin_test): Likewise.
39051 (sincos_test): Likewise.
39053 2012-03-15 Andreas Jaeger <aj@suse.de>
39054 Joseph Myers <joseph@codesourcery.com>
39057 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
39058 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
39059 * sysdeps/i386/fpu/branred.c: Likewise.
39060 * sysdeps/i386/fpu/dosincos.c: Likewise.
39061 * sysdeps/i386/fpu/mpa.c: Likewise.
39062 * sysdeps/i386/fpu/s_cos.S: Likewise.
39063 * sysdeps/i386/fpu/s_sin.S: Likewise.
39064 * sysdeps/i386/fpu/s_sincos.S: Likewise.
39065 * sysdeps/i386/fpu/sincos32.c: Likewise.
39067 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
39069 (libc_feupdateenv_53bit): Define.
39070 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
39072 (libc_feupdateenv_53bit): Define.
39074 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
39075 53 bit (without extend i386 double precision).
39077 * math/libm-test.inc (sincos_test): Add tests for large input.
39081 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
39083 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
39085 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39087 2012-03-15 David S. Miller <davem@davemloft.net>
39089 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
39090 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
39091 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
39092 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
39093 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
39094 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
39095 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
39096 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
39097 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
39098 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
39099 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
39100 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
39101 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
39102 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
39103 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
39104 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
39106 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
39107 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
39109 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
39110 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
39112 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
39113 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
39115 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
39116 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
39117 fmin/fmax sysdep routines.
39118 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
39120 2012-03-14 David S. Miller <davem@davemloft.net>
39122 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
39123 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
39124 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
39125 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
39126 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
39127 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
39128 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
39129 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
39130 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
39131 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
39132 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
39133 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
39134 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
39135 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
39136 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
39137 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
39138 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
39139 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
39140 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
39141 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
39142 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
39143 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
39144 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
39145 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
39146 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
39147 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
39148 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
39149 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
39150 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
39152 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
39154 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
39155 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
39157 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
39158 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
39160 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
39161 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
39163 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
39164 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
39166 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
39167 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
39169 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
39171 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
39173 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
39175 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
39177 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
39179 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
39181 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
39182 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
39184 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
39185 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
39187 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
39188 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
39190 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
39191 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
39194 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
39197 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39199 * sysdeps/sparc/configure.in: New file.
39200 * sysdeps/sparc/configure: Generate.
39201 * configure.in (libc_cv_sparc_as_vis3): Substitute.
39202 * configure: Regenerate.
39203 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
39204 * config.make.in (have-as-vis3): New.
39205 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
39206 available use -Av9d instead of -Av9a.
39207 * sysdeps/sparc/sparc64/Makefile: Likewise.
39208 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
39209 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
39211 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
39213 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
39215 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
39217 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
39218 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
39219 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
39220 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
39221 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
39223 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
39224 fzeros/fnegs to load 0x80000000 into a float register instead of
39226 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
39228 2012-03-14 Joseph Myers <joseph@codesourcery.com>
39230 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39232 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
39233 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
39234 ($(inst_includedir)/bits/syscall.h): Remove rule.
39235 ($(objpfx)bits/syscall.d): Include instead of
39236 $(objpfx)syscall-list.d.
39237 (generated): Change syscall-list.h and syscall-list.d to
39238 bits/syscall.h and bits/syscall.d.
39240 2012-03-14 Roland McGrath <roland@hack.frob.com>
39243 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
39245 2012-03-14 Joseph Myers <joseph@codesourcery.com>
39248 * math/s_csqrt.c: Include <float.h>.
39249 (__csqrt): Scale large or subnormal inputs.
39250 * math/s_csqrtf.c: Likewise.
39251 * math/s_csqrtl.c: Likewise.
39252 * math/libm-test.inc (csqrt_test): Add more tests.
39253 * sysdeps/i386/fpu/libm-test-ulps: Update.
39254 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39257 * math/libm-test.inc (hypot_test): Add more tests.
39259 2012-03-13 David S. Miller <davem@davemloft.net>
39262 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
39263 double-precision for the calculation instead of scaling.
39265 2012-03-13 Joseph Myers <joseph@codesourcery.com>
39267 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
39268 manipulate bits before adding and subtracting TWO52[sx].
39269 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
39270 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
39272 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
39274 2012-03-13 David S. Miller <davem@davemloft.net>
39276 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
39277 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
39278 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
39279 rtld-global-offsets.h
39280 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
39282 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
39285 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
39287 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
39288 'err' in the ifdef scope in which it is actually used.
39290 * nss/nss_db/db-init.c: Include string.h
39292 2012-03-12 David S. Miller <davem@davemloft.net>
39294 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
39295 masking out of the most significant byte of random value used.
39296 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
39297 Fix coding style in previous change.
39299 * sysdeps/unix/sysv/linux/kernel-features.h
39300 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
39301 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
39303 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
39306 2012-03-11 David S. Miller <davem@davemloft.net>
39308 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
39309 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
39310 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
39311 for 'resultvar' otherwise things get truncated on 64-bit.
39313 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
39314 Fix masking out of the most significant byte of random value used.
39316 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39318 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
39320 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39322 2012-03-09 David S. Miller <davem@davemloft.net>
39324 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
39325 variables with appropriate CPP guards.
39326 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
39327 from the frame pointer, not the stack pointer. Correct layout
39328 comments. Fix test on resulting framesize and the management of
39329 the outregs buffer for pltexit. Preserve floating point return
39330 values across _dl_call_pltexit call.
39331 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
39332 framesize and the management of the outregs buffer for pltexit.
39333 Preserve floating point return values across _dl_call_pltexit
39335 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
39336 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
39337 (la_sparc64_gnu_pltexit): New functions.
39338 (print_exit): Fix format string for return register value.
39340 2012-03-10 Joseph Myers <joseph@codesourcery.com>
39342 * sunrpc/Makefile (others): Add rpcgen.
39343 ($(objpfx)rpcgen): Remove special build rule and dependency on
39345 * sunrpc/rpcgen.c: New file.
39347 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
39350 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
39351 * stdio-common/bug-vfprintf-nargs.c: Likewise.
39352 * sysdeps/i386/crti.S: Likewise.
39353 * sysdeps/i386/crtn.S: Likewise.
39354 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
39355 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
39356 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
39357 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
39358 * sysdeps/sh/crti.S: Likewise.
39359 * sysdeps/sh/crtn.S: Likewise.
39360 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
39363 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
39365 * locale/programs/locfile-kw.gperf: Likewise.
39366 * locale/programs/charmap-kw.h: Regenerated.
39367 * locale/programs/locfile-kw.h: Likewise.
39370 * intl/plural.y: Replace FSF snail mail address with URL.
39371 * intl/plural.c: Regenerated.
39373 2012-03-09 Richard Henderson <rth@twiddle.net>
39375 * include/math_private.h: Remove file.
39376 * math/math_private.h: Move file ...
39377 * sysdeps/generic/math_private.h: ... here.
39379 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
39380 * sysdeps/powerpc/fpu/math_private.h: Likewise.
39381 * sysdeps/x86_64/fpu/math_private.h: Likewise.
39383 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
39384 and <math_private.h>.
39385 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
39386 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
39387 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
39388 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
39389 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
39390 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
39391 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
39392 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
39393 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
39394 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
39395 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
39396 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
39397 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
39398 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
39399 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
39400 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
39401 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
39402 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
39403 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
39404 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
39405 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39406 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
39407 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
39408 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39409 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
39410 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
39411 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
39412 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
39413 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
39414 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
39415 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
39416 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
39417 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
39418 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
39419 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
39420 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
39421 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
39422 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
39423 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
39424 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
39425 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
39426 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
39427 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
39428 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
39429 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
39430 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
39431 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
39432 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
39433 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
39434 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
39435 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
39436 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
39437 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
39438 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
39439 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
39440 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
39441 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
39442 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
39443 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
39444 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
39445 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
39446 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
39447 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
39448 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
39449 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
39450 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
39451 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
39452 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
39453 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
39454 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
39455 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
39456 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
39457 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
39458 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
39459 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
39460 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
39461 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
39462 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
39463 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
39464 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
39465 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
39466 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
39467 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
39468 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
39469 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
39470 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
39471 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
39472 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
39473 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
39474 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
39475 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
39476 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
39477 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
39478 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
39479 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
39480 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
39481 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
39482 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
39483 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
39484 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
39485 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
39486 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
39487 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
39488 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
39489 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
39490 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
39491 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
39492 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
39493 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
39494 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
39495 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
39496 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
39497 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
39498 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
39499 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
39500 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
39501 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
39502 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
39503 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
39504 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
39505 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
39506 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
39507 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
39508 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
39509 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
39510 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
39511 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
39512 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
39513 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
39514 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
39515 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
39516 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
39517 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
39518 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
39519 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
39520 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
39521 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
39522 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
39523 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
39524 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
39525 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
39526 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
39527 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
39528 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
39529 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
39530 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
39531 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
39532 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
39533 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
39534 * sysdeps/ieee754/k_standard.c: Likewise.
39535 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
39536 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
39537 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
39538 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
39539 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
39540 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
39541 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
39542 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
39543 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
39544 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
39545 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
39546 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
39547 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
39548 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
39549 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
39550 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
39551 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
39552 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
39553 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
39554 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
39555 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
39556 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
39557 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
39558 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
39559 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
39560 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
39561 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
39562 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
39563 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
39564 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
39565 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
39566 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
39567 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
39568 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
39569 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
39570 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
39571 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
39572 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
39573 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
39574 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
39575 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
39576 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
39577 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
39578 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
39579 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
39580 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
39581 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
39582 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
39583 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
39584 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
39585 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
39586 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
39587 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
39588 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
39589 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
39590 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
39591 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
39592 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
39593 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
39594 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
39595 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
39596 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
39597 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
39598 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
39599 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
39600 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
39601 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
39602 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
39603 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
39604 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
39605 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
39606 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
39607 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
39608 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
39609 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
39610 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
39611 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
39612 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
39613 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
39614 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
39615 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
39616 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
39617 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
39618 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
39619 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
39620 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
39621 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
39622 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
39623 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
39624 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
39625 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
39626 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
39627 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
39628 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
39629 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
39630 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
39631 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
39632 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
39633 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
39634 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
39635 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
39636 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
39637 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
39638 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
39639 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
39640 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
39641 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
39642 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
39643 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
39644 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
39645 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
39646 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
39647 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
39648 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
39649 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
39650 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
39651 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
39652 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
39653 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
39654 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
39655 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
39656 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
39657 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
39658 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
39659 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
39660 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
39661 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
39662 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
39663 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
39664 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
39665 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
39666 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
39667 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
39668 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
39669 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
39670 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
39671 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
39672 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
39673 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
39674 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
39675 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
39676 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
39677 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
39678 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
39679 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
39680 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
39681 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
39682 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
39683 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
39684 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
39685 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
39686 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
39687 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
39688 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
39689 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
39690 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
39691 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
39692 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
39693 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
39694 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
39695 * sysdeps/ieee754/s_lib_version.c: Likewise.
39696 * sysdeps/ieee754/s_matherr.c: Likewise.
39697 * sysdeps/ieee754/s_signgam.c: Likewise.
39698 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
39699 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
39700 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
39701 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
39702 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
39703 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
39704 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
39705 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
39706 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
39707 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
39708 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
39709 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
39710 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
39711 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
39712 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
39713 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
39714 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
39715 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
39716 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
39717 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
39718 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
39720 2012-03-09 Joseph Myers <joseph@codesourcery.com>
39722 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
39723 * sunrpc/rpc_main.c: Likewise.
39724 * sunrpc/rpc_svcout.c: Likewise.
39726 2012-03-09 David S. Miller <davem@davemloft.net>
39728 * include/math_private.h: New file.
39730 2012-03-09 Joseph Myers <joseph@codesourcery.com>
39732 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
39733 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
39734 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
39735 from <bits/socket_type.h>.
39736 (enum __socket_type): Don't define here.
39737 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
39738 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39739 bits/socket_type.h.
39742 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
39743 checking __USE_GNU.
39745 * Makerules ($(inst_includedir)/%.h): New rule.
39746 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
39747 (install-others): Remove variable setting.
39748 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
39750 2012-03-08 Richard Henderson <rth@twiddle.net>
39752 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
39753 from macro to inline function; merge with the
39754 !__LIBC_INTERNAL_MATH_INLINES version.
39755 (__ieee754_sqrtf): Likewise.
39757 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
39758 to inline function.
39759 (__rintf, __floor, __floorf): Likewise.
39761 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
39762 macro to inline function.
39763 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
39765 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
39766 not <math/math_private.h>.
39768 2012-03-08 David S. Miller <davem@davemloft.net>
39770 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
39772 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
39774 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
39776 * resolv/gai_misc.c (handle_requests): Fix struct timespec
39778 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
39779 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
39781 2012-03-08 Ulrich Drepper <drepper@gmail.com>
39783 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
39784 be defined individually, they must be defined as a block. Define
39785 S for printing a string instead of hidint the different by using a
39786 macro for adding the 'l'.
39787 * stdio-common/tst-fphex-wide.c: Adjust.
39789 2012-03-07 Marek Polacek <polacek@redhat.com>
39791 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
39793 2012-03-08 Marek Polacek <polacek@redhat.com>
39796 * stdio-common/Makefile (tests): Add tst-fphex-wide.
39797 * stdio-common/tst-fphex.c: Define a few macros to make the
39798 test reusable. Use them.
39799 * stdio-common/tst-fphex-wide.c: New file.
39801 2012-03-08 Joseph Myers <joseph@codesourcery.com>
39804 * manual/macros.texi (gnusystems): New macro.
39805 (nongnusystems): Likewise.
39806 (gnulinuxhurdsystems): Likewise.
39807 (gnuhurdsystems): Likewise..
39808 (gnulinuxsystems): Likewise.
39809 * manual/charset.texi: Use new macros or @theglibc{} to refer to
39810 variants of the GNU system, not "GNU system".
39811 * manual/conf.texi: Likewise.
39812 * manual/errno.texi: Likewise. Update example of errno macro
39814 * manual/filesys.texi: Likewise.
39815 (getumask): Document as specific to GNU/Hurd.
39816 * manual/install.texi: Likewise. Reword some references to
39818 * manual/intro.texi: Likewise.
39819 * manual/io.texi: Likewise.
39820 (File Name Portability): Detail which constraints are inapplicable
39821 to all GNU systems and which are only inapplicable to GNU/Hurd.
39822 * manual/job.texi: Likewise.
39823 * manual/llio.texi: Likewise.
39824 (O_NOCTTY): Document as present on GNU/Linux.
39825 * manual/maint.texi: Likewise.
39826 * manual/memory.texi: Likewise.
39827 * manual/pattern.texi: Likewise.
39828 * manual/pipe.texi: Likewise.
39829 * manual/process.texi: Likewise.
39830 * manual/resource.texi: Likewise.
39831 (RUSAGE_CHILDREN): Remove statement about specifying a particular
39833 * manual/setjmp.texi: Likewise.
39834 * manual/signal.texi: Likewise.
39835 * manual/startup.texi: Likewise.
39836 * manual/stdio.texi: Likewise.
39837 * manual/terminal.texi: Likewise.
39838 (ONLCR): Document as POSIX.
39839 (OXTABS): Document availability on GNU/Linux as XTABS.
39840 (ONOEOT): Document availability separately from other bits.
39841 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
39842 * manual/time.texi: Likewise.
39843 * manual/users.texi: Likewise.
39844 * INSTALL: Regenerated.
39845 * sysdeps/gnu/errlist.c: Regenerated.
39847 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
39848 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
39849 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
39851 * configure: Regenerated.
39853 2012-03-07 Joseph Myers <joseph@codesourcery.com>
39855 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
39856 default includes instead of AC_HEADER_CHECK.
39857 * sysdeps/i386/configure: Regenerated.
39860 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
39861 * math/s_cacoshf.c (__cacoshf): Likewise.
39862 * math/s_cacoshl.c (__cacoshl): Likewise.
39863 * math/s_casinh.c (__casinh): Set signs of result from argument.
39864 * math/s_casinhf.c (__casinhf): Likewise.
39865 * math/s_casinhl.c (__casinhl): Likewise.
39866 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
39867 (casinh_test): Add more tests.
39868 * sysdeps/i386/fpu/libm-test-ulps: Update.
39869 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39871 2012-03-07 Ulrich Drepper <drepper@gmail.com>
39873 * po/zh_TW.po: Update from translation team.
39875 * login/Makefile (distribute): Remove variable.
39876 * catgets/Makefile: Likewise.
39877 * mach/Makefile: Likewise.
39878 * malloc/Makefile: Likewise.
39879 * misc/Makefile: Likewise.
39880 * iconv/Makefile: Likewise.
39881 * nscd/Makefile: Likewise.
39882 * hurd/Makefile: Likewise.
39883 * manual/Makefile: Likewise.
39884 * locale/Makefile: Likewise.
39885 * intl/Makefile: Likewise.
39886 * conform/Makefile: Likewise.
39887 * nss/Makefile: Likewise.
39888 * time/Makefile: Likewise.
39889 * soft-fp/Makefile: Likewise.
39890 * dirent/Makefile: Likewise.
39891 * gmon/Makefile: Likewise.
39892 * po/Makefile: Likewise.
39893 * rt/Makefile: Likewise.
39894 * socket/Makefile: Likewise.
39895 * math/Makefile: Likewise.
39896 * signal/Makefile: Likewise.
39897 * debug/Makefile: Likewise.
39898 * elf/Makefile: Likewise.
39899 * timezone/Makefile: Likewise.
39900 * stdlib/Makefile: Likewise.
39901 * iconvdata/Makefile: Likewise.
39902 * sunrpc/Makefile: Likewise.
39903 * io/Makefile: Likewise.
39904 * argp/Makefile: Likewise.
39905 * inet/Makefile: Likewise.
39906 * hesiod/Makefile: Likewise.
39907 * grp/Makefile: Likewise.
39908 * csu/Makefile: Likewise.
39909 * wctype/Makefile: Likewise.
39910 * crypt/Makefile: Likewise.
39911 * libio/Makefile: Likewise.
39912 * string/Makefile: Likewise.
39913 * nis/Makefile: Likewise.
39914 * resolv/Makefile: Likewise.
39915 * stdio-common/Makefile: Likewise.
39916 * wcsmbs/Makefile: Likewise.
39917 * dlfcn/Makefile: Likewise.
39918 * posix/Makefile: Likewise.
39921 * timezone/Makefile: Don't install timezone files, just the programs
39924 2012-03-06 Ulrich Drepper <drepper@gmail.com>
39926 * nss/databases.def: Add missing gshadow entry.
39928 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
39930 2012-03-06 Marek Polacek <polacek@redhat.com>
39933 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
39934 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
39935 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
39936 * stdio-common/tst-long-dbl-fphex.c: New file.
39938 2012-03-06 David S. Miller <davem@davemloft.net>
39940 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
39941 (set_obp_int): New function.
39942 (get_obp_int): New function.
39943 (__get_clockfreq_via_dev_openprom): Likewise.
39944 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
39945 Avoid unused variable warnings on 'val' and use builtin_expect.
39946 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
39948 (INLINE_CLONE_SYSCALL): Likewise.
39950 2012-03-05 David S. Miller <davem@davemloft.net>
39952 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39954 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
39956 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39958 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
39959 only for |x| >= 40.
39960 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
39962 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
39964 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
39965 Replace gettimeofday with __vdso_gettimeofday.
39967 * sysdeps/unix/sysv/linux/x86_64/init-first.c
39968 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
39969 __vdso_clock_gettime and __vdso_getcpu.
39971 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
39972 time with __vdso_time.
39974 2012-03-05 Joseph Myers <joseph@codesourcery.com>
39976 * manual/lang.texi (size_t): Note types to which size_t may be
39977 equivalent with the GNU C Library, but do not describe when
39978 differences between them are significant.
39980 2012-03-05 Andreas Jaeger <aj@suse.de>
39982 * sysdeps/i386/fpu/libm-test-ulps: Update.
39984 2012-03-05 Joseph Myers <joseph@codesourcery.com>
39987 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
39988 (__ieee754_pow): Save and restore rounding mode and use
39989 round-to-nearest for main computations.
39990 * math/libm-test.inc (pow_test_tonearest): New function.
39991 (pow_test_towardzero): Likewise.
39992 (pow_test_downward): Likewise.
39993 (pow_test_upward): Likewise.
39994 (main): Call the new functions.
39995 * sysdeps/i386/fpu/libm-test-ulps: Update.
39996 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39999 * math/libm-test.inc (cosh_test_tonearest): New function.
40000 (cosh_test_towardzero): Likewise.
40001 (cosh_test_downward): Likewise.
40002 (cosh_test_upward): Likewise.
40003 (sinh_test_tonearest): Likewise.
40004 (sinh_test_towardzero): Likewise.
40005 (sinh_test_downward): Likewise.
40006 (sinh_test_upward): Likewise.
40007 (main): Call the new functions.
40008 * sysdeps/i386/fpu/libm-test-ulps: Update.
40009 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40011 2012-03-05 Tom de Vries <tom@codesourcery.com>
40013 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
40014 default stack guard is set in last bytes.
40015 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
40017 2012-03-05 Kees Cook <keescook@chromium.org>
40019 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
40022 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
40023 possibly allocate from heap instead of stack.
40024 * stdio-common/bug-vfprintf-nargs.c: New file.
40025 * stdio-common/Makefile (tests): Add nargs overflow test.
40027 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
40029 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40031 2012-03-03 Marek Polacek <polacek@redhat.com>
40033 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
40034 * math/math_private.h: Likewise.
40035 * stdlib/tst-strtod.c: Likewise.
40036 * sysdeps/i386/i486/bits/atomic.h: Likewise.
40037 * sysdeps/x86_64/bits/atomic.h: Likewise.
40039 2012-03-02 David S. Miller <davem@davemloft.net>
40041 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
40042 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
40043 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
40044 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
40045 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
40046 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
40047 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
40048 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
40050 2012-03-02 Roland McGrath <roland@hack.frob.com>
40053 * manual/examples/README: New file, says the example source files
40054 can be used under GPL>=2.
40055 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
40056 line containing just "*/".
40057 * manual/examples/add.c: Add copyright header (GPL>=2).
40058 * manual/examples/argp-ex1.c: Likewise.
40059 * manual/examples/argp-ex2.c: Likewise.
40060 * manual/examples/argp-ex3.c: Likewise.
40061 * manual/examples/argp-ex4.c: Likewise.
40062 * manual/examples/atexit.c: Likewise.
40063 * manual/examples/db.c: Likewise.
40064 * manual/examples/dir.c: Likewise.
40065 * manual/examples/dir2.c: Likewise.
40066 * manual/examples/execinfo.c: Likewise.
40067 * manual/examples/filecli.c: Likewise.
40068 * manual/examples/filesrv.c: Likewise.
40069 * manual/examples/fmtmsgexpl.c: Likewise.
40070 * manual/examples/genpass.c: Likewise.
40071 * manual/examples/inetcli.c: Likewise.
40072 * manual/examples/inetsrv.c: Likewise.
40073 * manual/examples/isockad.c: Likewise.
40074 * manual/examples/longopt.c: Likewise.
40075 * manual/examples/memopen.c: Likewise.
40076 * manual/examples/memstrm.c: Likewise.
40077 * manual/examples/mkfsock.c: Likewise.
40078 * manual/examples/mkisock.c: Likewise.
40079 * manual/examples/mygetpass.c: Likewise.
40080 * manual/examples/pipe.c: Likewise.
40081 * manual/examples/popen.c: Likewise.
40082 * manual/examples/rprintf.c: Likewise.
40083 * manual/examples/search.c: Likewise.
40084 * manual/examples/select.c: Likewise.
40085 * manual/examples/setjmp.c: Likewise.
40086 * manual/examples/sigh1.c: Likewise.
40087 * manual/examples/sigusr.c: Likewise.
40088 * manual/examples/stpcpy.c: Likewise.
40089 * manual/examples/strdupa.c: Likewise.
40090 * manual/examples/strftim.c: Likewise.
40091 * manual/examples/strncat.c: Likewise.
40092 * manual/examples/subopt.c: Likewise.
40093 * manual/examples/swapcontext.c: Likewise.
40094 * manual/examples/termios.c: Likewise.
40095 * manual/examples/testopt.c: Likewise.
40096 * manual/examples/testpass.c: Likewise.
40097 * manual/examples/timeval_subtract.c: Likewise.
40100 * manual/time.texi (Elapsed Time): Move timeval_subtract example
40102 * manual/timeval_subtract.c.texi: ... here, new file.
40104 2012-03-02 David S. Miller <davem@davemloft.net>
40106 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
40108 2012-03-02 Joseph Myers <joseph@codesourcery.com>
40111 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
40112 (__sin): Save and restore rounding mode and use round-to-nearest
40113 for all computations.
40114 (__cos): Save and restore rounding mode and use round-to-nearest
40115 for all computations.
40116 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
40118 (tan): Save and restore rounding mode and use round-to-nearest for
40120 * math/libm-test.inc (cos_test_tonearest): New function.
40121 (cos_test_towardzero): Likewise.
40122 (cos_test_downward): Likewise.
40123 (cos_test_upward): Likewise.
40124 (sin_test_tonearest): Likewise.
40125 (sin_test_towardzero): Likewise.
40126 (sin_test_downward): Likewise.
40127 (sin_test_upward): Likewise.
40128 (tan_test_tonearest): Likewise.
40129 (tan_test_towardzero): Likewise.
40130 (tan_test_downward): Likewise.
40131 (tan_test_upward): Likewise.
40132 (main): Call the new functions.
40133 * sysdeps/i386/fpu/libm-test-ulps: Update.
40134 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40137 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
40138 small n, then large n, before computing and testing k+n.
40139 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
40140 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
40142 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
40144 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
40145 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
40146 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
40147 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
40148 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
40149 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
40150 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
40151 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
40152 * math/libm-test.inc (scalbn_test): Add more tests.
40153 (scalbln_test): Likewise.
40155 * manual/filesys.texi (mode_t): Describe constraints on size and
40156 signedness, not exact equivalence to a particular type.
40158 (ino64_t): Likewise.
40160 (nlink_t): Likewise.
40161 (blkcnt_t): Likewise.
40162 (blkcnt64_t): Likewise.
40163 * manual/llio.texi (off_t): Likewise.
40166 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
40167 (__ieee754_exp): Save and restore rounding mode and use
40168 round-to-nearest for all computations.
40169 * math/libm-test.inc (exp_test_tonearest): New function.
40170 (exp_test_towardzero): Likewise.
40171 (exp_test_downward): Likewise.
40172 (exp_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.
40177 2012-03-01 Chris Demetriou <cgd@google.com>
40179 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
40180 have predictable order.
40182 2012-03-01 David S. Miller <davem@davemloft.net>
40184 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
40186 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
40187 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
40188 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
40189 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
40191 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
40192 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
40193 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
40194 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
40195 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
40196 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
40197 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
40198 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
40199 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
40201 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40203 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
40204 * sysdeps/sparc/fpu/libm-test-ulps: to here.
40205 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
40207 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
40208 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
40209 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
40210 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
40211 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
40212 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
40213 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
40214 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
40215 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
40216 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
40217 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
40218 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
40219 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
40220 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
40221 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
40222 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
40223 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
40224 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
40225 * sysdeps/sparc/elf/configure: Regenerated.
40227 2012-03-01 Joseph Myers <joseph@codesourcery.com>
40229 * configure.in (AS, LD): Require binutils 2.20 or later.
40230 * configure: Regenerated.
40231 * manual/install.texi (Tools for Compilation): Give binutils 2.20
40232 as required minimum version.
40233 * INSTALL: Regenerated.
40237 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
40238 before squaring exponent.
40239 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
40240 bottom long double and 27 bits of top long double before squaring
40242 * math/libm-test.inc (erfc_test): Add more tests.
40243 * sysdeps/i386/fpu/libm-test-ulps: Update.
40244 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
40245 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40247 2012-03-01 Kai Tietz <ktietz@redhat.com>
40249 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
40250 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
40251 containing bit-fields.
40252 * soft-fp/extended.h (_FP_UNION_E): Likewise.
40253 * soft-fp/single.h (_FP_UNION_S): Likewise.
40254 * soft-fp/double.h (_FP_UNION_D): Likewise.
40256 2012-02-29 Joseph Myers <joseph@codesourcery.com>
40259 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
40260 not include ../strcmp.S.
40261 [USE_AS_STRNCASECMP_L]: Likewise.
40262 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
40263 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
40264 * sysdeps/i386/i686/multiarch/strncase_l-c.c
40265 (__strncasecmp_l_ia32): Define as alias to
40266 __strncasecmp_l_nonascii.
40269 * math/libm-test.inc (expm1_test): Add test for bug 5794.
40270 * sysdeps/i386/fpu/libm-test-ulps: Update.
40271 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40273 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
40274 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40276 2012-02-29 Jeff Law <law@redhat.com>
40278 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
40279 out of bounds read.
40281 2012-02-29 Marek Polacek <polacek@redhat.com>
40284 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
40285 * elf/Makefile: Add rules to run tst-unused-dep.out.
40287 2012-02-28 David S. Miller <davem@davemloft.net>
40289 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
40290 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
40291 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
40292 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
40293 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
40294 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
40296 2012-02-29 Joseph Myers <joseph@codesourcery.com>
40298 * math/libm-test.inc (llround_test): Move one test from
40299 lround_test. Use TEST_f_L in moved test.
40300 (lround_test): Move misplaced test to llround_test. Add testcase
40303 2012-02-28 Ulrich Drepper <drepper@gmail.com>
40305 * sysdeps/x86_64/fpu/e_expf.S: New file.
40306 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
40308 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
40311 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
40312 of remain_len that may cause incomplete multi-byte character and
40314 * posix/bug-regex33.c: New file.
40315 * posix/Makefile (tests): Add bug-regex33.
40317 2012-02-28 Joseph Myers <joseph@codesourcery.com>
40319 * manual/macros.texi: New file.
40320 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
40321 * manual/libc.texinfo: Include macros.texi.
40322 * manual/creatute.texi: Likewise.
40323 * manual/install.texi: Likewise.
40324 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
40325 @glibcadj{} in references to the GNU C Library.
40326 * manual/charset.texi: Likewise.
40327 * manual/conf.texi: Likewise.
40328 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
40329 when not using those macros.
40330 * manual/creature.texi: Likewise.
40331 * manual/crypt.texi: Likewise.
40332 * manual/errno.texi: Likewise.
40333 * manual/filesys.texi: Likewise.
40334 * manual/header.texi: Likewise.
40335 * manual/install.texi: Likewise.
40336 * manual/intro.texi: Likewise.
40337 * manual/io.texi: Likewise.
40338 * manual/job.texi: Likewise.
40339 * manual/lang.texi: Likewise.
40340 * manual/libc.texiinfo: Likewise.
40341 * manual/llio.texi: Likewise.
40342 * manual/locale.texi: Likewise.
40343 * manual/maint.texi: Likewise.
40344 * manual/math.texi: Likewise.
40345 * manual/memory.texi: Likewise.
40346 * manual/message.texi: Likewise.
40347 * manual/nss.texi: Likewise.
40348 * manual/pattern.texi: Likewise.
40349 * manual/process.texi: Likewise.
40350 * manual/resource.texi: Likewise.
40351 * manual/search.texi: Likewise.
40352 * manual/setjmp.texi: Likewise.
40353 * manual/signal.texi: Likewise.
40354 * manual/socket.texi: Likewise.
40355 * manual/startup.texi: Likewise.
40356 * manual/stdio.texi: Likewise.
40357 * manual/string.texi: Likewise.
40358 * manual/sysinfo.texi: Likewise.
40359 * manual/syslog.texi: Likewise.
40360 * manual/terminal.texi: Likewise.
40361 * manual/time.texi: Likewise.
40362 * manual/users.texi: Likewise.
40363 * INSTALL: Regenerated.
40364 * NOTES: Regenerated.
40365 * sysdeps/gnu/errlist.c: Regenerated.
40367 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
40369 * include/dirent.h: Include <dirstream.h> before
40372 2012-02-28 David S. Miller <davem@davemloft.net>
40374 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
40375 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
40376 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
40377 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
40379 2012-02-27 David S. Miller <davem@davemloft.net>
40381 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
40382 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
40383 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
40384 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
40386 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
40387 frame pointer instead of stack pointer relative arg slot.
40388 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
40389 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
40390 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
40392 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
40395 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
40397 2012-02-27 David S. Miller <davem@davemloft.net>
40399 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
40400 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
40401 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
40402 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
40403 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
40404 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
40405 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
40406 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
40408 2012-02-27 Joseph Myers <joseph@codesourcery.com>
40410 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
40411 later. Allow versions 5-9.
40412 * configure: Regenerated.
40413 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
40414 required minimum version and 4.6 as recommended version. Do not
40415 mention bugs in GCC 2.7 and 2.8.
40416 * INSTALL: Regenerated.
40418 2012-02-27 David S. Miller <davem@davemloft.net>
40420 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
40421 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
40422 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
40423 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
40424 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
40425 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
40426 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
40427 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
40429 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
40430 manipulate bits before adding and subtracting TWO112[sx].
40431 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
40433 2012-02-27 Roland McGrath <roland@hack.frob.com>
40436 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
40437 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
40438 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
40439 being in POSIX, because they are in 1003.1-2008.
40441 * rt/tst-aio.c: Include <fcntl.h>.
40442 * rt/tst-aio7.c: Likewise.
40443 * rt/tst-aio64.c: Likewise.
40445 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
40447 2012-02-27 Joseph Myers <joseph@codesourcery.com>
40449 * manual/install.texi (--with-headers): Describe headers as
40450 interface headers, not private headers.
40451 (Specific advice for GNU/Linux systems): Describe use of headers
40452 from "make headers_install", not private headers from older
40454 * INSTALL: Regenerated.
40455 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
40457 * sysdeps/unix/sysv/linux/configure: Regenerated.
40459 * manual/llio.texi (fclean): Remove documentation.
40461 * manual/Makefile (libc-texi-generated): New variable. Include
40463 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
40464 $(libc-texi-generated), not duplicated list of files.
40465 (version.texi, stamp-version): New rules.
40466 (realclean): Remove $(libc-texi-generated), not individual files
40467 from that list. Do not remove dir-add.texinfo.
40468 * manual/libc.texinfo: Comment out uses of edition numbers and
40469 references to printed manual. Remove last-updated dates.
40470 (EDITION): Comment out.
40472 (VERSION, UPDATED): Remove.
40473 (version.texi): Include.
40475 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
40477 * sysdeps/posix/spawni.c: Include <signal.h>.
40478 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
40479 * sysdeps/pthread/aio_fsync.c: Likewise.
40481 2012-02-26 Ulrich Drepper <drepper@gmail.com>
40483 * conform/Makefile (tests): Run only when not cross-compiling and
40484 when fast-check is not defined.
40486 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
40487 * conform/data/limits.h-data: Fixes for POSIX2008.
40488 * conform/run-conformtest.sh: Run all tests.
40489 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
40491 * include/bits/dlfcn.h: Likewise.
40492 * include/langinfo.h: Likewise.
40493 * include/monetary.h: Likewise.
40494 * include/sys/poll.h: Likewise.
40496 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
40498 * posix/spawn.h: Define __need_sigset_t.
40499 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
40500 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
40501 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
40502 to get sigevent_t only.
40503 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
40504 only for __USE_GNU.
40505 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
40506 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
40507 process_vm_writev only for __USE_GNU.
40508 * termios/termios.h: Declare tcgetsid also for POSIX2008.
40510 * conform/Makefile: For now ignore errors from run-conformtest.
40511 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
40512 POSIX to avoid namespace pollution. Don't prepend headers.
40513 * conform/data/aio.h-data: Fixes for POSIX testing.
40514 * conform/data/fcntl.h-data: Likewise.
40515 * conform/data/glob.h-data: Likewise.
40516 * conform/data/grp.h-data: Likewise.
40517 * conform/data/pthread.h-data: Likewise.
40518 * conform/data/pwd.h-data: Likewise.
40519 * conform/data/signal.h-data: Likewise.
40520 * conform/data/spawn.h-data: Likewise.
40521 * conform/data/stdio.h-data: Likewise.
40522 * conform/data/stdlib.h-data: Likewise.
40523 * conform/data/stropts.h-data: Likewise.
40524 * conform/data/sys/mman.h-data: Likewise.
40525 * conform/data/sys/stat.h-data: Likewise.
40526 * conform/data/sys/types.h-data: Likewise.
40527 * conform/data/sys/wait.h-data: Likewise.
40528 * conform/data/time.h-data: Likewise.
40529 * conform/data/unistd.h-data: Likewise.
40530 * conform/data/utime.h-data: Likewise.
40532 * io/sys/stat.h: fchmod was always in POSIX.
40533 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
40534 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
40535 * rt/aio.h: Define __need_timespec before including <time.h>.
40536 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
40537 struct. Add forward declaration of pthread_attr_t and use it in
40539 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
40540 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
40541 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
40542 always remove CLK_TCK definition.
40544 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
40546 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
40548 2012-02-25 Ulrich Drepper <drepper@gmail.com>
40550 * conform/run-conformtest.sh: New file.
40551 * conform/Makefile: Run run-conformtest for tests.
40552 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
40555 * conform/data/uchar.h-data: New file.
40556 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
40557 * conform/data/arpa/inet.h-data: Likewise.
40558 * conform/data/assert.h-data: Likewise.
40559 * conform/data/complex.h-data: Likewise.
40560 * conform/data/cpio.h-data: Likewise.
40561 * conform/data/ctype.h-data: Likewise.
40562 * conform/data/dirent.h-data: Likewise.
40563 * conform/data/dlfcn.h-data: Likewise.
40564 * conform/data/errno.h-data: Likewise.
40565 * conform/data/fcntl.h-data: Likewise.
40566 * conform/data/float.h-data: Likewise.
40567 * conform/data/fmtmsg.h-data: Likewise.
40568 * conform/data/fnmatch.h-data: Likewise.
40569 * conform/data/ftw.h-data: Likewise.
40570 * conform/data/glob.h-data: Likewise.
40571 * conform/data/grp.h-data: Likewise.
40572 * conform/data/iconv.h-data: Likewise.
40573 * conform/data/inttypes.h-data: Likewise.
40574 * conform/data/langinfo.h-data: Likewise.
40575 * conform/data/libgen.h-data: Likewise.
40576 * conform/data/limits.h-data: Likewise.
40577 * conform/data/locale.h-data: Likewise.
40578 * conform/data/math.h-data: Likewise.
40579 * conform/data/monetary.h-data: Likewise.
40580 * conform/data/mqueue.h-data: Likewise.
40581 * conform/data/ndbm.h-data: Likewise.
40582 * conform/data/net/if.h-data: Likewise.
40583 * conform/data/netdb.h-data: Likewise.
40584 * conform/data/netinet/in.h-data: Likewise.
40585 * conform/data/nl_types.h-data: Likewise.
40586 * conform/data/poll.h-data: Likewise.
40587 * conform/data/pthread.h-data: Likewise.
40588 * conform/data/pwd.h-data: Likewise.
40589 * conform/data/regex.h-data: Likewise.
40590 * conform/data/sched.h-data: Likewise.
40591 * conform/data/search.h-data: Likewise.
40592 * conform/data/semaphore.h-data: Likewise.
40593 * conform/data/setjmp.h-data: Likewise.
40594 * conform/data/signal.h-data: Likewise.
40595 * conform/data/spawn.h-data: Likewise.
40596 * conform/data/stdarg.h-data: Likewise.
40597 * conform/data/stdio.h-data: Likewise.
40598 * conform/data/stdlib.h-data: Likewise.
40599 * conform/data/string.h-data: Likewise.
40600 * conform/data/strings.h-data: Likewise.
40601 * conform/data/stropts.h-data: Likewise.
40602 * conform/data/sys/ipc.h-data: Likewise.
40603 * conform/data/sys/mman.h-data: Likewise.
40604 * conform/data/sys/msg.h-data: Likewise.
40605 * conform/data/sys/resource.h-data: Likewise.
40606 * conform/data/sys/select.h-data: Likewise.
40607 * conform/data/sys/sem.h-data: Likewise.
40608 * conform/data/sys/shm.h-data: Likewise.
40609 * conform/data/sys/socket.h-data: Likewise.
40610 * conform/data/sys/stat.h-data: Likewise.
40611 * conform/data/sys/statvfs.h-data: Likewise.
40612 * conform/data/sys/time.h-data: Likewise.
40613 * conform/data/sys/timeb.h-data: Likewise.
40614 * conform/data/sys/times.h-data: Likewise.
40615 * conform/data/sys/types.h-data: Likewise.
40616 * conform/data/sys/uio.h-data: Likewise.
40617 * conform/data/sys/un.h-data: Likewise.
40618 * conform/data/sys/utsname.h-data: Likewise.
40619 * conform/data/sys/wait.h-data: Likewise.
40620 * conform/data/syslog.h-data: Likewise.
40621 * conform/data/tar.h-data: Likewise.
40622 * conform/data/termios.h-data: Likewise.
40623 * conform/data/utime.h-data: Likewise.
40624 * conform/data/utmpx.h-data: Likewise.
40625 * conform/data/varargs.h-data: Likewise.
40626 * conform/data/wchar.h-data: Likewise.
40627 * conform/data/wctype.h-data: Likewise.
40628 * conform/data/wordexp.h-data: Likewise.
40630 * include/stropts.h: New file.
40631 * include/uchar.h: New file.
40632 * include/aio.h: Changes to allow conformtest.pl to use the headers.
40633 * include/assert.h: Likewise.
40634 * include/ctype.h: Likewise.
40635 * include/dirent.h: Likewise.
40636 * include/dlfcn.h: Likewise.
40637 * include/fcntl.h: Likewise.
40638 * include/fnmatch.h: Likewise.
40639 * include/glob.h: Likewise.
40640 * include/grp.h: Likewise.
40641 * include/libio.h: Likewise.
40642 * include/locale.h: Likewise.
40643 * include/math.h: Likewise.
40644 * include/net/if.h: Likewise.
40645 * include/netdb.h: Likewise.
40646 * include/netinet/in.h: Likewise.
40647 * include/pthread.h: Likewise.
40648 * include/pwd.h: Likewise.
40649 * include/regex.h: Likewise.
40650 * include/sched.h: Likewise.
40651 * include/search.h: Likewise.
40652 * include/setjmp.h: Likewise.
40653 * include/signal.h: Likewise.
40654 * include/stdio.h: Likewise.
40655 * include/stdlib.h: Likewise.
40656 * include/string.h: Likewise.
40657 * include/sys/cdefs.h: Likewise.
40658 * include/sys/mman.h: Likewise.
40659 * include/sys/msg.h: Likewise.
40660 * include/sys/resource.h: Likewise.
40661 * include/sys/select.h: Likewise.
40662 * include/sys/socket.h: Likewise.
40663 * include/sys/stat.h: Likewise.
40664 * include/sys/statvfs.h: Likewise.
40665 * include/sys/time.h: Likewise.
40666 * include/sys/times.h: Likewise.
40667 * include/sys/uio.h: Likewise.
40668 * include/sys/utsname.h: Likewise.
40669 * include/sys/wait.h: Likewise.
40670 * include/termios.h: Likewise.
40671 * include/time.h: Likewise.
40672 * include/ulimit.h: Likewise.
40673 * include/unistd.h: Likewise.
40674 * include/utime.h: Likewise.
40675 * include/wchar.h: Likewise.
40676 * include/wctype.h: Likewise.
40677 * include/wordexp.h: Likewise.
40679 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
40681 * time/time.h: TIME_UTC must be a macro.
40682 Make timespec_get available for ISO C11 only as well.
40684 2012-02-24 Ulrich Drepper <drepper@gmail.com>
40686 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
40687 Reported by Peng Haitao <penght@cn.fujitsu.com>.
40689 2012-02-24 Joseph Myers <joseph@codesourcery.com>
40691 * configure.in: Use -o not -a in test for unsupported multi-arch.
40693 2012-02-24 Joseph Myers <joseph@codesourcery.com>
40695 * manual/texinfo.tex: Update to version 2012-01-19.16.
40697 2012-02-24 Joseph Myers <joseph@codesourcery.com>
40699 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
40701 2012-02-24 Roland McGrath <roland@hack.frob.com>
40704 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
40705 * manual/fdl-1.3.texi: New file.
40706 * manual/fdl-1.1.texi: File removed.
40709 * manual/libc.texinfo (FDL_VERSION): New @set.
40710 Use it for mention of FDL in cover text.
40711 (Documentation License): Use it in @include file name.
40713 2012-02-22 Joseph Myers <joseph@codesourcery.com>
40714 Roland McGrath <roland@hack.frob.com>
40717 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
40718 (not LONG_LONG_MAX and LONG_LONG_MIN.
40719 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
40720 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
40722 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
40724 2012-02-22 Joseph Myers <joseph@codesourcery.com>
40728 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
40729 manipulate bits before adding and subtracting TWO23[sx].
40730 * math/libm-test.inc (nearbyint_test): Add more tests.
40732 2012-02-22 Joseph Myers <joseph@codesourcery.com>
40735 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
40736 bits before adding and subtracting TWO23[sx].
40737 * math/libm-test.inc (rint_test): Add more tests.
40738 (rint_test_tonearest): Likewise.
40739 (rint_test_towardzero): Likewise.
40740 (rint_test_downward): Likewise.
40741 (rint_test_upward: Likewise.
40743 2012-02-22 Joseph Myers <joseph@codesourcery.com>
40746 * include/stdc-predef.h: New file. Extracted from features.h.
40747 * include/features.h: Include stdc-predef.h.
40748 * Makefile (headers): Add stdc-predef.h.
40749 * CONFORMANCE (Compiler limitations): Update.
40751 2012-02-22 Joseph Myers <joseph@codesourcery.com>
40753 * manual/libc.texinfo (VERSION, UPDATED): Revert.
40755 2012-02-21 David S. Miller <davem@davemloft.net>
40757 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
40758 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
40760 2012-02-20 David S. Miller <davem@davemloft.net>
40762 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
40763 using a normal save/restore sequence, rather than allocating a
40764 dummy stack frame just to store a frame pointer and restore.
40765 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
40767 2012-02-21 Joseph Myers <joseph@codesourcery.com>
40769 * manual/install.texi: Fix stray word in line-wrapped comment.
40771 2012-02-20 David S. Miller <davem@davemloft.net>
40773 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
40774 both binutils and gcc support GOTDATA.
40776 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
40777 "rd %pc" in the PIC register setup sequences.
40779 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
40780 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
40781 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
40782 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
40783 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
40784 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
40785 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
40786 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
40787 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
40788 (SYSCALL_ERROR_HANDLER): Likewise.
40789 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
40790 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
40791 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
40792 (SYSCALL_ERROR_HANDLER): Likewise.
40794 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
40795 (HAVE_GCC_GOTDATA): New.
40796 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
40797 relocation support in both binutils and gcc.
40798 * sysdeps/sparc/elf/configure: Regenerate.
40800 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
40801 * sysdeps/sparc/sparc32/elf/configure: Delete.
40802 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
40803 * sysdeps/sparc/sparc64/elf/configure: Delete.
40804 * sysdeps/sparc/elf/configure.in: New file.
40805 * sysdeps/sparc/elf/configure: Generate.
40807 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
40808 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
40809 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
40810 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
40811 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
40813 2012-02-21 Joseph Myers <joseph@codesourcery.com>
40815 * manual/install.texi: Do not mention specific glibc version
40817 * manual/libc.texinfo (VERSION, UPDATED): Update.
40818 (@copying): Use @copyright{} and range of years.
40820 2012-02-21 Joseph Myers <joseph@codesourcery.com>
40823 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
40824 [crti.S not in sysdirs] (generated): Do not append.
40825 [crti.S not in sysdirs] (omit-deps): Likewise.
40826 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
40827 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
40828 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
40829 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
40830 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
40832 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
40833 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
40834 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
40835 * csu/defs.awk: Remove file.
40836 * sysdeps/generic/initfini.c: Likewise.
40837 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
40839 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
40842 2012-02-20 Joseph Myers <joseph@codesourcery.com>
40844 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
40845 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
40846 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
40847 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
40848 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
40849 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
40851 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
40852 (__EPOLL_PACKED): Define to empty if not defined by
40854 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
40855 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40858 2012-02-20 Joseph Myers <joseph@codesourcery.com>
40860 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
40861 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
40862 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
40863 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
40865 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
40866 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40869 2012-02-20 Joseph Myers <joseph@codesourcery.com>
40871 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
40873 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
40874 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
40875 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
40876 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40878 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
40880 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
40881 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
40883 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
40885 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
40886 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
40888 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
40890 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
40893 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
40895 * math/w_acos.c: Use non-signaling floating-point comparisons.
40896 * math/w_acosf.c: Likewise.
40897 * math/w_acosh.c: Likewise.
40898 * math/w_acoshf.c: Likewise.
40899 * math/w_acoshl.c: Likewise.
40900 * math/w_acosl.c: Likewise.
40901 * math/w_asin.c: Likewise.
40902 * math/w_asinf.c: Likewise.
40903 * math/w_asinl.c: Likewise.
40904 * math/w_atanh.c: Likewise.
40905 * math/w_atanhf.c: Likewise.
40906 * math/w_atanhl.c: Likewise.
40907 * math/w_exp2.c: Likewise.
40908 * math/w_exp2f.c: Likewise.
40909 * math/w_exp2l.c: Likewise.
40910 * math/w_j0.c: Likewise.
40911 * math/w_j0f.c: Likewise.
40912 * math/w_j0l.c: Likewise.
40913 * math/w_j1.c: Likewise.
40914 * math/w_j1f.c: Likewise.
40915 * math/w_j1l.c: Likewise.
40916 * math/w_jn.c: Likewise.
40917 * math/w_jnf.c: Likewise.
40918 * math/w_log.c: Likewise.
40919 * math/w_log10.c: Likewise.
40920 * math/w_log10f.c: Likewise.
40921 * math/w_log10l.c: Likewise.
40922 * math/w_log2.c: Likewise.
40923 * math/w_log2f.c: Likewise.
40924 * math/w_log2l.c: Likewise.
40925 * math/w_logf.c: Likewise.
40926 * math/w_logl.c: Likewise.
40927 * math/w_sqrt.c: Likewise.
40928 * math/w_sqrtf.c: Likewise.
40929 * math/w_sqrtl.c: Likewise.
40930 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
40931 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
40932 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
40933 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
40934 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
40936 2012-02-19 Joseph Myers <joseph@codesourcery.com>
40939 * manual/string.texi (strnlen): Use correct parameter name in
40940 equivalent expression.
40942 2012-02-19 Joseph Myers <joseph@codesourcery.com>
40945 * manual/users.texi (seteuid): Consistently use neweuid for
40948 2012-02-19 Joseph Myers <joseph@codesourcery.com>
40951 * manual/nss.texi (Services in the NSS configuration): Correct
40952 list of services in example configuration file.
40954 2012-02-19 Nick Bowler <nbowler@draconx.ca>
40957 * manual/arith.texi: Remove statements about negative zero
40958 behaving identically to zero.
40960 2012-02-18 Joseph Myers <joseph@codesourcery.com>
40963 * manual/install.texi: Do not document upgrading from libc5.
40965 2012-02-18 Joseph Myers <joseph@codesourcery.com>
40968 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
40970 2012-02-18 David S. Miller <davem@davemloft.net>
40972 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
40973 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
40974 %o7 across the call.
40975 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
40977 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
40978 SETUP_PIC_REG_LEAF.
40979 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
40980 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
40981 * sysdeps/sparc/crtn.S: Likewise.
40983 2012-02-17 Ulrich Drepper <drepper@gmail.com>
40985 * aout/Makefile: Remove.
40987 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
40990 * manual/examples/argp-ex1.c (main): Format definition in GNU
40992 * manual/examples/argp-ex2.c (main): Likewise.
40993 * manual/examples/argp-ex3.c (main): Likewise.
40994 * manual/examples/argp-ex4.c (main): Likewise.
40995 * manual/examples/longopt.c (main): Use new-style prototype
40997 * manual/examples/strncat.c (main): Specify return type and use
40998 (void) for arguments.
40999 * manual/examples/subopt.c (main): Use char **argv argument.
41001 2012-02-17 Joseph Myers <joseph@codesourcery.com>
41004 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
41007 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
41010 * manual/string.texi (strchr): Change when strchrnul is
41013 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
41016 * manual/locale.texi (setlocale): Document LOCPATH.
41018 2012-02-17 Joseph Myers <joseph@codesourcery.com>
41021 * manual/process.texi (execle): Move @dots{} before last argument.
41023 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
41026 * manual/charset.texi (Generic Charset Conversion): Fix typo
41027 (LC_TYPE -> LC_CTYPE).
41029 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
41032 * manual/arith.texi (scalbn): Use @var{} on parameter names.
41033 (scalbnf): Likewise.
41034 (scalbnl): Likewise.
41035 (scalbln): Likewise.
41036 (scalblnf): Likewise.
41037 (scalblnl): Likewise.
41038 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
41039 (vwarnx): Likewise.
41042 * manual/filesys.texi (telldir): Use braces around return type.
41043 * manual/llio.texi (mmap): Add space after comma.
41044 (mmap64): Likewise.
41045 * manual/math.texi (jn): Use @var{} on parameter names.
41051 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
41053 * manual/resource.texi (ulimit): Use @dots{} instead of literal
41055 (sched_get_priority_min): Remove semicolon on @deftypefun line.
41056 (sched_get_priority_max): Likewise.
41057 * manual/signal.texi (sigvec): Add space after comma.
41058 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
41060 (if_indextoname): Likewise.
41061 (if_freenameindex): Likewise.
41062 (sendto): Use ',' instead of '.' in prototype.
41063 * manual/startup.texi (syscall): Use @dots{} instead of literal
41065 * manual/stdio.texi (__fpending): Separate initial words of
41066 paragraph from @deftypefun line.
41067 * manual/syslog.texi (syslog): Use @dots{} instead of literal
41069 (vsyslog): Use @var{} on parameter names.
41070 * manual/terminal.texi (stty): Use @var{} on parameter names.
41071 * manual/users.texi (getutmp): Use @var{} on parameter names.
41072 (getutmpx): Likewise.
41074 2012-02-17 Joseph Myers <joseph@codesourcery.com>
41077 * manual/stdio.texi (fopen): Fix typos in description of
41080 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
41083 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
41084 get clock_id definition.
41086 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
41089 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
41090 (madvise): Cast every argument to void on its own.
41092 2012-02-17 Joseph Myers <joseph@codesourcery.com>
41095 * manual/startup.texi (Exit Status): Fix typo.
41097 2012-02-17 Joseph Myers <joseph@codesourcery.com>
41100 * manual/examples/argp-ex1.c: Include <stdlib.h>.
41101 * manual/examples/argp-ex2.c: Likewise.
41102 * manual/examples/argp-ex3.c: Likewise.
41104 2012-02-16 Richard Henderson <rth@redhat.com>
41106 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
41107 * sysdeps/s390/s390-32/initfini.c: Remove.
41108 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
41109 * sysdeps/s390/s390-64/initfini.c: Remove.
41111 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
41113 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
41114 compiler output for sysdeps/generic/initfini.c.
41115 * sysdeps/sh/elf/initfini.c: Remove file.
41117 2012-02-16 David S. Miller <davem@davemloft.net>
41120 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
41122 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
41123 * sysdeps/sparc/crti.S: New file.
41124 * sysdeps/sparc/crtn.S: New file.
41125 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
41126 * sysdeps/sparc/sparc64/Makefile: Likewise.
41128 2012-02-15 Mike Frysinger <vapier@gentoo.org>
41131 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
41133 2012-02-15 Roland McGrath <roland@hack.frob.com>
41136 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
41138 * mach/devstream.c (cookie_io_functions_t): Macro removed.
41139 (write, read, close): Likewise.
41140 Patch by Aurelien Jarno <aurelien@aurel32.net>.
41142 2012-02-15 Joseph Myers <joseph@codesourcery.com>
41144 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
41145 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
41146 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
41147 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
41149 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
41150 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41153 2012-02-14 Marek Polacek <polacek@redhat.com>
41155 * sysdeps/x86_64/crti.S: New file.
41156 * sysdeps/x86_64/crtn.S: New file.
41157 * sysdeps/x86_64/elf/initfini.c: Remove file.
41159 2012-02-13 Joseph Myers <joseph@codesourcery.com>
41161 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
41162 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
41163 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
41164 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
41166 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
41167 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41170 2012-02-13 Joseph Myers <joseph@codesourcery.com>
41172 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
41173 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
41174 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
41175 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
41177 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
41178 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41181 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
41183 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
41184 __feraiseexcept instead of feraiseexcept.
41186 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
41187 nanosleep invocations.
41188 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
41189 strings, and add error checking for a nanosleep invocations.
41191 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
41193 Replace FSF snail mail address with URLs, as per GNU coding standards.
41194 Most of the snail mail addresses were wrong anyway, and omitting
41195 them makes the source code easier to maintain. Almost all of the
41196 changes are to license notices and to locale LC_IDENTIFICATION
41197 addresses, except for this one:
41198 * manual/libc.texinfo: In "Published by", give the FSF's URL,
41199 not its snail mail address.
41201 2012-02-09 Richard Henderson <rth@twiddle.net>
41203 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
41204 of kernel-features.h.
41206 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
41208 2012-02-08 Marek Polacek <polacek@redhat.com>
41210 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
41211 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
41212 * sysdeps/gnu/_G_config.h: Likewise.
41213 * sysdeps/generic/_G_config.h: Likewise.
41215 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
41217 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
41219 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41221 * sysdeps/powerpc/powerpc32/crti.S: New file.
41222 * sysdeps/powerpc/powerpc32/crtn.S: New file.
41223 * sysdeps/powerpc/powerpc64/crti.S: New file.
41224 * sysdeps/powerpc/powerpc64/crtn.S: New file.
41226 * Makeconfig (have-initfini): Don't set.
41227 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
41228 * configure.in (nopic_initfini): Don't substitute.
41229 * config.h.in (HAVE_INITFINI): Don't #undef.
41230 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
41231 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
41233 2012-02-08 Joseph Myers <joseph@codesourcery.com>
41235 Support crti.S and crtn.S provided directly by architectures.
41236 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
41237 [crti.S in sysdirs] (omit-deps): Likewise.
41238 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
41239 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
41240 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
41241 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
41242 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
41243 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
41244 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
41245 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
41246 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
41247 compiler output for sysdeps/generic/initfini.c.
41248 * sysdeps/i386/elf/Makefile: Remove file.
41249 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
41251 2012-02-07 Marek Polacek <polacek@redhat.com>
41253 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
41254 * sysdeps/gnu/_G_config.h: Likewise.
41255 * sysdeps/mach/hurd/_G_config.h: Likewise.
41257 2012-02-07 Marek Polacek <polacek@redhat.com>
41259 * math/Makefile (tests): Add tst-CMPLX2.
41260 * math/tst-CMPLX2.c: New file.
41262 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
41264 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
41266 * math/libm-test.inc (jn_test): Add missing L suffix.
41268 2012-02-06 Marek Polacek <polacek@redhat.com>
41270 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
41271 * sysdeps/i386/fpu/e_powf.S: Likewise.
41272 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
41273 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
41274 * sysdeps/i386/fpu/e_acosh.S: Likewise.
41275 * sysdeps/i386/fpu/e_pow.S: Likewise.
41276 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
41277 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
41278 * sysdeps/i386/fpu/s_expm1.S: Likewise.
41279 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
41280 * sysdeps/i386/fpu/e_log2.S: Likewise.
41281 * sysdeps/i386/fpu/e_log2l.S: Likewise.
41282 * sysdeps/i386/fpu/e_scalb.S: Likewise.
41283 * sysdeps/i386/fpu/e_powl.S: Likewise.
41284 * sysdeps/i386/fpu/s_log1p.S: Likewise.
41285 * sysdeps/i386/fpu/e_log10f.S: Likewise.
41286 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
41287 * sysdeps/i386/fpu/e_logl.S: Likewise.
41288 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
41289 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
41290 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
41291 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
41292 * sysdeps/i386/fpu/e_log2f.S: Likewise.
41293 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
41294 * sysdeps/i386/fpu/e_log.S: Likewise.
41295 * sysdeps/i386/fpu/s_cexp.S: Likewise.
41296 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
41297 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
41298 * sysdeps/i386/fpu/e_logf.S: Likewise.
41299 * sysdeps/i386/fpu/e_log10l.S: Likewise.
41300 * sysdeps/i386/fpu/e_atanh.S: Likewise.
41301 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
41302 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
41303 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
41304 * sysdeps/i386/fpu/e_log10.S: Likewise.
41305 * sysdeps/i386/fpu/s_frexp.S: Likewise.
41306 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
41307 * sysdeps/i386/fpu/s_asinh.S: Likewise.
41308 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
41309 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
41310 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
41311 * sysdeps/i386/asm-syntax.h: Likewise.
41312 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
41313 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
41314 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
41315 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
41316 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
41317 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
41318 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
41319 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
41320 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
41321 * sysdeps/powerpc/sysdep.h: Likewise.
41322 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
41323 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
41325 2012-02-06 Joseph Myers <joseph@codesourcery.com>
41328 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
41330 2012-02-06 Joseph Myers <joseph@codesourcery.com>
41332 * sysdeps/i386/sysdep.h: Include <features.h>.
41333 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
41336 2012-02-05 Joseph Myers <joseph@codesourcery.com>
41338 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
41340 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
41343 2012-02-03 Joseph Myers <joseph@codesourcery.com>
41345 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
41346 (SETUP_PIC_REG): Use GET_PC_THUNK.
41347 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
41350 2012-02-03 Joseph Myers <joseph@codesourcery.com>
41352 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
41353 for non-PIC compilation.
41354 (SETUP_PIC_REG): Add .p2align directive.
41355 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
41356 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
41357 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
41358 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
41359 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
41360 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
41361 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
41362 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
41363 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
41364 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
41365 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
41366 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
41367 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
41368 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
41369 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
41370 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
41371 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
41372 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
41373 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
41374 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
41375 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
41376 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
41377 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
41378 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
41379 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
41380 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
41381 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
41382 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
41383 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
41384 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
41385 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
41386 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
41387 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
41388 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
41389 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
41390 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
41391 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
41392 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
41393 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
41394 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
41395 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
41397 2012-02-03 Joseph Myers <joseph@codesourcery.com>
41399 * math/tst-CMPLX.c: Include <stdio.h>.
41401 2012-01-31 Joseph Myers <joseph@codesourcery.com>
41403 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
41405 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
41406 * sysdeps/sparc/bits/mathdef.h: Likewise.
41408 2012-01-31 Marek Polacek <polacek@redhat.com>
41410 * libio/libio.h: Don't define _PARAMS.
41411 * locale/programs/config.h: Don't define PARAMS.
41412 * stdlib/strtol_l.c: Likewise.
41413 (__strtol_l): Remove PARAMS from the prototype.
41415 2012-01-31 Ulrich Drepper <drepper@gmail.com>
41417 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
41418 names. Just use the correct names. Remove unnecessary wrapper
41420 * malloc/arena.c: Likewise.
41421 * malloc/hooks.c: Likewise.
41423 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
41424 ARENA_TEST says not to. Simplify test for creation of a new arena.
41425 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
41427 2012-01-30 Ulrich Drepper <drepper@gmail.com>
41429 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
41431 (update_get_addr): New function.
41432 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
41433 GET_ADDR_MODULE parameter.
41435 2012-01-30 Joseph Myers <joseph@codesourcery.com>
41437 * crypt/cert.c: Remove __STDC__ conditionals.
41438 * crypt/crypt-entry.c: Likewise.
41439 * crypt/crypt_util.c: Likewise.
41440 * libio/filedoalloc.c: Likewise.
41441 * libio/fileops.c: Likewise.
41442 * libio/genops.c: Likewise.
41443 * libio/iofclose.c: Likewise.
41444 * libio/iofdopen.c: Likewise.
41445 * libio/iofopen.c: Likewise.
41446 * libio/iofopen64.c: Likewise.
41447 * libio/iogetdelim.c: Likewise.
41448 * libio/iopopen.c: Likewise.
41449 * libio/obprintf.c: Likewise.
41450 * libio/oldfileops.c: Likewise.
41451 * libio/oldiofclose.c: Likewise.
41452 * libio/oldiofdopen.c: Likewise.
41453 * libio/oldiofopen.c: Likewise.
41454 * libio/oldiopopen.c: Likewise.
41455 * libio/wfiledoalloc.c: Likewise.
41456 * libio/wgenops.c: Likewise.
41457 * locale/programs/xmalloc.c: Likewise.
41458 * misc/syslog.c: Likewise.
41459 * stdio-common/xbug.c: Likewise.
41460 * string/memchr.c: Likewise.
41461 * string/memcmp.c: Likewise.
41462 * string/memrchr.c: Likewise.
41463 * string/rawmemchr.c: Likewise.
41464 * sysdeps/posix/getcwd.c: Likewise.
41465 * time/strftime_l.c: Likewise.
41467 2012-01-30 Joseph Myers <joseph@codesourcery.com>
41469 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
41470 * config.make.in (config-cflags-sse2avx): Define.
41471 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
41474 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
41476 * scripts/config.guess: Update from upstream config git repository.
41477 * scripts/config.sub: Likewise.
41479 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
41481 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
41483 (R_TILEPRO_*, R_TILEGX_*): New macros.
41485 * scripts/firstversions.awk: Fix bug in version range handling.
41487 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
41489 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
41491 * include/sys/epoll.h: New file.
41492 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
41495 2012-01-28 Ulrich Drepper <drepper@gmail.com>
41497 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
41498 Avoid unnecessary __WORDSIZE == 64 test.
41499 (fmaxf): Use VEX format if possible.
41504 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
41505 * math/math_private.h: Remove libc_fegetround* and
41507 * sysdeps/i386/configure.in: Check for -msse2avx.
41508 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
41509 also if SSE2AVX is defined.
41510 Remove libc_fegetround* and libc_fesetround*.
41511 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
41512 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
41513 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
41515 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
41516 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
41517 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
41518 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
41519 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
41521 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
41523 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41525 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
41527 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
41529 2012-01-27 Ulrich Drepper <drepper@gmail.com>
41532 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
41534 * Makeconfig (libm): Define.
41535 * elf/Makefile: Add rules to build and run tst-relsort1.
41536 * elf/tst-relsort1.c: New file.
41537 * elf/tst-relsort1mod1.c: New file.
41538 * elf/tst-relsort1mod2.c: New file.
41540 2012-01-27 Joseph Myers <joseph@codesourcery.com>
41542 * math/s_ldexp.c: Remove __STDC__ conditionals.
41543 * math/s_ldexpf.c: Likewise.
41544 * math/s_ldexpl.c: Likewise.
41545 * math/s_nextafter.c: Likewise.
41546 * math/s_nexttowardf.c: Likewise.
41547 * math/s_significand.c: Likewise.
41548 * math/s_significandf.c: Likewise.
41549 * math/s_significandl.c: Likewise.
41550 * math/w_jnl.c: Likewise.
41551 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
41552 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
41553 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
41554 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
41555 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
41556 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
41557 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
41558 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
41559 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
41560 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
41561 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
41562 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
41563 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
41564 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
41565 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
41566 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
41567 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
41568 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
41569 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
41570 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
41571 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
41572 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
41573 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
41574 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
41575 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
41576 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
41577 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
41578 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
41579 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
41580 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
41581 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
41582 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
41583 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
41584 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
41585 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
41586 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
41587 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
41588 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
41589 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
41590 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
41591 * sysdeps/ieee754/k_standard.c: Likewise.
41592 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
41593 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
41594 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
41595 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
41596 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
41597 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
41598 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
41599 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
41600 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
41601 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
41602 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
41603 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
41604 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
41605 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
41606 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
41607 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
41608 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
41609 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
41610 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
41611 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
41612 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
41613 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
41614 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
41615 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
41616 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
41617 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
41618 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
41619 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
41620 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
41621 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
41622 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
41623 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
41624 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
41625 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
41626 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
41627 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
41628 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
41629 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
41630 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
41631 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
41632 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
41633 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
41634 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
41635 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
41636 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
41637 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
41638 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
41639 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
41640 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
41641 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
41642 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
41643 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
41644 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
41645 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
41646 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
41647 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
41648 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
41649 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
41650 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
41651 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
41652 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
41653 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
41654 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
41655 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
41656 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
41657 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
41658 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
41659 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
41660 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
41661 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
41662 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
41663 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
41664 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
41665 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
41666 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
41667 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
41668 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
41669 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
41670 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
41671 * sysdeps/ieee754/s_matherr.c: Likewise.
41672 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
41673 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
41674 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
41675 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
41677 2012-01-26 Joseph Myers <joseph@codesourcery.com>
41679 * crypt/md5.h: Remove __STDC__ conditionals.
41680 * libio/libioP.h: Likewise.
41681 * locale/programs/config.h: Likewise.
41682 * sysdeps/generic/sysdep.h: Likewise.
41683 * sysdeps/i386/asm-syntax.h: Likewise.
41684 * sysdeps/s390/asm-syntax.h: Likewise.
41685 * sysdeps/unix/sysdep.h: Likewise.
41686 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
41687 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
41689 2012-01-26 Joseph Myers <joseph@codesourcery.com>
41691 * libio/libio.h: Remove __STDC__ conditionals.
41692 * malloc/obstack.h: Likewise.
41693 * math/complex.h: Likewise.
41694 * math/math.h: Likewise.
41695 * sysdeps/generic/_G_config.h: Likewise.
41696 * sysdeps/gnu/_G_config.h: Likewise.
41697 * sysdeps/mach/hurd/_G_config.h: Likewise.
41698 * sysdeps/powerpc/bits/mathdef.h: Likewise.
41699 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
41700 * sysdeps/sparc/bits/mathdef.h: Likewise.
41702 2012-01-26 Ulrich Drepper <drepper@gmail.com>
41705 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
41706 Clean up HAS_* macros.
41707 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
41708 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
41710 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
41712 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
41713 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
41714 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
41715 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
41716 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
41718 2012-01-25 Joseph Myers <joseph@codesourcery.com>
41720 * elf/tst-unique3.cc (gets): Remove declaration.
41721 * elf/tst-unique3lib.cc (gets): Likewise.
41722 * elf/tst-unique3lib2.cc (gets): Likewise.
41723 * elf/tst-unique4.cc (gets): Likewise.
41725 2012-01-24 Ulrich Drepper <drepper@gmail.com>
41727 * include/stdio.h: Add C++ protection. Add gets declarations and
41729 * debug/tst-chk1.c: Don't declare gets here.
41730 * stdio-common/tst-gets.c: Likewise.
41732 2012-01-24 Joseph Myers <joseph@codesourcery.com>
41734 * posix/glob: Remove directory.
41736 2012-01-24 Joseph Myers <joseph@codesourcery.com>
41738 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
41740 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
41742 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
41743 of the non-standard EPFNOSUPPORT.
41745 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
41747 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
41748 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
41749 ANYWHERE set to 1 only on KERN_NO_SPACE error.
41751 2012-01-21 Ulrich Drepper <drepper@gmail.com>
41753 * wcsmbs/uchar.h: Test __STDC_VERSION__.
41755 2012-01-20 Ulrich Drepper <drepper@gmail.com>
41757 * nscd/aicache.c (addhstaiX): Do not cache negative results of
41759 * nscd/grpcache.c (cache_addgr): Likewise.
41760 * nscd/hstcache.c (cache_addhst): Likewise.
41761 * nscd/initgrcache.c (addinitgroupsX): Likewise.
41762 * nscd/pwdcache.c (cache_addpw): Likewise.
41763 * nscd/servicescache.c (cache_addserv): Likewise.
41765 2012-01-16 Ulrich Drepper <drepper@gmail.com>
41767 * malloc/malloc.c: Various cleanups.
41768 * malloc/hooks.c: Likewise.
41770 * stdlib/Makefile (tests): Add bug-fmtmsg1.
41771 * stdlib/bug-fmtmsg1.c: New file.
41773 * stdlib/fmtmsg.c (init): Add missing unlock.
41774 Patch by Peng Haitao <penght@cn.fujitsu.com>.
41776 2012-01-12 Marek Polacek <polacek@redhat.com>
41778 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
41781 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
41783 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
41784 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
41785 macro to ensure uniqueness of label name.
41786 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
41787 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
41789 2012-01-11 Ulrich Drepper <drepper@gmail.com>
41791 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
41793 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
41794 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
41795 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
41796 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
41798 2012-01-10 Ulrich Drepper <drepper@gmail.com>
41800 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
41802 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
41803 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
41804 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
41806 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
41808 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
41809 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
41810 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41811 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
41813 * math/bits/math-finite.h: Add ldexp support.
41815 2012-01-10 Marek Polacek <polacek@redhat.com>
41817 * locale/programs/localedef.h (show_archive_content): Add noreturn
41820 2012-01-09 Ulrich Drepper <drepper@gmail.com>
41822 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
41824 2012-01-08 Ulrich Drepper <drepper@gmail.com>
41826 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
41828 * io/Makefile (headers): Add bits/poll2.h.
41830 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
41832 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
41833 typo #include statement.
41835 2012-01-08 Ulrich Drepper <drepper@gmail.com>
41837 * include/sys/cdefs.h: Define __attribute_alloc_size.
41838 * catgets/gencat.c: Add alloc_size attribute and apply consistently
41839 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
41840 * elf/pldd.c: Likewise.
41841 * iconv/iconv_charmap.c: Likewise.
41842 * iconv/iconvconfig.c: Likewise.
41843 * iconv/strtab.c: Likewise.
41844 * locale/programs/locale.c: Likewise.
41845 * locale/programs/localedef.h: Likewise.
41846 * locale/programs/simple-hash.c: Likewise.
41847 * nscd/nscd.h: Likewise.
41848 * nss/makedb.c: Likewise.
41849 * sysdeps/generic/ldconfig.h: Likewise.
41850 * locale/programs/localedef.c: Remove xmalloc prototype.
41851 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
41853 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
41855 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
41858 2012-01-08 Ulrich Drepper <drepper@gmail.com>
41860 * math/Makefile (tests): Add tst-CMPLX.
41861 * math/tst-CMPLX.c: New file.
41863 * math/complex.h (CMPLXL): Fix typo.
41865 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
41866 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
41868 * debug/tst-chk1.c: Add poll and ppoll tests.
41869 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
41870 * include/sys/poll.h: Add hidden proto for ppoll.
41871 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
41872 * sysdeps/mach/hurd/ppoll.c: Likewise.
41873 * io/ppoll.c: Likewise.
41874 * debug/poll_chk.c: New file.
41875 * debug/ppoll_chk.c: New file.
41876 * include/bits/poll2.h: New file.
41877 * io/bits/poll2.h: New file.
41880 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
41882 * configure.in: static is always set to yes. Remove.
41883 * config.make.in: Don't set build-static.
41884 * Makeconfig: Remove use of build-static.
41885 * dlfcn/Makefile: Likewise.
41886 * elf/Makefile: Likewise.
41887 * math/Makefile: Likewise.
41888 * misc/Makefile: Likewise.
41889 * nptl/Makefile: Likewise.
41890 * sysdeps/mach/hurd/Makefile: Likewise.
41892 * configure.in: PWD_P is not used anymore.
41893 * config.make.in: Remove PWD_P entry.
41895 * configure.in: Remove last remnants of RANLIB.
41896 No need to check for signed size_t anymore.
41897 Don't set libc_commonpagesize and libc_relro_required here for Alpha
41899 Remove __builtin_expect test because we require at least gcc 3.4.
41900 * aclocal.m4: Likewise.
41902 * wcsmbs/mbrtoc16.c: Implement using towc function.
41903 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
41904 * wcsmbs/wcsmbsload.c: Likewise.
41905 * iconv/gconv_simple.c: Likewise.
41906 * iconv/gconv_int.h: Likewise.
41907 * iconv/gconv_builtin.h: Likewise.
41908 * iconv/iconv_prog.c: Remove CHAR16 handling.
41910 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
41912 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
41914 * configure.in: Remove --with-elf and --enable-bounded options.
41915 Dont set base_machine for ia64. More non-ELF conditions removed.
41916 Remove testing and setting of leading underscore information.
41917 * config.make.in (build-bounded): Set to no.
41918 * config.h.in: Remove NO_UNDERSCORES entry.
41919 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
41921 * csu/start.c: Remove !NO_UNDERSCORE code.
41922 * locale/localeinfo.h: Likewise.
41923 * sysdeps/generic/machine-gmon.h: Likewise.
41924 * sysdeps/generic/sysdep.h: Likewise.
41925 * sysdeps/i386/sysdep.h: Likewise.
41926 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
41927 * sysdeps/mach/sysdep.h: Likewise.
41928 * sysdeps/s390/s390-32/sysdep.h: Likewise.
41929 * sysdeps/s390/s390-64/sysdep.h: Likewise.
41930 * sysdeps/sh/sysdep.h: Likewise.
41931 * sysdeps/sparc/sparc32/alloca.S: Likewise.
41932 * sysdeps/unix/i386/sysdep.S: Likewise.
41933 * sysdeps/unix/sparc/start.c: Likewise.
41934 * sysdeps/unix/sparc/sysdep.S: Likewise.
41935 * sysdeps/unix/sparc/sysdep.h: Likewise.
41936 * sysdeps/unix/start.c: Likewise.
41937 * sysdeps/unix/x86_64/sysdep.S: Likewise.
41938 * sysdeps/x86_64/sysdep.h: Likewise.
41940 2012-01-07 Ulrich Drepper <drepper@gmail.com>
41943 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
41945 * argp/argp-fmtstream.h: Use const instead __const.
41946 * argp/argp.h: Likewise.
41947 * assert/assert.h: Likewise.
41948 * bits/fenv.h: Likewise.
41949 * bits/sched.h: Likewise.
41950 * bits/sigset.h: Likewise.
41951 * bits/sigthread.h: Likewise.
41952 * catgets/nl_types.h: Likewise.
41953 * conform/data/pthread.h-data: Likewise.
41954 * crypt/crypt-private.h: Likewise.
41955 * crypt/crypt.h: Likewise.
41956 * crypt/crypt_util.c: Likewise.
41957 * ctype/ctype.h: Likewise.
41958 * debug/execinfo.h: Likewise.
41959 * debug/mbsnrtowcs_chk.c: Likewise.
41960 * debug/mbsrtowcs_chk.c: Likewise.
41961 * debug/wcsnrtombs_chk.c: Likewise.
41962 * debug/wcsrtombs_chk.c: Likewise.
41963 * debug/wcstombs_chk.c: Likewise.
41964 * dirent/dirent.h: Likewise.
41965 * dlfcn/dlfcn.h: Likewise.
41966 * elf/neededtest4.c: Likewise.
41967 * grp/grp.h: Likewise.
41968 * gshadow/gshadow.h: Likewise.
41969 * iconv/gconv.h: Likewise.
41970 * iconv/gconv_int.h: Likewise.
41971 * iconv/gconv_simple.c: Likewise.
41972 * iconv/iconv.h: Likewise.
41973 * iconv/loop.c: Likewise.
41974 * iconv/skeleton.c: Likewise.
41975 * include/aio.h: Likewise.
41976 * include/aliases.h: Likewise.
41977 * include/argz.h: Likewise.
41978 * include/arpa/inet.h: Likewise.
41979 * include/assert.h: Likewise.
41980 * include/dirent.h: Likewise.
41981 * include/dlfcn.h: Likewise.
41982 * include/execinfo.h: Likewise.
41983 * include/fcntl.h: Likewise.
41984 * include/fenv.h: Likewise.
41985 * include/glob.h: Likewise.
41986 * include/grp.h: Likewise.
41987 * include/libintl.h: Likewise.
41988 * include/mntent.h: Likewise.
41989 * include/netdb.h: Likewise.
41990 * include/pwd.h: Likewise.
41991 * include/rpc/netdb.h: Likewise.
41992 * include/sched.h: Likewise.
41993 * include/search.h: Likewise.
41994 * include/shadow.h: Likewise.
41995 * include/signal.h: Likewise.
41996 * include/stdio.h: Likewise.
41997 * include/stdlib.h: Likewise.
41998 * include/string.h: Likewise.
41999 * include/sys/socket.h: Likewise.
42000 * include/sys/stat.h: Likewise.
42001 * include/sys/statfs.h: Likewise.
42002 * include/sys/statvfs.h: Likewise.
42003 * include/sys/syslog.h: Likewise.
42004 * include/sys/time.h: Likewise.
42005 * include/sys/uio.h: Likewise.
42006 * include/time.h: Likewise.
42007 * include/unistd.h: Likewise.
42008 * include/utmp.h: Likewise.
42009 * include/wchar.h: Likewise.
42010 * include/wctype.h: Likewise.
42011 * inet/aliases.h: Likewise.
42012 * inet/arpa/inet.h: Likewise.
42013 * inet/netinet/ether.h: Likewise.
42014 * inet/netinet/in.h: Likewise.
42015 * intl/libintl.h: Likewise.
42016 * io/bits/fcntl2.h: Likewise.
42017 * io/fcntl.h: Likewise.
42018 * io/ftw.h: Likewise.
42019 * io/sys/poll.h: Likewise.
42020 * io/sys/stat.h: Likewise.
42021 * io/sys/statfs.h: Likewise.
42022 * io/sys/statvfs.h: Likewise.
42023 * io/utime.h: Likewise.
42024 * libio/bits/stdio.h: Likewise.
42025 * libio/bits/stdio2.h: Likewise.
42026 * libio/libio.h: Likewise.
42027 * libio/libioP.h: Likewise.
42028 * libio/stdio.h: Likewise.
42029 * locale/lc-ctype.c: Likewise.
42030 * locale/locale.h: Likewise.
42031 * login/utmp.h: Likewise.
42032 * malloc/arena.c: Likewise.
42033 * malloc/malloc.c: Likewise.
42034 * malloc/malloc.h: Likewise.
42035 * malloc/mcheck.c: Likewise.
42036 * malloc/mtrace.c: Likewise.
42037 * math/bits/mathcalls.h: Likewise.
42038 * math/fenv.h: Likewise.
42039 * math/math_private.h: Likewise.
42040 * misc/bits/error.h: Likewise.
42041 * misc/bits/syslog.h: Likewise.
42042 * misc/err.h: Likewise.
42043 * misc/error.h: Likewise.
42044 * misc/fstab.h: Likewise.
42045 * misc/mntent.h: Likewise.
42046 * misc/regexp.h: Likewise.
42047 * misc/search.h: Likewise.
42048 * misc/sgtty.h: Likewise.
42049 * misc/sys/mman.h: Likewise.
42050 * misc/sys/syslog.h: Likewise.
42051 * misc/sys/uio.h: Likewise.
42052 * misc/sys/xattr.h: Likewise.
42053 * misc/ttyent.h: Likewise.
42054 * nis/rpcsvc/ypclnt.h: Likewise.
42055 * nss/nss.h: Likewise.
42056 * posix/bits/unistd.h: Likewise.
42057 * posix/fnmatch.h: Likewise.
42058 * posix/glob.h: Likewise.
42059 * posix/sched.h: Likewise.
42060 * posix/spawn.h: Likewise.
42061 * posix/sys/wait.h: Likewise.
42062 * posix/unistd.h: Likewise.
42063 * posix/wordexp.h: Likewise.
42064 * pwd/pwd.h: Likewise.
42065 * resolv/netdb.h: Likewise.
42066 * resource/sys/resource.h: Likewise.
42067 * rt/aio.h: Likewise.
42068 * rt/bits/mqueue2.h: Likewise.
42069 * rt/mqueue.h: Likewise.
42070 * shadow/shadow.h: Likewise.
42071 * signal/signal.h: Likewise.
42072 * socket/send.c: Likewise.
42073 * socket/sendto.c: Likewise.
42074 * socket/sys/socket.h: Likewise.
42075 * stdio-common/printf.h: Likewise.
42076 * stdlib/bits/stdlib.h: Likewise.
42077 * stdlib/fmtmsg.h: Likewise.
42078 * stdlib/monetary.h: Likewise.
42079 * stdlib/stdlib.h: Likewise.
42080 * stdlib/ucontext.h: Likewise.
42081 * streams/stropts.h: Likewise.
42082 * string/argz.h: Likewise.
42083 * string/bits/string2.h: Likewise.
42084 * string/string.h: Likewise.
42085 * string/strings.h: Likewise.
42086 * sunrpc/rpc/auth.h: Likewise.
42087 * sunrpc/rpc/auth_des.h: Likewise.
42088 * sunrpc/rpc/clnt.h: Likewise.
42089 * sunrpc/rpc/netdb.h: Likewise.
42090 * sunrpc/rpc/pmap_clnt.h: Likewise.
42091 * sunrpc/rpc/xdr.h: Likewise.
42092 * sysdeps/generic/inttypes.h: Likewise.
42093 * sysdeps/generic/net/if.h: Likewise.
42094 * sysdeps/generic/sys/swap.h: Likewise.
42095 * sysdeps/gnu/net/if.h: Likewise.
42096 * sysdeps/gnu/utmpx.h: Likewise.
42097 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
42098 * sysdeps/i386/i486/bits/string.h: Likewise.
42099 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
42100 * sysdeps/s390/bits/string.h: Likewise.
42101 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
42102 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
42103 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
42104 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
42105 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
42106 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
42107 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
42108 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
42109 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
42110 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
42111 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
42112 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
42113 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
42114 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
42115 * sysdeps/unix/sysv/linux/readv.c: Likewise.
42116 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
42117 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
42118 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
42119 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
42120 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
42121 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
42122 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
42123 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
42124 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
42125 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
42126 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
42127 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
42128 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
42129 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
42130 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
42131 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
42132 * sysvipc/sys/ipc.h: Likewise.
42133 * sysvipc/sys/msg.h: Likewise.
42134 * sysvipc/sys/sem.h: Likewise.
42135 * sysvipc/sys/shm.h: Likewise.
42136 * termios/termios.h: Likewise.
42137 * time/sys/time.h: Likewise.
42138 * time/time.h: Likewise.
42139 * wcsmbs/bits/wchar2.h: Likewise.
42140 * wcsmbs/uchar.h: Likewise.
42141 * wcsmbs/wchar.h: Likewise.
42142 * wctype/wctype.h: Likewise.
42145 * Makeconfig: Remove all but ELF support including AIX support.
42146 * Makerules: Likewise.
42147 * config.h.in: Likewise.
42148 * config.make.in: Likewise.
42149 * configure: Likewise.
42150 * configure.in: Likewise.
42151 * csu/Makefile: Likewise.
42152 * csu/version.c: Likewise.
42153 * debug/Makefile: Likewise.
42154 * dlfcn/Makefile: Likewise.
42155 * elf/Makefile: Likewise.
42156 * extra-lib.mk: Likewise.
42157 * iconv/Makefile: Likewise.
42158 * include/libc-symbols.h: Likewise.
42159 * include/shlib-compat.h: Likewise.
42160 * resolv/Makefile: Likewise.
42161 * resolv/res_libc.c: Likewise.
42162 * rt/Makefile: Likewise.
42163 * sysdeps/i386/asm-syntax.h: Likewise.
42164 * sysdeps/i386/sysdep.h: Likewise.
42165 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
42166 * sysdeps/mach/sysdep.h: Likewise.
42167 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
42168 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
42169 * sysdeps/s390/asm-syntax.h: Likewise.
42170 * sysdeps/s390/s390-32/sysdep.h: Likewise.
42171 * sysdeps/s390/s390-64/sysdep.h: Likewise.
42172 * sysdeps/sh/sysdep.h: Likewise.
42173 * sysdeps/unix/sparc/sysdep.h: Likewise.
42174 * sysdeps/wordsize-32/divdi3.c: Likewise.
42175 * sysdeps/x86_64/sysdep.h: Likewise.
42177 * argp/Versions: Remove _argp_unlock_xxx.
42180 * abilist/ld.abilist: Update. Adjust for removal of tls option.
42181 * abilist/libBrokenLocale.abilist: Likewise.
42182 * abilist/libanl.abilist: Likewise.
42183 * abilist/libc.abilist: Likewise.
42184 * abilist/libcrypt.abilist: Likewise.
42185 * abilist/libdl.abilist: Likewise.
42186 * abilist/libm.abilist: Likewise.
42187 * abilist/libnsl.abilist: Likewise.
42188 * abilist/libpthread.abilist: Likewise.
42189 * abilist/libresolv.abilist: Likewise.
42190 * abilist/librt.abilist: Likewise.
42191 * abilist/libthread_db.abilist: Likewise.
42192 * abilist/libutil.abilist: Likewise.
42193 * abilist/libnss_db.abilist: New file.
42195 * scripts/abilist.awk: Add support for indirect functions.
42197 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
42199 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
42201 * shlib-versions: Remove entries for ports architectures.
42203 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
42205 * elf/stackguard-macros.h: Remove support for IA-64.
42206 * elf/tst-auditmod1.c: Likewise.
42207 * sysdeps/generic/ldsodefs.h: Likewise.
42209 * sysdeps/unix/sysv/linux/configure.in: Ports should define
42210 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
42214 * configure.in: Remove --enable-omitfp support.
42216 * config.make.in: Likewise.
42217 * Makeconfig: Likewise.
42218 * manual/install.texi: Likewise.
42220 In case anyone cares, the IA-64 architecture could move to ports.
42221 * sysdeps/ia64/*: Removed.
42222 * sysdeps/unix/sysv/linux/ia64/*: Removed.
42223 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
42226 * configure.in: Remove entries for unsupported architectures.
42229 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
42230 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
42232 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
42233 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
42234 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
42235 fall back to using wcrtomb.
42236 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
42237 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
42239 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
42240 * wcsmbs/tst-c16c32-1.c: New file.
42242 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
42245 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
42247 * elf/tst-unique3.cc: Add explicit declaration of gets.
42248 * elf/tst-unique3lib.cc: Likewise.
42249 * elf/tst-unique3lib2.cc: Likewise.
42250 * elf/tst-unique4.cc: Likewise.
42252 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
42254 2012-01-06 Joseph Myers <joseph@codesourcery.com>
42257 * assert/assert.h (static_assert): Don't define for C++.
42258 * libio/stdio.h (gets): Do declare for C++ <= C++11.
42259 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
42261 2012-01-03 Ulrich Drepper <drepper@gmail.com>
42263 * iconv/loop.c (single loop): Fix assertion in storing of
42266 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
42268 2012-01-01 Ulrich Drepper <drepper@gmail.com>
42270 * posix/getconf.c: Update copyright year.
42271 * nss/getent.c: Likewise.
42272 * nss/makedb.c: Likewise.
42273 * iconv/iconvconfig.c: Likewise.
42274 * iconv/iconv_prog.c: Likewise.
42275 * elf/ldconfig.c: Likewise.
42276 * elf/pldd.c: Likewise.
42277 * elf/sotruss.ksh: Likewise.
42278 * catgets/gencat.c: Likewise.
42279 * csu/version.c: Likewise.
42280 * elf/ldd.bash.in: Likewise.
42281 * elf/sprof.c (print_version): Likewise.
42282 * locale/programs/locale.c: Likewise.
42283 * locale/programs/localedef.c: Likewise.
42284 * login/programs/pt_chown.c: Likewise.
42285 * nscd/nscd.c (print_version): Likewise.
42286 * debug/xtrace.sh: Likewise.
42287 * malloc/memusage.sh: Likewise.
42288 * malloc/mtrace.pl: Likewise.
42289 * debug/catchsegv.sh: Likewise.
42291 2011-12-30 Jakub Jelinek <jakub@redhat.com>
42293 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
42296 2011-12-24 Ulrich Drepper <drepper@gmail.com>
42299 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
42300 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
42302 * iconv/gconv_int.h: Likewise.
42303 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
42304 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
42305 from libc for GLIBC_2.16.
42306 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
42307 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
42308 * wcsmbs/uchar.h: Really define mbstate_t.
42309 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
42310 * wcsmbs/c16rtomb.c: New file.
42311 * wcsmbs/mbrtoc16.c: New file.
42312 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
42313 for C/POSIX locale.
42314 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
42315 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
42317 * wcsmbs/wchar.h: Add missing __restrict.
42319 2011-12-23 Ulrich Drepper <drepper@gmail.com>
42322 * time/Makefile (routines): Add timespec_get.
42323 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
42324 * time/time.h: Define TIME_UTC and declare timespec_get. Define
42325 timespec for ISO C11.
42326 * time/timespec_get.c: New file.
42327 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
42328 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
42331 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
42332 * stdlib/stdlib.h: Declare aligned_alloc.
42333 * Versions.def: Add GLIBC_2.16 for libc.
42334 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
42337 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
42340 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
42344 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
42347 * assert/assert.h (static_assert): Define.
42349 * version.h: Update for 2.16 development version.
42352 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
42355 * version.h (RELEASE): Bump for 2.15 release.
42356 * include/features.h (__GLIBC_MINOR__): Bump to 15.
42358 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
42359 Patch by Marek Polacek <mpolacek@redhat.com>.
42361 * bits/byteswap.h: Protect long long constants with __extension__.
42362 * sysdeps/i386/bits/byteswap.h: Likewise.
42363 * sysdeps/ia64/bits/byteswap.h: Likewise.
42364 * sysdeps/s390/bits/byteswap.h: Likewise.
42365 * sysdeps/x86_64/bits/byteswap.h: Likewise.
42367 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42370 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
42371 destination buffer.
42372 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
42374 2011-12-23 Marek Polacek <polacek@redhat.com>
42376 * elf/dl-addr.c (determine_info): Add inline keyword.
42377 * elf/tst-auditmod4b.c (check_avx): Likewise.
42378 * elf/tst-auditmod6b.c (check_avx): Likewise.
42379 * elf/tst-auditmod6c.c (check_avx): Likewise.
42380 * elf/tst-auditmod7b.c (check_avx): Likewise.
42382 2011-12-23 Ulrich Drepper <drepper@gmail.com>
42384 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
42387 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42390 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
42391 processing for last bytes.
42393 2011-08-06 Bruno Haible <bruno@clisp.org>
42396 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
42397 U+0385, not to U+1FEE.
42400 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
42401 entry for U+00A5 U+0301.
42403 2011-12-22 Ulrich Drepper <drepper@gmail.com>
42406 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
42407 buffer for the output is too small.
42409 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
42413 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
42414 SSE flags if possible.
42416 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42419 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
42420 processing for last bytes.
42422 2011-12-22 Joseph Myers <joseph@codesourcery.com>
42424 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
42425 (syscall-list-default-options, syscall-list-default-condition)
42426 (syscall-list-includes): Define.
42427 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
42428 list of ABIs and options and #if conditions for each ABI. Do not
42429 handle common syscalls between ABIs specially.
42430 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
42432 (syscall-list-variants, syscall-list-32bit-options)
42433 (syscall-list-32bit-condition, syscall-list-64bit-options)
42434 (syscall-list-64bit-condition): Define.
42435 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
42436 (syscall-list-variants, syscall-list-32bit-options)
42437 (syscall-list-32bit-condition, syscall-list-64bit-options)
42438 (syscall-list-64bit-condition): Define.
42439 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
42441 (syscall-list-variants, syscall-list-32bit-options)
42442 (syscall-list-32bit-condition, syscall-list-64bit-options)
42443 (syscall-list-64bit-condition): Define.
42444 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
42446 (syscall-list-variants, syscall-list-32bit-options)
42447 (syscall-list-32bit-condition, syscall-list-64bit-options)
42448 (syscall-list-64bit-condition): Define.
42450 2011-12-22 Ulrich Drepper <drepper@gmail.com>
42452 * locale/iso-639.def: Add brx entry.
42455 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
42456 Proposed by Mariusz_Cukr <marcukr@op.pl>.
42458 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
42459 __feraiseexcept_renamed.
42461 2011-12-21 Ulrich Drepper <drepper@gmail.com>
42464 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
42465 EPOLLET with unsigned values.
42466 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
42467 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
42469 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
42470 to large cancellation.
42471 * math/s_cacoshf.c: Likewise.
42472 * math/s_cacoshl.c: Likewise.
42474 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
42478 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
42479 * math/s_cacoshf.c: Likewise.
42480 * math/s_cacoshl.c: Likewise.
42482 2011-12-21 Ulrich Drepper <drepper@gmail.com>
42485 * iconv/gconv.h: Define __GCONV_SWAP.
42486 * iconvdata/unicode.c: The swap bit must be stored in __flags.
42487 * iconvdata/utf-16.c: Likewise.
42488 * iconvdata/utf-32.c: Likewise.
42490 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
42493 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
42494 numerator after shifting it by one limb.
42496 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
42498 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
42499 under [__USE_EXTERN_INLINES].
42501 2011-12-17 Ulrich Drepper <drepper@gmail.com>
42504 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
42506 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42508 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
42509 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
42511 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
42512 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
42513 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
42514 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
42515 for strncasecmp/strncasecmp_l compilation.
42516 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
42517 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
42519 2011-12-08 Marek Polacek <mpolacek@redhat.com>
42522 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
42525 2011-12-17 Ulrich Drepper <drepper@gmail.com>
42528 * time/tzfile.c (__tzfile_read): Check values from file header.
42530 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
42532 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
42533 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
42534 * powerpc/powerpc32/dl-start.S: Likewise.
42535 * powerpc/powerpc32/elf/start.S: Likewise.
42536 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
42537 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
42538 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
42539 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
42540 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
42541 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
42542 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
42543 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
42544 * powerpc/powerpc32/fpu/s_round.S: Likewise.
42545 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
42546 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
42547 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
42548 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
42549 * powerpc/powerpc32/memset.S: Likewise.
42550 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
42551 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
42552 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
42553 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
42554 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
42555 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
42556 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
42557 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
42558 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
42559 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
42560 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
42561 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
42562 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
42564 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42566 * math/libm-test.inc: Added more nearbyint tests.
42567 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
42568 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
42569 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
42570 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
42572 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
42574 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
42577 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42579 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
42580 Add wcscpy-ssse3 wcscpy-c.
42581 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
42582 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
42583 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
42584 * sysdeps/x86_64/wcschr.S: New file.
42585 * sysdeps/x86_64/wcsrchr.S: New file.
42586 * string/test-strcmp.c: Remove checking of wcscmp function for
42588 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
42589 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
42590 wcsrchr-sse2 wcsrchr-c.
42591 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
42592 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
42593 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
42594 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
42595 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
42596 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
42597 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
42598 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
42599 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
42600 * wcsmbc/wcschr.c (WCSCHR): New macro.
42602 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42604 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
42605 * wcsmbs/test-wcsrchr.c: New file.
42606 * string/test-strrchr.c: Add wcsrchr support.
42608 * wcsmbs/test-wcscpy.c: New file.
42609 * string/test-strcpy.c: Add wcscpy support.
42612 2011-12-10 Ulrich Drepper <drepper@gmail.com>
42614 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
42617 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
42620 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
42622 2011-12-04 Ulrich Drepper <drepper@gmail.com>
42624 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
42625 Minor optimizations.
42627 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
42628 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
42629 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
42631 2011-12-03 Ulrich Drepper <drepper@gmail.com>
42633 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
42634 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
42635 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
42636 for gcc to avoid warnings.
42637 * inet/Makefile (tests): Add tst-checks.
42638 * inet/tst-checks.c: New file.
42640 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
42643 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
42646 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
42647 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
42649 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
42651 2011-12-02 Ulrich Drepper <drepper@gmail.com>
42653 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
42656 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
42658 2011-11-29 Joseph Myers <joseph@codesourcery.com>
42660 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
42661 conditional on GCC version.
42662 (__arch_compare_and_exchange_val_8_acq)
42663 (__arch_compare_and_exchange_val_16_acq)
42664 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
42665 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
42666 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
42668 2011-12-02 Joseph Myers <joseph@codesourcery.com>
42670 * sysdeps/sh/backtrace.c: New file.
42672 2011-12-02 Andreas Schwab <schwab@redhat.com>
42674 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
42677 2011-12-01 Andreas Schwab <schwab@redhat.com>
42679 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
42680 falling back to utime.
42682 2011-11-30 Andreas Schwab <schwab@redhat.com>
42684 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
42685 expectations for float.
42687 2011-11-29 Andreas Schwab <schwab@redhat.com>
42689 * locale/weight.h (findidx): Add parameter len.
42690 * locale/weightwc.h (findidx): Likewise.
42691 * posix/fnmatch_loop.c (FCT): Adjust caller.
42692 * posix/regcomp.c (build_equiv_class): Likewise.
42693 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
42694 * posix/regexec.c (check_node_accept_bytes): Likewise.
42695 * string/strcoll_l.c (STRCOLL): Likewise.
42696 * string/strxfrm_l.c (STRXFRM): Likewise.
42698 2011-11-17 Ulrich Drepper <drepper@gmail.com>
42700 * Makefile.in: Remove CVSOPT handling.
42701 * configure.in: Remove use of AC_REVISION.
42702 * iconvdata/Makefile (distribute): No need to filter out CVS.
42703 * scripts/list-sources.sh: Remove CVS, subversion and monotone
42706 2011-11-16 Andreas Schwab <schwab@redhat.com>
42708 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
42709 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
42710 [USE_AS_STRNCASECMP_L]: Likewise.
42711 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
42712 NO_TLS_DIRECT_SEG_REFS.
42713 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
42714 Fix argument offsets for non-PIC.
42715 [USE_AS_STRNCASECMP_L]: Likewise.
42716 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
42717 NO_TLS_DIRECT_SEG_REFS.
42719 2011-11-15 Ulrich Drepper <drepper@gmail.com>
42721 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
42723 * locale/loadlocale.c (_nl_load_locale): Likewise.
42725 2011-11-15 Andreas Schwab <schwab@redhat.com>
42727 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
42728 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
42729 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
42730 (SYSCALL_GETTIME): Set errno on error.
42732 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
42733 count references to noai6ai_cached.
42735 2011-11-15 Ulrich Drepper <drepper@gmail.com>
42737 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
42739 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
42740 FD_CLOEXEC for /proc/self/maps.
42742 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
42743 FD_CLOEXEC for /proc/meminfo.
42745 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
42748 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
42749 FD_CLOEXEC for given file.
42751 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
42753 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
42754 FD_CLOEXEC for /etc/hosts.
42755 (_gethtent): Likewise.
42757 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
42759 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
42760 cancellation and set FD_CLOEXEC for /etc/netgroup.
42762 * nss/nss_files/files-key.c (search): Don't allow cancellation when
42763 reading /etc/publickey.
42765 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
42766 allow cancellation when reading /etc/group.
42768 * nss/nss_files/files-alias.c (internal_setent): Don't allow
42770 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
42772 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
42773 when using data file.
42775 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
42777 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
42778 (write_nis_obj): Use "c" and "e" in fopen.
42780 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
42782 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
42784 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
42786 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
42788 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
42791 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
42793 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
42795 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
42797 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
42798 file parsing and set FD_CLOEXEC.
42800 2011-11-14 Ulrich Drepper <drepper@gmail.com>
42802 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
42804 2011-11-14 Andreas Schwab <schwab@redhat.com>
42806 * malloc/arena.c (arena_get2): Don't call reused_arena when
42807 _int_new_arena failed.
42809 2011-11-14 Ulrich Drepper <drepper@gmail.com>
42811 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
42812 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
42813 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
42814 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
42815 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
42816 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
42817 to compile strcasecmp and strncasecmp.
42818 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
42819 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
42821 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
42823 2011-11-13 Ulrich Drepper <drepper@gmail.com>
42825 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
42826 locale-defines.sym to gen-as-const-headers.
42827 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
42828 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
42829 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
42830 to compile strcasecmp and strncasecmp.
42831 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
42832 strcasecmp_l and strncasecmp_l.
42833 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
42834 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
42835 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
42836 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
42837 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
42838 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
42839 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
42840 * sysdeps/i386/i686/multiarch/strncase.S: New file.
42841 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
42842 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
42843 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
42845 2011-11-12 Ulrich Drepper <drepper@gmail.com>
42847 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
42848 result of SYSDEP_GETTIME_CPU to retval.
42849 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
42850 parameter list to macro. Remove trailing semicolon. Adjust users.
42852 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
42855 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
42857 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
42859 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
42860 from unused variable.
42862 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
42864 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
42867 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
42870 * sunrpc/rpc_prot.c (rejected): Fix case value.
42872 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
42873 unsigned long long int to avoid warnings in shift.
42875 * posix/regex_internal.c (re_string_reconstruct): Actually use result
42877 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
42880 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
42881 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
42882 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
42884 * nis/nis_table.c (nis_list): Use variable of correct type for
42885 result of __follow_path call.
42887 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42889 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
42890 of math functions ceil, trunc, floor, round, and sqrt, when
42891 avaliable on the platform.
42892 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
42894 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
42895 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
42896 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
42898 2011-10-30 Marek Polacek <mpolacek@redhat.com>
42900 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
42901 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
42903 2011-11-11 Roland McGrath <roland@hack.frob.com>
42905 * include/unistd.h: Fix __readlink return type.
42906 Reported by Chris Metcalf <cmetcalf@tilera.com>.
42908 2011-11-11 Ulrich Drepper <drepper@gmail.com>
42910 * stdlib/ucontext.h: Undo last change for makecontext.
42912 2011-11-11 Andreas Schwab <schwab@redhat.com>
42914 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
42916 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
42917 * setjmp/setjmp.h: Mark functions as non-leaf.
42918 * setjmp/bits/setjmp2.h: Likewise.
42919 * stdlib/ucontext.h: Likewise.
42921 2011-11-10 Andreas Schwab <schwab@redhat.com>
42923 * malloc/arena.c (_int_new_arena): Don't increment narenas.
42924 (reused_arena): Don't check arena limit.
42925 (arena_get2): Atomically check arena limit.
42927 2011-11-08 Ulrich Drepper <drepper@gmail.com>
42929 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
42930 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
42932 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
42935 2011-11-07 Andreas Schwab <schwab@redhat.com>
42937 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
42938 handler when locking.
42940 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
42941 Fix size of allocated buffer.
42943 2011-11-04 Andreas Schwab <schwab@redhat.com>
42946 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
42947 declarations for long double functions.
42948 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
42950 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
42952 2011-11-03 Andreas Schwab <schwab@redhat.com>
42954 * nscd/nscd.c (main): Don't start AVC thread until credentials are
42957 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
42960 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
42962 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
42964 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
42966 * include/alloca.h (stackinfo_alloca_round): Define.
42967 (extend_alloca): Use it.
42968 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
42969 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
42972 * scripts/check-local-headers.sh: Ignore libaudit.h.
42974 * nscd/Makefile (extra-objs): Make recursively expanded.
42976 2011-11-01 Ulrich Drepper <drepper@gmail.com>
42978 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
42979 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
42981 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
42982 * posix/tst-rfc3484-2.c: Likewise.
42983 * posix/tst-rfc3484-3.c: Likewise.
42985 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
42987 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
42989 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
42990 process_vm_writev from libc using GLIBC_2.15 version.
42992 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
42994 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
42996 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
42999 2011-10-31 Ulrich Drepper <drepper@gmail.com>
43002 * nss/getent.c (initgroups_keys): Show error message in case no group
43005 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
43006 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
43007 __bump_nl_timestamp.
43008 * nscd/connections (nscd_init): When host database is served open
43009 netlink socket and request notification about configuration changes.
43010 (main_loop_poll): Track netlink file descriptor and bump timestamp
43011 in case data becomes available.
43012 (main_loop_epoll): Likewise.
43013 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
43014 (database_pers_head): Add extra_data fileds.
43015 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
43016 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
43017 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
43019 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
43020 in6ai data, call __free_in6ai.
43021 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
43022 Add -DHAVE_NETLINK.
43023 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
43024 interface information. Reuse previous data if netlink timestamp
43026 (__bump_nl_timestamp): New function.
43027 (__free_in6ai): New function.
43029 2011-10-30 Ulrich Drepper <drepper@gmail.com>
43031 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
43032 close_not_cancel_no_status here.
43033 (__check_pf): Reorganize code a bit to not call close twice if OOM.
43035 2011-10-29 Ulrich Drepper <drepper@gmail.com>
43038 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
43041 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
43042 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
43043 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
43045 2011-07-03 Andreas Jaeger <aj@suse.de>
43048 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
43049 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
43050 * math/libm-test.inc (sin_test): Add test case.
43052 2011-10-29 Ulrich Drepper <drepper@gmail.com>
43055 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
43056 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
43058 * elf/chroot_canon.c (chroot_canon): Cleanups.
43060 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
43063 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
43064 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
43066 * string/test-strchr.c: Make usable for strchrnul testing.
43067 * string/test-strchrnul.c: New file.
43068 * string/Makefile (strop-tests): Add strchrnul.
43070 * po/it.po: Update from translation team.
43071 * po/es.po: Likewise.
43073 2011-10-28 Ulrich Drepper <drepper@gmail.com>
43075 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
43076 the three constants needed as parameters. Drop the others.
43077 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
43078 __m128i_strloadu_tolower.
43079 Create and initialize variable zero and use it in all the places
43080 where _mm_setzero_si128 was used.
43082 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
43083 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
43084 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
43085 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
43087 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
43088 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
43089 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
43090 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
43091 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
43092 __mpranred, __mptan.
43093 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
43094 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
43095 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
43096 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
43097 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
43098 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
43099 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
43100 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
43101 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
43103 2011-10-28 Andreas Schwab <schwab@redhat.com>
43105 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
43106 redefine if SHARED.
43107 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
43109 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
43110 wide char related routines to wcsmbs subdir.
43112 2011-10-27 Andreas Schwab <schwab@redhat.com>
43115 * misc/sys/cdefs.h (__THROWNL): Define.
43116 * posix/unistd.h: Use __THREADNL instead of __THREAD
43117 for memory synchronization functions.
43119 2011-10-26 Roland McGrath <roland@hack.frob.com>
43122 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
43124 * manual/stdio.texi (Obstack Streams): Node removed.
43126 2011-10-26 Andreas Schwab <schwab@redhat.com>
43128 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
43129 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
43130 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
43132 * math/math_private.h (math_force_eval): Allow non-addressable
43134 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
43136 2011-10-25 Ulrich Drepper <drepper@gmail.com>
43138 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
43139 file is not needed.
43141 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
43142 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
43143 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
43144 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
43145 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
43146 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
43147 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
43148 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
43150 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
43151 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
43152 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
43153 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
43154 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
43155 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
43156 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
43157 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
43158 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
43159 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
43160 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
43161 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
43162 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
43163 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
43164 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
43165 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
43166 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
43167 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
43168 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
43170 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
43171 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
43173 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
43174 place. Use VEX encoding when compiling for AVX.
43176 2011-10-25 Andreas Schwab <schwab@redhat.com>
43178 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
43179 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
43181 * string/test-strchr.c (do_test): Don't generate NUL bytes.
43183 2011-10-25 Ulrich Drepper <drepper@gmail.com>
43185 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
43186 useless if() expression.
43187 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
43188 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
43189 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
43190 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
43191 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
43192 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
43193 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
43194 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
43195 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
43196 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
43197 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
43198 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
43199 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
43200 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
43201 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
43202 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
43203 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
43204 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
43205 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
43207 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
43209 2011-10-25 Andreas Schwab <schwab@redhat.com>
43211 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
43213 * elf/dl-fini.c (_dl_sort_fini): Likewise.
43215 2011-10-25 Ulrich Drepper <drepper@gmail.com>
43217 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
43218 .text section. Avoid duplicate constants.
43219 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
43220 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43221 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
43222 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43223 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
43224 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43225 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43226 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43227 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
43228 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
43229 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
43230 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
43231 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
43232 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
43233 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
43234 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
43235 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
43236 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
43237 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
43238 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
43239 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
43240 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
43241 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
43242 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
43243 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
43244 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
43245 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
43246 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
43247 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
43248 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
43249 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
43250 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
43251 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
43252 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
43253 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
43254 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
43255 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
43256 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
43257 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
43258 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
43259 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
43260 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
43261 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
43262 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
43263 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
43265 2011-10-24 Ulrich Drepper <drepper@gmail.com>
43267 * sysdeps/x86_64/dla.h: Move to ...
43268 * sysdeps/x86_64/fpu/dla.h: ...here.
43269 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
43270 situations. Use __builtin_fma only for gcc 4.6 and up.
43272 * config.make.in: Add have-mfma4 entry.
43273 * configure.in: Substitute libc_cv_cc_fma4.
43274 * math/Makefile (dbl-only-routines): Add sincostab.
43275 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
43276 Use __sincostab not sincos.
43277 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
43279 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
43280 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43281 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43282 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
43284 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
43285 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
43286 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
43287 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
43289 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
43290 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
43292 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
43293 define aliases when function name is a macro.
43294 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
43295 sysdeps/ieee754/dbl-64/sincos.tbl.
43296 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
43297 fma4-enabled routines.
43298 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
43299 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
43300 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
43301 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
43302 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
43303 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
43304 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
43305 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
43306 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
43307 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
43308 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
43309 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
43310 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
43311 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
43312 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
43313 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
43314 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
43315 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
43316 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
43317 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
43318 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
43319 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
43320 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
43321 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
43322 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
43323 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
43324 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
43325 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
43326 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
43327 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
43329 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
43331 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43332 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43333 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43334 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43335 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43336 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43337 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
43338 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
43340 2011-10-24 Andreas Schwab <schwab@redhat.com>
43342 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
43344 2011-10-23 Ulrich Drepper <drepper@gmail.com>
43346 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
43348 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
43350 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
43352 * string/strnlen.c: Don't define STRNLEN, reverse logic.
43353 Remove unused variable magic_bits.
43354 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
43356 * string/strnlen.c: Define and use STRNLEN macro.
43357 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
43358 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
43359 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
43360 * wcsmbs/wcslen.c: Define and use WCSLEN.
43361 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
43362 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
43363 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
43364 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
43365 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
43366 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
43367 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
43369 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43371 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43372 strnlen-sse2-no-bsf.
43373 Rename strlen-no-bsf to strlen-sse2-no-bsf.
43374 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
43375 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
43376 Add strnlen support.
43377 (USE_AS_STRNLEN): New macro.
43378 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
43379 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
43380 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
43381 * sysdeps/x86_64/wcslen.S: New file.
43383 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
43385 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
43386 XMM-moves are used for copying on small sizes.
43388 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43390 * wcsmbs/Makefile (strop-tests): Add wcschr.
43391 * wcsmbs/test-wcschr.c: New file.
43392 * string/test-strchr.c: Update.
43393 Add wcschr support.
43396 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43398 * wcsmbs/Makefile (strop-tests): Add wcslen.
43399 * wcsmbs/test-wcslen.c: New file.
43400 * string/test-strlen.c: Update.
43401 Add wcslen support.
43404 2011-10-23 Ulrich Drepper <drepper@gmail.com>
43406 * po/it.po: Update from translation team.
43408 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43410 * sysdeps/x86_64/wcscmp.S: Update.
43411 Fix wrong comparison semantics.
43412 wcscmp shall use signed comparison not unsigned.
43413 Don't use substraction to avoid overflow bug.
43414 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
43415 * wcsmbc/wcscmp.c: Likewise.
43416 * string/test-strcmp.c: Likewise.
43417 Add new tests to check cases with negative values.
43419 2011-10-23 Ulrich Drepper <drepper@gmail.com>
43421 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
43422 * sysdeps/x86_64/dla.h: ...here. New file.
43423 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
43424 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43425 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43426 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43427 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43428 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
43429 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43430 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
43431 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
43433 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
43435 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
43436 __ynl_finite aliases.
43438 2011-10-22 Ulrich Drepper <drepper@gmail.com>
43440 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43442 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
43444 [DLA_FMA] (EMULV): Use DLA_FMA.
43445 [DLA_FMA] (MUL12): Use EMULV.
43446 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
43447 that are not needed.
43448 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43449 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43450 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43451 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43452 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43453 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
43454 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
43456 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
43458 * math/s_nan.c: Undef __nan.
43459 * math/s_nanf.c: Undef __nanf.
43460 * math/s_nanl.c: Undef __nanl.
43461 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
43464 2011-10-22 Ulrich Drepper <drepper@gmail.com>
43466 * math/s_catan.c: Add branch predictions.
43467 * math/s_catanf.c: Likewise.
43468 * math/s_catanh.c: Likewise.
43469 * math/s_catanhf.c: Likewise.
43470 * math/s_catanhl.c: Likewise.
43471 * math/s_catanl.c: Likewise.
43472 * math/s_cexp.c: Likewise.
43473 * math/s_cexpf.c: Likewise.
43474 * math/s_cexpl.c: Likewise.
43475 * math/s_clog.c: Likewise.
43476 * math/s_clog10.c: Likewise.
43477 * math/s_clog10f.c: Likewise.
43478 * math/s_clog10l.c: Likewise.
43479 * math/s_clogf.c: Likewise.
43480 * math/s_clogl.c: Likewise.
43481 * math/s_csqrt.c: Likewise.
43482 * math/s_csqrtf.c: Likewise.
43483 * math/s_csqrtl.c: Likewise.
43484 * math/s_ctanf.c: Likewise.
43485 * math/s_ctanh.c: Likewise.
43486 * math/s_ctanhf.c: Likewise.
43487 * math/s_ctanhl.c: Likewise.
43488 * math/s_ctanl.c: Likewise.
43490 * math/math_private.h: Define __nan, __nanf, __nanl.
43491 * math/s_cacosh.c: Include <math_private.h>.
43492 * math/s_cacoshl.c: Likewise.
43493 * math/s_casinh.c: Likewise.
43494 * math/s_casinhf.c: Likewise.
43495 * math/s_casinhl.c: Likewise.
43496 * math/s_ccos.c: Rely entire on ccosh.
43497 * math/s_ccosf.c: Rely entire on ccoshf.
43498 * math/s_ccosl.c: Rely entirely on ccoshl.
43499 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
43500 Remove tests for FE_INVALID.
43501 * math/s_ccoshf.c: Likewise.
43502 * math/s_ccoshl.c: Likewise.
43503 * math/s_csin.c: Likewise.
43504 * math/s_csinf.c: Likewise.
43505 * math/s_csinh.c Likewise.
43506 * math/s_csinhf.c: Likewise.
43507 * math/s_csinhl.c: Likewise.
43508 * math/s_csinl.c: Likewise.
43509 * math/s_ctan.c: Likewise.
43510 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
43511 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
43512 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
43514 2011-10-21 Ulrich Drepper <drepper@gmail.com>
43516 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
43517 compilation problems.
43519 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
43522 2011-10-20 Ulrich Drepper <drepper@gmail.com>
43524 * sysdeps/i386/configure.in: Test for -mfma4 option.
43525 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
43526 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
43527 COMMON_CPUID_INDEX_80000001.
43528 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
43529 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
43530 use it if FMA3 is not supported.
43531 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
43533 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
43534 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
43536 2011-10-20 Andreas Schwab <schwab@redhat.com>
43539 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
43540 it would create a cycle with a link time dependency.
43542 2011-10-19 Ulrich Drepper <drepper@gmail.com>
43544 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
43546 * string/Makefile (strop-tests): Add rawmemchr.
43547 * string/test-rawmemchr.c: New file.
43549 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
43550 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
43551 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
43552 when compiling str{,n}casecmp and when AVX is available. Hook up
43553 new optimized code in initializers.
43555 2011-10-19 Andreas Schwab <schwab@redhat.com>
43557 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
43558 __feraiseexcept instead of feraiseexcept.
43560 2011-10-18 Ulrich Drepper <drepper@gmail.com>
43562 * math/math_private.h: Define defaults for libc_fetestexcept and
43564 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
43565 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
43566 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
43567 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
43568 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
43569 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
43570 libc_fetestexcept and libc_feupdateenv.
43572 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
43573 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
43574 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
43575 * sysdeps/x86_64/fpu/math_private.h: Define special version of
43576 libc_feholdexcept_setround.
43578 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
43579 Add s_nearbyint-c and s_nearbyintf-c.
43580 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
43581 nearbyintf inlines.
43582 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
43583 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
43584 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
43585 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
43587 * math/math_private.h: Define defaults for libc_fegetround,
43588 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
43589 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
43590 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
43591 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
43592 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
43593 standard functions.
43594 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
43595 Remove comments and hacks for old compiler versions.
43596 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
43597 libc_fegetround, libc_fesetround, libc_feholdexcept, and
43598 libc_feholdexceptl.
43600 2011-10-18 Andreas Schwab <schwab@redhat.com>
43602 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
43603 (__feraiseexcept_renamed): Add __NTH.
43604 (feraiseexcept): Add __NTH. Rename local variables to fix
43605 namespace violations.
43607 2011-10-17 Ulrich Drepper <drepper@gmail.com>
43609 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
43611 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
43613 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
43614 recently added interfaces.
43615 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
43617 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
43618 about macro parameter expansion.
43620 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
43621 __NO_MATH_INLINES is defined. Cleanups.
43623 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
43624 and __floorf is target has SSE4.1.
43625 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
43626 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
43627 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
43628 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
43630 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
43632 (floorf): Likewise.
43634 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
43636 2011-10-17 Andreas Schwab <schwab@redhat.com>
43638 * misc/sys/cdefs.h: Fix last change.
43640 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
43643 2011-10-16 Ulrich Drepper <drepper@gmail.com>
43645 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
43647 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
43648 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
43649 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
43650 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
43651 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
43652 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
43653 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
43654 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
43655 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
43656 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
43657 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
43658 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
43659 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
43660 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
43661 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
43662 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
43663 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
43664 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
43665 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
43666 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
43667 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
43668 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
43670 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
43671 ceil, ceilf, floor, floorf.
43673 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
43674 Perform IRELATIVE relocations last.
43676 * elf/do-rel.h: Add another parameter nrelative, replacing the
43677 local variable with the same name. Change name of the function
43678 to end in Rel or Rela (uppercase).
43679 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
43680 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
43681 elf_dynamic_do_##reloc function.
43683 2011-10-15 Ulrich Drepper <drepper@gmail.com>
43685 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
43686 is sufficient, at least on modern CPUs.
43688 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
43690 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
43691 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
43693 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
43695 * math/bits/math-finite.h: Add entries for exp.
43696 * math/e_expl.c: Add __*_finite alias.
43697 * sysdeps/i386/fpu/e_exp.S: Likewise.
43698 * sysdeps/i386/fpu/e_expf.S: Likewise.
43699 * sysdeps/i386/fpu/e_expl.c: Likewise.
43700 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
43701 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
43702 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
43703 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
43704 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
43705 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
43706 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
43708 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
43709 is sufficient, at least on modern CPUs.
43711 * ctype/ctype-info.c (__ctype_init): Define.
43712 * include/ctype.h (__ctype_init): Declare.
43713 (__ctype_b_loc): The variable is always initialized.
43714 (__ctype_toupper_loc): Likewise.
43715 (__ctype_tolower_loc): Likewise.
43716 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
43717 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
43719 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
43721 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
43723 * configure.in: Also look in $cxxmachine/include for C++ system
43726 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43728 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
43729 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
43730 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
43731 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
43732 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
43733 (USE_AS_WMEMCMP): New macro.
43735 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
43736 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
43737 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
43738 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
43739 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43740 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
43741 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
43742 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
43743 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
43744 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
43745 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
43746 (USE_AS_WMEMCMP): New macro.
43747 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
43748 * sysdeps/string/test-memcmp.c: Update.
43749 Fix simple_wmemcmp.
43751 * wcsmbs/wmemcmp.c: Update.
43752 (WMEMCMP): New macro.
43755 2011-10-12 Andreas Jaeger <aj@suse.de>
43758 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
43760 2011-10-15 Ulrich Drepper <drepper@gmail.com>
43762 * libio/iofwide.c (do_length): Avoid warning.
43764 * ctype/ctype.h (__isctype_f): Add missing __THROW.
43766 2011-10-14 Ulrich Drepper <drepper@gmail.com>
43768 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
43770 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
43771 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
43772 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
43773 * sysdeps/i386/i686/fpu/e_log.S: New file.
43774 * sysdeps/i386/i686/fpu/e_logf.S: New file.
43775 * sysdeps/i386/i686/fpu/e_logl.S: New file.
43777 * ctype/ctype.h: Add support for inlined isXXX functions when
43778 compiling C++ code.
43780 2011-10-14 Andreas Schwab <schwab@redhat.com>
43782 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
43784 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
43786 2011-10-13 Roland McGrath <roland@hack.frob.com>
43789 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
43791 2011-10-13 Andreas Schwab <schwab@redhat.com>
43793 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
43794 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
43797 * sysdeps/x86_64/memrchr.S: Check for zero size.
43799 * string/stratcliff.c: Add memrchr tests.
43801 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43803 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43804 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
43805 rawmemchr-sse2 rawmemchr-sse2-bsf.
43806 * sysdeps/i386/i686/multiarch/memchr.S: New file.
43807 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
43808 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
43809 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
43810 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
43811 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
43812 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
43813 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
43814 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
43815 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
43816 * string/memrchr.c (MEMRCHR): New macro.
43818 2011-10-12 Ulrich Drepper <drepper@gmail.com>
43820 Add integration with gcc's -ffinite-math-only and optimize wrapper
43822 * Versions.def: Define GLIBC_2.15 version for libm.
43823 * math/Makefile (headers): Add bits/math-finite.h.
43824 * math/bits/math-finite.h: New file.
43825 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
43826 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
43827 * math/e_acoshl.c: Add __*_finite alias.
43828 * math/e_acosl.c: Likewise.
43829 * math/e_asinl.c: Likewise.
43830 * math/e_atan2l.c: Likewise.
43831 * math/e_atanhl.c: Likewise.
43832 * math/e_coshl.c: Likewise.
43833 * math/e_exp10.c: Likewise.
43834 * math/e_exp10f.c: Likewise.
43835 * math/e_exp10l.c: Likewise.
43836 * math/e_exp2l.c: Likewise.
43837 * math/e_fmodl.c: Likewise.
43838 * math/e_gammal_r.c: Likewise.
43839 * math/e_hypotl.c: Likewise.
43840 * math/e_j0l.c: Likewise.
43841 * math/e_j1l.c: Likewise.
43842 * math/e_jnl.c: Likewise.
43843 * math/e_lgammal_r.c: Likewise.
43844 * math/e_log10l.c: Likewise.
43845 * math/e_log2l.c: Likewise.
43846 * math/e_logl.c: Likewise.
43847 * math/e_powl.c: Likewise.
43848 * math/e_sinhl.c: Likewise.
43849 * math/e_sqrtl.c: Likewise.
43850 * math/e_scalb.c: Completely rewritten and optimized.
43851 * math/e_scalbf.c: Likewise.
43852 * math/e_scalbl.c: Likewise.
43853 * math/w_acos.c: Likewise.
43854 * math/w_acosf.c: Likewise.
43855 * math/w_acosl.c: Likewise.
43856 * math/w_acosh.c: Likewise.
43857 * math/w_acoshf.c: Likewise.
43858 * math/w_acoshl.c: Likewise.
43859 * math/w_asin.c: Likewise.
43860 * math/w_asinf.c: Likewise.
43861 * math/w_asinl.c: Likewise.
43862 * math/w_atan2.c: Likewise.
43863 * math/w_atan2f.c: Likewise.
43864 * math/w_atan2l.c: Likewise.
43865 * math/w_atanh.c: Likewise.
43866 * math/w_atanhf.c: Likewise.
43867 * math/w_atanhl.c: Likewise.
43868 * math/w_exp10.c: Likewise.
43869 * math/w_exp10f.c: Likewise.
43870 * math/w_exp10l.c: Likewise.
43871 * math/w_fmod.c: Likewise.
43872 * math/w_fmodf.c: Likewise.
43873 * math/w_fmodl.c: Likewise.
43874 * math/w_j0.c: Likewise.
43875 * math/w_j0f.c: Likewise.
43876 * math/w_j0l.c: Likewise.
43877 * math/w_j1.c: Likewise.
43878 * math/w_j1f.c: Likewise.
43879 * math/w_j1l.c: Likewise.
43880 * math/w_jn.c: Likewise.
43881 * math/w_jnf.c: Likewise.
43882 * math/w_log.c: Likewise.
43883 * math/w_logf.c: Likewise.
43884 * math/w_logl.c: Likewise.
43885 * math/w_log10.c: Likewise.
43886 * math/w_log10f.c: Likewise.
43887 * math/w_log10l.c: Likewise.
43888 * math/w_log2.c: Likewise.
43889 * math/w_log2f.c: Likewise.
43890 * math/w_log2l.c: Likewise.
43891 * math/w_pow.c: Likewise.
43892 * math/w_powf.c: Likewise.
43893 * math/w_powl.c: Likewise.
43894 * math/w_remainder.c: Likewise.
43895 * math/w_remainderf.c: Likewise.
43896 * math/w_remainderl.c: Likewise.
43897 * math/w_scalb.c: Likewise.
43898 * math/w_scalbf.c: Likewise.
43899 * math/w_scalbl.c: Likewise.
43900 * math/w_sqrt.c: Likewise.
43901 * math/w_sqrtf.c: Likewise.
43902 * math/w_sqrtl.c: Likewise.
43903 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
43904 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
43906 * math/math_private.h: Declare __kernel_standard_f.
43907 * math/w_cosh.c: Remove cruft and optimize a bit.
43908 * math/w_coshf.c: Likewise.
43909 * math/w_coshl.c: Likewise.
43910 * math/w_exp2.c: Likewise.
43911 * math/w_exp2f.c: Likewise.
43912 * math/w_exp2l.c: Likewise.
43913 * math/w_hypot.c: Likewise.
43914 * math/w_hypotf.c: Likewise.
43915 * math/w_hypotl.c: Likewise.
43916 * math/w_lgamma.c: Likewise.
43917 * math/w_lgamma_r.c: Likewise.
43918 * math/w_lgammaf.c: Likewise.
43919 * math/w_lgammaf_r.c: Likewise.
43920 * math/w_lgammal.c: Likewise.
43921 * math/w_lgammal_r.c: Likewise.
43922 * math/w_sinh.c: Likewise.
43923 * math/w_sinhf.c: Likewise.
43924 * math/w_sinhl.c: Likewise.
43925 * math/w_tgamma.c: Likewise.
43926 * math/w_tgammaf.c: Likewise.
43927 * math/w_tgammal.c: Likewise.
43928 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
43929 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
43930 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
43931 Minor optimizations. Pretty printing. Remove cruft.
43932 * sysdeps/i386/fpu/e_acosf.S: Likewise.
43933 * sysdeps/i386/fpu/e_acosh.S: Likewise.
43934 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
43935 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
43936 * sysdeps/i386/fpu/e_acosl.c: Likewise.
43937 * sysdeps/i386/fpu/e_asin.S: Likewise.
43938 * sysdeps/i386/fpu/e_asinf.S: Likewise.
43939 * sysdeps/i386/fpu/e_atan2.S: Likewise.
43940 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
43941 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
43942 * sysdeps/i386/fpu/e_atanh.S: Likewise.
43943 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
43944 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
43945 * sysdeps/i386/fpu/e_exp10.S: Likewise.
43946 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
43947 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
43948 * sysdeps/i386/fpu/e_exp2.S: Likewise.
43949 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
43950 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
43951 * sysdeps/i386/fpu/e_fmod.S: Likewise.
43952 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
43953 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
43954 * sysdeps/i386/fpu/e_hypot.S: Likewise.
43955 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
43956 * sysdeps/i386/fpu/e_log.S: Likewise.
43957 * sysdeps/i386/fpu/e_log10.S: Likewise.
43958 * sysdeps/i386/fpu/e_log10f.S: Likewise.
43959 * sysdeps/i386/fpu/e_log10l.S: Likewise.
43960 * sysdeps/i386/fpu/e_log2.S: Likewise.
43961 * sysdeps/i386/fpu/e_log2f.S: Likewise.
43962 * sysdeps/i386/fpu/e_log2l.S: Likewise.
43963 * sysdeps/i386/fpu/e_logf.S: Likewise.
43964 * sysdeps/i386/fpu/e_logl.S: Likewise.
43965 * sysdeps/i386/fpu/e_pow.S: Likewise.
43966 * sysdeps/i386/fpu/e_powf.S: Likewise.
43967 * sysdeps/i386/fpu/e_powl.S: Likewise.
43968 * sysdeps/i386/fpu/e_remainder.S: Likewise.
43969 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
43970 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
43971 * sysdeps/i386/fpu/e_scalb.S: Likewise.
43972 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
43973 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
43974 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
43975 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
43976 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
43977 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
43978 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
43979 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43980 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
43981 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
43982 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
43983 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
43984 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
43985 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
43986 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
43987 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
43988 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
43989 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43990 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
43991 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
43992 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43993 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
43994 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
43995 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
43996 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43997 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
43998 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
43999 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
44000 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
44001 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
44002 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
44003 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
44004 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
44005 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
44006 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
44007 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
44008 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
44009 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
44010 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
44011 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
44012 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
44013 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
44014 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
44015 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
44016 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
44017 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
44018 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
44019 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
44020 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
44021 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
44022 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
44023 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
44024 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
44025 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
44026 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
44027 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
44028 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
44029 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
44030 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
44031 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
44032 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
44033 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
44034 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
44035 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
44036 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
44037 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
44038 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
44039 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
44040 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
44041 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
44042 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
44043 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
44044 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
44045 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
44046 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
44047 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
44048 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
44049 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
44050 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
44051 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
44052 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
44053 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
44054 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
44055 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
44056 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
44057 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
44058 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
44059 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
44060 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
44061 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
44062 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
44063 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
44064 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
44065 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
44066 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
44067 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
44068 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
44069 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
44070 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
44071 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
44072 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
44073 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
44074 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
44075 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
44076 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
44077 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
44078 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
44079 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
44080 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
44081 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
44082 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
44083 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
44084 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
44085 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
44086 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
44087 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
44088 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
44089 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
44090 (__isnanf): Likewise.
44091 (__isinf_ns): Likewise.
44092 (__isinf_nsf): Likewise.
44093 (__finite): Likewise.
44094 (__finitef): Likewise.
44095 (__ieee754_sqrt): Define as macro.
44096 (__ieee754_sqrtf): Define as macro.
44097 (__ieee754_sqrtl): Define as macro.
44098 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
44100 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
44101 __FINITE_MATH_ONLY__ consistent.
44102 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
44104 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
44106 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
44109 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
44111 2011-10-09 Ulrich Drepper <drepper@gmail.com>
44113 * po/ja.po: Update from translation team.
44115 2011-10-08 Roland McGrath <roland@hack.frob.com>
44117 * locale/programs/locarchive.c (prepare_address_space): New function.
44118 (create_archive, enlarge_archive, open_archive): Use it.
44120 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
44121 inside [SHARED], where it is used.
44123 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
44125 * nss/getent.c (netgroup_keys): Remove unused variable.
44126 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
44128 2011-10-08 Ulrich Drepper <drepper@gmail.com>
44130 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
44131 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
44132 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
44133 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
44134 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
44135 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
44136 * math/Makefile (libm-calls): Add s_isinf_ns.
44137 * math/divtc3.c: Use __isinf_nsl instead of isinf.
44138 * math/multc3.c: Likewise.
44139 * math/s_casin.c: Likewise.
44140 * math/s_casinf.c: Likewise.
44141 * math/s_casinl.c: Likewise.
44142 * math/s_ccos.c: Likewise.
44143 * math/s_ccosf.c: Likewise.
44144 * math/s_ccosl.c: Likewise.
44145 * math/s_ctan.c: Likewise.
44146 * math/s_ctanf.c: Likewise.
44147 * math/s_ctanh.c: Likewise.
44148 * math/s_ctanhf.c: Likewise.
44149 * math/s_ctanhl.c: Likewise.
44150 * math/s_ctanl.c: Likewise.
44151 * math/w_fmod.c: Likewise.
44152 * math/w_fmodf.c: Likewise.
44153 * math/w_fmodl.c: Likewise.
44154 * math/w_remainder.c: Likewise.
44155 * math/w_remainderf.c: Likewise.
44156 * math/w_remainderl.c: Likewise.
44157 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
44158 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
44159 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
44160 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
44161 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
44162 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
44163 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
44164 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
44166 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
44168 * stdio-common/printf_fphex.c: Likewise.
44169 * stdio-common/printf_size.c: Likewise.
44171 * math/e_exp10.c: Include math_private.h using <...> not "...".
44172 * math/e_exp10f.c: Likewise.
44173 * math/e_exp10l.c: Likewise.
44174 * math/e_exp2l.c: Likewise.
44175 * math/e_j0l.c: Likewise.
44176 * math/e_j1l.c: Likewise.
44177 * math/e_jnl.c: Likewise.
44178 * math/e_lgammal_r.c: Likewise.
44179 * math/e_rem_pio2l.c: Likewise.
44180 * math/e_scalb.c: Likewise.
44181 * math/e_scalbf.c: Likewise.
44182 * math/e_scalbl.c: Likewise.
44183 * math/k_cosl.c: Likewise.
44184 * math/k_sinl.c: Likewise.
44185 * math/k_tanl.c: Likewise.
44186 * math/s_cacoshf.c: Likewise.
44187 * math/s_catan.c: Likewise.
44188 * math/s_catanf.c: Likewise.
44189 * math/s_catanh.c: Likewise.
44190 * math/s_catanhf.c: Likewise.
44191 * math/s_catanhl.c: Likewise.
44192 * math/s_catanl.c: Likewise.
44193 * math/s_ccosh.c: Likewise.
44194 * math/s_ccoshf.c: Likewise.
44195 * math/s_ccoshl.c: Likewise.
44196 * math/s_cexp.c: Likewise.
44197 * math/s_cexpf.c: Likewise.
44198 * math/s_cexpl.c: Likewise.
44199 * math/s_clog.c: Likewise.
44200 * math/s_clog10.c: Likewise.
44201 * math/s_clog10f.c: Likewise.
44202 * math/s_clog10l.c: Likewise.
44203 * math/s_clogf.c: Likewise.
44204 * math/s_clogl.c: Likewise.
44205 * math/s_csin.c: Likewise.
44206 * math/s_csinf.c: Likewise.
44207 * math/s_csinh.c: Likewise.
44208 * math/s_csinhf.c: Likewise.
44209 * math/s_csinhl.c: Likewise.
44210 * math/s_csinl.c: Likewise.
44211 * math/s_csqrt.c: Likewise.
44212 * math/s_csqrtf.c: Likewise.
44213 * math/s_csqrtl.c: Likewise.
44214 * math/s_ctan.c: Likewise.
44215 * math/s_ctanf.c: Likewise.
44216 * math/s_ctanh.c: Likewise.
44217 * math/s_ctanhf.c: Likewise.
44218 * math/s_ctanhl.c: Likewise.
44219 * math/s_ctanl.c: Likewise.
44220 * math/s_ldexp.c: Likewise.
44221 * math/s_ldexpf.c: Likewise.
44222 * math/s_ldexpl.c: Likewise.
44223 * math/s_significand.c: Likewise.
44224 * math/s_significandf.c: Likewise.
44225 * math/s_significandl.c: Likewise.
44226 * math/w_acos.c: Likewise.
44227 * math/w_acosf.c: Likewise.
44228 * math/w_acosh.c: Likewise.
44229 * math/w_acoshf.c: Likewise.
44230 * math/w_acoshl.c: Likewise.
44231 * math/w_acosl.c: Likewise.
44232 * math/w_asin.c: Likewise.
44233 * math/w_asinf.c: Likewise.
44234 * math/w_asinl.c: Likewise.
44235 * math/w_atan2.c: Likewise.
44236 * math/w_atan2f.c: Likewise.
44237 * math/w_atan2l.c: Likewise.
44238 * math/w_atanh.c: Likewise.
44239 * math/w_atanhf.c: Likewise.
44240 * math/w_atanhl.c: Likewise.
44241 * math/w_cosh.c: Likewise.
44242 * math/w_coshf.c: Likewise.
44243 * math/w_coshl.c: Likewise.
44244 * math/w_dremf.c: Likewise.
44245 * math/w_exp10.c: Likewise.
44246 * math/w_exp10f.c: Likewise.
44247 * math/w_exp10l.c: Likewise.
44248 * math/w_exp2.c: Likewise.
44249 * math/w_exp2f.c: Likewise.
44250 * math/w_fmod.c: Likewise.
44251 * math/w_fmodf.c: Likewise.
44252 * math/w_fmodl.c: Likewise.
44253 * math/w_hypot.c: Likewise.
44254 * math/w_hypotf.c: Likewise.
44255 * math/w_hypotl.c: Likewise.
44256 * math/w_j0.c: Likewise.
44257 * math/w_j0f.c: Likewise.
44258 * math/w_j0l.c: Likewise.
44259 * math/w_j1.c: Likewise.
44260 * math/w_j1f.c: Likewise.
44261 * math/w_j1l.c: Likewise.
44262 * math/w_jn.c: Likewise.
44263 * math/w_jnf.c: Likewise.
44264 * math/w_jnl.c: Likewise.
44265 * math/w_lgamma.c: Likewise.
44266 * math/w_lgamma_r.c: Likewise.
44267 * math/w_lgammaf.c: Likewise.
44268 * math/w_lgammaf_r.c: Likewise.
44269 * math/w_lgammal.c: Likewise.
44270 * math/w_lgammal_r.c: Likewise.
44271 * math/w_log.c: Likewise.
44272 * math/w_log10.c: Likewise.
44273 * math/w_log10f.c: Likewise.
44274 * math/w_log10l.c: Likewise.
44275 * math/w_log2.c: Likewise.
44276 * math/w_log2f.c: Likewise.
44277 * math/w_log2l.c: Likewise.
44278 * math/w_logf.c: Likewise.
44279 * math/w_logl.c: Likewise.
44280 * math/w_pow.c: Likewise.
44281 * math/w_powf.c: Likewise.
44282 * math/w_powl.c: Likewise.
44283 * math/w_remainder.c: Likewise.
44284 * math/w_remainderf.c: Likewise.
44285 * math/w_remainderl.c: Likewise.
44286 * math/w_scalb.c: Likewise.
44287 * math/w_scalbf.c: Likewise.
44288 * math/w_scalbl.c: Likewise.
44289 * math/w_sinh.c: Likewise.
44290 * math/w_sinhf.c: Likewise.
44291 * math/w_sinhl.c: Likewise.
44292 * math/w_sqrt.c: Likewise.
44293 * math/w_sqrtf.c: Likewise.
44294 * math/w_sqrtl.c: Likewise.
44295 * math/w_tgamma.c: Likewise.
44296 * math/w_tgammaf.c: Likewise.
44297 * math/w_tgammal.c: Likewise.
44299 * po/ja.po: Update from translation team.
44301 2011-09-29 Andreas Jaeger <aj@suse.de>
44304 * sunrpc/netname.c (netname2host): Fix logic.
44308 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
44310 * math/w_remainder.c (__remainder): Likewise.
44311 * math/w_remainderf.c (__remainderf): Likewise.
44312 * math/libm-test.inc (remainder_test): Add test cases.
44314 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44316 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
44319 2011-10-07 Ulrich Drepper <drepper@gmail.com>
44321 * string/test-memcmp.c: Avoid unncessary #defines.
44322 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
44324 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44326 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
44327 Use new sse2 version for core i3 - i7 as it's faster
44328 than sse42 version.
44329 (bit_Prefer_PMINUB_for_stringop): New.
44330 * sysdeps/x86_64/rawmemchr.S: Update.
44331 Replace with faster SSE2 version.
44332 * sysdeps/x86_64/memrchr.S: New file.
44333 * sysdeps/x86_64/memchr.S: Update.
44334 Replace with faster SSE2 version.
44336 2011-09-12 Marek Polacek <mpolacek@redhat.com>
44338 * elf/dl-load.c (lose): Add cast to avoid warning.
44340 2011-10-07 Ulrich Drepper <drepper@gmail.com>
44342 * po/ca.po: Update from translation team.
44344 * inet/getnetgrent_r.c: Hook up nscd.
44345 * nscd/Makefile (routines): Add nscd_netgroup.
44346 (nscd-modules): Add netgroupcache.
44347 (CFLAGS-netgroupcache.c): Define.
44348 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
44349 (cache_search): Add const to second parameter.
44350 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
44352 (dbs): Add netgrdb entry.
44353 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
44354 (verify_persistent_db): Handle netgrdb.
44355 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
44356 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
44358 (netgroup_response_header): Define.
44359 (innetgroup_response_header): Define.
44360 (datahead): Add netgroup_response_header and innetgroup_response_header
44362 * nscd/nscd.conf: Add entries for netgroup cache.
44363 * nscd/nscd.h (dbtype): Add netgrdb.
44364 (_PATH_NSCD_NETGROUP_DB): Define.
44365 (netgroup_iov_disabled): Declare.
44366 (xmalloc, xcalloc, xrealloc): Move declarations here.
44367 (cache_search): Adjust prototype.
44368 Add netgroup-related prototypes.
44369 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
44370 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
44371 (__nscd_innetgr): Declare.
44372 * nscd/selinux.c (perms): Use access_vector_t as element type and
44373 add netgroup-related initializers.
44374 * nscd/netgroupcache.c: New file.
44375 * nscd/nscd_netgroup.c: New file.
44376 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
44377 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
44378 For four parameters use innetgr.
44379 * nss/nss_files/files-init.c: Add definition and callback for netgr.
44380 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
44381 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
44382 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
44384 * nscd/connections.c (register_traced_file): Don't register file
44385 for disabled databases.
44387 2011-10-06 Ulrich Drepper <drepper@gmail.com>
44389 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
44391 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
44392 from tree and freeing node.
44394 2011-09-25 Jiri Olsa <jolsa@redhat.com>
44396 * nss/nsswitch.c (__nss_database_lookup): Handle
44397 nss_parse_service_list out of memory case.
44399 2011-09-15 Jiri Olsa <jolsa@redhat.com>
44401 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
44402 out of memory case.
44404 2011-10-04 Andreas Schwab <schwab@redhat.com>
44406 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
44407 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
44409 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
44410 elf_machine_rela, elf_machine_lazy_rel.
44411 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
44412 (ELF_DYNAMIC_DO_REL): Likewise.
44413 (ELF_DYNAMIC_DO_RELA): Likewise.
44414 (ELF_DYNAMIC_RELOCATE): Likewise.
44415 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
44416 to ELF_DYNAMIC_DO_REL.
44417 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
44418 (dl_main): In trace mode always set __RTLD_NOIFUNC.
44419 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
44421 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
44422 skip_ifunc, don't call ifunc function if non-zero.
44423 (elf_machine_rela): Likewise.
44424 (elf_machine_lazy_rel): Likewise.
44425 (elf_machine_lazy_rela): Likewise.
44426 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
44427 (elf_machine_lazy_rel): Likewise.
44428 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
44430 (elf_machine_lazy_rel): Likewise.
44431 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
44433 (elf_machine_lazy_rel): Likewise.
44434 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
44435 (elf_machine_lazy_rel): Likewise.
44436 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
44437 (elf_machine_lazy_rel): Likewise.
44438 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
44439 (elf_machine_lazy_rel): Likewise.
44440 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
44441 (elf_machine_lazy_rel): Likewise.
44442 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
44443 (elf_machine_lazy_rel): Likewise.
44444 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
44445 (elf_machine_lazy_rel): Likewise.
44447 2011-09-28 Ulrich Drepper <drepper@gmail.com>
44449 * nss/nss_files/files-init.c (_nss_files_init): Use static
44450 initialization for all the *_traced_file variables.
44452 2011-09-28 Andreas Schwab <schwab@redhat.com>
44454 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
44456 2011-09-27 Roland McGrath <roland@hack.frob.com>
44459 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
44461 2011-09-27 Andreas Schwab <schwab@redhat.com>
44463 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
44464 Reread the line before reparsing it.
44466 2011-09-26 Andreas Schwab <schwab@redhat.com>
44468 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
44470 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
44471 Maxim Kuvyrkov <maxim@codesourcery.com>
44472 Joseph Myers <joseph@codesourcery.com>
44474 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
44475 if needed for __stack_chk_guard.
44477 2011-09-19 Roland McGrath <roland@hack.frob.com>
44479 * sysdeps/posix/spawni.c (script_execute): Always define it.
44480 It will be optimized away if unused.
44481 (maybe_script_execute): New function.
44482 (__spawni): Call it.
44484 * Makerules: Don't include tls.make.
44485 (config-tls): Always set to thread.
44486 * tls.make.c: File removed.
44488 2011-09-19 Mike Frysinger <vapier@gentoo.org>
44490 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
44491 * config.make.in (CPPFLAGS-config): New substituted variable.
44493 2011-09-15 Ulrich Drepper <drepper@gmail.com>
44495 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
44498 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
44499 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
44501 2011-09-15 Roland McGrath <roland@hack.frob.com>
44503 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
44504 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
44505 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
44506 (CALL_FAIL): Likewise.
44507 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
44508 (CALL_FAIL): Macro removed.
44509 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
44511 2011-09-15 Ulrich Drepper <drepper@gmail.com>
44513 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
44514 for __FINITE_MATH_ONLY__ == 1.
44516 2011-09-15 Andreas Schwab <schwab@redhat.com>
44518 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
44519 __ieee754_sqrt instead of sqrt.
44520 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
44521 __ieee754_sqrtf instead of sqrtf.
44522 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
44523 __floorf instead of floorf.
44524 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
44525 __floorf, __truncf instead of floorf, truncf.
44527 2011-09-14 Ulrich Drepper <drepper@gmail.com>
44529 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
44531 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
44532 __extern_always_inline.
44533 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
44536 2011-09-14 Andreas Schwab <schwab@redhat.com>
44538 * elf/rtld.c (dl_main): Also relocate in dependency order when
44539 doing symbol dependency testing.
44541 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
44543 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
44544 Always define `refsym'.
44546 2011-09-13 Andreas Schwab <schwab@redhat.com>
44548 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
44549 (__FD_ELT): Renamed from __FDELT.
44550 * misc/bits/select2.h (__FD_ELT): Likewise.
44551 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
44552 __FD_MASK instead of __FDELT, __FDMASK.
44553 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
44555 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
44558 * elf/Makefile (gen-ldd): Fix pattern.
44560 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
44561 (init_tls): Likewise.
44563 2011-09-12 Ulrich Drepper <drepper@gmail.com>
44565 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
44567 2011-09-12 Andreas Schwab <schwab@redhat.com>
44569 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
44570 `struct cmsghdr *' instead of `void *'.
44571 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
44574 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
44576 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
44578 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
44579 ldd_rewrite_script.
44581 2011-09-11 Ulrich Drepper <drepper@gmail.com>
44583 * configure.in: Remove --with-tls option.
44584 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
44585 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
44586 out in case it is missing.
44587 * sysdeps/ia64/elf/configure.in: Likewise.
44588 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
44589 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
44590 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
44591 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
44592 * sysdeps/sh/elf/configure.in: Likewise.
44593 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
44594 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
44595 * sysdeps/x86_64/elf/configure.in: Likewise.
44596 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
44597 * sysdeps/mach/hurd/tls.h: Likewise.
44600 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
44603 * configure.in: Fix use of AC_INIT.
44605 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
44607 2011-09-10 Ulrich Drepper <drepper@gmail.com>
44609 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
44611 * malloc/hooks.c: Likewise.
44614 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
44615 variables statically.
44616 (narenas): Initialize.
44617 (list_lock): Initialize.
44618 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
44619 initializtion of main_arena and list_lock. Small cleanups.
44620 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
44621 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
44622 Add initializers to main_arena and mp_.
44623 (malloc_state): Remove pagesize member. Change all users to use
44626 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
44627 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
44628 is always initialized.
44630 * malloc/malloc.c: Removed unused configurations and dead code.
44631 * malloc/arena.c: Likewise.
44632 * malloc/hooks.c: Likewise.
44633 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
44635 * include/tls.h: Removed. USE___THREAD must always be defined.
44636 * bits/libc-tsd.h: Don't handle !USE___THREAD.
44637 * elf/dl-libc.c: Likewise.
44638 * elf/dl-tsd.c: Likewise.
44639 * include/errno.h: Likewise.
44640 * include/netdb.h: Likewise.
44641 * include/resolv.h: Likewise.
44642 * inet/herrno-loc.c: Likewise.
44643 * inet/herrno.c: Likewise.
44644 * malloc/arena.c: Likewise.
44645 * malloc/hooks.c: Likewise.
44646 * malloc/malloc.c: Likewise.
44647 * resolv/res-state.c: Likewise.
44648 * resolv/res_libc.c: Likewise.
44649 * sysdeps/i386/dl-machine.h: Likewise.
44650 * sysdeps/ia64/dl-machine.h: Likewise.
44651 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
44652 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
44653 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
44654 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
44655 * sysdeps/sh/dl-machine.h: Likewise.
44656 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
44657 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
44658 * sysdeps/unix/i386/sysdep.S: Likewise.
44659 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
44660 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
44661 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
44662 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
44663 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
44664 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
44665 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
44666 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
44667 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
44668 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
44669 * sysdeps/unix/x86_64/sysdep.S: Likewise.
44670 * sysdeps/x86_64/dl-machine.h: Likewise.
44671 * tls.make.c: Likewise.
44673 * configure.in: Remove --with-__thread option. Make tests for
44674 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
44675 tls_model attribute fail if no support is available. Remove
44677 * Makeconfig: Adjust for dropped configure option. All features are
44679 * Makerules: Likewise.
44680 * Versions.def: Likewise.
44681 * argp/argp-fmtstream.c: Likewise.
44682 * argp/argp-fmtstream.h: Likewise.
44683 * argp/argp-help.c: Likewise.
44684 * assert/assert.c: Likewise.
44685 * config.h.in: Likewise.
44686 * config.make.in: Likewise.
44687 * configure: Likewise.
44688 * configure.in: Likewise.
44689 * csu/Versions: Likewise.
44690 * csu/init.c: Likewise.
44691 * elf/tst-audit2.c: Likewise.
44692 * elf/tst-tls10.c: Likewise.
44693 * elf/tst-tls10.h: Likewise.
44694 * elf/tst-tls11.c: Likewise.
44695 * elf/tst-tls12.c: Likewise.
44696 * elf/tst-tls14.c: Likewise.
44697 * elf/tst-tlsmod11.c: Likewise.
44698 * elf/tst-tlsmod12.c: Likewise.
44699 * elf/tst-tlsmod13.c: Likewise.
44700 * elf/tst-tlsmod13a.c: Likewise.
44701 * elf/tst-tlsmod14a.c: Likewise.
44702 * elf/tst-tlsmod15b.c: Likewise.
44703 * elf/tst-tlsmod16a.c: Likewise.
44704 * elf/tst-tlsmod16b.c: Likewise.
44705 * elf/tst-tlsmod7.c: Likewise.
44706 * elf/tst-tlsmod8.c: Likewise.
44707 * elf/tst-tlsmod9.c: Likewise.
44708 * gmon/gmon.c: Likewise.
44709 * grp/fgetgrent_r.c: Likewise.
44710 * grp/putgrent.c: Likewise.
44711 * hurd/fopenport.c: Likewise.
44712 * include/libc-symbols.h: Likewise.
44713 * include/tls.h: Likewise.
44714 * intl/gettextP.h: Likewise.
44715 * intl/loadinfo.h: Likewise.
44716 * locale/global-locale.c: Likewise.
44717 * locale/localeinfo.h: Likewise.
44718 * mach/devstream.c: Likewise.
44719 * malloc/arena.c: Likewise.
44720 * malloc/set-freeres.c: Likewise.
44721 * misc/err.c: Likewise.
44722 * misc/getttyent.c: Likewise.
44723 * misc/mntent_r.c: Likewise.
44724 * posix/getopt.c: Likewise.
44725 * posix/wordexp.c: Likewise.
44726 * pwd/fgetpwent_r.c: Likewise.
44727 * resolv/Versions: Likewise.
44728 * resolv/res_hconf.c: Likewise.
44729 * shadow/fgetspent_r.c: Likewise.
44730 * shadow/putspent.c: Likewise.
44731 * stdio-common/printf_fphex.c: Likewise.
44732 * stdio-common/tmpfile.c: Likewise.
44733 * stdlib/abort.c: Likewise.
44734 * stdlib/fmtmsg.c: Likewise.
44735 * sunrpc/auth_unix.c: Likewise.
44736 * sunrpc/clnt_perr.c: Likewise.
44737 * sunrpc/clnt_tcp.c: Likewise.
44738 * sunrpc/clnt_udp.c: Likewise.
44739 * sunrpc/clnt_unix.c: Likewise.
44740 * sunrpc/openchild.c: Likewise.
44741 * sunrpc/svc_simple.c: Likewise.
44742 * sunrpc/svc_tcp.c: Likewise.
44743 * sunrpc/svc_udp.c: Likewise.
44744 * sunrpc/svc_unix.c: Likewise.
44745 * sunrpc/xdr.c: Likewise.
44746 * sunrpc/xdr_array.c: Likewise.
44747 * sunrpc/xdr_rec.c: Likewise.
44748 * sunrpc/xdr_ref.c: Likewise.
44749 * sunrpc/xdr_stdio.c: Likewise.
44751 2011-09-09 Ulrich Drepper <drepper@gmail.com>
44753 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
44755 2011-07-03 Andreas Jaeger <aj@suse.de>
44757 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
44758 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
44759 regenerate with gen-libm-tests.pl.
44761 2010-05-12 Petr Baudis <pasky@suse.cz>
44764 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
44765 around j0() zero points by switching to j1().
44766 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
44767 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
44768 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
44769 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
44771 2011-09-09 Ulrich Drepper <drepper@gmail.com>
44773 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
44775 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
44777 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
44778 Patch in part by Pavel Roskin <proski@gnu.org>.
44781 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
44783 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
44784 Free memory block if necessary.
44787 * libio/genops.c (INTDEF): For string streams the _lock pointer can
44788 be NULL. Don't lock in this case.
44790 2011-09-09 Roland McGrath <roland@hack.frob.com>
44792 * elf/elf.h (ELFOSABI_GNU): New macro.
44793 (ELFOSABI_LINUX): Define to that.
44795 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
44797 * string/strncat.c (strncat): Undef the symbol in case it has been
44798 defined in bits/string.h.
44800 2011-09-09 Ulrich Drepper <drepper@gmail.com>
44802 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
44804 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
44807 2011-08-17 Andreas Jaeger <aj@suse.de>
44809 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
44811 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
44812 Ian Lance Taylor <iant@google.com>
44814 * math/libm-test.inc (lround_test): New testcase.
44815 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
44817 2011-09-08 Ulrich Drepper <drepper@gmail.com>
44819 * Makefile: Remove support for automatic cvs check-ins.
44820 * Makerules: Likewise.
44821 * config.make.in: Likewise.
44822 * configure.in: Likewise.
44823 * intl/Makefile: Likewise.
44824 * locale/Makefile: Likewise.
44825 * po/Makefile: Likewise.
44826 * posix/Makefile: Likewise.
44827 * sysdeps/gnu/Makefile: Likewise.
44828 * sysdeps/mach/hurd/Makefile: Likewise.
44829 * sysdeps/sparc/sparc32/Makefile: Likewise.
44832 * posix/Makefile (bug-regex32-ENV): Define.
44833 Patch by John Stanley <jpsinthemix@verizon.net>.
44835 * misc/Makefile (headers): Add bits/select2.h.
44836 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
44837 * misc/bits/select2.h: New file.
44838 * include/bits/select2.h: New file.
44839 * debug/Makefile (routines): Add fdelt_chk.
44840 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
44841 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
44843 * debug/fdelt_chk.c: New file.
44845 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
44846 * wcsmbs/test-wmemcmp.c: Likewise.
44847 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
44848 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
44850 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44852 * string/Makefile (strop-tests): Add memcmp.
44853 * string/test-wmemcmp.c: New file.
44854 * string/test-memcmp.c: Add wmemcmp support.
44856 2011-09-08 Roland McGrath <roland@hack.frob.com>
44859 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
44862 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
44863 garbage value in a __mach_port_mod_refs call in the cases of the
44864 task-self and thread-self ports.
44866 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
44868 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
44870 2011-09-08 Andreas Schwab <schwab@redhat.com>
44872 * elf/dl-load.c (lose): Check for non-null L.
44874 2011-09-07 Ulrich Drepper <drepper@gmail.com>
44876 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
44878 * elf/dl-libc.c (dlerror_run): Pass back error code from
44882 * elf/dl-load.c (lose): Free l_origin if it is valid.
44884 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
44886 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
44887 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
44888 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
44889 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
44890 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
44891 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
44893 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44895 * sysdeps/powerpc/fpu/e_hypot.c: New file.
44896 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
44897 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
44898 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
44899 * sysdeps/powerpc/fpu/k_cosf.c: New file.
44900 * sysdeps/powerpc/fpu/k_sinf.c: New file.
44901 * sysdeps/powerpc/fpu/s_cosf.c: New file.
44902 * sysdeps/powerpc/fpu/s_sinf.c: New file.
44903 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
44904 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
44906 2011-08-15 Alan Modra <amodra@gmail.com>
44909 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
44910 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
44911 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
44912 ppc_mcount to static-only-routines.
44913 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
44915 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
44916 __mcount_internal with usual JUMPTARGET. Remove useless nop.
44918 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
44920 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
44921 for finite and infinity parameters.
44923 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
44925 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
44926 and add nop instructions for throughput optimization.
44927 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
44929 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
44931 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
44932 aligned copy for power7 with vector-scalar instructions.
44933 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
44935 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
44937 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
44940 2011-09-07 Andreas Schwab <schwab@redhat.com>
44943 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
44946 2011-09-07 Ulrich Drepper <drepper@gmail.com>
44948 * sysdeps/unix/sysv/linux/x86_64/init-first.c
44949 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
44950 syscall wrapper around clock_gettime in __vdso_clock_gettime.
44951 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
44954 2011-09-06 Ulrich Drepper <drepper@gmail.com>
44956 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
44957 Forgot to demangle the pointer.
44959 * sysdeps/i386/sysdep.h: Define atom_text_section.
44960 * sysdeps/x86_64/sysdep.h: Likewise.
44961 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
44962 section with atom_text_section.
44963 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
44964 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
44965 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
44966 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
44967 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
44969 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
44970 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
44971 already be defined. Change to take two parameters and don't assign
44972 result to variable. Adjust all users.
44973 Define INTERNAL_GETTIME if not already defined.
44974 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
44976 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
44977 HAVE_CLOCK_GETTIME_VSYSCALL.
44978 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
44980 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
44981 gettimeofday vsyscall, just use time.
44983 2011-09-06 Andreas Schwab <schwab@redhat.com>
44985 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
44988 2011-09-06 Ulrich Drepper <drepper@gmail.com>
44990 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
44992 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
44994 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
44995 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
44996 syscall if possible.
44998 2011-09-05 Ulrich Drepper <drepper@gmail.com>
45000 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
45001 e_ident. Don't pass to find_mapsXX.
45002 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
45004 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
45006 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45007 strchr-sse2-no-bsf strrchr-sse2-no-bsf
45008 * sysdeps/x86_64/multiarch/strchr.S: Update.
45009 Check bit_slow_BSF bit.
45010 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
45011 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
45012 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
45014 2011-09-05 Ulrich Drepper <drepper@gmail.com>
45017 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
45019 (tryshell): Define.
45020 (__spawni): Change last parameter to be flag. Test
45021 SPAWN_XFLAGS_USE_PATH flag to use path or not.
45022 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
45023 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
45024 * posix/spawni.c: Likewise.
45025 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
45026 * posix/spawnp.c: Likewise. Change normal version to use
45027 SPAWN_XFLAGS_USE_PATH.
45028 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
45029 SPAWN_XFLAGS_TRY_SHELL.
45032 * posix/glob.h: Remove gcc 1.x support.
45035 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
45037 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
45039 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45040 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
45042 * sysdeps/i386/i686/multiarch/strchr.S: New file.
45043 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
45044 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
45045 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
45046 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
45047 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
45049 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45051 * sysdeps/x86_64/wcscmp.S: New file.
45053 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
45054 wcscmp-c wcscmp-sse2
45055 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
45056 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
45057 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
45058 * wcsmbs/wcscmp.c: Allow renaming.
45060 2011-09-05 David S. Miller <davem@davemloft.net>
45062 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
45063 stack slot, rather than the struct return pointer slot.
45064 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
45065 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
45066 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
45067 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
45069 2011-09-05 Ulrich Drepper <drepper@gmail.com>
45071 * po/ja.po: Update from translation team.
45074 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
45075 kernel in 64-bit binaries.
45077 2011-09-01 David S. Miller <davem@davemloft.net>
45079 * elf/elf.h (HWCAP_SPARC_*): Move to..
45080 * sysdeps/sparc/sysdep.h: this new file and add new values.
45081 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
45082 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
45083 _DL_HWCAP_COUNT to 24.
45084 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
45086 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
45087 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
45088 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
45089 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
45090 instead of magic constants.
45091 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
45093 2011-08-31 David S. Miller <davem@davemloft.net>
45095 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
45096 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
45097 Reimplement to do errno handling inline.
45098 (SYSCALL_ERROR_HANDLER): New macro.
45099 (__SYSCALL_STRING): Do not do errno handling in asm.
45100 (__CLONE_SYSCALL_STRING): Delete.
45101 (__INTERNAL_SYSCALL_STRING): Delete.
45102 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
45103 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
45104 (PSEUDO): Reimplement to do errno handling inline.
45105 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
45106 (SYSCALL_ERROR_HANDLER): New macro.
45107 (__SYSCALL_STRING): Do not do errno handling in asm.
45108 (__CLONE_SYSCALL_STRING): Delete.
45109 (__INTERNAL_SYSCALL_STRING): Delete.
45110 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
45111 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
45113 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
45114 (inline_syscall*): Add 'err' argument.
45115 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
45116 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
45117 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
45118 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
45120 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
45121 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
45123 2011-08-30 Andreas Schwab <schwab@redhat.com>
45125 * elf/rtld.c (dl_main): Relocate objects in dependency order.
45127 2011-08-29 Jiri Olsa <jolsa@redhat.com>
45129 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
45132 2011-08-24 David S. Miller <davem@davemloft.net>
45134 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
45136 2011-08-24 Andreas Schwab <schwab@redhat.com>
45138 * elf/Makefile: Add rules to build and run unload8 test.
45139 * elf/unload8.c: New file.
45140 * elf/unload8mod1.c: New file.
45141 * elf/unload8mod1x.c: New file.
45142 * elf/unload8mod2.c: New file.
45143 * elf/unload8mod3.c: New file.
45145 * elf/dl-close.c (_dl_close_worker): Reset private search list if
45148 2011-08-23 David S. Miller <davem@davemloft.net>
45150 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
45151 subtract stack bias.
45152 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
45153 %sp not %fp in calculations.
45154 (_JMPBUF_UNWINDS_ADJ): Likewise.
45156 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
45157 (aio_suspend): Call it to force an exception region around the
45158 AIO_MISC_WAIT() invocation.
45160 2011-08-23 Andreas Schwab <schwab@redhat.com>
45162 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
45165 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
45167 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
45169 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
45170 and <dl-machine.h>.
45171 (Elf64_FuncDesc): Remove.
45173 2011-08-22 David S. Miller <davem@davemloft.net>
45175 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
45176 sigaltstack check, add missing cfi directives.
45177 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
45178 missing cfi directives, and sigaltstack handling.
45180 2011-08-16 Andreas Schwab <schwab@redhat.com>
45183 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
45184 object is seen twice.
45185 * elf/dl-fini.c (_dl_sort_fini): Likewise.
45187 * elf/Makefile (distribute): Add tst-initorder2.c.
45188 (tests): Add tst-initorder2.
45189 (modules-names): Add tst-initorder2a tst-initorder2b
45190 tst-initorder2c tst-initorder2d. Add rules to build them.
45191 ($(objpfx)tst-initorder2.out): New rule.
45192 * elf/tst-initorder2.c: New file.
45193 * elf/tst-initorder2.exp: New file.
45195 2011-08-22 Andreas Schwab <schwab@redhat.com>
45197 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
45199 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
45200 dependencies back to end of function.
45202 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
45203 $(elfobjdir)/ld.so.
45205 2011-08-21 Ulrich Drepper <drepper@gmail.com>
45207 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
45208 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
45209 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
45210 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
45211 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
45212 of __vdso_gettimeofday.
45213 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
45214 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
45216 (_libc_vdso_platform_setup): Remove initialization of
45217 __vdso_gettimeofday and __vdso_time.
45219 2011-08-20 Ulrich Drepper <drepper@gmail.com>
45221 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
45222 and fgetc_unlocked.
45223 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
45226 * elf/dl-open.c (add_to_global): Report additions to the global scope
45227 for LD_DEBUG=scopes.
45228 (dl_open_worker): Also print scope of newly loaded dependencies.
45229 (_dl_show_scope): Indicate if there is no scope.
45232 * stdio-common/Makefile (tests): Add bug24.
45233 * stdio-common/bug24.c: New file.
45235 2011-08-19 Andreas Jaeger <aj@suse.de>
45238 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
45239 non-existant file when using close-on-exec mode.
45241 2011-08-20 Ulrich Drepper <drepper@gmail.com>
45243 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
45244 the very first instruction.
45246 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
45247 the CFI state in the end.
45248 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
45249 inclusion of dl-trampoline.h.
45250 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
45252 2011-08-19 Andreas Schwab <schwab@redhat.com>
45254 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
45255 expectations for long double.
45257 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
45258 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
45260 2011-08-14 David S. Miller <davem@davemloft.net>
45262 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
45263 artificual limit depends upon the system page size.
45265 2011-08-17 Ulrich Drepper <drepper@gmail.com>
45267 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
45268 * resolv/Makefile: Define CFLAGS-libresolv.
45270 2011-08-17 Andreas Schwab <schwab@redhat.com>
45272 * nss/makedb.c (compute_tables): Make variables used in nested
45275 2011-08-17 Ulrich Drepper <drepper@gmail.com>
45277 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
45278 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
45279 if buffer was too small.
45281 * elf/pldd.c (main): Attach to all threads in the process.
45282 Rewrite /proc handling to use *at functions.
45284 2011-08-16 Ulrich Drepper <drepper@gmail.com>
45286 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
45287 specifies first scope to show.
45288 (dl_open_worker): Update callers. Move printing scope of new
45289 object to before the relocation.
45290 * elf/rtld.c (dl_main): Update _dl_show_scope call.
45291 * sysdeps/generic/ldsodefs.h: Update declaration.
45293 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
45294 string for the scope number.
45296 2011-08-14 Ulrich Drepper <drepper@gmail.com>
45298 * nscd/servicescache.c (cache_addserv): Make sure written is always
45301 2011-08-14 Roland McGrath <roland@hack.frob.com>
45303 * sysdeps/i386/i486/bits/atomic.h
45304 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
45305 statement expression, so as to suppress "set but not used" warning.
45306 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
45308 * string/strncat.c (STRNCAT): Use prototype definition.
45310 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
45311 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
45313 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
45314 (localedef-modules): Add localedef.
45315 (locale-modules): Add locale.
45317 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
45318 * elf/rtld.c (dl_main): Invert order of assignment in last change,
45319 to avoid a warning.
45321 2011-08-14 David S. Miller <davem@davemloft.net>
45323 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
45324 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
45326 2011-08-13 Ulrich Drepper <drepper@gmail.com>
45328 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
45329 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
45330 * elf/rtld.c (dl_main): Set l_name of vDSO.
45331 Call _dl_show_scope when DL_DEBUG_SCOPES.
45332 (process_dl_debug): Recognize scopes flag and also set it for all.
45333 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
45334 Declare _dl_show_scope.
45336 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
45337 (do_dlopen): Pass caller_dlopen to dl_open.
45338 (__libc_dlopen_mode): Initialize caller_dlopen.
45340 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
45341 of libc. Make tolower call locale-independent. Optimize a bit by
45342 using isdigit instead of isalnum.
45343 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
45345 2011-08-12 Ulrich Drepper <drepper@gmail.com>
45347 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
45348 was a dependency or dynamically loaded.
45350 2011-08-11 Ulrich Drepper <drepper@gmail.com>
45352 * intl/l10nflist.c: Allow architecture-specific pop function.
45353 * sysdeps/x86_64/l10nflist.c: New file.
45355 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
45358 2011-08-10 Andreas Schwab <schwab@redhat.com>
45360 * include/dirent.h: Add libc_hidden_proto for scandirat and
45361 scandirat64. Don't declare __scandirat64.
45362 * dirent/scandirat.c: Add libc_hidden_def.
45363 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
45364 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
45366 2011-08-10 David S. Miller <davem@davemloft.net>
45368 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
45370 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
45371 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
45372 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
45374 2011-08-09 Ulrich Drepper <drepper@gmail.com>
45376 * Versions.def [libc]: Add GLIBC_2.15.
45377 * dirent/Makefile (routines): Add scandirat and scandirat64.
45378 * dirent/Versions [libc]: Export scandirat and scandirat64 for
45380 * dirent/dirent.h: Declare scandirat and scandirat64.
45381 * dirent/scandirat.c: New file.
45382 * dirent/scandirat64.c: New file.
45383 * sysdeps/wordsize-64/scandirat.c: New file.
45384 * sysdeps/wordsize-64/scandirat64.c: New file.
45385 * dirent/opendir.c: Define opendirat.
45386 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
45388 * dirent/scandir64.c: Adjust for scandir.c change.
45389 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
45390 __scandirat64, and __scandir_cancel_handler.
45391 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
45392 additional parameter and use openat instead of open (outside of ld.so).
45393 Add new __opendir as wrapper around __opendirat.
45394 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
45395 here without requiring old scandirat implementation.
45397 2011-08-08 Ulrich Drepper <drepper@gmail.com>
45399 * dirent/scandir.c (cancel_handler): Renamed to
45400 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
45401 defined. Adjust users.
45402 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
45403 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
45405 2011-08-04 Ulrich Drepper <drepper@gmail.com>
45407 * string/test-string.h (IMPL): Use __STRING to expand name and then
45410 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
45413 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45415 * string/Makefile: Update.
45416 (strop-tests): Append strncat.
45417 * string/test-wcscmp.c: New file.
45418 New comprehensive test for wcscmp.
45419 * string/test-strcmp.c: Update.
45420 (WIDE): New define.
45422 2011-07-22 Andreas Schwab <schwab@redhat.com>
45424 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
45427 2011-07-26 Andreas Schwab <schwab@redhat.com>
45429 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
45430 encoding to ACE if AI_IDN.
45432 2011-08-01 Jakub Jelinek <jakub@redhat.com>
45434 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
45435 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
45437 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
45439 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
45440 Fix overflow bug in strncat.
45441 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
45443 * string/test-strncat.c: Update.
45444 Add new tests for checking overflow bugs.
45446 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
45448 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45449 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
45450 * sysdeps/i386/i686/multiarch/strcat.S: New file.
45451 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
45452 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
45453 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
45454 * sysdeps/i386/i686/multiarch/strncat.S: New file.
45455 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
45456 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
45458 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
45459 (USE_AS_STRCAT): Define.
45460 Add strcat and strncat support.
45461 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
45463 2011-07-25 Andreas Schwab <schwab@redhat.com>
45465 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
45466 __n bigger than INT_MAX+1.
45467 (__strncmp_g): Likewise.
45469 2011-07-23 Ulrich Drepper <drepper@gmail.com>
45471 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
45472 * libio/stido.h: Likewise.
45474 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
45476 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
45479 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
45480 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
45481 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
45482 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
45483 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
45486 * scripts/test-installation.pl: Don't expect libnss_test1 to be
45489 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
45491 (_dl_x86_64_save_sse): Likewise.
45493 2011-07-22 Ulrich Drepper <drepper@gmail.com>
45495 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
45497 (_dl_x86_64_save_sse): Likewise.
45499 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
45501 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
45503 2011-07-21 Andreas Schwab <schwab@redhat.com>
45505 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
45507 (_dl_x86_64_save_sse): Use correct AVX check.
45509 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45511 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
45512 bug in strncpy/strncat.
45513 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
45515 2011-07-21 Ulrich Drepper <drepper@gmail.com>
45517 * string/tester.c (test_strcat): Add tests for different alignments
45518 of source and destination.
45519 (test_strncat): Likewise.
45521 2011-07-20 Ulrich Drepper <drepper@gmail.com>
45524 * posix/glob.c (glob): Check passed in values before using them in
45525 expressions to avoid some overflows.
45526 (glob_in_dir): Likewise.
45529 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
45530 check for AVX enablement so that we don't crash with old kernels and
45532 * elf/tst-audit4.c: Add same checks here.
45533 * elf/tst-audit6.c: Likewise.
45535 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
45537 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
45539 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
45541 2011-07-20 Ulrich Drepper <drepper@gmail.com>
45543 * po/cs.po: Update from translation team.
45544 * po/bg.po: Likewise.
45546 2011-07-12 Marek Polacek <mpolacek@redhat.com>
45548 * misc/sys/cdefs.h: Add support for const attribute.
45549 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
45550 to gnu_dev_{major,minor,makedev} functions.
45552 2011-07-20 Marek Polacek <mpolacek@redhat.com>
45554 * intl/dcigettext.c (get_output_charset): Add missing bracket.
45556 2011-07-20 Andreas Schwab <schwab@redhat.com>
45558 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
45561 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45563 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
45564 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
45565 register in order to avoid conflicts with the soft frame pointer
45566 being held in r11 when necessary.
45567 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
45568 (INTERNAL_VSYSCALL_NCS): Likewise.
45570 2011-07-14 Marek Polacek <mpolacek@redhat.com>
45572 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
45573 * elf/dl-fini.c (_dl_fini): Adjust caller.
45574 * elf/dl-close.c (_dl_close_worker): Likewise.
45575 * sysdeps/generic/ldsodefs.h: Adjust declaration.
45577 2011-07-15 Marek Polacek <mpolacek@redhat.com>
45579 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
45580 "aux_cache->nlibs < 0".
45582 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
45583 in the reload-count case.
45585 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
45587 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45588 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
45589 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
45590 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
45591 * sysdeps/x86_64/multiarch/strcat.S: New file.
45592 * sysdeps/x86_64/multiarch/strncat.S: New file.
45593 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
45594 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
45595 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
45596 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
45597 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
45598 (USE_AS_STRCAT): Define.
45599 Add strcat and strncat support.
45600 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
45601 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
45602 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
45603 * string/strncat.c: Update.
45604 (USE_AS_STRNCAT): Define.
45605 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45606 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
45608 * sysdeps/x86_64/multiarch/init-arch.h
45609 (bit_Prefer_PMINUB_for_stringop): New.
45610 (index_Prefer_PMINUB_for_stringop): Likewise.
45611 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
45612 bit_Prefer_PMINUB_for_stringop.
45614 2011-07-19 Ulrich Drepper <drepper@gmail.com>
45616 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
45618 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
45619 of casting of buffer.
45620 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
45621 buffer32 and buffer64.
45622 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
45623 writes instead of casting of buffer.
45624 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
45626 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
45629 2011-07-19 Andreas Schwab <schwab@redhat.com>
45631 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
45633 2011-07-19 Ulrich Drepper <drepper@gmail.com>
45635 * nscd/nscd.c (termination_handler): Don't do anything for a database
45636 if it has not yet been initialized.
45638 2011-07-18 Ulrich Drepper <drepper@gmail.com>
45640 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
45642 2011-07-15 Marek Polacek <mpolacek@redhat.com>
45644 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
45646 2011-07-18 Ulrich Drepper <drepper@gmail.com>
45648 * po/nl.po: Update from translation team.
45649 * po/sv.po: Likewise.
45651 2011-07-16 Roland McGrath <roland@hack.frob.com>
45653 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
45654 now disallowed by GCC.
45656 * configure.in (use-default-link): Default to yes if a test -shared
45657 link meets our qualifications.
45658 * configure: Regenerated.
45660 * config.make.in (output-format): New variable.
45661 * configure.in: Check for ld --print-output-format support.
45662 * configure: Regenerated.
45663 * Makerules ($(common-objpfx)format.lds)
45664 [$(output-format) != unknown]: Just use $(output-format),
45665 instead of the linker-script munging.
45667 2011-07-14 Roland McGrath <roland@hack.frob.com>
45669 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
45670 of $(common-objpfx)shlib.lds.
45671 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
45673 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
45674 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
45676 * configure.in (-z relro check): Adjust test code to add a large
45677 writable data section after it.
45678 * configure: Regenerated.
45680 2011-07-11 Roland McGrath <roland@hack.frob.com>
45682 * configure.in (-z relro check): Fix test code to make the variable
45684 * configure: Regenerated.
45686 2011-07-11 Ulrich Drepper <drepper@gmail.com>
45688 * nscd/nscd.h (struct traced_file): Define.
45689 (struct database_dyn): Remove inotify_descr, reset_res, and filename
45690 elements. Add traced_files.
45691 (inotify_fd): Declare.
45692 (register_traced_file): Declare.
45693 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
45694 (inotify_fd): Export.
45695 (resolv_conf_descr): Remove.
45696 (nscd_init): Move inotify descriptor creation to main.
45697 Don't register files for notification here.
45698 (register_traced_file): New function.
45699 (invalidate_cache): Don't use reset_res to determine whether to call
45700 res_init, go through the list of registered files.
45701 (main_loop_poll): The inotify descriptors are now stored in the
45702 structures for the traced files.
45703 (main_loop_epoll): Likewise
45704 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
45705 to __nss_disable_nscd.
45706 * nscd/cache.c (prune_cache): There is no single inotify descriptor
45707 for a database anymore. Check the records for all the registered
45709 * nss/Makefile (libnss_files-routines): Add files-init.
45710 (libnss_db-routines): Add db-init.
45711 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
45712 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
45713 * nss/nss_db/db-init.c: New file.
45714 * nss/nss_files/files-init.c: New file.
45715 * nss/nsswitch.c (nss_load_library): New function. Broken out of
45716 __nss_lookup_function.
45717 (__nss_lookup_function): Call nss_load_library.
45718 (nss_load_all_libraries): New function.
45719 (__nss_disable_nscd): Take parameter with callback function for files
45720 to register. Set is_nscd. Load all the DSOs for the NSS modules
45721 used for the cached services.
45722 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
45723 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
45724 options for features to all the files in nscd.
45726 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
45728 2011-07-10 Roland McGrath <roland@hack.frob.com>
45730 * csu/elf-init.c (__libc_csu_init): Comment typo.
45732 2011-07-09 Ulrich Drepper <drepper@gmail.com>
45734 * po/pl.po: Update from translation team.
45735 * po/ja.po: Likewise.
45736 * po/ru.po: Likewise.
45737 * po/ko.po: Likewise.
45738 * po/fr.po: Likewise.
45740 2011-07-09 Roland McGrath <roland@hack.frob.com>
45742 * configure.in (.ctors/.dtors header and trailer check):
45743 Use an empirical test on a built program.
45744 * configure: Regenerated.
45746 * configure.in (-z relro check): Use an empirical test on a built DSO.
45747 Detect, but do not require, on ia64.
45748 * configure: Regenerated.
45750 * configure.in (READELF): Find it with AC_CHECK_TOOL.
45751 Update tests that use readelf to use $READELF instead.
45752 * configure: Regenerated.
45754 2011-07-08 Ulrich Drepper <drepper@gmail.com>
45756 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
45757 if the result is not used.
45759 2011-07-05 Andreas Jaeger <aj@suse.de>
45762 * stdlib/tst-strtod.c: Add testcase.
45764 2011-07-07 Ulrich Drepper <drepper@gmail.com>
45766 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
45767 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
45768 The latter has a higher limit. Take additional parameter to pass to
45770 (__pathconf): Pass file to __statfs_link_max.
45771 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
45773 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
45777 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
45778 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
45780 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
45781 (__statfs_filesize_max): Likewise.
45782 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
45784 2011-07-05 Andreas Jaeger <aj@suse.de>
45786 * resolv/res_comp.c (dn_skipname): Remove unused variable.
45788 2011-07-06 Marek Polacek <mpolacek@redhat.com>
45790 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
45792 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
45795 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
45797 * Makefile (strop-tests): Add strncat.
45798 * string/test-strncat.c: New file.
45800 2011-06-30 Marek Polacek <mpolacek@redhat.com>
45802 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
45804 2011-06-21 Andreas Jaeger <aj@suse.de>
45806 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
45807 Copy rule from iconvdata/Makefile.
45809 2011-07-06 Ulrich Drepper <drepper@gmail.com>
45812 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
45813 but no long options are defined, just return 'W'.
45815 2011-06-22 Marek Polacek <mpolacek@redhat.com>
45818 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
45820 2011-07-06 Ulrich Drepper <drepper@gmail.com>
45822 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
45824 (innetgr): Likewise.
45826 2011-07-05 Roland McGrath <roland@hack.frob.com>
45828 * config.make.in (install_root): Default to $(DESTDIR).
45830 2011-07-05 Ulrich Drepper <drepper@gmail.com>
45832 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
45834 2011-07-02 Roland McGrath <roland@hack.frob.com>
45836 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
45838 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
45839 containing directory rather than embedding absolute directory names.
45841 * scripts/check-local-headers.sh: Rewritten using awk.
45842 Match by word, not by line. Print error messages for matches.
45843 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
45845 * Makerules [shlib-lds-flags empty]:
45846 ($(common-objpfx)libc_pic.opts): New target.
45847 ($(common-objpfx)libc_pic.os.clean): New target.
45848 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
45850 * config.make.in (OBJCOPY): New variable.
45851 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
45852 * configure: Regenerated.
45854 * config.make.in (use-default-link): New variable.
45855 * configure.in (use_default_link): Grok --with-default-link to set it.
45856 * configure: Regenerated.
45857 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
45858 (shlib-lds, shlib-lds-flags): Define to empty.
45860 * Makerules (shlib-lds): New variable.
45861 (shlib-lds-flags): New variable.
45862 (build-shlib, build-moduile, build-module-asneeded): Use it.
45863 ($(common-objpfx)libc.so): Use $(shlib-lds).
45864 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
45865 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
45867 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
45868 DT_FLAGS/DT_FLAGS_1 with zero flags.
45870 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
45871 linker script munging.
45873 2011-07-02 Ulrich Drepper <drepper@gmail.com>
45875 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
45877 * crypt/sha512.c (sha512_process_block): Perform total addition using
45878 128-bit if possible.
45879 (__sha512_finish_ctx): Likewise.
45880 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
45882 * crypt/sha256.c (SWAP64): Define.
45883 (sha256_process_block): Perform total addition using 64-bit if
45885 (__sha256_finish_ctx): Likewise.
45887 2011-07-01 Ulrich Drepper <drepper@gmail.com>
45889 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
45890 * nscd/initgrcache.c (addinitgroupsX): Likewise.
45891 * nscd/hstcache.c (cache_addhst): Likewise.
45892 * nscd/grpcache.c (cache_addgr): Likewise.
45893 * nscd/aicache.c (addhstaiX): Likewise
45894 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
45896 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
45898 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
45899 * nscd/initgrcache.c (addinitgroupsX): Likewise.
45900 * nscd/hstcache.c (cache_addhst): Likewise.
45901 * nscd/grpcache.c (cache_addgr): Likewise.
45902 * nscd/aicache.c (addhstaiX): Likewise
45904 2011-07-01 Andreas Schwab <schwab@redhat.com>
45906 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
45907 domain only when needed.
45909 2011-06-30 Andreas Schwab <schwab@redhat.com>
45911 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
45912 is always restored.
45914 2011-06-29 Ulrich Drepper <drepper@gmail.com>
45916 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
45917 are re-adding the entry.
45918 * nscd/servicescache.c (cache_addserv): Likewise.
45920 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
45922 * sysdeps/generic/dl-irel.h: fix protection against multiple
45924 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
45926 2011-06-28 Ulrich Drepper <drepper@gmail.com>
45929 * malloc/memusage.sh: Fix quoting in message.
45930 * debug/xtrace.sh: Likewise.
45932 * configure.in: Remove support for --experimental-malloc option, make
45934 * config.make.in: Likewise.
45935 * malloc/Makefile: Likewise.
45937 2011-06-27 Andreas Schwab <schwab@redhat.com>
45939 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
45940 two-byte characters.
45942 2011-06-27 Roland McGrath <roland@hack.frob.com>
45944 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
45945 AC_CACHE_CHECK invocation.
45946 * configure: Regenerated.
45948 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
45950 2011-06-27 Ulrich Drepper <drepper@gmail.com>
45953 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
45954 bit from old_res_options.
45956 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
45958 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
45959 value type for setfct.
45961 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
45963 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
45964 __gettimeofday instead of gettimeofday.
45966 2011-06-26 Ulrich Drepper <drepper@gmail.com>
45968 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
45970 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
45972 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
45974 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
45977 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
45979 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45980 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
45981 strcpy-sse2-unaligned strncpy-sse2-unaligned
45982 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
45983 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
45984 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
45985 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
45986 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
45987 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
45988 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
45989 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
45990 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
45991 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
45992 (STRCPY): Support SSE2 and SSSE3 versions.
45994 2011-06-24 Ulrich Drepper <drepper@gmail.com>
45997 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
45998 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
45999 kernels which artificially limit size of requests.
46001 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
46003 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46004 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
46005 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
46006 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
46007 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
46008 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
46009 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
46010 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
46011 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
46012 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
46013 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
46014 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
46015 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
46016 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
46017 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
46018 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46019 Enable unaligned load optimization for Intel Core i3, i5 and i7
46021 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
46023 (index_Fast_Unaligned_Load): Define.
46024 (HAS_FAST_UNALIGNED_LOAD): Define.
46026 2011-06-23 Marek Polacek <mpolacek@redhat.com>
46028 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
46030 2011-06-22 Ulrich Drepper <drepper@gmail.com>
46033 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
46034 until it is clear that the information is realy needed.
46035 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
46037 2011-06-22 Andreas Schwab <schwab@redhat.com>
46039 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
46041 2011-06-22 Ulrich Drepper <drepper@gmail.com>
46043 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
46044 /sys/devices/system/cpu/online if it is usable.
46046 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
46047 reading the information from the /proc filesystem to once a second.
46049 2011-06-21 Andreas Jaeger <aj@suse.de>
46051 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
46052 NULL after inclusion of kernel headers.
46054 2011-06-21 Ulrich Drepper <drepper@gmail.com>
46056 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
46057 calls to internal_setent.
46060 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
46061 addresses using gethostbyname4_r ignore IPv4 addresses.
46063 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
46064 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
46066 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
46068 2011-06-20 David S. Miller <davem@davemloft.net>
46070 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
46072 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
46074 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
46075 (elf_irel): Use it.
46076 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
46077 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
46078 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
46079 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
46080 * sysdeps/x86_64/dl-irel.h: Likewise.
46082 * elf/dl-runtime.c: Use elf_ifunc_invoke.
46083 * elf/dl-sym.c: Likewise.
46085 2011-06-15 Ulrich Drepper <drepper@gmail.com>
46087 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
46088 need to dereference resplen2.
46090 2011-06-14 Andreas Schwab <schwab@redhat.com>
46092 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
46094 2011-06-15 Ulrich Drepper <drepper@gmail.com>
46096 * Makeconfig: Define vardbdir and inst_vardbdir.
46097 * nss/Makefile: Add rules to install db-Makefile.
46099 * nss/nss_db/db-XXX.c: Cleanup.
46101 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
46102 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
46104 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
46105 * nss/makedb.c: Implement -g option to specify that value strings
46106 are generated and should not be added to table iterated over for
46108 * nss/nss_db/db-initgroups.c: New file.
46110 * nss/getent.c: Add support for initgroups lookups through getgrouplist
46113 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
46114 (internal_getgrouplist): Adjust to name change.
46115 Update use_initgroups_entry if this is not the first call.
46116 * nss/databases.def: Add initgroups entry.
46118 * nss/makedb.c (compute_tables): Check result of multiple hash table
46119 sizes to minimize maximum chain length.
46121 2011-06-14 Ulrich Drepper <drepper@gmail.com>
46123 * Versions.def: Add entry for libnss_db.
46124 * shlib-versions: Likewise.
46125 * nss/Makefile: Add rules to build libnss_db.
46126 * nss/Versions: Add libnss_db information. Organize libnss_files
46128 * nss/db-Makefile: Add gshadow support. Change rules for the new
46129 makedb progra. Some minor improvements to generate smaller files.
46130 * nss/nss_db/nss_db.h: Move NSS database header data structures to
46132 * nss/makedb.c: ...here.
46133 Improve database format to be smaller and require less memory at
46135 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
46137 * nss/nss_db/db-netgrp.c: Likewise.
46138 * nss/nss_db/db-open.c: Likewise.
46139 * nss/nss_files/flies-XXX.x: Adjust comments.
46140 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
46141 * nss/nss_files/files-grp.c: Likewise.
46142 * nss/nss_files/files-hosts.c: Likewise.
46143 * nss/nss_files/files-network.c: Likewise.
46144 * nss/nss_files/files-proto.c: Likewise.
46145 * nss/nss_files/files-pwd.c: Likewise.
46146 * nss/nss_files/files-rpc.c: Likewise.
46147 * nss/nss_files/files-service.c: Likewise.
46148 * nss/nss_files/files-sgrp.c: Likewise.
46149 * nss/nss_files/files-spwd.c: Likewise.
46150 * nss/nss_db/db-alias.c: Removed.
46151 * nss/nss_db/dummy-db.h: Removed.
46153 2011-06-02 Ulrich Drepper <drepper@gmail.com>
46155 * nss/makedb.c: Rewritten to not use database library.
46156 * nss/Makefile: Update to build new makedb program.
46158 2011-06-14 Andreas Jaeger <aj@suse.de>
46160 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
46161 memset declaration.
46163 2011-06-10 Andreas Schwab <schwab@redhat.com>
46165 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
46168 2011-06-10 Roland McGrath <roland@hack.frob.com>
46170 * Makerules (shlib.lds): Fail if the linker script comes out empty.
46171 * elf/Makefile ($(objpfx)ld.so): Likewise.
46173 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
46174 Don't list ld.so twice in dependencies.
46176 * posix/bug-regex31.c: Include <stdlib.h>.
46178 * nscd/hstcache.c (cache_addhst): Remove unused variable.
46180 * nis/nss_compat/compat-spwd.c
46181 (getspent_next_nss_netgr): Remove unused variable.
46182 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
46184 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
46185 nonmembers" output to use the right array.
46187 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
46189 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
46191 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
46192 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
46193 * catgets/gencat.c (read_input_file): Likewise.
46194 * locale/programs/locarchive.c (enlarge_archive): Likewise.
46196 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
46197 variable definition inside #if's controlling its use.
46199 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
46201 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
46203 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
46205 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
46208 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
46210 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
46211 * configure: Regenerated.
46213 * Makerules: Revert last change.
46214 * elf/Makefile: Likewise.
46216 2011-06-09 Roland McGrath <roland@hack.frob.com>
46218 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
46219 * elf/Makefile ($(objpfx)librtld.os): Likewise.
46220 (reloc-link): Likewise.
46222 2011-06-09 Ulrich Drepper <drepper@gmail.com>
46224 * elf/Makefile: Add rules to build pldd.
46225 * elf/pldd.c: New file.
46226 * elf/pldd-xx.c: New file.
46228 2011-06-07 Ulrich Drepper <drepper@gmail.com>
46230 * version.h: Update for 2.15 development version.
46232 2011-06-07 David S. Miller <davem@davemloft.net>
46234 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
46236 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
46237 elf_machine_lazy_rel): Likewise.
46238 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
46239 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
46240 elf_machine_lazy_rel): Likewise.
46241 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
46242 dl_hwcap via passed in argument.
46243 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
46246 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46248 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
46250 2011-06-06 Roland McGrath <roland@hack.frob.com>
46253 * manual/fdl-1.1.texi: New file, verbatim from:
46254 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
46255 * manual/lgpl-2.1.texi: New file, verbatim from:
46256 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
46257 * manual/Makefile (licenses): New variable, list those new file names.
46259 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
46261 * manual/fdl.texi: File removed.
46262 * manual/lesser.texi: File removed.
46263 * manual/libc.texinfo (Copying, Documentation License):
46264 Use new @include file names, put @appendix directive before @include.
46266 2011-06-04 Jakub Jelinek <jakub@redhat.com>
46269 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
46270 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
46271 (mq_open): Add __NTH.
46273 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
46275 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46276 Assume Intel Core i3/i5/i7 processor if AVX is available.
46278 2011-05-31 Ulrich Drepper <drepper@gmail.com>
46280 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
46283 2011-05-31 Andreas Schwab <schwab@redhat.com>
46285 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
46286 memory. Use alloca_account. Fix memory leak when retrying.
46288 2011-05-31 Ulrich Drepper <drepper@gmail.com>
46290 * version.h (RELEASE): Bump for 2.14 release.
46291 * include/features.h (__GLIBC_MINOR__): Bump to 14.
46293 * config.make.in (RANLIB): Remove entry.
46295 2011-05-30 Ulrich Drepper <drepper@gmail.com>
46297 * po/Makefile (po-sed-cmd): Add ksh to extensions.
46298 (libc.pot): Work around missing support for .ksh extension in xgettext.
46301 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
46302 if both request failed.
46303 (send_dg): In case of server errors clear resplen or *resplen2.
46306 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
46307 when there are multiple maps.
46308 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
46309 (_dl_fini): Remove test here.
46311 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
46313 2011-05-29 Ulrich Drepper <drepper@gmail.com>
46316 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
46317 bit from old_res_options.
46318 (gaih_inet): Likewise.
46321 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
46324 * resolv/res_init.c (res_setoptions): Make the code more compact.
46327 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
46331 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
46333 * malloc/malloc.h: Mark malloc hook variables as deprecated.
46336 * malloc/malloc.h: Declare malloc hook variables as volatile.
46338 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
46342 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
46343 raise in the comment.
46344 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
46345 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
46346 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
46348 2011-05-28 Ulrich Drepper <drepper@gmail.com>
46351 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
46352 grow the buffers more if it already has to be sufficient.
46353 (build_wcs_upper_buffer): Likewise.
46354 * posix/regexec.c (check_matching): Likewise.
46355 (clean_state_log_if_needed): Likewise.
46356 (extend_buffers): Don't enlarge buffers beyond size of the input
46358 Patches mostly by Emil Wojak <emil@wojak.eu>.
46359 * posix/bug-regex32.c: New file.
46360 * posix/Makefile (tests): Add bug-regex32.
46362 * locale/findlocale.c (_nl_find_locale): Return right away if
46363 _nl_explode_name failed.
46364 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
46366 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
46368 * debug/xtrace.sh: Unify messages.
46369 * malloc/memusage.sh: Likewise.
46372 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
46373 time symbol from vDSO. Substitute with vsyscall if not available.
46374 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
46377 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
46378 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
46379 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
46380 Add sendmmsg and internal_sendmmsg.
46381 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
46382 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
46383 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
46385 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
46386 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
46387 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
46389 2011-05-27 Ulrich Drepper <drepper@gmail.com>
46392 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
46393 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
46395 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
46399 * iconvdata/Makefile (tests): Add bug-iconv9.
46400 * iconvdata/bug-iconv9.c: New file.
46402 2011-05-27 Andreas Schwab <schwab@redhat.com>
46405 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
46407 2011-05-25 Jakub Jelinek <jakub@redhat.com>
46409 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
46410 (struct user_regs_struct): Change intcs field back to cs.
46412 2011-05-25 Ulrich Drepper <drepper@gmail.com>
46414 * po/ja.po: Update from translation team.
46416 2011-05-23 Ulrich Drepper <drepper@gmail.com>
46419 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
46420 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
46422 2011-05-20 Andreas Schwab <schwab@redhat.com>
46424 * stdlib/longlong.h: Update from GCC.
46426 2011-05-23 Andreas Schwab <schwab@redhat.com>
46428 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
46430 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
46431 Add parameter name.
46432 (__sysconf): Pass it down.
46434 2011-05-22 Ulrich Drepper <drepper@gmail.com>
46437 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
46439 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
46440 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
46441 add in in __libc_use_alloca calls. Adjust callers.
46442 (glob): Use malloc in some situations.
46444 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
46445 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
46448 2011-05-21 Ulrich Drepper <drepper@gmail.com>
46450 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
46451 and CLOCK_BOOTTIME_ALARM.
46454 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
46457 * string/_strerror.c (__strerror_r): Print negative errors as signed
46461 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
46462 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
46463 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
46465 * configure.in: Fix typo in redirection and correct removal of test
46466 files in two cases.
46469 * locale/setlocale.c (new_composite_name): Fix test to check for
46470 identical name of all categories.
46473 * libio/filedoalloc.c (local_isatty): New function.
46474 (_IO_file_doallocate): Use local_isatty.
46475 * stdio-common/perror.c (perror): In case a new stream is used
46476 forward the stream error.
46477 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
46480 2011-05-20 Ulrich Drepper <drepper@gmail.com>
46483 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
46485 * include/alloca.h (extend_alloca_account): Define.
46488 * posix/regex.h: Fix comments with documentation of user-accessible
46489 fields after compilation and describe correct free'ing of pattern
46490 after re_compile_pattern.
46491 Patch by Reuben Thomas <rrt@sc3d.org>.
46493 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
46495 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
46496 and -mno-altivec to prevent the compiler from using Altivec and/or
46497 VSX instructions when the corresponding registers are not available.
46499 2011-05-19 Andreas Schwab <schwab@redhat.com>
46501 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
46503 2011-05-19 Ulrich Drepper <drepper@gmail.com>
46505 * libio/freopen.c (freopen): Use __dup2, not dup2.
46506 * libio/freopen64.c (freopen64): Likewise.
46508 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
46511 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
46512 * math/Makefile (tests): Add test-powl.
46513 (CFLAGS-test-powl.c): Define.
46514 * math/test-powl.c: New file.
46516 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
46518 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
46520 2011-05-17 Ulrich Drepper <drepper@gmail.com>
46523 * iconvdata/gb18030.c: Update to GB18020-2005.
46525 2011-05-16 Ulrich Drepper <drepper@gmail.com>
46527 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
46528 RE_SYNTAX_POSIX_AWK): Update to match recent development.
46529 Patch by Aharon Robbins <arnold@skeeve.com>.
46532 * stdlib/putenv.c (putenv): Don't always create copy of the variable
46536 * misc/pselect.c (__pselect): Handle timeout value errors hidden
46537 through underflows.
46540 * misc/error.c (error_at_line): Ensure file_name and old_file_name
46541 point to strings before performing equality test for error_one_per_line
46545 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
46548 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
46549 (struct user_fpregs_struct): Avoid __uint*_t types.
46552 * malloc/mtrace.c (tr_where): Add additional parameter to point to
46553 symbol info. Use it instead of calling _dl_addr locally.
46554 (lock_and_info): New function.
46555 (tr_freehook): Call lock_and_info and pass symbol info as additional
46556 parameter to tr_where.
46557 (tr_mallochook): Likewise.
46558 (tr_reallochook): Likewise.
46559 (tr_memalignhook): Likewise.
46561 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
46562 used and couldn't be at all thread-safe.
46564 2011-05-15 Ulrich Drepper <drepper@gmail.com>
46566 * libio/freopen.c (freopen): Don't close old file descriptor
46567 before the new one is opened. Instead dup the new file descriptor
46568 to the old one after the new stream is created.
46569 * libio/freopen64.c (freopen64): Likewise.
46570 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
46571 * libio/fileops.c (_IO_new_file_close_it): Handle new
46572 _IO_FLAGS2_NOCLOSE flag.
46573 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
46574 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
46575 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
46576 _IO_FLAGS2_NOCLOSE flag.
46577 * include/unistd.h: Add hidden_proto for dup3.
46578 Define __have_dup3.
46579 * io/dup3.c: Define hidden symbol.
46580 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
46583 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
46584 when an incomplete long option is used.
46585 * posix/tst-getopt_long1.c: New file.
46586 * posix/Makefile (tests): Add tst-getopt_long1.
46589 * scripts/config.guess: Update from autoconf-2.68.
46590 * scripts/config.sub: Likewise.
46593 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
46595 (has_cpuclock): ...this. New function.
46596 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
46597 macro here based on has_cpuclock code.
46600 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
46601 First byte (not low byte) is now always NUL.
46602 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
46604 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
46605 Use non-cancelable interfaces.
46608 * locale/iso-639.def: Add entry for Sorani.
46611 * include/stdlib.h: Move include protection to the right place.
46612 Define abort_msg_s. Declare __abort_msg with it.
46613 * stdlib/abort.c (__abort_msg): Adjust type.
46614 * assert/assert.c (__assert_fail_base): New function. Majority
46615 of code from __assert_fail. Allocate memory for __abort_msg with
46617 (__assert_fail): Now call __assert_fail_base.
46618 * assert/assert-perr.c: Remove bulk of implementation. Use
46619 __assert_fail_base.
46620 * include/assert.hL Declare __assert_fail_base.
46621 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
46623 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
46625 2011-05-14 Ulrich Drepper <drepper@gmail.com>
46629 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
46630 until all modules are registered in the DTV.
46631 * elf/Makefile: Add rules to build and run tst-tls19.
46632 * elf/tst-tls19.c: New file.
46633 * elf/tst-tls19mod1.c: New file.
46634 * elf/tst-tls19mod2.c: New file.
46635 * elf/tst-tls19mod3.c: New file.
46636 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
46639 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
46643 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
46644 two-byte sequence errors.
46645 * iconvdata/Makefile (tests): Add bug-iconv8.
46646 * iconvdata/bug-iconv8.c: New file.
46649 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
46652 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
46655 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
46656 (dummy_getcfa): New function.
46657 (init): Get _Unwind_GetCFA address, use dummy if not found.
46658 (backtrace_helper): In recursion check, also check whether CFA changes.
46659 (__backtrace): Completely initialize arg.
46661 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
46662 storing incomplete byte sequence in state object. Avoid testing for
46663 guaranteed too small input if we know there is enough data available.
46665 2011-05-11 Andreas Schwab <schwab@redhat.com>
46667 * Makeconfig (+link-pie): Indent.
46668 * Rules (binaries-pie): Define if $(have-fpie) and
46670 (binaries-shared): Also filter out $(binaries-pie).
46671 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
46672 * nscd/Makefile (others-pie): Add nscd.
46673 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
46674 ($(objpfx)nscd): Remove command override.
46675 * login/Makefile (others-pie): Add pt_chown.
46676 ($(objpfx)pt_chown): Remove command override.
46677 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
46678 remove command overrides.
46680 2011-05-13 Ulrich Drepper <drepper@gmail.com>
46682 * libio/tst_putwc.c: Fix error messages.
46685 * libio/fileops.c (_IO_new_file_close_it): Always flush when
46686 currently writing and seek to current position when not.
46687 * libio/Makefile (tests): Add bug-fclose1.
46688 * libio/bug-fclose1.c: New file.
46690 2011-05-12 Ulrich Drepper <drepper@gmail.com>
46693 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
46694 don't set DF_1_NODELETE here.
46695 (do_lookup_x): When entering new entry test for copy relocation
46696 and if necessary set DF_1_NODELETE flag.
46697 * elf/tst-unique4.cc: New file.
46698 * elf/tst-unique4.h: New file.
46699 * elf/tst-unique4lib.cc: New file.
46700 * elf/Makefile: Add rules to build and run tst-unique4.
46701 Patch by Piotr Bury <pbury@goahead.com>.
46703 2011-05-11 Ulrich Drepper <drepper@gmail.com>
46706 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
46709 * misc/mntent_r.c (addmntent): Flush the stream after the output
46712 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
46713 (is_trusted_path_normalize): Skip initial colon. Append slash
46714 to empty buffer. Duplicate is_trusted_path code but allow
46715 constructed patch to be prefix.
46716 (is_dst): Allow $ORIGIN followed by /.
46717 (_dl_dst_substitute): Correct clearing of check_for_trusted.
46718 Correct testing of result of is_trusted_path_normalize
46719 (decompose_rpath): Fix warning.
46721 2011-05-10 Ulrich Drepper <drepper@gmail.com>
46724 * grp/initgroups.c (internal_getgrouplist): When we found the service
46725 list through the initgroups entry in nsswitch.conf do not always
46726 continue on a successful lookup. Don't always use the
46727 __nss_group_database value if it is set.
46728 * nss/nsswitch.conf (initgroups): Change action for successful db
46729 lookup to continue for compatibility.
46731 2011-05-09 Ulrich Drepper <drepper@gmail.com>
46734 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
46736 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
46738 * iconvdata/tst-tables.sh: Likewise.
46739 * iconvdata/cp770.c: New file.
46740 * iconvdata/cp771.c: New file.
46741 * iconvdata/cp772.c: New file.
46742 * iconvdata/cp773.c: New file.
46743 * iconvdata/cp774.c: New file.
46744 * iconvdata/testdata/CP770: New file.
46745 * iconvdata/testdata/CP770..UTF8: New file.
46746 * iconvdata/testdata/CP771: New file.
46747 * iconvdata/testdata/CP771..UTF8: New file.
46748 * iconvdata/testdata/CP772: New file.
46749 * iconvdata/testdata/CP772..UTF8: New file.
46750 * iconvdata/testdata/CP773: New file.
46751 * iconvdata/testdata/CP773..UTF8: New file.
46752 * iconvdata/testdata/CP774: New file.
46753 * iconvdata/testdata/CP774..UTF8: New file.
46755 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
46757 * iconvdata/gen-8bit-gap.sh: Likewise.
46758 * iconvdata/gen-8bit.sh: Likewise.
46760 * locale/iso-639.def: Add ary entry.
46763 * locale/C-translit.h.in: Add U20A1 transliteration.
46766 * locale/iso-639.def: Add wae entry.
46767 Patch by Kevin Bortis <bortis@translate-wae.ch>.
46770 * locale/programs/localedef.c (construct_output_path): Use ssize_t
46774 * locale/C-translit.h.in: Add entry for U20B9.
46775 Patch by pravin.d.s@gmail.com.
46777 2011-05-08 Ulrich Drepper <drepper@gmail.com>
46780 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
46781 ENAMETOOLONG use generic getcwd.
46782 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
46783 in rtld. Use *stat64.
46784 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
46785 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
46786 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
46787 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
46788 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
46789 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
46790 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
46791 __fstatat64 macros.
46792 * include/dirent.h: Add libc_hidden_proto for rewinddir.
46793 * dirent/rewinddir.c: Add libc_hidden_def.
46794 * sysdeps/mach/hurd/rewinddir.c: Likewise.
46795 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
46797 * include/dirent.h (__alloc_dir): Add flags parameter.
46798 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
46799 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
46801 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
46802 from fdopendir if O_CLOEXEC is already set.
46804 2011-03-15 Alan Modra <amodra@gmail.com>
46806 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
46807 l_tls_firstbyte_offset non-zero. Save padding offset in
46808 l_tls_firstbyte_offset for later use.
46809 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
46810 freeing static tls block.
46812 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
46814 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
46815 where #ifdef was intended. The intent is to prevent ARG_MAX from
46816 being defined by the kernel headers.
46818 2011-05-07 Ulrich Drepper <drepper@gmail.com>
46821 * resolv/resolv.h: Define RES_NOTLDQUERY.
46822 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
46823 no-tld-query and set RES_NOTLDQUERY.
46824 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
46825 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
46826 modern BIND to search name as TLD unless forbidden.
46828 2011-05-07 Petr Baudis <pasky@suse.cz>
46829 Ulrich Drepper <drepper@gmail.com>
46832 * elf/dl-load.c (fillin_rpath): Move trusted path check...
46833 (is_trusted_path): ...to here.
46834 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
46835 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
46836 using is_trusted_path_normalize() in setuid scripts.
46838 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
46840 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
46841 __BEGIN/__END_DECLS.
46843 2011-05-06 Ulrich Drepper <drepper@gmail.com>
46845 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
46846 NSS_STATUS_NOTFOUND if no record was found.
46848 2011-05-05 Andreas Schwab <schwab@redhat.com>
46850 * sunrpc/Makefile (headers): Add rpc/netdb.h.
46851 (headers-not-in-tirpc): Remove rpc/netdb.h
46852 * resolv/netdb.h: Revert last change.
46854 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
46856 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
46857 circular dependency between libgcc.a and libc.a.
46859 2011-05-05 Andreas Schwab <schwab@redhat.com>
46861 * resolv/netdb.h: Don't include <rpc/netdb.h>.
46862 * nis/Makefile: Don't install rpcsvc/*.
46863 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
46864 instead of <rpc/types.h>.
46865 (MAXHOSTNAMELEN): Define.
46867 2011-05-03 Andreas Schwab <schwab@redhat.com>
46869 * elf/ldconfig.c (add_dir): Don't crash on empty path.
46871 2011-04-28 Maciej Babinski <mbabinski@google.com>
46874 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
46875 gethostbyname4_r when IPv6 results are possible.
46877 2011-05-02 Ulrich Drepper <drepper@gmail.com>
46880 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
46881 _PC_PIPE_BUF handling.
46883 2011-04-30 Bruno Haible <bruno@clisp.org>
46886 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
46887 * resolv/netdb.h (getnameinfo): Change type of flags parameter
46889 * inet/getnameinfo.c (getnameinfo): Likewise.
46891 2011-04-29 Ulrich Drepper <drepper@gmail.com>
46893 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
46894 to groups setting in database lookup.
46895 * nss/nsswitch.conf: Add initgroups entry.
46897 2011-04-22 Ulrich Drepper <drepper@gmail.com>
46900 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
46902 Patch by Eric Blake <eblake@redhat.com>.
46904 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
46906 * sunrpc/Makefile (need-export-routines): Add svc_run.
46907 (routines): Remove svc_run.
46908 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
46909 * sunrpc/clnt_perr.c (clnt_perrno): Export.
46910 * sunrpc/svc_run.c (svc_run): Likewise.
46911 * sunrpc/svc_udp.c (svcudp_create): Likewise.
46913 2011-04-21 Ulrich Drepper <drepper@gmail.com>
46915 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
46916 problem in reallocation in last patch.
46918 2011-04-20 Ulrich Drepper <drepper@gmail.com>
46920 * sunrpc/Makefile: Move inclusion of Rules.
46922 2011-04-19 Ulrich Drepper <drepper@gmail.com>
46924 * nss/nss_files/files-initgroups.c: New file.
46925 * nss/Makefile (libnss_files-routines): Add files-initgroups.
46926 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
46927 _nss_files_initgroups_dyn.
46929 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
46931 * elf/elf.h (R_ARM_IRELATIVE): Define.
46933 2011-04-19 Ulrich Drepper <drepper@gmail.com>
46935 * po/ru.po: Update from translation team.
46937 2011-04-17 Ulrich Drepper <drepper@gmail.com>
46939 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
46942 2011-02-06 Mike Frysinger <vapier@gentoo.org>
46945 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
46946 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
46947 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
46948 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
46949 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
46951 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
46953 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
46955 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
46956 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
46957 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
46959 2011-04-17 Ulrich Drepper <drepper@gmail.com>
46962 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
46964 * stdlib/bug-getcontext.c: New file.
46965 * stdlib/Makefile: Add rules to build and run bug-getcontext.
46967 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46969 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
46970 instructions into .machine "z9-109".
46971 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
46972 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
46974 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46976 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
46977 between environment variables and auxiliary vector.
46979 2011-04-16 Ulrich Drepper <drepper@gmail.com>
46981 * Makefile: Add rules to build linkobj/libc.so.
46982 * include/libc-symbols.h: Define libc_hidden_nolink.
46983 * include/rpc/auth.h: Mark functions which are to be hidden.
46984 * include/rpc/auth_des.h: Likewise.
46985 * include/rpc/auth_unix.h: Likewise.
46986 * include/rpc/clnt.h: Likewise.
46987 * include/rpc/des_crypt.h: Likewise.
46988 * include/rpc/key_prot.h: Likewise.
46989 * include/rpc/pmap_clnt.h: Likewise.
46990 * include/rpc/pmap_prot.h: Likewise.
46991 * include/rpc/pmap_rmt.h: Likewise.
46992 * include/rpc/rpc_msg.h: Likewise.
46993 * include/rpc/svc.h: Likewise.
46994 * include/rpc/svc_auth.h: Likewise.
46995 * include/rpc/xdr.h: Likewise.
46996 * nis/Makefile: Link all DSOs against linkobj/libc.so.
46997 * nss/Makefile: Likewise.
46998 * sunrpc/Makefile: Don't install headers. Build library with normal
46999 entry points. Don't build rpcinfo. Link RPC tests appropriately.
47000 * sunrpc/auth_des.c: Hide exported symbols by default, export some
47001 for the compat linking library. Remove use of INTDEF/INTUSE.
47002 * sunrpc/auth_none.c: Likewise.
47003 * sunrpc/auth_unix.c: Likewise.
47004 * sunrpc/authdes_prot.c: Likewise.
47005 * sunrpc/authuxprot.c: Likewise.
47006 * sunrpc/clnt_gen.c: Likewise.
47007 * sunrpc/clnt_perr.c: Likewise.
47008 * sunrpc/clnt_raw.c: Likewise.
47009 * sunrpc/clnt_simp.c: Likewise.
47010 * sunrpc/clnt_tcp.c: Likewise.
47011 * sunrpc/clnt_udp.c: Likewise.
47012 * sunrpc/clnt_unix.c: Likewise.
47013 * sunrpc/des_crypt.c: Likewise.
47014 * sunrpc/des_soft.c: Likewise.
47015 * sunrpc/get_myaddr.c: Likewise.
47016 * sunrpc/key_call.c: Likewise.
47017 * sunrpc/key_prot.c: Likewise.
47018 * sunrpc/netname.c: Likewise.
47019 * sunrpc/pm_getmaps.c: Likewise.
47020 * sunrpc/pm_getport.c: Likewise.
47021 * sunrpc/pmap_clnt.c: Likewise.
47022 * sunrpc/pmap_prot.c: Likewise.
47023 * sunrpc/pmap_prot2.c: Likewise.
47024 * sunrpc/pmap_rmt.c: Likewise.
47025 * sunrpc/publickey.c: Likewise.
47026 * sunrpc/rpc_cmsg.c: Likewise.
47027 * sunrpc/rpc_common.c: Likewise.
47028 * sunrpc/rpc_dtable.c: Likewise.
47029 * sunrpc/rpc_prot.c: Likewise.
47030 * sunrpc/rpc_thread.c: Likewise.
47031 * sunrpc/rtime.c: Likewise.
47032 * sunrpc/svc.c: Likewise.
47033 * sunrpc/svc_auth.c: Likewise.
47034 * sunrpc/svc_authux.c: Likewise.
47035 * sunrpc/svc_raw.c: Likewise.
47036 * sunrpc/svc_run.c: Likewise.
47037 * sunrpc/svc_simple.c: Likewise.
47038 * sunrpc/svc_tcp.c: Likewise.
47039 * sunrpc/svc_udp.c: Likewise.
47040 * sunrpc/svc_unix.c: Likewise.
47041 * sunrpc/svcauth_des.c: Likewise.
47042 * sunrpc/xcrypt.c: Likewise.
47043 * sunrpc/xdr.c: Likewise.
47044 * sunrpc/xdr_array.c: Likewise.
47045 * sunrpc/xdr_float.c: Likewise.
47046 * sunrpc/xdr_intXX_t.c: Likewise.
47047 * sunrpc/xdr_mem.c: Likewise.
47048 * sunrpc/xdr_rec.c: Likewise.
47049 * sunrpc/xdr_ref.c: Likewise.
47050 * sunrpc/xdr_sizeof.c: Likewise.
47051 * sunrpc/xdr_stdio.c: Likewise.
47053 2011-04-10 Ulrich Drepper <drepper@gmail.com>
47056 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
47057 * sysdeps/ia64/dl-tls.h: Likewise.
47058 * sysdeps/powerpc/dl-tls.h: Likewise.
47059 * sysdeps/s390/dl-tls.h: Likewise.
47060 * sysdeps/sh/dl-tls.h: Likewise.
47061 * sysdeps/sparc/dl-tls.h: Likewise.
47062 * sysdeps/x86_64/dl-tls.h: Likewise.
47063 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
47065 2011-03-14 Andreas Schwab <schwab@redhat.com>
47067 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
47068 rpath element also skip the following colon.
47069 (expand_dynamic_string_token): Add is_path parameter and pass
47070 down to DL_DST_REQUIRED and _dl_dst_substitute.
47071 (decompose_rpath): Call expand_dynamic_string_token with
47072 non-zero is_path. Ignore empty rpaths.
47073 (_dl_map_object_from_fd): Call expand_dynamic_string_token
47076 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
47078 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
47081 2011-04-09 Ulrich Drepper <drepper@gmail.com>
47084 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
47085 Patch by Filipe David Manana <fdmanana@apache.org>.
47087 2011-04-07 Andreas Schwab <schwab@redhat.com>
47089 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
47090 Maintain aligned stack.
47091 (CHECK_RSP): Remove unused macro.
47093 2011-04-03 Ulrich Drepper <drepper@gmail.com>
47095 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
47096 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
47098 2011-04-02 Ulrich Drepper <drepper@gmail.com>
47100 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
47102 * include/features.h: Mention __USE_XOPEN2K8 in comment.
47104 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
47107 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
47108 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
47109 * sysdeps/x86_64/memmove.c: New file.
47110 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
47111 (memcpy): Renamed to ...
47112 (__new_memcpy): This.
47113 (memcpy): Provide GLIBC_2_14 memcpy.
47114 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
47115 (memcpy): Provide GLIBC_2_2_5 memcpy.
47117 2011-04-01 Ulrich Drepper <drepper@gmail.com>
47120 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
47122 2011-03-30 Andreas Schwab <schwab@redhat.com>
47124 * misc/syncfs.c: New file.
47125 * misc/Makefile (routines): Add syncfs.
47126 * posix/unistd.h: Declare syncfs.
47127 * sysdeps/unix/syscalls.list: Add syncfs.
47129 2011-04-01 Andreas Schwab <schwab@redhat.com>
47131 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
47133 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
47134 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
47135 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
47136 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
47137 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
47138 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
47139 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
47141 2011-04-01 Ulrich Drepper <drepper@gmail.com>
47143 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
47144 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
47145 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
47146 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
47147 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
47148 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
47149 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
47151 * io/Makefile: Compile fallocate.c, fallocate64.c, and
47152 sync_file_range.c with -fexceptions.
47153 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
47154 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
47155 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
47156 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
47157 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
47158 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
47159 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
47160 sync_file_range as cancellation point
47161 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
47162 now a wrapper around __call_sync_file_range with cancellation handling.
47163 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
47164 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
47165 function name to __call_sync_file_range.
47166 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
47167 Add call_sync_file_range.
47169 2011-04-01 Andreas Schwab <schwab@redhat.com>
47171 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47174 2011-04-01 Ulrich Drepper <drepper@gmail.com>
47176 * iconv/iconv.h: Fix typo in comment.
47177 * io/fcntl.h: Likewise.
47178 * libio/stdio.h: Likewise.
47179 * posix/spawn.h: Likewise.
47180 * posix/unistd.h: Likewise.
47181 * stdlib/stdlib.h: Likewise.
47182 * time/time.h: Likewise.
47183 * wcsmbs/wchar.h: Likewise.
47185 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
47186 open_by_handle): Add.
47187 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
47188 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
47189 Augment a few comments.
47190 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
47191 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
47192 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
47193 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
47194 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
47195 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
47198 * io/fcntl.h (AT_EMPTY_PATH): Define.
47200 2011-03-30 Ulrich Drepper <drepper@gmail.com>
47202 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
47203 * sysdeps/unix/sysv/linux/bits/time.h: New file.
47204 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
47206 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
47207 * Versions.def: Add GLIBC_2.14.
47208 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
47211 2011-03-22 Ulrich Drepper <drepper@gmail.com>
47213 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
47215 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
47217 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
47220 * string/test-strncmp.c (do_page_test): New function.
47221 (check2): Likewise.
47222 (test_main): Call check2.
47223 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
47225 2011-03-20 Ulrich Drepper <drepper@gmail.com>
47228 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
47229 Handle cache information in CPU leaf 4.
47230 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
47232 2011-03-18 Ulrich Drepper <drepper@gmail.com>
47235 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
47236 character representation.
47237 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
47239 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
47241 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
47242 END(__isnan) to END(__isnanf) to match function entry point/label
47243 EALIGN(__isnanf,...).
47245 2011-03-10 Jakub Jelinek <jakub@redhat.com>
47247 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
47249 2011-03-10 Ulrich Drepper <drepper@gmail.com>
47252 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
47253 copy from the symbol referenced in the relocation to initialize the
47255 Patch by Piotr Bury <pbury@goahead.com>.
47256 * elf/Makefile: Add rules to build and tst-unique3.
47257 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
47258 * elf/tst-unique3.cc: New file.
47259 * elf/tst-unique3.h: New file.
47260 * elf/tst-unique3lib.cc: New file.
47261 * elf/tst-unique3lib2.cc: New file.
47263 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
47265 2011-03-10 Mike Frysinger <vapier@gentoo.org>
47267 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
47268 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
47271 2011-03-06 Ulrich Drepper <drepper@gmail.com>
47273 * elf/dl-load.c (_dl_map_object): If we are looking for the first
47274 to-be-loaded object along a path to loader is ld.so.
47276 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
47277 Ulrich Drepper <drepper@gmail.com>
47279 * sysdeps/x86_64/memset.S: After aligning destination, code
47280 branches to different locations depending on the value of
47281 misalignment, when multiarch is enabled. Fix this.
47283 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
47285 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
47286 Set _x86_64_preferred_memory_instruction for AMD processsors.
47287 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47288 Set bit_Prefer_SSE_for_memop for AMD processors.
47290 2011-03-04 Ulrich Drepper <drepper@gmail.com>
47292 * libio/fmemopen.c (fmemopen): Optimize a bit.
47294 2011-03-03 Andreas Schwab <schwab@redhat.com>
47296 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
47298 2011-03-03 Roland McGrath <roland@redhat.com>
47300 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
47302 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
47304 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
47305 __bzero_ultra1 instead of __memset_ultra1.
47307 2011-02-23 Andreas Schwab <schwab@redhat.com>
47308 Ulrich Drepper <drepper@gmail.com>
47311 * include/link.h (struct link_map): Add l_orig_initfini.
47312 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
47313 returning unsuccessfully.
47314 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
47315 close of a file loaded at startup, restore the original l_initfini
47317 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
47318 list, store the pointer.
47319 * elf/Makefile ($(objpfx)noload-mem): New rule.
47320 (noload-ENV): Define.
47321 (tests): Add $(objpfx)noload-mem.
47322 * elf/noload.c: Include <memcheck.h>.
47323 (main): Call mtrace. Close all opened handles.
47325 2011-02-17 Andreas Schwab <schwab@redhat.com>
47328 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
47329 dependencies are missing.
47331 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
47333 Fix __if_freereq crash: Unlike the generic version which uses free,
47335 * sysdeps/mach/hurd/ifreq.h: New file.
47337 2011-01-27 Petr Baudis <pasky@suse.cz>
47338 Ulrich Drepper <drepper@gmail.com>
47341 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
47342 to extend_alloca().
47343 * stdio-common/bug23.c: New file.
47344 * stdio-common/Makefile (tests): Add bug23.
47346 2010-09-28 Andreas Schwab <schwab@redhat.com>
47347 Ulrich Drepper <drepper@gmail.com>
47350 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
47351 before performing relro protection. At old place add assertion
47352 to make sure nothing changed.
47354 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
47355 Glauber de Oliveira Costa <glommer@gmail.com>
47357 * elf/elf.h: Add new ARM TLS relocs.
47359 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
47361 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
47362 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
47364 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
47366 * sysdeps/wordsize-64/tst-writev.c: New file.
47368 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
47370 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
47371 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
47372 insns in _dl_start to prevent a TOC reference before relocs are
47375 2011-02-15 Ulrich Drepper <drepper@gmail.com>
47378 * Makeconfig: Remove RANLIB definition.
47379 * Makerules: Don't use RANLIB.
47380 * aclocal.m4: Remove ranlib test.
47381 * configure.in: No need to check for ranlib.
47382 * elf/rtld-Rules: Don't use RANLIB.
47384 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
47386 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
47388 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
47389 inclusion protection macro.
47391 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
47392 SIGRTMIN and SIGRTMAX and print information in that case only when
47393 SIGRTMIN is defined.
47395 2011-02-11 Jakub Jelinek <jakub@redhat.com>
47397 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
47398 arginfo fn returning -1.
47400 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
47401 and thousands string is zero terminated.
47403 2011-02-03 Andreas Schwab <schwab@redhat.com>
47405 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
47406 sysdeps/unix/sysv/linux/bits/socket.h.
47408 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
47410 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
47411 (__CPU_COUNT): Remove old macros.
47412 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
47413 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
47414 (__CPU_ALLOC, __CPU_FREE): Add macros.
47415 (__sched_cpualloc, __sched_cpufree): Add declarations.
47417 2011-02-05 Ulrich Drepper <drepper@gmail.com>
47419 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
47420 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
47421 * nscd/aicache.c (addhstaiX): Return timeout of added value.
47422 (readdhstai): Return value of addhstaiX call.
47423 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
47424 (addgrbyX): Return value returned by cache_addgr.
47425 (readdgrbyname): Return value returned by addgrbyX.
47426 (readdgrbygid): Likewise.
47427 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
47428 (addpwbyX): Return value returned by cache_addpw.
47429 (readdpwbyname): Return value returned by addhstbyX.
47430 (readdpwbyuid): Likewise.
47431 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
47432 (addservbyX): Return value returned by cache_addserv.
47433 (readdservbyname): Return value returned by addservbyX:
47434 (readdservbyport): Likewise.
47435 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
47436 (addhstbyX): Return value returned by cache_addhst.
47437 (readdhstbyname): Return value returned by addhstbyX.
47438 (readdhstbyaddr): Likewise.
47439 (readdhstbynamev6): Likewise.
47440 (readdhstbyaddrv6): Likewise.
47441 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
47442 (readdinitgroups): Return value returned by addinitgroupsX.
47443 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
47444 (prune_cache): Keep track of timeout value of re-added entries.
47445 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
47446 * nscd/nscd.h: Adjust prototypes of readd* functions.
47448 2011-02-04 Roland McGrath <roland@redhat.com>
47450 * nis/nis_server.c (nis_servstate): Use the right name for 0.
47451 (nis_stats): Likewise.
47452 * nis/nis_modify.c (nis_modify): Likewise.
47453 * nis/nis_remove.c (nis_remove): Likewise.
47454 * nis/nis_add.c (nis_add): Likewise.
47456 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
47458 * posix/fnmatch_loop.c: Add some consts.
47460 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
47462 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
47465 * config.make.in (config-cflags-novzeroupper): Define.
47466 * configure.in: Substitute libc_cv_cc_novzeroupper.
47467 * elf/Makefile (AVX-CFLAGS): Define.
47468 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
47469 (CFLAGS-tst-auditmod4a.c): Likewise.
47470 (CFLAGS-tst-auditmod4b.c): Likewise.
47471 (CFLAGS-tst-auditmod6b.c): Likewise.
47472 (CFLAGS-tst-auditmod6c.c): Likewise.
47473 (CFLAGS-tst-auditmod7b.c): Likewise.
47474 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
47476 2011-02-02 Ulrich Drepper <drepper@gmail.com>
47478 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
47479 function to the callback.
47480 Patch partly by Jiri Olsa <jolsa@redhat.com>.
47482 2011-02-02 Andreas Schwab <schwab@redhat.com>
47484 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
47487 2011-01-19 Ulrich Drepper <drepper@gmail.com>
47490 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
47492 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
47494 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
47497 * elf/Makefile: Add rules to build and run new test.
47498 * elf/tst-initorder.c: New file.
47499 * elf/tst-initorder.exp: New file.
47500 * elf/tst-initordera1.c: New file.
47501 * elf/tst-initordera2.c: New file.
47502 * elf/tst-initordera3.c: New file.
47503 * elf/tst-initordera4.c: New file.
47504 * elf/tst-initorderb1.c: New file.
47505 * elf/tst-initorderb2.c: New file.
47506 * elf/tst-order-a1.c: New file.
47507 * elf/tst-order-a2.c: New file.
47508 * elf/tst-order-a3.c: New file.
47509 * elf/tst-order-a4.c: New file.
47510 * elf/tst-order-b1.c: New file.
47511 * elf/tst-order-b2.c: New file.
47512 * elf/tst-order-main.c: New file.
47513 New test case by George Gensure <werkt0@gmail.com>.
47515 2010-10-01 Andreas Schwab <schwab@redhat.com>
47517 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
47518 decoding ACE if AI_CANONIDN.
47520 2011-01-18 Ulrich Drepper <drepper@gmail.com>
47522 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
47524 2011-01-17 Ulrich Drepper <drepper@gmail.com>
47526 * version.h (RELEASE): Bump for 2.13 release.
47527 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
47529 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
47531 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
47533 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
47534 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
47535 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
47536 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
47537 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
47538 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
47540 * posix/getconf.c: Update copyright year.
47541 * catgets/gencat.c: Likewise.
47542 * csu/version.c: Likewise.
47543 * debug/catchsegv.sh: Likewise.
47544 * debug/xtrace.sh: Likewise.
47545 * elf/ldconfig.c: Likewise.
47546 * elf/ldd.bash.in: Likewise.
47547 * elf/sprof.c (print_version): Likewise.
47548 * iconv/iconv_prog.c: Likewise.
47549 * iconv/iconvconfig.c: Likewise.
47550 * locale/programs/locale.c: Likewise.
47551 * locale/programs/localedef.c: Likewise.
47552 * malloc/memusage.sh: Likewise.
47553 * malloc/mtrace.pl: Likewise.
47554 * nscd/nscd.c (print_version): Likewise.
47555 * nss/getent.c: Likewise.
47557 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
47558 PF_CAIF, and PF_ALG.
47559 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
47561 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
47563 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
47564 (modules-names): Use them.
47565 (ifunc-test-modules, ifunc-pie-tests): Define.
47566 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
47567 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
47568 (test-extras): Likewise.
47569 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
47570 $(compile-command.c).
47571 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
47572 (all-built-dso): Define.
47573 (check-textrel.out, check-execstack.out): Depend on it.
47575 * configure.in: Don't override --enable-multi-arch.
47577 2011-01-15 Ulrich Drepper <drepper@gmail.com>
47580 * nscd/hstcache.c (tryagain): Define.
47581 (cache_addhst): Return tryagain not notfound for temporary errors.
47582 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
47585 2011-01-14 Ulrich Drepper <drepper@gmail.com>
47588 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
47589 to make the syscall.
47590 * sysdeps/unix/sysv/linux/setgroups.c: New file.
47593 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
47594 and fall back to matching as normal character if the string ends before
47595 the matching ']' is found. This is what POSIX requires.
47596 * posix/testfnm.c: Adjust test result.
47597 * posix/globtest.sh: Adjust test result. Add new test.
47598 * posix/tst-fnmatch.input: Likewise.
47599 * posix/tst-fnmatch2.c: Add new test.
47601 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
47603 * elf/Makefile (check-execstack): Revert last change. Depend on
47605 (check-execstack.h): New target.
47606 (generated): Add check-execstack.h.
47607 * elf/check-execstack.c: Include "check-execstack.h".
47608 (main): Revert last change.
47609 (handle_file): Return zero if GNU_STACK is absent and
47610 DEFAULT_STACK_PERMS doesn't include PF_X.
47612 2011-01-13 Ulrich Drepper <drepper@gmail.com>
47614 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
47615 in child fails because the descriptor is already closed.
47616 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
47617 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
47618 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
47621 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
47625 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
47626 temporary buffer used to handle multi lookups locally.
47627 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
47629 2011-01-12 Ulrich Drepper <drepper@gmail.com>
47631 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
47634 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
47636 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
47637 alignment for SSE2.
47639 2011-01-12 Ulrich Drepper <drepper@gmail.com>
47642 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
47643 characters. When rounding increased number of integer digits recompute
47645 * stdio-common/tst-grouping.c: New file.
47646 * stdio-common/Makefile: Add rules to build and run tst-grouping.
47648 2011-01-09 Ulrich Drepper <drepper@gmail.com>
47650 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
47651 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
47653 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
47655 * bits/select.h: Likewise.
47657 2011-01-08 Ulrich Drepper <drepper@gmail.com>
47659 * po/ja.po: Update from translation team.
47661 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
47664 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
47665 implementation just like for lxstat, fxstatat, et al.
47667 2010-12-27 Jim Meyering <meyering@redhat.com>
47670 * posix/regexec.c (build_trtable): Return failure indication upon
47671 calloc failure. Otherwise, re_search_internal could infloop on OOM.
47673 2010-12-25 Ulrich Drepper <drepper@gmail.com>
47676 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
47677 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
47678 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
47679 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
47682 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
47685 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
47686 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
47688 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
47690 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
47691 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
47692 script has SORT_BY_INIT_PRIORITY.
47693 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
47694 NO_CTORS_DTORS_SECTIONS is defined.
47695 * elf/soinit.c: Likewise.
47696 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
47697 NO_CTORS_DTORS_SECTIONS is defined.
47698 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
47699 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
47700 * sysdeps/sh/init-first.c: Likewise.
47701 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
47703 2010-12-24 Ulrich Drepper <drepper@gmail.com>
47705 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
47706 always use the slow path.
47708 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
47710 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
47711 similar rule which adds the sysdep directories to the header search in
47712 order to pick up the correct platform stackinfo.h.
47713 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
47714 perform test if it is, otherwise return successfully without testing.
47715 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
47716 DEFAULT_STACK_PERMS define in stackinfo.h.
47717 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
47718 defined in stackinfo.h.
47719 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
47720 DEFAULT_STACK_PERMS defined in stackinfo.h.
47721 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
47722 * sysdeps/ia64/stackinfo.h: Likewise.
47723 * sysdeps/s390/stackinfo.h: Likewise.
47724 * sysdeps/sh/stackinfo.h: Likewise.
47725 * sysdeps/sparc/stackinfo.h: Likewise.
47726 * sysdeps/x86_64/stackinfo.h: Likewise.
47727 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
47728 PF_X for powerpc64. Retain PF_X for powerpc32.
47730 2010-12-19 Ulrich Drepper <drepper@gmail.com>
47732 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
47734 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
47735 GETDENTS_64BIT_ALIGNED.
47737 2010-12-14 Ulrich Drepper <dreper@gmail.com>
47739 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
47741 2010-12-10 Andreas Schwab <schwab@redhat.com>
47743 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
47746 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
47747 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
47749 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
47750 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
47752 2010-12-09 Ulrich Drepper <drepper@gmail.com>
47755 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
47758 2010-12-09 Jakub Jelinek <jakub@redhat.com>
47760 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
47762 2010-12-03 Ulrich Drepper <drepper@gmail.com>
47764 * po/it.po: Update from translation team.
47766 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
47768 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
47771 2010-11-30 Ulrich Drepper <drepper@gmail.com>
47773 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
47775 2010-11-24 Andreas Schwab <schwab@redhat.com>
47777 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
47779 (gaih_getanswer_slice): Likewise.
47781 2010-10-20 Jakub Jelinek <jakub@redhat.com>
47783 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
47785 2010-05-31 Petr Baudis <pasky@suse.cz>
47788 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
47789 silently even in the chroot mode.
47791 2010-11-22 Ulrich Drepper <drepper@gmail.com>
47793 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
47794 last patch a bit. Pretty printing
47796 2010-05-31 Petr Baudis <pasky@suse.cz>
47799 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
47800 initialization of skip_initgroups_dyn.
47802 2010-11-19 Ulrich Drepper <drepper@gmail.com>
47804 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
47805 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
47807 2010-11-16 Ulrich Drepper <drepper@gmail.com>
47809 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
47811 2010-11-11 Andreas Schwab <schwab@redhat.com>
47813 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
47814 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
47815 (tst-fnmatch-ENV): Set MALLOC_TRACE.
47816 ($(objpfx)tst-fnmatch-mem): New rule.
47817 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
47818 * posix/tst-fnmatch.c (main): Call mtrace.
47820 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
47822 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47823 Support Intel processor model 6 and model 0x2c.
47825 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
47827 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
47830 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
47833 * string/test-strncasecmp.c (check_result): New function.
47834 (do_one_test): Use it.
47835 (check1): New function.
47836 (test_main): Use it.
47837 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
47838 Support strcasecmp and strncasecmp.
47840 2010-11-08 Ulrich Drepper <drepper@gmail.com>
47843 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
47844 * sysdeps/x86_64/bits/byteswap.h: Likewise.
47846 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
47848 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
47850 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47852 * sysdeps/x86_64/multiarch/bzero.S: New file.
47853 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
47854 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
47855 * sysdeps/x86_64/multiarch/memset.S: New file.
47856 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
47857 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47858 Set bit_Prefer_SSE_for_memop for Intel processors.
47859 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
47861 (index_Prefer_SSE_for_memop): Define.
47862 (HAS_PREFER_SSE_FOR_MEMOP): Define.
47864 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
47866 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
47867 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
47869 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
47872 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
47873 (__x86_64_raw_data_cache_size_half): Likewise.
47874 (__x86_64_raw_shared_cache_size): Likewise.
47875 (__x86_64_raw_shared_cache_size_half): Likewise.
47877 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
47878 (__x86_64_raw_data_cache_size_half): Likewise.
47879 (__x86_64_raw_shared_cache_size): Likewise.
47880 (__x86_64_raw_shared_cache_size_half): Likewise.
47881 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
47882 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
47883 and __x86_64_raw_shared_cache_size_half. Round
47884 __x86_64_data_cache_size_half, __x86_64_data_cache_size
47885 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
47886 to multiple of 256 bytes.
47888 2010-11-03 Ulrich Drepper <drepper@gmail.com>
47891 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
47892 of inacessible symlinks. Verify result of symlink before returning it.
47893 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
47894 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
47896 2010-10-28 Erich Ritz <erichritz@gmail.com>
47898 * math/math.h (isinf): Fix typo in comment.
47900 2010-11-01 Ulrich Drepper <drepper@gmail.com>
47902 * po/da.po: Update from translation team.
47904 2010-10-26 Ulrich Drepper <drepper@gmail.com>
47906 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
47907 is added to the list.
47909 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47910 Ulrich Drepper <drepper@gmail.com>
47912 * elf/dl-object.c (_dl_new_object): Don't append the new object to
47913 the global list here. Move code to...
47914 (_dl_add_to_namespace_list): ...here. New function.
47915 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
47916 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
47917 * elf/dl-load.c (lose): Don't remove the element from the list.
47918 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
47919 (_dl_map_object): Likewise.
47921 2010-10-25 Ulrich Drepper <drepper@gmail.com>
47924 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
47925 into all bytes of SSE register.
47926 Patch by Richard Li <richardpku@gmail.com>.
47928 2010-10-24 Ulrich Drepper <drepper@gmail.com>
47931 * malloc/malloc.c (_int_free): Fill correct number of bytes when
47934 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
47936 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
47937 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
47938 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
47939 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
47940 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
47942 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
47944 2010-10-22 Andreas Schwab <schwab@redhat.com>
47946 * include/dlfcn.h (__RTLD_SECURE): Define.
47947 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
47948 mode & __RTLD_SECURE instead.
47949 (open_path): Rename preloaded parameter to secure.
47950 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
47951 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
47952 * elf/dl-deps.c (openaux): Likewise.
47953 * elf/rtld.c (struct map_args): Remove is_preloaded.
47954 (map_doit): Don't use it.
47955 (dl_main): Likewise.
47956 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
47957 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
47959 2010-09-09 Andreas Schwab <schwab@redhat.com>
47961 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
47962 (sysd-rules-targets): Remove duplicates.
47963 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
47964 rtld-%.$o dependency.
47966 2010-10-18 Andreas Schwab <schwab@redhat.com>
47968 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
47969 _dl_map_object do it.
47971 2010-10-19 Ulrich Drepper <drepper@gmail.com>
47973 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
47974 fast fma builtins, define the macros in the C99 standard.
47975 (FP_FAST_FMAF): Likewise.
47976 (FP_FAST_FMAL): Likewise.
47977 * sysdeps/x86_64/bits/mathdef.h: Likewise.
47979 * bits/mathdef.h: Update copyright year.
47980 * sysdeps/powerpc/bits/mathdef.h: Likewise.
47982 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
47984 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
47985 builtins, define the macros in the C99 standard.
47986 (FP_FAST_FMAF): Likewise.
47987 (FP_FAST_FMAL): Likewise.
47988 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
47990 (FP_FAST_FMAF): Likewise.
47992 2010-10-15 Jakub Jelinek <jakub@redhat.com>
47995 * math/libm-test.inc (fma_test): Some new testcases.
47996 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
47997 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
47998 y and infinite z. Do multiplication by C already in long double.
47999 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
48000 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
48001 y and infinite z. Do bitwise or of inexact bit into u.d.
48002 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
48003 * sysdeps/i386/fpu/s_fmaf.S: Removed.
48004 * sysdeps/i386/fpu/s_fma.S: Removed.
48005 * sysdeps/i386/fpu/s_fmal.S: Removed.
48007 2010-10-16 Jakub Jelinek <jakub@redhat.com>
48010 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
48011 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
48012 computation is not scheduled after fetestexcept. Fix value
48013 of minimum denormal long double.
48015 2010-10-14 Jakub Jelinek <jakub@redhat.com>
48018 * math/libm-test.inc (fma_test): Add some more tests.
48019 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
48022 2010-10-15 Andreas Schwab <schwab@redhat.com>
48024 * scripts/data/localplt-s390-linux-gnu.data: New file.
48025 * scripts/data/localplt-s390x-linux-gnu.data: New file.
48027 2010-10-13 Jakub Jelinek <jakub@redhat.com>
48030 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
48031 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
48033 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
48035 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
48036 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
48037 if one of x and y is very large and the other is subnormal.
48038 * sysdeps/s390/fpu/s_fmaf.c: New file.
48039 * sysdeps/s390/fpu/s_fma.c: New file.
48040 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
48041 * sysdeps/powerpc/fpu/s_fma.S: New file.
48042 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
48043 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
48044 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
48046 2010-10-12 Jakub Jelinek <jakub@redhat.com>
48049 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
48051 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
48052 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
48053 * sysdeps/i386/i686/multiarch/s_fma.c: Include
48054 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
48055 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
48056 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
48057 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
48059 2010-10-12 Ulrich Drepper <drepper@redhat.com>
48062 * posix/regcomp.c (parse_branch): One more memory leak plugged.
48063 * posix/bug-regex31.input: Add test case.
48065 2010-10-11 Ulrich Drepper <drepper@gmail.com>
48067 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
48068 * posix/bug-regex31.input: New file.
48071 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
48072 (parse_sub_exp): Fix last change, use postorder.
48074 * posix/bug-regex31.c: New file.
48075 * posix/Makefile: Add rules to build and run bug-regex31.
48077 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
48080 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
48083 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
48084 to have entries in sys_siglist.
48087 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
48090 2010-10-07 Jakub Jelinek <jakub@redhat.com>
48093 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
48094 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
48095 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
48096 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
48097 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
48098 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
48099 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
48100 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
48101 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
48102 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
48103 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
48104 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
48105 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
48106 * math/ftestexcept.c (fetestexcept): Likewise.
48107 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
48108 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
48109 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
48110 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
48111 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
48112 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
48113 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
48115 2010-10-11 Ulrich Drepper <drepper@gmail.com>
48118 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
48121 2010-10-06 Ulrich Drepper <drepper@gmail.com>
48123 * string/bug-strstr1.c: New file.
48124 * string/Makefile: Add rules to build and run bug-strstr1.
48126 2010-10-05 Eric Blake <eblake@redhat.com>
48129 * string/str-two-way.h (two_way_long_needle): Always clear memory
48130 when skipping input due to the shift table.
48132 2010-10-03 Ulrich Drepper <drepper@gmail.com>
48135 * malloc/mcheck.c: Handle large requests.
48138 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
48139 for strncmp and strncasecmp.
48140 * string/stratcliff.c: Add tests for strcmp and strncmp.
48141 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
48143 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
48145 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
48148 2010-09-30 Andreas Jaeger <aj@suse.de>
48150 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
48151 (CGROUP_SUPER_MAGIC): Define.
48152 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
48153 Handle btrfs and cgroup file systems.
48154 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
48157 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
48159 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
48160 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
48162 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48165 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
48166 trying to locate the ELF header.
48168 2010-09-27 Andreas Schwab <schwab@redhat.com>
48171 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
48172 Mask out sign-bit copies when constructing f_fsid.
48174 2010-09-24 Petr Baudis <pasky@suse.cz>
48176 * debug/stack_chk_fail_local.c: Add missing licence exception.
48177 * debug/warning-nop.c: Likewise.
48179 2010-09-15 Joseph Myers <joseph@codesourcery.com>
48181 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
48182 implementing getdents64 using getdents syscall, set d_type if
48183 __ASSUME_GETDENTS32_D_TYPE.
48185 2010-09-16 Andreas Schwab <schwab@redhat.com>
48187 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
48188 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
48190 2010-09-21 Ulrich Drepper <drepper@redhat.com>
48193 * posix/unistd.h: Undo change of feature selection for ftruncate from
48196 2010-09-20 Ulrich Drepper <drepper@redhat.com>
48198 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
48201 2010-09-20 Andreas Schwab <schwab@redhat.com>
48203 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
48205 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
48207 2010-09-14 Andreas Schwab <schwab@redhat.com>
48209 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
48210 variables after CHECK_SP call.
48211 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
48213 2010-09-13 Andreas Schwab <schwab@redhat.com>
48214 Ulrich Drepper <drepper@redhat.com>
48216 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
48217 re-relocationg ld.so.
48218 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
48219 _dl_init_paths call.
48220 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
48223 2010-09-14 Ulrich Drepper <drepper@redhat.com>
48225 * resolv/res_init.c (__res_vinit): Count the default server we added.
48227 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
48228 Ulrich Drepper <drepper@redhat.com>
48231 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
48232 (____longjmp_chk): Use %ebx for saving value across system call.
48235 2010-09-06 Andreas Schwab <schwab@redhat.com>
48237 * manual/Makefile: Don't mix pattern rules with normal rules.
48239 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
48241 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
48243 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
48244 * libio/iofopncook.c (_IO_cookie_init): Likewise.
48245 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
48246 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
48247 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
48250 2010-09-04 Ulrich Drepper <drepper@redhat.com>
48253 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
48254 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
48256 2010-09-02 Ulrich Drepper <drepper@redhat.com>
48258 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
48259 * sysdeps/x86_64/addmul_1.S: Likewise.
48260 * sysdeps/x86_64/lshift.S: Likewise.
48261 * sysdeps/x86_64/mul_1.S: Likewise.
48262 * sysdeps/x86_64/rshift.S: Likewise.
48263 * sysdeps/x86_64/sub_n.S: Likewise.
48264 * sysdeps/x86_64/submul_1.S: Likewise.
48266 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
48268 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
48269 Define __sched_param instead of SCHED_* and sched_param when
48270 <bits/sched.h> is included with __need_schedparam defined.
48271 * bits/sched.h [__need_schedparam]
48272 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
48273 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
48274 (__defined_schedparam): Define to 1.
48275 (__sched_param): New structure, identical to sched_param.
48276 (__need_schedparam): Undefine.
48278 2010-08-31 Mike Frysinger <vapier@gentoo.org>
48280 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
48281 (epoll_create1): Declare.
48283 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
48285 2010-08-31 Andreas Schwab <schwab@redhat.com>
48288 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
48289 shifting retval into place.
48291 2010-09-01 Ulrich Drepper <drepper@redhat.com>
48293 * nis/rpcsvc/nis.h: Update copyright notice.
48294 * nis/rpcsvc/nis.x: Likewise.
48295 * nis/rpcsvc/nis_callback.h: Likewise.
48296 * nis/rpcsvc/nis_callback.x: Likewise.
48297 * nis/rpcsvc/nis_object.x: Likewise.
48298 * nis/rpcsvc/nis_tags.h: Likewise.
48299 * nis/rpcsvc/yp.h: Likewise.
48300 * nis/rpcsvc/yp.x: Likewise.
48301 * nis/rpcsvc/ypupd.h: Likewise.
48302 * nis/yp_xdr.c: Likewise.
48303 * nis/ypupdate_xdr.c: Likewise.
48305 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
48306 mainly the body of pmap_getport. Add parameters to specify timeouts.
48307 (pmap_getport): Use __libc_rpc_getport.
48308 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
48309 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
48310 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
48312 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
48314 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
48317 2010-08-27 Roland McGrath <roland@redhat.com>
48319 * sysdeps/i386/i686/multiarch/Makefile
48320 (CFLAGS-varshift.c): New variable.
48322 2010-08-27 Ulrich Drepper <drepper@redhat.com>
48324 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
48325 * sysdeps/i386/i686/multiarch/varshift.c: New file.
48327 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
48329 * sysdeps/x86_64/strlen.S: Minimal code improvement.
48331 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
48333 * sysdeps/x86_64/strlen.S: Unroll the loop.
48334 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48335 strlen-sse2 strlen-sse2-bsf.
48336 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
48337 __strlen_no_bsf if bit_Slow_BSF is set.
48338 (__strlen_sse42): Removed.
48339 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
48340 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
48342 2010-08-25 Roland McGrath <roland@redhat.com>
48344 * sysdeps/x86_64/multiarch/varshift.S: File removed.
48345 * sysdeps/x86_64/multiarch/varshift.c: New file.
48346 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
48347 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
48348 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
48349 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
48351 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
48353 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
48354 strlen-sse2 strlen-sse2-bsf.
48355 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
48356 __strlen_sse2_bsf if bit_Slow_BSF is unset.
48357 (__strlen_sse2): Removed.
48358 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
48359 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
48360 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
48361 bit_Slow_BSF for Atom.
48362 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
48363 (index_Slow_BSF): Define.
48364 (HAS_SLOW_BSF): Define.
48366 2010-08-25 Ulrich Drepper <drepper@redhat.com>
48369 * resolv/res_init.c (__res_vinit): When no server address at all
48370 is given default to loopback.
48372 2010-08-24 Roland McGrath <roland@redhat.com>
48374 * configure.in: Remove config-name.h generation.
48375 * configure: Regenerated.
48376 * config-name.in: File removed.
48377 * scripts/config-uname.sh: New file.
48378 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
48379 ($(objdir)config-name.h): New target.
48381 * sunrpc/rpc_parse.h: Avoid nested comment.
48383 2010-08-24 Richard Henderson <rth@redhat.com>
48384 Ulrich Drepper <drepper@redhat.com>
48385 H.J. Lu <hongjiu.lu@intel.com>
48387 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
48388 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
48389 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
48390 Replace _mm_srli_si128 with __m128i_shift_right. Replace
48391 _mm_alignr_epi8 with _mm_loadu_si128.
48392 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
48393 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
48394 (__m128i_shift_right): Removed.
48395 * sysdeps/i386/i686/multiarch/varshift.h: New file.
48396 * sysdeps/i386/i686/multiarch/varshift.S: New file.
48397 * sysdeps/x86_64/multiarch/varshift.h: New file.
48398 * sysdeps/x86_64/multiarch/varshift.S: New file.
48400 2010-08-21 Mike Frysinger <vapier@gentoo.org>
48402 * configure.in: Move assembler checks to before sysdep dir checking.
48404 2010-08-20 Petr Baudis <pasky@suse.cz>
48406 * LICENSES: Sync the sunrpc license.
48408 2010-08-19 Ulrich Drepper <drepper@redhat.com>
48410 * sunrpc/auth_des.c: Update copyright notice once again.
48411 * sunrpc/auth_none.c: Likewise.
48412 * sunrpc/auth_unix.c: Likewise.
48413 * sunrpc/authdes_prot.c: Likewise.
48414 * sunrpc/authuxprot.c: Likewise.
48415 * sunrpc/bindrsvprt.c: Likewise.
48416 * sunrpc/clnt_gen.c: Likewise.
48417 * sunrpc/clnt_perr.c: Likewise.
48418 * sunrpc/clnt_raw.c: Likewise.
48419 * sunrpc/clnt_simp.c: Likewise.
48420 * sunrpc/clnt_tcp.c: Likewise.
48421 * sunrpc/clnt_udp.c: Likewise.
48422 * sunrpc/clnt_unix.c: Likewise.
48423 * sunrpc/des_crypt.c: Likewise.
48424 * sunrpc/des_soft.c: Likewise.
48425 * sunrpc/get_myaddr.c: Likewise.
48426 * sunrpc/getrpcport.c: Likewise.
48427 * sunrpc/key_call.c: Likewise.
48428 * sunrpc/key_prot.c: Likewise.
48429 * sunrpc/openchild.c: Likewise.
48430 * sunrpc/pm_getmaps.c: Likewise.
48431 * sunrpc/pm_getport.c: Likewise.
48432 * sunrpc/pmap_clnt.c: Likewise.
48433 * sunrpc/pmap_prot.c: Likewise.
48434 * sunrpc/pmap_prot2.c: Likewise.
48435 * sunrpc/pmap_rmt.c: Likewise.
48436 * sunrpc/rpc/auth.h: Likewise.
48437 * sunrpc/rpc/auth_unix.h: Likewise.
48438 * sunrpc/rpc/clnt.h: Likewise.
48439 * sunrpc/rpc/des_crypt.h: Likewise.
48440 * sunrpc/rpc/key_prot.h: Likewise.
48441 * sunrpc/rpc/netdb.h: Likewise.
48442 * sunrpc/rpc/pmap_clnt.h: Likewise.
48443 * sunrpc/rpc/pmap_prot.h: Likewise.
48444 * sunrpc/rpc/pmap_rmt.h: Likewise.
48445 * sunrpc/rpc/rpc.h: Likewise.
48446 * sunrpc/rpc/rpc_des.h: Likewise.
48447 * sunrpc/rpc/rpc_msg.h: Likewise.
48448 * sunrpc/rpc/svc.h: Likewise.
48449 * sunrpc/rpc/svc_auth.h: Likewise.
48450 * sunrpc/rpc/types.h: Likewise.
48451 * sunrpc/rpc/xdr.h: Likewise.
48452 * sunrpc/rpc_clntout.c: Likewise.
48453 * sunrpc/rpc_cmsg.c: Likewise.
48454 * sunrpc/rpc_common.c: Likewise.
48455 * sunrpc/rpc_cout.c: Likewise.
48456 * sunrpc/rpc_dtable.c: Likewise.
48457 * sunrpc/rpc_hout.c: Likewise.
48458 * sunrpc/rpc_main.c: Likewise.
48459 * sunrpc/rpc_parse.c: Likewise.
48460 * sunrpc/rpc_parse.h: Likewise.
48461 * sunrpc/rpc_prot.c: Likewise.
48462 * sunrpc/rpc_sample.c: Likewise.
48463 * sunrpc/rpc_scan.c: Likewise.
48464 * sunrpc/rpc_scan.h: Likewise.
48465 * sunrpc/rpc_svcout.c: Likewise.
48466 * sunrpc/rpc_tblout.c: Likewise.
48467 * sunrpc/rpc_util.c: Likewise.
48468 * sunrpc/rpc_util.h: Likewise.
48469 * sunrpc/rpcinfo.c: Likewise.
48470 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
48471 * sunrpc/rpcsvc/key_prot.x: Likewise.
48472 * sunrpc/rpcsvc/klm_prot.x: Likewise.
48473 * sunrpc/rpcsvc/mount.x: Likewise.
48474 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
48475 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
48476 * sunrpc/rpcsvc/rex.x: Likewise.
48477 * sunrpc/rpcsvc/rstat.x: Likewise.
48478 * sunrpc/rpcsvc/rusers.x: Likewise.
48479 * sunrpc/rpcsvc/sm_inter.x: Likewise.
48480 * sunrpc/rpcsvc/spray.x: Likewise.
48481 * sunrpc/rpcsvc/yppasswd.x: Likewise.
48482 * sunrpc/rtime.c: Likewise.
48483 * sunrpc/svc.c: Likewise.
48484 * sunrpc/svc_auth.c: Likewise.
48485 * sunrpc/svc_authux.c: Likewise.
48486 * sunrpc/svc_raw.c: Likewise.
48487 * sunrpc/svc_run.c: Likewise.
48488 * sunrpc/svc_simple.c: Likewise.
48489 * sunrpc/svc_tcp.c: Likewise.
48490 * sunrpc/svc_udp.c: Likewise.
48491 * sunrpc/svc_unix.c: Likewise.
48492 * sunrpc/svcauth_des.c: Likewise.
48493 * sunrpc/xcrypt.c: Likewise.
48494 * sunrpc/xdr.c: Likewise.
48495 * sunrpc/xdr_array.c: Likewise.
48496 * sunrpc/xdr_float.c: Likewise.
48497 * sunrpc/xdr_mem.c: Likewise.
48498 * sunrpc/xdr_rec.c: Likewise.
48499 * sunrpc/xdr_ref.c: Likewise.
48500 * sunrpc/xdr_sizeof.c: Likewise.
48501 * sunrpc/xdr_stdio.c: Likewise.
48503 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
48506 2010-08-19 Andreas Schwab <schwab@redhat.com>
48508 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
48510 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
48512 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
48513 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
48514 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
48515 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
48516 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
48517 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
48518 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
48519 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
48520 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
48521 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
48522 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
48523 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
48524 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
48525 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
48527 2010-07-26 Anton Blanchard <anton@samba.org>
48529 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
48530 * malloc/arena.c (heap_trim): Likewise.
48532 2010-08-16 Ulrich Drepper <drepper@redhat.com>
48534 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
48536 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
48537 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
48539 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
48541 * sysdeps/i386/elf/Makefile: New file.
48543 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
48545 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
48546 from fanotify_init.
48547 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
48548 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
48550 2010-08-15 Ulrich Drepper <drepper@redhat.com>
48552 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
48554 * sysdeps/multiarch/strcmp.S: Likewise.
48556 2010-08-14 Ulrich Drepper <drepper@redhat.com>
48558 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
48559 strncase_l-nonascii.
48560 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
48561 Add strncase_l-ssse3.
48562 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
48563 * sysdeps/x86_64/strcmp.S: Likewise.
48564 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
48565 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
48566 * sysdeps/x86_64/strncase.S: New file.
48567 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
48568 * sysdeps/x86_64/strncase_l.S: New file.
48569 * string/Makefile (strop-tests): Add strncasecmp.
48570 * string/test-strncasecmp.c: New file.
48572 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
48575 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
48576 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
48578 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
48580 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
48582 2010-08-12 Ulrich Drepper <drepper@redhat.com>
48584 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
48585 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
48586 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
48588 2010-05-01 Alan Modra <amodra@gmail.com>
48590 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
48591 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
48592 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
48593 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
48594 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
48595 tidying. Don't tail-call __sigjmp_save for static lib.
48596 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
48598 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
48599 (CALL_MCOUNT): Add eh info, and nop after bl.
48600 (TAIL_CALL_SYSCALL_ERROR): New macro.
48601 (PSEUDO_RET): Use it.
48602 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
48603 Correct save location of integer regs and cr.
48604 (_dl_profile_resolve): Correct cr save location. Delete nops
48605 after bl when SHARED. Reduce cfi size a little by better
48606 placement of cfi directives.
48607 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
48608 make a stack frame. Instead use parm save area as a temp.
48609 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
48610 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
48611 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
48612 Don't make a stack frame for parent, use parm save area.
48613 Increase child stack frame to 112 bytes. Don't save unused reg,
48614 and adjust reg usage. Set up cfi on error recovery and
48615 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
48616 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
48617 (__makecontext): Add dummy nop after jump to exit.
48618 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
48619 Use correct parm save area and cr save, reduce stack frame.
48620 Correct cfi for possible PSEUDO_RET frame setup.
48621 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
48622 Branch to local label emitted by PSEUDO_RET rather than
48625 2010-08-12 Andreas Schwab <schwab@redhat.com>
48628 * locale/programs/locale.c (print_assignment): New function.
48629 (show_locale_vars): Use it.
48631 2010-08-11 Ulrich Drepper <drepper@redhat.com>
48633 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
48635 (struct statfs64): Likewise.
48636 (_STATFS_F_FLAGS): Define.
48637 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
48638 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
48639 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
48640 (ST_VALID): Define locally.
48641 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
48642 __statvfs_getflags, use the provided value.
48643 * sysdeps/unix/sysv/linux/kernel-features.h: Define
48644 __ASSUME_STATFS_F_FLAGS.
48646 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
48648 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
48649 Add sys/fanotify.h.
48650 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
48651 fanotify_mask for GLIBC_2.13.
48652 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
48653 fanotify_init and fanotify_mark.
48654 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
48655 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
48657 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
48659 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
48660 prlimit64 for GLIBC_2.13.
48661 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
48663 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
48665 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
48666 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
48667 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
48668 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
48669 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
48671 * sysdeps/unix/sysv/linux/prlimit.c: New file.
48674 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
48675 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
48677 * nss/Makefile: Add rules to build and run tst-nss-test1.
48678 * shlib-versions: Add entry for libnss_test1.
48679 * nss/nss_test1.c: New file.
48680 * nss/tst-nss-test1.c: New file.
48682 * nss/nsswitch.c (__nss_database_custom): Define new variable.
48683 (__nss_configure_lookup): Set appropriate entry in
48684 __nss_configure_lookup to true.
48685 * nss/nsswitch.h: Define enum with indeces of databases in
48686 databases and __nss_database_custom arrays. Declare
48687 __nss_database_custom.
48688 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
48689 to avoid using nscd when custom rules are installed.
48690 * nss/getXXbyYY_r.c: Likewise.
48691 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
48693 * nss/nss_files/files-parse.c: Whitespace fixes.
48695 2010-08-09 Ulrich Drepper <drepper@redhat.com>
48698 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
48699 * posix/fnmatch_loop.c: Likewise.
48701 2010-07-17 Andi Kleen <ak@linux.intel.com>
48703 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
48704 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
48705 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
48706 * Versions.def [GLIBC_2.13]: Add.
48708 2010-08-06 Ulrich Drepper <drepper@redhat.com>
48710 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
48711 Also fail if tpwd after pwuid call is NULL.
48713 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
48715 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
48716 when converting to ms.
48718 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
48720 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
48721 EOPNOTSUPP errors with ENOTTY.
48722 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
48723 EOPNOTSUPP errors with ENOTTY.
48725 2010-07-31 Ulrich Drepper <drepper@redhat.com>
48727 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
48728 Add strcasecmp_l-ssse3.
48729 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
48731 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
48732 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
48733 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
48735 2010-07-30 Ulrich Drepper <drepper@redhat.com>
48737 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
48739 * string/Makefile (strop-tests): Add strcasecmp.
48740 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
48741 strcasecmp_l-nonascii.
48742 (gen-as-const-headers): Add locale-defines.sym.
48743 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
48744 * sysdeps/x86_64/strcasecmp.S: New file.
48745 * sysdeps/x86_64/strcasecmp_l.S: New file.
48746 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
48747 * sysdeps/x86_64/locale-defines.sym: New file.
48748 * string/test-strcasecmp.c: New file.
48750 * string/test-strcasestr.c: Test both ends of the range of characters.
48751 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
48753 2010-07-29 Roland McGrath <roland@redhat.com>
48756 * manual/locale.texi (Yes-or-No Questions): Fix example code.
48758 2010-07-27 Ulrich Drepper <drepper@redhat.com>
48760 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
48763 2010-07-27 Andreas Schwab <schwab@redhat.com>
48765 * manual/memory.texi (Malloc Tunable Parameters): Document
48768 2010-07-26 Roland McGrath <roland@redhat.com>
48771 * configure.in (-fgnu89-inline check): Set and substitute
48772 gnu89_inline, not libc_cv_gnu89_inline.
48773 * configure: Regenerated.
48774 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
48776 2010-07-26 Ulrich Drepper <drepper@redhat.com>
48778 * string/test-strnlen.c: New file.
48779 * string/Makefile (strop-tests): Add strnlen.
48780 * string/tester.c (test_strnlen): Add a few more test cases.
48781 * string/tst-strlen.c: Better error reporting.
48783 * sysdeps/x86_64/strnlen.S: New file.
48785 2010-07-24 Ulrich Drepper <drepper@redhat.com>
48787 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
48788 lower-latency instructions.
48790 2010-07-23 Ulrich Drepper <drepper@redhat.com>
48792 * string/test-strcasestr.c: New file.
48793 * string/test-strstr.c: New file.
48794 * string/Makefile (strop-tests): Add strstr and strcasestr.
48795 * string/str-two-way.h: Don't undefine MAX.
48796 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
48798 2010-07-21 Andreas Schwab <schwab@redhat.com>
48800 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
48801 strcasestr-nonascii.
48802 (CFLAGS-strcasestr-nonascii.c): Define.
48803 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
48804 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
48805 Remove unused attribute.
48807 2010-07-20 Roland McGrath <roland@redhat.com>
48809 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
48810 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
48811 ld.so.cache was broken. With it, there is no way to disable dsocaps
48812 like LD_HWCAP_MASK can disable hwcaps.
48814 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
48816 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
48818 2010-07-16 Ulrich Drepper <drepper@redhat.com>
48820 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
48821 call in strcasestr.
48822 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
48823 __strcasestr_sse42_nonascii.
48824 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
48825 strcasestr-nonascii.c.
48826 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
48828 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
48830 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
48831 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
48832 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
48833 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
48835 2010-07-09 Ulrich Drepper <drepper@redhat.com>
48837 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
48840 2010-07-06 Andreas Schwab <schwab@redhat.com>
48843 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
48846 2010-07-06 Ulrich Drepper <drepper@redhat.com>
48848 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
48849 _PC_PIPE_BUF using F_GETPIPE_SZ.
48851 2010-07-05 Roland McGrath <roland@redhat.com>
48853 * manual/arith.texi (Rounding Functions): Fix rint description
48854 implicit in round description.
48856 2010-07-02 Ulrich Drepper <drepper@redhat.com>
48858 * elf/Makefile: Fix linking for a few tests to make recent linker
48861 2010-06-30 Andreas Schwab <schwab@redhat.com>
48863 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
48864 $(common-objpfx)libc_nonshared.a.
48866 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
48868 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
48869 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
48870 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
48871 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
48872 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
48873 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
48874 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
48875 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
48876 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
48877 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
48878 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
48879 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
48880 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
48881 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
48882 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
48883 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
48884 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
48885 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
48886 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
48887 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
48888 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
48889 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
48890 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
48891 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
48892 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
48893 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
48894 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
48895 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
48896 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
48897 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
48898 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
48899 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
48900 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
48901 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
48902 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
48903 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
48904 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
48905 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
48906 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
48907 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
48908 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
48909 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
48910 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
48911 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
48912 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
48913 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
48914 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
48915 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
48917 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
48919 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
48920 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
48921 * string/memmove.c (memmove): Renamed to ...
48922 (MEMMOVE): ...this. Default to memmove.
48923 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
48924 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
48926 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48927 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
48928 mempcpy-ssse3-back memmove-ssse3-back.
48929 * sysdeps/x86_64/multiarch/bcopy.S: New file .
48930 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
48931 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
48932 * sysdeps/x86_64/multiarch/memcpy.S: New file.
48933 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
48934 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
48935 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
48936 * sysdeps/x86_64/multiarch/memmove.c: New file.
48937 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
48938 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
48939 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
48940 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
48941 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
48942 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
48944 (index_Fast_Copy_Backward): Define.
48945 (HAS_ARCH_FEATURE): Define.
48946 (HAS_FAST_REP_STRING): Define.
48947 (HAS_FAST_COPY_BACKWARD): Define.
48949 2010-06-21 Andreas Schwab <schwab@redhat.com>
48951 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
48952 Restore proper fallback handling.
48954 2010-06-19 Ulrich Drepper <drepper@redhat.com>
48957 * posix/group_member.c (__group_member): Correct checking loop.
48959 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
48960 OOM in getpwuid_r correctly. Return error number when the caller
48961 should return, otherwise -1.
48962 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
48963 call returning > 0 value.
48964 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
48966 2010-06-07 Andreas Schwab <schwab@redhat.com>
48968 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
48969 libc_nonshared.a from targets in modules-names.
48971 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
48973 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
48976 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
48978 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
48979 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
48980 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
48981 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
48983 2010-06-02 Andreas Schwab <schwab@redhat.com>
48985 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
48987 2010-06-14 Ulrich Drepper <drepper@redhat.com>
48989 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
48991 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
48992 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
48993 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
48994 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
48995 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
48996 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
48998 2010-06-14 Roland McGrath <roland@redhat.com>
49000 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
49002 2010-06-07 Jakub Jelinek <jakub@redhat.com>
49004 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
49005 __REDIRECT followed by __THROW.
49006 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
49007 * posix/getopt.h (getopt): Likewise.
49009 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
49011 * hurd/lookup-at.c (__file_name_lookup_at): Accept
49012 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
49013 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
49015 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
49016 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
49018 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
49020 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
49022 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
49025 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49026 Properly check family and model.
49028 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
49030 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
49032 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
49034 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
49036 2010-05-21 Ulrich Drepper <drepper@redhat.com>
49038 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
49041 2010-05-19 Andreas Schwab <schwab@redhat.com>
49043 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
49046 2010-05-21 Andreas Schwab <schwab@redhat.com>
49048 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
49049 and internal_recvmmsg.
49050 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
49051 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
49052 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
49053 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
49055 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
49056 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
49057 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
49059 2010-05-20 Andreas Schwab <schwab@redhat.com>
49061 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
49063 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
49065 POWER7 optimizations.
49066 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
49067 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
49069 2010-05-19 Ulrich Drepper <drepper@redhat.com>
49071 * version.h: Update for 2.13 development version.
49073 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
49075 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
49076 exceptions. Return 0.
49078 2010-05-07 Roland McGrath <roland@redhat.com>
49080 * elf/ldconfig.c (main): Add a const.
49082 2010-05-06 Ulrich Drepper <drepper@redhat.com>
49084 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
49085 (args_options): Add no-idn option.
49086 (ahosts_keys_int): Add idn_flags to ai_flags.
49087 (parse_option): Handle 'i' option to clear idn_flags.
49089 * malloc/malloc.c (_int_free): Possible race in the most recently
49090 added check. Only act on the data if no current modification
49093 See ChangeLog.17 for earlier changes.